From bb77c405d8bf092e99f1b6e5100cdc50933b06ee Mon Sep 17 00:00:00 2001 From: daikoku-github-actions Date: Tue, 3 Dec 2024 14:59:09 +0000 Subject: [PATCH] Update dev documentation --- docs/404.html | 4 +- docs/__server/server.bundle.js | 1359 ++++++++++------- docs/admin-api-openapi.yaml | 8 - docs/assets/js/199d0080.be6d40b2.js | 1 + docs/assets/js/main.a34f8fc9.js | 2 + docs/assets/js/main.a34f8fc9.js.LICENSE.txt | 142 ++ docs/assets/js/runtime~main.9c363b9c.js | 1 + .../add-dynamic-content/index.html | 4 +- .../add-personal-assets/index.html | 4 +- .../build-your-first-layout/index.html | 4 +- .../configure-custom-emails/index.html | 4 +- .../create-react-component/index.html | 4 +- .../create-your-first-page copy/index.html | 4 +- .../create-your-first-project/index.html | 4 +- .../define-and-use-a-variable/index.html | 4 +- .../deploy-your-website copy/index.html | 4 +- .../dev-mode/index.html | 4 +- .../edit-your-home-page/index.html | 4 +- .../cli/apis-to-business-website/index.html | 4 +- .../style-your-apis-page/index.html | 4 +- docs/docs/cli/index.html | 4 +- docs/docs/cli/informations/index.html | 293 +++- docs/docs/getstarted/about/index.html | 4 +- .../getstarted/firstrun/configfile/index.html | 4 +- .../getstarted/firstrun/datastore/index.html | 4 +- docs/docs/getstarted/firstrun/env/index.html | 4 +- docs/docs/getstarted/firstrun/index.html | 4 +- .../firstrun/initialstate/index.html | 4 +- docs/docs/getstarted/firstrun/run/index.html | 4 +- docs/docs/getstarted/getdaikoku/index.html | 4 +- docs/docs/getstarted/index.html | 4 +- docs/docs/getstarted/quickstart/index.html | 4 +- docs/docs/getstarted/setup/admin/index.html | 4 +- docs/docs/getstarted/setup/index.html | 4 +- .../getstarted/setup/reporting/index.html | 4 +- docs/docs/guides/apis/index.html | 4 +- docs/docs/guides/archi/index.html | 4 +- docs/docs/guides/authentication/index.html | 4 +- docs/docs/guides/deploy/index.html | 4 +- docs/docs/guides/index.html | 4 +- docs/docs/guides/integrations/index.html | 4 +- docs/docs/tags/index.html | 4 +- docs/docs/tags/installation/index.html | 4 +- docs/docs/tags/licence/index.html | 4 +- .../usages/adminusage/importexport/index.html | 4 +- docs/docs/usages/adminusage/index.html | 4 +- .../usages/adminusage/sessions/index.html | 4 +- .../docs/usages/adminusage/tenants/index.html | 4 +- docs/docs/usages/adminusage/users/index.html | 4 +- .../aggregation-of-apikeys/index.html | 4 +- .../usages/consumerusage/apikeys/index.html | 4 +- .../usages/consumerusage/billing/index.html | 4 +- .../usages/consumerusage/fastmode/index.html | 4 +- docs/docs/usages/consumerusage/index.html | 4 +- .../usages/consumerusage/subscribe/index.html | 4 +- docs/docs/usages/index.html | 4 +- .../docs/usages/producerusage/apis/index.html | 4 +- .../usages/producerusage/assets/index.html | 4 +- .../usages/producerusage/income/index.html | 4 +- docs/docs/usages/producerusage/index.html | 4 +- .../usages/producerusage/members/index.html | 4 +- .../producerusage/subscriptions/index.html | 4 +- .../tenantusage/1.5-initialize/index.html | 4 +- .../usages/tenantusage/5.5-display/index.html | 4 +- .../docs/usages/tenantusage/assets/index.html | 4 +- docs/docs/usages/tenantusage/cms/index.html | 4 +- docs/docs/usages/tenantusage/index.html | 4 +- .../usages/tenantusage/messages/index.html | 4 +- .../usages/tenantusage/otoroshi/index.html | 4 +- docs/docs/usages/tenantusage/teams/index.html | 4 +- .../tenantusage/translations/index.html | 4 +- docs/index.html | 4 +- docs/search/index.html | 4 +- manual/static/admin-api-openapi.yaml | 8 - manual/yarn.lock | 5 + 75 files changed, 1312 insertions(+), 771 deletions(-) create mode 100644 docs/assets/js/199d0080.be6d40b2.js create mode 100644 docs/assets/js/main.a34f8fc9.js create mode 100644 docs/assets/js/main.a34f8fc9.js.LICENSE.txt create mode 100644 docs/assets/js/runtime~main.9c363b9c.js diff --git a/docs/404.html b/docs/404.html index d3bebfb01..2cb84789b 100644 --- a/docs/404.html +++ b/docs/404.html @@ -4,8 +4,8 @@ Page Not Found | Daikoku - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

diff --git a/docs/__server/server.bundle.js b/docs/__server/server.bundle.js index 89814147f..f3dfae041 100644 --- a/docs/__server/server.bundle.js +++ b/docs/__server/server.bundle.js @@ -7370,10 +7370,154 @@ const toc = [{ "value": "Start a new project by importing an existing one", "id": "start-a-new-project-by-importing-an-existing-one", "level": 2 +}, { + "value": "daikoku-user", + "id": "daikoku-user", + "level": 2 +}, { + "value": "daikoku-owned-apis", + "id": "daikoku-owned-apis", + "level": 2 +}, { + "value": "daikoku-owned-api", + "id": "daikoku-owned-api", + "level": 2 +}, { + "value": "daikoku-json-owned-apis", + "id": "daikoku-json-owned-apis", + "level": 2 +}, { + "value": "daikoku-json-owned-api", + "id": "daikoku-json-owned-api", + "level": 2 +}, { + "value": "daikoku-owned-teams", + "id": "daikoku-owned-teams", + "level": 2 +}, { + "value": "daikoku-owned-team", + "id": "daikoku-owned-team", + "level": 2 +}, { + "value": "daikoku-json-owned-teams", + "id": "daikoku-json-owned-teams", + "level": 2 +}, { + "value": "daikoku-json-owned-team", + "id": "daikoku-json-owned-team", + "level": 2 +}, { + "value": "tenant", + "id": "tenant", + "level": 2 +}, { + "value": "is_admin", + "id": "is_admin", + "level": 2 +}, { + "value": "connected", + "id": "connected", + "level": 2 +}, { + "value": "user", + "id": "user", + "level": 2 +}, { + "value": "request", + "id": "request", + "level": 2 +}, { + "value": "daikoku-css", + "id": "daikoku-css", + "level": 2 +}, { + "value": "for", + "id": "for", + "level": 2 +}, { + "value": "size", + "id": "size", + "level": 2 +}, { + "value": "ifeq", + "id": "ifeq", + "level": 2 +}, { + "value": "ifnoteq", + "id": "ifnoteq", + "level": 2 +}, { + "value": "getOrElse", + "id": "getorelse", + "level": 2 +}, { + "value": "translate", + "id": "translate", + "level": 2 +}, { + "value": "daikoku-query-param", + "id": "daikoku-query-param", + "level": 2 +}, { + "value": "daikoku-template-wrapper", + "id": "daikoku-template-wrapper", + "level": 2 +}, { + "value": "daikoku-apis", + "id": "daikoku-apis", + "level": 2 +}, { + "value": "daikoku-api", + "id": "daikoku-api", + "level": 2 +}, { + "value": "daikoku-json-apis", + "id": "daikoku-json-apis", + "level": 2 +}, { + "value": "daikoku-json-api", + "id": "daikoku-json-api", + "level": 2 +}, { + "value": "daikoku-teams", + "id": "daikoku-teams", + "level": 2 +}, { + "value": "daikoku-team", + "id": "daikoku-team", + "level": 2 +}, { + "value": "daikoku-json-teams", + "id": "daikoku-json-teams", + "level": 2 +}, { + "value": "daikoku-json-team", + "id": "daikoku-json-team", + "level": 2 +}, { + "value": "daikoku-documentations", + "id": "daikoku-documentations", + "level": 2 +}, { + "value": "daikoku-documentations-page", + "id": "daikoku-documentations-page", + "level": 2 +}, { + "value": "daikoku-documentations-page-id", + "id": "daikoku-documentations-page-id", + "level": 2 +}, { + "value": "daikoku-plans", + "id": "daikoku-plans", + "level": 2 }, { "value": "Contribution", "id": "contribution", "level": 3 +}, { + "value": "Run tests", + "id": "run-tests", + "level": 4 }]; function _createMdxContent(props) { const _components = { @@ -7383,6 +7527,7 @@ function _createMdxContent(props) { h1: "h1", h2: "h2", h3: "h3", + h4: "h4", header: "header", li: "li", p: "p", @@ -7390,8 +7535,7 @@ function _createMdxContent(props) { ul: "ul", ...(0,lib/* useMDXComponents */.R)(), ...props.components - }, {Details} = _components; - if (!Details) _missingMdxReference("Details", true); + }; return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [(0,jsx_runtime.jsx)(_components.header, { children: (0,jsx_runtime.jsx)(_components.h1, { @@ -7413,7 +7557,7 @@ function _createMdxContent(props) { children: "This project can be installed and compiled from source with this Cargo command:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { - children: "$ cargo install daikokucli\nor\n$ brew tap maif/daikokucli\n$ brew install daikokucli\n" + children: "$ cargo install daikoku\nor\n$ brew tap maif/daikoku\n$ brew install daikoku\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Additionally there are ", (0,jsx_runtime.jsx)(_components.a, { @@ -7424,13 +7568,13 @@ function _createMdxContent(props) { children: "Installation can be confirmed with:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { - children: "$ daikokucli version\n" + children: "$ daikoku version\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Subcommands can be explored with:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { - children: "$ daikokucli help\n" + children: "$ daikoku help\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.h1, { id: "core-commands", @@ -7444,71 +7588,85 @@ function _createMdxContent(props) { children: ".daikoku/.environments" }), ". This file will contain"] }), "\n", (0,jsx_runtime.jsx)(_components.p, { - children: "You can start a new project" + children: "You can start a new project from scratch" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "daikoku cms init --name= --path=\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.p, { + children: "or import an existing one" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli create --name= --path=\n" + children: "daikoku cms migrate --name= --path= --server= --apikey=\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "then add a default Daikoku environment" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli environments add --name= --server=\n" + children: "daikoku environments add --name= --server= --apikey=\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.blockquote, { children: ["\n", (0,jsx_runtime.jsx)(_components.p, { children: "The Daikoku server has to be reachable and will be checked before saving the configuration" }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.p, { + children: "you can sync the new project with your Daikoku instance and fetch mails and apis" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "daikoku pull apis\ndaikoku pull mails\n" + }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "you can start to develop and watch file changes" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli watch\n" + children: "daikoku watch\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { - children: "Common practices involve utilizing the directives within the Daikoku CMS to access private entities based on the connected user's permissions. You have the option to configure the token for accessing your CMS with an authenticated user by pasting the token from your Daikoku profile page." + children: "Common practices involve utilizing the directives within the Daikoku CMS to access private entities based on the connected user's permissions." }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli login --token=\n" + children: "daikoku login\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { - children: "If you have many environments you can switch between us simply using" + children: "You can start to follow your changes using" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli watch --environment=\n" + children: "daikoku watch --environment=\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "or permanently by changing the default project or environment" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli environments default --name=\ndaikokucli projects default --name=\n" + children: "daikoku environments switch --name=\ndaikoku cms switch --name=\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "you can view the currently used project and the others" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli projects list\n" + children: "daikoku cms list\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "At anytime, you can track an existing CMS folder or update its information" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli projects add --name= --path= --overwrite=\n" + children: "daikoku cms add --name= --path= --overwrite=\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { - children: "Once ready, you can synchronize your sources with the Daikoku environment" + children: "Once ready, you can push your sources with the Daikoku environment" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli sync\n" + children: "daikoku push\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "start-a-new-project-by-importing-an-existing-one", @@ -7518,7 +7676,74 @@ function _createMdxContent(props) { }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli projects import --name= \\\n --path= \\\n --server= \\\n --token=\n" + children: "daikoku projects migrate --name= \\\n --path= \\\n --server= \\\n --apikey=\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "cms-structure", + children: "CMS Structure" + }), "\n", (0,jsx_runtime.jsx)(_components.p, { + children: "The CMS projects adhere to the following strict file structure:" + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsxs)(_components.li, { + children: ["\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: ".daikoku" + }), ": This hidden folder is used exclusively by Daikoku to store environments, secrets, and credentials. The only file you can edit here is the .daikokuignore, which allows you to exclude specific files from being pushed."] + }), "\n"] + }), "\n", (0,jsx_runtime.jsxs)(_components.li, { + children: ["\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "assets" + }), ": Files placed in this folder can be uploaded to the Daikoku S3 Bucket associated with your project. They can then be accessed using a generated slug."] + }), "\n"] + }), "\n", (0,jsx_runtime.jsxs)(_components.li, { + children: ["\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "src" + }), ": This folder contains all other source files, organized into the following subdirectories:"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsxs)(_components.li, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "apis" + }), ": Lists all APIs available in your Daikoku. Each API has its own subfolder containing a header and description folder."] + }), "\n", (0,jsx_runtime.jsxs)(_components.li, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "data" + }), ": Contains external data files such as JSON, YAML, CSV, and others."] + }), "\n", (0,jsx_runtime.jsxs)(_components.li, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "pages" + }), ": Stores all source files that are not categorized under apis, data, scripts, mails, or styles."] + }), "\n", (0,jsx_runtime.jsxs)(_components.li, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "scripts" + }), ": Contains JavaScript (JS) files."] + }), "\n", (0,jsx_runtime.jsxs)(_components.li, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "styles" + }), ": Contains CSS files."] + }), "\n", (0,jsx_runtime.jsxs)(_components.li, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "documentations" + }), " : Contains files that can be used as documentation page of APIs"] + }), "\n"] + }), "\n"] + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "dynamic-routes", + children: "Dynamic routes" + }), "\n", (0,jsx_runtime.jsx)(_components.p, { + children: "The CLI uses file-system routing where folders are used to create nested routes. Each folder represents a route segment that maps to a URL segment." + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: ["You can create separate UIs for each route using page.html files. ", (0,jsx_runtime.jsx)(_components.code, { + children: "page.html" + }), " is a special CLI file that contains html content."] + }), "\n", (0,jsx_runtime.jsx)(_components.p, { + children: "To create a nested route, you can nest folders inside each other and add page.html files inside them. For example:" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "src/pages/page.html -> mysite.com/\nsrc/pages/invoices/page.html -> mysite.com/invoices\nsrc/pages/offres.html -> mysite.com/offres\nsrc/pages/apis/api/[apiId] -> mysite.com/apis/api/any-kind-of-api (the apiId value can be use in the page as mustache variable using {{apiId}})\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.h1, { id: "manage-your-assets", @@ -7532,7 +7757,7 @@ function _createMdxContent(props) { }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli assets add --filename= \\\n --path= \\\n --desc= \\\n --title=\n --slug=\n" + children: "daikoku assets push --filename= \\\n --path= \\\n --desc= \\\n --title=\n --slug=\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["If you require a particular ", (0,jsx_runtime.jsx)(_components.code, { @@ -7553,585 +7778,602 @@ function _createMdxContent(props) { }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli assets remove --slug= --filename=\n" + children: "daikoku assets remove --slug= --filename=\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "As others commands, you can display all registered assets" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli assets list\n" + children: "daikoku assets list\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "If you prefer to synchronize all assets with a single command, it offers speed advantages over doing so individually, albeit with reduced configurability." }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli assets sync\n" + children: "daikoku assets sync\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.h1, { - id: "authorized-applications", - children: "Authorized applications" + id: "manage-documentation-pages", + children: "Manage documentation pages" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { - children: ["Just before running the ", (0,jsx_runtime.jsx)(_components.code, { - children: "daikoku login" - }), " command, you have to configure your tenant by adding the CLI server. By default, the server is set to ", (0,jsx_runtime.jsx)(_components.code, { - children: "http://localhost:3334" - }), " but you can overwrite it using the ", (0,jsx_runtime.jsx)(_components.code, { - children: "WATCHING_PORT" - }), " environment variable."] + children: ["You already have many choices in Daikoku to create the APIs's documentation. But, with the release of the CMS, you can now write your documentation with it. The documentations pages have to be written in the ", (0,jsx_runtime.jsx)(_components.code, { + children: "src/documentations" + }), " folder and can be named as you wish."] + }), "\n", (0,jsx_runtime.jsx)(_components.p, { + children: "The recommended usage to create a new documentation page is to use the CLI as following :" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-sh", - children: "daikokucli login\n" + children: "daikoku generate documentation --filename=my-new-documentation-page \\\n --title=\"Title of the page\" \\\n --desc=\"The description of this page\"\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.h1, { id: "cms-directives", children: "CMS Directives" - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-user" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "string user id" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-user", + children: "daikoku-user" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "string user id" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-user \"{{userId}}\"}}\n
\n {{user.name}}\n \n
\n{{/daikoku-user}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-owned-apis", + children: "daikoku-owned-apis" + }), "\n", (0,jsx_runtime.jsx)(_components.p, { + children: (0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }) + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "visibility: can be Private | Public | All" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-owned-apis visibility=\"Private\"}}\n Mon api : {{api.name}}\n{{/daikoku-owned-apis}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-owned-api", + children: "daikoku-owned-api" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "String API id" + }), "\n", (0,jsx_runtime.jsx)(_components.li, { + children: "The API version is optional, but it defaults to 1.0.0 when not specified." + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-owned-api \"{{apiId}}\" version=\"1.0.0\"}}\n Mon api : {{api.name}}\n{{/daikoku-owned-api}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-json-owned-apis", + children: "daikoku-json-owned-apis" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "Visibility : Private, Public or All" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-json-owned-apis visibility=\"Private\"}}\n\n{{/daikoku-json-owned-apis}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-json-owned-api", + children: "daikoku-json-owned-api" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "The API id, string value expected" + }), "\n", (0,jsx_runtime.jsx)(_components.li, { + children: "The API version is optional, but it defaults to 1.0.0 when not specified." + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-json-owned-api \"{{apiId}}\" version=\"1.0.0\"}}\n{{/daikoku-json-owned-api}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-owned-teams", + children: "daikoku-owned-teams" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-owned-teams}}\n Ma team : {{team.name}}\n{{/daikoku-owned-teams}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-owned-team", + children: "daikoku-owned-team" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "The team ID, string value expected\"" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-owned-team \"{{teamId}}\"}}\n Mon team : {{team.name}}\n{{/daikoku-owned-team}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-json-owned-teams", + children: "daikoku-json-owned-teams" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{daikoku-json-owned-teams}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-json-owned-team", + children: "daikoku-json-owned-team" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "The Team ID, String value expected" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-json-owned-team \"{{teamId}}\"}}\n\n{{/daikoku-json-owned-team}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "tenant", + children: "tenant" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{tenant.name}} - {{tenant.style.description}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "is_admin", + children: "is_admin" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{is_admin}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "connected", + children: "connected" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{connected}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "user", + children: "user" + }), "\n", (0,jsx_runtime.jsx)(_components.p, { + children: "When you have an user returned from directive, you can use the following fields" + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-user \"{{userId}}\"}}\n
\n {{user.name}}\n \n
\n{{/daikoku-user}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-owned-apis" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "visibility: can be Private | Public | All" + children: "name" }) - }), (0,jsx_runtime.jsx)(_components.pre, { + }), "\n", (0,jsx_runtime.jsx)(_components.li, { children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-owned-apis visibility=\"Private\"}}\n Mon api : {{api.name}}\n{{/daikoku-owned-apis}}\n" + children: "email" }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-owned-api" + }), "\n", (0,jsx_runtime.jsx)(_components.li, { + children: (0,jsx_runtime.jsx)(_components.code, { + children: "_id" }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsxs)("ul", { - children: [(0,jsx_runtime.jsx)("li", { - children: "String API id" - }), (0,jsx_runtime.jsx)("li", { - children: "The API version is optional, but it defaults to 1.0.0 when not specified." - })] - }), (0,jsx_runtime.jsx)(_components.pre, { + }), "\n", (0,jsx_runtime.jsx)(_components.li, { children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-owned-api \"{{apiId}}\" version=\"1.0.0\"}}\n Mon api : {{api.name}}\n{{/daikoku-owned-api}}\n" + children: "_humandReadableId" }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-json-owned-apis" + }), "\n", (0,jsx_runtime.jsx)(_components.li, { + children: (0,jsx_runtime.jsx)(_components.code, { + children: "picture" }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "Visibility : Private, Public or All" + }), "\n", (0,jsx_runtime.jsx)(_components.li, { + children: (0,jsx_runtime.jsx)(_components.code, { + children: "isDaikokuAdmin" }) - }), (0,jsx_runtime.jsx)(_components.pre, { + }), "\n", (0,jsx_runtime.jsx)(_components.li, { children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-json-owned-apis visibility=\"Private\"}}\n\n{{/daikoku-json-owned-apis}}\n" + children: "starredApis" }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-json-owned-api" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsxs)("ul", { - children: [(0,jsx_runtime.jsx)("li", { - children: "The API id, string value expected" - }), (0,jsx_runtime.jsx)("li", { - children: "The API version is optional, but it defaults to 1.0.0 when not specified." - })] - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-json-owned-api \"{{apiId}}\" version=\"1.0.0\"}}\n{{/daikoku-json-owned-api}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-owned-teams" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-owned-teams}}\n Ma team : {{team.name}}\n{{/daikoku-owned-teams}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-owned-team" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "The team ID, string value expected " - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-owned-team \"{{teamId}}\"}}\n Mon team : {{team.name}}\n{{/daikoku-owned-team}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-json-owned-teams" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{daikoku-json-owned-teams}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-json-owned-team" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "The Team ID, String value expected" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-json-owned-team \"{{teamId}}\"}}\n\n{{/daikoku-json-owned-team}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "tenant" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{tenant.name}}
  • {{tenant.style.description}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "is_admin" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{is_admin}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "connected" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{connected}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "user" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "When you have an user returned from directive, you can use the following fields" - }), (0,jsx_runtime.jsxs)(_components.ul, { - children: ["\n", (0,jsx_runtime.jsx)(_components.li, { - children: (0,jsx_runtime.jsx)(_components.code, { - children: "name" - }) - }), "\n", (0,jsx_runtime.jsx)(_components.li, { - children: (0,jsx_runtime.jsx)(_components.code, { - children: "email" - }) - }), "\n", (0,jsx_runtime.jsx)(_components.li, { - children: (0,jsx_runtime.jsx)(_components.code, { - children: "_id" - }) - }), "\n", (0,jsx_runtime.jsx)(_components.li, { - children: (0,jsx_runtime.jsx)(_components.code, { - children: "_humandReadableId" - }) - }), "\n", (0,jsx_runtime.jsx)(_components.li, { - children: (0,jsx_runtime.jsx)(_components.code, { - children: "picture" - }) - }), "\n", (0,jsx_runtime.jsx)(_components.li, { - children: (0,jsx_runtime.jsx)(_components.code, { - children: "isDaikokuAdmin" - }) - }), "\n", (0,jsx_runtime.jsx)(_components.li, { - children: (0,jsx_runtime.jsx)(_components.code, { - children: "starredApis" - }) - }), "\n"] - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "
    \n {{user.name}} - {{user.email}}\n
    \n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "request" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "
    \n {{request.path}} - {{request.method}} - {{request.headers}}\n
    \n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-css" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "
    \n {{daikoku-css}}\n
    \n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "for" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "the fieldname used in the helper content" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - children: "{{#for '{{team.users}}' field='myuser' }}\n {{myuser.userId}}\n{{/for}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "size" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{size '{{team.users}}'}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "ifeq" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#ifeq \"{{plan.type}}\" \"FreeWithoutQuotas\"}}\n You'll pay nothing and do whatever you want\n{{/ifeq}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "ifnoteq" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#ifnoteq \"{{plan.type}}\" \"FreeWithoutQuotas\"}}\n You'll pay nothing and do whatever you want\n{{/ifnoteq}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "getOrElse" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{getOrElse \"{{plan.customName}}\" \"Un plan\"}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "translate" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{translate 'Logout'}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-query-param" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "the name of the query param" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{daikoku-query-param 'my-query-param'}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-template-wrapper" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsxs)("ul", { - children: [(0,jsx_runtime.jsx)("li", { - children: "Block path" - }), (0,jsx_runtime.jsx)("li", { - children: "List of key=value usable in content" - })] - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-template-wrapper '' =\"\" }} \n \n{{/daikoku-template-wrapper}}\"\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-apis" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-apis}}\n Api : {{api.name}}\n{{/daikoku-apis}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-api" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "API id, String value expected" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-api \"{{apiId}}\" version=\"1.0.0\"}}\n Mon api : {{api.name}}\n{{/daikoku-api}}\"\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-json-apis" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{daikoku-json-apis}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-json-api" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "API Id, String value expected" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-json-api \"{{apiId}}\" version=\"1.0.0\"}}\n\n{{/daikoku-json-api}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-teams" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-teams}}\n Team : {{team.name}}\n{{/daikoku-teams}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-team" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "Team Id, String value expected" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-team \"{{}}\"}}\n My team : {{team.name}}\n{{/daikoku-team}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-json-teams" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{daikoku-json-teams}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-json-team" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "Team Id, String value expected" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-json-team \"{{}}\"}}\n\n{{/daikoku-json-team}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-documentations" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "API id, String value expected" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-documentations \"{{}}\"}}\n {{documentation.title}}\n{{/daikoku-documentations}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-documentations-page" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsxs)("ul", { - children: [(0,jsx_runtime.jsx)("li", { - children: "API ID, String value expected" - }), (0,jsx_runtime.jsx)("li", { - children: "Page ID as String value" - })] - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-documentations-page \"\" page=\"\"}}\n {{documentation.content}}\n{{/daikoku-documentations-page}}\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-documentations-page-id" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsxs)("ul", { - children: [(0,jsx_runtime.jsx)("li", { - children: "Team ID, String value expected" - }), (0,jsx_runtime.jsx)("li", { - children: "The named page parameter corresponding to the id of the expected page" - })] - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-documentations-page-id \"\" page=\"\"}}\n {{content}}\n{{/daikoku-documentations-page-id}}\"\n" - }) - })] - }), "\n", (0,jsx_runtime.jsxs)(Details, { - children: [(0,jsx_runtime.jsx)("summary", { - children: (0,jsx_runtime.jsx)(_components.p, { - children: "daikoku-plans" - }) - }), (0,jsx_runtime.jsx)(_components.p, { - children: "Parameters" - }), (0,jsx_runtime.jsx)("ul", { - children: (0,jsx_runtime.jsx)("li", { - children: "API ID" - }) - }), (0,jsx_runtime.jsx)(_components.pre, { - children: (0,jsx_runtime.jsx)(_components.code, { - className: "language-html", - children: "{{#daikoku-plans \"\"}}\n {{plan.type}}\n{{/daikoku-plans}}\n" - }) - })] + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "
    \n {{user.name}} - {{user.email}}\n
    \n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "request", + children: "request" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "
    \n {{request.path}} - {{request.method}} - {{request.headers}}\n
    \n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-css", + children: "daikoku-css" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "
    \n {{daikoku-css}}\n
    \n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "for", + children: "for" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "the fieldname used in the helper content" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + children: "{{#for '{{team.users}}' field='myuser' }}\n {{myuser.userId}}\n{{/for}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "size", + children: "size" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{size '{{team.users}}'}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "ifeq", + children: "ifeq" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#ifeq \"{{plan.type}}\" \"FreeWithoutQuotas\"}}\n You'll pay nothing and do whatever you want\n{{/ifeq}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "ifnoteq", + children: "ifnoteq" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#ifnoteq \"{{plan.type}}\" \"FreeWithoutQuotas\"}}\n You'll pay nothing and do whatever you want\n{{/ifnoteq}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "getorelse", + children: "getOrElse" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{getOrElse \"{{plan.customName}}\" \"Un plan\"}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "translate", + children: "translate" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{translate 'Logout'}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-query-param", + children: "daikoku-query-param" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "the name of the query param" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{daikoku-query-param 'my-query-param'}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-template-wrapper", + children: "daikoku-template-wrapper" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "Block path" + }), "\n", (0,jsx_runtime.jsx)(_components.li, { + children: "List of key=value usable in content" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-template-wrapper '' =\"\" }} \n \n{{/daikoku-template-wrapper}}\"\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-apis", + children: "daikoku-apis" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-apis}}\n Api : {{api.name}}\n{{/daikoku-apis}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-api", + children: "daikoku-api" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "API id, String value expected" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-api \"{{apiId}}\" version=\"1.0.0\"}}\n Mon api : {{api.name}}\n{{/daikoku-api}}\"\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-json-apis", + children: "daikoku-json-apis" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{daikoku-json-apis}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-json-api", + children: "daikoku-json-api" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "API Id, String value expected" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-json-api \"{{apiId}}\" version=\"1.0.0\"}}\n\n{{/daikoku-json-api}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-teams", + children: "daikoku-teams" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-teams}}\n Team : {{team.name}}\n{{/daikoku-teams}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-team", + children: "daikoku-team" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "Team Id, String value expected" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-team \"{{}}\"}}\n My team : {{team.name}}\n{{/daikoku-team}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-json-teams", + children: "daikoku-json-teams" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{daikoku-json-teams}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-json-team", + children: "daikoku-json-team" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "Team Id, String value expected" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-json-team \"{{}}\"}}\n\n{{/daikoku-json-team}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-documentations", + children: "daikoku-documentations" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "API id, String value expected" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-documentations \"{{}}\"}}\n {{documentation.title}}\n{{/daikoku-documentations}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-documentations-page", + children: "daikoku-documentations-page" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "API ID, String value expected" + }), "\n", (0,jsx_runtime.jsx)(_components.li, { + children: "Page ID as String value" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-documentations-page \"\" page=\"\"}}\n {{documentation.content}}\n{{/daikoku-documentations-page}}\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-documentations-page-id", + children: "daikoku-documentations-page-id" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "Team ID, String value expected" + }), "\n", (0,jsx_runtime.jsx)(_components.li, { + children: "The named page parameter corresponding to the id of the expected page" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-documentations-page-id \"\" page=\"\"}}\n {{content}}\n{{/daikoku-documentations-page-id}}\"\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h2, { + id: "daikoku-plans", + children: "daikoku-plans" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: [(0,jsx_runtime.jsx)(_components.code, { + children: "parameters" + }), ":"] + }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { + children: ["\n", (0,jsx_runtime.jsx)(_components.li, { + children: "API ID" + }), "\n"] + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-html", + children: "{{#daikoku-plans \"\"}}\n {{plan.type}}\n{{/daikoku-plans}}\n" + }) }), "\n", (0,jsx_runtime.jsx)(_components.h1, { id: "license", children: "License" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "This project is licensed under the Apache 2.0 license with the LLVM exception." + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "commands", + children: "Commands" + }), "\n", (0,jsx_runtime.jsxs)(_components.p, { + children: ["The following commands must be run, replacing ", (0,jsx_runtime.jsx)(_components.code, { + children: "" + }), " with ", (0,jsx_runtime.jsx)(_components.code, { + children: "--parameter=value" + }), "."] + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "project-commands", + children: "PROJECT commands" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "daikoku cms init \ndaikoku cms migrate \n\ndaikoku cms list\ndaikoku cms add \ndaikoku cms switch \ndaikoku cms remove \ndaikoku cms clear \n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "push-commands", + children: "PUSH commands" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "daikoku push \n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "assets-commands", + children: "ASSETS commands" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "daikoku assets push <DESC> <PATH> <SLUG>\ndaikoku assets remove <FILENAME> <PATH> <SLUG>\ndaikoku assets list\ndaikoku assets sync\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "environments-commands", + children: "ENVIRONMENTS commands" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "daikoku environments clear <FORCE>\ndaikoku environments add <NAME> <SERVER> <OVERWRITE>\ndaikoku environments switch <NAME>\ndaikoku environments remove <NAME>\ndaikoku environments info <NAME> <FULL>\ndaikoku environments list\ndaikoku environments config <APIKEY>\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "generate-commands", + children: "GENERATE commands" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "daikoku generate documentation <FILENAME> <TITLE> <DESC>\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "login", + children: "LOGIN" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "daikoku login\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "pull-commands", + children: "PULL commands" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "daikoku pull apis\ndaikoku pull mails\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "version-commands", + children: "VERSION commands" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "daikoku version\n" + }) + }), "\n", (0,jsx_runtime.jsx)(_components.h1, { + id: "watch-commands", + children: "WATCH commands" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + className: "language-sh", + children: "daikoku watch\n" + }) }), "\n", (0,jsx_runtime.jsx)(_components.h3, { id: "contribution", children: "Contribution" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Unless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this project by you, as defined in the Apache-2.0 license,\nshall be licensed as above, without any additional terms or conditions." + }), "\n", (0,jsx_runtime.jsx)(_components.h4, { + id: "run-tests", + children: "Run tests" + }), "\n", (0,jsx_runtime.jsx)(_components.pre, { + children: (0,jsx_runtime.jsx)(_components.code, { + children: "cargo test --test <filename> -- --nocapture --test-threads 1\n" + }) })] }); } @@ -8147,9 +8389,6 @@ function MDXContent(props = {}) { }) }) : _createMdxContent(props); } -function _missingMdxReference(id, component) { - throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it."); -} @@ -35366,7 +35605,7 @@ var lunr_default = /*#__PURE__*/__webpack_require__.n(lunr); var mark = __webpack_require__(689); var mark_default = /*#__PURE__*/__webpack_require__.n(mark); ;// ./.docusaurus/@easyops-cn/docusaurus-search-local/default/generated.js -__webpack_require__(86121)((lunr_default()));(__webpack_require__(3397)/* .lunrLanguageZh */ .A)((lunr_default()));__webpack_require__(66106)((lunr_default()));const language=["en","zh"];const removeDefaultStopWordFilter=false;const removeDefaultStemmer=false;const searchIndexUrl="search-index{dir}.json?_=d96ca3e9";const searchResultLimits=8;const searchResultContextMaxLength=50;const explicitSearchResultPath=true;const searchBarShortcut=true;const searchBarShortcutHint=true;const searchBarPosition="right";const docsPluginIdForPreferredVersion=undefined;const indexDocs=true;const searchContextByPaths=null;const hideSearchBarWithNoSearchContext=false;const useAllContextsWithNoSearchContext=false; +__webpack_require__(86121)((lunr_default()));(__webpack_require__(3397)/* .lunrLanguageZh */ .A)((lunr_default()));__webpack_require__(66106)((lunr_default()));const language=["en","zh"];const removeDefaultStopWordFilter=false;const removeDefaultStemmer=false;const searchIndexUrl="search-index{dir}.json?_=d533c022";const searchResultLimits=8;const searchResultContextMaxLength=50;const explicitSearchResultPath=true;const searchBarShortcut=true;const searchBarShortcutHint=true;const searchBarPosition="right";const docsPluginIdForPreferredVersion=undefined;const indexDocs=true;const searchContextByPaths=null;const hideSearchBarWithNoSearchContext=false;const useAllContextsWithNoSearchContext=false; ;// ./node_modules/@easyops-cn/docusaurus-search-local/dist/client/client/utils/proxiedGenerated.js // This file is auto generated while building. diff --git a/docs/admin-api-openapi.yaml b/docs/admin-api-openapi.yaml index b31d5e3df..c90a534bf 100644 --- a/docs/admin-api-openapi.yaml +++ b/docs/admin-api-openapi.yaml @@ -214,14 +214,6 @@ components: authenticatedCmsPage: type: string nullable: true - cacheTTL: - type: integer - format: int32 - nullable: true - cmsHistoryLength: - type: integer - format: int32 - nullable: true logo: type: string nullable: true diff --git a/docs/assets/js/199d0080.be6d40b2.js b/docs/assets/js/199d0080.be6d40b2.js new file mode 100644 index 000000000..55b941092 --- /dev/null +++ b/docs/assets/js/199d0080.be6d40b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdaikoku_documentation=self.webpackChunkdaikoku_documentation||[]).push([[4078],{20989:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>c,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>a,toc:()=>t});const a=JSON.parse('{"id":"cli/informations/index","title":"Informations","description":"<img","source":"@site/docs/04-cli/041-informations/index.mdx","sourceDirName":"04-cli/041-informations","slug":"/cli/informations/","permalink":"/daikoku/docs/cli/informations/","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"CLI","permalink":"/daikoku/docs/cli/"},"next":{"title":"Tutorial","permalink":"/daikoku/docs/cli/apis-to-business-website/"}}');var s=i(74848),d=i(28453);const l=i.p+"assets/images/cli-architecture-d94f4777cfb7c79947571836871bd116.png",o={},r="Informations",c={},t=[{value:"Start a new project by importing an existing one",id:"start-a-new-project-by-importing-an-existing-one",level:2},{value:"daikoku-user",id:"daikoku-user",level:2},{value:"daikoku-owned-apis",id:"daikoku-owned-apis",level:2},{value:"daikoku-owned-api",id:"daikoku-owned-api",level:2},{value:"daikoku-json-owned-apis",id:"daikoku-json-owned-apis",level:2},{value:"daikoku-json-owned-api",id:"daikoku-json-owned-api",level:2},{value:"daikoku-owned-teams",id:"daikoku-owned-teams",level:2},{value:"daikoku-owned-team",id:"daikoku-owned-team",level:2},{value:"daikoku-json-owned-teams",id:"daikoku-json-owned-teams",level:2},{value:"daikoku-json-owned-team",id:"daikoku-json-owned-team",level:2},{value:"tenant",id:"tenant",level:2},{value:"is_admin",id:"is_admin",level:2},{value:"connected",id:"connected",level:2},{value:"user",id:"user",level:2},{value:"request",id:"request",level:2},{value:"daikoku-css",id:"daikoku-css",level:2},{value:"for",id:"for",level:2},{value:"size",id:"size",level:2},{value:"ifeq",id:"ifeq",level:2},{value:"ifnoteq",id:"ifnoteq",level:2},{value:"getOrElse",id:"getorelse",level:2},{value:"translate",id:"translate",level:2},{value:"daikoku-query-param",id:"daikoku-query-param",level:2},{value:"daikoku-template-wrapper",id:"daikoku-template-wrapper",level:2},{value:"daikoku-apis",id:"daikoku-apis",level:2},{value:"daikoku-api",id:"daikoku-api",level:2},{value:"daikoku-json-apis",id:"daikoku-json-apis",level:2},{value:"daikoku-json-api",id:"daikoku-json-api",level:2},{value:"daikoku-teams",id:"daikoku-teams",level:2},{value:"daikoku-team",id:"daikoku-team",level:2},{value:"daikoku-json-teams",id:"daikoku-json-teams",level:2},{value:"daikoku-json-team",id:"daikoku-json-team",level:2},{value:"daikoku-documentations",id:"daikoku-documentations",level:2},{value:"daikoku-documentations-page",id:"daikoku-documentations-page",level:2},{value:"daikoku-documentations-page-id",id:"daikoku-documentations-page-id",level:2},{value:"daikoku-plans",id:"daikoku-plans",level:2},{value:"Contribution",id:"contribution",level:3},{value:"Run tests",id:"run-tests",level:4}];function h(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,d.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"informations",children:"Informations"})}),"\n","\n",(0,s.jsx)("div",{style:{textAlign:"center"},children:(0,s.jsx)("img",{src:l,alt:"CLI Architecture"})}),"\n",(0,s.jsx)(n.h1,{id:"installation",children:"Installation"}),"\n",(0,s.jsx)(n.p,{children:"This project can be installed and compiled from source with this Cargo command:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"$ cargo install daikoku\nor\n$ brew tap maif/daikoku\n$ brew install daikoku\n"})}),"\n",(0,s.jsxs)(n.p,{children:["Additionally there are ",(0,s.jsx)(n.a,{href:"https://github.com/MAIF/daikoku/releases",children:"precompiled artifacts built on CI"})," which are\navailable for download as well."]}),"\n",(0,s.jsx)(n.p,{children:"Installation can be confirmed with:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"$ daikoku version\n"})}),"\n",(0,s.jsx)(n.p,{children:"Subcommands can be explored with:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"$ daikoku help\n"})}),"\n",(0,s.jsx)(n.h1,{id:"core-commands",children:"Core commands"}),"\n",(0,s.jsxs)(n.p,{children:["Daikokucli uses your home folder to store the list of projects inside a ",(0,s.jsx)(n.code,{children:".daikoku"})," file. Each project created with the CLI should contain a ",(0,s.jsx)(n.code,{children:"src"})," folder and a ",(0,s.jsx)(n.code,{children:".daikoku/.environments"}),". This file will contain"]}),"\n",(0,s.jsx)(n.p,{children:"You can start a new project from scratch"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku cms init --name=<PROJECT_NAME> --path=<PROJECT_PATH_OR_CURRENT_FOLDER>\n"})}),"\n",(0,s.jsx)(n.p,{children:"or import an existing one"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku cms migrate --name=<PROJECT_NAME> --path=<PROJECT_PATH_OR_CURRENT_FOLDER> --server=<DAIKOKU_SERVER> --apikey=<CMS_APIKEY>\n"})}),"\n",(0,s.jsx)(n.p,{children:"then add a default Daikoku environment"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku environments add --name=<ENVIRONMENT_NAME> --server=<ENVIROMNENT_SERVER> --apikey=<CMS_APIKEY>\n"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsx)(n.p,{children:"The Daikoku server has to be reachable and will be checked before saving the configuration"}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"you can sync the new project with your Daikoku instance and fetch mails and apis"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku pull apis\ndaikoku pull mails\n"})}),"\n",(0,s.jsx)(n.p,{children:"you can start to develop and watch file changes"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku watch\n"})}),"\n",(0,s.jsx)(n.p,{children:"Common practices involve utilizing the directives within the Daikoku CMS to access private entities based on the connected user's permissions."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku login\n"})}),"\n",(0,s.jsx)(n.p,{children:"You can start to follow your changes using"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku watch --environment=<NAME_OF_YOUR_ENVIRONMENT>\n"})}),"\n",(0,s.jsx)(n.p,{children:"or permanently by changing the default project or environment"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku environments switch --name=<NAME_OF_YOUR_ENVIRONMENT>\ndaikoku cms switch --name=<NAME_OF_YOUR_PROJECT>\n"})}),"\n",(0,s.jsx)(n.p,{children:"you can view the currently used project and the others"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku cms list\n"})}),"\n",(0,s.jsx)(n.p,{children:"At anytime, you can track an existing CMS folder or update its information"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku cms add --name=<NAME_OF_YOUR_PROJECT> --path=<PATH_TO_YOUR_PROJECT> --overwrite=<true|false>\n"})}),"\n",(0,s.jsx)(n.p,{children:"Once ready, you can push your sources with the Daikoku environment"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku push\n"})}),"\n",(0,s.jsx)(n.h2,{id:"start-a-new-project-by-importing-an-existing-one",children:"Start a new project by importing an existing one"}),"\n",(0,s.jsx)(n.p,{children:"If you already have a legacy CMS on your Daikoku, you can start by importing it"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku projects migrate --name=<NEW_NAME_OF_YOUR_PROJECT> \\\n --path=<PATH_TO_THE_NEW_PROJECT> \\\n --server=<DAIKOKU_SERVER_TO_PULL> \\\n --apikey=<CMS_APIKEY>\n"})}),"\n",(0,s.jsx)(n.h1,{id:"cms-structure",children:"CMS Structure"}),"\n",(0,s.jsx)(n.p,{children:"The CMS projects adhere to the following strict file structure:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:".daikoku"}),": This hidden folder is used exclusively by Daikoku to store environments, secrets, and credentials. The only file you can edit here is the .daikokuignore, which allows you to exclude specific files from being pushed."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"assets"}),": Files placed in this folder can be uploaded to the Daikoku S3 Bucket associated with your project. They can then be accessed using a generated slug."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"src"}),": This folder contains all other source files, organized into the following subdirectories:"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"apis"}),": Lists all APIs available in your Daikoku. Each API has its own subfolder containing a header and description folder."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"data"}),": Contains external data files such as JSON, YAML, CSV, and others."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"pages"}),": Stores all source files that are not categorized under apis, data, scripts, mails, or styles."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"scripts"}),": Contains JavaScript (JS) files."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"styles"}),": Contains CSS files."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"documentations"})," : Contains files that can be used as documentation page of APIs"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h1,{id:"dynamic-routes",children:"Dynamic routes"}),"\n",(0,s.jsx)(n.p,{children:"The CLI uses file-system routing where folders are used to create nested routes. Each folder represents a route segment that maps to a URL segment."}),"\n",(0,s.jsxs)(n.p,{children:["You can create separate UIs for each route using page.html files. ",(0,s.jsx)(n.code,{children:"page.html"})," is a special CLI file that contains html content."]}),"\n",(0,s.jsx)(n.p,{children:"To create a nested route, you can nest folders inside each other and add page.html files inside them. For example:"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"src/pages/page.html -> mysite.com/\nsrc/pages/invoices/page.html -> mysite.com/invoices\nsrc/pages/offres.html -> mysite.com/offres\nsrc/pages/apis/api/[apiId] -> mysite.com/apis/api/any-kind-of-api (the apiId value can be use in the page as mustache variable using {{apiId}})\n"})}),"\n",(0,s.jsx)(n.h1,{id:"manage-your-assets",children:"Manage your assets"}),"\n",(0,s.jsxs)(n.p,{children:["You can manage your images, diagrams, or any type of files directly by creating a ",(0,s.jsx)(n.code,{children:"/assets"})," folder inside your CMS project."]}),"\n",(0,s.jsx)(n.p,{children:"Each asset is save in the S3 of your Daikoku using the following command"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku assets push --filename=<ASSET_FILENAME> \\\n --path=<ONLY_NESTED_FOLDER_BEHIND_ASSETS_FOLDER> \\\n --desc=<ASSET_DESCRIPTION> \\\n --title=<ASSET_TITLE>\n --slug=<ASSET_SLUG>\n"})}),"\n",(0,s.jsxs)(n.p,{children:["If you require a particular ",(0,s.jsx)(n.code,{children:"slug"})," for your asset, you have the option to replace the automatically generated one by specifying the ",(0,s.jsx)(n.code,{children:"slug"})," field. Additionally, you can exclude the ",(0,s.jsx)(n.code,{children:"path"})," field, which is only necessary when creating an asset from a subfolder within the ",(0,s.jsx)(n.code,{children:"assets"})," directory."]}),"\n",(0,s.jsxs)(n.p,{children:["To delete your asset you have to give the ",(0,s.jsx)(n.code,{children:"filename"})," and the ",(0,s.jsx)(n.code,{children:"slug"})," iif it differs"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku assets remove --slug=<CUSTOM_SLUG> --filename=<ASSET_FILENAME>\n"})}),"\n",(0,s.jsx)(n.p,{children:"As others commands, you can display all registered assets"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku assets list\n"})}),"\n",(0,s.jsx)(n.p,{children:"If you prefer to synchronize all assets with a single command, it offers speed advantages over doing so individually, albeit with reduced configurability."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku assets sync\n"})}),"\n",(0,s.jsx)(n.h1,{id:"manage-documentation-pages",children:"Manage documentation pages"}),"\n",(0,s.jsxs)(n.p,{children:["You already have many choices in Daikoku to create the APIs's documentation. But, with the release of the CMS, you can now write your documentation with it. The documentations pages have to be written in the ",(0,s.jsx)(n.code,{children:"src/documentations"})," folder and can be named as you wish."]}),"\n",(0,s.jsx)(n.p,{children:"The recommended usage to create a new documentation page is to use the CLI as following :"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:'daikoku generate documentation --filename=my-new-documentation-page \\\n --title="Title of the page" \\\n --desc="The description of this page"\n'})}),"\n",(0,s.jsx)(n.h1,{id:"cms-directives",children:"CMS Directives"}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-user",children:"daikoku-user"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"string user id"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-user "{{userId}}"}}\n <div>\n <span>{{user.name}}</span>\n <img src="{{user.picture}}" />\n </div>\n{{/daikoku-user}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-owned-apis",children:"daikoku-owned-apis"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"parameters"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"visibility: can be Private | Public | All"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-owned-apis visibility="Private"}}\n <span>Mon api : {{api.name}}</span>\n{{/daikoku-owned-apis}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-owned-api",children:"daikoku-owned-api"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"String API id"}),"\n",(0,s.jsx)(n.li,{children:"The API version is optional, but it defaults to 1.0.0 when not specified."}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-owned-api "{{apiId}}" version="1.0.0"}}\n <span>Mon api : {{api.name}}</span>\n{{/daikoku-owned-api}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-json-owned-apis",children:"daikoku-json-owned-apis"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Visibility : Private, Public or All"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-json-owned-apis visibility="Private"}}\n\n{{/daikoku-json-owned-apis}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-json-owned-api",children:"daikoku-json-owned-api"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"The API id, string value expected"}),"\n",(0,s.jsx)(n.li,{children:"The API version is optional, but it defaults to 1.0.0 when not specified."}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-json-owned-api "{{apiId}}" version="1.0.0"}}\n{{/daikoku-json-owned-api}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-owned-teams",children:"daikoku-owned-teams"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{#daikoku-owned-teams}}\n <span>Ma team : {{team.name}}\n{{/daikoku-owned-teams}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-owned-team",children:"daikoku-owned-team"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:'The team ID, string value expected"'}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-owned-team "{{teamId}}"}}\n <span>Mon team : {{team.name}}</span>\n{{/daikoku-owned-team}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-json-owned-teams",children:"daikoku-json-owned-teams"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{daikoku-json-owned-teams}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-json-owned-team",children:"daikoku-json-owned-team"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"The Team ID, String value expected"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-json-owned-team "{{teamId}}"}}\n\n{{/daikoku-json-owned-team}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"tenant",children:"tenant"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{tenant.name}} - {{tenant.style.description}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"is_admin",children:"is_admin"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{is_admin}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"connected",children:"connected"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{connected}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"user",children:"user"}),"\n",(0,s.jsx)(n.p,{children:"When you have an user returned from directive, you can use the following fields"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.code,{children:"name"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.code,{children:"email"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.code,{children:"_id"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.code,{children:"_humandReadableId"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.code,{children:"picture"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.code,{children:"isDaikokuAdmin"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.code,{children:"starredApis"})}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"<div>\n {{user.name}} - {{user.email}}\n</div>\n"})}),"\n",(0,s.jsx)(n.h2,{id:"request",children:"request"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"<div>\n {{request.path}} - {{request.method}} - {{request.headers}}\n</div>\n"})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-css",children:"daikoku-css"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"<div>\n {{daikoku-css}}\n</div>\n"})}),"\n",(0,s.jsx)(n.h2,{id:"for",children:"for"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"the fieldname used in the helper content"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"{{#for '{{team.users}}' field='myuser' }}\n {{myuser.userId}}\n{{/for}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"size",children:"size"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{size '{{team.users}}'}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"ifeq",children:"ifeq"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#ifeq "{{plan.type}}" "FreeWithoutQuotas"}}\n You\'ll pay nothing and do whatever you want\n{{/ifeq}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"ifnoteq",children:"ifnoteq"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#ifnoteq "{{plan.type}}" "FreeWithoutQuotas"}}\n You\'ll pay nothing and do whatever you want\n{{/ifnoteq}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"getorelse",children:"getOrElse"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{getOrElse "{{plan.customName}}" "Un plan"}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"translate",children:"translate"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{translate 'Logout'}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-query-param",children:"daikoku-query-param"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"the name of the query param"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{daikoku-query-param 'my-query-param'}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-template-wrapper",children:"daikoku-template-wrapper"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Block path"}),"\n",(0,s.jsx)(n.li,{children:"List of key=value usable in content"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-template-wrapper \'<wrapper-id>\' <named-parameter>="<value>" }} \n \n{{/daikoku-template-wrapper}}"\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-apis",children:"daikoku-apis"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{#daikoku-apis}}\n <span>Api : {{api.name}}</span>\n{{/daikoku-apis}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-api",children:"daikoku-api"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"API id, String value expected"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-api "{{apiId}}" version="1.0.0"}}\n <span>Mon api : {{api.name}}</span>\n{{/daikoku-api}}"\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-json-apis",children:"daikoku-json-apis"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{daikoku-json-apis}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-json-api",children:"daikoku-json-api"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"API Id, String value expected"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-json-api "{{apiId}}" version="1.0.0"}}\n\n{{/daikoku-json-api}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-teams",children:"daikoku-teams"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{#daikoku-teams}}\n <span>Team : {{team.name}}</span>\n{{/daikoku-teams}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-team",children:"daikoku-team"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Team Id, String value expected"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-team "{{<teamId>}}"}}\n <span>My team : {{team.name}}</span>\n{{/daikoku-team}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-json-teams",children:"daikoku-json-teams"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:"{{daikoku-json-teams}}\n"})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-json-team",children:"daikoku-json-team"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Team Id, String value expected"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-json-team "{{<teamId>}}"}}\n\n{{/daikoku-json-team}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-documentations",children:"daikoku-documentations"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"API id, String value expected"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-documentations "{{<apiId>}}"}}\n <span>{{documentation.title}}</span>\n{{/daikoku-documentations}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-documentations-page",children:"daikoku-documentations-page"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"API ID, String value expected"}),"\n",(0,s.jsx)(n.li,{children:"Page ID as String value"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-documentations-page "<apiId>" page="<pageId>"}}\n {{documentation.content}}\n{{/daikoku-documentations-page}}\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-documentations-page-id",children:"daikoku-documentations-page-id"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Team ID, String value expected"}),"\n",(0,s.jsx)(n.li,{children:"The named page parameter corresponding to the id of the expected page"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-documentations-page-id "<apiId>" page="<pageId>"}}\n {{content}}\n{{/daikoku-documentations-page-id}}"\n'})}),"\n",(0,s.jsx)(n.h2,{id:"daikoku-plans",children:"daikoku-plans"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"parameters"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"API ID"}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-html",children:'{{#daikoku-plans "<apiId>"}}\n <span>{{plan.type}}</span>\n{{/daikoku-plans}}\n'})}),"\n",(0,s.jsx)(n.h1,{id:"license",children:"License"}),"\n",(0,s.jsx)(n.p,{children:"This project is licensed under the Apache 2.0 license with the LLVM exception."}),"\n",(0,s.jsx)(n.h1,{id:"commands",children:"Commands"}),"\n",(0,s.jsxs)(n.p,{children:["The following commands must be run, replacing ",(0,s.jsx)(n.code,{children:"<parameter>"})," with ",(0,s.jsx)(n.code,{children:"--parameter=value"}),"."]}),"\n",(0,s.jsx)(n.h1,{id:"project-commands",children:"PROJECT commands"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku cms init <NAME> <PATH>\ndaikoku cms migrate <NAME> <PATH> <SERVER> <APIKEY> \n\ndaikoku cms list\ndaikoku cms add <NAME> <PATH> <OVERWRITE>\ndaikoku cms switch <NAME>\ndaikoku cms remove <NAME> <REMOVE_FILES>\ndaikoku cms clear <FORCE>\n"})}),"\n",(0,s.jsx)(n.h1,{id:"push-commands",children:"PUSH commands"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku push <DRY_RUN> <FILEPATH>\n"})}),"\n",(0,s.jsx)(n.h1,{id:"assets-commands",children:"ASSETS commands"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku assets push <FILENAME> <TITLE> <DESC> <PATH> <SLUG>\ndaikoku assets remove <FILENAME> <PATH> <SLUG>\ndaikoku assets list\ndaikoku assets sync\n"})}),"\n",(0,s.jsx)(n.h1,{id:"environments-commands",children:"ENVIRONMENTS commands"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku environments clear <FORCE>\ndaikoku environments add <NAME> <SERVER> <OVERWRITE>\ndaikoku environments switch <NAME>\ndaikoku environments remove <NAME>\ndaikoku environments info <NAME> <FULL>\ndaikoku environments list\ndaikoku environments config <APIKEY>\n"})}),"\n",(0,s.jsx)(n.h1,{id:"generate-commands",children:"GENERATE commands"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku generate documentation <FILENAME> <TITLE> <DESC>\n"})}),"\n",(0,s.jsx)(n.h1,{id:"login",children:"LOGIN"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku login\n"})}),"\n",(0,s.jsx)(n.h1,{id:"pull-commands",children:"PULL commands"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku pull apis\ndaikoku pull mails\n"})}),"\n",(0,s.jsx)(n.h1,{id:"version-commands",children:"VERSION commands"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku version\n"})}),"\n",(0,s.jsx)(n.h1,{id:"watch-commands",children:"WATCH commands"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-sh",children:"daikoku watch\n"})}),"\n",(0,s.jsx)(n.h3,{id:"contribution",children:"Contribution"}),"\n",(0,s.jsx)(n.p,{children:"Unless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this project by you, as defined in the Apache-2.0 license,\nshall be licensed as above, without any additional terms or conditions."}),"\n",(0,s.jsx)(n.h4,{id:"run-tests",children:"Run tests"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"cargo test --test <filename> -- --nocapture --test-threads 1\n"})})]})}function u(e={}){const{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},28453:(e,n,i)=>{i.d(n,{R:()=>l,x:()=>o});var a=i(96540);const s={},d=a.createContext(s);function l(e){const n=a.useContext(d);return a.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),a.createElement(d.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/docs/assets/js/main.a34f8fc9.js b/docs/assets/js/main.a34f8fc9.js new file mode 100644 index 000000000..f89cacaf1 --- /dev/null +++ b/docs/assets/js/main.a34f8fc9.js @@ -0,0 +1,2 @@ +/*! For license information please see main.a34f8fc9.js.LICENSE.txt */ +(self.webpackChunkdaikoku_documentation=self.webpackChunkdaikoku_documentation||[]).push([[8792],{35947:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});n(96540);var r=n(53259),a=n.n(r),o=n(84054);const i={"0019c764":[()=>n.e(1657).then(n.t.bind(n,89487,19)),"@generated/docusaurus-plugin-content-docs/default/p/daikoku-docs-e31.json",89487],"03885ea5":[()=>n.e(4796).then(n.bind(n,53877)),"@site/docs/02-usages/10-consumerusage/index.md",53877],"07c0c607":[()=>n.e(8617).then(n.bind(n,74286)),"@site/docs/02-usages/07-adminusage/2-users.md",74286],"092b0f67":[()=>Promise.all([n.e(1869),n.e(2273)]).then(n.bind(n,15288)),"@site/docs/01-getstarted/05-firstrun/run.mdx",15288],"0e3215c3":[()=>n.e(7681).then(n.bind(n,95783)),"@site/docs/03-guides/02-archi.md",95783],"138e0e15":[()=>n.e(4921).then(n.t.bind(n,41597,19)),"@generated/@easyops-cn/docusaurus-search-local/default/__plugin.json",41597],"144d83f2":[()=>n.e(8623).then(n.bind(n,13977)),"@site/docs/04-cli/042-apis-to-business-website/05-add-dynamic-content.mdx",13977],17896441:[()=>Promise.all([n.e(1869),n.e(8401)]).then(n.bind(n,33388)),"@theme/DocItem",33388],"18f231a6":[()=>n.e(5033).then(n.bind(n,38645)),"@site/docs/02-usages/08-tenantusage/5.5-display.md",38645],"199d0080":[()=>n.e(4078).then(n.bind(n,20989)),"@site/docs/04-cli/041-informations/index.mdx",20989],"1a4e3797":[()=>Promise.all([n.e(1869),n.e(2138)]).then(n.bind(n,81035)),"@theme/SearchPage",81035],"22493dda":[()=>n.e(934).then(n.bind(n,79855)),"@site/docs/04-cli/042-apis-to-business-website/index.mdx",79855],"23bfcfa6":[()=>n.e(5564).then(n.bind(n,29276)),"@site/docs/04-cli/042-apis-to-business-website/06-style-your-apis-page.mdx",29276],"2820f203":[()=>Promise.all([n.e(1869),n.e(2632)]).then(n.bind(n,81429)),"@site/docs/02-usages/index.mdx",81429],"28af0bc8":[()=>Promise.all([n.e(1869),n.e(3587)]).then(n.bind(n,40447)),"@site/docs/01-getstarted/04-getdaikoku/index.mdx",40447],"2d238738":[()=>n.e(8882).then(n.bind(n,50500)),"@site/docs/01-getstarted/05-firstrun/datastore.md",50500],"331c362e":[()=>n.e(9185).then(n.bind(n,79531)),"@site/docs/01-getstarted/00-about.md",79531],"3720c009":[()=>Promise.all([n.e(1869),n.e(4787)]).then(n.bind(n,41148)),"@theme/DocTagsListPage",41148],37484594:[()=>n.e(9007).then(n.bind(n,39528)),"@site/docs/01-getstarted/03-quickstart.md",39528],"37a8690e":[()=>n.e(1444).then(n.bind(n,85543)),"@site/docs/01-getstarted/06-setup/index.md",85543],"3a667e87":[()=>n.e(4720).then(n.bind(n,59936)),"@site/docs/04-cli/042-apis-to-business-website/11-dev-mode.mdx",59936],"3bccb1e5":[()=>n.e(4627).then(n.bind(n,41039)),"@site/docs/01-getstarted/06-setup/admin.md",41039],"3d674ee3":[()=>n.e(50).then(n.t.bind(n,59447,19)),"@generated/docusaurus-plugin-content-docs/default/p/daikoku-docs-tags-467.json",59447],"3f62fecf":[()=>n.e(9544).then(n.bind(n,94413)),"@site/docs/02-usages/10-consumerusage/2-apikeys.md",94413],"47f5f50e":[()=>n.e(9117).then(n.bind(n,35087)),"@site/docs/02-usages/10-consumerusage/5-fastmode.md",35087],"484e5d86":[()=>n.e(3339).then(n.bind(n,50666)),"@site/docs/01-getstarted/05-firstrun/env.md",50666],"4fd64565":[()=>n.e(5297).then(n.bind(n,14933)),"@site/docs/02-usages/08-tenantusage/6-cms.md",14933],"530b026d":[()=>n.e(7377).then(n.t.bind(n,63785,19)),"@generated/docusaurus-plugin-content-docs/default/p/daikoku-docs-tags-installation-af7.json",63785],55940994:[()=>Promise.all([n.e(1869),n.e(1256)]).then(n.bind(n,93060)),"@site/docs/01-getstarted/index.mdx",93060],"5d70e2c8":[()=>n.e(1801).then(n.bind(n,83926)),"@site/docs/04-cli/042-apis-to-business-website/04-create-your-first-page copy.mdx",83926],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"606788fe":[()=>n.e(4223).then(n.bind(n,35523)),"@site/docs/04-cli/042-apis-to-business-website/09-create-react-component.mdx",35523],"637d173b":[()=>n.e(2908).then(n.bind(n,13054)),"@site/docs/01-getstarted/06-setup/reporting.md",13054],"64737f0d":[()=>n.e(2248).then(n.bind(n,33439)),"@site/docs/02-usages/09-producerusage/1-apis.md",33439],"67a8f2c5":[()=>n.e(3145).then(n.bind(n,12843)),"@site/docs/01-getstarted/05-firstrun/index.md",12843],"6a9470e5":[()=>n.e(7264).then(n.bind(n,72259)),"@site/docs/02-usages/08-tenantusage/1.5-initialize.md",72259],"6b339c0f":[()=>n.e(8551).then(n.bind(n,33183)),"@site/docs/02-usages/07-adminusage/index.md",33183],"6ba57622":[()=>n.e(9130).then(n.t.bind(n,21258,19)),"@generated/docusaurus-plugin-redoc/plugin-redoc-0/__plugin.json",21258],"6ba831b6":[()=>n.e(1168).then(n.t.bind(n,66799,19)),"/home/runner/work/daikoku/daikoku/manual/.docusaurus/docusaurus-plugin-redoc/plugin-redoc-0/redocApiSpecV1.2-plugin-redoc-0.json",66799],"73b1ab36":[()=>n.e(2928).then(n.bind(n,19326)),"@site/docs/02-usages/10-consumerusage/1-subscribe.md",19326],"7482af60":[()=>n.e(5563).then(n.bind(n,43376)),"@site/docs/02-usages/09-producerusage/4-income.md",43376],"7cdc31f5":[()=>n.e(2873).then(n.bind(n,46163)),"@site/docs/03-guides/12-apis.md",46163],"7da7b125":[()=>n.e(9914).then(n.bind(n,7586)),"@site/docs/04-cli/042-apis-to-business-website/07-build-your-first-layout.mdx",7586],"8129fd32":[()=>n.e(9276).then(n.bind(n,16860)),"@site/docs/01-getstarted/05-firstrun/configfile.md",16860],"8ca3e574":[()=>n.e(4539).then(n.bind(n,84230)),"@site/docs/01-getstarted/05-firstrun/initialstate.md",84230],"91086ed6":[()=>n.e(4172).then(n.bind(n,40747)),"@site/docs/02-usages/07-adminusage/1-tenants.md",40747],"9117216e":[()=>n.e(921).then(n.bind(n,38864)),"@site/docs/02-usages/07-adminusage/3-sessions.md",38864],"92a12325":[()=>n.e(8058).then(n.bind(n,55776)),"@site/docs/04-cli/042-apis-to-business-website/03-deploy-your-website copy.mdx",55776],"9755f291":[()=>Promise.all([n.e(1869),n.e(4563)]).then(n.bind(n,34364)),"@site/docs/03-guides/14-authentication.mdx",34364],"99cb6e1e":[()=>n.e(8683).then(n.bind(n,17813)),"@site/docs/04-cli/042-apis-to-business-website/02-edit-your-home-page.mdx",17813],"9cff9f48":[()=>n.e(6166).then(n.bind(n,60672)),"@site/docs/04-cli/042-apis-to-business-website/10-configure-custom-emails.mdx",60672],a7456010:[()=>n.e(1235).then(n.t.bind(n,88552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",88552],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,17192)),"@theme/DocVersionRoot",17192],a90bcd30:[()=>n.e(7603).then(n.bind(n,5774)),"@site/docs/04-cli/042-apis-to-business-website/01-create-your-first-project.mdx",5774],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,48489)),"@theme/DocRoot",48489],aa74e104:[()=>n.e(8350).then(n.bind(n,6296)),"@site/docs/02-usages/09-producerusage/index.md",6296],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,27093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",27093],b277a811:[()=>n.e(4112).then(n.bind(n,81233)),"@site/docs/02-usages/07-adminusage/4-importexport.md",81233],bb669cdd:[()=>n.e(9207).then(n.bind(n,19275)),"@site/docs/02-usages/10-consumerusage/4-billing.md",19275],beb35022:[()=>n.e(58).then(n.t.bind(n,69306,19)),"@generated/docusaurus-plugin-content-docs/default/p/daikoku-docs-tags-licence-7ba.json",69306],c4f5d8e4:[()=>Promise.all([n.e(1869),n.e(2634)]).then(n.bind(n,73915)),"@site/src/pages/index.js",73915],c5a98549:[()=>Promise.all([n.e(1869),n.e(3789)]).then(n.bind(n,65594)),"@site/docs/03-guides/index.mdx",65594],c5f7dd62:[()=>n.e(102).then(n.bind(n,60762)),"@site/docs/02-usages/08-tenantusage/1-otoroshi.md",60762],c658d08c:[()=>n.e(580).then(n.bind(n,72223)),"@site/docs/02-usages/08-tenantusage/4-messages.md",72223],c9d9ec16:[()=>n.e(1975).then(n.bind(n,35008)),"@site/docs/02-usages/09-producerusage/3-assets.md",35008],d5060a81:[()=>n.e(9952).then(n.bind(n,89176)),"@site/docs/03-guides/13-deploy.md",89176],d7242cac:[()=>n.e(4347).then(n.bind(n,32174)),"@site/docs/04-cli/index.mdx",32174],d8973fa8:[()=>n.e(7167).then(n.bind(n,92994)),"@site/docs/02-usages/09-producerusage/2-subscriptions.md",92994],d9990e8a:[()=>n.e(9096).then(n.bind(n,8941)),"@site/docs/02-usages/09-producerusage/2-members.md",8941],df203c0f:[()=>Promise.all([n.e(1869),n.e(4279)]).then(n.bind(n,16398)),"@theme/DocTagDocListPage",16398],e06b81f4:[()=>n.e(7099).then(n.bind(n,47837)),"@site/docs/02-usages/08-tenantusage/index.md",47837],e83df34e:[()=>n.e(8265).then(n.bind(n,79590)),"@site/docs/03-guides/11-integrations.md",79590],e953d3c5:[()=>n.e(4126).then(n.bind(n,27374)),"@site/docs/02-usages/08-tenantusage/2-teams.md",27374],ed11db58:[()=>n.e(3167).then(n.bind(n,22948)),"@site/docs/04-cli/042-apis-to-business-website/08-define-and-use-a-variable.mdx",22948],ee06beb8:[()=>n.e(9098).then(n.bind(n,68612)),"@site/docs/02-usages/10-consumerusage/3-aggregation-of-apikeys.md",68612],ef4bb451:[()=>n.e(7192).then(n.bind(n,94821)),"@site/docs/02-usages/08-tenantusage/5-translations.md",94821],f0ad3fbb:[()=>Promise.all([n.e(1869),n.e(6881),n.e(2969)]).then(n.bind(n,76881)),"@theme/ApiDoc",76881],fa8a5ad9:[()=>n.e(8574).then(n.bind(n,69405)),"@site/docs/02-usages/08-tenantusage/3-assets.md",69405],fb4f8d45:[()=>n.e(8700).then(n.bind(n,15391)),"@site/docs/04-cli/042-apis-to-business-website/12-add-personal-assets.mdx",15391],fc0be43e:[()=>n.e(9203).then(n.t.bind(n,74632,19)),"/home/runner/work/daikoku/daikoku/manual/.docusaurus/docusaurus-plugin-redoc/plugin-redoc-0/redocApiLayoutV1-plugin-redoc-0.json",74632]};var s=n(74848);function c(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var l=n(86921),u=n(53102);function d(e,t){if("*"===e)return a()({loading:c,loader:()=>n.e(2237).then(n.bind(n,82237)),modules:["@theme/NotFound"],webpack:()=>[82237],render(e,t){const n=e.default;return(0,s.jsx)(u.W,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],m=(0,l.A)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),a().Map({loading:c,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;delete a.__context;const c=a.__props;return delete a.__props,(0,s.jsx)(u.W,{value:i,children:(0,s.jsx)(o,{...a,...c,...n})})}})}const p=[{path:"/daikoku/openapi",component:d("/daikoku/openapi","603"),exact:!0},{path:"/daikoku/search",component:d("/daikoku/search","1a4"),exact:!0},{path:"/daikoku/docs",component:d("/daikoku/docs","b08"),routes:[{path:"/daikoku/docs",component:d("/daikoku/docs","64e"),routes:[{path:"/daikoku/docs/tags",component:d("/daikoku/docs/tags","807"),exact:!0},{path:"/daikoku/docs/tags/installation",component:d("/daikoku/docs/tags/installation","e9d"),exact:!0},{path:"/daikoku/docs/tags/licence",component:d("/daikoku/docs/tags/licence","f48"),exact:!0},{path:"/daikoku/docs",component:d("/daikoku/docs","9a1"),routes:[{path:"/daikoku/docs/cli/",component:d("/daikoku/docs/cli/","928"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/",component:d("/daikoku/docs/cli/apis-to-business-website/","80a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/add-dynamic-content",component:d("/daikoku/docs/cli/apis-to-business-website/add-dynamic-content","dc2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/add-personal-assets",component:d("/daikoku/docs/cli/apis-to-business-website/add-personal-assets","5b5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/build-your-first-layout",component:d("/daikoku/docs/cli/apis-to-business-website/build-your-first-layout","3fc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/configure-custom-emails",component:d("/daikoku/docs/cli/apis-to-business-website/configure-custom-emails","ec3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/create-react-component",component:d("/daikoku/docs/cli/apis-to-business-website/create-react-component","eef"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/create-your-first-page copy",component:d("/daikoku/docs/cli/apis-to-business-website/create-your-first-page copy","bdc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/create-your-first-project",component:d("/daikoku/docs/cli/apis-to-business-website/create-your-first-project","e70"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/define-and-use-a-variable",component:d("/daikoku/docs/cli/apis-to-business-website/define-and-use-a-variable","1d7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/deploy-your-website copy",component:d("/daikoku/docs/cli/apis-to-business-website/deploy-your-website copy","845"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/dev-mode",component:d("/daikoku/docs/cli/apis-to-business-website/dev-mode","a86"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/edit-your-home-page",component:d("/daikoku/docs/cli/apis-to-business-website/edit-your-home-page","36d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/apis-to-business-website/style-your-apis-page",component:d("/daikoku/docs/cli/apis-to-business-website/style-your-apis-page","caf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/cli/informations/",component:d("/daikoku/docs/cli/informations/","db3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/",component:d("/daikoku/docs/getstarted/","96d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/about",component:d("/daikoku/docs/getstarted/about","ba6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/",component:d("/daikoku/docs/getstarted/firstrun/","e8b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/configfile",component:d("/daikoku/docs/getstarted/firstrun/configfile","661"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/datastore",component:d("/daikoku/docs/getstarted/firstrun/datastore","dfa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/env",component:d("/daikoku/docs/getstarted/firstrun/env","c87"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/initialstate",component:d("/daikoku/docs/getstarted/firstrun/initialstate","cf8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/firstrun/run",component:d("/daikoku/docs/getstarted/firstrun/run","622"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/getdaikoku/",component:d("/daikoku/docs/getstarted/getdaikoku/","c1c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/quickstart",component:d("/daikoku/docs/getstarted/quickstart","2e4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/setup/",component:d("/daikoku/docs/getstarted/setup/","9ac"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/setup/admin",component:d("/daikoku/docs/getstarted/setup/admin","c31"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/getstarted/setup/reporting",component:d("/daikoku/docs/getstarted/setup/reporting","c46"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/",component:d("/daikoku/docs/guides/","8ee"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/apis",component:d("/daikoku/docs/guides/apis","9bc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/archi",component:d("/daikoku/docs/guides/archi","137"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/authentication",component:d("/daikoku/docs/guides/authentication","baa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/deploy",component:d("/daikoku/docs/guides/deploy","6d0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/guides/integrations",component:d("/daikoku/docs/guides/integrations","9e1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/",component:d("/daikoku/docs/usages/","a78"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/adminusage/",component:d("/daikoku/docs/usages/adminusage/","b6c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/adminusage/importexport",component:d("/daikoku/docs/usages/adminusage/importexport","4c3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/adminusage/sessions",component:d("/daikoku/docs/usages/adminusage/sessions","5a0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/adminusage/tenants",component:d("/daikoku/docs/usages/adminusage/tenants","c7b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/adminusage/users",component:d("/daikoku/docs/usages/adminusage/users","c7f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/",component:d("/daikoku/docs/usages/consumerusage/","b59"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/aggregation-of-apikeys",component:d("/daikoku/docs/usages/consumerusage/aggregation-of-apikeys","8dc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/apikeys",component:d("/daikoku/docs/usages/consumerusage/apikeys","2bc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/billing",component:d("/daikoku/docs/usages/consumerusage/billing","9fd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/fastmode",component:d("/daikoku/docs/usages/consumerusage/fastmode","f62"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/consumerusage/subscribe",component:d("/daikoku/docs/usages/consumerusage/subscribe","f7a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/",component:d("/daikoku/docs/usages/producerusage/","bbf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/apis",component:d("/daikoku/docs/usages/producerusage/apis","f6b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/assets",component:d("/daikoku/docs/usages/producerusage/assets","8a6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/income",component:d("/daikoku/docs/usages/producerusage/income","527"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/members",component:d("/daikoku/docs/usages/producerusage/members","c2e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/producerusage/subscriptions",component:d("/daikoku/docs/usages/producerusage/subscriptions","a40"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/",component:d("/daikoku/docs/usages/tenantusage/","443"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/1.5-initialize",component:d("/daikoku/docs/usages/tenantusage/1.5-initialize","337"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/5.5-display",component:d("/daikoku/docs/usages/tenantusage/5.5-display","ba3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/assets",component:d("/daikoku/docs/usages/tenantusage/assets","772"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/cms",component:d("/daikoku/docs/usages/tenantusage/cms","6ab"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/messages",component:d("/daikoku/docs/usages/tenantusage/messages","36c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/otoroshi",component:d("/daikoku/docs/usages/tenantusage/otoroshi","17e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/teams",component:d("/daikoku/docs/usages/tenantusage/teams","22f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/daikoku/docs/usages/tenantusage/translations",component:d("/daikoku/docs/usages/tenantusage/translations","5a6"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/daikoku/",component:d("/daikoku/","87e"),exact:!0},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(96540),a=n(74848);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},64808:(e,t,n)=>{"use strict";var r=n(96540),a=n(5338),o=n(80545),i=n(54625),s=n(4784),c=n(38193);const l=[n(10119),n(26134),n(76294),n(51043),n(7767),n(23390)];var u=n(35947),d=n(56347),p=n(22831),f=n(74848);function m(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var h=n(5260),g=n(44586),y=n(86025),b=n(95697),v=n(45660),k=n(49638),w=n(25214);var S=n(70440),x=n(41463);function _(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,g.A)(),r=(0,k.o)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,f.jsxs)(h.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function E(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,g.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,g.A)(),{pathname:r}=(0,d.zy)();return e+(0,S.Ks)((0,y.Ay)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:a}),(0,f.jsx)("link",{rel:"canonical",href:a})]})}function A(){const{i18n:{currentLocale:e}}=(0,g.A)(),{metadata:t,image:n}=(0,b.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:w.w})]}),n&&(0,f.jsx)(v.be,{image:n}),(0,f.jsx)(E,{}),(0,f.jsx)(_,{}),(0,f.jsx)(x.A,{tag:"default",locale:e}),(0,f.jsx)(h.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const j=new Map;var C=n(6125),T=n(26988),P=n(205);function I(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=l.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const N=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,P.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),I("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,p.u)(u.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class $ extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=c.default.canUseDOM?I("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=I("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(N,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(d.qh,{location:t,render:()=>e})})}}const L=$,R="__docusaurus-base-url-issue-banner-suggestion-container";function D(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '__docusaurus-base-url-issue-banner-container';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${R}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${R}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function F(){const{siteConfig:{baseUrl:e}}=(0,g.A)();return(0,f.jsx)(f.Fragment,{children:!c.default.canUseDOM&&(0,f.jsx)(h.A,{children:(0,f.jsx)("script",{children:D(e)})})})}function M(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,g.A)(),{pathname:n}=(0,d.zy)();return t&&n===e?(0,f.jsx)(F,{}):null}function z(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,g.A)(),o=(0,y.Ay)(e),{htmlLang:i,direction:s}=a[r];return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("html",{lang:i,dir:s}),(0,f.jsx)("title",{children:t}),(0,f.jsx)("meta",{property:"og:title",content:t}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:o})]})}var B=n(67489),U=n(92303);function q(){const e=(0,U.A)();return(0,f.jsx)(h.A,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}const W=(0,p.v)(u.A);function Q(){const e=function(e){if(j.has(e.pathname))return{...e,pathname:j.get(e.pathname)};if((0,p.u)(u.A,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return j.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return j.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,f.jsx)(L,{location:e,children:W})}function H(){return(0,f.jsx)(B.A,{children:(0,f.jsx)(T.l,{children:(0,f.jsxs)(C.x,{children:[(0,f.jsxs)(m,{children:[(0,f.jsx)(z,{}),(0,f.jsx)(A,{}),(0,f.jsx)(M,{}),(0,f.jsx)(Q,{})]}),(0,f.jsx)(q,{})]})})})}var V=n(84054);const K=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var G=n(86921);const Y=new Set,J=new Set,Z=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,X={prefetch:e=>{if(!(e=>!Z()&&!J.has(e)&&!Y.has(e))(e))return!1;Y.add(e);const t=(0,p.u)(u.A,e).flatMap((e=>{return t=e.route.path,Object.entries(V).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,G.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?K(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!Z()&&!J.has(e))(e)&&(J.add(e),O(e))},ee=Object.freeze(X);function te(e){let{children:t}=e;return"hash"===s.default.future.experimental_router?(0,f.jsx)(i.I9,{children:t}):(0,f.jsx)(i.Kd,{children:t})}const ne=Boolean(!0);if(c.default.canUseDOM){window.docusaurus=ee;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(o.vd,{children:(0,f.jsx)(te,{children:(0,f.jsx)(H,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(ne)window.docusaurusRoot=a.hydrateRoot(e,t,{onRecoverableError:n});else{const r=a.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};O(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},26988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(96540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/daikoku/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/daikoku/docs","mainDocId":"getstarted/index","docs":[{"id":"cli/apis-to-business-website/add-dynamic-content","path":"/daikoku/docs/cli/apis-to-business-website/add-dynamic-content","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/add-personal-assets","path":"/daikoku/docs/cli/apis-to-business-website/add-personal-assets","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/build-your-first-layout","path":"/daikoku/docs/cli/apis-to-business-website/build-your-first-layout","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/configure-custom-emails","path":"/daikoku/docs/cli/apis-to-business-website/configure-custom-emails","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/create-react-component","path":"/daikoku/docs/cli/apis-to-business-website/create-react-component","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/create-your-first-page copy","path":"/daikoku/docs/cli/apis-to-business-website/create-your-first-page copy","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/create-your-first-project","path":"/daikoku/docs/cli/apis-to-business-website/create-your-first-project","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/define-and-use-a-variable","path":"/daikoku/docs/cli/apis-to-business-website/define-and-use-a-variable","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/deploy-your-website copy","path":"/daikoku/docs/cli/apis-to-business-website/deploy-your-website copy","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/dev-mode","path":"/daikoku/docs/cli/apis-to-business-website/dev-mode","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/edit-your-home-page","path":"/daikoku/docs/cli/apis-to-business-website/edit-your-home-page","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/index","path":"/daikoku/docs/cli/apis-to-business-website/","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/style-your-apis-page","path":"/daikoku/docs/cli/apis-to-business-website/style-your-apis-page","sidebar":"tutorialSidebar"},{"id":"cli/index","path":"/daikoku/docs/cli/","sidebar":"tutorialSidebar"},{"id":"cli/informations/index","path":"/daikoku/docs/cli/informations/","sidebar":"tutorialSidebar"},{"id":"getstarted/about","path":"/daikoku/docs/getstarted/about","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/configfile","path":"/daikoku/docs/getstarted/firstrun/configfile","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/datastore","path":"/daikoku/docs/getstarted/firstrun/datastore","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/env","path":"/daikoku/docs/getstarted/firstrun/env","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/index","path":"/daikoku/docs/getstarted/firstrun/","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/initialstate","path":"/daikoku/docs/getstarted/firstrun/initialstate","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/run","path":"/daikoku/docs/getstarted/firstrun/run","sidebar":"tutorialSidebar"},{"id":"getstarted/getdaikoku/index","path":"/daikoku/docs/getstarted/getdaikoku/","sidebar":"tutorialSidebar"},{"id":"getstarted/index","path":"/daikoku/docs/getstarted/","sidebar":"tutorialSidebar"},{"id":"getstarted/quickstart","path":"/daikoku/docs/getstarted/quickstart","sidebar":"tutorialSidebar"},{"id":"getstarted/setup/admin","path":"/daikoku/docs/getstarted/setup/admin","sidebar":"tutorialSidebar"},{"id":"getstarted/setup/index","path":"/daikoku/docs/getstarted/setup/","sidebar":"tutorialSidebar"},{"id":"getstarted/setup/reporting","path":"/daikoku/docs/getstarted/setup/reporting","sidebar":"tutorialSidebar"},{"id":"guides/apis","path":"/daikoku/docs/guides/apis","sidebar":"tutorialSidebar"},{"id":"guides/archi","path":"/daikoku/docs/guides/archi","sidebar":"tutorialSidebar"},{"id":"guides/authentication","path":"/daikoku/docs/guides/authentication","sidebar":"tutorialSidebar"},{"id":"guides/deploy","path":"/daikoku/docs/guides/deploy","sidebar":"tutorialSidebar"},{"id":"guides/index","path":"/daikoku/docs/guides/","sidebar":"tutorialSidebar"},{"id":"guides/integrations","path":"/daikoku/docs/guides/integrations","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/importexport","path":"/daikoku/docs/usages/adminusage/importexport","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/index","path":"/daikoku/docs/usages/adminusage/","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/sessions","path":"/daikoku/docs/usages/adminusage/sessions","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/tenants","path":"/daikoku/docs/usages/adminusage/tenants","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/users","path":"/daikoku/docs/usages/adminusage/users","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/aggregation-of-apikeys","path":"/daikoku/docs/usages/consumerusage/aggregation-of-apikeys","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/apikeys","path":"/daikoku/docs/usages/consumerusage/apikeys","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/billing","path":"/daikoku/docs/usages/consumerusage/billing","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/fastmode","path":"/daikoku/docs/usages/consumerusage/fastmode","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/index","path":"/daikoku/docs/usages/consumerusage/","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/subscribe","path":"/daikoku/docs/usages/consumerusage/subscribe","sidebar":"tutorialSidebar"},{"id":"usages/index","path":"/daikoku/docs/usages/","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/apis","path":"/daikoku/docs/usages/producerusage/apis","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/assets","path":"/daikoku/docs/usages/producerusage/assets","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/income","path":"/daikoku/docs/usages/producerusage/income","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/index","path":"/daikoku/docs/usages/producerusage/","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/members","path":"/daikoku/docs/usages/producerusage/members","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/subscriptions","path":"/daikoku/docs/usages/producerusage/subscriptions","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/1.5-initialize","path":"/daikoku/docs/usages/tenantusage/1.5-initialize","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/5.5-display","path":"/daikoku/docs/usages/tenantusage/5.5-display","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/assets","path":"/daikoku/docs/usages/tenantusage/assets","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/cms","path":"/daikoku/docs/usages/tenantusage/cms","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/index","path":"/daikoku/docs/usages/tenantusage/","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/messages","path":"/daikoku/docs/usages/tenantusage/messages","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/otoroshi","path":"/daikoku/docs/usages/tenantusage/otoroshi","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/teams","path":"/daikoku/docs/usages/tenantusage/teams","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/translations","path":"/daikoku/docs/usages/tenantusage/translations","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/daikoku/docs/getstarted/","label":"Get started"}}}}],"breadcrumbs":true}},"docusaurus-plugin-redoc":{"plugin-redoc-0":{"url":"redocusaurus/plugin-redoc-0.yaml","themeId":"theme-redoc","isSpecFile":true,"spec":{"openapi":"3.0.2","externalDocs":{"description":"Find out more about Daikoku","url":"https://maif.github.io/daikoku/"},"info":{"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},"contact":{"name":"MAIF open source team","email":"oss@maif.fr"},"description":"Admin API of Daikoku","title":"Daikoku Admin API","version":"16.3.0"},"tags":[],"components":{"schemas":{"Tenant":{"description":"Tenant","properties":{"_id":{"type":"string"},"enabled":{"type":"boolean"},"_deleted":{"type":"boolean","nullable":true},"name":{"type":"string"},"domain":{"type":"string","nullable":true},"contact":{"type":"string"},"style":{"$ref":"#/components/schemas/DaikokuStyle","nullable":true},"defaultLanguage":{"type":"string","nullable":true},"otoroshiSettings":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/OtoroshiSettings"}},"mailerSettings":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/MailerSettings.ConsoleMailerSettings"},{"$ref":"#/components/schemas/MailerSettings.MailgunSettings"},{"$ref":"#/components/schemas/MailerSettings.MailjetSettings"},{"$ref":"#/components/schemas/MailerSettings.SimpleSMTPSettings"},{"$ref":"#/components/schemas/MailerSettings.SendgridSettings"}]},"bucketSettings":{"nullable":true,"$ref":"#/components/schemas/S3Configuration"},"authProvider":{"nullable":true,"type":"string","enum":["local","otoroshi","ldap","oauth2"]},"authProviderSettings":{"type":"object"},"auditTrailConfig":{"nullable":false,"$ref":"#/components/schemas/AuditTrailConfig"},"isPrivate":{"type":"boolean","nullable":true},"adminApi":{"type":"string"},"adminSubscriptions":{"type":"array","items":{"type":"string"}},"creationSecurity":{"type":"boolean","nullable":true},"subscriptionSecurity":{"type":"boolean","nullable":true},"apiReferenceHideForGuest":{"type":"boolean","nullable":true},"defaultMessage":{"type":"string","nullable":true},"tenantMode":{"type":"string","enum":["default","maintenance","construction","translation"],"nullable":true},"aggregationApiKeysSecurity":{"type":"boolean","nullable":true},"robotTxt":{"type":"string","nullable":true},"thirdPartyPaymentSettings":{"type":"array","nullable":true,"items":{"oneOf":[{"$ref":"#/components/schemas/ThirdPartyPaymentSettings.StripeSettings"}]}},"display":{"nullable":true,"type":"string","enum":["default","environment"]},"environments":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":["_id","enabled","name","contact","adminApi"]},"object":{"type":"object"},"done":{"description":"task is done","properties":{"done":{"type":"boolean"}}},"error":{"description":"error response","properties":{"error":{"type":"string"}}},"GraphQLQuery":{"type":"object","properties":{"query":{"type":"string"}}},"GraphQLResponse":{"type":"object","properties":{"data":{"type":"object"}}},"GraphQLSchema":{"type":"object"},"patch":{"description":"A set of changes described in JSON Patch format: http://jsonpatch.com/ (RFC 6902)","type":"array","items":{"type":"object","required":["op","path"],"properties":{"op":{"type":"string","enum":["add","replace","remove","copy","test"]},"path":{"type":"string"},"value":{}}}},"DaikokuStyle":{"description":"DaikokuStyle","properties":{"js":{"type":"string","nullable":true},"css":{"type":"string","nullable":true},"colorTheme":{"type":"string","nullable":true},"jsUrl":{"type":"string","nullable":true},"cssUrl":{"type":"string","nullable":true},"faviconUrl":{"type":"string","nullable":true},"fontFamilyUrl":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"unloggedHome":{"type":"string","nullable":true},"homePageVisible":{"type":"boolean","nullable":true},"homeCmsPage":{"type":"string","nullable":true},"notFoundCmsPage":{"type":"string","nullable":true},"authenticatedCmsPage":{"type":"string","nullable":true},"cacheTTL":{"type":"integer","format":"int32","nullable":true},"logo":{"type":"string","nullable":true},"footer":{"type":"string","nullable":true}}},"ThirdPartyPaymentSettings.StripeSettings":{"description":"Stripe settings","properties":{"_id":{"type":"string"},"name":{"type":"string"},"publicKey":{"type":"string"},"secretKey":{"type":"string"}},"required":["_id","name","publicKey","secretKey"]},"OtoroshiSettings":{"description":"OtoroshiSettings","properties":{"id":{"type":"string"},"url":{"type":"string"},"host":{"type":"string"},"clientId":{"type":"string","nullable":true},"clientSecret":{"type":"string","nullable":true}},"required":["id","url","host"]},"MailerSettings.ConsoleMailerSettings":{"description":"MailerSettings","properties":{"type":{"type":"string","enum":["console"]},"template":{"type":"string","nullable":true}},"required":["type"]},"MailerSettings.MailgunSettings":{"description":"MailgunSettings","properties":{"type":{"type":"string","enum":["mailgun"]},"template":{"type":"string","nullable":true},"domain":{"type":"string"},"eu":{"type":"boolean","nullable":true},"key":{"type":"string"},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","domain","key","fromTitle","fromEmail"]},"MailerSettings.MailjetSettings":{"description":"MailgunSettings","properties":{"type":{"type":"string","enum":["mailjet"]},"template":{"type":"string","nullable":true},"apiKeyPublic":{"type":"string"},"apiKeyPrivate":{"type":"string"},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","apiKeyPublic","apiKeyPrivate","fromTitle","fromEmail"]},"MailerSettings.SendgridSettings":{"description":"SendgridSettings","properties":{"type":{"type":"string","enum":["sendgrid"]},"template":{"type":"string","nullable":true},"apikey":{"type":"string"},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","apikey","fromEmail","fromTitle"]},"MailerSettings.SimpleSMTPSettings":{"description":"SimpleSMTPSettings","properties":{"type":{"type":"string","enum":["smtpClient"]},"template":{"type":"string","nullable":true},"host":{"type":"string"},"port":{"type":"string","additionalProperties":{"oneOf":[{"type":"integer"}]}},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","host","port","fromEmail","fromTitle"]},"S3Configuration":{"description":"S3Configuration","properties":{"bucket":{"type":"string"},"endpoint":{"type":"string"},"region":{"type":"string"},"access":{"type":"string"},"secret":{"type":"string"},"chunkSize":{"type":"integer","format":"int32","nullable":true},"v4auth":{"type":"boolean","nullable":true}},"required":["bucket","endpoint","region","access","secret"]},"AuditTrailConfig":{"description":"AuditTrailConfig","properties":{"elasticConfigs":{"$ref":"#/components/schemas/ElasticAnalyticsConfig","nullable":true},"auditWebhooks":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Webhook"}},"alertsEmails":{"type":"array","nullable":true,"items":{"type":"string"}},"kafkaConfig":{"$ref":"#/components/schemas/KafkaConfig","nullable":true}}},"Webhook":{"description":"Webhook","properties":{"url":{"type":"string"},"headers":{"type":"object","nullable":true}},"required":["url"]},"ElasticAnalyticsConfig":{"description":"ElasticAnalyticsConfig","properties":{"clusterUri":{"type":"string"},"index":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"user":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"headers":{"type":"object","nullable":true}},"required":["clusterUri"]},"KafkaConfig":{"description":"KafkaConfig","properties":{"servers":{"type":"array","nullable":true,"items":{"type":"string"}},"keyPass":{"type":"string","nullable":true},"keystore":{"type":"string","nullable":true},"truststore":{"type":"string","nullable":true},"auditTopic":{"type":"string","nullable":true},"hostValidation":{"type":"boolean","nullable":true}}},"User":{"description":"User","properties":{"_id":{"type":"string"},"_deleted":{"type":"boolean"},"tenants":{"type":"array","nullable":true,"items":{"type":"string"}},"origins":{"type":"array","nullable":true,"items":{"type":"string","enum":["local","otoroshi","ldap","oauth2"]}},"name":{"type":"string"},"email":{"type":"string"},"picture":{"type":"string","nullable":true},"pictureFromProvider":{"type":"boolean","nullable":true},"personalToken":{"type":"string","nullable":true},"isDaikokuAdmin":{"type":"boolean","nullable":true},"password":{"type":"string","nullable":true,"description":"optionnal value but required in case of tenant has a Local AuthProvider"},"hardwareKeyRegistrations":{"type":"array","nullable":true,"items":{"type":"object"}},"lastTenant":{"type":"string","nullable":true},"metadata":{"type":"object","nullable":true},"defaultLanguage":{"type":"string","nullable":true},"starredApis":{"type":"array","nullable":true,"items":{"type":"string"}},"twoFactorAuthentication":{"$ref":"#/components/schemas/TwoFactorAuthentication","nullable":true},"invitation":{"$ref":"#/components/schemas/UserInvitation","nullable":true}},"required":["_id","name","email"]},"UserInvitation":{"description":"UserInvitation","properties":{"token":{"type":"string"},"createdAt":{"type":"integer","format":"timestamp","nullable":true},"team":{"type":"string"},"notificationId":{"type":"string","nullable":true},"registered":{"type":"boolean","nullable":true}},"required":["token"]},"TwoFactorAuthentication":{"description":"TwoFactorAuthentication","properties":{"enabled":{"type":"boolean"},"secret":{"type":"string"},"token":{"type":"string"},"backupCodes":{"type":"string"}},"required":["enabled","secret","token","backupCodes"]},"Team":{"description":"Team","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"type":{"type":"string","enum":["Personal","Organization","Admin"]},"name":{"type":"string"},"description":{"type":"string","nullable":true},"contact":{"type":"string"},"avatar":{"type":"string","nullable":true},"users":{"type":"array","items":{"$ref":"#/components/schemas/UserWithPermission"}},"authorizedEntities":{"type":"array","nullable":true,"items":{"properties":{"otoroshiSettingsId":{"type":"string"},"authorizedEntities":{"$ref":"#/components/schemas/AuthorizedEntities"}}}},"apiKeyVisibility":{"type":"string","enum":["administrator","apiEditor","user"]},"metadata":{"type":"object","nullable":true},"apisCreationPermission":{"type":"boolean","nullable":true},"verified":{"type":"boolean"}},"required":["_id","_tenant","type","contact","verified"]},"UserWithPermission":{"description":"UserWithPermission","properties":{"userId":{"type":"string"},"teamPermission":{"type":"string","enum":["Administrator","ApiEditor","User"]}},"required":["userId","teamPermission"]},"Api":{"description":"Api","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"team":{"type":"string"},"name":{"type":"string"},"lastUpdate":{"type":"integer","format":"timestamp"},"description":{"type":"string","nullable":true},"smallDescription":{"type":"string","nullable":true},"header":{"type":"string","nullable":true},"image":{"type":"string","nullable":true},"currentVersion":{"type":"string"},"supportedVersions":{"type":"array","items":{"type":"string"}},"isDefault":{"type":"boolean","nullable":true},"testing":{"$ref":"#/components/schemas/Testing","nullable":true},"documentation":{"$ref":"#/components/schemas/ApiDocumentation"},"swagger":{"$ref":"#/components/schemas/SwaggerAccess","nullable":true},"tags":{"type":"array","nullable":true,"items":{"type":"string"}},"categories":{"type":"array","nullable":true,"items":{"type":"string"}},"visibility":{"type":"string","enum":["Public","Private","PublicWithAuthorizations","AdminOnly"]},"possibleUsagePlans":{"type":"array","items":{"type":"string"}},"defaultUsagePlan":{"type":"string","nullable":true},"authorizedTeams":{"type":"array","nullable":true,"items":{"type":"string"}},"posts":{"type":"array","nullable":true,"items":{"type":"string"}},"issues":{"type":"array","nullable":true,"items":{"type":"string"}},"issuesTags":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ApiIssueTag"}},"stars":{"type":"integer","format":"int32"},"parent":{"type":"string"},"apis":{"type":"array","items":{"type":"string"}},"state":{"type":"string","enum":["created","published","blocked","deprecated"]}},"required":["_id","_tenant","team","name","lastUpdate","currentVersion","documentation","visibility","possibleUsagePlans","state"]},"ApiIssueTag":{"description":"ApiIssueTag","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string"},"color":{"type":"string"}},"required":["name","color"]},"Testing":{"description":"Testing","properties":{"enabled":{"type":"boolean","nullable":true},"auth":{"type":"string","enum":["ApiKey","Basic"],"nullable":true},"name":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"config":{"$ref":"#/components/schemas/TestingConfig","nullable":true}}},"ApiDocumentation":{"description":"ApiDocumentation","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"pages":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ApiDocumentationDetailPage"}},"lastModificationAt":{"type":"integer","format":"timestamp"}},"required":["_id","_tenant","lastModificationAt"]},"ApiState":{"description":"ApiState","properties":{},"required":["headers","content","value","url"]},"SwaggerAccess":{"description":"SwaggerAccess","properties":{"url":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"headers":{"type":"object","nullable":true}}},"Version":{"description":"Version","properties":{"value":{"type":"string"}},"required":["headers","content","value","url"]},"ApiVisibility":{"description":"ApiVisibility","properties":{},"required":["headers","content","url"]},"TestingConfig":{"description":"TestingConfig","properties":{"otoroshiSettings":{"type":"string"},"authorizedEntities":{"$ref":"#/components/schemas/AuthorizedEntities"},"clientName":{"type":"string"},"tag":{"type":"string"},"customMetadata":{"type":"object","nullable":true},"customMaxPerSecond":{"type":"integer","format":"int64","nullable":true},"customMaxPerDay":{"type":"integer","format":"int64","nullable":true},"customMaxPerMonth":{"type":"integer","format":"int64","nullable":true},"customReadOnly":{"type":"boolean","nullable":true}},"required":["otoroshiSettings","authorizedEntities","clientName","tag"]},"ApiDocumentationDetailPage":{"description":"ApiDocumentationDetailPage","properties":{"id":{"type":"string"},"title":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/components/schemas/ApiDocumentationDetailPage"}}},"required":["id","title","children"]},"AuthorizedEntities":{"description":"AuthorizedEntities","properties":{"services":{"type":"array","items":{"type":"string"}},"groups":{"type":"array","items":{"type":"string"}},"routes":{"type":"array","items":{"type":"string"}}},"required":["routes","groups","services"]},"ApiSubscription":{"description":"ApiSubscription","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"apiKey":{"$ref":"#/components/schemas/OtoroshiApiKey"},"plan":{"type":"string"},"team":{"type":"string"},"api":{"type":"string"},"createdAt":{"type":"integer","format":"timestamp"},"by":{"type":"string"},"customName":{"type":"string","nullable":true},"adminCustomName":{"type":"string","nullable":true},"enabled":{"type":"boolean","nullable":true},"rotation":{"$ref":"#/components/schemas/ApiSubscriptionRotation"},"integrationToken":{"type":"string"},"customMetadata":{"type":"object"},"metadata":{"type":"object","nullable":true},"tags":{"type":"array","items":{"type":"string"}},"customMaxPerSecond":{"type":"integer","format":"int64","nullable":true},"customMaxPerDay":{"type":"integer","format":"int64","nullable":true},"customMaxPerMonth":{"type":"integer","format":"int64","nullable":true},"customReadOnly":{"type":"boolean","nullable":true},"parent":{"type":"string","nullable":true},"thirdPartySubscriptionInformations":{"oneOf":[{"$ref":"#/components/schemas/ThirdPartySubscriptionInformations.Stripe"}]}},"required":["_id","_tenant","apiKey","plan","team","api","createdAt","by","integrationToken"]},"ThirdPartySubscriptionInformations.Stripe":{"description":"ThirdPartySubscriptionInformations","properties":{"subscriptionId":{"type":"string"},"primaryElementId":{"type":"string","nullable":true},"meteredElementId":{"type":"string","nullable":true}}},"OtoroshiApiKey":{"description":"OtoroshiApiKey","properties":{"clientName":{"type":"string"},"clientId":{"type":"string"},"clientSecret":{"type":"string"}},"required":["clientName","clientId","clientSecret"]},"ApiSubscriptionRotation":{"description":"ApiSubscriptionRotation","properties":{"enabled":{"type":"boolean"},"rotationEvery":{"type":"integer","format":"int64"},"gracePeriod":{"type":"integer","format":"int64"},"pendingRotation":{"type":"boolean"}},"required":["enabled","rotationEvery","gracePeriod","pendingRotation"]},"ApiDocumentationPage":{"description":"ApiDocumentationPage","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"title":{"type":"string"},"lastModificationAt":{"type":"integer","format":"timestamp"},"content":{"type":"string","nullable":true},"contentType":{"type":"string","nullable":true},"remoteContentEnabled":{"type":"boolean","nullable":true},"remoteContentUrl":{"type":"string","nullable":true},"remoteContentHeaders":{"type":"object","nullable":true}},"required":["_id","_tenant","title","lastModificationAt"]},"Notification":{"description":"Notification","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"team":{"type":"string"},"sender":{"$ref":"#/components/schemas/NotificationSender"},"date":{"type":"integer","format":"timestamp","nullable":true},"notificationType":{"type":"string","enum":["AcceptOrReject","AcceptOnly"]},"status":{"oneOf":[{"$ref":"#/components/schemas/NotificationStatus.Accepted"},{"$ref":"#/components/schemas/NotificationStatus.Rejected"},{"$ref":"#/components/schemas/NotificationStatus.Pending"}]},"action":{"oneOf":[{"$ref":"#/components/schemas/NotificationAction.ApiAccess"},{"$ref":"#/components/schemas/NotificationAction.TeamAccess"},{"$ref":"#/components/schemas/NotificationAction.ApiSubscription"},{"$ref":"#/components/schemas/NotificationAction.ApiSubscriptionReject"},{"$ref":"#/components/schemas/NotificationAction.ApiSubscriptionAccept"},{"$ref":"#/components/schemas/NotificationAction.OtoroshiSyncSubscriptionError"},{"$ref":"#/components/schemas/NotificationAction.OtoroshiSyncApiError"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyDeletionInformation"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyRotationInProgress"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyRotationEnded"},{"$ref":"#/components/schemas/NotificationAction.TeamInvitation"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyRefresh"},{"$ref":"#/components/schemas/NotificationAction.NewPostPublished"},{"$ref":"#/components/schemas/NotificationAction.NewIssueOpen"},{"$ref":"#/components/schemas/NotificationAction.NewCommentOnIssue"},{"$ref":"#/components/schemas/NotificationAction.TransferApiOwnership"},{"$ref":"#/components/schemas/NotificationAction.CheckoutForSubscription"}]}},"required":["_id","_tenant","sender","status","action"]},"NotificationAction.ApiAccess":{"description":"NotificationAction apiAccess","properties":{"api":{"type":"string"},"team":{"type":"string"}},"required":["api","team","sender"]},"NotificationAction.TeamAccess":{"description":"NotificationAction teamAccess","properties":{"team":{"type":"string"}},"required":["team"]},"NotificationAction.ApiSubscription":{"description":"NotificationAction teamAccess","properties":{"api":{"type":"string"},"plan":{"type":"string"},"team":{"type":"string"},"demand":{"type":"string"},"step":{"type":"string"},"parentSubscriptionId":{"type":"string","nullable":true},"motivation":{"type":"string","nullable":true}},"required":["api","plan","team","demand","step"]},"NotificationAction.ApiSubscriptionReject":{"description":"NotificationAction ApiSubscriptionReject","properties":{"api":{"type":"string"},"plan":{"type":"string"},"team":{"type":"string"},"message":{"type":"string","nullable":true}},"required":["api","plan","team"]},"NotificationAction.ApiSubscriptionAccept":{"description":"NotificationAction ApiSubscriptionAccept","properties":{"api":{"type":"string"},"plan":{"type":"string"},"team":{"type":"string"}},"required":["api","plan","team"]},"NotificationAction.OtoroshiSyncSubscriptionError":{"description":"NotificationAction OtoroshiSyncSubscriptionError","properties":{"subscription":{"type":"string"},"message":{"type":"string"}},"required":["subscription","message"]},"NotificationAction.OtoroshiSyncApiError":{"description":"NotificationAction OtoroshiSyncApiError","properties":{"api":{"type":"string"},"message":{"type":"string"}},"required":["api","message"]},"NotificationAction.ApiKeyDeletionInformation":{"description":"NotificationAction ApiKeyDeletionInformation","properties":{"api":{"type":"string"},"clientId":{"type":"string"}},"required":["api","clientId"]},"NotificationAction.ApiKeyRotationInProgress":{"description":"NotificationAction ApiKeyRotationInProgress","properties":{"clientId":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"}},"required":["clientId","api","plan"]},"NotificationAction.ApiKeyRotationEnded":{"description":"NotificationAction ApiKeyRotationEnded","properties":{"clientId":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"}},"required":["clientId","api","plan"]},"NotificationAction.TeamInvitation":{"description":"NotificationAction teamAccess","properties":{"team":{"type":"string"},"user":{"type":"string"}},"required":["team","user"]},"NotificationAction.ApiKeyRefresh":{"description":"NotificationAction ApiKeyRefresh","properties":{"subscription":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"}},"required":["subscription","api","plan"]},"NotificationAction.NewPostPublished":{"description":"NotificationAction NewPostPublished","properties":{"apiName":{"type":"string","nullable":true},"teamId":{"type":"string"}},"required":["teamId"]},"NotificationAction.NewIssueOpen":{"description":"NotificationAction NewIssueOpen","properties":{"apiName":{"type":"string"},"teamId":{"type":"string"},"linkTo":{"type":"string"}},"required":["apiName","teamId","linkTo"]},"NotificationAction.NewCommentOnIssue":{"description":"NotificationAction NewCommentOnIssue","properties":{"apiName":{"type":"string"},"teamId":{"type":"string"},"linkTo":{"type":"string"}},"required":["apiName","teamId","linkTo"]},"NotificationAction.TransferApiOwnership":{"description":"NotificationAction TransferApiOwnership","properties":{"api":{"type":"string"},"team":{"type":"string"}},"required":["api","team"]},"NotificationAction.CheckoutForSubscription":{"description":"NotificationAction teamAccess","properties":{"demand":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"},"step":{"type":"string"}},"required":["demand","api","plan","step"]},"NotificationStatus.Pending":{"description":"NotificationStatus pending","properties":{"status":{"type":"string","enum":["Pending"]}},"required":["status"]},"NotificationStatus.Accepted":{"description":"NotificationStatus pending","properties":{"status":{"type":"string","enum":["Accepted"]},"date":{"type":"integer","format":"timestamp"}},"required":["status","date"]},"NotificationStatus.Rejected":{"description":"NotificationStatus pending","properties":{"status":{"type":"string","enum":["Rejected"]},"date":{"type":"integer","format":"timestamp"}},"required":["status","date"]},"NotificationSender":{"description":"NotificationSender","properties":{"name":{"type":"string"},"email":{"type":"string"},"id":{"type":"string","description":"user id","nullable":true}},"required":["email","name"]},"UserSession":{"description":"UserSession","properties":{"_id":{"type":"string"},"sessionId":{"type":"string"},"userId":{"type":"string"},"userName":{"type":"string"},"userEmail":{"type":"string"},"impersonatorId":{"type":"string","nullable":true},"impersonatorName":{"type":"string","nullable":true},"impersonatorEmail":{"type":"string","nullable":true},"impersonatorSessionId":{"type":"string","nullable":true},"created":{"type":"integer","format":"timestamp","nullable":true},"ttl":{"type":"integer","format":"int64","nullable":true},"expires":{"type":"integer","format":"timestamp","nullable":true}},"required":["_id","sessionId","userId","userName","userEmail"]},"ApiKeyConsumption":{"description":"ApiKeyConsumption","properties":{"_id":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"_tenant":{"type":"string"},"team":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"},"clientId":{"type":"string"},"hits":{"type":"integer","format":"int32"},"globalInformations":{"$ref":"#/components/schemas/ApiKeyGlobalConsumptionInformations"},"quotas":{"$ref":"#/components/schemas/ApiKeyQuotas"},"billing":{"$ref":"#/components/schemas/ApiKeyBilling"},"from":{"type":"integer","format":"timestamp"},"to":{"type":"integer","format":"timestamp"},"state":{"type":"string","enum":["completed","inProgress"]}},"required":["_id","_tenant","team","api","plan","clientId","hits","globalInformations","quotas","billing","to","from","state"]},"ApiKeyBilling":{"description":"ApiKeyBilling","properties":{"hits":{"type":"integer","format":"int64"},"total":{"type":"number","format":"float64"}},"required":["hits","total"]},"ApiKeyQuotas":{"description":"ApiKeyQuotas","properties":{"authorizedCallsPerSec":{"type":"integer","format":"int64"},"currentCallsPerSec":{"type":"integer","format":"int64"},"remainingCallsPerSec":{"type":"integer","format":"int64"},"authorizedCallsPerDay":{"type":"integer","format":"int64"},"currentCallsPerDay":{"type":"integer","format":"int64"},"remainingCallsPerDay":{"type":"integer","format":"int64"},"authorizedCallsPerMonth":{"type":"integer","format":"int64"},"currentCallsPerMonth":{"type":"integer","format":"int64"},"remainingCallsPerMonth":{"type":"integer","format":"int64"}},"required":["authorizedCallsPerSec","currentCallsPerSec","remainingCallsPerSec","authorizedCallsPerDay","currentCallsPerDay","remainingCallsPerDay","authorizedCallsPerMonth","currentCallsPerMonth","remainingCallsPerMonth"]},"ApiKeyGlobalConsumptionInformations":{"description":"ApiKeyGlobalConsumptionInformations","properties":{"hits":{"type":"integer","format":"int64"},"dataIn":{"type":"integer","format":"int64"},"dataOut":{"type":"integer","format":"int64"},"avgDuration":{"type":"number","format":"float64","nullable":true},"avgOverhead":{"type":"number","format":"float64","nullable":true}},"required":["hits","dataIn","dataOut"]},"Message":{"description":"Message","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"messageType":{"oneOf":[{"$ref":"#/components/schemas/MessageType.Tenant"}]},"chat":{"type":"string","description":"user id"},"participants":{"type":"array","items":{"type":"string","description":"user ids of the tenant admins"}},"readBy":{"type":"array","items":{"type":"string","description":"user ids"}},"date":{"type":"integer","format":"timestamp"},"sender":{"type":"string","description":"user id"},"message":{"type":"string"},"closed":{"type":"integer","format":"timestamp","nullable":true},"send":{"type":"boolean","nullable":true}},"required":["_id","_tenant","chat","readBy","participants","message","messageType","date","sender"]},"MessageType.Tenant":{"description":"MessageType for Tenant administrators","properties":{"type":{"type":"string","enum":["tenant"]},"value":{"type":"string","description":"the id of the tenant"}}},"ApiIssue":{"description":"ApiIssue","properties":{"_id":{"type":"string"},"seqId":{"type":"integer","format":"int32","nullable":true},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"title":{"type":"string"},"tags":{"type":"array","nullable":true,"items":{"type":"string"}},"open":{"type":"boolean","nullable":true},"createdAt":{"type":"integer","format":"timestamp","nullable":true},"closedAt":{"type":"integer","format":"timestamp","nullable":true},"by":{"type":"string"},"comments":{"type":"array","items":{"$ref":"#/components/schemas/ApiIssueComment"}},"lastModificationAt":{"type":"integer","format":"timestamp","nullable":true},"apiVersion":{"type":"string","nullable":true}},"required":["_id","_tenant","title","by"]},"ApiIssueComment":{"description":"ApiIssueComment","properties":{"by":{"type":"string"},"createdAt":{"type":"integer","format":"timestamp","nullable":true},"lastModificationAt":{"type":"integer","format":"timestamp","nullable":true},"content":{"type":"string"}},"required":["content","by"]},"ApiPost":{"description":"ApiPost","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"title":{"type":"string"},"lastModificationAt":{"type":"integer","format":"timestamp"},"content":{"type":"string","nullable":true}},"required":["_id","_tenant","title","lastModificationAt"]},"Translation":{"description":"Translation","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"language":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"},"lastModificationAt":{"type":"integer","format":"timestamp","nullable":true}},"required":["_id","_tenant","key","value","language"]},"UsagePlan.Admin":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["Admin"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false}},"required":["_id","_tenant"]},"UsagePlan.FreeWithoutQuotas":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":true},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"}},"required":["_id","_tenant","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.FreeWithQuotas":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"maxPerSecond":{"type":"integer","format":"int64"},"maxPerDay":{"type":"integer","format":"int64"},"maxPerMonth":{"type":"integer","format":"int64"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"}},"required":["_id","_tenant","maxPerSecond","maxPerDay","maxPerMonth","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.QuotasWithLimits":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"maxPerSecond":{"type":"integer","format":"int64"},"maxPerDay":{"type":"integer","format":"int64"},"maxPerMonth":{"type":"integer","format":"int64"},"costPerMonth":{"type":"integer","format":"float64"},"trialPeriod":{"$ref":"#/components/schemas/BillingDuration"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"}},"required":["_id","_tenant","maxPerSecond","maxPerDay","maxPerMonth","costPerMonth","trialPeriod","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.QuotasWithoutLimits":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"maxPerSecond":{"type":"integer","format":"int64"},"maxPerDay":{"type":"integer","format":"int64"},"maxPerMonth":{"type":"integer","format":"int64"},"costPerMonth":{"type":"integer","format":"float64"},"costPerAdditionalRequest":{"type":"integer","format":"float64"},"trialPeriod":{"$ref":"#/components/schemas/BillingDuration"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"},"paymentSettings":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/PaymentSettings.Stripe"}]}},"required":["_id","_tenant","maxPerSecond","maxPerDay","maxPerMonth","costPerMonth","trialPeriod","costPerAdditionalRequest","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.PayPerUse":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"costPerMonth":{"type":"integer","format":"float64"},"costPerRequest":{"type":"integer","format":"float64"},"trialPeriod":{"$ref":"#/components/schemas/BillingDuration"},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"},"paymentSettings":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/PaymentSettings.Stripe"}]}},"required":["_id","_tenant","costPerMonth","trialPeriod","costPerRequest","currency","billingDuration","subscriptionProcess","integrationProcess"]},"Currency":{"description":"Currency","properties":{"code":{"type":"string"}},"required":["code"]},"BillingDuration":{"description":"BillingDuration","properties":{"value":{"type":"integer","format":"int64"},"unit":{"type":"string","enum":["hour","hours","day","days","month","months","year","years"]}}},"OtoroshiTarget":{"description":"Otoroshi target","properties":{"otoroshiSettings":{"type":"string"},"authorizedEntities":{"$ref":"#/components/schemas/AuthorizedEntities"},"apikeyCustomization":{"$ref":"#/components/schemas/ApikeyCustomization"}},"required":["otoroshiSettings","authorizedEntities","apikeyCustomization"]},"PaymentSettings.Stripe":{"description":"PaymentSettings.Stripe","properties":{"thirdPartyPaymentSettingsId":{"type":"string"},"productId":{"type":"string"},"priceIds":{"$ref":"#/components/schemas/StripePriceIds"}},"required":["thirdPartyPaymentSettings","productId","priceIds"]},"StripePriceIds":{"description":"StripePriceIds","properties":{"basePriceId":{"type":"string"},"additionalPriceId":{"type":"string","nullable":true}},"required":["basePriceId"]},"ApikeyCustomization":{"description":"Apikey customization","properties":{"clientIdOnly":{"type":"boolean","nullable":true},"readOnly":{"type":"boolean","nullable":true},"constrainedServicesOnly":{"type":"boolean","nullable":true},"metadata":{"type":"object","nullable":true},"customMetadata":{"type":"object","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"restrictions":{"$ref":"#/components/schemas/ApiKeyRestrictions"}},"required":["restrictions"]},"ApiKeyRestrictions":{"description":"ApiKey Restrictions","properties":{"enabled":{"type":"boolean","nullable":true},"allowlast":{"type":"boolean","nullable":true},"allowed":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyRestrictionPath"}},"forbidden":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyRestrictionPath"}},"notFound":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyRestrictionPath"}}}},"ApiKeyRestrictionPath":{"description":"ApiKeyRestriction Path","properties":{"method":{"type":"string"},"path":{"type":"string"}},"required":["method","path"]},"SubscriptionDemand":{"description":"SubscriptionDemand","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean"},"api":{"type":"string"},"plan":{"type":"string"},"steps":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"state":{"$ref":"#/components/schemas/SubscriptionDemandState"},"team":{"type":"string"},"from":{"type":"string"},"date":{"type":"integer","format":"timestamp"},"motivation":{"type":"string","nullable":true},"parentSubscriptionId":{"type":"string","nullable":true},"customReadOnly":{"type":"boolean","nullable":true},"customMetadata":{"type":"object"},"customMaxPerSecond":{"type":"integer","format":"int64","nullable":true},"customMaxPerDay":{"type":"integer","format":"int64","nullable":true},"customMaxPerMonth":{"type":"integer","format":"int64","nullable":true},"adminCustomName":{"type":"string","nullable":true}},"required":["_id","_tenant","api","plan","team","steps","state","from","date"]},"SubscriptionDemandState":{"description":"SubscriptionDemandStep","properties":{"id":{"type":"string"},"state":{"type":"string","enum":["waiting","inProgress","canceled","accepted","refused","blocked"]},"step":{"$ref":"#/components/schemas/ValidationStep"},"metadata":{"type":"object"}},"required":["id","step","state","metadata"]},"SubscriptionDemandStep.Email":{"description":"SubscriptionDemandState by Email","properties":{"type":{"type":"string","enum":["email"]},"id":{"type":"string"},"emails":{"type":"array","items":{"type":"string","format":"email"}},"title":{"type":"string"},"message":{"type":"string","nullable":true}},"required":["type","id","emails","title"]},"SubscriptionDemandStep.TeamAdmin":{"description":"SubscriptionDemandState by team admin","properties":{"type":{"type":"string","enum":["teamAdmin"]},"id":{"type":"string"},"schema":{"type":"object","nullable":true},"formatter":{"type":"string","nullable":true},"title":{"type":"string"}},"required":["type","id","title"]},"SubscriptionDemandStep.Payment":{"description":"SubscriptionDemandState by payment","properties":{"type":{"type":"string","enum":["payment"]},"id":{"type":"string"},"thirdPartyPaymentSettingsId":{"type":"string"},"title":{"type":"string"}},"required":["type","id","thirdPartyPaymentSettingsId","title"]},"SubscriptionDemandStep.HttpRequest":{"description":"SubscriptionDemandState by Http request","properties":{"type":{"type":"string","enum":["httpRequest"]},"id":{"type":"string"},"url":{"type":"string"},"headers":{"type":"object","nullable":true}},"required":["type","id","url","title"]},"ValidationStep":{"description":"ValidationStep","properties":{}}}},"paths":{"/admin-api/tenants/{id}":{"delete":{"summary":"delete a tenant","operationId":"tenants.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The ID of the tenant to delete","required":true}],"tags":["tenant"]},"patch":{"summary":"update a tenant with JSON patch or by merging JSON object","operationId":"tenants.patch","requestBody":{"description":"the patch to update the tenant or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Tenant"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The tenant ID to update","required":true}],"tags":["tenant"]},"put":{"summary":"update a tenant","operationId":"tenants.update","requestBody":{"description":"the ID of the tenant to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tenant"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The ID of the tenant to update","required":true}],"tags":["tenant"]},"get":{"summary":"read a tenant","operationId":"tenants.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Tenant"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The ID of the tenant to retrieve","required":true}],"tags":["tenant"]}},"/admin-api/tenants":{"get":{"summary":"read all tenant","operationId":"tenants.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Tenant"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["tenant"]},"post":{"summary":"create a tenant","requestBody":{"description":"the tenant to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tenant"}}}},"operationId":"tenants.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tenant"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["tenant"]}},"/admin-api/users/{id}":{"delete":{"summary":"delete a user","operationId":"users.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]},"patch":{"summary":"update a user with JSON patch or by merging JSON object","operationId":"users.patch","requestBody":{"description":"the patch to update the user or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/User"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]},"put":{"summary":"update a user","operationId":"users.update","requestBody":{"description":"the user to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]},"get":{"summary":"read a user","operationId":"users.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/User"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]}},"/admin-api/users":{"get":{"summary":"read all user","operationId":"users.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user"]},"post":{"summary":"creates a user","requestBody":{"description":"the user to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"operationId":"users.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user"]}},"/admin-api/teams/{id}":{"delete":{"summary":"delete a team","operationId":"teams.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]},"patch":{"summary":"update a team with JSON patch or by merging JSON object","operationId":"teams.patch","requestBody":{"description":"the patch to update the team or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Team"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]},"put":{"summary":"update a team","operationId":"teams.update","requestBody":{"description":"the team to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]},"get":{"summary":"read a team","operationId":"teams.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Team"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]}},"/admin-api/teams":{"get":{"summary":"read all team","operationId":"teams.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Team"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["team"]},"post":{"summary":"creates a team","requestBody":{"description":"the team to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"operationId":"teams.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["team"]}},"/admin-api/apis/{id}":{"delete":{"summary":"delete a api","operationId":"apis.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]},"patch":{"summary":"update a api with JSON patch or by merging JSON object","operationId":"apis.patch","requestBody":{"description":"the patch to update the api or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Api"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]},"put":{"summary":"update a api","operationId":"apis.update","requestBody":{"description":"the api to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]},"get":{"summary":"read a api","operationId":"apis.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Api"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]}},"/admin-api/apis":{"get":{"summary":"read all api","operationId":"apis.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Api"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api"]},"post":{"summary":"creates a api","requestBody":{"description":"the api to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"operationId":"apis.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api"]}},"/admin-api/subscriptions/{id}":{"delete":{"summary":"delete a api-subscription","operationId":"api-subscriptions.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]},"patch":{"summary":"update a api-subscription with JSON patch or by merging JSON object","operationId":"api-subscriptions.patch","requestBody":{"description":"the patch to update the api-subscription or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiSubscription"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]},"put":{"summary":"update a api-subscription","operationId":"api-subscriptions.update","requestBody":{"description":"the api-subscription to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSubscription"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]},"get":{"summary":"read a api-subscription","operationId":"api-subscriptions.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiSubscription"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]}},"/admin-api/subscriptions":{"get":{"summary":"read all api-subscription","operationId":"api-subscriptions.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiSubscription"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-subscription"]},"post":{"summary":"creates a api-subscription","requestBody":{"description":"the api-subscription to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSubscription"}}}},"operationId":"api-subscriptions.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSubscription"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-subscription"]}},"/admin-api/pages/{id}":{"delete":{"summary":"delete a api-documentation-page","operationId":"api-documentation-pages.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]},"patch":{"summary":"update a api-documentation-page with JSON patch or by merging JSON object","operationId":"api-documentation-pages.patch","requestBody":{"description":"the patch to update the api-documentation-page or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiDocumentationPage"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]},"put":{"summary":"update a api-documentation-page","operationId":"api-documentation-pages.update","requestBody":{"description":"the api-documentation-page to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]},"get":{"summary":"read a api-documentation-page","operationId":"api-documentation-pages.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]}},"/admin-api/pages":{"get":{"summary":"read all api-documentation-page","operationId":"api-documentation-pages.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-documentation-page"]},"post":{"summary":"creates a api-documentation-page","requestBody":{"description":"the api-documentation-page to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}},"operationId":"api-documentation-pages.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-documentation-page"]}},"/admin-api/notifications/{id}":{"delete":{"summary":"delete a notification","operationId":"notifications.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]},"patch":{"summary":"update a notification with JSON patch or by merging JSON object","operationId":"notifications.patch","requestBody":{"description":"the patch to update the notification or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Notification"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]},"put":{"summary":"update a notification","operationId":"notifications.update","requestBody":{"description":"the notification to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notification"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]},"get":{"summary":"read a notification","operationId":"notifications.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Notification"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]}},"/admin-api/notifications":{"get":{"summary":"read all notification","operationId":"notifications.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Notification"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["notification"]},"post":{"summary":"creates a notification","requestBody":{"description":"the notification to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notification"}}}},"operationId":"notifications.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notification"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["notification"]}},"/admin-api/sessions/{id}":{"delete":{"summary":"delete a user-session","operationId":"user-sessions.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]},"patch":{"summary":"update a user-session with JSON patch or by merging JSON object","operationId":"user-sessions.patch","requestBody":{"description":"the patch to update the user-session or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/UserSession"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]},"put":{"summary":"update a user-session","operationId":"user-sessions.update","requestBody":{"description":"the user-session to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSession"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]},"get":{"summary":"read a user-session","operationId":"user-sessions.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/UserSession"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]}},"/admin-api/sessions":{"get":{"summary":"read all user-session","operationId":"user-sessions.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserSession"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user-session"]},"post":{"summary":"creates a user-session","requestBody":{"description":"the user-session to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSession"}}}},"operationId":"user-sessions.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSession"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user-session"]}},"/admin-api/consumptions/{id}":{"delete":{"summary":"delete a api-key-consumption","operationId":"api-key-consumptions.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]},"patch":{"summary":"update a api-key-consumption with JSON patch or by merging JSON object","operationId":"api-key-consumptions.patch","requestBody":{"description":"the patch to update the api-key-consumption or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiKeyConsumption"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]},"put":{"summary":"update a api-key-consumption","operationId":"api-key-consumptions.update","requestBody":{"description":"the api-key-consumption to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]},"get":{"summary":"read a api-key-consumption","operationId":"api-key-consumptions.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]}},"/admin-api/consumptions":{"get":{"summary":"read all api-key-consumption","operationId":"api-key-consumptions.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-key-consumption"]},"post":{"summary":"creates a api-key-consumption","requestBody":{"description":"the api-key-consumption to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}},"operationId":"api-key-consumptions.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-key-consumption"]}},"/admin-api/audit-events/{id}":{"delete":{"summary":"delete a audit-event","operationId":"audit-events.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]},"patch":{"summary":"update a audit-event with JSON patch or by merging JSON object","operationId":"audit-events.patch","requestBody":{"description":"the patch to update the audit-event or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/object"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]},"put":{"summary":"update a audit-event","operationId":"audit-events.update","requestBody":{"description":"the audit-event to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/object"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]},"get":{"summary":"read a audit-event","operationId":"audit-events.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/object"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]}},"/admin-api/audit-events":{"get":{"summary":"read all audit-event","operationId":"audit-events.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/object"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["audit-event"]},"post":{"summary":"creates a audit-event","requestBody":{"description":"the audit-event to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/object"}}}},"operationId":"audit-events.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/object"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["audit-event"]}},"/admin-api/messages/{id}":{"delete":{"summary":"delete a message","operationId":"messages.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]},"patch":{"summary":"update a message with JSON patch or by merging JSON object","operationId":"messages.patch","requestBody":{"description":"the patch to update the message or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Message"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]},"put":{"summary":"update a message","operationId":"messages.update","requestBody":{"description":"the message to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]},"get":{"summary":"read a message","operationId":"messages.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Message"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]}},"/admin-api/messages":{"get":{"summary":"read all message","operationId":"messages.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["message"]},"post":{"summary":"creates a message","requestBody":{"description":"the message to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"operationId":"messages.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["message"]}},"/admin-api/issues/{id}":{"delete":{"summary":"delete a issue","operationId":"issues.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]},"patch":{"summary":"update a issue with JSON patch or by merging JSON object","operationId":"issues.patch","requestBody":{"description":"the patch to update the issue or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiIssue"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]},"put":{"summary":"update a issue","operationId":"issues.update","requestBody":{"description":"the issue to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiIssue"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]},"get":{"summary":"read a issue","operationId":"issues.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiIssue"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]}},"/admin-api/issues":{"get":{"summary":"read all issue","operationId":"issues.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiIssue"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["issue"]},"post":{"summary":"creates a issue","requestBody":{"description":"the issue to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiIssue"}}}},"operationId":"issues.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiIssue"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["issue"]}},"/admin-api/posts/{id}":{"delete":{"summary":"delete a post","operationId":"posts.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]},"patch":{"summary":"update a post with JSON patch or by merging JSON object","operationId":"posts.patch","requestBody":{"description":"the patch to update the post or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiPost"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]},"put":{"summary":"update a post","operationId":"posts.update","requestBody":{"description":"the post to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiPost"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]},"get":{"summary":"read a post","operationId":"posts.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiPost"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]}},"/admin-api/posts":{"get":{"summary":"read all post","operationId":"posts.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiPost"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["post"]},"post":{"summary":"creates a post","requestBody":{"description":"the post to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiPost"}}}},"operationId":"posts.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiPost"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["post"]}},"/admin-api/translations/{id}":{"delete":{"summary":"delete a translation","operationId":"translations.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]},"patch":{"summary":"update a translation with JSON patch or by merging JSON object","operationId":"translations.patch","requestBody":{"description":"the patch to update the translation or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Translation"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]},"put":{"summary":"update a translation","operationId":"translations.update","requestBody":{"description":"the translation to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Translation"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]},"get":{"summary":"read a translation","operationId":"translations.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Translation"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]}},"/admin-api/translations":{"get":{"summary":"read all translation","operationId":"translations.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Translation"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["translation"]},"post":{"summary":"creates a translation","requestBody":{"description":"the translation to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Translation"}}}},"operationId":"translations.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Translation"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["translation"]}},"/admin-api/usage-plans/{id}":{"delete":{"summary":"delete a usage-plan","operationId":"usage-plans.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]},"patch":{"summary":"update a usage-plan with JSON patch or by merging JSON object","operationId":"usage-plans.patch","requestBody":{"description":"the patch to update the usage-plan or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]},"put":{"summary":"update a usage-plan","operationId":"usage-plans.update","requestBody":{"description":"the usage-plan to update","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]},"get":{"summary":"read a usage-plan","operationId":"usage-plans.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]}},"/admin-api/usage-plans":{"get":{"summary":"read all usage-plan","operationId":"usage-plans.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["usage-plan"]},"post":{"summary":"creates a usage-plan","requestBody":{"description":"the usage-plan to create","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"operationId":"usage-plans.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["usage-plan"]}},"/admin-api/subscription-demands/{id}":{"delete":{"summary":"delete a subscription-demand","operationId":"subscription-demands.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]},"patch":{"summary":"update a subscription-demand with JSON patch or by merging JSON object","operationId":"subscription-demands.patch","requestBody":{"description":"the patch to update the subscription-demand or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/SubscriptionDemand"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]},"put":{"summary":"update a subscription-demand","operationId":"subscription-demands.update","requestBody":{"description":"the subscription-demand to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionDemand"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]},"get":{"summary":"read a subscription-demand","operationId":"subscription-demands.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/SubscriptionDemand"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]}},"/admin-api/subscription-demands":{"get":{"summary":"read all subscription-demand","operationId":"subscription-demands.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionDemand"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["subscription-demand"]},"post":{"summary":"creates a subscription-demand","requestBody":{"description":"the subscription-demand to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionDemand"}}}},"operationId":"subscription-demands.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionDemand"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["subscription-demand"]}},"/integration-api/apis":{"get":{"summary":"get all public apis for integration","operationId":"integration-api.findallapis","responses":{"200":{"description":"List of public APIs","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Api"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}":{"get":{"summary":"get all teams for integration","operationId":"integration-api.findallateams","responses":{"200":{"description":"List of teams","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Team"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/complete":{"get":{"summary":"get complete API for integration","operationId":"integration-api.findcompleteapi","responses":{"200":{"description":"Complete API","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/description":{"get":{"summary":"get API description","operationId":"integration-api.findapidescription","responses":{"200":{"description":"API description","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/plans":{"get":{"summary":"get API plans","operationId":"integration-api.findapiplans","responses":{"200":{"description":"API plans","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/documentation":{"get":{"summary":"get API documentation","operationId":"integration-api.findapidocumentation","responses":{"200":{"description":"API documentation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/apidoc":{"get":{"summary":"get API description","operationId":"integration-api.findapidoc","responses":{"200":{"description":"API doc (swagger)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}":{"get":{"summary":"get API","operationId":"integration-api.findapi","responses":{"200":{"description":"API","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/admin-api/search":{"post":{"summary":"search with GraphQL","operationId":"GraphQL.search","requestBody":{"description":"GraphQL query","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GraphQLQuery"}]}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphQLResponse"}}}}},"tags":["GraphQL"]}},"/admin-api/schema":{"post":{"summary":"search with GraphQL","operationId":"GraphQL.schema","requestBody":{"description":"get GraphQL schema","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GraphQLQuery"}]}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphQLSchema"}}}}},"tags":["GraphQL"]}},"/admin-api/credentials/{token}/plans":{"get":{"summary":"get apikey from integration token","tags":["Integration ApiKey"],"parameters":[{"in":"path","name":"token","schema":{"type":"string"},"required":true,"description":"integration token"}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtoroshiApiKey"}}}}}}}}}}},"docusaurus-theme-redoc":{"theme-redoc":{"lightTheme":{"typography":{"fontFamily":"var(--ifm-font-family-base)","fontSize":"var(--ifm-font-size-base)","lineHeight":"var(--ifm-line-height-base)","fontWeightLight":"var(--ifm-font-weight-light)","fontWeightRegular":"var(--ifm-font-weight-base)","fontWeightBold":"var(--ifm-font-weight-bold)","headings":{"fontFamily":"var(--ifm-heading-font-family)","fontWeight":"var(--ifm-heading-font-weight)","lineHeight":"var(--ifm-heading-line-height)"},"code":{"fontFamily":"var(--ifm-font-family-monospace)","lineHeight":"var(--ifm-pre-line-height)"}},"sidebar":{"width":"300px","backgroundColor":"#ffffff"},"rightPanel":{"backgroundColor":"#303846"},"colors":{"primary":{"main":"#25c2a0"}},"theme":{"prism":{"additionalLanguages":["scala"]}}},"darkTheme":{"typography":{"fontFamily":"var(--ifm-font-family-base)","fontSize":"var(--ifm-font-size-base)","lineHeight":"var(--ifm-line-height-base)","fontWeightLight":"var(--ifm-font-weight-light)","fontWeightRegular":"var(--ifm-font-weight-base)","fontWeightBold":"var(--ifm-font-weight-bold)","headings":{"fontFamily":"var(--ifm-heading-font-family)","fontWeight":"var(--ifm-heading-font-weight)","lineHeight":"var(--ifm-heading-line-height)"},"code":{"fontFamily":"var(--ifm-font-family-monospace)","lineHeight":"var(--ifm-pre-line-height)"}},"sidebar":{"width":"300px","backgroundColor":"rgb(24, 25, 26)","textColor":"#f5f6f7","arrow":{"color":"#f5f6f7"}},"colors":{"text":{"primary":"#f5f6f7","secondary":"rgba(255, 255, 255, 1)"},"gray":{"50":"#FAFAFA","100":"#F5F5F5"},"border":{"dark":"#ffffff","light":"rgba(0,0,0, 0.1)"},"primary":{"main":"#25c2a0"}},"schema":{"nestedBackground":"rgb(24, 25, 26)","typeNameColor":"rgba(255, 255, 255, 1)","typeTitleColor":"rgba(255, 255, 255, 1)"},"theme":{"prism":{"additionalLanguages":["scala"]}}},"options":{"scrollYOffset":"nav.navbar","expandSingleSchemaField":true,"menuToggle":true,"suppressWarnings":true}}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(22654);const c=JSON.parse('{"docusaurusVersion":"3.6.2","siteVersion":"17.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.6.2"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.6.2"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.6.2"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.6.2"},"docusaurus-plugin-redoc":{"type":"package","name":"docusaurus-plugin-redoc","version":"2.1.1"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.6.2"},"docusaurus-theme-redoc":{"type":"package","name":"docusaurus-theme-redoc","version":"2.2.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.37.5"}}}');var l=n(74848);const u={siteConfig:a.default,siteMetadata:c,globalData:o,i18n:i,codeTranslations:s},d=r.createContext(u);function p(e){let{children:t}=e;return(0,l.jsx)(d.Provider,{value:u,children:t})}},67489:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(96540),a=n(38193),o=n(5260),i=n(70440),s=n(2258),c=n(53102),l=n(74848);function u(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.rA)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,l.jsx)(c.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,l.jsx)(p,{children:(0,l.jsxs)(h,{fallback:()=>(0,l.jsx)(u,{error:t,tryAgain:n}),children:[(0,l.jsx)(o.A,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.A,{children:(0,l.jsx)(u,{error:t,tryAgain:n})})]})})}const m=e=>(0,l.jsx)(f,{...e});class h extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.default.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},38193:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(96540);var r=n(80545),a=n(74848);function o(e){return(0,a.jsx)(r.mg,{...e})}},28774:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(96540),a=n(54625),o=n(70440),i=n(44586),s=n(16654),c=n(38193),l=n(63427),u=n(86025),d=n(74848);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:v}=(0,i.A)(),{trailingSlash:k,baseUrl:w}=v,S=v.future.experimental_router,{withBaseUrl:x}=(0,u.hH)(),_=(0,l.A)(),E=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>E.current));const A=p||f;const j=(0,s.A)(A),C=A?.replace("pathname://","");let T=void 0!==C?(P=C,y&&(e=>e.startsWith("/"))(P)?x(P):P):void 0;var P;"hash"===S&&T?.startsWith("./")&&(T=T?.slice(1)),T&&j&&(T=(0,o.Ks)(T,{trailingSlash:k,baseUrl:w}));const I=(0,r.useRef)(!1),N=n?a.k2:a.N_,O=c.default.canUseIntersectionObserver,$=(0,r.useRef)(),L=()=>{I.current||null==T||(window.docusaurus.preload(T),I.current=!0)};(0,r.useEffect)((()=>(!O&&j&&c.default.canUseDOM&&null!=T&&window.docusaurus.prefetch(T),()=>{O&&$.current&&$.current.disconnect()})),[$,T,O,j]);const R=T?.startsWith("#")??!1,D=!b.target||"_self"===b.target,F=!T||!j||!D||R&&"hash"!==S;g||!R&&F||_.collectLink(T),b.id&&_.collectAnchor(b.id);const M={};return F?(0,d.jsx)("a",{ref:E,href:T,...A&&!j&&{target:"_blank",rel:"noopener noreferrer"},...b,...M}):(0,d.jsx)(N,{...b,onMouseEnter:L,onTouchStart:L,innerRef:e=>{E.current=e,O&&e&&j&&($.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&($.current.unobserve(e),$.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),$.current.observe(e))},to:T,...n&&{isActive:h,activeClassName:m},...M})}const f=r.forwardRef(p)},21312:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,T:()=>c});var r=n(96540),a=n(74848);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(22654);function s(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function c(e,t){let{message:n,id:r}=e;return o(s({message:n,id:r}),t)}function l(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=s({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},17065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},16654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},86025:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,hH:()=>i});var r=n(96540),a=n(44586),o=n(16654);function i(){const{siteConfig:e}=(0,a.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router,s=(0,r.useCallback)(((e,r)=>function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:a=!1,absolute:i=!1}={},router:s}=e;if(!r||r.startsWith("#")||(0,o.z)(r))return r;if("hash"===s)return r.startsWith("/")?`.${r}`:`./${r}`;if(a)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;const c=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+c:c}({siteUrl:n,baseUrl:t,url:e,options:r,router:i})),[n,t,i]);return{withBaseUrl:s}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},63427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(96540);n(74848);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},44586:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(26988);function o(){return(0,r.useContext)(a.o)}},66588:(e,t,n)=>{"use strict";n.d(t,{P_:()=>i,kh:()=>o});var r=n(44586),a=n(17065);function o(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,r.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function i(e,t,n){void 0===t&&(t=a.W),void 0===n&&(n={});const r=o(e),i=r?.[t];if(!i&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return i}},92303:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),a=n(6125);function o(){return(0,r.useContext)(a.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);const a=n(38193).default.canUseDOM?r.useLayoutEffect:r.useEffect},86921:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const s=a?`${a}.${o}`:o;r(i)?e(i,s):t[s]=i}))}(e),t}},53102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(96540),a=n(74848);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:s,children:t})}},20978:(e,t,n)=>{"use strict";n.d(t,{d1:()=>m,vT:()=>x,gk:()=>_,Gy:()=>w,$S:()=>p,vF:()=>v,ht:()=>S,g1:()=>b});var r=n(56347),a=n(66588);function o(e,t){return[...e.versions].sort(((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0)).find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}var i=n(96540);n(35947),n(44586);function s(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}var c=n(89532);n(74848);const l=Symbol("EmptyContext"),u=i.createContext(l);function d(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=d(t);if(e)return e}}(e):void 0:e.href}function p(){const{pathname:e}=(0,r.zy)(),t=function(){const e=(0,i.useContext)(u);if(e===l)throw new c.dV("DocsSidebarProvider");return e}();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=f({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}function f(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&(s(o.href,n)||e(o.items))||"link"===o.type&&s(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function m(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!d(e)))}var h=n(17065);n(89466);const g=i.createContext(null);function y(){const e=(0,i.useContext)(g);if(!e)throw new c.dV("DocsPreferredVersionContextProvider");return e}function b(e){void 0===e&&(e=h.W);const t=S(e),[n,r]=y(),{preferredVersionName:a}=n[e];return{preferredVersion:t.versions.find((e=>e.name===a))??null,savePreferredVersionName:(0,i.useCallback)((t=>{r.savePreferredVersion(e,t)}),[r,e])}}function v(){const e=w(),t=_(),n=function(){const e=w(),[t]=y();function n(n){const r=e[n],{preferredVersionName:a}=t[n];return r.versions.find((e=>e.name===a))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}();return[...Object.keys(e).map((function(r){const a=t?.activePlugin.pluginId===r?t.activeVersion:void 0,o=n[r],i=e[r].versions.find((e=>e.isLast));return function(e,t){return`docs-${e}-${t}`}(r,(a??o??i).name)}))]}const k={},w=()=>(0,a.kh)("docusaurus-plugin-content-docs")??k,S=e=>{try{return(0,a.P_)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function x(e){void 0===e&&(e={});const t=w(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function _(e){void 0===e&&(e={});const t=x(e),{pathname:n}=(0,r.zy)();if(!t)return;return{activePlugin:t,activeVersion:o(t.pluginData,n)}}},76294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(5947),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},26134:(e,t,n)=>{"use strict";var r=n(78181),a=n(4784);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t,o=globalThis.Prism;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(19700),n(61617)(`./prism-${e}`)})),delete globalThis.Prism,void 0!==o&&(globalThis.Prism=e)}(r.My)},51107:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(96540);var r=n(18215),a=n(21312),o=n(95697),i=n(28774),s=n(63427);const c={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var l=n(74848);function u(e){let{as:t,id:n,...u}=e;const d=(0,s.A)(),{navbar:{hideOnScroll:p}}=(0,o.p)();if("h1"===t||!n)return(0,l.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const f=(0,a.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,l.jsxs)(t,{...u,className:(0,r.A)("anchor",p?c.anchorWithHideOnScrollNavbar:c.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,l.jsx)(i.A,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},43186:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(96540);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(74848);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},2258:(e,t,n)=>{"use strict";n.d(t,{A:()=>tn});var r=n(96540),a=n(18215),o=n(67489),i=n(45660),s=n(56347),c=n(21312),l=n(21407),u=n(74848);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,s.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,l.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const m=(0,c.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function h(e){const t=e.children??m,{containerRef:n,onClick:r}=f();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":m,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(66578),y=n(25214);const b={skipToContent:"skipToContent_fXgn"};function v(){return(0,u.jsx)(h,{className:b.skipToContent})}var k=n(95697),w=n(9590);function S(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,u.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,u.jsx)("g",{stroke:r,strokeWidth:a,children:(0,u.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const x={closeButton:"closeButton_CVFx"};function _(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,c.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",x.closeButton,e.className),children:(0,u.jsx)(S,{width:14,height:14,strokeWidth:3.1})})}const E={content:"content_knG7"};function A(e){const{announcementBar:t}=(0,k.p)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,a.A)(E.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const j={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function C(){const{announcementBar:e}=(0,k.p)(),{isActive:t,close:n}=(0,w.M)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,u.jsxs)("div",{className:j.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,u.jsx)("div",{className:j.announcementBarPlaceholder}),(0,u.jsx)(A,{className:j.announcementBarContent}),o&&(0,u.jsx)(_,{onClick:n,className:j.announcementBarClose})]})}var T=n(68390),P=n(86641);var I=n(30955),N=n(51079);const O=r.createContext(null);function $(e){let{children:t}=e;const n=function(){const e=(0,T.M)(),t=(0,N.YL)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,I.ZC)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,u.jsx)(O.Provider,{value:n,children:t})}function L(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function R(){const e=(0,r.useContext)(O);if(!e)throw new I.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,N.YL)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:L(o)})),[a,o,t])}function D(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=R();return(0,u.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,u.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var F=n(20186),M=n(92303);function z(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function B(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function q(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,M.A)(),s=(0,c.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,c.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,c.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,u.jsx)("div",{className:(0,a.A)(U.toggle,t),children:(0,u.jsxs)("button",{className:(0,a.A)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite","aria-pressed":"dark"===r?"true":"false",children:[(0,u.jsx)(z,{className:(0,a.A)(U.toggleIcon,U.lightToggleIcon)}),(0,u.jsx)(B,{className:(0,a.A)(U.toggleIcon,U.darkToggleIcon)})]})})}const W=r.memo(q),Q={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function H(e){let{className:t}=e;const n=(0,k.p)().navbar.style,r=(0,k.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,F.G)();return r?null:(0,u.jsx)(W,{className:t,buttonClassName:"dark"===n?Q.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var V=n(23465);function K(){return(0,u.jsx)(V.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function G(){const e=(0,T.M)();return(0,u.jsx)("button",{type:"button","aria-label":(0,c.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(S,{color:"var(--ifm-color-emphasis-600)"})})}function Y(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(K,{}),(0,u.jsx)(H,{className:"margin-right--md"}),(0,u.jsx)(G,{})]})}var J=n(28774),Z=n(86025),X=n(16654);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(43186);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:s,prependBaseUrlToHref:c,...l}=e;const d=(0,Z.Ay)(r),p=(0,Z.Ay)(t),f=(0,Z.Ay)(a,{forcePrependBaseUrl:!0}),m=o&&a&&!(0,X.A)(a),h=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,u.jsxs)(u.Fragment,{children:[o,m&&(0,u.jsx)(te.A,{...s&&{width:12,height:12}})]})};return a?(0,u.jsx)(J.A,{href:c?f:a,...l,...h}):(0,u.jsx)(J.A,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...l,...h})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,u.jsx)(ne,{className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,u.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(ne,{className:(0,a.A)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,u.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(87873),se=n(38088),ce=n(44586);const le="dropdownNavbarItemMobile_S0Fm";function ue(e,t){return e.some((e=>function(e,t){return!!(0,se.ys)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...s}=e;const c=(0,r.useRef)(null),[l,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{c.current&&!c.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[c]),(0,u.jsxs)("div",{ref:c,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":l}),children:[(0,u.jsx)(ne,{"aria-haspopup":"true","aria-expanded":l,role:"button",href:s.to?void 0:"#",className:(0,a.A)("navbar__link",o),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!l))},children:s.children??s.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(ft,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:o,onClick:i,...c}=e;const l=function(){const{siteConfig:{baseUrl:e}}=(0,ce.A)(),{pathname:t}=(0,s.zy)();return t.replace(e,"/")}(),d=ue(t,l),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[l,d,m]),(0,u.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,u.jsx)(ne,{role:"button",className:(0,a.A)(le,"menu__link menu__link--sublist menu__link--sublist-caret",n),...c,onClick:e=>{e.preventDefault(),f()},children:c.children??c.label}),(0,u.jsx)(ie.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(ft,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,u.jsx)(r,{...n})}var me=n(49638);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const ge="iconLanguage_nlXk";var ye=n(11088),be=n(20053);var ve=n(89532),ke=n(20978),we=n(5891),Se=n(32384),xe=n(4471),_e=n(27674),Ee=n(86841),Ae=n(43810);const je="searchBar_RVTs",Ce="dropdownMenu_qbY6",Te="searchBarLeft_MXDe",Pe="suggestion_fB_2",Ie="cursor_eG29",Ne="hitTree_kk6K",Oe="hitIcon_a7Zy",$e="hitPath_ieM4",Le="noResultsIcon_EBY5",Re="hitFooter_E9YW",De="hitWrapper_sAK8",Fe="hitTitle_vyVt",Me="hitAction_NqkB",ze="noResults_l6Q3",Be="searchBarContainer_NW3z",Ue="searchBarLoadingRing_YnHq",qe="searchClearButton_qk4g",We="searchIndexLoading_EJ1f",Qe="searchHintContainer_Pkmr",He="searchHint_iIMx",Ve="focused_OWtg",Ke="input_FOTf",Ge="hint_URu1",Ye="suggestions_X8XU",Je="dataset_QiCy",Ze="empty_eITn";function Xe(e){let{document:t,type:n,page:r,metadata:a,tokens:o,isInterOfTree:i,isLastOfTree:s}=e;const c=0===n,l=1===n,u=[];i?u.push('<svg viewBox="0 0 24 54"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M8 6v42M20 27H8.3"></path></g></svg>'):s&&u.push('<svg viewBox="0 0 24 54"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M8 6v21M20 27H8.3"></path></g></svg>');const d=u.map((e=>`<span class="${Ne}">${e}</span>`)),p=`<span class="${Oe}">${c?'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linejoin="round"></path></svg>':l?'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg>':'<svg width="20" height="20" viewBox="0 0 20 20"><path d="M17 5H3h14zm0 5H3h14zm0 5H3h14z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linejoin="round"></path></svg>'}</span>`,f=[`<span class="${Fe}">${(0,Ae.C)(t.t,(0,_e.g)(a,"t"),o)}</span>`];if(!i&&!s&&ye.tb){const e=r?(r.b??[]).concat(r.t).concat(t.s&&t.s!==r.t?t.s:[]):t.b;f.push(`<span class="${$e}">${(0,xe.$)(e??[])}</span>`)}else c||f.push(`<span class="${$e}">${(0,Ee.Z)(r.t||(t.u.startsWith("/docs/api-reference/")?"API Reference":""),o)}</span>`);const m=`<span class="${Me}"><svg width="20" height="20" viewBox="0 0 20 20"><g stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M18 3v4c0 2-2 4-4 4H2"></path><path d="M8 17l-6-6 6-6"></path></g></svg></span>`;return[...d,p,`<span class="${De}">`,...f,"</span>",m].join("")}function et(){return`<span class="${ze}"><span class="${Le}"><svg width="40" height="40" viewBox="0 0 20 20" fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"></path></svg></span><span>${(0,c.T)({id:"theme.SearchBar.noResultsText",message:"No results"})}</span></span>`}var tt=n(2849);async function nt(){const e=await Promise.all([n.e(489),n.e(5741)]).then(n.t.bind(n,90489,23)),t=e.default;return t.noConflict?t.noConflict():e.noConflict&&e.noConflict(),t}const rt="_highlight";const at=function(e){let{handleSearchBarToggle:t}=e;const a=(0,M.A)(),{siteConfig:{baseUrl:o}}=(0,ce.A)(),i=(0,ke.vT)();let l=o;try{const{preferredVersion:e}=function(){return n(20978).g1(...arguments)}(i?.pluginId??ye.UB);e&&!e.isLast&&(l=e.path+"/")}catch(R){if(ye.I$&&!(R instanceof ve.dV))throw R}const d=(0,s.W6)(),p=(0,s.zy)(),f=(0,r.useRef)(null),m=(0,r.useRef)(new Map),h=(0,r.useRef)(!1),[g,y]=(0,r.useState)(!1),[b,v]=(0,r.useState)(!1),[k,w]=(0,r.useState)(""),S=(0,r.useRef)(null),x=(0,r.useRef)(""),[_,E]=(0,r.useState)("");(0,r.useEffect)((()=>{if(!Array.isArray(ye.Hg))return;let e="";if(p.pathname.startsWith(l)){const t=p.pathname.substring(l.length),n=ye.Hg.find((e=>t===e||t.startsWith(`${e}/`)));n&&(e=n)}x.current!==e&&(m.current.delete(e),x.current=e),E(e)}),[p.pathname,l]);const A=!!ye.O6&&Array.isArray(ye.Hg)&&""===_,j=(0,r.useCallback)((async()=>{if(A||m.current.get(_))return;m.current.set(_,"loading"),S.current?.autocomplete.destroy(),y(!0);const[{wrappedIndexes:e,zhDictionary:t},n]=await Promise.all([(0,we.Z)(l,_),nt()]);if(S.current=n(f.current,{hint:!1,autoselect:!0,openOnFocus:!0,cssClasses:{root:(0,be.A)(je,{[Te]:"left"===ye.ZG}),noPrefix:!0,dropdownMenu:Ce,input:Ke,hint:Ge,suggestions:Ye,suggestion:Pe,cursor:Ie,dataset:Je,empty:Ze}},[{source:(0,Se.m)(e,t,ye.AT),templates:{suggestion:Xe,empty:et,footer:e=>{let{query:t,isEmpty:n}=e;if(n&&!_)return;const r=(e=>{let{query:t,isEmpty:n}=e;const r=document.createElement("a"),a=new URLSearchParams,i=(0,c.T)({id:"theme.SearchBar.seeAll",message:"See all results"}),s=(0,c.T)({id:"theme.SearchBar.seeAllOutsideContext",message:"See results outside {context}"},{context:_}),u=(0,c.T)({id:"theme.SearchBar.searchInContext",message:"See all results in {context}"},{context:_});let p;if(a.set("q",t),p=_&&n?s:_?u:i,Array.isArray(ye.Hg)&&!n&&a.set("ctx",_),l!==o){if(!l.startsWith(o))throw new Error(`Version url '${l}' does not start with base url '${o}', this is a bug of \`@easyops-cn/docusaurus-search-local\`, please report it.`);a.set("version",l.substring(o.length))}const f=`${o}search?${a.toString()}`;return r.href=f,r.textContent=p,r.addEventListener("click",(e=>{e.ctrlKey||e.metaKey||(e.preventDefault(),S.current?.autocomplete.close(),d.push(f))})),r})({query:t,isEmpty:n}),a=document.createElement("div");return a.className=Re,a.appendChild(r),a}}}]).on("autocomplete:selected",(function(e,t){let{document:{u:n,h:r},tokens:a}=t;f.current?.blur();let o=n;if(ye.CU&&a.length>0){const e=new URLSearchParams;for(const t of a)e.append(rt,t);o+=`?${e.toString()}`}r&&(o+=r),d.push(o)})).on("autocomplete:closed",(()=>{f.current?.blur()})),m.current.set(_,"done"),y(!1),h.current){const e=f.current;e.value&&S.current?.autocomplete.open(),e.focus()}}),[A,_,l,o,d]);(0,r.useEffect)((()=>{if(!ye.CU)return;const e=a?new URLSearchParams(p.search).getAll(rt):[];setTimeout((()=>{const t=document.querySelector("article");if(!t)return;const n=new ye.CU(t);n.unmark(),0!==e.length&&n.mark(e),w(e.join(" ")),S.current?.autocomplete.setVal(e.join(" "))}))}),[a,p.search,p.pathname]);const[C,T]=(0,r.useState)(!1),P=(0,r.useCallback)((()=>{h.current=!0,j(),T(!0),t?.(!0)}),[t,j]),I=(0,r.useCallback)((()=>{T(!1),t?.(!1)}),[t]),N=(0,r.useCallback)((()=>{j()}),[j]),O=(0,r.useCallback)((e=>{w(e.target.value),e.target.value&&v(!0)}),[]),$=!!a&&/mac/i.test(navigator.userAgentData?.platform??navigator.platform);(0,r.useEffect)((()=>{if(!ye.WW)return;const e=e=>{!($?e.metaKey:e.ctrlKey)||"k"!==e.key&&"K"!==e.key||(e.preventDefault(),f.current?.focus(),P())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[$,P]);const L=(0,r.useCallback)((()=>{const e=new URLSearchParams(p.search);e.delete(rt);const t=e.toString(),n=p.pathname+(""!=t?`?${t}`:"")+p.hash;n!=p.pathname+p.search+p.hash&&d.push(n),w(""),S.current?.autocomplete.setVal("")}),[p.pathname,p.search,p.hash,d]);return(0,u.jsxs)("div",{className:(0,be.A)("navbar__search",Be,{[We]:g&&b,[Ve]:C}),hidden:A,children:[(0,u.jsx)("input",{placeholder:(0,c.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),"aria-label":"Search",className:"navbar__search-input",onMouseEnter:N,onFocus:P,onBlur:I,onChange:O,ref:f,value:k}),(0,u.jsx)(tt.A,{className:Ue}),ye.WW&&ye.pk&&(""!==k?(0,u.jsx)("button",{className:qe,onClick:L,children:"\u2715"}):a&&(0,u.jsxs)("div",{className:Qe,children:[(0,u.jsx)("kbd",{className:He,children:$?"\u2318":"ctrl"}),(0,u.jsx)("kbd",{className:He,children:"K"})]}))]})};function ot(e){return(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(at,{...e})})}const it={navbarSearchContainer:"navbarSearchContainer_Bca1"};function st(e){let{children:t,className:n}=e;return(0,u.jsx)("div",{className:(0,a.A)(n,it.navbarSearchContainer),children:t})}var ct=n(86989),lt=n(98169);var ut=n(42109);function dt(e,t){return t.alternateDocVersions[e.name]??function(e){return e.docs.find((t=>t.id===e.mainDocId))}(e)}const pt={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:l,localeConfigs:d}}=(0,ce.A)(),p=(0,me.o)(),{search:f,hash:m}=(0,s.zy)(),h=[...n,...l.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,c.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,u.jsx)(fe,{...o,mobile:t,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(he,{className:ge}),g]}),items:h})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,u.jsx)(st,{className:n,children:(0,u.jsx)(ot,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,u.jsx)(i,{className:(0,a.A)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,ct.zK)(r),i=(0,lt.QB)(t,r),s=o?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>s||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,ct.zK)(r),i=(0,lt.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,lt.Vd)(r)[0],i=t??o.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,u.jsx)(oe,{...a,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:l,hash:d}=(0,s.zy)(),p=(0,ct.zK)(n),f=(0,ct.jh)(n),{savePreferredVersionName:m}=(0,ut.g1)(n),h=[...a,...f.map((function(e){const t=dt(e,p);return{label:e.label,to:`${t.path}${l}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...o],g=(0,lt.Vd)(n)[0],y=t&&h.length>1?(0,c.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,b=t&&h.length>1?void 0:dt(g,p).path;return h.length<=1?(0,u.jsx)(oe,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,u.jsx)(fe,{...i,mobile:t,label:y,to:b,items:h,isActive:r?()=>!1:void 0})}};function ft(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=pt[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,u.jsx)(a,{...n})}function mt(){const e=(0,T.M)(),t=(0,k.p)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(ft,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function ht(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(c.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function gt(){const e=0===(0,k.p)().navbar.items.length,t=R();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(ht,{onClick:()=>t.hide()}),t.content]})}function yt(){const e=(0,T.M)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,u.jsx)(D,{header:(0,u.jsx)(Y,{}),primaryMenu:(0,u.jsx)(mt,{}),secondaryMenu:(0,u.jsx)(gt,{})}):null}const bt={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function vt(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function kt(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,k.p)(),i=(0,T.M)(),{navbarRef:s,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,P.Mq)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current)return void n(!0);if(a.current)return void(a.current=!1);const s=r?.scrollY,c=document.documentElement.scrollHeight-o.current,l=window.innerHeight;s&&i>=s?n(!1):i+l<c&&n(!0)})),(0,l.$)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,u.jsxs)("nav",{ref:s,"aria-label":(0,c.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",n&&[bt.navbarHideable,!d&&bt.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,u.jsx)(vt,{onClick:i.toggle}),(0,u.jsx)(yt,{})]})}var wt=n(70440);const St={errorBoundaryError:"errorBoundaryError_MTEk",errorBoundaryFallback:"errorBoundaryFallback_wpIe"};function xt(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(c.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function _t(e){let{error:t}=e;const n=(0,wt.rA)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{className:St.errorBoundaryError,children:n})}class Et extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const At="right";function jt(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,u.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Ct(){const{toggle:e,shown:t}=(0,T.M)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,c.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,u.jsx)(jt,{})})}const Tt={colorModeToggle:"colorModeToggle_DEke"};function Pt(e){let{items:t}=e;return(0,u.jsx)(u.Fragment,{children:t.map(((e,t)=>(0,u.jsx)(Et,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,u.jsx)(ft,{...e})},t)))})}function It(e){let{left:t,right:n}=e;return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:"navbar__items",children:t}),(0,u.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Nt(){const e=(0,T.M)(),t=(0,k.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??At)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,u.jsx)(It,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(Ct,{}),(0,u.jsx)(K,{}),(0,u.jsx)(Pt,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Pt,{items:r}),(0,u.jsx)(H,{className:Tt.colorModeToggle}),!a&&(0,u.jsx)(st,{children:(0,u.jsx)(ot,{})})]})})}function Ot(){return(0,u.jsx)(kt,{children:(0,u.jsx)(Nt,{})})}function $t(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,s=(0,Z.Ay)(n),c=(0,Z.Ay)(r,{forcePrependBaseUrl:!0});return(0,u.jsxs)(J.A,{className:"footer__link-item",...r?{href:o?c:r}:{to:s},...i,children:[a,r&&!(0,X.A)(r)&&(0,u.jsx)(te.A,{})]})}function Lt(e){let{item:t}=e;return t.html?(0,u.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)("li",{className:"footer__item",children:(0,u.jsx)($t,{item:t})},t.href??t.to)}function Rt(e){let{column:t}=e;return(0,u.jsxs)("div",{className:"col footer__col",children:[(0,u.jsx)("div",{className:"footer__title",children:t.title}),(0,u.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,u.jsx)(Lt,{item:e},t)))})]})}function Dt(e){let{columns:t}=e;return(0,u.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,u.jsx)(Rt,{column:e},t)))})}function Ft(){return(0,u.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Mt(e){let{item:t}=e;return t.html?(0,u.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)($t,{item:t})}function zt(e){let{links:t}=e;return(0,u.jsx)("div",{className:"footer__links text--center",children:(0,u.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)(Mt,{item:e}),t.length!==n+1&&(0,u.jsx)(Ft,{})]},n)))})})}function Bt(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,u.jsx)(Dt,{columns:t}):(0,u.jsx)(zt,{links:t})}var Ut=n(91640);const qt="footerLogoLink_BH7S";function Wt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,Z.hH)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,u.jsx)(Ut.A,{className:(0,a.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function Qt(e){let{logo:t}=e;return t.href?(0,u.jsx)(J.A,{href:t.href,className:qt,target:t.target,children:(0,u.jsx)(Wt,{logo:t})}):(0,u.jsx)(Wt,{logo:t})}function Ht(e){let{copyright:t}=e;return(0,u.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function Vt(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,u.jsx)("footer",{className:(0,a.A)("footer",{"footer--dark":"dark"===t}),children:(0,u.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,u.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,u.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function Kt(){const{footer:e}=(0,k.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,u.jsx)(Vt,{style:a,links:n&&n.length>0&&(0,u.jsx)(Bt,{links:n}),logo:r&&(0,u.jsx)(Qt,{logo:r}),copyright:t&&(0,u.jsx)(Ht,{copyright:t})})}const Gt=r.memo(Kt),Yt=(0,I.fM)([F.a,w.o,P.Tv,ut.VQ,i.Jx,function(e){let{children:t}=e;return(0,u.jsx)(N.y_,{children:(0,u.jsx)(T.e,{children:(0,u.jsx)($,{children:t})})})}]);function Jt(e){let{children:t}=e;return(0,u.jsx)(Yt,{children:t})}var Zt=n(51107);function Xt(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(Zt.A,{as:"h1",className:"hero__title",children:(0,u.jsx)(c.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)(xt,{onClick:n,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)(_t,{error:t})})]})})})}const en={mainWrapper:"mainWrapper_z2l0"};function tn(e){const{children:t,noFooter:n,wrapperClassName:r,title:s,description:c}=e;return(0,y.J)(),(0,u.jsxs)(Jt,{children:[(0,u.jsx)(i.be,{title:s,description:c}),(0,u.jsx)(v,{}),(0,u.jsx)(C,{}),(0,u.jsx)(Ot,{}),(0,u.jsx)("div",{id:d,className:(0,a.A)(g.G.wrapper.main,en.mainWrapper,r),children:(0,u.jsx)(o.A,{fallback:e=>(0,u.jsx)(Xt,{...e}),children:t})}),!n&&(0,u.jsx)(Gt,{})]})}},23465:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(96540);var r=n(28774),a=n(86025),o=n(44586),i=n(95697),s=n(91640),c=n(74848);function l(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.Ay)(t.src),dark:(0,a.Ay)(t.srcDark||t.src)},i=(0,c.jsx)(s.A,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,c.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,o.A)(),{navbar:{title:n,logo:s}}=(0,i.p)(),{imageClassName:u,titleClassName:d,...p}=e,f=(0,a.Ay)(s?.href||"/"),m=n?"":t,h=s?.alt??m;return(0,c.jsxs)(r.A,{to:f,...p,...s?.target&&{target:s.target},children:[s&&(0,c.jsx)(l,{logo:s,alt:h,imageClassName:u}),null!=n&&(0,c.jsx)("b",{className:d,children:n})]})}},41463:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(96540);var r=n(5260),a=n(74848);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.A,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},91640:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(96540),a=n(18215),o=n(92303),i=n(20186);const s={themedComponent:"themedComponent__dKv","themedComponent--light":"themedComponent--light_rzkv","themedComponent--dark":"themedComponent--dark_mMAk"};var c=n(74848);function l(e){let{className:t,children:n}=e;const l=(0,o.A)(),{colorMode:u}=(0,i.G)();return(0,c.jsx)(c.Fragment,{children:(l?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.A)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,c.jsx)(r.Fragment,{children:o},e)}))})}function u(e){const{sources:t,className:n,alt:r,...a}=e;return(0,c.jsx)(l,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,c.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}},42109:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>g,g1:()=>b});var r=n(96540),a=n(86989),o=n(17065),i=n(95697),s=n(82993),c=n(30955),l=n(74848);const u=e=>`docs-preferred-version-${e}`,d={save:(e,t,n)=>{(0,s.Wf)(u(e),{persistence:t}).set(n)},read:(e,t)=>(0,s.Wf)(u(e),{persistence:t}).get(),clear:(e,t)=>{(0,s.Wf)(u(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const f=r.createContext(null);function m(){const e=(0,a.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,s]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=d.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(d.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){d.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=m();return(0,l.jsx)(f.Provider,{value:n,children:t})}function g(e){let{children:t}=e;return(0,l.jsx)(h,{children:t})}function y(){const e=(0,r.useContext)(f);if(!e)throw new c.dV("DocsPreferredVersionContextProvider");return e}function b(e){void 0===e&&(e=o.W);const t=(0,a.ht)(e),[n,i]=y(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},40716:(e,t,n)=>{"use strict";n.d(t,{V:()=>c,t:()=>l});var r=n(96540),a=n(30955),o=n(74848);const i=Symbol("EmptyContext"),s=r.createContext(i);function c(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(s.Provider,{value:i,children:t})}function l(){const e=(0,r.useContext)(s);if(e===i)throw new a.dV("DocsSidebarProvider");return e}},98169:(e,t,n)=>{"use strict";n.d(t,{B5:()=>x,Nr:()=>p,OF:()=>v,QB:()=>S,Vd:()=>k,Y:()=>y,fW:()=>w,w8:()=>h});var r=n(96540),a=n(56347),o=n(22831),i=n(86989),s=n(38088),c=n(24035),l=n(42109),u=n(51948),d=n(40716);function p(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=p(t);if(e)return e}}(e):void 0:e.href}const f=(e,t)=>void 0!==e&&(0,s.ys)(e,t),m=(e,t)=>e.some((e=>h(e,t)));function h(e,t){return"link"===e.type?f(e.href,t):"category"===e.type&&(f(e.href,t)||m(e.items,t))}function g(e,t){switch(e.type){case"category":return h(e,t)||e.items.some((e=>g(e,t)));case"link":return!e.unlisted||h(e,t);default:return!0}}function y(e,t){return(0,r.useMemo)((()=>e.filter((e=>g(e,t)))),[e,t])}function b(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,s.ys)(o.href,n)||e(o.items))||"link"===o.type&&(0,s.ys)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function v(){const e=(0,d.t)(),{pathname:t}=(0,a.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?b({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,l.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)((()=>(0,c.sb)([t,n,a].filter(Boolean))),[t,n,a])}function w(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,c.sb)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function x(e){let{route:t}=e;const n=(0,a.zy)(),r=(0,u.r)(),i=t.routes,s=i.find((e=>(0,a.B6)(n.pathname,e)));if(!s)return null;const c=s.sidebar,l=c?r.docsSidebars[c]:void 0;return{docElement:(0,o.v)(i),sidebarName:c,sidebarItems:l}}},51948:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,r:()=>c});var r=n(96540),a=n(30955),o=n(74848);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function c(){const e=(0,r.useContext)(i);if(null===e)throw new a.dV("DocsVersionProvider");return e}},86989:(e,t,n)=>{"use strict";n.d(t,{zK:()=>f,vT:()=>u,Gy:()=>c,HW:()=>m,ht:()=>l,r7:()=>p,jh:()=>d});var r=n(56347),a=n(66588);const o=e=>e.versions.find((e=>e.isLast));function i(e,t){const n=function(e,t){return[...e.versions].sort(((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0)).find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const s={},c=()=>(0,a.kh)("docusaurus-plugin-content-docs")??s,l=e=>{try{return(0,a.P_)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function u(e){void 0===e&&(e={});const t=c(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function d(e){return l(e).versions}function p(e){const t=l(e);return o(t)}function f(e){const t=l(e),{pathname:n}=(0,r.zy)();return i(t,n)}function m(e){const t=l(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=o(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},87873:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,u:()=>l});var r=n(96540),a=n(38193),o=n(205),i=n(78002),s=n(74848);const c="ease-in-out";function l(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??c}`,height:`${t}px`}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return p(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function m(e){if(!a.default.canUseDOM)return e?u:d}function h(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:c,disableSSRStyle:l}=e;const u=(0,r.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:o}),(0,s.jsx)(t,{ref:u,style:l?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(u.current,n),i?.(n))},className:c,children:a})}function g(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[c,l]=(0,r.useState)(t);return(0,o.A)((()=>{t||i(!0)}),[t]),(0,o.A)((()=>{a&&l(t)}),[a,t]),a?(0,s.jsx)(h,{...n,collapsed:c}):null}function y(e){let{lazy:t,...n}=e;const r=t?g:h;return(0,s.jsx)(r,{...n})}},9590:(e,t,n)=>{"use strict";n.d(t,{M:()=>h,o:()=>m});var r=n(96540),a=n(92303),o=n(82993),i=n(30955),s=n(95697),c=n(74848);const l=(0,o.Wf)("docusaurus.announcement.dismiss"),u=(0,o.Wf)("docusaurus.announcement.id"),d=()=>"true"===l.get(),p=e=>l.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&p(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,c.jsx)(f.Provider,{value:n,children:t})}function h(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},20186:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>g});var r=n(96540),a=n(38193),o=n(30955),i=n(82993),s=n(95697),c=n(74848);const l=r.createContext(void 0),u="theme",d=(0,i.Wf)(u),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>a.default.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),h=e=>{d.set(f(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),[a,o]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&h(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const c=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||c.current?c.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[a,i])}();return(0,c.jsx)(l.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(l);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},68390:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(96540),a=n(51079),o=n(99068),i=n(38874),s=n(95697),c=n(30955),l=n(74848);const u=r.createContext(void 0);function d(){const e=function(){const e=(0,a.YL)(),{items:t}=(0,s.p)().navbar;return 0===t.length&&!e.component}(),t=(0,o.l)(),n=!e&&"mobile"===t,[c,l]=(0,r.useState)(!1);(0,i.$Z)((()=>{if(c)return l(!1),!1}));const u=(0,r.useCallback)((()=>{l((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&l(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:c})),[e,n,u,c])}function p(e){let{children:t}=e;const n=d();return(0,l.jsx)(u.Provider,{value:n,children:t})}function f(){const e=r.useContext(u);if(void 0===e)throw new c.dV("NavbarMobileSidebarProvider");return e}},51079:(e,t,n)=>{"use strict";n.d(t,{GX:()=>l,YL:()=>c,y_:()=>s});var r=n(96540),a=n(30955),o=n(74848);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function c(){const e=(0,r.useContext)(i);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function l(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.dV("NavbarSecondaryMenuContentProvider");const[,s]=o,c=(0,a.Be)(n);return(0,r.useEffect)((()=>{s({component:t,props:c})}),[s,t,c]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},25214:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(96540);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},99068:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(96540),a=n(38193);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,s]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){s(function(e){if(!a.default.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},66578:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},78002:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},38874:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,aZ:()=>c});var r=n(96540),a=n(56347),o=n(30955);function i(e){!function(e){const t=(0,a.W6)(),n=(0,o._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function s(e){const t=(0,a.W6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}function c(e){return s((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}},24035:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{XI:()=>r,sb:()=>a})},45660:(e,t,n)=>{"use strict";n.d(t,{e3:()=>f,be:()=>d,Jx:()=>m});var r=n(96540),a=n(18215),o=n(5260),i=n(53102);function s(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var c=n(86025),l=n(44586);var u=n(74848);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const s=function(e){const{siteConfig:t}=(0,l.A)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,c.hH)(),p=a?d(a,{absolute:!0}):void 0;return(0,u.jsxs)(o.A,{children:[t&&(0,u.jsx)("title",{children:s}),t&&(0,u.jsx)("meta",{property:"og:title",content:s}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,u.jsx)("meta",{property:"og:image",content:p}),p&&(0,u.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),s=(0,a.A)(i,t);return(0,u.jsxs)(p.Provider,{value:s,children:[(0,u.jsx)(o.A,{children:(0,u.jsx)("html",{className:s})}),n]})}function m(e){let{children:t}=e;const n=s(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(f,{className:(0,a.A)(r,o),children:t})}},30955:(e,t,n)=>{"use strict";n.d(t,{Be:()=>l,ZC:()=>s,_q:()=>i,dV:()=>c,fM:()=>u});var r=n(96540),a=n(205),o=n(74848);function i(e){const t=(0,r.useRef)(e);return(0,a.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,a.A)((()=>{t.current=e})),t.current}class c extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function l(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},38088:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>s,ys:()=>i});var r=n(96540),a=n(35947),o=n(44586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,o.A)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.A,baseUrl:e})),[e])}},86641:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>f,Tv:()=>u,a_:()=>m,gk:()=>h});var r=n(96540),a=n(38193),o=n(92303),i=n(205),s=n(30955),c=n(74848);const l=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,c.jsx)(l.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(l);if(null==e)throw new s.dV("ScrollControllerProvider");return e}const p=()=>a.default.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),a=(0,r.useRef)(p()),o=(0,s._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=p();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function m(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),a=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.A)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:a}}function h(){const e=(0,r.useRef)(null),t=(0,o.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},82993:(e,t,n)=>{"use strict";n.d(t,{Dv:()=>d,Wf:()=>u});var r=n(96540),a=n(24180);const o=a.N;function i(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function s(e){if(void 0===e&&(e=o),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,c||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),c=!0),null}var t}let c=!1;const l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){const n=`${e}${a.M}`;if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(n);const r=s(t?.persistence);return null===r?l:{get:()=>{try{return r.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=r.getItem(n);r.setItem(n,e),i({key:n,oldValue:t,newValue:e,storage:r})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=r.getItem(n);r.removeItem(n),i({key:n,oldValue:e,newValue:null,storage:r})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===r&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}function d(e,t){const n=(0,r.useRef)((()=>null===e?l:u(e,t))).current(),a=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(a,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},49638:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(44586),a=n(56347),o=n(70440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.A)(),{pathname:c}=(0,a.zy)(),l=(0,o.Ks)(c,{trailingSlash:n,baseUrl:e}),u=s===i?e:e.replace(`/${s}/`,"/"),d=l.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},21407:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(96540),a=n(56347),o=n(30955);function i(e){const t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},95697:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(44586);function a(){return(0,r.A)().siteConfig.themeConfig}},89532:(e,t,n)=>{"use strict";n.d(t,{dV:()=>r});n(96540),n(205),n(74848);class r extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}},89466:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>l});n(96540);var r=n(24180);const a=r.N;function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function i(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,s||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),s=!0),null}var t}let s=!1;const c={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function l(e,t){const n=`${e}${r.M}`;if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(n);const a=i(t?.persistence);return null===a?c:{get:()=>{try{return a.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=a.getItem(n);a.setItem(n,e),o({key:n,oldValue:t,newValue:e,storage:a})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=a.getItem(n);a.removeItem(n),o({key:n,oldValue:e,newValue:null,storage:a})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===a&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}},12983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),s="/"===i||i===r?i:(c=i,l=n,l?a(c):o(c));var c,l;return e.replace(i,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;const r=n(42566);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},80253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){if(t.cause)return[t,...e(t.cause)];return[t]}},70440:(e,t,n)=>{"use strict";t.rA=t.Ks=void 0;const r=n(31635);var a=n(12983);Object.defineProperty(t,"Ks",{enumerable:!0,get:function(){return r.__importDefault(a).default}});var o=n(42566);var i=n(80253);Object.defineProperty(t,"rA",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},42566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){if(""===t)return e;return e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},2849:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(96540);var r=n(20053);const a={loadingRing:"loadingRing_RJI3","loading-ring":"loading-ring_FB5o"};var o=n(74848);function i(e){let{className:t}=e;return(0,o.jsxs)("div",{className:(0,r.A)(a.loadingRing,t),children:[(0,o.jsx)("div",{}),(0,o.jsx)("div",{}),(0,o.jsx)("div",{}),(0,o.jsx)("div",{})]})}},5891:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(58291),a=n.n(r),o=n(11088);const i=new Map;function s(e,t){const n=`${e}${t}`;let r=i.get(n);return r||(r=async function(e,t){{const n=`${e}${o.IH.replace("{dir}",t?`-${t.replace(/\//g,"-")}`:"")}`;if(new URL(n,location.origin).origin!==location.origin)throw new Error("Unexpected version url");const r=await(await fetch(n)).json(),i=r.map(((e,t)=>{let{documents:n,index:r}=e;return{type:t,documents:n,index:a().Index.load(r)}})),s=r.reduce(((e,t)=>{for(const n of t.index.invertedIndex)/\p{Unified_Ideograph}/u.test(n[0][0])&&e.add(n[0]);return e}),new Set);return{wrappedIndexes:i,zhDictionary:Array.from(s)}}return{wrappedIndexes:[],zhDictionary:[]}}(e,t),i.set(n,r)),r}},32384:(e,t,n)=>{"use strict";n.d(t,{m:()=>c});var r=n(58291),a=n.n(r);var o=n(11088);function i(e){return s(e).concat(s(e.filter((e=>{const t=e[e.length-1];return!t.trailing&&t.maybeTyping})),!0))}function s(e,t){return e.map((e=>({tokens:e.map((e=>e.value)),term:e.map((e=>({value:e.value,presence:a().Query.presence.REQUIRED,wildcard:(t?e.trailing||e.maybeTyping:e.trailing)?a().Query.wildcard.TRAILING:a().Query.wildcard.NONE})))})))}function c(e,t,n){return function(r,s){const c=function(e,t){if(1===t.length&&["ja","jp","th"].includes(t[0]))return a()[t[0]].tokenizer(e).map((e=>e.toString()));let n=/[^-\s]+/g;return t.includes("zh")&&(n=/\w+|\p{Unified_Ideograph}+/gu),e.toLowerCase().match(n)||[]}(r,o.BH);if(0===c.length)return void s([]);const l=function(e,t){const n=function(e,t){const n=[];return function e(r,a){if(0===r.length)return void n.push(a);const o=r[0];if(/\p{Unified_Ideograph}/u.test(o)){const n=function(e,t){const n=[];return function e(r,a){let o=0,i=!1;for(const s of t)if(r.substr(0,s.length)===s){const t={missed:a.missed,term:a.term.concat({value:s})};r.length>s.length?e(r.substr(s.length),t):n.push(t),i=!0}else for(let t=s.length-1;t>o;t-=1){const c=s.substr(0,t);if(r.substr(0,t)===c){o=t;const s={missed:a.missed,term:a.term.concat({value:c,trailing:!0})};r.length>t?e(r.substr(t),s):n.push(s),i=!0;break}}i||(r.length>0?e(r.substr(1),{missed:a.missed+1,term:a.term}):a.term.length>0&&n.push(a))}(e,{missed:0,term:[]}),n.sort(((e,t)=>{const n=e.missed>0?1:0,r=t.missed>0?1:0;return n!==r?n-r:e.term.length-t.term.length})).map((e=>e.term))}(o,t);for(const t of n){const n=a.concat(...t);e(r.slice(1),n)}}else{const t=a.concat({value:o});e(r.slice(1),t)}}(e,[]),n}(e,t);if(0===n.length)return[{tokens:e,term:e.map((e=>({value:e,presence:a().Query.presence.REQUIRED,wildcard:a().Query.wildcard.LEADING|a().Query.wildcard.TRAILING})))}];for(const a of n)a[a.length-1].maybeTyping=!0;const r=[];for(const i of o.BH)if("en"===i)o.sx||r.unshift(a().stopWordFilter);else{const e=a()[i];e.stopWordFilter&&r.unshift(e.stopWordFilter)}let s;if(r.length>0){const e=e=>r.reduce(((e,t)=>e.filter((e=>t(e.value)))),e);s=[];const t=[];for(const r of n){const n=e(r);s.push(n),n.length<r.length&&n.length>0&&t.push(n)}n.push(...t)}else s=n.slice();const c=[];for(const a of s)if(a.length>2)for(let e=a.length-1;e>=0;e-=1)c.push(a.slice(0,e).concat(a.slice(e+1)));return i(n).concat(i(c))}(c,t),u=[];e:for(const{term:t,tokens:a}of l)for(const{documents:r,index:o,type:i}of e)if(u.push(...o.query((e=>{for(const n of t)e.term(n.value,{wildcard:n.wildcard,presence:n.presence})})).slice(0,n).filter((e=>!u.some((t=>t.document.i.toString()===e.ref)))).slice(0,n-u.length).map((t=>{const n=r.find((e=>e.i.toString()===t.ref));return{document:n,type:i,page:0!==i&&e[0].documents.find((e=>e.i===n.p)),metadata:t.matchData.metadata,tokens:a,score:t.score}}))),u.length>=n)break e;!function(e){e.forEach(((e,t)=>{e.index=t})),e.sort(((t,n)=>{let r=t.type>0&&t.page?e.findIndex((e=>e.document===t.page)):t.index,a=n.type>0&&n.page?e.findIndex((e=>e.document===n.page)):n.index;return-1===r&&(r=t.index),-1===a&&(a=n.index),r===a?0===t.type?-1:0===n.type?1:t.index-n.index:r-a}))}(u),function(e){e.forEach(((t,n)=>{n>0&&t.page&&e.some((e=>e.document===t.page))&&(n<e.length-1&&e[n+1].page===t.page?t.isInterOfTree=!0:t.isLastOfTree=!0)}))}(u),s(u)}}},4471:(e,t,n)=>{"use strict";function r(e){return e.join(" \u203a ")}n.d(t,{$:()=>r})},53103:(e,t,n)=>{"use strict";function r(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}n.d(t,{Z:()=>r})},27674:(e,t,n)=>{"use strict";function r(e,t){const n=[];for(const r of Object.values(e))r[t]&&n.push(...r[t].position);return n.sort(((e,t)=>e[0]-t[0]||t[1]-e[1]))}n.d(t,{g:()=>r})},86841:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(53103);function a(e,t,n){const o=[];for(const i of t){const n=e.toLowerCase().indexOf(i);if(n>=0){n>0&&o.push(a(e.substr(0,n),t)),o.push(`<mark>${(0,r.Z)(e.substr(n,i.length))}</mark>`);const s=n+i.length;s<e.length&&o.push(a(e.substr(s),t));break}}return 0===o.length?n?`<mark>${(0,r.Z)(e)}</mark>`:(0,r.Z)(e):o.join("")}},43810:(e,t,n)=>{"use strict";n.d(t,{C:()=>c});var r=n(53103),a=n(86841);const o=/\w+|\p{Unified_Ideograph}/u;function i(e){const t=[];let n=0,r=e;for(;r.length>0;){const a=r.match(o);if(!a){t.push(r);break}a.index>0&&t.push(r.substring(0,a.index)),t.push(a[0]),n+=a.index+a[0].length,r=e.substring(n)}return t}var s=n(11088);function c(e,t,n,o){void 0===o&&(o=s.rG);const{chunkIndex:c,chunks:l}=function(e,t,n){const o=[];let s=0,c=0,l=-1;for(;s<t.length;){const[u,d]=t[s];if(s+=1,!(u<c)){if(u>c){const t=i(e.substring(c,u)).map((e=>({html:(0,r.Z)(e),textLength:e.length})));for(const e of t)o.push(e)}-1===l&&(l=o.length),c=u+d,o.push({html:(0,a.Z)(e.substring(u,c),n,!0),textLength:d})}}if(c<e.length){const t=i(e.substring(c)).map((e=>({html:(0,r.Z)(e),textLength:e.length})));for(const e of t)o.push(e)}return{chunkIndex:l,chunks:o}}(e,t,n),u=l.slice(0,c),d=l[c],p=[d.html],f=l.slice(c+1);let m=d.textLength,h=0,g=0,y=!1,b=!1;for(;m<o;)if((h<=g||0===f.length)&&u.length>0){const e=u.pop();m+e.textLength<=o?(p.unshift(e.html),h+=e.textLength,m+=e.textLength):(y=!0,u.length=0)}else{if(!(f.length>0))break;{const e=f.shift();m+e.textLength<=o?(p.push(e.html),g+=e.textLength,m+=e.textLength):(b=!0,f.length=0)}}return(y||u.length>0)&&p.unshift("\u2026"),(b||f.length>0)&&p.push("\u2026"),p.join("")}},11088:(e,t,n)=>{"use strict";n.d(t,{CU:()=>i(),UB:()=>g,tb:()=>p,O6:()=>v,I$:()=>y,BH:()=>s,sx:()=>c,ZG:()=>h,WW:()=>f,pk:()=>m,Hg:()=>b,IH:()=>l,rG:()=>d,AT:()=>u,dz:()=>k});var r=n(58291),a=n.n(r),o=n(689),i=n.n(o);n(86121)(a()),n(3397).A(a()),n(66106)(a());const s=["en","zh"],c=!1,l="search-index{dir}.json?_=d533c022",u=8,d=50,p=!0,f=!0,m=!0,h="right",g=void 0,y=!0,b=null,v=!1,k=!1},3397:(e,t,n)=>{"use strict";function r(e){const t=new RegExp("^[^"+e+"]+","u"),n=new RegExp("[^"+e+"]+$","u");return function(e){return e.update((function(e){return e.replace(t,"").replace(n,"")}))}}function a(e,t){e.trimmerSupport.generateTrimmer=r,e.zh=function(){this.pipeline.reset(),this.pipeline.add(e.zh.trimmer,e.zh.stopWordFilter),t&&(this.tokenizer=t)},t&&(e.zh.tokenizer=t),e.zh.wordCharacters="\\u3400-\\u4DBF\\u4E00-\\u9FFC\\uFA0E\\uFA0F\\uFA11\\uFA13\\uFA14\\uFA1F\\uFA21\\uFA23\\uFA24\\uFA27-\\uFA29\\u{20000}-\\u{2A6DD}\\u{2A700}-\\u{2B734}\\u{2B740}-\\u{2B81D}\\u{2B820}-\\u{2CEA1}\\u{2CEB0}-\\u{2EBE0}\\u{30000}-\\u{3134A}",e.zh.trimmer=e.trimmerSupport.generateTrimmer(e.zh.wordCharacters),e.Pipeline.registerFunction(e.zh.trimmer,"trimmer-zh"),e.zh.stopWordFilter=e.generateStopWordFilter("\u7684 \u4e00 \u4e0d \u5728 \u4eba \u6709 \u662f \u4e3a \u4ee5 \u4e8e \u4e0a \u4ed6 \u800c \u540e \u4e4b \u6765 \u53ca \u4e86 \u56e0 \u4e0b \u53ef \u5230 \u7531 \u8fd9 \u4e0e \u4e5f \u6b64 \u4f46 \u5e76 \u4e2a \u5176 \u5df2 \u65e0 \u5c0f \u6211 \u4eec \u8d77 \u6700 \u518d \u4eca \u53bb \u597d \u53ea \u53c8 \u6216 \u5f88 \u4ea6 \u67d0 \u628a \u90a3 \u4f60 \u4e43 \u5b83 \u5427 \u88ab \u6bd4 \u522b \u8d81 \u5f53 \u4ece \u5230 \u5f97 \u6253 \u51e1 \u513f \u5c14 \u8be5 \u5404 \u7ed9 \u8ddf \u548c \u4f55 \u8fd8 \u5373 \u51e0 \u65e2 \u770b \u636e \u8ddd \u9760 \u5566 \u4e86 \u53e6 \u4e48 \u6bcf \u4eec \u561b \u62ff \u54ea \u90a3 \u60a8 \u51ed \u4e14 \u5374 \u8ba9 \u4ecd \u5565 \u5982 \u82e5 \u4f7f \u8c01 \u867d \u968f \u540c \u6240 \u5979 \u54c7 \u55e1 \u5f80 \u54ea \u4e9b \u5411 \u6cbf \u54df \u7528 \u4e8e \u54b1 \u5219 \u600e \u66fe \u81f3 \u81f4 \u7740 \u8bf8 \u81ea".split(" ")),e.Pipeline.registerFunction(e.zh.stopWordFilter,"stopWordFilter-zh")}n.d(t,{A:()=>a})},23390:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});r(n(38193)).default.canUseDOM&&(window.Prism=window.Prism||{},window.Prism.manual=!0)},20053:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}n.d(t,{A:()=>a});const a=function(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},31513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>k,TM:()=>A,yJ:()=>f,sC:()=>C,AO:()=>p});var r=n(58168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],s=e&&a(e),c=t&&a(t),l=s||c;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,p=i.length;p>=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!l)for(;d--;d)i.unshift("..");!l||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var s=n(11561);function c(e){return"/"===e.charAt(0)?e:"/"+e}function l(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function f(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function k(e){void 0===e&&(e={}),h||(0,s.A)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,l=i.forceRefresh,k=void 0!==l&&l,w=i.getUserConfirmation,S=void 0===w?g:w,x=i.keyLength,_=void 0===x?6:x,E=e.basename?d(c(e.basename)):"";function A(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return E&&(o=u(o,E)),f(o,r,n)}function j(){return Math.random().toString(36).substr(2,_)}var C=m();function T(e){(0,r.A)(B,e),B.length=n.length,C.notifyListeners(B.location,B.action)}function P(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||O(A(e.state))}function I(){O(A(v()))}var N=!1;function O(e){if(N)N=!1,T();else{C.confirmTransitionTo(e,"POP",S,(function(t){t?T({action:"POP",location:e}):function(e){var t=B.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(N=!0,D(a))}(e)}))}}var $=A(v()),L=[$.key];function R(e){return E+p(e)}function D(e){n.go(e)}var F=0;function M(e){1===(F+=e)&&1===e?(window.addEventListener(y,P),o&&window.addEventListener(b,I)):0===F&&(window.removeEventListener(y,P),o&&window.removeEventListener(b,I))}var z=!1;var B={length:n.length,action:"POP",location:$,createHref:R,push:function(e,t){var r="PUSH",o=f(e,t,j(),B.location);C.confirmTransitionTo(o,r,S,(function(e){if(e){var t=R(o),i=o.key,s=o.state;if(a)if(n.pushState({key:i,state:s},null,t),k)window.location.href=t;else{var c=L.indexOf(B.location.key),l=L.slice(0,c+1);l.push(o.key),L=l,T({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,j(),B.location);C.confirmTransitionTo(o,r,S,(function(e){if(e){var t=R(o),i=o.key,s=o.state;if(a)if(n.replaceState({key:i,state:s},null,t),k)window.location.replace(t);else{var c=L.indexOf(B.location.key);-1!==c&&(L[c]=o.key),T({action:r,location:o})}else window.location.replace(t)}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return z||(M(1),z=!0),function(){return z&&(z=!1,M(-1)),t()}},listen:function(e){var t=C.appendListener(e);return M(1),function(){M(-1),t()}}};return B}var w="hashchange",S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+l(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:l,decodePath:c},slash:{encodePath:c,decodePath:c}};function x(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function _(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function E(e){window.location.replace(x(window.location.href)+"#"+e)}function A(e){void 0===e&&(e={}),h||(0,s.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,l=void 0===i?"slash":i,y=e.basename?d(c(e.basename)):"",b=S[l],v=b.encodePath,k=b.decodePath;function A(){var e=k(_());return y&&(e=u(e,y)),f(e)}var j=m();function C(e){(0,r.A)(z,e),z.length=t.length,j.notifyListeners(z.location,z.action)}var T=!1,P=null;function I(){var e,t,n=_(),r=v(n);if(n!==r)E(r);else{var a=A(),i=z.location;if(!T&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(P===p(a))return;P=null,function(e){if(T)T=!1,C();else{var t="POP";j.confirmTransitionTo(e,t,o,(function(n){n?C({action:t,location:e}):function(e){var t=z.location,n=L.lastIndexOf(p(t));-1===n&&(n=0);var r=L.lastIndexOf(p(e));-1===r&&(r=0);var a=n-r;a&&(T=!0,R(a))}(e)}))}}(a)}}var N=_(),O=v(N);N!==O&&E(O);var $=A(),L=[p($)];function R(e){t.go(e)}var D=0;function F(e){1===(D+=e)&&1===e?window.addEventListener(w,I):0===D&&window.removeEventListener(w,I)}var M=!1;var z={length:t.length,action:"POP",location:$,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=x(window.location.href)),n+"#"+v(y+p(e))},push:function(e,t){var n="PUSH",r=f(e,void 0,void 0,z.location);j.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(y+t);if(_()!==a){P=t,function(e){window.location.hash=e}(a);var o=L.lastIndexOf(p(z.location)),i=L.slice(0,o+1);i.push(t),L=i,C({action:n,location:r})}else C()}}))},replace:function(e,t){var n="REPLACE",r=f(e,void 0,void 0,z.location);j.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(y+t);_()!==a&&(P=t,E(a));var o=L.indexOf(p(z.location));-1!==o&&(L[o]=t),C({action:n,location:r})}}))},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=j.setPrompt(e);return M||(F(1),M=!0),function(){return M&&(M=!1,F(-1)),t()}},listen:function(e){var t=j.appendListener(e);return F(1),function(){F(-1),t()}}};return z}function j(e,t,n){return Math.min(Math.max(e,t),n)}function C(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,s=void 0===i?0:i,c=t.keyLength,l=void 0===c?6:c,u=m();function d(e){(0,r.A)(k,e),k.length=k.entries.length,u.notifyListeners(k.location,k.action)}function h(){return Math.random().toString(36).substr(2,l)}var g=j(s,0,o.length-1),y=o.map((function(e){return f(e,void 0,"string"==typeof e?h():e.key||h())})),b=p;function v(e){var t=j(k.index+e,0,k.entries.length-1),r=k.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var k={length:y.length,action:"POP",location:y[g],index:g,entries:y,createHref:b,push:function(e,t){var r="PUSH",a=f(e,t,h(),k.location);u.confirmTransitionTo(a,r,n,(function(e){if(e){var t=k.index+1,n=k.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,h(),k.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(k.entries[k.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=k.index+e;return t>=0&&t<k.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return k}},4146:(e,t,n)=>{"use strict";var r=n(44363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=f(n);a&&a!==m&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=c(t),h=c(n),g=0;g<i.length;++g){var y=i[g];if(!(o[y]||r&&r[y]||h&&h[y]||s&&s[y])){var b=p(n,y);try{l(t,y,b)}catch(v){}}}}return t}},20311:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},64634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},66106:function(e,t,n){var r,a;r=function(){return function(e){e.multiLanguage=function(){for(var t=Array.prototype.slice.call(arguments),n=t.join("-"),r="",a=[],o=[],i=0;i<t.length;++i)"en"==t[i]?(r+="\\w",a.unshift(e.stopWordFilter),a.push(e.stemmer),o.push(e.stemmer)):(r+=e[t[i]].wordCharacters,e[t[i]].stopWordFilter&&a.unshift(e[t[i]].stopWordFilter),e[t[i]].stemmer&&(a.push(e[t[i]].stemmer),o.push(e[t[i]].stemmer)));var s=e.trimmerSupport.generateTrimmer(r);return e.Pipeline.registerFunction(s,"lunr-multi-trimmer-"+n),a.unshift(s),function(){this.pipeline.reset(),this.pipeline.add.apply(this.pipeline,a),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add.apply(this.searchPipeline,o))}}}},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},86121:function(e,t,n){var r,a;void 0===(a="function"==typeof(r=function(){return function(e){e.stemmerSupport={Among:function(e,t,n,r){if(this.toCharArray=function(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},!e&&""!=e||!t&&0!=t||!n)throw"Bad Among initialisation: s:"+e+", substring_i: "+t+", result: "+n;this.s_size=e.length,this.s=this.toCharArray(e),this.substring_i=t,this.result=n,this.method=r},SnowballProgram:function(){var e;return{bra:0,ket:0,limit:0,cursor:0,limit_backward:0,setCurrent:function(t){e=t,this.cursor=0,this.limit=t.length,this.limit_backward=0,this.bra=this.cursor,this.ket=this.limit},getCurrent:function(){var t=e;return e=null,t},in_grouping:function(t,n,r){if(this.cursor<this.limit){var a=e.charCodeAt(this.cursor);if(a<=r&&a>=n&&t[(a-=n)>>3]&1<<(7&a))return this.cursor++,!0}return!1},in_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var a=e.charCodeAt(this.cursor-1);if(a<=r&&a>=n&&t[(a-=n)>>3]&1<<(7&a))return this.cursor--,!0}return!1},out_grouping:function(t,n,r){if(this.cursor<this.limit){var a=e.charCodeAt(this.cursor);if(a>r||a<n)return this.cursor++,!0;if(!(t[(a-=n)>>3]&1<<(7&a)))return this.cursor++,!0}return!1},out_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var a=e.charCodeAt(this.cursor-1);if(a>r||a<n)return this.cursor--,!0;if(!(t[(a-=n)>>3]&1<<(7&a)))return this.cursor--,!0}return!1},eq_s:function(t,n){if(this.limit-this.cursor<t)return!1;for(var r=0;r<t;r++)if(e.charCodeAt(this.cursor+r)!=n.charCodeAt(r))return!1;return this.cursor+=t,!0},eq_s_b:function(t,n){if(this.cursor-this.limit_backward<t)return!1;for(var r=0;r<t;r++)if(e.charCodeAt(this.cursor-t+r)!=n.charCodeAt(r))return!1;return this.cursor-=t,!0},find_among:function(t,n){for(var r=0,a=n,o=this.cursor,i=this.limit,s=0,c=0,l=!1;;){for(var u=r+(a-r>>1),d=0,p=s<c?s:c,f=t[u],m=p;m<f.s_size;m++){if(o+p==i){d=-1;break}if(d=e.charCodeAt(o+p)-f.s[m])break;p++}if(d<0?(a=u,c=p):(r=u,s=p),a-r<=1){if(r>0||a==r||l)break;l=!0}}for(;;){if(s>=(f=t[r]).s_size){if(this.cursor=o+f.s_size,!f.method)return f.result;var h=f.method();if(this.cursor=o+f.s_size,h)return f.result}if((r=f.substring_i)<0)return 0}},find_among_b:function(t,n){for(var r=0,a=n,o=this.cursor,i=this.limit_backward,s=0,c=0,l=!1;;){for(var u=r+(a-r>>1),d=0,p=s<c?s:c,f=(m=t[u]).s_size-1-p;f>=0;f--){if(o-p==i){d=-1;break}if(d=e.charCodeAt(o-1-p)-m.s[f])break;p++}if(d<0?(a=u,c=p):(r=u,s=p),a-r<=1){if(r>0||a==r||l)break;l=!0}}for(;;){var m;if(s>=(m=t[r]).s_size){if(this.cursor=o-m.s_size,!m.method)return m.result;var h=m.method();if(this.cursor=o-m.s_size,h)return m.result}if((r=m.substring_i)<0)return 0}},replace_s:function(t,n,r){var a=r.length-(n-t),o=e.substring(0,t),i=e.substring(n);return e=o+r+i,this.limit+=a,this.cursor>=n?this.cursor+=a:this.cursor>t&&(this.cursor=t),a},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>e.length)throw"faulty slice operation"},slice_from:function(e){this.slice_check(),this.replace_s(this.bra,this.ket,e)},slice_del:function(){this.slice_from("")},insert:function(e,t,n){var r=this.replace_s(e,t,n);e<=this.bra&&(this.bra+=r),e<=this.ket&&(this.ket+=r)},slice_to:function(){return this.slice_check(),e.substring(this.bra,this.ket)},eq_v_b:function(e){return this.eq_s_b(e.length,e)}}}},e.trimmerSupport={generateTrimmer:function(e){var t=new RegExp("^[^"+e+"]+"),n=new RegExp("[^"+e+"]+$");return function(e){return"function"==typeof e.update?e.update((function(e){return e.replace(t,"").replace(n,"")})):e.replace(t,"").replace(n,"")}}}}})?r.call(t,n,t,e):r)||(e.exports=a)},58291:(e,t,n)=>{var r,a;!function(){var o,i,s,c,l,u,d,p,f,m,h,g,y,b,v,k,w,S,x,_,E,A,j,C,T,P,I,N,O,$,L=function(e){var t=new L.Builder;return t.pipeline.add(L.trimmer,L.stopWordFilter,L.stemmer),t.searchPipeline.add(L.stemmer),e.call(t,t),t.build()};L.version="2.3.9",L.utils={},L.utils.warn=(o=this,function(e){o.console&&console.warn&&console.warn(e)}),L.utils.asString=function(e){return null==e?"":e.toString()},L.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r<n.length;r++){var a=n[r],o=e[a];if(Array.isArray(o))t[a]=o.slice();else{if("string"!=typeof o&&"number"!=typeof o&&"boolean"!=typeof o)throw new TypeError("clone is not deep and does not support nested objects");t[a]=o}}return t},L.FieldRef=function(e,t,n){this.docRef=e,this.fieldName=t,this._stringValue=n},L.FieldRef.joiner="/",L.FieldRef.fromString=function(e){var t=e.indexOf(L.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var n=e.slice(0,t),r=e.slice(t+1);return new L.FieldRef(r,n,e)},L.FieldRef.prototype.toString=function(){return null==this._stringValue&&(this._stringValue=this.fieldName+L.FieldRef.joiner+this.docRef),this._stringValue},L.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},L.Set.complete={intersect:function(e){return e},union:function(){return this},contains:function(){return!0}},L.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},L.Set.prototype.contains=function(e){return!!this.elements[e]},L.Set.prototype.intersect=function(e){var t,n,r,a=[];if(e===L.Set.complete)return this;if(e===L.Set.empty)return e;this.length<e.length?(t=this,n=e):(t=e,n=this),r=Object.keys(t.elements);for(var o=0;o<r.length;o++){var i=r[o];i in n.elements&&a.push(i)}return new L.Set(a)},L.Set.prototype.union=function(e){return e===L.Set.complete?L.Set.complete:e===L.Set.empty?this:new L.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},L.idf=function(e,t){var n=0;for(var r in e)"_index"!=r&&(n+=Object.keys(e[r]).length);var a=(t-n+.5)/(n+.5);return Math.log(1+Math.abs(a))},L.Token=function(e,t){this.str=e||"",this.metadata=t||{}},L.Token.prototype.toString=function(){return this.str},L.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},L.Token.prototype.clone=function(e){return e=e||function(e){return e},new L.Token(e(this.str,this.metadata),this.metadata)},L.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map((function(e){return new L.Token(L.utils.asString(e).toLowerCase(),L.utils.clone(t))}));for(var n=e.toString().toLowerCase(),r=n.length,a=[],o=0,i=0;o<=r;o++){var s=o-i;if(n.charAt(o).match(L.tokenizer.separator)||o==r){if(s>0){var c=L.utils.clone(t)||{};c.position=[i,s],c.index=a.length,a.push(new L.Token(n.slice(i,o),c))}i=o+1}}return a},L.tokenizer.separator=/[\s\-]+/,L.Pipeline=function(){this._stack=[]},L.Pipeline.registeredFunctions=Object.create(null),L.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&L.utils.warn("Overwriting existing registered function: "+t),e.label=t,L.Pipeline.registeredFunctions[e.label]=e},L.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||L.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},L.Pipeline.load=function(e){var t=new L.Pipeline;return e.forEach((function(e){var n=L.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},L.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach((function(e){L.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},L.Pipeline.prototype.after=function(e,t){L.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},L.Pipeline.prototype.before=function(e,t){L.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},L.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},L.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n<t;n++){for(var r=this._stack[n],a=[],o=0;o<e.length;o++){var i=r(e[o],o,e);if(null!=i&&""!==i)if(Array.isArray(i))for(var s=0;s<i.length;s++)a.push(i[s]);else a.push(i)}e=a}return e},L.Pipeline.prototype.runString=function(e,t){var n=new L.Token(e,t);return this.run([n]).map((function(e){return e.toString()}))},L.Pipeline.prototype.reset=function(){this._stack=[]},L.Pipeline.prototype.toJSON=function(){return this._stack.map((function(e){return L.Pipeline.warnIfFunctionNotRegistered(e),e.label}))},L.Vector=function(e){this._magnitude=0,this.elements=e||[]},L.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,n=this.elements.length/2,r=n-t,a=Math.floor(r/2),o=this.elements[2*a];r>1&&(o<e&&(t=a),o>e&&(n=a),o!=e);)r=n-t,a=t+Math.floor(r/2),o=this.elements[2*a];return o==e||o>e?2*a:o<e?2*(a+1):void 0},L.Vector.prototype.insert=function(e,t){this.upsert(e,t,(function(){throw"duplicate index"}))},L.Vector.prototype.upsert=function(e,t,n){this._magnitude=0;var r=this.positionForIndex(e);this.elements[r]==e?this.elements[r+1]=n(this.elements[r+1],t):this.elements.splice(r,0,e,t)},L.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,n=1;n<t;n+=2){var r=this.elements[n];e+=r*r}return this._magnitude=Math.sqrt(e)},L.Vector.prototype.dot=function(e){for(var t=0,n=this.elements,r=e.elements,a=n.length,o=r.length,i=0,s=0,c=0,l=0;c<a&&l<o;)(i=n[c])<(s=r[l])?c+=2:i>s?l+=2:i==s&&(t+=n[c+1]*r[l+1],c+=2,l+=2);return t},L.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},L.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t<this.elements.length;t+=2,n++)e[n]=this.elements[t];return e},L.Vector.prototype.toJSON=function(){return this.elements},L.stemmer=(i={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},s={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},d="^("+(l="[^aeiou][^aeiouy]*")+")?"+(u=(c="[aeiouy]")+"[aeiou]*")+l+"("+u+")?$",p="^("+l+")?"+u+l+u+l,f="^("+l+")?"+c,m=new RegExp("^("+l+")?"+u+l),h=new RegExp(p),g=new RegExp(d),y=new RegExp(f),b=/^(.+?)(ss|i)es$/,v=/^(.+?)([^s])s$/,k=/^(.+?)eed$/,w=/^(.+?)(ed|ing)$/,S=/.$/,x=/(at|bl|iz)$/,_=new RegExp("([^aeiouylsz])\\1$"),E=new RegExp("^"+l+c+"[^aeiouwxy]$"),A=/^(.+?[^aeiou])y$/,j=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,C=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,T=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,P=/^(.+?)(s|t)(ion)$/,I=/^(.+?)e$/,N=/ll$/,O=new RegExp("^"+l+c+"[^aeiouwxy]$"),$=function(e){var t,n,r,a,o,c,l;if(e.length<3)return e;if("y"==(r=e.substr(0,1))&&(e=r.toUpperCase()+e.substr(1)),o=v,(a=b).test(e)?e=e.replace(a,"$1$2"):o.test(e)&&(e=e.replace(o,"$1$2")),o=w,(a=k).test(e)){var u=a.exec(e);(a=m).test(u[1])&&(a=S,e=e.replace(a,""))}else o.test(e)&&(t=(u=o.exec(e))[1],(o=y).test(t)&&(c=_,l=E,(o=x).test(e=t)?e+="e":c.test(e)?(a=S,e=e.replace(a,"")):l.test(e)&&(e+="e")));return(a=A).test(e)&&(e=(t=(u=a.exec(e))[1])+"i"),(a=j).test(e)&&(t=(u=a.exec(e))[1],n=u[2],(a=m).test(t)&&(e=t+i[n])),(a=C).test(e)&&(t=(u=a.exec(e))[1],n=u[2],(a=m).test(t)&&(e=t+s[n])),o=P,(a=T).test(e)?(t=(u=a.exec(e))[1],(a=h).test(t)&&(e=t)):o.test(e)&&(t=(u=o.exec(e))[1]+u[2],(o=h).test(t)&&(e=t)),(a=I).test(e)&&(t=(u=a.exec(e))[1],o=g,c=O,((a=h).test(t)||o.test(t)&&!c.test(t))&&(e=t)),o=h,(a=N).test(e)&&o.test(e)&&(a=S,e=e.replace(a,"")),"y"==r&&(e=r.toLowerCase()+e.substr(1)),e},function(e){return e.update($)}),L.Pipeline.registerFunction(L.stemmer,"stemmer"),L.generateStopWordFilter=function(e){var t=e.reduce((function(e,t){return e[t]=t,e}),{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},L.stopWordFilter=L.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),L.Pipeline.registerFunction(L.stopWordFilter,"stopWordFilter"),L.trimmer=function(e){return e.update((function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")}))},L.Pipeline.registerFunction(L.trimmer,"trimmer"),L.TokenSet=function(){this.final=!1,this.edges={},this.id=L.TokenSet._nextId,L.TokenSet._nextId+=1},L.TokenSet._nextId=1,L.TokenSet.fromArray=function(e){for(var t=new L.TokenSet.Builder,n=0,r=e.length;n<r;n++)t.insert(e[n]);return t.finish(),t.root},L.TokenSet.fromClause=function(e){return"editDistance"in e?L.TokenSet.fromFuzzyString(e.term,e.editDistance):L.TokenSet.fromString(e.term)},L.TokenSet.fromFuzzyString=function(e,t){for(var n=new L.TokenSet,r=[{node:n,editsRemaining:t,str:e}];r.length;){var a=r.pop();if(a.str.length>0){var o,i=a.str.charAt(0);i in a.node.edges?o=a.node.edges[i]:(o=new L.TokenSet,a.node.edges[i]=o),1==a.str.length&&(o.final=!0),r.push({node:o,editsRemaining:a.editsRemaining,str:a.str.slice(1)})}if(0!=a.editsRemaining){if("*"in a.node.edges)var s=a.node.edges["*"];else{s=new L.TokenSet;a.node.edges["*"]=s}if(0==a.str.length&&(s.final=!0),r.push({node:s,editsRemaining:a.editsRemaining-1,str:a.str}),a.str.length>1&&r.push({node:a.node,editsRemaining:a.editsRemaining-1,str:a.str.slice(1)}),1==a.str.length&&(a.node.final=!0),a.str.length>=1){if("*"in a.node.edges)var c=a.node.edges["*"];else{c=new L.TokenSet;a.node.edges["*"]=c}1==a.str.length&&(c.final=!0),r.push({node:c,editsRemaining:a.editsRemaining-1,str:a.str.slice(1)})}if(a.str.length>1){var l,u=a.str.charAt(0),d=a.str.charAt(1);d in a.node.edges?l=a.node.edges[d]:(l=new L.TokenSet,a.node.edges[d]=l),1==a.str.length&&(l.final=!0),r.push({node:l,editsRemaining:a.editsRemaining-1,str:u+a.str.slice(2)})}}}return n},L.TokenSet.fromString=function(e){for(var t=new L.TokenSet,n=t,r=0,a=e.length;r<a;r++){var o=e[r],i=r==a-1;if("*"==o)t.edges[o]=t,t.final=i;else{var s=new L.TokenSet;s.final=i,t.edges[o]=s,t=s}}return n},L.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var n=t.pop(),r=Object.keys(n.node.edges),a=r.length;n.node.final&&(n.prefix.charAt(0),e.push(n.prefix));for(var o=0;o<a;o++){var i=r[o];t.push({prefix:n.prefix.concat(i),node:n.node.edges[i]})}}return e},L.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),n=t.length,r=0;r<n;r++){var a=t[r];e=e+a+this.edges[a].id}return e},L.TokenSet.prototype.intersect=function(e){for(var t=new L.TokenSet,n=void 0,r=[{qNode:e,output:t,node:this}];r.length;){n=r.pop();for(var a=Object.keys(n.qNode.edges),o=a.length,i=Object.keys(n.node.edges),s=i.length,c=0;c<o;c++)for(var l=a[c],u=0;u<s;u++){var d=i[u];if(d==l||"*"==l){var p=n.node.edges[d],f=n.qNode.edges[l],m=p.final&&f.final,h=void 0;d in n.output.edges?(h=n.output.edges[d]).final=h.final||m:((h=new L.TokenSet).final=m,n.output.edges[d]=h),r.push({qNode:f,output:h,node:p})}}}return t},L.TokenSet.Builder=function(){this.previousWord="",this.root=new L.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},L.TokenSet.Builder.prototype.insert=function(e){var t,n=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var r=0;r<e.length&&r<this.previousWord.length&&e[r]==this.previousWord[r];r++)n++;this.minimize(n),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(r=n;r<e.length;r++){var a=new L.TokenSet,o=e[r];t.edges[o]=a,this.uncheckedNodes.push({parent:t,char:o,child:a}),t=a}t.final=!0,this.previousWord=e},L.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},L.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},L.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},L.Index.prototype.search=function(e){return this.query((function(t){new L.QueryParser(e,t).parse()}))},L.Index.prototype.query=function(e){for(var t=new L.Query(this.fields),n=Object.create(null),r=Object.create(null),a=Object.create(null),o=Object.create(null),i=Object.create(null),s=0;s<this.fields.length;s++)r[this.fields[s]]=new L.Vector;e.call(t,t);for(s=0;s<t.clauses.length;s++){var c=t.clauses[s],l=null,u=L.Set.empty;l=c.usePipeline?this.pipeline.runString(c.term,{fields:c.fields}):[c.term];for(var d=0;d<l.length;d++){var p=l[d];c.term=p;var f=L.TokenSet.fromClause(c),m=this.tokenSet.intersect(f).toArray();if(0===m.length&&c.presence===L.Query.presence.REQUIRED){for(var h=0;h<c.fields.length;h++){o[I=c.fields[h]]=L.Set.empty}break}for(var g=0;g<m.length;g++){var y=m[g],b=this.invertedIndex[y],v=b._index;for(h=0;h<c.fields.length;h++){var k=b[I=c.fields[h]],w=Object.keys(k),S=y+"/"+I,x=new L.Set(w);if(c.presence==L.Query.presence.REQUIRED&&(u=u.union(x),void 0===o[I]&&(o[I]=L.Set.complete)),c.presence!=L.Query.presence.PROHIBITED){if(r[I].upsert(v,c.boost,(function(e,t){return e+t})),!a[S]){for(var _=0;_<w.length;_++){var E,A=w[_],j=new L.FieldRef(A,I),C=k[A];void 0===(E=n[j])?n[j]=new L.MatchData(y,I,C):E.add(y,I,C)}a[S]=!0}}else void 0===i[I]&&(i[I]=L.Set.empty),i[I]=i[I].union(x)}}}if(c.presence===L.Query.presence.REQUIRED)for(h=0;h<c.fields.length;h++){o[I=c.fields[h]]=o[I].intersect(u)}}var T=L.Set.complete,P=L.Set.empty;for(s=0;s<this.fields.length;s++){var I;o[I=this.fields[s]]&&(T=T.intersect(o[I])),i[I]&&(P=P.union(i[I]))}var N=Object.keys(n),O=[],$=Object.create(null);if(t.isNegated()){N=Object.keys(this.fieldVectors);for(s=0;s<N.length;s++){j=N[s];var R=L.FieldRef.fromString(j);n[j]=new L.MatchData}}for(s=0;s<N.length;s++){var D=(R=L.FieldRef.fromString(N[s])).docRef;if(T.contains(D)&&!P.contains(D)){var F,M=this.fieldVectors[R],z=r[R.fieldName].similarity(M);if(void 0!==(F=$[D]))F.score+=z,F.matchData.combine(n[R]);else{var B={ref:D,score:z,matchData:n[R]};$[D]=B,O.push(B)}}}return O.sort((function(e,t){return t.score-e.score}))},L.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map((function(e){return[e,this.invertedIndex[e]]}),this),t=Object.keys(this.fieldVectors).map((function(e){return[e,this.fieldVectors[e].toJSON()]}),this);return{version:L.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},L.Index.load=function(e){var t={},n={},r=e.fieldVectors,a=Object.create(null),o=e.invertedIndex,i=new L.TokenSet.Builder,s=L.Pipeline.load(e.pipeline);e.version!=L.version&&L.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+L.version+"' does not match serialized index '"+e.version+"'");for(var c=0;c<r.length;c++){var l=(d=r[c])[0],u=d[1];n[l]=new L.Vector(u)}for(c=0;c<o.length;c++){var d,p=(d=o[c])[0],f=d[1];i.insert(p),a[p]=f}return i.finish(),t.fields=e.fields,t.fieldVectors=n,t.invertedIndex=a,t.tokenSet=i.root,t.pipeline=s,new L.Index(t)},L.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=L.tokenizer,this.pipeline=new L.Pipeline,this.searchPipeline=new L.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},L.Builder.prototype.ref=function(e){this._ref=e},L.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},L.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},L.Builder.prototype.k1=function(e){this._k1=e},L.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var a=0;a<r.length;a++){var o=r[a],i=this._fields[o].extractor,s=i?i(e):e[o],c=this.tokenizer(s,{fields:[o]}),l=this.pipeline.run(c),u=new L.FieldRef(n,o),d=Object.create(null);this.fieldTermFrequencies[u]=d,this.fieldLengths[u]=0,this.fieldLengths[u]+=l.length;for(var p=0;p<l.length;p++){var f=l[p];if(null==d[f]&&(d[f]=0),d[f]+=1,null==this.invertedIndex[f]){var m=Object.create(null);m._index=this.termIndex,this.termIndex+=1;for(var h=0;h<r.length;h++)m[r[h]]=Object.create(null);this.invertedIndex[f]=m}null==this.invertedIndex[f][o][n]&&(this.invertedIndex[f][o][n]=Object.create(null));for(var g=0;g<this.metadataWhitelist.length;g++){var y=this.metadataWhitelist[g],b=f.metadata[y];null==this.invertedIndex[f][o][n][y]&&(this.invertedIndex[f][o][n][y]=[]),this.invertedIndex[f][o][n][y].push(b)}}}},L.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,n={},r={},a=0;a<t;a++){var o=L.FieldRef.fromString(e[a]),i=o.fieldName;r[i]||(r[i]=0),r[i]+=1,n[i]||(n[i]=0),n[i]+=this.fieldLengths[o]}var s=Object.keys(this._fields);for(a=0;a<s.length;a++){var c=s[a];n[c]=n[c]/r[c]}this.averageFieldLength=n},L.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),n=t.length,r=Object.create(null),a=0;a<n;a++){for(var o=L.FieldRef.fromString(t[a]),i=o.fieldName,s=this.fieldLengths[o],c=new L.Vector,l=this.fieldTermFrequencies[o],u=Object.keys(l),d=u.length,p=this._fields[i].boost||1,f=this._documents[o.docRef].boost||1,m=0;m<d;m++){var h,g,y,b=u[m],v=l[b],k=this.invertedIndex[b]._index;void 0===r[b]?(h=L.idf(this.invertedIndex[b],this.documentCount),r[b]=h):h=r[b],g=h*((this._k1+1)*v)/(this._k1*(1-this._b+this._b*(s/this.averageFieldLength[i]))+v),g*=p,g*=f,y=Math.round(1e3*g)/1e3,c.insert(k,y)}e[o]=c}this.fieldVectors=e},L.Builder.prototype.createTokenSet=function(){this.tokenSet=L.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},L.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new L.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},L.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},L.MatchData=function(e,t,n){for(var r=Object.create(null),a=Object.keys(n||{}),o=0;o<a.length;o++){var i=a[o];r[i]=n[i].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=r)},L.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),n=0;n<t.length;n++){var r=t[n],a=Object.keys(e.metadata[r]);null==this.metadata[r]&&(this.metadata[r]=Object.create(null));for(var o=0;o<a.length;o++){var i=a[o],s=Object.keys(e.metadata[r][i]);null==this.metadata[r][i]&&(this.metadata[r][i]=Object.create(null));for(var c=0;c<s.length;c++){var l=s[c];null==this.metadata[r][i][l]?this.metadata[r][i][l]=e.metadata[r][i][l]:this.metadata[r][i][l]=this.metadata[r][i][l].concat(e.metadata[r][i][l])}}}},L.MatchData.prototype.add=function(e,t,n){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=n);if(t in this.metadata[e])for(var r=Object.keys(n),a=0;a<r.length;a++){var o=r[a];o in this.metadata[e][t]?this.metadata[e][t][o]=this.metadata[e][t][o].concat(n[o]):this.metadata[e][t][o]=n[o]}else this.metadata[e][t]=n},L.Query=function(e){this.clauses=[],this.allFields=e},L.Query.wildcard=new String("*"),L.Query.wildcard.NONE=0,L.Query.wildcard.LEADING=1,L.Query.wildcard.TRAILING=2,L.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},L.Query.prototype.clause=function(e){return"fields"in e||(e.fields=this.allFields),"boost"in e||(e.boost=1),"usePipeline"in e||(e.usePipeline=!0),"wildcard"in e||(e.wildcard=L.Query.wildcard.NONE),e.wildcard&L.Query.wildcard.LEADING&&e.term.charAt(0)!=L.Query.wildcard&&(e.term="*"+e.term),e.wildcard&L.Query.wildcard.TRAILING&&e.term.slice(-1)!=L.Query.wildcard&&(e.term=e.term+"*"),"presence"in e||(e.presence=L.Query.presence.OPTIONAL),this.clauses.push(e),this},L.Query.prototype.isNegated=function(){for(var e=0;e<this.clauses.length;e++)if(this.clauses[e].presence!=L.Query.presence.PROHIBITED)return!1;return!0},L.Query.prototype.term=function(e,t){if(Array.isArray(e))return e.forEach((function(e){this.term(e,L.utils.clone(t))}),this),this;var n=t||{};return n.term=e.toString(),this.clause(n),this},L.QueryParseError=function(e,t,n){this.name="QueryParseError",this.message=e,this.start=t,this.end=n},L.QueryParseError.prototype=new Error,L.QueryLexer=function(e){this.lexemes=[],this.str=e,this.length=e.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},L.QueryLexer.prototype.run=function(){for(var e=L.QueryLexer.lexText;e;)e=e(this)},L.QueryLexer.prototype.sliceString=function(){for(var e=[],t=this.start,n=this.pos,r=0;r<this.escapeCharPositions.length;r++)n=this.escapeCharPositions[r],e.push(this.str.slice(t,n)),t=n+1;return e.push(this.str.slice(t,this.pos)),this.escapeCharPositions.length=0,e.join("")},L.QueryLexer.prototype.emit=function(e){this.lexemes.push({type:e,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},L.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},L.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return L.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},L.QueryLexer.prototype.width=function(){return this.pos-this.start},L.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},L.QueryLexer.prototype.backup=function(){this.pos-=1},L.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=L.QueryLexer.EOS&&this.backup()},L.QueryLexer.prototype.more=function(){return this.pos<this.length},L.QueryLexer.EOS="EOS",L.QueryLexer.FIELD="FIELD",L.QueryLexer.TERM="TERM",L.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",L.QueryLexer.BOOST="BOOST",L.QueryLexer.PRESENCE="PRESENCE",L.QueryLexer.lexField=function(e){return e.backup(),e.emit(L.QueryLexer.FIELD),e.ignore(),L.QueryLexer.lexText},L.QueryLexer.lexTerm=function(e){if(e.width()>1&&(e.backup(),e.emit(L.QueryLexer.TERM)),e.ignore(),e.more())return L.QueryLexer.lexText},L.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(L.QueryLexer.EDIT_DISTANCE),L.QueryLexer.lexText},L.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(L.QueryLexer.BOOST),L.QueryLexer.lexText},L.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(L.QueryLexer.TERM)},L.QueryLexer.termSeparator=L.tokenizer.separator,L.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==L.QueryLexer.EOS)return L.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return L.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(L.QueryLexer.TERM),L.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(L.QueryLexer.TERM),L.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(L.QueryLexer.PRESENCE),L.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(L.QueryLexer.PRESENCE),L.QueryLexer.lexText;if(t.match(L.QueryLexer.termSeparator))return L.QueryLexer.lexTerm}else e.escapeCharacter()}},L.QueryParser=function(e,t){this.lexer=new L.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},L.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=L.QueryParser.parseClause;e;)e=e(this);return this.query},L.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},L.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},L.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},L.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case L.QueryLexer.PRESENCE:return L.QueryParser.parsePresence;case L.QueryLexer.FIELD:return L.QueryParser.parseField;case L.QueryLexer.TERM:return L.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new L.QueryParseError(n,t.start,t.end)}},L.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=L.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=L.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new L.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(null==r){n="expecting term or field, found nothing";throw new L.QueryParseError(n,t.start,t.end)}switch(r.type){case L.QueryLexer.FIELD:return L.QueryParser.parseField;case L.QueryLexer.TERM:return L.QueryParser.parseTerm;default:n="expecting term or field, found '"+r.type+"'";throw new L.QueryParseError(n,r.start,r.end)}}},L.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new L.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var a=e.peekLexeme();if(null==a){r="expecting term, found nothing";throw new L.QueryParseError(r,t.start,t.end)}if(a.type===L.QueryLexer.TERM)return L.QueryParser.parseTerm;r="expecting term, found '"+a.type+"'";throw new L.QueryParseError(r,a.start,a.end)}},L.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case L.QueryLexer.TERM:return e.nextClause(),L.QueryParser.parseTerm;case L.QueryLexer.FIELD:return e.nextClause(),L.QueryParser.parseField;case L.QueryLexer.EDIT_DISTANCE:return L.QueryParser.parseEditDistance;case L.QueryLexer.BOOST:return L.QueryParser.parseBoost;case L.QueryLexer.PRESENCE:return e.nextClause(),L.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new L.QueryParseError(r,n.start,n.end)}else e.nextClause()}},L.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="edit distance must be numeric";throw new L.QueryParseError(r,t.start,t.end)}e.currentClause.editDistance=n;var a=e.peekLexeme();if(null!=a)switch(a.type){case L.QueryLexer.TERM:return e.nextClause(),L.QueryParser.parseTerm;case L.QueryLexer.FIELD:return e.nextClause(),L.QueryParser.parseField;case L.QueryLexer.EDIT_DISTANCE:return L.QueryParser.parseEditDistance;case L.QueryLexer.BOOST:return L.QueryParser.parseBoost;case L.QueryLexer.PRESENCE:return e.nextClause(),L.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+a.type+"'";throw new L.QueryParseError(r,a.start,a.end)}else e.nextClause()}},L.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="boost must be numeric";throw new L.QueryParseError(r,t.start,t.end)}e.currentClause.boost=n;var a=e.peekLexeme();if(null!=a)switch(a.type){case L.QueryLexer.TERM:return e.nextClause(),L.QueryParser.parseTerm;case L.QueryLexer.FIELD:return e.nextClause(),L.QueryParser.parseField;case L.QueryLexer.EDIT_DISTANCE:return L.QueryParser.parseEditDistance;case L.QueryLexer.BOOST:return L.QueryParser.parseBoost;case L.QueryLexer.PRESENCE:return e.nextClause(),L.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+a.type+"'";throw new L.QueryParseError(r,a.start,a.end)}else e.nextClause()}},void 0===(a="function"==typeof(r=function(){return L})?r.call(t,n,t,e):r)||(e.exports=a)}()},689:function(e){e.exports=function(){"use strict";var e="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},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach((function(t){var n=e.filter((function(e){return e.contains(t)})).length>0;-1!==e.indexOf(t)||n||e.push(t)})),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw new Error("iframe inaccessible")}catch(o){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{r.isIframeBlank(e)||(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(s){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(r){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,(function(){return!0}),(function(e){r++,n.waitForIframes(e.querySelector("html"),(function(){--r||t()}))}),(function(e){e||t()}))}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);var l=function(){--s<=0&&o(c)};s||l(),i.forEach((function(t){e.matches(t,a.exclude)?l():a.onIframeReady(t,(function(e){n(t)&&(c++,r(e)),l()}),l)}))}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return r.forEach((function(e,t){e.val===n&&(a=t,o=e.handled)})),this.compareNodeIframe(e,t,n)?(!1!==a||o?!1===a||o||(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach((function(e){e.handled||a.getIframeContents(e.val,(function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)}))}))}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){for(var o=this,i=this.createIterator(t,e,r),s=[],c=[],l=void 0,u=void 0,d=function(){var e=o.getIteratorNode(i);return u=e.prevNode,l=e.node};d();)this.iframes&&this.forEachIframe(t,(function(e){return o.checkIframeFilter(l,u,e,s)}),(function(t){o.createInstanceOnIframe(t).forEachNode(e,(function(e){return c.push(e)}),r)})),c.push(l);c.forEach((function(e){n(e)})),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;i||a(),o.forEach((function(o){var s=function(){r.iterateThroughNodes(e,o,t,n,(function(){--i<=0&&a()}))};r.iframes?r.waitForIframes(o,s):s()}))}}],[{key:"matches",value:function(e,t){var n="string"==typeof t?[t]:t,r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(r){var a=!1;return n.every((function(t){return!r.call(e,t)||(a=!0,!1)})),a}return!1}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&"object"===(void 0===r?"undefined":e(r))&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==s&&(e=e.replace(new RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(s)+")","gm"+n),r+"("+this.processSynomyms(i)+"|"+this.processSynomyms(s)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,(function(e){return"\\"===e.charAt(0)?"?":"\x01"}))).replace(/(?:\\)*\*/g,(function(e){return"\\"===e.charAt(0)?"*":"\x02"}))}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,(function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"}))}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105","A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010d","C\xc7\u0106\u010c","d\u0111\u010f","D\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119","E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012b","I\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014d","O\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159","R\u0158","s\u0161\u015b\u0219\u015f","S\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163","T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016b","U\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xff","Y\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017a","Z\u017d\u017b\u0179"]:["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010dC\xc7\u0106\u010c","d\u0111\u010fD\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012bI\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014dO\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159R\u0158","s\u0161\u015b\u0219\u015fS\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016bU\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xffY\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017aZ\u017d\u017b\u0179"],r=[];return e.split("").forEach((function(a){n.every((function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(new RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0}))})),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf",r=this.opt.accuracy,a="string"==typeof r?r:r.value,o="string"==typeof r?[]:r.limiters,i="";switch(o.forEach((function(e){i+="|"+t.escapeStr(e)})),a){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(i="\\s"+(i||this.escapeStr(n)))+"]*"+e+"[^"+i+"]*)";case"exactly":return"(^|\\s"+i+")("+e+")(?=$|\\s"+i+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach((function(e){t.opt.separateWordSearch?e.split(" ").forEach((function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)})):e.trim()&&-1===n.indexOf(e)&&n.push(e)})),{keywords:n.sort((function(e,t){return t.length-e.length})),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort((function(e,t){return e.start-t.start})).forEach((function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)})),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,s=parseInt(e.start,10)-i;return(r=(s=s>o?o:s)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),s<0||r-s<0||s>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(s,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})}),(function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),(function(){e({value:n,nodes:r})}))}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every((function(i,s){var c=e.nodes[s+1];if(void 0===c||c.start>t){if(!r(i.node))return!1;var l=t-i.start,u=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),p=e.value.substr(u+i.start);if(i.node=o.wrapRangeInTextNode(i.node,l,u),e.value=d+p,e.nodes.forEach((function(t,n){n>=s&&(e.nodes[n].start>0&&n!==s&&(e.nodes[n].start-=u),e.nodes[n].end-=u)})),n-=u,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0}))}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes((function(t){t.nodes.forEach((function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];)if(n(a[i],t)){var s=a.index;if(0!==i)for(var c=1;c<i;c++)s+=a[c].length;t=o.wrapRangeInTextNode(t,s,s+a[i].length),r(t.previousSibling),e.lastIndex=0}})),a()}))}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes((function(t){for(var s=void 0;null!==(s=e.exec(t.value))&&""!==s[i];){var c=s.index;if(0!==i)for(var l=1;l<i;l++)c+=s[l].length;var u=c+s[i].length;o.wrapRangeInMappedTextNode(t,c,u,(function(e){return n(s[i],e)}),(function(t,n){e.lastIndex=n,r(t)}))}a()}))}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var a=this;this.getTextNodes((function(o){var i=o.value.length;e.forEach((function(e,r){var s=a.checkWhitespaceRanges(e,i,o.value),c=s.start,l=s.end;s.valid&&a.wrapRangeInMappedTextNode(o,c,l,(function(n){return t(n,e,o.value.substring(c,l),r)}),(function(t){n(t,e)}))})),r()}))}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,a="wrapMatches",o=function(e){r++,n.opt.each(e)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(function(e,t){return n.opt.filter(t,e,r)}),o,(function(){0===r&&n.opt.noMatch(e),n.opt.done(r)}))}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,a="wrapMatches",o=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=o.keywords,s=o.length,c=this.opt.caseSensitive?"":"i",l=function e(t){var o=new RegExp(n.createRegExp(t),"gm"+c),l=0;n.log('Searching with expression "'+o+'"'),n[a](o,1,(function(e,a){return n.opt.filter(a,t,r,l)}),(function(e){l++,r++,n.opt.each(e)}),(function(){0===l&&n.opt.noMatch(t),i[s-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),0===s?this.opt.done(r):l(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(function(e,t,r,a){return n.opt.filter(e,t,r,a)}),(function(e,t){r++,n.opt.each(e,t)}),(function(){n.opt.done(r)}))):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(function(e){t.unwrapMatches(e)}),(function(e){var r=a.matches(e,n),o=t.matchesExclude(e);return!r||o?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new a(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),o}();function i(e){var t=this,n=new o(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}return i}()},7767:(e,t,n)=>{"use strict";n.r(t)},10119:(e,t,n)=>{"use strict";n.r(t)},51043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),l=o.querySelector(r.barSelector),u=r.speed,d=r.easing;return o.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),c(l,i(e,u,d)),1===e?(c(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){c(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),s=e?"-100":o(n.status||0),l=document.querySelector(r.parent);return c(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),c=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function l(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),r=n+t;l(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);l(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},35302:(e,t,n)=>{var r=n(64634);e.exports=m,e.exports.parse=o,e.exports.compile=function(e,t){return c(o(e,t),t)},e.exports.tokensToFunction=c,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,s=0,c="",l=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],p=n[1],f=n.index;if(c+=e.slice(s,f),s=f+d.length,p)c+=p[1];else{var m=e[s],h=n[2],g=n[3],y=n[4],b=n[5],v=n[6],k=n[7];c&&(r.push(c),c="");var w=null!=h&&null!=m&&m!==h,S="+"===v||"*"===v,x="?"===v||"*"===v,_=h||l,E=y||b,A=h||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:g||o++,prefix:h||"",delimiter:_,optional:x,repeat:S,partial:w,asterisk:!!k,pattern:E?u(E):k?".*":i(_,A)})}}return s<e.length&&(c+=e.substr(s)),c&&r.push(c),r}function i(e,t){return!t||t.indexOf(e)>-1?"[^"+l(e)+"]+?":l(t)+"|(?:(?!"+l(t)+")[^"+l(e)+"])+?"}function s(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function c(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",p(t)));return function(t,a){for(var o="",i=t||{},c=(a||{}).pretty?s:encodeURIComponent,l=0;l<e.length;l++){var u=e[l];if("string"!=typeof u){var d,p=i[u.name];if(null==p){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=c(p[f]),!n[l].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===f?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):c(p),!n[l].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');o+=u.prefix+d}}else o+=u}return o}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function d(e,t){return e.keys=t,e}function p(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)i+=l(c);else{var u=l(c.prefix),f="(?:"+c.pattern+")";t.push(c),c.repeat&&(f+="(?:"+u+f+")*"),i+=f=c.optional?c.partial?u+"("+f+")?":"(?:"+u+"("+f+"))?":u+"("+f+")"}}var m=l(n.delimiter||"/"),h=i.slice(-m.length)===m;return a||(i=(h?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=o?"$":a&&h?"":"(?="+m+"|$)",d(new RegExp("^"+i,p(n)),t)}function m(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(m(e[a],t,n).source);return d(new RegExp("(?:"+r.join("|")+")",p(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},57022:()=>{!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i<a.length;i++)o[a[i]]=e.languages.bash[a[i]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism)},72514:()=>{Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},19700:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,s=i.length;-1!==n.code.indexOf(a=t(r,s));)++s;return i[s]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(s){for(var c=0;c<s.length&&!(a>=o.length);c++){var l=s[c];if("string"==typeof l||l.content&&"string"==typeof l.content){var u=o[a],d=n.tokenStack[u],p="string"==typeof l?l:l.content,f=t(r,u),m=p.indexOf(f);if(m>-1){++a;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=p.substring(m+f.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof l?s.splice.apply(s,[c,1].concat(b)):l.content=b}}else l.content&&i(l.content)}return s}(n.tokens)}}}})}(Prism)},61617:(e,t,n)=>{var r={"./prism-bash":57022,"./prism-json":72514};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=61617},2694:(e,t,n)=>{"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new 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:a};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},22551:(e,t,n)=>{"use strict";var r=n(96540),a=n(69982);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function c(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},m={};function h(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(m,e)||!d.call(f,e)&&(p.test(e)?m[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);g[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),j=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var O=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var $=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$&&e[$]||e["@@iterator"])?e:null}var R,D=Object.assign;function F(e){if(void 0===R)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var M=!1;function z(e,t){if(!e||M)return"";M=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"==typeof l.stack){for(var a=l.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s]){var c="\n"+a[i].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=i&&0<=s);break}}}finally{M=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function B(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case S:return"Portal";case E:return"Profiler";case _:return"StrictMode";case T:return"Suspense";case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case j:return(e.displayName||"Context")+".Consumer";case A:return(e._context.displayName||"Context")+".Provider";case C:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case I:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function H(e){e._valueTracker||(e._valueTracker=function(e){var t=Q(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 a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.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 V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(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}}function G(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function Z(e,t){J(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function X(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function oe(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ce(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!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,gridArea:!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},me=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(fe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ye=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;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 ke=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,xe=null,_e=null;function Ee(e){if(e=va(e)){if("function"!=typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=wa(t),Se(e.stateNode,e.type,t))}}function Ae(e){xe?_e?_e.push(e):_e=[e]:xe=e}function je(){if(xe){var e=xe,t=_e;if(_e=xe=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Ce(e,t){return e(t)}function Te(){}var Pe=!1;function Ie(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Ce(e,t,n)}finally{Pe=!1,(null!==xe||null!==_e)&&(Te(),je())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=wa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Oe=!1;if(u)try{var $e={};Object.defineProperty($e,"passive",{get:function(){Oe=!0}}),window.addEventListener("test",$e,$e),window.removeEventListener("test",$e,$e)}catch(ue){Oe=!1}function Le(e,t,n,r,a,o,i,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(u){this.onError(u)}}var Re=!1,De=null,Fe=!1,Me=null,ze={onError:function(e){Re=!0,De=e}};function Be(e,t,n,r,a,o,i,s,c){Re=!1,De=null,Le.apply(ze,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function We(e){if(Ue(e)!==e)throw Error(o(188))}function Qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return We(a),e;if(i===r)return We(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var s=!1,c=a.child;c;){if(c===n){s=!0,n=a,r=i;break}if(c===r){s=!0,r=a,n=i;break}c=c.sibling}if(!s){for(c=i.child;c;){if(c===n){s=!0,n=i,r=a;break}if(c===r){s=!0,r=i,n=a;break}c=c.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?He(e):null}function He(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=He(e);if(null!==t)return t;e=e.sibling}return null}var Ve=a.unstable_scheduleCallback,Ke=a.unstable_cancelCallback,Ge=a.unstable_shouldYield,Ye=a.unstable_requestPaint,Je=a.unstable_now,Ze=a.unstable_getCurrentPriorityLevel,Xe=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/ct|0)|0},st=Math.log,ct=Math.LN2;var lt=64,ut=4194304;function dt(e){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: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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~a;0!==s?r=dt(s):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&!(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 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 t+5e3;default:return-1}}function mt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=lt;return!(4194240&(lt<<=1))&&(lt=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function kt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,St,xt,_t,Et,At=!1,jt=[],Ct=null,Tt=null,Pt=null,It=new Map,Nt=new Map,Ot=[],$t="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lt(e,t){switch(e){case"focusin":case"focusout":Ct=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":It.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Rt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Dt(e){var t=ba(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void Et(e.priority,(function(){xt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ke=r,n.target.dispatchEvent(r),ke=null,t.shift()}return!0}function Mt(e,t,n){Ft(e)&&n.delete(t)}function zt(){At=!1,null!==Ct&&Ft(Ct)&&(Ct=null),null!==Tt&&Ft(Tt)&&(Tt=null),null!==Pt&&Ft(Pt)&&(Pt=null),It.forEach(Mt),Nt.forEach(Mt)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,At||(At=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,zt)))}function Ut(e){function t(t){return Bt(t,e)}if(0<jt.length){Bt(jt[0],e);for(var n=1;n<jt.length;n++){var r=jt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ct&&Bt(Ct,e),null!==Tt&&Bt(Tt,e),null!==Pt&&Bt(Pt,e),It.forEach(t),Nt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)Dt(n),null===n.blockedOn&&Ot.shift()}var qt=k.ReactCurrentBatchConfig,Wt=!0;function Qt(e,t,n,r){var a=vt,o=qt.transition;qt.transition=null;try{vt=1,Vt(e,t,n,r)}finally{vt=a,qt.transition=o}}function Ht(e,t,n,r){var a=vt,o=qt.transition;qt.transition=null;try{vt=4,Vt(e,t,n,r)}finally{vt=a,qt.transition=o}}function Vt(e,t,n,r){if(Wt){var a=Gt(e,t,n,r);if(null===a)Wr(e,t,r,Kt,n),Lt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Ct=Rt(Ct,e,t,n,r,a),!0;case"dragenter":return Tt=Rt(Tt,e,t,n,r,a),!0;case"mouseover":return Pt=Rt(Pt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return It.set(o,Rt(It.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Nt.set(o,Rt(Nt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Lt(e,r),4&t&&-1<$t.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&wt(o),null===(o=Gt(e,t,n,r))&&Wr(e,t,r,Kt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Kt=null;function Gt(e,t,n,r){if(Kt=null,null!==(e=ba(e=we(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Xe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Jt=null,Zt=null,Xt=null;function en(){if(Xt)return Xt;var e,t,n=Zt,r=n.length,a="value"in Jt?Jt.value:Jt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Xt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,cn,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=an(ln),dn=D({},ln,{view:0,detail:0}),pn=an(dn),fn=D({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cn&&(cn&&"mousemove"===e.type?(on=e.screenX-cn.screenX,sn=e.screenY-cn.screenY):sn=on=0,cn=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),mn=an(fn),hn=an(D({},fn,{dataTransfer:0})),gn=an(D({},dn,{relatedTarget:0})),yn=an(D({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=D({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(bn),kn=an(D({},ln,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function En(){return _n}var An=D({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),jn=an(An),Cn=an(D({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=an(D({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),Pn=an(D({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=D({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nn=an(In),On=[9,13,27,32],$n=u&&"CompositionEvent"in window,Ln=null;u&&"documentMode"in document&&(Ln=document.documentMode);var Rn=u&&"TextEvent"in window&&!Ln,Dn=u&&(!$n||Ln&&8<Ln&&11>=Ln),Fn=String.fromCharCode(32),Mn=!1;function zn(e,t){switch(e){case"keyup":return-1!==On.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var qn={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 Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Qn(e,t,n,r){Ae(r),0<(t=Hr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Hn=null,Vn=null;function Kn(e){Fr(e,0)}function Gn(e){if(V(ka(e)))return e}function Yn(e,t){if("change"===e)return t}var Jn=!1;if(u){var Zn;if(u){var Xn="oninput"in document;if(!Xn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Xn="function"==typeof er.oninput}Zn=Xn}else Zn=!1;Jn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){Hn&&(Hn.detachEvent("onpropertychange",nr),Vn=Hn=null)}function nr(e){if("value"===e.propertyName&&Gn(Vn)){var t=[];Qn(t,Vn,e,we(e)),Ie(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Vn=n,(Hn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Vn)}function or(e,t){if("click"===e)return Gn(t)}function ir(e,t){if("input"===e||"change"===e)return Gn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function cr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!sr(e[a],t[a]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=lr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=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=lr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function fr(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)}function mr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=ur(n,o);var i=ur(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,yr=null,br=null,vr=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==K(r)||("selectionStart"in(r=gr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&cr(br,r)||(br=r,0<(r=Hr(yr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},xr={},_r={};function Er(e){if(xr[e])return xr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return xr[e]=n[t];return e}u&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Ar=Er("animationend"),jr=Er("animationiteration"),Cr=Er("animationstart"),Tr=Er("transitionend"),Pr=new Map,Ir="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 toggle touchMove waiting wheel".split(" ");function Nr(e,t){Pr.set(e,t),c(t,[e])}for(var Or=0;Or<Ir.length;Or++){var $r=Ir[Or];Nr($r.toLowerCase(),"on"+($r[0].toUpperCase()+$r.slice(1)))}Nr(Ar,"onAnimationEnd"),Nr(jr,"onAnimationIteration"),Nr(Cr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Tr,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Rr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,s,c,l){if(Be.apply(this,arguments),Re){if(!Re)throw Error(o(198));var u=De;Re=!1,De=null,Fe||(Fe=!0,Me=u)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==o&&a.isPropagationStopped())break e;Dr(a,s,l),o=c}else for(i=0;i<r.length;i++){if(c=(s=r[i]).instance,l=s.currentTarget,s=s.listener,c!==o&&a.isPropagationStopped())break e;Dr(a,s,l),o=c}}}if(Fe)throw e=Me,Fe=!1,Me=null,e}function Mr(e,t){var n=t[ha];void 0===n&&(n=t[ha]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Br]){e[Br]=!0,i.forEach((function(t){"selectionchange"!==t&&(Rr.has(t)||zr(t,!1,e),zr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,zr("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Yt(t)){case 1:var a=Qt;break;case 4:a=Ht;break;default:a=Vt}n=a.bind(null,t,n,e),a=void 0,!Oe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,a){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var c=i.tag;if((3===c||4===c)&&((c=i.stateNode.containerInfo)===a||8===c.nodeType&&c.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=ba(s)))return;if(5===(c=i.tag)||6===c){r=o=i;continue e}s=s.parentNode}}r=r.return}Ie((function(){var r=o,a=we(n),i=[];e:{var s=Pr.get(e);if(void 0!==s){var c=un,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":c=jn;break;case"focusin":l="focus",c=gn;break;case"focusout":l="blur",c=gn;break;case"beforeblur":case"afterblur":c=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=Tn;break;case Ar:case jr:case Cr:c=yn;break;case Tr:c=Pn;break;case"scroll":c=pn;break;case"wheel":c=Nn;break;case"copy":case"cut":case"paste":c=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=Cn}var u=!!(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var f,m=r;null!==m;){var h=(f=m).stateNode;if(5===f.tag&&null!==h&&(f=h,null!==p&&(null!=(h=Ne(m,p))&&u.push(Qr(m,h,f)))),d)break;m=m.return}0<u.length&&(s=new c(s,l,null,n,a),i.push({event:s,listeners:u}))}}if(!(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===ke||!(l=n.relatedTarget||n.fromElement)||!ba(l)&&!l[ma])&&(c||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,c?(c=r,null!==(l=(l=n.relatedTarget||n.toElement)?ba(l):null)&&(l!==(d=Ue(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(c=null,l=r),c!==l)){if(u=mn,h="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(u=Cn,h="onPointerLeave",p="onPointerEnter",m="pointer"),d=null==c?s:ka(c),f=null==l?s:ka(l),(s=new u(h,m+"leave",c,n,a)).target=d,s.relatedTarget=f,h=null,ba(a)===r&&((u=new u(p,m+"enter",l,n,a)).target=f,u.relatedTarget=d,h=u),d=h,c&&l)e:{for(p=l,m=0,f=u=c;f;f=Vr(f))m++;for(f=0,h=p;h;h=Vr(h))f++;for(;0<m-f;)u=Vr(u),m--;for(;0<f-m;)p=Vr(p),f--;for(;m--;){if(u===p||null!==p&&u===p.alternate)break e;u=Vr(u),p=Vr(p)}u=null}else u=null;null!==c&&Kr(i,s,c,u,!1),null!==l&&null!==d&&Kr(i,d,l,u,!0)}if("select"===(c=(s=r?ka(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type)var g=Yn;else if(Wn(s))if(Jn)g=ir;else{g=ar;var y=rr}else(c=s.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?Qn(i,g,n,a):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?ka(r):window,e){case"focusin":(Wn(y)||"true"===y.contentEditable)&&(gr=y,yr=r,br=null);break;case"focusout":br=yr=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,kr(i,n,a);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":kr(i,n,a)}var b;if($n)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Un?zn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Dn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==v?"onCompositionEnd"===v&&Un&&(b=en()):(Zt="value"in(Jt=a)?Jt.value:Jt.textContent,Un=!0)),0<(y=Hr(r,v)).length&&(v=new kn(v,e,null,n,a),i.push({event:v,listeners:y}),b?v.data=b:null!==(b=Bn(n))&&(v.data=b))),(b=Rn?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(Mn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Mn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!$n&&zn(e,t)?(e=en(),Xt=Zt=Jt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Hr(r,"onBeforeInput")).length&&(a=new kn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=b))}Fr(i,t)}))}function Qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Hr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Ne(e,n))&&r.unshift(Qr(e,o,a)),null!=(o=Ne(e,t))&&r.push(Qr(e,o,a))),e=e.return}return r}function Vr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(null!==c&&c===r)break;5===s.tag&&null!==l&&(s=l,a?null!=(c=Ne(n,o))&&i.unshift(Qr(n,c,s)):a||null!=(c=Ne(n,o))&&i.push(Qr(n,c,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Gr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Jr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace(Yr,"")}function Zr(e,t,n){if(t=Jr(t),Jr(e)!==t&&n)throw Error(o(425))}function Xr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(sa)}:ra;function sa(e){setTimeout((function(){throw e}))}function ca(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ut(t)}function la(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ua(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),pa="__reactFiber$"+da,fa="__reactProps$"+da,ma="__reactContainer$"+da,ha="__reactEvents$"+da,ga="__reactListeners$"+da,ya="__reactHandles$"+da;function ba(e){var t=e[pa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ma]||n[pa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ua(e);null!==e;){if(n=e[pa])return n;e=ua(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[pa]||e[ma])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ka(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wa(e){return e[fa]||null}var Sa=[],xa=-1;function _a(e){return{current:e}}function Ea(e){0>xa||(e.current=Sa[xa],Sa[xa]=null,xa--)}function Aa(e,t){xa++,Sa[xa]=e.current,e.current=t}var ja={},Ca=_a(ja),Ta=_a(!1),Pa=ja;function Ia(e,t){var n=e.type.contextTypes;if(!n)return ja;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Na(e){return null!=(e=e.childContextTypes)}function Oa(){Ea(Ta),Ea(Ca)}function $a(e,t,n){if(Ca.current!==ja)throw Error(o(168));Aa(Ca,t),Aa(Ta,n)}function La(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,q(e)||"Unknown",a));return D({},n,r)}function Ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ja,Pa=Ca.current,Aa(Ca,e),Aa(Ta,Ta.current),!0}function Da(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=La(e,t,Pa),r.__reactInternalMemoizedMergedChildContext=e,Ea(Ta),Ea(Ca),Aa(Ca,e)):Ea(Ta),Aa(Ta,n)}var Fa=null,Ma=!1,za=!1;function Ba(e){null===Fa?Fa=[e]:Fa.push(e)}function Ua(){if(!za&&null!==Fa){za=!0;var e=0,t=vt;try{var n=Fa;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fa=null,Ma=!1}catch(a){throw null!==Fa&&(Fa=Fa.slice(e+1)),Ve(Xe,Ua),a}finally{vt=t,za=!1}}return null}var qa=[],Wa=0,Qa=null,Ha=0,Va=[],Ka=0,Ga=null,Ya=1,Ja="";function Za(e,t){qa[Wa++]=Ha,qa[Wa++]=Qa,Qa=e,Ha=t}function Xa(e,t,n){Va[Ka++]=Ya,Va[Ka++]=Ja,Va[Ka++]=Ga,Ga=e;var r=Ya;e=Ja;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Ya=1<<32-it(t)+a|n<<a|r,Ja=o+e}else Ya=1<<o|n<<a|r,Ja=e}function eo(e){null!==e.return&&(Za(e,1),Xa(e,1,0))}function to(e){for(;e===Qa;)Qa=qa[--Wa],qa[Wa]=null,Ha=qa[--Wa],qa[Wa]=null;for(;e===Ga;)Ga=Va[--Ka],Va[Ka]=null,Ja=Va[--Ka],Va[Ka]=null,Ya=Va[--Ka],Va[Ka]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Il(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=la(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ga?{id:Ya,overflow:Ja}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Il(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function co(e){return!(!(1&e.mode)||128&e.flags)}function lo(e){if(ao){var t=ro;if(t){var n=t;if(!so(e,t)){if(co(e))throw Error(o(418));t=la(n.nextSibling);var r=no;t&&so(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(co(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function po(e){if(e!==no)return!1;if(!ao)return uo(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(co(e))throw fo(),Error(o(418));for(;t;)io(e,t),t=la(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=la(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?la(e.stateNode.nextSibling):null;return!0}function fo(){for(var e=ro;e;)e=la(e.nextSibling)}function mo(){ro=no=null,ao=!1}function ho(e){null===oo?oo=[e]:oo.push(e)}var go=k.ReactCurrentBatchConfig;function yo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function bo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vo(e){return(0,e._init)(e._payload)}function ko(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Ol(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function c(e,t,n,r){return null===t||6!==t.tag?((t=Dl(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function l(e,t,n,r){var o=n.type;return o===x?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===N&&vo(o)===t.type)?((r=a(t,n.props)).ref=yo(e,t,n),r.return=e,r):((r=$l(n.type,n.key,n.props,null,e.mode,r)).ref=yo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fl(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Ll(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Dl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=$l(t.type,t.key,t.props,null,e.mode,n)).ref=yo(e,null,t),n.return=e,n;case S:return(t=Fl(t,e.mode,n)).return=e,t;case N:return p(e,(0,t._init)(t._payload),n)}if(te(t)||L(t))return(t=Ll(t,e.mode,n,null)).return=e,t;bo(e,t)}return null}function f(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:c(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===a?l(e,t,n,r):null;case S:return n.key===a?u(e,t,n,r):null;case N:return f(e,t,(a=n._init)(n._payload),r)}if(te(n)||L(n))return null!==a?null:d(e,t,n,r,null);bo(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return c(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return l(t,e=e.get(null===r.key?n:r.key)||null,r,a);case S:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case N:return m(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||L(r))return d(t,e=e.get(n)||null,r,a,null);bo(t,r)}return null}function h(a,o,s,c){for(var l=null,u=null,d=o,h=o=0,g=null;null!==d&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var y=f(a,d,s[h],c);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(a,d),o=i(y,o,h),null===u?l=y:u.sibling=y,u=y,d=g}if(h===s.length)return n(a,d),ao&&Za(a,h),l;if(null===d){for(;h<s.length;h++)null!==(d=p(a,s[h],c))&&(o=i(d,o,h),null===u?l=d:u.sibling=d,u=d);return ao&&Za(a,h),l}for(d=r(a,d);h<s.length;h++)null!==(g=m(d,a,h,s[h],c))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),o=i(g,o,h),null===u?l=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(a,e)})),ao&&Za(a,h),l}function g(a,s,c,l){var u=L(c);if("function"!=typeof u)throw Error(o(150));if(null==(c=u.call(c)))throw Error(o(151));for(var d=u=null,h=s,g=s=0,y=null,b=c.next();null!==h&&!b.done;g++,b=c.next()){h.index>g?(y=h,h=null):y=h.sibling;var v=f(a,h,b.value,l);if(null===v){null===h&&(h=y);break}e&&h&&null===v.alternate&&t(a,h),s=i(v,s,g),null===d?u=v:d.sibling=v,d=v,h=y}if(b.done)return n(a,h),ao&&Za(a,g),u;if(null===h){for(;!b.done;g++,b=c.next())null!==(b=p(a,b.value,l))&&(s=i(b,s,g),null===d?u=b:d.sibling=b,d=b);return ao&&Za(a,g),u}for(h=r(a,h);!b.done;g++,b=c.next())null!==(b=m(h,a,g,b.value,l))&&(e&&null!==b.alternate&&h.delete(null===b.key?g:b.key),s=i(b,s,g),null===d?u=b:d.sibling=b,d=b);return e&&h.forEach((function(e){return t(a,e)})),ao&&Za(a,g),u}return function e(r,o,i,c){if("object"==typeof i&&null!==i&&i.type===x&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var l=i.key,u=o;null!==u;){if(u.key===l){if((l=i.type)===x){if(7===u.tag){n(r,u.sibling),(o=a(u,i.props.children)).return=r,r=o;break e}}else if(u.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===N&&vo(l)===u.type){n(r,u.sibling),(o=a(u,i.props)).ref=yo(r,u,i),o.return=r,r=o;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===x?((o=Ll(i.props.children,r.mode,c,i.key)).return=r,r=o):((c=$l(i.type,i.key,i.props,null,r.mode,c)).ref=yo(r,o,i),c.return=r,r=c)}return s(r);case S:e:{for(u=i.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Fl(i,r.mode,c)).return=r,r=o}return s(r);case N:return e(r,o,(u=i._init)(i._payload),c)}if(te(i))return h(r,o,i,c);if(L(i))return g(r,o,i,c);bo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Dl(i,r.mode,c)).return=r,r=o),s(r)):n(r,o)}}var wo=ko(!0),So=ko(!1),xo=_a(null),_o=null,Eo=null,Ao=null;function jo(){Ao=Eo=_o=null}function Co(e){var t=xo.current;Ea(xo),e._currentValue=t}function To(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Po(e,t){_o=e,Ao=Eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(vs=!0),e.firstContext=null)}function Io(e){var t=e._currentValue;if(Ao!==e)if(e={context:e,memoizedValue:t,next:null},null===Eo){if(null===_o)throw Error(o(308));Eo=e,_o.dependencies={lanes:0,firstContext:e}}else Eo=Eo.next=e;return t}var No=null;function Oo(e){null===No?No=[e]:No.push(e)}function $o(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Oo(t)):(n.next=a.next,a.next=n),t.interleaved=n,Lo(e,r)}function Lo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ro=!1;function Do(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Mo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Cc){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Lo(e,n)}return null===(a=r.interleaved)?(t.next=t,Oo(r)):(t.next=a.next,a.next=t),r.interleaved=t,Lo(e,n)}function Bo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Uo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function qo(e,t,n,r){var a=e.updateQueue;Ro=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var c=s,l=c.next;c.next=null,null===i?o=l:i.next=l,i=c;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===s?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(null!==o){var d=a.baseState;for(i=0,u=l=c=null,s=o;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var m=e,h=s;switch(p=t,f=n,h.tag){case 1:if("function"==typeof(m=h.payload)){d=m.call(f,d,p);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=h.payload)?m.call(f,d,p):m))break e;d=D({},d,p);break e;case 2:Ro=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=a.effects)?a.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(l=u=f,c=d):u=u.next=f,i|=p;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(p=s).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}if(null===u&&(c=d),a.baseState=c,a.firstBaseUpdate=l,a.lastBaseUpdate=u,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Rc|=i,e.lanes=i,e.memoizedState=d}}function Wo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var Qo={},Ho=_a(Qo),Vo=_a(Qo),Ko=_a(Qo);function Go(e){if(e===Qo)throw Error(o(174));return e}function Yo(e,t){switch(Aa(Ko,t),Aa(Vo,e),Aa(Ho,Qo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ce(null,"");break;default:t=ce(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ea(Ho),Aa(Ho,t)}function Jo(){Ea(Ho),Ea(Vo),Ea(Ko)}function Zo(e){Go(Ko.current);var t=Go(Ho.current),n=ce(t,e.type);t!==n&&(Aa(Vo,e),Aa(Ho,n))}function Xo(e){Vo.current===e&&(Ea(Ho),Ea(Vo))}var ei=_a(0);function ti(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(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 ni=[];function ri(){for(var e=0;e<ni.length;e++)ni[e]._workInProgressVersionPrimary=null;ni.length=0}var ai=k.ReactCurrentDispatcher,oi=k.ReactCurrentBatchConfig,ii=0,si=null,ci=null,li=null,ui=!1,di=!1,pi=0,fi=0;function mi(){throw Error(o(321))}function hi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function gi(e,t,n,r,a,i){if(ii=i,si=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=null===e||null===e.memoizedState?Xi:es,e=n(r,a),di){i=0;do{if(di=!1,pi=0,25<=i)throw Error(o(301));i+=1,li=ci=null,t.updateQueue=null,ai.current=ts,e=n(r,a)}while(di)}if(ai.current=Zi,t=null!==ci&&null!==ci.next,ii=0,li=ci=si=null,ui=!1,t)throw Error(o(300));return e}function yi(){var e=0!==pi;return pi=0,e}function bi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===li?si.memoizedState=li=e:li=li.next=e,li}function vi(){if(null===ci){var e=si.alternate;e=null!==e?e.memoizedState:null}else e=ci.next;var t=null===li?si.memoizedState:li.next;if(null!==t)li=t,ci=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ci=e).memoizedState,baseState:ci.baseState,baseQueue:ci.baseQueue,queue:ci.queue,next:null},null===li?si.memoizedState=li=e:li=li.next=e}return li}function ki(e,t){return"function"==typeof t?t(e):t}function wi(e){var t=vi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ci,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var c=s=null,l=null,u=i;do{var d=u.lane;if((ii&d)===d)null!==l&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===l?(c=l=p,s=r):l=l.next=p,si.lanes|=d,Rc|=d}u=u.next}while(null!==u&&u!==i);null===l?s=r:l.next=c,sr(r,t.memoizedState)||(vs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,si.lanes|=i,Rc|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Si(e){var t=vi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{i=e(i,s.action),s=s.next}while(s!==a);sr(i,t.memoizedState)||(vs=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function xi(){}function _i(e,t){var n=si,r=vi(),a=t(),i=!sr(r.memoizedState,a);if(i&&(r.memoizedState=a,vs=!0),r=r.queue,Ri(ji.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==li&&1&li.memoizedState.tag){if(n.flags|=2048,Ii(9,Ai.bind(null,n,r,a,t),void 0,null),null===Tc)throw Error(o(349));30&ii||Ei(n,t,a)}return a}function Ei(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ai(e,t,n,r){t.value=n,t.getSnapshot=r,Ci(t)&&Ti(e)}function ji(e,t,n){return n((function(){Ci(t)&&Ti(e)}))}function Ci(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ti(e){var t=Lo(e,1);null!==t&&nl(t,e,1,-1)}function Pi(e){var t=bi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ki,lastRenderedState:e},t.queue=e,e=e.dispatch=Ki.bind(null,si,e),[t.memoizedState,e]}function Ii(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ni(){return vi().memoizedState}function Oi(e,t,n,r){var a=bi();si.flags|=e,a.memoizedState=Ii(1|t,n,void 0,void 0===r?null:r)}function $i(e,t,n,r){var a=vi();r=void 0===r?null:r;var o=void 0;if(null!==ci){var i=ci.memoizedState;if(o=i.destroy,null!==r&&hi(r,i.deps))return void(a.memoizedState=Ii(t,n,o,r))}si.flags|=e,a.memoizedState=Ii(1|t,n,o,r)}function Li(e,t){return Oi(8390656,8,e,t)}function Ri(e,t){return $i(2048,8,e,t)}function Di(e,t){return $i(4,2,e,t)}function Fi(e,t){return $i(4,4,e,t)}function Mi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function zi(e,t,n){return n=null!=n?n.concat([e]):null,$i(4,4,Mi.bind(null,t,e),n)}function Bi(){}function Ui(e,t){var n=vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&hi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function qi(e,t){var n=vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&hi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Wi(e,t,n){return 21&ii?(sr(n,t)||(n=ht(),si.lanes|=n,Rc|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,vs=!0),e.memoizedState=n)}function Qi(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{vt=n,oi.transition=r}}function Hi(){return vi().memoizedState}function Vi(e,t,n){var r=tl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Gi(e))Yi(t,n);else if(null!==(n=$o(e,t,n,r))){nl(n,e,r,el()),Ji(n,t,r)}}function Ki(e,t,n){var r=tl(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Gi(e))Yi(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,sr(s,i)){var c=t.interleaved;return null===c?(a.next=a,Oo(t)):(a.next=c.next,c.next=a),void(t.interleaved=a)}}catch(l){}null!==(n=$o(e,t,a,r))&&(nl(n,e,r,a=el()),Ji(n,t,r))}}function Gi(e){var t=e.alternate;return e===si||null!==t&&t===si}function Yi(e,t){di=ui=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ji(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var Zi={readContext:Io,useCallback:mi,useContext:mi,useEffect:mi,useImperativeHandle:mi,useInsertionEffect:mi,useLayoutEffect:mi,useMemo:mi,useReducer:mi,useRef:mi,useState:mi,useDebugValue:mi,useDeferredValue:mi,useTransition:mi,useMutableSource:mi,useSyncExternalStore:mi,useId:mi,unstable_isNewReconciler:!1},Xi={readContext:Io,useCallback:function(e,t){return bi().memoizedState=[e,void 0===t?null:t],e},useContext:Io,useEffect:Li,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Oi(4194308,4,Mi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Oi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Oi(4,2,e,t)},useMemo:function(e,t){var n=bi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=bi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Vi.bind(null,si,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},bi().memoizedState=e},useState:Pi,useDebugValue:Bi,useDeferredValue:function(e){return bi().memoizedState=e},useTransition:function(){var e=Pi(!1),t=e[0];return e=Qi.bind(null,e[1]),bi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=si,a=bi();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Tc)throw Error(o(349));30&ii||Ei(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Li(ji.bind(null,r,i,e),[e]),r.flags|=2048,Ii(9,Ai.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=bi(),t=Tc.identifierPrefix;if(ao){var n=Ja;t=":"+t+"R"+(n=(Ya&~(1<<32-it(Ya)-1)).toString(32)+n),0<(n=pi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=fi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Io,useCallback:Ui,useContext:Io,useEffect:Ri,useImperativeHandle:zi,useInsertionEffect:Di,useLayoutEffect:Fi,useMemo:qi,useReducer:wi,useRef:Ni,useState:function(){return wi(ki)},useDebugValue:Bi,useDeferredValue:function(e){return Wi(vi(),ci.memoizedState,e)},useTransition:function(){return[wi(ki)[0],vi().memoizedState]},useMutableSource:xi,useSyncExternalStore:_i,useId:Hi,unstable_isNewReconciler:!1},ts={readContext:Io,useCallback:Ui,useContext:Io,useEffect:Ri,useImperativeHandle:zi,useInsertionEffect:Di,useLayoutEffect:Fi,useMemo:qi,useReducer:Si,useRef:Ni,useState:function(){return Si(ki)},useDebugValue:Bi,useDeferredValue:function(e){var t=vi();return null===ci?t.memoizedState=e:Wi(t,ci.memoizedState,e)},useTransition:function(){return[Si(ki)[0],vi().memoizedState]},useMutableSource:xi,useSyncExternalStore:_i,useId:Hi,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var as={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=el(),a=tl(e),o=Mo(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=zo(e,o,a))&&(nl(t,e,a,r),Bo(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=el(),a=tl(e),o=Mo(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=zo(e,o,a))&&(nl(t,e,a,r),Bo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=el(),r=tl(e),a=Mo(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=zo(e,a,r))&&(nl(t,e,r,n),Bo(t,e,r))}};function os(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!cr(n,r)||!cr(a,o))}function is(e,t,n){var r=!1,a=ja,o=t.contextType;return"object"==typeof o&&null!==o?o=Io(o):(a=Na(t)?Pa:Ca.current,o=(r=null!=(r=t.contextTypes))?Ia(e,a):ja),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=as,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&as.enqueueReplaceState(t,t.state,null)}function cs(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Do(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Io(o):(o=Na(t)?Pa:Ca.current,a.context=Ia(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(rs(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&as.enqueueReplaceState(a,a.state,null),qo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function ls(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=Mo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wc||(Wc=!0,Qc=r),ds(0,t)},n}function ms(e,t,n){(n=Mo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!=typeof r&&(null===Hc?Hc=new Set([this]):Hc.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function hs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=El.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Mo(-1,1)).tag=2,zo(n,t,1))),n.lanes|=1),e)}var bs=k.ReactCurrentOwner,vs=!1;function ks(e,t,n,r){t.child=null===e?So(t,null,n,r):wo(t,e.child,n,r)}function ws(e,t,n,r,a){n=n.render;var o=t.ref;return Po(t,a),r=gi(e,t,n,r,o,a),n=yi(),null===e||vs?(ao&&n&&eo(t),t.flags|=1,ks(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ws(e,t,a))}function Ss(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Nl(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=$l(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,xs(e,t,o,r,a))}if(o=e.child,!(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:cr)(i,r)&&e.ref===t.ref)return Ws(e,t,a)}return t.flags|=1,(e=Ol(o,r)).ref=t.ref,e.return=t,t.child=e}function xs(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(cr(o,r)&&e.ref===t.ref){if(vs=!1,t.pendingProps=r=o,!(e.lanes&a))return t.lanes=e.lanes,Ws(e,t,a);131072&e.flags&&(vs=!0)}}return As(e,t,n,r,a)}function _s(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Aa(Oc,Nc),Nc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Aa(Oc,Nc),Nc|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Aa(Oc,Nc),Nc|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Aa(Oc,Nc),Nc|=r;return ks(e,t,a,n),t.child}function Es(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function As(e,t,n,r,a){var o=Na(n)?Pa:Ca.current;return o=Ia(t,o),Po(t,a),n=gi(e,t,n,r,o,a),r=yi(),null===e||vs?(ao&&r&&eo(t),t.flags|=1,ks(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ws(e,t,a))}function js(e,t,n,r,a){if(Na(n)){var o=!0;Ra(t)}else o=!1;if(Po(t,a),null===t.stateNode)qs(e,t),is(t,n,r),cs(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var c=i.context,l=n.contextType;"object"==typeof l&&null!==l?l=Io(l):l=Ia(t,l=Na(n)?Pa:Ca.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||c!==l)&&ss(t,i,r,l),Ro=!1;var p=t.memoizedState;i.state=p,qo(t,r,i,a),c=t.memoizedState,s!==r||p!==c||Ta.current||Ro?("function"==typeof u&&(rs(t,n,u,r),c=t.memoizedState),(s=Ro||os(t,n,s,r,p,c,l))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),i.props=r,i.state=c,i.context=l,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Fo(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ns(t.type,s),i.props=l,d=t.pendingProps,p=i.context,"object"==typeof(c=n.contextType)&&null!==c?c=Io(c):c=Ia(t,c=Na(n)?Pa:Ca.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||p!==c)&&ss(t,i,r,c),Ro=!1,p=t.memoizedState,i.state=p,qo(t,r,i,a);var m=t.memoizedState;s!==d||p!==m||Ta.current||Ro?("function"==typeof f&&(rs(t,n,f,r),m=t.memoizedState),(l=Ro||os(t,n,l,r,p,m,c)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,c),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,c)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=c,r=l):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Cs(e,t,n,r,o,a)}function Cs(e,t,n,r,a,o){Es(e,t);var i=!!(128&t.flags);if(!r&&!i)return a&&Da(t,n,!1),Ws(e,t,o);r=t.stateNode,bs.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=wo(t,e.child,null,o),t.child=wo(t,null,s,o)):ks(e,t,s,o),t.memoizedState=r.state,a&&Da(t,n,!0),t.child}function Ts(e){var t=e.stateNode;t.pendingContext?$a(0,t.pendingContext,t.pendingContext!==t.context):t.context&&$a(0,t.context,!1),Yo(e,t.containerInfo)}function Ps(e,t,n,r,a){return mo(),ho(a),t.flags|=256,ks(e,t,n,r),t.child}var Is,Ns,Os,$s,Ls={dehydrated:null,treeContext:null,retryLane:0};function Rs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ds(e,t,n){var r,a=t.pendingProps,i=ei.current,s=!1,c=!!(128&t.flags);if((r=c)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Aa(ei,1&i),null===e)return lo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(c=a.children,e=a.fallback,s?(a=t.mode,s=t.child,c={mode:"hidden",children:c},1&a||null===s?s=Rl(c,a,0,null):(s.childLanes=0,s.pendingProps=c),e=Ll(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Rs(n),t.memoizedState=Ls,e):Fs(t,c));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,s){if(n)return 256&t.flags?(t.flags&=-257,Ms(e,t,s,r=us(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Rl({mode:"visible",children:r.children},a,0,null),(i=Ll(i,a,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&wo(t,e.child,null,s),t.child.memoizedState=Rs(s),t.memoizedState=Ls,i);if(!(1&t.mode))return Ms(e,t,s,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var c=r.dgst;return r=c,Ms(e,t,s,r=us(i=Error(o(419)),r,void 0))}if(c=!!(s&e.childLanes),vs||c){if(null!==(r=Tc)){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=a&(r.suspendedLanes|s)?0:a)&&a!==i.retryLane&&(i.retryLane=a,Lo(e,a),nl(r,e,a,-1))}return hl(),Ms(e,t,s,r=us(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=jl.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=la(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Va[Ka++]=Ya,Va[Ka++]=Ja,Va[Ka++]=Ga,Ya=e.id,Ja=e.overflow,Ga=t),t=Fs(t,r.children),t.flags|=4096,t)}(e,t,c,a,r,i,n);if(s){s=a.fallback,c=t.mode,r=(i=e.child).sibling;var l={mode:"hidden",children:a.children};return 1&c||t.child===i?(a=Ol(i,l)).subtreeFlags=14680064&i.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=l,t.deletions=null),null!==r?s=Ol(r,s):(s=Ll(s,c,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,c=null===(c=e.child.memoizedState)?Rs(n):{baseLanes:c.baseLanes|n,cachePool:null,transitions:c.transitions},s.memoizedState=c,s.childLanes=e.childLanes&~n,t.memoizedState=Ls,a}return e=(s=e.child).sibling,a=Ol(s,{mode:"visible",children:a.children}),!(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Fs(e,t){return(t=Rl({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ms(e,t,n,r){return null!==r&&ho(r),wo(t,e.child,null,n),(e=Fs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function zs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),To(e.return,t,n)}function Bs(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Us(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(ks(e,t,r.children,n),2&(r=ei.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&zs(e,n,t);else if(19===e.tag)zs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Aa(ei,r),1&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ti(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Bs(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ti(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Bs(t,!0,n,null,o);break;case"together":Bs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function qs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Rc|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ol(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ol(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Qs(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Hs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Hs(t),null;case 1:case 17:return Na(t.type)&&Oa(),Hs(t),null;case 3:return r=t.stateNode,Jo(),Ea(Ta),Ea(Ca),ri(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(il(oo),oo=null))),Ns(e,t),Hs(t),null;case 5:Xo(t);var a=Go(Ko.current);if(n=t.type,null!==e&&null!=t.stateNode)Os(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Hs(t),null}if(e=Go(Ho.current),po(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[pa]=t,r[fa]=i,e=!!(1&t.mode),n){case"dialog":Mr("cancel",r),Mr("close",r);break;case"iframe":case"object":case"embed":Mr("load",r);break;case"video":case"audio":for(a=0;a<Lr.length;a++)Mr(Lr[a],r);break;case"source":Mr("error",r);break;case"img":case"image":case"link":Mr("error",r),Mr("load",r);break;case"details":Mr("toggle",r);break;case"input":Y(r,i),Mr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Mr("invalid",r);break;case"textarea":ae(r,i),Mr("invalid",r)}for(var c in be(n,i),a=null,i)if(i.hasOwnProperty(c)){var l=i[c];"children"===c?"string"==typeof l?r.textContent!==l&&(!0!==i.suppressHydrationWarning&&Zr(r.textContent,l,e),a=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==i.suppressHydrationWarning&&Zr(r.textContent,l,e),a=["children",""+l]):s.hasOwnProperty(c)&&null!=l&&"onScroll"===c&&Mr("scroll",r)}switch(n){case"input":H(r),X(r,i,!0);break;case"textarea":H(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Xr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{c=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[pa]=t,e[fa]=r,Is(e,t,!1,!1),t.stateNode=e;e:{switch(c=ve(n,r),n){case"dialog":Mr("cancel",e),Mr("close",e),a=r;break;case"iframe":case"object":case"embed":Mr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Lr.length;a++)Mr(Lr[a],e);a=r;break;case"source":Mr("error",e),a=r;break;case"img":case"image":case"link":Mr("error",e),Mr("load",e),a=r;break;case"details":Mr("toggle",e),a=r;break;case"input":Y(e,r),a=G(e,r),Mr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=D({},r,{value:void 0}),Mr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Mr("invalid",e)}for(i in be(n,a),l=a)if(l.hasOwnProperty(i)){var u=l[i];"style"===i?ge(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===i?"string"==typeof u?("textarea"!==n||""!==u)&&pe(e,u):"number"==typeof u&&pe(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=u&&"onScroll"===i&&Mr("scroll",e):null!=u&&v(e,i,u,c))}switch(n){case"input":H(e),X(e,r,!1);break;case"textarea":H(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Xr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Hs(t),null;case 6:if(e&&null!=t.stateNode)$s(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=Go(Ko.current),Go(Ho.current),po(t)){if(r=t.stateNode,n=t.memoizedProps,r[pa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Zr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[pa]=t,t.stateNode=r}return Hs(t),null;case 13:if(Ea(ei),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&1&t.mode&&!(128&t.flags))fo(),mo(),t.flags|=98560,i=!1;else if(i=po(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[pa]=t}else mo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Hs(t),i=!1}else null!==oo&&(il(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ei.current?0===$c&&($c=3):hl())),null!==t.updateQueue&&(t.flags|=4),Hs(t),null);case 4:return Jo(),Ns(e,t),null===e&&Ur(t.stateNode.containerInfo),Hs(t),null;case 10:return Co(t.type._context),Hs(t),null;case 19:if(Ea(ei),null===(i=t.memoizedState))return Hs(t),null;if(r=!!(128&t.flags),null===(c=i.rendering))if(r)Qs(i,!1);else{if(0!==$c||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(c=ti(e))){for(t.flags|=128,Qs(i,!1),null!==(r=c.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(c=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=c.childLanes,i.lanes=c.lanes,i.child=c.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=c.memoizedProps,i.memoizedState=c.memoizedState,i.updateQueue=c.updateQueue,i.type=c.type,e=c.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Aa(ei,1&ei.current|2),t.child}e=e.sibling}null!==i.tail&&Je()>Uc&&(t.flags|=128,r=!0,Qs(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ti(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Qs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!c.alternate&&!ao)return Hs(t),null}else 2*Je()-i.renderingStartTime>Uc&&1073741824!==n&&(t.flags|=128,r=!0,Qs(i,!1),t.lanes=4194304);i.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=i.last)?n.sibling=c:t.child=c,i.last=c)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Je(),t.sibling=null,n=ei.current,Aa(ei,r?1&n|2:1&n),t):(Hs(t),null);case 22:case 23:return dl(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Nc)&&(Hs(t),6&t.subtreeFlags&&(t.flags|=8192)):Hs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ks(e,t){switch(to(t),t.tag){case 1:return Na(t.type)&&Oa(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Jo(),Ea(Ta),Ea(Ca),ri(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Xo(t),null;case 13:if(Ea(ei),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));mo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ea(ei),null;case 4:return Jo(),null;case 10:return Co(t.type._context),null;case 22:case 23:return dl(),null;default:return null}}Is=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ns=function(){},Os=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Go(Ho.current);var o,i=null;switch(n){case"input":a=G(e,a),r=G(e,r),i=[];break;case"select":a=D({},a,{value:void 0}),r=D({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Xr)}for(u in be(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u){var c=a[u];for(o in c)c.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(c=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&l!==c&&(null!=l||null!=c))if("style"===u)if(c){for(o in c)!c.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&c[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(i||(i=[]),i.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(i=i||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(i=i||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&Mr("scroll",e),i||c===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},$s=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gs=!1,Ys=!1,Js="function"==typeof WeakSet?WeakSet:Set,Zs=null;function Xs(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){_l(e,t,r)}else n.current=null}function ec(e,t,n){try{n()}catch(r){_l(e,t,r)}}var tc=!1;function nc(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&ec(t,n,o)}a=a.next}while(a!==r)}}function rc(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ac(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function oc(e){var t=e.alternate;null!==t&&(e.alternate=null,oc(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[pa],delete t[fa],delete t[ha],delete t[ga],delete t[ya])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ic(e){return 5===e.tag||3===e.tag||4===e.tag}function sc(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ic(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cc(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Xr));else if(4!==r&&null!==(e=e.child))for(cc(e,t,n),e=e.sibling;null!==e;)cc(e,t,n),e=e.sibling}function lc(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(lc(e,t,n),e=e.sibling;null!==e;)lc(e,t,n),e=e.sibling}var uc=null,dc=!1;function pc(e,t,n){for(n=n.child;null!==n;)fc(e,t,n),n=n.sibling}function fc(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(s){}switch(n.tag){case 5:Ys||Xs(n,t);case 6:var r=uc,a=dc;uc=null,pc(e,t,n),dc=a,null!==(uc=r)&&(dc?(e=uc,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):uc.removeChild(n.stateNode));break;case 18:null!==uc&&(dc?(e=uc,n=n.stateNode,8===e.nodeType?ca(e.parentNode,n):1===e.nodeType&&ca(e,n),Ut(e)):ca(uc,n.stateNode));break;case 4:r=uc,a=dc,uc=n.stateNode.containerInfo,dc=!0,pc(e,t,n),uc=r,dc=a;break;case 0:case 11:case 14:case 15:if(!Ys&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(2&o||4&o)&&ec(n,t,i),a=a.next}while(a!==r)}pc(e,t,n);break;case 1:if(!Ys&&(Xs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){_l(n,t,s)}pc(e,t,n);break;case 21:pc(e,t,n);break;case 22:1&n.mode?(Ys=(r=Ys)||null!==n.memoizedState,pc(e,t,n),Ys=r):pc(e,t,n);break;default:pc(e,t,n)}}function mc(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Js),t.forEach((function(t){var r=Cl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function hc(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,s=t,c=s;e:for(;null!==c;){switch(c.tag){case 5:uc=c.stateNode,dc=!1;break e;case 3:case 4:uc=c.stateNode.containerInfo,dc=!0;break e}c=c.return}if(null===uc)throw Error(o(160));fc(i,s,a),uc=null,dc=!1;var l=a.alternate;null!==l&&(l.return=null),a.return=null}catch(u){_l(a,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gc(t,e),t=t.sibling}function gc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hc(t,e),yc(e),4&r){try{nc(3,e,e.return),rc(3,e)}catch(g){_l(e,e.return,g)}try{nc(5,e,e.return)}catch(g){_l(e,e.return,g)}}break;case 1:hc(t,e),yc(e),512&r&&null!==n&&Xs(n,n.return);break;case 5:if(hc(t,e),yc(e),512&r&&null!==n&&Xs(n,n.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(g){_l(e,e.return,g)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,c=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===c&&"radio"===i.type&&null!=i.name&&J(a,i),ve(c,s);var u=ve(c,i);for(s=0;s<l.length;s+=2){var d=l[s],p=l[s+1];"style"===d?ge(a,p):"dangerouslySetInnerHTML"===d?de(a,p):"children"===d?pe(a,p):v(a,d,p,u)}switch(c){case"input":Z(a,i);break;case"textarea":oe(a,i);break;case"select":var f=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var m=i.value;null!=m?ne(a,!!i.multiple,m,!1):f!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[fa]=i}catch(g){_l(e,e.return,g)}}break;case 6:if(hc(t,e),yc(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(g){_l(e,e.return,g)}}break;case 3:if(hc(t,e),yc(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(g){_l(e,e.return,g)}break;case 4:default:hc(t,e),yc(e);break;case 13:hc(t,e),yc(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Bc=Je())),4&r&&mc(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ys=(u=Ys)||d,hc(t,e),Ys=u):hc(t,e),yc(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Zs=e,d=e.child;null!==d;){for(p=Zs=d;null!==Zs;){switch(m=(f=Zs).child,f.tag){case 0:case 11:case 14:case 15:nc(4,f,f.return);break;case 1:Xs(f,f.return);var h=f.stateNode;if("function"==typeof h.componentWillUnmount){r=f,n=f.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(g){_l(r,n,g)}}break;case 5:Xs(f,f.return);break;case 22:if(null!==f.memoizedState){wc(p);continue}}null!==m?(m.return=f,Zs=m):wc(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{a=p.stateNode,u?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(c=p.stateNode,s=null!=(l=p.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,c.style.display=he("display",s))}catch(g){_l(e,e.return,g)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(g){_l(e,e.return,g)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:hc(t,e),yc(e),4&r&&mc(e);case 21:}}function yc(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ic(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(pe(a,""),r.flags&=-33),lc(e,sc(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;cc(e,sc(e),i);break;default:throw Error(o(161))}}catch(s){_l(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bc(e,t,n){Zs=e,vc(e,t,n)}function vc(e,t,n){for(var r=!!(1&e.mode);null!==Zs;){var a=Zs,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Gs;if(!i){var s=a.alternate,c=null!==s&&null!==s.memoizedState||Ys;s=Gs;var l=Ys;if(Gs=i,(Ys=c)&&!l)for(Zs=a;null!==Zs;)c=(i=Zs).child,22===i.tag&&null!==i.memoizedState?Sc(a):null!==c?(c.return=i,Zs=c):Sc(a);for(;null!==o;)Zs=o,vc(o,t,n),o=o.sibling;Zs=a,Gs=s,Ys=l}kc(e)}else 8772&a.subtreeFlags&&null!==o?(o.return=a,Zs=o):kc(e)}}function kc(e){for(;null!==Zs;){var t=Zs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ys||rc(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ys)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Wo(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Wo(t,s,n)}break;case 5:var c=t.stateNode;if(null===n&&4&t.flags){n=c;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Ut(p)}}}break;default:throw Error(o(163))}Ys||512&t.flags&&ac(t)}catch(f){_l(t,t.return,f)}}if(t===e){Zs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zs=n;break}Zs=t.return}}function wc(e){for(;null!==Zs;){var t=Zs;if(t===e){Zs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zs=n;break}Zs=t.return}}function Sc(e){for(;null!==Zs;){var t=Zs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rc(4,t)}catch(c){_l(t,n,c)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(c){_l(t,a,c)}}var o=t.return;try{ac(t)}catch(c){_l(t,o,c)}break;case 5:var i=t.return;try{ac(t)}catch(c){_l(t,i,c)}}}catch(c){_l(t,t.return,c)}if(t===e){Zs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Zs=s;break}Zs=t.return}}var xc,_c=Math.ceil,Ec=k.ReactCurrentDispatcher,Ac=k.ReactCurrentOwner,jc=k.ReactCurrentBatchConfig,Cc=0,Tc=null,Pc=null,Ic=0,Nc=0,Oc=_a(0),$c=0,Lc=null,Rc=0,Dc=0,Fc=0,Mc=null,zc=null,Bc=0,Uc=1/0,qc=null,Wc=!1,Qc=null,Hc=null,Vc=!1,Kc=null,Gc=0,Yc=0,Jc=null,Zc=-1,Xc=0;function el(){return 6&Cc?Je():-1!==Zc?Zc:Zc=Je()}function tl(e){return 1&e.mode?2&Cc&&0!==Ic?Ic&-Ic:null!==go.transition?(0===Xc&&(Xc=ht()),Xc):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function nl(e,t,n,r){if(50<Yc)throw Yc=0,Jc=null,Error(o(185));yt(e,n,r),2&Cc&&e===Tc||(e===Tc&&(!(2&Cc)&&(Dc|=n),4===$c&&sl(e,Ic)),rl(e,r),1===n&&0===Cc&&!(1&t.mode)&&(Uc=Je()+500,Ma&&Ua()))}function rl(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),s=1<<i,c=a[i];-1===c?s&n&&!(s&r)||(a[i]=ft(s,t)):c<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=pt(e,e===Tc?Ic:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){Ma=!0,Ba(e)}(cl.bind(null,e)):Ba(cl.bind(null,e)),ia((function(){!(6&Cc)&&Ua()})),n=null;else{switch(kt(r)){case 1:n=Xe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Tl(n,al.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function al(e,t){if(Zc=-1,Xc=0,6&Cc)throw Error(o(327));var n=e.callbackNode;if(Sl()&&e.callbackNode!==n)return null;var r=pt(e,e===Tc?Ic:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=gl(e,r);else{t=r;var a=Cc;Cc|=2;var i=ml();for(Tc===e&&Ic===t||(qc=null,Uc=Je()+500,pl(e,t));;)try{bl();break}catch(c){fl(e,c)}jo(),Ec.current=i,Cc=a,null!==Pc?t=0:(Tc=null,Ic=0,t=$c)}if(0!==t){if(2===t&&(0!==(a=mt(e))&&(r=a,t=ol(e,a))),1===t)throw n=Lc,pl(e,0),sl(e,r),rl(e,Je()),n;if(6===t)sl(e,r);else{if(a=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!sr(o(),a))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)||(t=gl(e,r),2===t&&(i=mt(e),0!==i&&(r=i,t=ol(e,i))),1!==t)))throw n=Lc,pl(e,0),sl(e,r),rl(e,Je()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:wl(e,zc,qc);break;case 3:if(sl(e,r),(130023424&r)===r&&10<(t=Bc+500-Je())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){el(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(wl.bind(null,e,zc,qc),t);break}wl(e,zc,qc);break;case 4:if(sl(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>a&&(a=s),r&=~i}if(r=a,10<(r=(120>(r=Je()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_c(r/1960))-r)){e.timeoutHandle=ra(wl.bind(null,e,zc,qc),r);break}wl(e,zc,qc);break;default:throw Error(o(329))}}}return rl(e,Je()),e.callbackNode===n?al.bind(null,e):null}function ol(e,t){var n=Mc;return e.current.memoizedState.isDehydrated&&(pl(e,t).flags|=256),2!==(e=gl(e,t))&&(t=zc,zc=n,null!==t&&il(t)),e}function il(e){null===zc?zc=e:zc.push.apply(zc,e)}function sl(e,t){for(t&=~Fc,t&=~Dc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function cl(e){if(6&Cc)throw Error(o(327));Sl();var t=pt(e,0);if(!(1&t))return rl(e,Je()),null;var n=gl(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=ol(e,r))}if(1===n)throw n=Lc,pl(e,0),sl(e,t),rl(e,Je()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wl(e,zc,qc),rl(e,Je()),null}function ll(e,t){var n=Cc;Cc|=1;try{return e(t)}finally{0===(Cc=n)&&(Uc=Je()+500,Ma&&Ua())}}function ul(e){null!==Kc&&0===Kc.tag&&!(6&Cc)&&Sl();var t=Cc;Cc|=1;var n=jc.transition,r=vt;try{if(jc.transition=null,vt=1,e)return e()}finally{vt=r,jc.transition=n,!(6&(Cc=t))&&Ua()}}function dl(){Nc=Oc.current,Ea(Oc)}function pl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Pc)for(n=Pc.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oa();break;case 3:Jo(),Ea(Ta),Ea(Ca),ri();break;case 5:Xo(r);break;case 4:Jo();break;case 13:case 19:Ea(ei);break;case 10:Co(r.type._context);break;case 22:case 23:dl()}n=n.return}if(Tc=e,Pc=e=Ol(e.current,null),Ic=Nc=t,$c=0,Lc=null,Fc=Dc=Rc=0,zc=Mc=null,null!==No){for(t=0;t<No.length;t++)if(null!==(r=(n=No[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}No=null}return e}function fl(e,t){for(;;){var n=Pc;try{if(jo(),ai.current=Zi,ui){for(var r=si.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ui=!1}if(ii=0,li=ci=si=null,di=!1,pi=0,Ac.current=null,null===n||null===n.return){$c=1,Lc=t,Pc=null;break}e:{var i=e,s=n.return,c=n,l=t;if(t=Ic,c.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l,d=c,p=d.tag;if(!(1&d.mode||0!==p&&11!==p&&15!==p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=gs(s);if(null!==m){m.flags&=-257,ys(m,s,c,0,t),1&m.mode&&hs(i,u,t),l=u;var h=(t=m).updateQueue;if(null===h){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break e}if(!(1&t)){hs(i,u,t),hl();break e}l=Error(o(426))}else if(ao&&1&c.mode){var y=gs(s);if(null!==y){!(65536&y.flags)&&(y.flags|=256),ys(y,s,c,0,t),ho(ls(l,c));break e}}i=l=ls(l,c),4!==$c&&($c=2),null===Mc?Mc=[i]:Mc.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Uo(i,fs(0,l,t));break e;case 1:c=l;var b=i.type,v=i.stateNode;if(!(128&i.flags||"function"!=typeof b.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==Hc&&Hc.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Uo(i,ms(i,c,t));break e}}i=i.return}while(null!==i)}kl(n)}catch(k){t=k,Pc===n&&null!==n&&(Pc=n=n.return);continue}break}}function ml(){var e=Ec.current;return Ec.current=Zi,null===e?Zi:e}function hl(){0!==$c&&3!==$c&&2!==$c||($c=4),null===Tc||!(268435455&Rc)&&!(268435455&Dc)||sl(Tc,Ic)}function gl(e,t){var n=Cc;Cc|=2;var r=ml();for(Tc===e&&Ic===t||(qc=null,pl(e,t));;)try{yl();break}catch(a){fl(e,a)}if(jo(),Cc=n,Ec.current=r,null!==Pc)throw Error(o(261));return Tc=null,Ic=0,$c}function yl(){for(;null!==Pc;)vl(Pc)}function bl(){for(;null!==Pc&&!Ge();)vl(Pc)}function vl(e){var t=xc(e.alternate,e,Nc);e.memoizedProps=e.pendingProps,null===t?kl(e):Pc=t,Ac.current=null}function kl(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ks(n,t)))return n.flags&=32767,void(Pc=n);if(null===e)return $c=6,void(Pc=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Vs(n,t,Nc)))return void(Pc=n);if(null!==(t=t.sibling))return void(Pc=t);Pc=t=e}while(null!==t);0===$c&&($c=5)}function wl(e,t,n){var r=vt,a=jc.transition;try{jc.transition=null,vt=1,function(e,t,n,r){do{Sl()}while(null!==Kc);if(6&Cc)throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===Tc&&(Pc=Tc=null,Ic=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Vc||(Vc=!0,Tl(tt,(function(){return Sl(),null}))),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=jc.transition,jc.transition=null;var s=vt;vt=1;var c=Cc;Cc|=4,Ac.current=null,function(e,t){if(ea=Wt,fr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(w){n=null;break e}var s=0,c=-1,l=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var m;p!==n||0!==a&&3!==p.nodeType||(c=s+a),p!==i||0!==r&&3!==p.nodeType||(l=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(m=p.firstChild);)f=p,p=m;for(;;){if(p===e)break t;if(f===n&&++u===a&&(c=s),f===i&&++d===r&&(l=s),null!==(m=p.nextSibling))break;f=(p=f).parentNode}p=m}n=-1===c||-1===l?null:{start:c,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Wt=!1,Zs=t;null!==Zs;)if(e=(t=Zs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Zs=e;else for(;null!==Zs;){t=Zs;try{var h=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var g=h.memoizedProps,y=h.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),y);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var k=t.stateNode.containerInfo;1===k.nodeType?k.textContent="":9===k.nodeType&&k.documentElement&&k.removeChild(k.documentElement);break;default:throw Error(o(163))}}catch(w){_l(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Zs=e;break}Zs=t.return}h=tc,tc=!1}(e,n),gc(n,e),mr(ta),Wt=!!ea,ta=ea=null,e.current=n,bc(n,e,a),Ye(),Cc=c,vt=s,jc.transition=i}else e.current=n;if(Vc&&(Vc=!1,Kc=e,Gc=a),i=e.pendingLanes,0===i&&(Hc=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(t){}}(n.stateNode),rl(e,Je()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Wc)throw Wc=!1,e=Qc,Qc=null,e;!!(1&Gc)&&0!==e.tag&&Sl(),i=e.pendingLanes,1&i?e===Jc?Yc++:(Yc=0,Jc=e):Yc=0,Ua()}(e,t,n,r)}finally{jc.transition=a,vt=r}return null}function Sl(){if(null!==Kc){var e=kt(Gc),t=jc.transition,n=vt;try{if(jc.transition=null,vt=16>e?16:e,null===Kc)var r=!1;else{if(e=Kc,Kc=null,Gc=0,6&Cc)throw Error(o(331));var a=Cc;for(Cc|=4,Zs=e.current;null!==Zs;){var i=Zs,s=i.child;if(16&Zs.flags){var c=i.deletions;if(null!==c){for(var l=0;l<c.length;l++){var u=c[l];for(Zs=u;null!==Zs;){var d=Zs;switch(d.tag){case 0:case 11:case 15:nc(8,d,i)}var p=d.child;if(null!==p)p.return=d,Zs=p;else for(;null!==Zs;){var f=(d=Zs).sibling,m=d.return;if(oc(d),d===u){Zs=null;break}if(null!==f){f.return=m,Zs=f;break}Zs=m}}}var h=i.alternate;if(null!==h){var g=h.child;if(null!==g){h.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}Zs=i}}if(2064&i.subtreeFlags&&null!==s)s.return=i,Zs=s;else e:for(;null!==Zs;){if(2048&(i=Zs).flags)switch(i.tag){case 0:case 11:case 15:nc(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Zs=b;break e}Zs=i.return}}var v=e.current;for(Zs=v;null!==Zs;){var k=(s=Zs).child;if(2064&s.subtreeFlags&&null!==k)k.return=s,Zs=k;else e:for(s=v;null!==Zs;){if(2048&(c=Zs).flags)try{switch(c.tag){case 0:case 11:case 15:rc(9,c)}}catch(S){_l(c,c.return,S)}if(c===s){Zs=null;break e}var w=c.sibling;if(null!==w){w.return=c.return,Zs=w;break e}Zs=c.return}}if(Cc=a,Ua(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(S){}r=!0}return r}finally{vt=n,jc.transition=t}}return!1}function xl(e,t,n){e=zo(e,t=fs(0,t=ls(n,t),1),1),t=el(),null!==e&&(yt(e,1,t),rl(e,t))}function _l(e,t,n){if(3===e.tag)xl(e,e,n);else for(;null!==t;){if(3===t.tag){xl(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Hc||!Hc.has(r))){t=zo(t,e=ms(t,e=ls(n,e),1),1),e=el(),null!==t&&(yt(t,1,e),rl(t,e));break}}t=t.return}}function El(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=el(),e.pingedLanes|=e.suspendedLanes&n,Tc===e&&(Ic&n)===n&&(4===$c||3===$c&&(130023424&Ic)===Ic&&500>Je()-Bc?pl(e,0):Fc|=n),rl(e,t)}function Al(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=el();null!==(e=Lo(e,t))&&(yt(e,t,n),rl(e,n))}function jl(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Al(e,n)}function Cl(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Al(e,n)}function Tl(e,t){return Ve(e,t)}function Pl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Il(e,t,n,r){return new Pl(e,t,n,r)}function Nl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ol(e,t){var n=e.alternate;return null===n?((n=Il(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function $l(e,t,n,r,a,i){var s=2;if(r=e,"function"==typeof e)Nl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return Ll(n.children,a,i,t);case _:s=8,a|=8;break;case E:return(e=Il(12,n,t,2|a)).elementType=E,e.lanes=i,e;case T:return(e=Il(13,n,t,a)).elementType=T,e.lanes=i,e;case P:return(e=Il(19,n,t,a)).elementType=P,e.lanes=i,e;case O:return Rl(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case A:s=10;break e;case j:s=9;break e;case C:s=11;break e;case I:s=14;break e;case N:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Il(s,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Ll(e,t,n,r){return(e=Il(7,e,r,t)).lanes=n,e}function Rl(e,t,n,r){return(e=Il(22,e,r,t)).elementType=O,e.lanes=n,e.stateNode={isHidden:!1},e}function Dl(e,t,n){return(e=Il(6,e,null,t)).lanes=n,e}function Fl(e,t,n){return(t=Il(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ml(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function zl(e,t,n,r,a,o,i,s,c){return e=new Ml(e,t,n,s,c),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Il(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Do(o),e}function Bl(e){if(!e)return ja;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Na(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Na(n))return La(e,n,t)}return t}function Ul(e,t,n,r,a,o,i,s,c){return(e=zl(n,r,!0,e,0,o,0,s,c)).context=Bl(null),n=e.current,(o=Mo(r=el(),a=tl(n))).callback=null!=t?t:null,zo(n,o,a),e.current.lanes=a,yt(e,a,r),rl(e,r),e}function ql(e,t,n,r){var a=t.current,o=el(),i=tl(a);return n=Bl(n),null===t.context?t.context=n:t.pendingContext=n,(t=Mo(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=zo(a,t,i))&&(nl(e,a,i,o),Bo(e,a,i)),i}function Wl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ql(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Hl(e,t){Ql(e,t),(e=e.alternate)&&Ql(e,t)}xc=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ta.current)vs=!0;else{if(!(e.lanes&n||128&t.flags))return vs=!1,function(e,t,n){switch(t.tag){case 3:Ts(t),mo();break;case 5:Zo(t);break;case 1:Na(t.type)&&Ra(t);break;case 4:Yo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Aa(xo,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Aa(ei,1&ei.current),t.flags|=128,null):n&t.child.childLanes?Ds(e,t,n):(Aa(ei,1&ei.current),null!==(e=Ws(e,t,n))?e.sibling:null);Aa(ei,1&ei.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Us(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Aa(ei,ei.current),r)break;return null;case 22:case 23:return t.lanes=0,_s(e,t,n)}return Ws(e,t,n)}(e,t,n);vs=!!(131072&e.flags)}else vs=!1,ao&&1048576&t.flags&&Xa(t,Ha,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qs(e,t),e=t.pendingProps;var a=Ia(t,Ca.current);Po(t,n),a=gi(null,t,r,e,a,n);var i=yi();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Na(r)?(i=!0,Ra(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Do(t),a.updater=as,t.stateNode=a,a._reactInternals=t,cs(t,r,e,n),t=Cs(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),ks(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qs(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Nl(e)?1:0;if(null!=e){if((e=e.$$typeof)===C)return 11;if(e===I)return 14}return 2}(r),e=ns(r,e),a){case 0:t=As(null,t,r,e,n);break e;case 1:t=js(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,ns(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,As(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 1:return r=t.type,a=t.pendingProps,js(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 3:e:{if(Ts(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Fo(e,t),qo(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ps(e,t,r,n,a=ls(Error(o(423)),t));break e}if(r!==a){t=Ps(e,t,r,n,a=ls(Error(o(424)),t));break e}for(ro=la(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=So(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(mo(),r===a){t=Ws(e,t,n);break e}ks(e,t,r,n)}t=t.child}return t;case 5:return Zo(t),null===e&&lo(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,s=a.children,na(r,a)?s=null:null!==i&&na(r,i)&&(t.flags|=32),Es(e,t),ks(e,t,s,n),t.child;case 6:return null===e&&lo(t),null;case 13:return Ds(e,t,n);case 4:return Yo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wo(t,null,r,n):ks(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,ws(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 7:return ks(e,t,t.pendingProps,n),t.child;case 8:case 12:return ks(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,Aa(xo,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===a.children&&!Ta.current){t=Ws(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var c=i.dependencies;if(null!==c){s=i.child;for(var l=c.firstContext;null!==l;){if(l.context===r){if(1===i.tag){(l=Mo(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),To(i.return,n,t),c.lanes|=n;break}l=l.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(o(341));s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),To(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ks(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Po(t,n),r=r(a=Io(a)),t.flags|=1,ks(e,t,r,n),t.child;case 14:return a=ns(r=t.type,t.pendingProps),Ss(e,t,r,a=ns(r.type,a),n);case 15:return xs(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ns(r,a),qs(e,t),t.tag=1,Na(r)?(e=!0,Ra(t)):e=!1,Po(t,n),is(t,r,a),cs(t,r,a,n),Cs(null,t,r,!0,e,n);case 19:return Us(e,t,n);case 22:return _s(e,t,n)}throw Error(o(156,t.tag))};var Vl="function"==typeof reportError?reportError:function(e){console.error(e)};function Kl(e){this._internalRoot=e}function Gl(e){this._internalRoot=e}function Yl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zl(){}function Xl(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var s=a;a=function(){var e=Wl(i);s.call(e)}}ql(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Wl(i);o.call(e)}}var i=Ul(t,r,e,0,null,!1,0,"",Zl);return e._reactRootContainer=i,e[ma]=i.current,Ur(8===e.nodeType?e.parentNode:e),ul(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var s=r;r=function(){var e=Wl(c);s.call(e)}}var c=zl(e,0,!1,null,0,!1,0,"",Zl);return e._reactRootContainer=c,e[ma]=c.current,Ur(8===e.nodeType?e.parentNode:e),ul((function(){ql(t,c,n,r)})),c}(n,t,e,a,r);return Wl(i)}Gl.prototype.render=Kl.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));ql(e,t,null,null)},Gl.prototype.unmount=Kl.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ul((function(){ql(null,e,null,null)})),t[ma]=null}},Gl.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ot.length&&0!==t&&t<Ot[n].priority;n++);Ot.splice(n,0,e),0===n&&Dt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),rl(t,Je()),!(6&Cc)&&(Uc=Je()+500,Ua()))}break;case 13:ul((function(){var t=Lo(e,1);if(null!==t){var n=el();nl(t,e,1,n)}})),Hl(e,1)}},St=function(e){if(13===e.tag){var t=Lo(e,134217728);if(null!==t)nl(t,e,134217728,el());Hl(e,134217728)}},xt=function(e){if(13===e.tag){var t=tl(e),n=Lo(e,t);if(null!==n)nl(n,e,t,el());Hl(e,t)}},_t=function(){return vt},Et=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},Se=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=wa(r);if(!a)throw Error(o(90));V(r),Z(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ce=ll,Te=ul;var eu={usingClientEntryPoint:!1,Events:[va,ka,wa,Ae,je,ll]},tu={findFiberByHostInstance:ba,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Qe(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{at=ru.inject(nu),ot=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yl(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yl(e))throw Error(o(299));var n=!1,r="",a=Vl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=zl(e,1,!1,null,0,n,0,r,a),e[ma]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Kl(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Qe(t))?null:e.stateNode},t.flushSync=function(e){return ul(e)},t.hydrate=function(e,t,n){if(!Jl(t))throw Error(o(200));return Xl(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yl(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",s=Vl;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Ul(t,null,e,1,null!=n?n:null,a,0,i,s),e[ma]=t.current,Ur(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Gl(t)},t.render=function(e,t,n){if(!Jl(t))throw Error(o(200));return Xl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Jl(e))throw Error(o(40));return!!e._reactRootContainer&&(ul((function(){Xl(null,null,e,!1,(function(){e._reactRootContainer=null,e[ma]=null}))})),!0)},t.unstable_batchedUpdates=ll,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Jl(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Xl(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},5338:(e,t,n)=>{"use strict";var r=n(40961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},40961:(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(t){console.error(t)}}(),e.exports=n(22551)},30115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,c,l,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(c=s;0!=c--;)if(!o(e[c],i[c]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!i.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!o(c.value[1],i.get(c.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!i.has(c.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(c=s;0!=c--;)if(e[c]!==i[c])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(i,l[c]))return!1;if(t&&e instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!e.$$typeof)&&!o(e[l[c]],i[l[c]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},80545:(e,t,n)=>{"use strict";n.d(t,{mg:()=>X,vd:()=>Q});var r=n(96540),a=n(5556),o=n.n(a),i=n(30115),s=n.n(i),c=n(20311),l=n.n(c),u=n(2833),d=n.n(u);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},k=Object.keys(g).map((function(e){return g[e]})),w={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},S=Object.keys(w).reduce((function(e,t){return e[w[t]]=t,e}),{}),x=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},_=function(e){var t=x(e,g.TITLE),n=x(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=x(e,"defaultTitle");return t||r||void 0},E=function(e){return x(e,"onChangeClientState")||function(){}},A=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},j=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},C=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var s=o[i],c=s.toLowerCase();-1===t.indexOf(c)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===c&&"stylesheet"===e[c].toLowerCase()||(n=c),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var l=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][l]&&(a[n][l]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var s=o[i],c=p({},r[s],a[s]);r[s]=c}return e}),[]).reverse()},T=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},P=function(e){return Array.isArray(e)?e.join(""):e},I=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},N=function(e,t){var n;return p({},e,((n={})[t]=void 0,n))},O=[g.NOSCRIPT,g.SCRIPT,g.STYLE],$=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},L=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},R=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[w[n]||n]=e[n],t}),t)},D=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=w[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},F=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=R(n,a),[r.createElement(g.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=L(n),o=P(t);return a?"<"+e+' data-rh="true" '+a+">"+$(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+$(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return R(t)},toString:function(){return L(t)}};default:return{toComponent:function(){return D(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+$(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===O.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},M=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,s=e.title,c=void 0===s?"":s,l=e.titleAttributes,u=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=I(e.metaTags,v),o=I(t,y),i=I(n,b);return{priorityMethods:{toComponent:function(){return[].concat(D(g.META,a.priority),D(g.LINK,o.priority),D(g.SCRIPT,i.priority))},toString:function(){return F(g.META,a.priority,r)+" "+F(g.LINK,o.priority,r)+" "+F(g.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);f=m.priorityMethods,u=m.linkTags,d=m.metaTags,p=m.scriptTags}return{priority:f,base:F(g.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",a,r),link:F(g.LINK,u,r),meta:F(g.META,d,r),noscript:F(g.NOSCRIPT,o,r),script:F(g.SCRIPT,p,r),style:F(g.STYLE,i,r),title:F(g.TITLE,{title:c,titleAttributes:l},r)}},z=[],B=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?z:n.instances},add:function(e){(n.canUseDOM?z:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?z:n.instances).indexOf(e);(n.canUseDOM?z:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),q=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),W="undefined"!=typeof document,Q=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new B(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);Q.canUseDOM=W,Q.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},Q.defaultProps={context:{}},Q.displayName="HelmetProvider";var H=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},V=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),s=0;s<i.length;s+=1){var c=i[s],l=t[c]||"";n.getAttribute(c)!==l&&n.setAttribute(c,l),-1===a.indexOf(c)&&a.push(c);var u=o.indexOf(c);-1!==u&&o.splice(u,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},K=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,c=e.scriptTags,l=e.styleTags,u=e.title,d=e.titleAttributes;V(g.BODY,e.bodyAttributes),V(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=P(e)),V(g.TITLE,t)}(u,d);var p={baseTag:H(g.BASE,n),linkTags:H(g.LINK,a),metaTags:H(g.META,o),noscriptTags:H(g.NOSCRIPT,i),scriptTags:H(g.SCRIPT,c),styleTags:H(g.STYLE,l)},f={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),s(e,f,m)},G=null,Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=p({},e.props);return delete t.context,t})),{baseTag:j(["href"],e),bodyAttributes:A("bodyAttributes",e),defer:x(e,"defer"),encode:x(e,"encodeSpecialCharacters"),htmlAttributes:A("htmlAttributes",e),linkTags:C(g.LINK,["rel","href"],e),metaTags:C(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:C(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:E(e),scriptTags:C(g.SCRIPT,["src","innerHTML"],e),styleTags:C(g.STYLE,["cssText"],e),title:_(e),titleAttributes:A("titleAttributes",e),prioritizeSeoTags:T(e,"prioritizeSeoTags")});Q.canUseDOM?(t=o,G&&cancelAnimationFrame(G),t.defer?G=requestAnimationFrame((function(){K(t,(function(){G=null}))})):(K(t),G=null)):M&&(a=M(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Y.propTypes={context:q.isRequired},Y.displayName="HelmetDispatcher";var J=["children"],Z=["children"],X=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!s()(N(this.props,"helmetData"),N(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return p({},a,((t={})[r.type]=i,t.titleAttributes=p({},o),t));case g.BODY:return p({},a,{bodyAttributes:p({},o)});case g.HTML:return p({},a,{htmlAttributes:p({},o)});default:return p({},a,((n={})[r.type]=p({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return l()(k.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+k.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),l()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,J),s=Object.keys(i).reduce((function(e,t){return e[S[t]||t]=i[t],e}),{}),c=e.type;switch("symbol"==typeof c?c=c.toString():n.warnOnInvalidChildren(e,o),c){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,Z),a=p({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof B||(o=new B(o.context,o.instances)),o?r.createElement(Y,p({},a,{context:o.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(Y,p({},a,{context:e}))}))},t}(r.Component);X.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},X.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},X.displayName="Helmet"},22799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,k=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case l:case p:case g:case h:case c:return e;default:return t}}case a:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===k||e.$$typeof===y)},t.typeOf=w},44363:(e,t,n)=>{"use strict";e.exports=n(22799)},53259:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var s=n(96540),c=[],l=[];var u=s.createContext(null);function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function p(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function f(e,t){return s.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function m(e,t){var d,p;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var m=i({loader:null,loading:null,delay:200,timeout:null,render:f,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return c.push(g),"function"==typeof m.webpack&&l.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),p=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()})),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context&&Array.isArray(m.modules)&&m.modules.forEach((function(t){e.context.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(s.Component),o(d,"contextType",u),p}function h(e){return m(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(p,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return s.createElement(u.Provider,{value:{report:this.props.report}},s.Children.only(this.props.children))},t}(s.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return y(e)}))}h.Capture=g,h.preloadAll=function(){return new Promise((function(e,t){y(c).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){y(l).then(e,e)}))},e.exports=h},22831:(e,t,n)=>{"use strict";n.d(t,{u:()=>i,v:()=>s});var r=n(56347),a=n(58168),o=n(96540);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.B6)(t,e):n.length?n[n.length-1].match:r.Ix.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.dO,n,e.map((function(e,n){return o.createElement(r.qh,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.A)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.A)({},n,t,{route:e}))}})}))):null}},54625:(e,t,n)=>{"use strict";n.d(t,{I9:()=>d,Kd:()=>u,N_:()=>y,k2:()=>k});var r=n(56347),a=n(77387),o=n(96540),i=n(31513),s=n(58168),c=n(98587),l=n(11561),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.zR)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);var d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.TM)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);var p=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},m=function(e){return e},h=o.forwardRef;void 0===h&&(h=m);var g=h((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,c.A)(e,["innerRef","navigate","onClick"]),l=i.target,u=(0,s.A)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||l&&"_self"!==l||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=m!==h&&t||n,o.createElement("a",u)}));var y=h((function(e,t){var n=e.component,a=void 0===n?g:n,u=e.replace,d=e.to,y=e.innerRef,b=(0,c.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,l.A)(!1);var n=e.history,r=f(p(d,e.location),e.location),c=r?n.createHref(r):"",g=(0,s.A)({},b,{href:c,navigate:function(){var t=p(d,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(f(t));(u||r?n.replace:n.push)(t)}});return m!==h?g.ref=t||y:g.innerRef=y,o.createElement(a,g)}))})),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var k=v((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,d=e.activeStyle,m=e.className,h=e.exact,g=e.isActive,k=e.location,w=e.sensitive,S=e.strict,x=e.style,_=e.to,E=e.innerRef,A=(0,c.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,l.A)(!1);var n=k||e.location,i=f(p(_,n),n),c=i.pathname,j=c&&c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),C=j?(0,r.B6)(n.pathname,{path:j,exact:h,sensitive:w,strict:S}):null,T=!!(g?g(C,n):C),P="function"==typeof m?m(T):m,I="function"==typeof x?x(T):x;T&&(P=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(P,u),I=(0,s.A)({},I,d));var N=(0,s.A)({"aria-current":T&&a||null,className:P,style:I,to:i},A);return b!==v?N.ref=t||E:N.innerRef=E,o.createElement(y,N)}))}))},56347:(e,t,n)=>{"use strict";n.d(t,{B6:()=>x,Ix:()=>v,W6:()=>N,XZ:()=>b,dO:()=>P,qh:()=>_,zy:()=>O});var r=n(77387),a=n(96540),o=n(5556),i=n.n(o),s=n(31513),c=n(11561),l=n(58168),u=n(35302),d=n.n(u),p=(n(44363),n(98587)),f=(n(4146),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var h=a.createContext||function(e,t){var n,o,s="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",c=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.A)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):f,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);c.childContextTypes=((n={})[s]=i().object.isRequired,n);var l=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(0|e.observedBits)&n&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?f:t},a.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},a.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},a.getValue=function(){return this.context[s]?this.context[s].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return l.contextTypes=((o={})[s]=i().object,o),{Provider:c,Consumer:l}},g=function(e){var t=h();return t.displayName=e,t},y=g("Router-History"),b=g("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var k={},w=1e4,S=0;function x(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,s=void 0!==i&&i,c=n.sensitive,l=void 0!==c&&c;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=k[n]||(k[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return S<w&&(r[e]=o,S++),o}(n,{end:o,strict:s,sensitive:l}),a=r.regexp,i=r.keys,c=a.exec(e);if(!c)return null;var u=c[0],p=c.slice(1),f=e===u;return o&&!f?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var _=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,c.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?x(n.pathname,e.props):t.match,o=(0,l.A)({},t,{location:n,match:r}),i=e.props,s=i.children,u=i.component,d=i.render;return Array.isArray(s)&&function(e){return 0===a.Children.count(e)}(s)&&(s=null),a.createElement(b.Provider,{value:o},o.match?s?"function"==typeof s?s(o):s:u?a.createElement(u,o):d?d(o):null:"function"==typeof s?s(o):null)}))},t}(a.Component);function E(e){return"/"===e.charAt(0)?e:"/"+e}function A(e,t){if(!e)return t;var n=E(e);return 0!==t.pathname.indexOf(n)?t:(0,l.A)({},t,{pathname:t.pathname.substr(n.length)})}function j(e){return"string"==typeof e?e:(0,s.AO)(e)}function C(e){return function(){(0,c.A)(!1)}}function T(){}a.Component;var P=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,c.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?x(o.pathname,(0,l.A)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var I=a.useContext;function N(){return I(y)}function O(){return I(b).location}},21020:(e,t,n)=>{"use strict";var r=n(96540),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,o={},l=null,u=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!c.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:l,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=l,t.jsxs=l},15287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var k=v.prototype=new b;k.constructor=v,h(k,y.prototype),k.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,x={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)S.call(t,a)&&!_.hasOwnProperty(a)&&(o[a]=t[a]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(a in c=e.defaultProps)void 0===o[a]&&(o[a]=c[a]);return{$$typeof:n,type:e,key:i,ref:s,props:o,_owner:x.current}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var j=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,a,o,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var c=!1;if(null===e)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0}}if(c)return i=i(c=e),e=""===o?"."+C(c,0):o,w(i)?(a="",null!=e&&(a=e.replace(j,"$&/")+"/"),T(i,t,a,"",(function(e){return e}))):null!=i&&(A(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(j,"$&/")+"/")+e)),t.push(i)),1;if(c=0,o=""===o?".":o+":",w(e))for(var l=0;l<e.length;l++){var u=o+C(s=e[l],l);c+=T(s,t,a,u,i)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),l=0;!(s=e.next()).done;)c+=T(s=s.value,t,a,u=o+C(s,l++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function P(e,t,n){if(null==e)return e;var r=[],a=0;return T(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function I(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},O={transition:null},$={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:O,ReactCurrentOwner:x};function L(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,t.act=L,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=h({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=x.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)S.call(t,l)&&!_.hasOwnProperty(l)&&(a[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];a.children=c}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:s}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},t.unstable_act=L,t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return N.current.useTransition()},t.version="18.3.1"},96540:(e,t,n)=>{"use strict";e.exports=n(15287)},74848:(e,t,n)=>{"use strict";e.exports=n(21020)},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>o(c,n))l<a&&0>o(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else{if(!(l<a&&0>o(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}var l=[],u=[],d=1,p=null,f=3,m=!1,h=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var t=r(u);null!==t;){if(null===t.callback)a(u);else{if(!(t.startTime<=e))break;a(u),t.sortIndex=t.expirationTime,n(l,t)}t=r(u)}}function w(e){if(g=!1,k(e),!h)if(null!==r(l))h=!0,O(S);else{var t=r(u);null!==t&&$(w,t.startTime-e)}}function S(e,n){h=!1,g&&(g=!1,b(A),A=-1),m=!0;var o=f;try{for(k(n),p=r(l);null!==p&&(!(p.expirationTime>n)||e&&!T());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var s=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?p.callback=s:p===r(l)&&a(l),k(n)}else a(l);p=r(l)}if(null!==p)var c=!0;else{var d=r(u);null!==d&&$(w,d.startTime-n),c=!1}return c}finally{p=null,f=o,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,_=!1,E=null,A=-1,j=5,C=-1;function T(){return!(t.unstable_now()-C<j)}function P(){if(null!==E){var e=t.unstable_now();C=e;var n=!0;try{n=E(!0,e)}finally{n?x():(_=!1,E=null)}}else _=!1}if("function"==typeof v)x=function(){v(P)};else if("undefined"!=typeof MessageChannel){var I=new MessageChannel,N=I.port2;I.port1.onmessage=P,x=function(){N.postMessage(null)}}else x=function(){y(P,0)};function O(e){E=e,_||(_=!0,x())}function $(e,n){A=y((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(){h||m||(h=!0,O(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(e.sortIndex=o,n(u,e),null===r(l)&&e===r(u)&&(g?(b(A),A=-1):g=!0,$(w,o-i))):(e.sortIndex=s,n(l,e),h||m||(h=!0,O(S))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},69982:(e,t,n)=>{"use strict";e.exports=n(7463)},2833:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<o.length;c++){var l=o[c];if(!s(l))return!1;var u=e[l],d=t[l];if(!1===(a=n?n.call(r,u,d,l):void 0)||void 0===a&&u!==d)return!1}return!0}},4784:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"Daikoku",tagline:"\u5927\u9ed2\u5929",favicon:"img/daikoku-mini.svg",url:"https://maif.github.io",baseUrl:"/daikoku/",organizationName:"MAIF",projectName:"Daikoku",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},presets:[["classic",{docs:{sidebarPath:"./sidebars.js"},blog:{showReadingTime:!0},theme:{customCss:"./src/css/custom.css"}}],["redocusaurus",{specs:[{spec:"static/openapi/admin-api-openapi.json",route:"/openapi"}]}]],themes:[["@easyops-cn/docusaurus-search-local",{hashed:!0,language:["en","zh"],highlightSearchTermsOnTargetPage:!0,explicitSearchResultPath:!0}]],themeConfig:{image:"img/daikoku-mini.jpg",navbar:{title:"Daikoku",logo:{alt:"Daikoku logo",className:"header-logo",src:"img/daikoku-mini-dark.svg"},items:[{type:"docSidebar",sidebarId:"tutorialSidebar",position:"left",label:"Documentation"},{to:"/openapi",label:"OpenAPI",position:"left"},{to:"/docs/cli",label:"CLI",position:"left"},{href:"https://github.com/maif/daikoku",position:"right",className:"header-github-link","aria-label":"GitHub repository"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"MAIF",items:[{label:"OSS by MAIF",to:"https://maif.github.io/"}]},{title:"Community",items:[{label:"Discord",href:"https://discord.gg/vUP2eKYu"}]},{title:"More",items:[{label:"GitHub",href:"https://github.com/MAIF/daikoku"},{label:"Download",href:"https://github.com/MAIF/daikoku/releases/latest"}]}]},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:["bash","json"],magicComments:[{className:"code-block-error-line",line:"deletion"},{className:"code-block-success-line",line:"addition"}]},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},blog:{sidebar:{groupByYear:!0}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,future:{experimental_faster:{swcJsLoader:!1,swcJsMinimizer:!1,swcHtmlMinimizer:!1,lightningCssMinimizer:!1,mdxCrossCompilerCache:!1,rspackBundler:!1},experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}}}},58168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},77387:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(63662);function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},98587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},63662:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},18215:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}n.d(t,{A:()=>a});const a=function(){for(var e,t,n=0,a="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},78181:(e,t,n)=>{"use strict";n.d(t,{f4:()=>te,My:()=>A});var r=n(96540);function a(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=a(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const o=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=a(e))&&(r&&(r+=" "),r+=t);return r};var i,s,c,l,u,d=Object.create,p=Object.defineProperty,f=Object.defineProperties,m=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,b=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,w=(e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))v.call(t,n)&&w(e,n,t[n]);if(y)for(var n of y(t))k.call(t,n)&&w(e,n,t[n]);return e},x=(e,t)=>f(e,h(t)),_=(e,t)=>{var n={};for(var r in e)v.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&y)for(var r of y(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},E=(i={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var c in n)n.hasOwnProperty(c)&&(i[c]=n[c]);n.hasOwnProperty(s)||(i[s]=o[s])}var l=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===l&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],a||s);var c=t[s],l=r.util.type(c);"Object"!==l||o[i(c)]?"Array"!==l||o[i(c)]||(o[i(c)]=!0,e(c,n,s,o)):(o[i(c)]=!0,e(c,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new s;return c(a,a.head,e),i(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,s,u,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var m=0;m<f.length;++m){if(d&&d.cause==p+","+m)return;var h=f[m],g=h.inside,y=!!h.lookbehind,b=!!h.greedy,v=h.alias;if(b&&!h.pattern.global){var k=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,k+"g")}for(var w=h.pattern||h,S=s.next,x=u;S!==t.tail&&!(d&&x>=d.reach);x+=S.value.length,S=S.next){var _=S.value;if(t.length>e.length)return;if(!(_ instanceof a)){var E,A=1;if(b){if(!(E=o(w,x,e,y))||E.index>=e.length)break;var j=E.index,C=E.index+E[0].length,T=x;for(T+=S.value.length;j>=T;)T+=(S=S.next).value.length;if(x=T-=S.value.length,S.value instanceof a)continue;for(var P=S;P!==t.tail&&(T<C||"string"==typeof P.value);P=P.next)A++,T+=P.value.length;A--,_=e.slice(x,T),E.index-=x}else if(!(E=o(w,0,_,y)))continue;j=E.index;var I=E[0],N=_.slice(0,j),O=_.slice(j+I.length),$=x+_.length;d&&$>d.reach&&(d.reach=$);var L=S.prev;if(N&&(L=c(t,L,N),x+=N.length),l(t,L,A),S=c(t,L,new a(p,g?r.tokenize(I,g):I,v,I)),O&&c(t,S,O),A>1){var R={cause:p+","+m,reach:$};i(e,t,n,S.prev,x,R),d&&R.reach>d.reach&&(d.reach=R.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function l(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var s="";for(var c in o.attributes)s+=" "+c+'="'+(o.attributes[c]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return s||(0,i[g(i)[0]])((s={exports:{}}).exports,s),s.exports}),A=((e,t,n)=>(n=null!=e?d(b(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of g(t))v.call(e,a)||a===n||p(e,a,{get:()=>t[a],enumerable:!(r=m(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:p(n,"default",{value:e,enumerable:!0}),e)))(E());A.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},A.languages.markup.tag.inside["attr-value"].inside.entity=A.languages.markup.entity,A.languages.markup.doctype.inside["internal-subset"].inside=A.languages.markup,A.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(A.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:A.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:A.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},A.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(A.languages.markup.tag,"addAttribute",{value:function(e,t){A.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:A.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),A.languages.html=A.languages.markup,A.languages.mathml=A.languages.markup,A.languages.svg=A.languages.markup,A.languages.xml=A.languages.extend("markup",{}),A.languages.ssml=A.languages.xml,A.languages.atom=A.languages.xml,A.languages.rss=A.languages.xml,function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",a=(r=RegExp(r+"-"+r),{pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"});e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:r,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":a}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":a}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(A),A.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},A.languages.javascript=A.languages.extend("clike",{"class-name":[A.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),A.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,A.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:A.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:A.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:A.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:A.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:A.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),A.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:A.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),A.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),A.languages.markup&&(A.languages.markup.tag.addInlined("script","javascript"),A.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),A.languages.js=A.languages.javascript,A.languages.actionscript=A.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),A.languages.actionscript["class-name"].alias="function",delete A.languages.actionscript.parameter,delete A.languages.actionscript["literal-property"],A.languages.markup&&A.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:A.languages.markup}}),l=/#(?!\{).+/,u={pattern:/#\{[^}]+\}/,alias:"variable"},(c=A).languages.coffeescript=c.languages.extend("javascript",{comment:l,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:u}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),c.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:l,interpolation:u}}}),c.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:c.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:u}}]}),c.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete c.languages.coffeescript["template-string"],c.languages.coffee=c.languages.coffeescript,function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},a="doc-comment";if(o=e.languages[t]){var o,i=o[a];if((i=i||(o=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=o[a]={pattern:i}),Array.isArray(i))for(var s=0,c=i.length;s<c;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),r(i[s]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(A),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(A),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(A),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(A),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r];if(o=/language-(.+)/.exec(o)){n=o[1];break}}var l,u=e.languages[n];u?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),c(n)):s[t]||e})),u,n):n&&"none"!==n&&e.plugins.autoloader&&(l="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=l,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(l);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},c=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(A),A.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:A.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},A.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var o=p(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=u(0);"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,f(u(0),"property-mutation"),0<a.length)){var s=p(/^\{$/,/^\}$/);if(-1!==s)for(var c=n;c<s;c++){var l=t[c];"variable"===l.type&&0<=a.indexOf(l.content)&&f(l,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return}return 1}function p(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))a++;else if(r.test(s)&&0==--a)return o}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),A.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function c(t,n,i){var c=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),l=0,u={},d=(c=s(c.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=l++,n="___"+i.toUpperCase()+"_"+r+"___")););return u[n]=e,n})).join(""),n,i),Object.keys(u));return l=0,function t(n){for(var o=0;o<n.length;o++){if(l>=d.length)return;var i,c,p,f,m,h,g,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[l],-1!==(g=(h="string"==typeof y?y:y.content).indexOf(i))&&(++l,c=h.substring(0,g),m=u[i],p=void 0,(f={})["interpolation-punctuation"]=a,3===(f=e.tokenize(m,f)).length&&((p=[1,1]).push.apply(p,s(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,m),f=h.substring(g+i.length),m=[],c&&m.push(c),m.push(p),f&&(t(h=[f]),m.push.apply(m,h)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(m)),o+=m.length-1):y.content=m)):(g=y.content,Array.isArray(g)?t(g):t([g]))}}(c),new e.Token(i,c,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var l={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function u(e){return"string"==typeof e?e:Array.isArray(e)?e.map(u).join(""):u(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in l&&function t(n){for(var r=0,a=n.length;r<a;r++){var o,i,s,l=n[r];"string"!=typeof l&&(o=l.content,Array.isArray(o)?"template-string"===l.type?(l=o[1],3===o.length&&"string"!=typeof l&&"embedded-code"===l.type&&(i=u(l),l=l.alias,l=Array.isArray(l)?l[0]:l,s=e.languages[l])&&(o[1]=c(i,s,l))):t(o):"string"!=typeof o&&t([o]))}}(t.tokens)}))}(A),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(A),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(A),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(A),A.languages.n4js=A.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),A.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),A.languages.n4jsd=A.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(A),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;"string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===s(a.content[0].content[1])&&n.pop():"/>"!==a.content[a.content.length-1].content&&n.push({tagName:s(a.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&0<n.length&&0===n[n.length-1].openedBraces&&(o=s(a),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(o+=s(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(o=s(t[r-1])+o,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",o,null,o)),a.content&&"string"!=typeof a.content&&i(a.content)}}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(A),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(A),A.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},A.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=A.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(A),A.languages.c=A.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),A.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),A.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},A.languages.c.string],char:A.languages.c.char,comment:A.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:A.languages.c}}}}),A.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete A.languages.c.boolean,A.languages.objectivec=A.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete A.languages.objectivec["class-name"],A.languages.objc=A.languages.objectivec,A.languages.reason=A.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),A.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete A.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(A),A.languages.go=A.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),A.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete A.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(A),A.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},A.languages.python["string-interpolation"].inside.interpolation.inside.rest=A.languages.python,A.languages.py=A.languages.python,A.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},A.languages.webmanifest=A.languages.json;((e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>j,duotoneDark:()=>C,duotoneLight:()=>T,github:()=>P,gruvboxMaterialDark:()=>V,gruvboxMaterialLight:()=>K,jettwaveDark:()=>q,jettwaveLight:()=>W,nightOwl:()=>I,nightOwlLight:()=>N,oceanicNext:()=>L,okaidia:()=>R,oneDark:()=>Q,oneLight:()=>H,palenight:()=>D,shadesOfPurple:()=>F,synthwave84:()=>M,ultramin:()=>z,vsDark:()=>B,vsLight:()=>U});var j={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},C={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},T={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},P={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},I={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},N={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},O="#c5a5c5",$="#8dc891",L={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:O}},{types:["attr-value"],style:{color:$}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:$}},{types:["punctuation"],style:{color:$}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:O}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},R={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},D={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},F={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},M={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},z={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},B={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},U={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},q={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},W={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Q={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},H={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},V={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},K={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},G=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),a);e[t]=n})),e}),{});return r.root=n,r.plain=x(S({},n),{backgroundColor:void 0}),r},Y=/\r\n|\r|\n/,J=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Z=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},X=e=>{const t=[[]],n=[e],r=[0],a=[e.length];let o=0,i=0,s=[];const c=[s];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,l=t[i];const u=n[i][o];if("string"==typeof u?(l=i>0?l:["plain"],e=u):(l=Z(l,u.type),u.alias&&(l=Z(l,u.alias)),e=u.content),"string"!=typeof e){i++,t.push(l),n.push(e),r.push(0),a.push(e.length);continue}const d=e.split(Y),p=d.length;s.push({types:l,content:d[0]});for(let t=1;t<p;t++)J(s),c.push(s=[]),s.push({types:l,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return J(s),c},ee=({children:e,language:t,code:n,theme:a,prism:i})=>{const s=t.toLowerCase(),c=((e,t)=>{const[n,a]=(0,r.useState)(G(t,e)),o=(0,r.useRef)(),i=(0,r.useRef)();return(0,r.useEffect)((()=>{t===o.current&&e===i.current||(o.current=t,i.current=e,a(G(t,e)))}),[e,t]),n})(s,a),l=(e=>(0,r.useCallback)((t=>{var n=t,{className:r,style:a,line:i}=n,s=_(n,["className","style","line"]);const c=x(S({},s),{className:o("token-line",r)});return"object"==typeof e&&"plain"in e&&(c.style=e.plain),"object"==typeof a&&(c.style=S(S({},c.style||{}),a)),c}),[e]))(c),u=(e=>{const t=(0,r.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,r.useCallback)((e=>{var n=e,{token:r,className:a,style:i}=n,s=_(n,["token","className","style"]);const c=x(S({},s),{className:o("token",...r.types,a),children:r.content,style:t(r)});return null!=i&&(c.style=S(S({},c.style||{}),i)),c}),[t])})(c),d=(({prism:e,code:t,grammar:n,language:a})=>{const o=(0,r.useRef)(e);return(0,r.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:a,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(t,n),o.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,a])})({prism:i,language:s,code:n,grammar:i.languages[s]});return e({tokens:d,className:`prism-code language-${s}`,style:null!=c?c.root:{},getLineProps:l,getTokenProps:u})},te=e=>(0,r.createElement)(ee,x(S({},e),{prism:e.prism||A,theme:e.theme||B,code:e.code,language:e.language}))},11561:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},31635:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>L,__assign:()=>o,__asyncDelegator:()=>E,__asyncGenerator:()=>_,__asyncValues:()=>A,__await:()=>x,__awaiter:()=>m,__classPrivateFieldGet:()=>N,__classPrivateFieldIn:()=>$,__classPrivateFieldSet:()=>O,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>D,__esDecorate:()=>l,__exportStar:()=>y,__extends:()=>a,__generator:()=>h,__importDefault:()=>I,__importStar:()=>P,__makeTemplateObject:()=>j,__metadata:()=>f,__param:()=>c,__propKey:()=>d,__read:()=>v,__rest:()=>i,__rewriteRelativeImportExtension:()=>F,__runInitializers:()=>u,__setFunctionName:()=>p,__spread:()=>k,__spreadArray:()=>S,__spreadArrays:()=>w,__values:()=>b,default:()=>M});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])},r(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new 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;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},o.apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function s(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var m={};for(var h in r)m[h]="access"===h?{}:r[h];for(var h in r.access)m.access[h]=r.access[h];m.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var g=(0,n[f])("accessor"===c?{get:d.get,set:d.set}:d[l],m);if("accessor"===c){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=i(g.get))&&(d.get=s),(s=i(g.set))&&(d.set=s),(s=i(g.init))&&a.unshift(s)}else(s=i(g))&&("field"===c?a.unshift(s):d[l]=s)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function m(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((r=r.apply(e,t||[])).next())}))}function h(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=s(0),i.throw=s(1),i.return=s(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(c){s=[6,c],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(s){a={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function k(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var o=arguments[t],i=0,s=o.length;i<s;i++,a++)r[a]=o[i];return r}function S(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",(function(e){return function(t){return Promise.resolve(t).then(e,l)}})),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){a[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=a[e](t)).value instanceof x?Promise.resolve(n.value.v).then(c,l):u(o[0][2],n)}catch(r){u(o[0][3],r)}var n}function c(e){s("next",e)}function l(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function E(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:x(e[r](t)),done:!1}:a?a(t):t}:a}}function A(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(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,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}}function j(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var C=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},T=function(e){return T=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},T(e)};function P(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=T(e),r=0;r<n.length;r++)"default"!==n[r]&&g(t,e,n[r]);return C(t,e),t}function I(e){return e&&e.__esModule?e:{default:e}}function N(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function $(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function L(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,a;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(a=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var R="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function D(e){function t(t){e.error=e.hasError?new R(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function a(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(a,(function(e){return t(e),a()}))}else r|=1}catch(i){t(i)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function F(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,n,r,a,o){return n?t?".jsx":".js":!r||a&&o?r+a+"."+o.toLowerCase()+"js":e})):e}const M={__extends:a,__assign:o,__rest:i,__decorate:s,__param:c,__esDecorate:l,__runInitializers:u,__propKey:d,__setFunctionName:p,__metadata:f,__awaiter:m,__generator:h,__createBinding:g,__exportStar:y,__values:b,__read:v,__spread:k,__spreadArrays:w,__spreadArray:S,__await:x,__asyncGenerator:_,__asyncDelegator:E,__asyncValues:A,__makeTemplateObject:j,__importStar:P,__importDefault:I,__classPrivateFieldGet:N,__classPrivateFieldSet:O,__classPrivateFieldIn:$,__addDisposableResource:L,__disposeResources:D,__rewriteRelativeImportExtension:F}},22654:e=>{"use strict";e.exports={}},84054:e=>{"use strict";e.exports=JSON.parse('{"/daikoku/openapi-603":{"__comp":"f0ad3fbb","__context":{"plugin":"6ba57622"},"specProps":"6ba831b6","layoutProps":"fc0be43e"},"/daikoku/search-1a4":{"__comp":"1a4e3797","__context":{"plugin":"138e0e15"}},"/daikoku/docs-b08":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/daikoku/docs-64e":{"__comp":"a7bd4aaa","__props":"0019c764"},"/daikoku/docs/tags-807":{"__comp":"3720c009","__props":"3d674ee3"},"/daikoku/docs/tags/installation-e9d":{"__comp":"df203c0f","__props":"530b026d"},"/daikoku/docs/tags/licence-f48":{"__comp":"df203c0f","__props":"beb35022"},"/daikoku/docs-9a1":{"__comp":"a94703ab"},"/daikoku/docs/cli/-928":{"__comp":"17896441","content":"d7242cac"},"/daikoku/docs/cli/apis-to-business-website/-80a":{"__comp":"17896441","content":"22493dda"},"/daikoku/docs/cli/apis-to-business-website/add-dynamic-content-dc2":{"__comp":"17896441","content":"144d83f2"},"/daikoku/docs/cli/apis-to-business-website/add-personal-assets-5b5":{"__comp":"17896441","content":"fb4f8d45"},"/daikoku/docs/cli/apis-to-business-website/build-your-first-layout-3fc":{"__comp":"17896441","content":"7da7b125"},"/daikoku/docs/cli/apis-to-business-website/configure-custom-emails-ec3":{"__comp":"17896441","content":"9cff9f48"},"/daikoku/docs/cli/apis-to-business-website/create-react-component-eef":{"__comp":"17896441","content":"606788fe"},"/daikoku/docs/cli/apis-to-business-website/create-your-first-page copy-bdc":{"__comp":"17896441","content":"5d70e2c8"},"/daikoku/docs/cli/apis-to-business-website/create-your-first-project-e70":{"__comp":"17896441","content":"a90bcd30"},"/daikoku/docs/cli/apis-to-business-website/define-and-use-a-variable-1d7":{"__comp":"17896441","content":"ed11db58"},"/daikoku/docs/cli/apis-to-business-website/deploy-your-website copy-845":{"__comp":"17896441","content":"92a12325"},"/daikoku/docs/cli/apis-to-business-website/dev-mode-a86":{"__comp":"17896441","content":"3a667e87"},"/daikoku/docs/cli/apis-to-business-website/edit-your-home-page-36d":{"__comp":"17896441","content":"99cb6e1e"},"/daikoku/docs/cli/apis-to-business-website/style-your-apis-page-caf":{"__comp":"17896441","content":"23bfcfa6"},"/daikoku/docs/cli/informations/-db3":{"__comp":"17896441","content":"199d0080"},"/daikoku/docs/getstarted/-96d":{"__comp":"17896441","content":"55940994"},"/daikoku/docs/getstarted/about-ba6":{"__comp":"17896441","content":"331c362e"},"/daikoku/docs/getstarted/firstrun/-e8b":{"__comp":"17896441","content":"67a8f2c5"},"/daikoku/docs/getstarted/firstrun/configfile-661":{"__comp":"17896441","content":"8129fd32"},"/daikoku/docs/getstarted/firstrun/datastore-dfa":{"__comp":"17896441","content":"2d238738"},"/daikoku/docs/getstarted/firstrun/env-c87":{"__comp":"17896441","content":"484e5d86"},"/daikoku/docs/getstarted/firstrun/initialstate-cf8":{"__comp":"17896441","content":"8ca3e574"},"/daikoku/docs/getstarted/firstrun/run-622":{"__comp":"17896441","content":"092b0f67"},"/daikoku/docs/getstarted/getdaikoku/-c1c":{"__comp":"17896441","content":"28af0bc8"},"/daikoku/docs/getstarted/quickstart-2e4":{"__comp":"17896441","content":"37484594"},"/daikoku/docs/getstarted/setup/-9ac":{"__comp":"17896441","content":"37a8690e"},"/daikoku/docs/getstarted/setup/admin-c31":{"__comp":"17896441","content":"3bccb1e5"},"/daikoku/docs/getstarted/setup/reporting-c46":{"__comp":"17896441","content":"637d173b"},"/daikoku/docs/guides/-8ee":{"__comp":"17896441","content":"c5a98549"},"/daikoku/docs/guides/apis-9bc":{"__comp":"17896441","content":"7cdc31f5"},"/daikoku/docs/guides/archi-137":{"__comp":"17896441","content":"0e3215c3"},"/daikoku/docs/guides/authentication-baa":{"__comp":"17896441","content":"9755f291"},"/daikoku/docs/guides/deploy-6d0":{"__comp":"17896441","content":"d5060a81"},"/daikoku/docs/guides/integrations-9e1":{"__comp":"17896441","content":"e83df34e"},"/daikoku/docs/usages/-a78":{"__comp":"17896441","content":"2820f203"},"/daikoku/docs/usages/adminusage/-b6c":{"__comp":"17896441","content":"6b339c0f"},"/daikoku/docs/usages/adminusage/importexport-4c3":{"__comp":"17896441","content":"b277a811"},"/daikoku/docs/usages/adminusage/sessions-5a0":{"__comp":"17896441","content":"9117216e"},"/daikoku/docs/usages/adminusage/tenants-c7b":{"__comp":"17896441","content":"91086ed6"},"/daikoku/docs/usages/adminusage/users-c7f":{"__comp":"17896441","content":"07c0c607"},"/daikoku/docs/usages/consumerusage/-b59":{"__comp":"17896441","content":"03885ea5"},"/daikoku/docs/usages/consumerusage/aggregation-of-apikeys-8dc":{"__comp":"17896441","content":"ee06beb8"},"/daikoku/docs/usages/consumerusage/apikeys-2bc":{"__comp":"17896441","content":"3f62fecf"},"/daikoku/docs/usages/consumerusage/billing-9fd":{"__comp":"17896441","content":"bb669cdd"},"/daikoku/docs/usages/consumerusage/fastmode-f62":{"__comp":"17896441","content":"47f5f50e"},"/daikoku/docs/usages/consumerusage/subscribe-f7a":{"__comp":"17896441","content":"73b1ab36"},"/daikoku/docs/usages/producerusage/-bbf":{"__comp":"17896441","content":"aa74e104"},"/daikoku/docs/usages/producerusage/apis-f6b":{"__comp":"17896441","content":"64737f0d"},"/daikoku/docs/usages/producerusage/assets-8a6":{"__comp":"17896441","content":"c9d9ec16"},"/daikoku/docs/usages/producerusage/income-527":{"__comp":"17896441","content":"7482af60"},"/daikoku/docs/usages/producerusage/members-c2e":{"__comp":"17896441","content":"d9990e8a"},"/daikoku/docs/usages/producerusage/subscriptions-a40":{"__comp":"17896441","content":"d8973fa8"},"/daikoku/docs/usages/tenantusage/-443":{"__comp":"17896441","content":"e06b81f4"},"/daikoku/docs/usages/tenantusage/1.5-initialize-337":{"__comp":"17896441","content":"6a9470e5"},"/daikoku/docs/usages/tenantusage/5.5-display-ba3":{"__comp":"17896441","content":"18f231a6"},"/daikoku/docs/usages/tenantusage/assets-772":{"__comp":"17896441","content":"fa8a5ad9"},"/daikoku/docs/usages/tenantusage/cms-6ab":{"__comp":"17896441","content":"4fd64565"},"/daikoku/docs/usages/tenantusage/messages-36c":{"__comp":"17896441","content":"c658d08c"},"/daikoku/docs/usages/tenantusage/otoroshi-17e":{"__comp":"17896441","content":"c5f7dd62"},"/daikoku/docs/usages/tenantusage/teams-22f":{"__comp":"17896441","content":"e953d3c5"},"/daikoku/docs/usages/tenantusage/translations-5a6":{"__comp":"17896441","content":"ef4bb451"},"/daikoku/-87e":{"__comp":"c4f5d8e4","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')},24180:e=>{"use strict";e.exports=JSON.parse('{"N":"localStorage","M":""}')}},e=>{e.O(0,[1869],(()=>{return t=64808,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/docs/assets/js/main.a34f8fc9.js.LICENSE.txt b/docs/assets/js/main.a34f8fc9.js.LICENSE.txt new file mode 100644 index 000000000..89312577e --- /dev/null +++ b/docs/assets/js/main.a34f8fc9.js.LICENSE.txt @@ -0,0 +1,142 @@ +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */ + +/*! + * Snowball JavaScript Library v0.3 + * http://code.google.com/p/urim/ + * http://snowball.tartarus.org/ + * + * Copyright 2010, Oleg Mazko + * http://www.mozilla.org/MPL/ + */ + +/*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + */ + +/*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */ + +/*! Bundled license information: + +prismjs/prism.js: + (** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT <https://opensource.org/licenses/MIT> + * @author Lea Verou <https://lea.verou.me> + * @namespace + * @public + *) +*/ + +/*!*************************************************** +* mark.js v8.11.1 +* https://markjs.io/ +* Copyright (c) 2014–2018, Julian Kühnel +* Released under the MIT license https://git.io/vwTVl +*****************************************************/ + +/** + * @license React + * react-dom.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. + */ + +/** + * @license React + * react-jsx-runtime.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. + */ + +/** + * @license React + * react.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. + */ + +/** + * @license React + * scheduler.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. + */ + +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */ + +/** @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. + */ diff --git a/docs/assets/js/runtime~main.9c363b9c.js b/docs/assets/js/runtime~main.9c363b9c.js new file mode 100644 index 000000000..f4a00f116 --- /dev/null +++ b/docs/assets/js/runtime~main.9c363b9c.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,a,d,c,f,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(d.exports,d,d.exports,r),d.loaded=!0,d.exports}r.m=b,e=[],r.O=(a,d,c,f)=>{if(!d){var b=1/0;for(i=0;i<e.length;i++){d=e[i][0],c=e[i][1],f=e[i][2];for(var t=!0,o=0;o<d.length;o++)(!1&f||b>=f)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,f<b&&(b=f));if(t){e.splice(i--,1);var n=c();void 0!==n&&(a=n)}}return a}f=f||0;for(var i=e.length;i>0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[d,c,f]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var b={};a=a||[null,d({}),d([]),d(d)];for(var t=2&c&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(f,b),f},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({50:"3d674ee3",58:"beb35022",102:"c5f7dd62",580:"c658d08c",921:"9117216e",934:"22493dda",1168:"6ba831b6",1235:"a7456010",1256:"55940994",1444:"37a8690e",1657:"0019c764",1801:"5d70e2c8",1975:"c9d9ec16",2138:"1a4e3797",2248:"64737f0d",2273:"092b0f67",2632:"2820f203",2634:"c4f5d8e4",2873:"7cdc31f5",2908:"637d173b",2928:"73b1ab36",2969:"f0ad3fbb",3145:"67a8f2c5",3167:"ed11db58",3339:"484e5d86",3587:"28af0bc8",3789:"c5a98549",4078:"199d0080",4112:"b277a811",4126:"e953d3c5",4172:"91086ed6",4223:"606788fe",4279:"df203c0f",4347:"d7242cac",4539:"8ca3e574",4563:"9755f291",4627:"3bccb1e5",4720:"3a667e87",4787:"3720c009",4796:"03885ea5",4921:"138e0e15",5033:"18f231a6",5297:"4fd64565",5563:"7482af60",5564:"23bfcfa6",5742:"aba21aa0",6166:"9cff9f48",7098:"a7bd4aaa",7099:"e06b81f4",7167:"d8973fa8",7192:"ef4bb451",7264:"6a9470e5",7377:"530b026d",7603:"a90bcd30",7681:"0e3215c3",8058:"92a12325",8265:"e83df34e",8350:"aa74e104",8401:"17896441",8551:"6b339c0f",8574:"fa8a5ad9",8617:"07c0c607",8623:"144d83f2",8683:"99cb6e1e",8700:"fb4f8d45",8882:"2d238738",9007:"37484594",9048:"a94703ab",9096:"d9990e8a",9098:"ee06beb8",9117:"47f5f50e",9130:"6ba57622",9185:"331c362e",9203:"fc0be43e",9207:"bb669cdd",9276:"8129fd32",9544:"3f62fecf",9647:"5e95c892",9914:"7da7b125",9952:"d5060a81"}[e]||e)+"."+{50:"b8bc74c4",58:"e48b002e",102:"18a5bee6",489:"6525d58b",580:"13b6388b",921:"755349ff",934:"1af22f9d",1168:"7b74ccf5",1235:"9aa70c4a",1256:"31316f68",1444:"f4e35428",1657:"06c6171c",1801:"794d96c6",1975:"cafa30d3",2138:"f8685d1b",2237:"b046eb9f",2248:"40109041",2273:"e7f15b34",2632:"07eede48",2634:"be1019b3",2873:"deee9f99",2908:"b7ec4183",2928:"fd9a2dd0",2969:"186395f7",3145:"49493cd7",3167:"3bb72ca6",3339:"c413ebe1",3587:"8c25957a",3789:"6b4cf55e",4078:"be6d40b2",4112:"d147bd3c",4126:"52a31f7f",4172:"01cd7b95",4223:"38364217",4279:"9f439e8f",4347:"0b1673b6",4539:"4cf059c6",4563:"dcc5799c",4627:"4b656645",4720:"0d3a97e3",4787:"7f7055fc",4796:"25e04147",4921:"cedf0e18",5033:"6602148e",5297:"7bccaca9",5563:"5bd61df4",5564:"bfdbbe40",5741:"9607e1ea",5742:"5384ca86",6166:"86b06744",6881:"c0293a55",7098:"dbfb3eca",7099:"33681dd8",7167:"c5f02f53",7192:"aeb903cb",7264:"e830966e",7377:"e189e2ad",7603:"bcd8f32b",7681:"b24995ac",8058:"730f0214",8265:"b5bb39c4",8350:"522e2251",8401:"53712574",8551:"2d6887e4",8574:"99c63c15",8617:"a0fbb167",8623:"2f9b3151",8683:"483d8b06",8700:"b97c72ac",8882:"bf392c16",9007:"66171a2f",9048:"40235ea8",9096:"854b13ce",9098:"cc4c29d9",9117:"01d367c8",9130:"6048356a",9185:"0aefe8b7",9203:"cc2bfb14",9207:"8705f1aa",9276:"31d07e5f",9544:"7c6ea9b6",9647:"668b0afe",9914:"2045e6b5",9952:"2a8371c0"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),c={},f="daikoku-documentation:",r.l=(e,a,d,b)=>{if(c[e])c[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==f+d){t=u;break}}t||(o=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,r.nc&&t.setAttribute("nonce",r.nc),t.setAttribute("data-webpack",f+d),t.src=e),c[e]=[a];var l=(a,d)=>{t.onerror=t.onload=null,clearTimeout(s);var f=c[e];if(delete c[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(d))),a)return a(d)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/daikoku/",r.gca=function(e){return e={17896441:"8401",37484594:"9007",55940994:"1256","3d674ee3":"50",beb35022:"58",c5f7dd62:"102",c658d08c:"580","9117216e":"921","22493dda":"934","6ba831b6":"1168",a7456010:"1235","37a8690e":"1444","0019c764":"1657","5d70e2c8":"1801",c9d9ec16:"1975","1a4e3797":"2138","64737f0d":"2248","092b0f67":"2273","2820f203":"2632",c4f5d8e4:"2634","7cdc31f5":"2873","637d173b":"2908","73b1ab36":"2928",f0ad3fbb:"2969","67a8f2c5":"3145",ed11db58:"3167","484e5d86":"3339","28af0bc8":"3587",c5a98549:"3789","199d0080":"4078",b277a811:"4112",e953d3c5:"4126","91086ed6":"4172","606788fe":"4223",df203c0f:"4279",d7242cac:"4347","8ca3e574":"4539","9755f291":"4563","3bccb1e5":"4627","3a667e87":"4720","3720c009":"4787","03885ea5":"4796","138e0e15":"4921","18f231a6":"5033","4fd64565":"5297","7482af60":"5563","23bfcfa6":"5564",aba21aa0:"5742","9cff9f48":"6166",a7bd4aaa:"7098",e06b81f4:"7099",d8973fa8:"7167",ef4bb451:"7192","6a9470e5":"7264","530b026d":"7377",a90bcd30:"7603","0e3215c3":"7681","92a12325":"8058",e83df34e:"8265",aa74e104:"8350","6b339c0f":"8551",fa8a5ad9:"8574","07c0c607":"8617","144d83f2":"8623","99cb6e1e":"8683",fb4f8d45:"8700","2d238738":"8882",a94703ab:"9048",d9990e8a:"9096",ee06beb8:"9098","47f5f50e":"9117","6ba57622":"9130","331c362e":"9185",fc0be43e:"9203",bb669cdd:"9207","8129fd32":"9276","3f62fecf":"9544","5e95c892":"9647","7da7b125":"9914",d5060a81:"9952"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,d)=>{var c=r.o(e,a)?e[a]:void 0;if(0!==c)if(c)d.push(c[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var f=new Promise(((d,f)=>c=e[a]=[d,f]));d.push(c[2]=f);var b=r.p+r.u(a),t=new Error;r.l(b,(d=>{if(r.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var f=d&&("load"===d.type?"missing":d.type),b=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+f+": "+b+")",t.name="ChunkLoadError",t.type=f,t.request=b,c[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var c,f,b=d[0],t=d[1],o=d[2],n=0;if(b.some((a=>0!==e[a]))){for(c in t)r.o(t,c)&&(r.m[c]=t[c]);if(o)var i=o(r)}for(a&&a(d);n<b.length;n++)f=b[n],r.o(e,f)&&e[f]&&e[f][0](),e[f]=0;return r.O(i)},d=self.webpackChunkdaikoku_documentation=self.webpackChunkdaikoku_documentation||[];d.forEach(a.bind(null,0)),d.push=a.bind(null,d.push.bind(d))})(),r.nc=void 0})(); \ No newline at end of file diff --git a/docs/docs/cli/apis-to-business-website/add-dynamic-content/index.html b/docs/docs/cli/apis-to-business-website/add-dynamic-content/index.html index 6f1dffb79..7c6e02c7e 100644 --- a/docs/docs/cli/apis-to-business-website/add-dynamic-content/index.html +++ b/docs/docs/cli/apis-to-business-website/add-dynamic-content/index.html @@ -4,8 +4,8 @@ <meta charset="UTF-8"> <meta name="generator" content="Docusaurus v3.6.2"> <title data-rh="true">Add dynamic content | Daikoku - - + +

    Add dynamic content

    diff --git a/docs/docs/cli/apis-to-business-website/add-personal-assets/index.html b/docs/docs/cli/apis-to-business-website/add-personal-assets/index.html index 2fc4fa383..c67913838 100644 --- a/docs/docs/cli/apis-to-business-website/add-personal-assets/index.html +++ b/docs/docs/cli/apis-to-business-website/add-personal-assets/index.html @@ -4,8 +4,8 @@ Add personal assets | Daikoku - - + +

    Add personal assets

    diff --git a/docs/docs/cli/apis-to-business-website/build-your-first-layout/index.html b/docs/docs/cli/apis-to-business-website/build-your-first-layout/index.html index bbcff26f3..f6d6f7ce0 100644 --- a/docs/docs/cli/apis-to-business-website/build-your-first-layout/index.html +++ b/docs/docs/cli/apis-to-business-website/build-your-first-layout/index.html @@ -4,8 +4,8 @@ Build your first layout | Daikoku - - + +

    Build your first layout

    diff --git a/docs/docs/cli/apis-to-business-website/configure-custom-emails/index.html b/docs/docs/cli/apis-to-business-website/configure-custom-emails/index.html index 64657ce47..603cac38e 100644 --- a/docs/docs/cli/apis-to-business-website/configure-custom-emails/index.html +++ b/docs/docs/cli/apis-to-business-website/configure-custom-emails/index.html @@ -4,8 +4,8 @@ Configure custom emails | Daikoku - - + +

    Configure custom emails

    diff --git a/docs/docs/cli/apis-to-business-website/create-react-component/index.html b/docs/docs/cli/apis-to-business-website/create-react-component/index.html index e302f88cb..21cdda375 100644 --- a/docs/docs/cli/apis-to-business-website/create-react-component/index.html +++ b/docs/docs/cli/apis-to-business-website/create-react-component/index.html @@ -4,8 +4,8 @@ Create react component | Daikoku - - + +

    Create react component

    diff --git a/docs/docs/cli/apis-to-business-website/create-your-first-page copy/index.html b/docs/docs/cli/apis-to-business-website/create-your-first-page copy/index.html index 6b1c93718..289b3331d 100644 --- a/docs/docs/cli/apis-to-business-website/create-your-first-page copy/index.html +++ b/docs/docs/cli/apis-to-business-website/create-your-first-page copy/index.html @@ -4,8 +4,8 @@ Create your first page | Daikoku - - + +

    Create your first page

    diff --git a/docs/docs/cli/apis-to-business-website/create-your-first-project/index.html b/docs/docs/cli/apis-to-business-website/create-your-first-project/index.html index 5032ed754..eeaad29b4 100644 --- a/docs/docs/cli/apis-to-business-website/create-your-first-project/index.html +++ b/docs/docs/cli/apis-to-business-website/create-your-first-project/index.html @@ -4,8 +4,8 @@ Create your first project | Daikoku - - + +

    Create your first project

    diff --git a/docs/docs/cli/apis-to-business-website/define-and-use-a-variable/index.html b/docs/docs/cli/apis-to-business-website/define-and-use-a-variable/index.html index a9fdbec8a..79e4a13e7 100644 --- a/docs/docs/cli/apis-to-business-website/define-and-use-a-variable/index.html +++ b/docs/docs/cli/apis-to-business-website/define-and-use-a-variable/index.html @@ -4,8 +4,8 @@ Define and use a variable | Daikoku - - + +

    Define and use a variable

    diff --git a/docs/docs/cli/apis-to-business-website/deploy-your-website copy/index.html b/docs/docs/cli/apis-to-business-website/deploy-your-website copy/index.html index 4e4023abb..1823a1680 100644 --- a/docs/docs/cli/apis-to-business-website/deploy-your-website copy/index.html +++ b/docs/docs/cli/apis-to-business-website/deploy-your-website copy/index.html @@ -4,8 +4,8 @@ Deploy your site | Daikoku - - + +

    Deploy your site

    diff --git a/docs/docs/cli/apis-to-business-website/dev-mode/index.html b/docs/docs/cli/apis-to-business-website/dev-mode/index.html index cb40f8376..619bce581 100644 --- a/docs/docs/cli/apis-to-business-website/dev-mode/index.html +++ b/docs/docs/cli/apis-to-business-website/dev-mode/index.html @@ -4,8 +4,8 @@ Developer mode | Daikoku - - + +

    Developer mode

    diff --git a/docs/docs/cli/apis-to-business-website/edit-your-home-page/index.html b/docs/docs/cli/apis-to-business-website/edit-your-home-page/index.html index 53c9a898f..b3b2f1313 100644 --- a/docs/docs/cli/apis-to-business-website/edit-your-home-page/index.html +++ b/docs/docs/cli/apis-to-business-website/edit-your-home-page/index.html @@ -4,8 +4,8 @@ Edit your home page | Daikoku - - + +

    Edit your home page

    diff --git a/docs/docs/cli/apis-to-business-website/index.html b/docs/docs/cli/apis-to-business-website/index.html index 3ed81ecea..6a92beefb 100644 --- a/docs/docs/cli/apis-to-business-website/index.html +++ b/docs/docs/cli/apis-to-business-website/index.html @@ -4,8 +4,8 @@ Tutorial | Daikoku - - + +

    Tutorial

    diff --git a/docs/docs/cli/apis-to-business-website/style-your-apis-page/index.html b/docs/docs/cli/apis-to-business-website/style-your-apis-page/index.html index 8360e639e..9b51c31fe 100644 --- a/docs/docs/cli/apis-to-business-website/style-your-apis-page/index.html +++ b/docs/docs/cli/apis-to-business-website/style-your-apis-page/index.html @@ -4,8 +4,8 @@ Style your APIs page | Daikoku - - + +

    Style your APIs page

    diff --git a/docs/docs/cli/index.html b/docs/docs/cli/index.html index 1b7bd60ca..b55819fe9 100644 --- a/docs/docs/cli/index.html +++ b/docs/docs/cli/index.html @@ -4,8 +4,8 @@ CLI | Daikoku - - + + diff --git a/docs/docs/cli/informations/index.html b/docs/docs/cli/informations/index.html index 00e4132e9..d840b3f1b 100644 --- a/docs/docs/cli/informations/index.html +++ b/docs/docs/cli/informations/index.html @@ -4,8 +4,8 @@ Informations | Daikoku - - + +

    Informations

    @@ -13,67 +13,142 @@
    CLI Architecture

    Installation

    This project can be installed and compiled from source with this Cargo command:

    -
    $ cargo install daikokucli
    or
    $ brew tap maif/daikokucli
    $ brew install daikokucli
    +
    $ cargo install daikoku
    or
    $ brew tap maif/daikoku
    $ brew install daikoku

    Additionally there are precompiled artifacts built on CI which are available for download as well.

    Installation can be confirmed with:

    -
    $ daikokucli version
    +
    $ daikoku version

    Subcommands can be explored with:

    -
    $ daikokucli help
    +
    $ daikoku help

    Core commands

    Daikokucli uses your home folder to store the list of projects inside a .daikoku file. Each project created with the CLI should contain a src folder and a .daikoku/.environments. This file will contain

    -

    You can start a new project

    -
    daikokucli create --name=<PROJECT_NAME> --path=<PROJECT_PATH_OR_CURRENT_FOLDER>
    +

    You can start a new project from scratch

    +
    daikoku cms init --name=<PROJECT_NAME> --path=<PROJECT_PATH_OR_CURRENT_FOLDER>
    +

    or import an existing one

    +
    daikoku cms migrate --name=<PROJECT_NAME> --path=<PROJECT_PATH_OR_CURRENT_FOLDER> --server=<DAIKOKU_SERVER> --apikey=<CMS_APIKEY>

    then add a default Daikoku environment

    -
    daikokucli environments add --name=<ENVIRONMENT_NAME> --server=<ENVIROMNENT_SERVER>
    +
    daikoku environments add --name=<ENVIRONMENT_NAME> --server=<ENVIROMNENT_SERVER> --apikey=<CMS_APIKEY>

    The Daikoku server has to be reachable and will be checked before saving the configuration

    +

    you can sync the new project with your Daikoku instance and fetch mails and apis

    +
    daikoku pull apis
    daikoku pull mails

    you can start to develop and watch file changes

    -
    daikokucli watch
    -

    Common practices involve utilizing the directives within the Daikoku CMS to access private entities based on the connected user's permissions. You have the option to configure the token for accessing your CMS with an authenticated user by pasting the token from your Daikoku profile page.

    -
    daikokucli login --token=<YOUR_TOKEN>
    -

    If you have many environments you can switch between us simply using

    -
    daikokucli watch --environment=<NAME_OF_YOUR_ENVIRONMENT>
    +
    daikoku watch
    +

    Common practices involve utilizing the directives within the Daikoku CMS to access private entities based on the connected user's permissions.

    +
    daikoku login
    +

    You can start to follow your changes using

    +
    daikoku watch --environment=<NAME_OF_YOUR_ENVIRONMENT>

    or permanently by changing the default project or environment

    -
    daikokucli environments default --name=<NAME_OF_YOUR_ENVIRONMENT>
    daikokucli projects default --name=<NAME_OF_YOUR_PROJECT>
    +
    daikoku environments switch --name=<NAME_OF_YOUR_ENVIRONMENT>
    daikoku cms switch --name=<NAME_OF_YOUR_PROJECT>

    you can view the currently used project and the others

    -
    daikokucli projects list
    +
    daikoku cms list

    At anytime, you can track an existing CMS folder or update its information

    -
    daikokucli projects add --name=<NAME_OF_YOUR_PROJECT> --path=<PATH_TO_YOUR_PROJECT> --overwrite=<true|false>
    -

    Once ready, you can synchronize your sources with the Daikoku environment

    -
    daikokucli sync
    +
    daikoku cms add --name=<NAME_OF_YOUR_PROJECT> --path=<PATH_TO_YOUR_PROJECT> --overwrite=<true|false>
    +

    Once ready, you can push your sources with the Daikoku environment

    +
    daikoku push

    Start a new project by importing an existing one

    If you already have a legacy CMS on your Daikoku, you can start by importing it

    -
    daikokucli projects import --name=<NEW_NAME_OF_YOUR_PROJECT> \
    --path=<PATH_TO_THE_NEW_PROJECT> \
    --server=<DAIKOKU_SERVER_TO_PULL> \
    --token=<AUTHENTICATION_TOKEN>
    +
    daikoku projects migrate --name=<NEW_NAME_OF_YOUR_PROJECT> \
    --path=<PATH_TO_THE_NEW_PROJECT> \
    --server=<DAIKOKU_SERVER_TO_PULL> \
    --apikey=<CMS_APIKEY>
    +

    CMS Structure

    +

    The CMS projects adhere to the following strict file structure:

    +
      +
    • +

      .daikoku: This hidden folder is used exclusively by Daikoku to store environments, secrets, and credentials. The only file you can edit here is the .daikokuignore, which allows you to exclude specific files from being pushed.

      +
    • +
    • +

      assets: Files placed in this folder can be uploaded to the Daikoku S3 Bucket associated with your project. They can then be accessed using a generated slug.

      +
    • +
    • +

      src: This folder contains all other source files, organized into the following subdirectories:

      +
        +
      • apis: Lists all APIs available in your Daikoku. Each API has its own subfolder containing a header and description folder.
      • +
      • data: Contains external data files such as JSON, YAML, CSV, and others.
      • +
      • pages: Stores all source files that are not categorized under apis, data, scripts, mails, or styles.
      • +
      • scripts: Contains JavaScript (JS) files.
      • +
      • styles: Contains CSS files.
      • +
      • documentations : Contains files that can be used as documentation page of APIs
      • +
      +
    • +
    +

    Dynamic routes

    +

    The CLI uses file-system routing where folders are used to create nested routes. Each folder represents a route segment that maps to a URL segment.

    +

    You can create separate UIs for each route using page.html files. page.html is a special CLI file that contains html content.

    +

    To create a nested route, you can nest folders inside each other and add page.html files inside them. For example:

    +
    src/pages/page.html           -> mysite.com/
    src/pages/invoices/page.html -> mysite.com/invoices
    src/pages/offres.html -> mysite.com/offres
    src/pages/apis/api/[apiId] -> mysite.com/apis/api/any-kind-of-api (the apiId value can be use in the page as mustache variable using {{apiId}})

    Manage your assets

    You can manage your images, diagrams, or any type of files directly by creating a /assets folder inside your CMS project.

    Each asset is save in the S3 of your Daikoku using the following command

    -
    daikokucli assets add --filename=<ASSET_FILENAME> \
    --path=<ONLY_NESTED_FOLDER_BEHIND_ASSETS_FOLDER> \
    --desc=<ASSET_DESCRIPTION> \
    --title=<ASSET_TITLE>
    --slug=<ASSET_SLUG>
    +
    daikoku assets push --filename=<ASSET_FILENAME> \
    --path=<ONLY_NESTED_FOLDER_BEHIND_ASSETS_FOLDER> \
    --desc=<ASSET_DESCRIPTION> \
    --title=<ASSET_TITLE>
    --slug=<ASSET_SLUG>

    If you require a particular slug for your asset, you have the option to replace the automatically generated one by specifying the slug field. Additionally, you can exclude the path field, which is only necessary when creating an asset from a subfolder within the assets directory.

    To delete your asset you have to give the filename and the slug iif it differs

    -
    daikokucli assets remove --slug=<CUSTOM_SLUG> --filename=<ASSET_FILENAME>
    +
    daikoku assets remove --slug=<CUSTOM_SLUG> --filename=<ASSET_FILENAME>

    As others commands, you can display all registered assets

    -
    daikokucli assets list
    +
    daikoku assets list

    If you prefer to synchronize all assets with a single command, it offers speed advantages over doing so individually, albeit with reduced configurability.

    -
    daikokucli assets sync
    -

    Authorized applications

    -

    Just before running the daikoku login command, you have to configure your tenant by adding the CLI server. By default, the server is set to http://localhost:3334 but you can overwrite it using the WATCHING_PORT environment variable.

    -
    daikokucli login
    +
    daikoku assets sync
    +

    Manage documentation pages

    +

    You already have many choices in Daikoku to create the APIs's documentation. But, with the release of the CMS, you can now write your documentation with it. The documentations pages have to be written in the src/documentations folder and can be named as you wish.

    +

    The recommended usage to create a new documentation page is to use the CLI as following :

    +
    daikoku generate documentation --filename=my-new-documentation-page \
    --title="Title of the page" \
    --desc="The description of this page"

    CMS Directives

    -

    daikoku-user

    Parameters

    • string user id
    {{#daikoku-user "{{userId}}"}}
    <div>
    <span>{{user.name}}</span>
    <img src="{{user.picture}}" />
    </div>
    {{/daikoku-user}}
    -

    daikoku-owned-apis

    Parameters

    • visibility: can be Private | Public | All
    {{#daikoku-owned-apis visibility="Private"}}
    <span>Mon api : {{api.name}}</span>
    {{/daikoku-owned-apis}}
    -

    daikoku-owned-api

    Parameters

    • String API id
    • The API version is optional, but it defaults to 1.0.0 when not specified.
    {{#daikoku-owned-api "{{apiId}}" version="1.0.0"}}
    <span>Mon api : {{api.name}}</span>
    {{/daikoku-owned-api}}
    -

    daikoku-json-owned-apis

    Parameters

    • Visibility : Private, Public or All
    {{#daikoku-json-owned-apis visibility="Private"}}

    {{/daikoku-json-owned-apis}}
    -

    daikoku-json-owned-api

    Parameters

    • The API id, string value expected
    • The API version is optional, but it defaults to 1.0.0 when not specified.
    {{#daikoku-json-owned-api "{{apiId}}" version="1.0.0"}}
    {{/daikoku-json-owned-api}}
    -

    daikoku-owned-teams

    {{#daikoku-owned-teams}}
    <span>Ma team : {{team.name}}
    {{/daikoku-owned-teams}}
    -

    daikoku-owned-team

    Parameters

    • The team ID, string value expected
    {{#daikoku-owned-team "{{teamId}}"}}
    <span>Mon team : {{team.name}}</span>
    {{/daikoku-owned-team}}
    -

    daikoku-json-owned-teams

    {{daikoku-json-owned-teams}}
    -

    daikoku-json-owned-team

    Parameters

    • The Team ID, String value expected
    {{#daikoku-json-owned-team "{{teamId}}"}}

    {{/daikoku-json-owned-team}}
    -

    tenant

    {{tenant.name}}     <li>{{tenant.style.description}}
    -

    is_admin

    {{is_admin}}
    -

    connected

    {{connected}}
    -

    user

    When you have an user returned from directive, you can use the following fields

      +

      daikoku-user

      +

      parameters:

      +
        +
      • string user id
      • +
      +
      {{#daikoku-user "{{userId}}"}}
      <div>
      <span>{{user.name}}</span>
      <img src="{{user.picture}}" />
      </div>
      {{/daikoku-user}}
      +

      daikoku-owned-apis

      +

      parameters

      +
        +
      • visibility: can be Private | Public | All
      • +
      +
      {{#daikoku-owned-apis visibility="Private"}}
      <span>Mon api : {{api.name}}</span>
      {{/daikoku-owned-apis}}
      +

      daikoku-owned-api

      +

      parameters:

      +
        +
      • String API id
      • +
      • The API version is optional, but it defaults to 1.0.0 when not specified.
      • +
      +
      {{#daikoku-owned-api "{{apiId}}" version="1.0.0"}}
      <span>Mon api : {{api.name}}</span>
      {{/daikoku-owned-api}}
      +

      daikoku-json-owned-apis

      +

      parameters:

      +
        +
      • Visibility : Private, Public or All
      • +
      +
      {{#daikoku-json-owned-apis visibility="Private"}}

      {{/daikoku-json-owned-apis}}
      +

      daikoku-json-owned-api

      +

      parameters:

      +
        +
      • The API id, string value expected
      • +
      • The API version is optional, but it defaults to 1.0.0 when not specified.
      • +
      +
      {{#daikoku-json-owned-api "{{apiId}}" version="1.0.0"}}
      {{/daikoku-json-owned-api}}
      +

      daikoku-owned-teams

      +
      {{#daikoku-owned-teams}}
      <span>Ma team : {{team.name}}
      {{/daikoku-owned-teams}}
      +

      daikoku-owned-team

      +

      parameters:

      +
        +
      • The team ID, string value expected"
      • +
      +
      {{#daikoku-owned-team "{{teamId}}"}}
      <span>Mon team : {{team.name}}</span>
      {{/daikoku-owned-team}}
      +

      daikoku-json-owned-teams

      +
      {{daikoku-json-owned-teams}}
      +

      daikoku-json-owned-team

      +

      parameters:

      +
        +
      • The Team ID, String value expected
      • +
      +
      {{#daikoku-json-owned-team "{{teamId}}"}}

      {{/daikoku-json-owned-team}}
      +

      tenant

      +
      {{tenant.name}} - {{tenant.style.description}}
      +

      is_admin

      +
      {{is_admin}}
      +

      connected

      +
      {{connected}}
      +

      user

      +

      When you have an user returned from directive, you can use the following fields

      +
      • name
      • email
      • _id
      • @@ -81,34 +156,126 @@

        CMS Directives

      • picture
      • isDaikokuAdmin
      • starredApis
      • -
      <div>
      {{user.name}} - {{user.email}}
      </div>
    -

    request

    <div>
    {{request.path}} - {{request.method}} - {{request.headers}}
    </div>
    -

    daikoku-css

    <div>
    {{daikoku-css}}
    </div>
    -

    for

    Parameters

    • the fieldname used in the helper content
    {{#for '{{team.users}}' field='myuser' }}
    {{myuser.userId}}
    {{/for}}
    -

    size

    {{size '{{team.users}}'}}
    -

    ifeq

    {{#ifeq "{{plan.type}}" "FreeWithoutQuotas"}}
    You'll pay nothing and do whatever you want
    {{/ifeq}}
    -

    ifnoteq

    {{#ifnoteq "{{plan.type}}" "FreeWithoutQuotas"}}
    You'll pay nothing and do whatever you want
    {{/ifnoteq}}
    -

    getOrElse

    {{getOrElse "{{plan.customName}}" "Un plan"}}
    -

    translate

    {{translate 'Logout'}}
    -

    daikoku-query-param

    Parameters

    • the name of the query param
    {{daikoku-query-param 'my-query-param'}}
    -

    daikoku-template-wrapper

    Parameters

    • Block path
    • List of key=value usable in content
    {{#daikoku-template-wrapper '<wrapper-id>' <named-parameter>="<value>" }} 

    {{/daikoku-template-wrapper}}"
    -

    daikoku-apis

    {{#daikoku-apis}}
    <span>Api : {{api.name}}</span>
    {{/daikoku-apis}}
    -

    daikoku-api

    Parameters

    • API id, String value expected
    {{#daikoku-api "{{apiId}}" version="1.0.0"}}
    <span>Mon api : {{api.name}}</span>
    {{/daikoku-api}}"
    -

    daikoku-json-apis

    {{daikoku-json-apis}}
    -

    daikoku-json-api

    Parameters

    • API Id, String value expected
    {{#daikoku-json-api "{{apiId}}" version="1.0.0"}}

    {{/daikoku-json-api}}
    -

    daikoku-teams

    {{#daikoku-teams}}
    <span>Team : {{team.name}}</span>
    {{/daikoku-teams}}
    -

    daikoku-team

    Parameters

    • Team Id, String value expected
    {{#daikoku-team "{{<teamId>}}"}}
    <span>My team : {{team.name}}</span>
    {{/daikoku-team}}
    -

    daikoku-json-teams

    {{daikoku-json-teams}}
    -

    daikoku-json-team

    Parameters

    • Team Id, String value expected
    {{#daikoku-json-team "{{<teamId>}}"}}

    {{/daikoku-json-team}}
    -

    daikoku-documentations

    Parameters

    • API id, String value expected
    {{#daikoku-documentations "{{<apiId>}}"}}
    <span>{{documentation.title}}</span>
    {{/daikoku-documentations}}
    -

    daikoku-documentations-page

    Parameters

    • API ID, String value expected
    • Page ID as String value
    {{#daikoku-documentations-page "<apiId>" page="<pageId>"}}
    {{documentation.content}}
    {{/daikoku-documentations-page}}
    -

    daikoku-documentations-page-id

    Parameters

    • Team ID, String value expected
    • The named page parameter corresponding to the id of the expected page
    {{#daikoku-documentations-page-id "<apiId>" page="<pageId>"}}
    {{content}}
    {{/daikoku-documentations-page-id}}"
    -

    daikoku-plans

    Parameters

    • API ID
    {{#daikoku-plans "<apiId>"}}
    <span>{{plan.type}}</span>
    {{/daikoku-plans}}
    + +
    <div>
    {{user.name}} - {{user.email}}
    </div>
    +

    request

    +
    <div>
    {{request.path}} - {{request.method}} - {{request.headers}}
    </div>
    +

    daikoku-css

    +
    <div>
    {{daikoku-css}}
    </div>
    +

    for

    +

    parameters:

    +
      +
    • the fieldname used in the helper content
    • +
    +
    {{#for '{{team.users}}' field='myuser' }}
    {{myuser.userId}}
    {{/for}}
    +

    size

    +
    {{size '{{team.users}}'}}
    +

    ifeq

    +
    {{#ifeq "{{plan.type}}" "FreeWithoutQuotas"}}
    You'll pay nothing and do whatever you want
    {{/ifeq}}
    +

    ifnoteq

    +
    {{#ifnoteq "{{plan.type}}" "FreeWithoutQuotas"}}
    You'll pay nothing and do whatever you want
    {{/ifnoteq}}
    +

    getOrElse

    +
    {{getOrElse "{{plan.customName}}" "Un plan"}}
    +

    translate

    +
    {{translate 'Logout'}}
    +

    daikoku-query-param

    +

    parameters:

    +
      +
    • the name of the query param
    • +
    +
    {{daikoku-query-param 'my-query-param'}}
    +

    daikoku-template-wrapper

    +

    parameters:

    +
      +
    • Block path
    • +
    • List of key=value usable in content
    • +
    +
    {{#daikoku-template-wrapper '<wrapper-id>' <named-parameter>="<value>" }} 

    {{/daikoku-template-wrapper}}"
    +

    daikoku-apis

    +
    {{#daikoku-apis}}
    <span>Api : {{api.name}}</span>
    {{/daikoku-apis}}
    +

    daikoku-api

    +

    parameters:

    +
      +
    • API id, String value expected
    • +
    +
    {{#daikoku-api "{{apiId}}" version="1.0.0"}}
    <span>Mon api : {{api.name}}</span>
    {{/daikoku-api}}"
    +

    daikoku-json-apis

    +
    {{daikoku-json-apis}}
    +

    daikoku-json-api

    +

    parameters:

    +
      +
    • API Id, String value expected
    • +
    +
    {{#daikoku-json-api "{{apiId}}" version="1.0.0"}}

    {{/daikoku-json-api}}
    +

    daikoku-teams

    +
    {{#daikoku-teams}}
    <span>Team : {{team.name}}</span>
    {{/daikoku-teams}}
    +

    daikoku-team

    +

    parameters:

    +
      +
    • Team Id, String value expected
    • +
    +
    {{#daikoku-team "{{<teamId>}}"}}
    <span>My team : {{team.name}}</span>
    {{/daikoku-team}}
    +

    daikoku-json-teams

    +
    {{daikoku-json-teams}}
    +

    daikoku-json-team

    +

    parameters:

    +
      +
    • Team Id, String value expected
    • +
    +
    {{#daikoku-json-team "{{<teamId>}}"}}

    {{/daikoku-json-team}}
    +

    daikoku-documentations

    +

    parameters:

    +
      +
    • API id, String value expected
    • +
    +
    {{#daikoku-documentations "{{<apiId>}}"}}
    <span>{{documentation.title}}</span>
    {{/daikoku-documentations}}
    +

    daikoku-documentations-page

    +

    parameters:

    +
      +
    • API ID, String value expected
    • +
    • Page ID as String value
    • +
    +
    {{#daikoku-documentations-page "<apiId>" page="<pageId>"}}
    {{documentation.content}}
    {{/daikoku-documentations-page}}
    +

    daikoku-documentations-page-id

    +

    parameters:

    +
      +
    • Team ID, String value expected
    • +
    • The named page parameter corresponding to the id of the expected page
    • +
    +
    {{#daikoku-documentations-page-id "<apiId>" page="<pageId>"}}
    {{content}}
    {{/daikoku-documentations-page-id}}"
    +

    daikoku-plans

    +

    parameters:

    +
      +
    • API ID
    • +
    +
    {{#daikoku-plans "<apiId>"}}
    <span>{{plan.type}}</span>
    {{/daikoku-plans}}

    License

    This project is licensed under the Apache 2.0 license with the LLVM exception.

    +

    Commands

    +

    The following commands must be run, replacing <parameter> with --parameter=value.

    +

    PROJECT commands

    +
    daikoku cms init <NAME> <PATH>
    daikoku cms migrate <NAME> <PATH> <SERVER> <APIKEY>

    daikoku cms list
    daikoku cms add <NAME> <PATH> <OVERWRITE>
    daikoku cms switch <NAME>
    daikoku cms remove <NAME> <REMOVE_FILES>
    daikoku cms clear <FORCE>
    +

    PUSH commands

    +
    daikoku push <DRY_RUN> <FILEPATH>
    +

    ASSETS commands

    +
    daikoku assets push <FILENAME> <TITLE> <DESC> <PATH> <SLUG>
    daikoku assets remove <FILENAME> <PATH> <SLUG>
    daikoku assets list
    daikoku assets sync
    +

    ENVIRONMENTS commands

    +
    daikoku environments clear <FORCE>
    daikoku environments add <NAME> <SERVER> <OVERWRITE>
    daikoku environments switch <NAME>
    daikoku environments remove <NAME>
    daikoku environments info <NAME> <FULL>
    daikoku environments list
    daikoku environments config <APIKEY>
    +

    GENERATE commands

    +
    daikoku generate documentation <FILENAME> <TITLE> <DESC>
    +

    LOGIN

    +
    daikoku login
    +

    PULL commands

    +
    daikoku pull apis
    daikoku pull mails
    +

    VERSION commands

    +
    daikoku version
    +

    WATCH commands

    +
    daikoku watch

    Contribution

    Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, -shall be licensed as above, without any additional terms or conditions.

    +shall be licensed as above, without any additional terms or conditions.

    +

    Run tests

    +
    cargo test --test <filename> -- --nocapture --test-threads 1
    \ No newline at end of file diff --git a/docs/docs/getstarted/about/index.html b/docs/docs/getstarted/about/index.html index ae361358b..5ca80b435 100644 --- a/docs/docs/getstarted/about/index.html +++ b/docs/docs/getstarted/about/index.html @@ -4,8 +4,8 @@ About Daikoku | Daikoku - - + +

    About Daikoku

    diff --git a/docs/docs/getstarted/firstrun/configfile/index.html b/docs/docs/getstarted/firstrun/configfile/index.html index d13a342be..d2bceeac6 100644 --- a/docs/docs/getstarted/firstrun/configfile/index.html +++ b/docs/docs/getstarted/firstrun/configfile/index.html @@ -4,8 +4,8 @@ Config. with files | Daikoku - - + +

    Config. with files

    diff --git a/docs/docs/getstarted/firstrun/datastore/index.html b/docs/docs/getstarted/firstrun/datastore/index.html index cf5d769a3..5541d37b2 100644 --- a/docs/docs/getstarted/firstrun/datastore/index.html +++ b/docs/docs/getstarted/firstrun/datastore/index.html @@ -4,8 +4,8 @@ Choose your audit trail datastore | Daikoku - - + +

    Choose your audit trail datastore

    diff --git a/docs/docs/getstarted/firstrun/env/index.html b/docs/docs/getstarted/firstrun/env/index.html index 25597b0dc..fb6894e1a 100644 --- a/docs/docs/getstarted/firstrun/env/index.html +++ b/docs/docs/getstarted/firstrun/env/index.html @@ -4,8 +4,8 @@ Config. with ENVs | Daikoku - - + +

    Config. with ENVs

    diff --git a/docs/docs/getstarted/firstrun/index.html b/docs/docs/getstarted/firstrun/index.html index d7adaf758..0ef55907b 100644 --- a/docs/docs/getstarted/firstrun/index.html +++ b/docs/docs/getstarted/firstrun/index.html @@ -4,8 +4,8 @@ First run | Daikoku - - + +

    First run

    diff --git a/docs/docs/getstarted/firstrun/initialstate/index.html b/docs/docs/getstarted/firstrun/initialstate/index.html index 4f4c7f46e..ff02a3544 100644 --- a/docs/docs/getstarted/firstrun/initialstate/index.html +++ b/docs/docs/getstarted/firstrun/initialstate/index.html @@ -4,8 +4,8 @@ Import initial state | Daikoku - - + +

    Import initial state

    diff --git a/docs/docs/getstarted/firstrun/run/index.html b/docs/docs/getstarted/firstrun/run/index.html index f03c9cd76..ab3991565 100644 --- a/docs/docs/getstarted/firstrun/run/index.html +++ b/docs/docs/getstarted/firstrun/run/index.html @@ -4,8 +4,8 @@ Run Daikoku | Daikoku - - + +

    Run Daikoku

    diff --git a/docs/docs/getstarted/getdaikoku/index.html b/docs/docs/getstarted/getdaikoku/index.html index 0ed1346ad..31c17fcbf 100644 --- a/docs/docs/getstarted/getdaikoku/index.html +++ b/docs/docs/getstarted/getdaikoku/index.html @@ -4,8 +4,8 @@ Get Daikoku | Daikoku - - + +

    Get Daikoku

    diff --git a/docs/docs/getstarted/index.html b/docs/docs/getstarted/index.html index ecc6b894b..8f3fe4e3b 100644 --- a/docs/docs/getstarted/index.html +++ b/docs/docs/getstarted/index.html @@ -4,8 +4,8 @@ Get started | Daikoku - - + +

    Get started

    diff --git a/docs/docs/getstarted/quickstart/index.html b/docs/docs/getstarted/quickstart/index.html index 98d6ad0ab..9d49a550a 100644 --- a/docs/docs/getstarted/quickstart/index.html +++ b/docs/docs/getstarted/quickstart/index.html @@ -4,8 +4,8 @@ Daikoku | Daikoku - - + +

    Try Daikoku in 5 minutes

    diff --git a/docs/docs/getstarted/setup/admin/index.html b/docs/docs/getstarted/setup/admin/index.html index 4476a399c..f46648808 100644 --- a/docs/docs/getstarted/setup/admin/index.html +++ b/docs/docs/getstarted/setup/admin/index.html @@ -4,8 +4,8 @@ Manage admin users | Daikoku - - + +

    Manage admin users

    diff --git a/docs/docs/getstarted/setup/index.html b/docs/docs/getstarted/setup/index.html index fd03e43fd..84df87806 100644 --- a/docs/docs/getstarted/setup/index.html +++ b/docs/docs/getstarted/setup/index.html @@ -4,8 +4,8 @@ Setup Daikoku | Daikoku - - + +

    Setup Daikoku

    diff --git a/docs/docs/getstarted/setup/reporting/index.html b/docs/docs/getstarted/setup/reporting/index.html index 99efe517b..cd9ed5792 100644 --- a/docs/docs/getstarted/setup/reporting/index.html +++ b/docs/docs/getstarted/setup/reporting/index.html @@ -4,8 +4,8 @@ Anonymous reporting | Daikoku - - + +

    Anonymous reporting

    diff --git a/docs/docs/guides/apis/index.html b/docs/docs/guides/apis/index.html index ccd9d77d8..ad5b167dd 100644 --- a/docs/docs/guides/apis/index.html +++ b/docs/docs/guides/apis/index.html @@ -4,8 +4,8 @@ Admin API | Daikoku - - + +

    Admin API

    diff --git a/docs/docs/guides/archi/index.html b/docs/docs/guides/archi/index.html index 65a8984f9..9c3dcb934 100644 --- a/docs/docs/guides/archi/index.html +++ b/docs/docs/guides/archi/index.html @@ -4,8 +4,8 @@ Architecture | Daikoku - - + +

    Architecture

    diff --git a/docs/docs/guides/authentication/index.html b/docs/docs/guides/authentication/index.html index cde04bd53..f00c598f8 100644 --- a/docs/docs/guides/authentication/index.html +++ b/docs/docs/guides/authentication/index.html @@ -4,8 +4,8 @@ Authentication | Daikoku - - + +

    Authentication

    diff --git a/docs/docs/guides/deploy/index.html b/docs/docs/guides/deploy/index.html index 3826fc4d2..0580683d2 100644 --- a/docs/docs/guides/deploy/index.html +++ b/docs/docs/guides/deploy/index.html @@ -4,8 +4,8 @@ Deploy to production | Daikoku - - + +

    Deploy to production

    diff --git a/docs/docs/guides/index.html b/docs/docs/guides/index.html index 6bc089383..98a49f324 100644 --- a/docs/docs/guides/index.html +++ b/docs/docs/guides/index.html @@ -4,8 +4,8 @@ Guides | Daikoku - - + +

    Guides

    diff --git a/docs/docs/guides/integrations/index.html b/docs/docs/guides/integrations/index.html index d38e8c658..e2d11f269 100644 --- a/docs/docs/guides/integrations/index.html +++ b/docs/docs/guides/integrations/index.html @@ -4,8 +4,8 @@ Integrations API | Daikoku - - + +

    Integrations API

    diff --git a/docs/docs/tags/index.html b/docs/docs/tags/index.html index c99154981..01885752a 100644 --- a/docs/docs/tags/index.html +++ b/docs/docs/tags/index.html @@ -4,8 +4,8 @@ Tags | Daikoku - - + + diff --git a/docs/docs/tags/installation/index.html b/docs/docs/tags/installation/index.html index 03d4f059b..5e7600297 100644 --- a/docs/docs/tags/installation/index.html +++ b/docs/docs/tags/installation/index.html @@ -4,8 +4,8 @@ One doc tagged with "installation" | Daikoku - - + +

    One doc tagged with "installation"

    View all tags
    diff --git a/docs/docs/tags/licence/index.html b/docs/docs/tags/licence/index.html index fbab38056..2196dcd2b 100644 --- a/docs/docs/tags/licence/index.html +++ b/docs/docs/tags/licence/index.html @@ -4,8 +4,8 @@ One doc tagged with "licence" | Daikoku - - + + diff --git a/docs/docs/usages/adminusage/importexport/index.html b/docs/docs/usages/adminusage/importexport/index.html index 2a8103011..bb57fe562 100644 --- a/docs/docs/usages/adminusage/importexport/index.html +++ b/docs/docs/usages/adminusage/importexport/index.html @@ -4,8 +4,8 @@ Import and export | Daikoku - - + +

    Import and export

    diff --git a/docs/docs/usages/adminusage/index.html b/docs/docs/usages/adminusage/index.html index 4512b883c..36fed121b 100644 --- a/docs/docs/usages/adminusage/index.html +++ b/docs/docs/usages/adminusage/index.html @@ -4,8 +4,8 @@ Using Daikoku as Daikoku admin | Daikoku - - + +

    Using Daikoku as Daikoku admin

    diff --git a/docs/docs/usages/adminusage/sessions/index.html b/docs/docs/usages/adminusage/sessions/index.html index a44697e1f..0ef6d4021 100644 --- a/docs/docs/usages/adminusage/sessions/index.html +++ b/docs/docs/usages/adminusage/sessions/index.html @@ -4,8 +4,8 @@ Managing sessions | Daikoku - - + +

    Managing sessions

    diff --git a/docs/docs/usages/adminusage/tenants/index.html b/docs/docs/usages/adminusage/tenants/index.html index 49da00882..8fe4bec68 100644 --- a/docs/docs/usages/adminusage/tenants/index.html +++ b/docs/docs/usages/adminusage/tenants/index.html @@ -4,8 +4,8 @@ Managing tenants | Daikoku - - + +

    Managing tenants

    diff --git a/docs/docs/usages/adminusage/users/index.html b/docs/docs/usages/adminusage/users/index.html index e9df622e3..ad786b128 100644 --- a/docs/docs/usages/adminusage/users/index.html +++ b/docs/docs/usages/adminusage/users/index.html @@ -4,8 +4,8 @@ Managing users | Daikoku - - + +

    Managing users

    diff --git a/docs/docs/usages/consumerusage/aggregation-of-apikeys/index.html b/docs/docs/usages/consumerusage/aggregation-of-apikeys/index.html index 188153b94..8471d6ba9 100644 --- a/docs/docs/usages/consumerusage/aggregation-of-apikeys/index.html +++ b/docs/docs/usages/consumerusage/aggregation-of-apikeys/index.html @@ -4,8 +4,8 @@ Use an API key on multiple apis | Daikoku - - + +

    Use an API key on multiple apis

    diff --git a/docs/docs/usages/consumerusage/apikeys/index.html b/docs/docs/usages/consumerusage/apikeys/index.html index 61fd770ef..aa2b2773d 100644 --- a/docs/docs/usages/consumerusage/apikeys/index.html +++ b/docs/docs/usages/consumerusage/apikeys/index.html @@ -4,8 +4,8 @@ Manage APIkeys | Daikoku - - + +

    Manage APIkeys

    diff --git a/docs/docs/usages/consumerusage/billing/index.html b/docs/docs/usages/consumerusage/billing/index.html index 2c9d18864..ba6b0345c 100644 --- a/docs/docs/usages/consumerusage/billing/index.html +++ b/docs/docs/usages/consumerusage/billing/index.html @@ -4,8 +4,8 @@ Team billing | Daikoku - - + +

    Team billing

    diff --git a/docs/docs/usages/consumerusage/fastmode/index.html b/docs/docs/usages/consumerusage/fastmode/index.html index 09e8a6919..29337d1db 100644 --- a/docs/docs/usages/consumerusage/fastmode/index.html +++ b/docs/docs/usages/consumerusage/fastmode/index.html @@ -4,8 +4,8 @@ Fast mode | Daikoku - - + +

    Fast mode

    diff --git a/docs/docs/usages/consumerusage/index.html b/docs/docs/usages/consumerusage/index.html index 1d57875fe..d9380c859 100644 --- a/docs/docs/usages/consumerusage/index.html +++ b/docs/docs/usages/consumerusage/index.html @@ -4,8 +4,8 @@ Using Daikoku as an API consumer | Daikoku - - + +

    Using Daikoku as an API consumer

    diff --git a/docs/docs/usages/consumerusage/subscribe/index.html b/docs/docs/usages/consumerusage/subscribe/index.html index d01234869..d92919c30 100644 --- a/docs/docs/usages/consumerusage/subscribe/index.html +++ b/docs/docs/usages/consumerusage/subscribe/index.html @@ -4,8 +4,8 @@ Subscribe to an API | Daikoku - - + +

    Subscribe to an API

    diff --git a/docs/docs/usages/index.html b/docs/docs/usages/index.html index 34b47e70d..287fa1d06 100644 --- a/docs/docs/usages/index.html +++ b/docs/docs/usages/index.html @@ -4,8 +4,8 @@ Usages | Daikoku - - + +

    Usages

    diff --git a/docs/docs/usages/producerusage/apis/index.html b/docs/docs/usages/producerusage/apis/index.html index fb93869c4..d7d06aee3 100644 --- a/docs/docs/usages/producerusage/apis/index.html +++ b/docs/docs/usages/producerusage/apis/index.html @@ -4,8 +4,8 @@ Managing APIs | Daikoku - - + +

    Managing APIs

    diff --git a/docs/docs/usages/producerusage/assets/index.html b/docs/docs/usages/producerusage/assets/index.html index 359290eda..08f781098 100644 --- a/docs/docs/usages/producerusage/assets/index.html +++ b/docs/docs/usages/producerusage/assets/index.html @@ -4,8 +4,8 @@ Managing team assets | Daikoku - - + +

    Managing team assets

    diff --git a/docs/docs/usages/producerusage/income/index.html b/docs/docs/usages/producerusage/income/index.html index 96573e9ca..b70f184a6 100644 --- a/docs/docs/usages/producerusage/income/index.html +++ b/docs/docs/usages/producerusage/income/index.html @@ -4,8 +4,8 @@ Team earnings | Daikoku - - + +

    Team earnings

    diff --git a/docs/docs/usages/producerusage/index.html b/docs/docs/usages/producerusage/index.html index ba4eb9c2a..4617c44a4 100644 --- a/docs/docs/usages/producerusage/index.html +++ b/docs/docs/usages/producerusage/index.html @@ -4,8 +4,8 @@ Using Daikoku as an API producer | Daikoku - - + +

    Using Daikoku as an API producer

    diff --git a/docs/docs/usages/producerusage/members/index.html b/docs/docs/usages/producerusage/members/index.html index 06304d724..4ff958352 100644 --- a/docs/docs/usages/producerusage/members/index.html +++ b/docs/docs/usages/producerusage/members/index.html @@ -4,8 +4,8 @@ Managing teams | Daikoku - - + +

    Managing teams

    diff --git a/docs/docs/usages/producerusage/subscriptions/index.html b/docs/docs/usages/producerusage/subscriptions/index.html index 7e9c25583..db214c228 100644 --- a/docs/docs/usages/producerusage/subscriptions/index.html +++ b/docs/docs/usages/producerusage/subscriptions/index.html @@ -4,8 +4,8 @@ Managing API subscription | Daikoku - - + +

    Managing API subscription

    diff --git a/docs/docs/usages/tenantusage/1.5-initialize/index.html b/docs/docs/usages/tenantusage/1.5-initialize/index.html index c23580717..b081f0ed3 100644 --- a/docs/docs/usages/tenantusage/1.5-initialize/index.html +++ b/docs/docs/usages/tenantusage/1.5-initialize/index.html @@ -4,8 +4,8 @@ Initialize Tenant from Otoroshi instances | Daikoku - - + +

    Initialize Tenant from Otoroshi instances

    diff --git a/docs/docs/usages/tenantusage/5.5-display/index.html b/docs/docs/usages/tenantusage/5.5-display/index.html index ac5ce8790..6c9992c08 100644 --- a/docs/docs/usages/tenantusage/5.5-display/index.html +++ b/docs/docs/usages/tenantusage/5.5-display/index.html @@ -4,8 +4,8 @@ Display modes | Daikoku - - + +

    Display modes

    diff --git a/docs/docs/usages/tenantusage/assets/index.html b/docs/docs/usages/tenantusage/assets/index.html index 2e0272c47..fad068c7b 100644 --- a/docs/docs/usages/tenantusage/assets/index.html +++ b/docs/docs/usages/tenantusage/assets/index.html @@ -4,8 +4,8 @@ Managing assets | Daikoku - - + +

    Managing assets

    diff --git a/docs/docs/usages/tenantusage/cms/index.html b/docs/docs/usages/tenantusage/cms/index.html index 20ee8468a..9a4a350db 100644 --- a/docs/docs/usages/tenantusage/cms/index.html +++ b/docs/docs/usages/tenantusage/cms/index.html @@ -4,8 +4,8 @@ Exploring the CMS | Daikoku - - + +

    Exploring the CMS

    diff --git a/docs/docs/usages/tenantusage/index.html b/docs/docs/usages/tenantusage/index.html index 1f6eae74b..122504876 100644 --- a/docs/docs/usages/tenantusage/index.html +++ b/docs/docs/usages/tenantusage/index.html @@ -4,8 +4,8 @@ Using Daikoku as Tenant admin | Daikoku - - + +

    Using Daikoku as Tenant admin

    diff --git a/docs/docs/usages/tenantusage/messages/index.html b/docs/docs/usages/tenantusage/messages/index.html index 58ad51776..10f1fc1a5 100644 --- a/docs/docs/usages/tenantusage/messages/index.html +++ b/docs/docs/usages/tenantusage/messages/index.html @@ -4,8 +4,8 @@ User messages | Daikoku - - + +

    User messages

    diff --git a/docs/docs/usages/tenantusage/otoroshi/index.html b/docs/docs/usages/tenantusage/otoroshi/index.html index 2dbdf5b56..72f8ffca0 100644 --- a/docs/docs/usages/tenantusage/otoroshi/index.html +++ b/docs/docs/usages/tenantusage/otoroshi/index.html @@ -4,8 +4,8 @@ Managing Otoroshi instances | Daikoku - - + +

    Managing Otoroshi instances

    diff --git a/docs/docs/usages/tenantusage/teams/index.html b/docs/docs/usages/tenantusage/teams/index.html index f6952c696..ba6768f6f 100644 --- a/docs/docs/usages/tenantusage/teams/index.html +++ b/docs/docs/usages/tenantusage/teams/index.html @@ -4,8 +4,8 @@ Managing teams | Daikoku - - + +

    Managing teams

    diff --git a/docs/docs/usages/tenantusage/translations/index.html b/docs/docs/usages/tenantusage/translations/index.html index 588674506..d2ab5a198 100644 --- a/docs/docs/usages/tenantusage/translations/index.html +++ b/docs/docs/usages/tenantusage/translations/index.html @@ -4,8 +4,8 @@ Translate mail content and front office | Daikoku - - + +

    Translate mail content and front office

    diff --git a/docs/index.html b/docs/index.html index 00ac1f9e1..20befdf35 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,8 +4,8 @@ Daikoku | Daikoku - - + +

    Unlock your development potential with our fully customizable dev portal
    the perfect blend of developer and business worlds.

    daikoku as hand drawn character
    Daikoku is the developer portal which was missing for Otoroshi. It is written in Scala and developed by the MAIF OSS team.
    In Japan, Daikokuten 大黒天, the god of great darkness or blackness, or the god of five cereals, is one of the Seven Lucky Gods (Fukujin). Daikokuten evolved from the Buddhist form of the Indian deity Shiva intertwined with the Shinto god Ōkuninushi. The name is the Japanese equivalent of Mahākāla, the Hindu name for Shiva.

    Easy to Use

    Seamless development, simplified: Unleash your potential with our effortlessly user-friendly portal.

    Fully Customizable

    Tailor your success: Dive into limitless possibilities with our highly customizable development portal.

    different love

    OSS by MAIF

    Empower your development journey: Explore, customize, and contribute with our open-source portal.

    diff --git a/docs/search/index.html b/docs/search/index.html index 9696bddbb..965bb4b89 100644 --- a/docs/search/index.html +++ b/docs/search/index.html @@ -4,8 +4,8 @@ Search the documentation - - + + diff --git a/manual/static/admin-api-openapi.yaml b/manual/static/admin-api-openapi.yaml index b31d5e3df..c90a534bf 100644 --- a/manual/static/admin-api-openapi.yaml +++ b/manual/static/admin-api-openapi.yaml @@ -214,14 +214,6 @@ components: authenticatedCmsPage: type: string nullable: true - cacheTTL: - type: integer - format: int32 - nullable: true - cmsHistoryLength: - type: integer - format: int32 - nullable: true logo: type: string nullable: true diff --git a/manual/yarn.lock b/manual/yarn.lock index 4d054ced0..465d09a2c 100644 --- a/manual/yarn.lock +++ b/manual/yarn.lock @@ -2424,6 +2424,11 @@ resolved "https://registry.npmjs.org/@node-rs/jieba-linux-x64-gnu/-/jieba-linux-x64-gnu-1.10.4.tgz" integrity sha512-WZO8ykRJpWGE9MHuZpy1lu3nJluPoeB+fIJJn5CWZ9YTVhNDWoCF4i/7nxz1ntulINYGQ8VVuCU9LD86Mek97g== +"@node-rs/jieba-linux-x64-musl@1.10.4": + version "1.10.4" + resolved "https://registry.npmjs.org/@node-rs/jieba-linux-x64-musl/-/jieba-linux-x64-musl-1.10.4.tgz" + integrity sha512-uBBD4S1rGKcgCyAk6VCKatEVQb6EDD5I40v/DxODi5CuZVCANi9m5oee/MQbAoaX7RydA2f0OSCE9/tcwXEwUg== + "@node-rs/jieba@^1.6.0": version "1.10.4" resolved "https://registry.npmjs.org/@node-rs/jieba/-/jieba-1.10.4.tgz"