diff --git a/.vscode/extensions.json b/.vscode/extensions.json index cbace90..c83e263 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,3 +1,3 @@ { - "recommendations": ["prettier.prettier-vscode"] + "recommendations": ["esbenp.prettier-vscode"] } diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 337a0f7..38040e6 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -64,6 +64,8 @@ const config: Config = { ], ], plugins: [ + // Load Scalar standalone script once globally + "./src/plugins/scalarScriptPlugin.js", // Product Badge Enhancement Plugin "./src/plugins/productBadgePlugin.js", // Booking Calendars API Reference @@ -74,6 +76,7 @@ const config: Config = { label: "Booking Calendars API Reference", route: "/reference/booking-calendars", showNavLink: false, + cdn: "", configuration: { url: "/booking-calendars-api.yaml", metaData: { @@ -94,6 +97,7 @@ const config: Config = { label: "Booking Pages API Reference", route: "/reference/booking-pages", showNavLink: false, + cdn: "", configuration: { url: "/booking-pages-api.yaml", metaData: { @@ -114,6 +118,7 @@ const config: Config = { label: "OnceHub v1 API Reference (Deprecated)", route: "/reference/oncehub-v1", showNavLink: false, + cdn: "", configuration: { url: "/oncehub-v1.yaml", metaData: { diff --git a/openapi/resources/booking-calendars/schedule.yaml b/openapi/resources/booking-calendars/schedule.yaml index d48d1ad..03fdfd2 100644 --- a/openapi/resources/booking-calendars/schedule.yaml +++ b/openapi/resources/booking-calendars/schedule.yaml @@ -10,7 +10,6 @@ booking-calendars--id--schedule: > Notes On Using This Endpoint > * This endpoint is designed to be used with the "Get available time slots" endpoint. First, retrieve available time slots for a specific time range, and then use this endpoint to book one of those slots. > * You can only select a location from those offered within the available time slots. - > * This endpoint doesn't support booking calendars with required custom fields. > * All datetime strings are [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) in full form. For example, `2024-11-29T09:30:00.000Z`. > [!tip] diff --git a/package-lock.json b/package-lock.json index 4fb5fd1..60808a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,8 +11,8 @@ "@docusaurus/core": "3.9.2", "@docusaurus/preset-classic": "3.9.2", "@mdx-js/react": "3.1.1", - "@scalar/api-reference": "1.43.0", - "@scalar/docusaurus": "0.7.28", + "@scalar/api-reference": "1.43.11", + "@scalar/docusaurus": "0.7.31", "@signalwire/docusaurus-plugin-llms-txt": "2.0.0-alpha.7", "@signalwire/docusaurus-theme-llms-txt": "1.0.0-alpha.9", "clsx": "2.1.1", @@ -25,12 +25,12 @@ "@docusaurus/module-type-aliases": "3.9.2", "@docusaurus/tsconfig": "3.9.2", "@docusaurus/types": "3.9.2", - "@redocly/cli": "2.14.3", - "@types/node": "25.0.3", + "@redocly/cli": "2.14.7", + "@types/node": "25.0.10", "concurrently": "9.2.1", "husky": "9.1.7", "lint-staged": "16.2.7", - "prettier": "3.7.4", + "prettier": "3.8.1", "typescript": "5.9.3" }, "engines": { @@ -2174,18 +2174,18 @@ } }, "node_modules/@codemirror/state": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.5.3.tgz", - "integrity": "sha512-MerMzJzlXogk2fxWFU1nKp36bY5orBG59HnPiz0G9nLRebWa0zXuv2siH6PLIHBvv5TH8CkQRqjBs0MlxCZu+A==", + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.5.4.tgz", + "integrity": "sha512-8y7xqG/hpB53l25CIoit9/ngxdfoG+fx+V3SHBrinnhOtLvKHRyAJJuHzkWrR4YXXLX8eXBsejgAAxHUOdW1yw==", "license": "MIT", "dependencies": { "@marijn/find-cluster-break": "^1.0.0" } }, "node_modules/@codemirror/view": { - "version": "6.39.9", - "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.39.9.tgz", - "integrity": "sha512-miGSIfBOKC1s2oHoa80dp+BjtsL8sXsrgGlQnQuOcfvaedcQUtqddTmKbJSDkLl4mkgPvZyXuKic2HDNYcJLYA==", + "version": "6.39.11", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.39.11.tgz", + "integrity": "sha512-bWdeR8gWM87l4DB/kYSF9A+dVackzDb/V56Tq7QVrQ7rn86W0rgZFtlL3g3pem6AeGcb9NQNoy3ao4WpW4h5tQ==", "license": "MIT", "dependencies": { "@codemirror/state": "^6.5.0", @@ -5152,9 +5152,9 @@ } }, "node_modules/@redocly/cli": { - "version": "2.14.3", - "resolved": "https://registry.npmjs.org/@redocly/cli/-/cli-2.14.3.tgz", - "integrity": "sha512-8sq3xvlt3roeVuMW0L4KYdiMii3PnhNuYId6xDtnEGF+ZDhlImUt/t64XwDPtjuiCdbZmSA4erUxNLRYUlB2Kw==", + "version": "2.14.7", + "resolved": "https://registry.npmjs.org/@redocly/cli/-/cli-2.14.7.tgz", + "integrity": "sha512-EO1sXTaFgk95/BLQ1rThCMbiWgJomm7nnKitysQxX6iv4Ie2FipIRus1oF0z0a6ADqPtyGBJQQUIoqCG1KJAuw==", "dev": true, "license": "MIT", "dependencies": { @@ -5162,9 +5162,10 @@ "@opentelemetry/resources": "2.0.1", "@opentelemetry/sdk-trace-node": "2.0.1", "@opentelemetry/semantic-conventions": "1.34.0", - "@redocly/openapi-core": "2.14.3", - "@redocly/respect-core": "2.14.3", + "@redocly/openapi-core": "2.14.7", + "@redocly/respect-core": "2.14.7", "abort-controller": "^3.0.0", + "ajv": "npm:@redocly/ajv@8.17.1", "ajv-formats": "^3.0.1", "chokidar": "^3.5.1", "colorette": "^1.2.0", @@ -5231,9 +5232,9 @@ } }, "node_modules/@redocly/config": { - "version": "0.41.1", - "resolved": "https://registry.npmjs.org/@redocly/config/-/config-0.41.1.tgz", - "integrity": "sha512-LcMCzFbP/sqkCLSG3YswmeScP4fM5SjDCQizwa+psZ0PhYrKOMF7azZ6ZBkWs115uv5RfOk+jYAWLdKkZGGGXg==", + "version": "0.41.2", + "resolved": "https://registry.npmjs.org/@redocly/config/-/config-0.41.2.tgz", + "integrity": "sha512-G6muhdTKcEV2TECBFzuT905p4a27OgUtwBqRVnMx1JebO6i8zlm6bPB2H3fD1Hl+MiUpk7Jx2kwGmLVgpz5nIg==", "dev": true, "license": "MIT", "dependencies": { @@ -5241,14 +5242,15 @@ } }, "node_modules/@redocly/openapi-core": { - "version": "2.14.3", - "resolved": "https://registry.npmjs.org/@redocly/openapi-core/-/openapi-core-2.14.3.tgz", - "integrity": "sha512-h3K19wflV6w+5uFnlo+tDjihSBe+yZvFvnxPxasC8tC78qu7YQOX+hITXYsdaS+ZZ1nxvYvLYiHHmbIplA41VA==", + "version": "2.14.7", + "resolved": "https://registry.npmjs.org/@redocly/openapi-core/-/openapi-core-2.14.7.tgz", + "integrity": "sha512-urtiy9H09gecAqpHa5dRG739UBMFrpEZ8zG29FB4LKJNIfhQRSR+8XWzoXSTuGL5zRBSzJx6WvpOCwT6GMKXcg==", "dev": true, "license": "MIT", "dependencies": { - "@redocly/ajv": "^8.17.1", - "@redocly/config": "^0.41.1", + "@redocly/ajv": "^8.17.2", + "@redocly/config": "^0.41.2", + "ajv": "npm:@redocly/ajv@8.17.2", "ajv-formats": "^3.0.1", "colorette": "^1.2.0", "js-levenshtein": "^1.1.6", @@ -5262,6 +5264,41 @@ "npm": ">=10" } }, + "node_modules/@redocly/openapi-core/node_modules/@redocly/ajv": { + "version": "8.17.2", + "resolved": "https://registry.npmjs.org/@redocly/ajv/-/ajv-8.17.2.tgz", + "integrity": "sha512-rcbDZOfXAgGEJeJ30aWCVVJvxV9ooevb/m1/SFblO2qHs4cqTk178gx7T/vdslf57EA4lTofrwsq5K8rxK9g+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@redocly/openapi-core/node_modules/ajv": { + "name": "@redocly/ajv", + "version": "8.17.2", + "resolved": "https://registry.npmjs.org/@redocly/ajv/-/ajv-8.17.2.tgz", + "integrity": "sha512-rcbDZOfXAgGEJeJ30aWCVVJvxV9ooevb/m1/SFblO2qHs4cqTk178gx7T/vdslf57EA4lTofrwsq5K8rxK9g+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/@redocly/openapi-core/node_modules/ajv-formats": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", @@ -5301,16 +5338,17 @@ } }, "node_modules/@redocly/respect-core": { - "version": "2.14.3", - "resolved": "https://registry.npmjs.org/@redocly/respect-core/-/respect-core-2.14.3.tgz", - "integrity": "sha512-p7mTf2vp6PSIQJLpMfVCijGecJzbMJzHEZOF4Uz8Zux3qPj+CpZNFwxPahFHZ8JYsRFsalMDCklyySz1ubQE6w==", + "version": "2.14.7", + "resolved": "https://registry.npmjs.org/@redocly/respect-core/-/respect-core-2.14.7.tgz", + "integrity": "sha512-nNLqrYnVo8Mpd0+CmKbDaUG1xd0PcrRj/NNgIuR7tcjPQGkdassKB2kFTOq9E9JkHWUdfqawRjT3PPrn/y4kaA==", "dev": true, "license": "MIT", "dependencies": { "@faker-js/faker": "^7.6.0", "@noble/hashes": "^1.8.0", "@redocly/ajv": "8.17.1", - "@redocly/openapi-core": "2.14.3", + "@redocly/openapi-core": "2.14.7", + "ajv": "npm:@redocly/ajv@8.17.1", "better-ajv-errors": "^1.2.0", "colorette": "^2.0.20", "json-pointer": "^0.6.2", @@ -5347,33 +5385,33 @@ } }, "node_modules/@scalar/api-client": { - "version": "2.17.5", - "resolved": "https://registry.npmjs.org/@scalar/api-client/-/api-client-2.17.5.tgz", - "integrity": "sha512-8WH5RMS9E8WRzwqC7hpMkJ2AlCgwFjf1MNbxO61WnXq6BHZeLIhFmZlKtsCX2+7V4K5NR1I+EjhrGf9hX72Obg==", + "version": "2.19.2", + "resolved": "https://registry.npmjs.org/@scalar/api-client/-/api-client-2.19.2.tgz", + "integrity": "sha512-yOcOUNrTpYdk+E+vAy5UaiMW6s1KDhBQ12miGm6V5BWR9HeakqDyFIhjB/5DArIsiWuQehG2ZJjfWwRGgEpSbw==", "license": "MIT", "dependencies": { "@headlessui/tailwindcss": "^0.2.2", "@headlessui/vue": "1.7.23", "@scalar/analytics-client": "1.0.1", - "@scalar/components": "0.16.16", + "@scalar/components": "0.16.26", "@scalar/draggable": "0.3.0", - "@scalar/helpers": "0.2.6", + "@scalar/helpers": "0.2.8", "@scalar/icons": "0.5.2", - "@scalar/import": "0.4.43", - "@scalar/json-magic": "0.8.10", - "@scalar/oas-utils": "0.6.14", - "@scalar/object-utils": "1.2.20", - "@scalar/openapi-parser": "0.23.11", + "@scalar/import": "0.4.45", + "@scalar/json-magic": "0.9.2", + "@scalar/oas-utils": "0.6.23", + "@scalar/object-utils": "1.2.22", + "@scalar/openapi-parser": "0.24.3", "@scalar/openapi-types": "0.5.3", - "@scalar/postman-to-openapi": "0.3.55", - "@scalar/sidebar": "0.7.6", - "@scalar/snippetz": "0.6.3", + "@scalar/postman-to-openapi": "0.4.0", + "@scalar/sidebar": "0.7.16", + "@scalar/snippetz": "0.6.6", "@scalar/themes": "0.13.26", - "@scalar/types": "0.5.6", - "@scalar/use-codemirror": "0.13.10", - "@scalar/use-hooks": "0.3.5", + "@scalar/types": "0.5.8", + "@scalar/use-codemirror": "0.13.20", + "@scalar/use-hooks": "0.3.6", "@scalar/use-toasts": "0.9.1", - "@scalar/workspace-store": "0.24.4", + "@scalar/workspace-store": "0.25.2", "@types/har-format": "^1.2.15", "@vueuse/core": "13.9.0", "@vueuse/integrations": "13.9.0", @@ -5381,25 +5419,25 @@ "fuse.js": "^7.1.0", "js-base64": "^3.7.8", "microdiff": "^1.5.0", - "nanoid": "5.1.5", - "pretty-bytes": "^6.1.1", - "pretty-ms": "^8.0.0", + "nanoid": "^5.1.6", + "pretty-bytes": "^7.1.0", + "pretty-ms": "^9.3.0", "shell-quote": "^1.8.1", - "type-fest": "5.0.0", - "vue": "^3.5.21", + "type-fest": "^5.3.1", + "vue": "^3.5.26", "vue-router": "4.6.2", "whatwg-mimetype": "^4.0.0", "yaml": "^2.8.0", - "zod": "^4.1.11" + "zod": "^4.3.5" }, "engines": { "node": ">=20" } }, "node_modules/@scalar/api-client/node_modules/nanoid": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.5.tgz", - "integrity": "sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.6.tgz", + "integrity": "sha512-c7+7RQ+dMB5dPwwCp4ee1/iV/q2P6aK1mTZcfr1BTuVlyW9hJYiMPybJCcnBlQtuSmTIWNeazm/zqNoZSSElBg==", "funding": [ { "type": "github", @@ -5415,9 +5453,9 @@ } }, "node_modules/@scalar/api-client/node_modules/type-fest": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.0.0.tgz", - "integrity": "sha512-GeJop7+u7BYlQ6yQCAY1nBQiRSHR+6OdCEtd8Bwp9a3NK3+fWAVjOaPKJDteB9f6cIJ0wt4IfnScjLG450EpXA==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.4.1.tgz", + "integrity": "sha512-xygQcmneDyzsEuKZrFbRMne5HDqMs++aFzefrJTgEIKjQ3rekM+RPfFCVq2Gp1VIDqddoYeppCj4Pcb+RZW0GQ==", "license": "(MIT OR CC0-1.0)", "dependencies": { "tagged-tag": "^1.0.0" @@ -5445,41 +5483,34 @@ } }, "node_modules/@scalar/api-reference": { - "version": "1.43.0", - "resolved": "https://registry.npmjs.org/@scalar/api-reference/-/api-reference-1.43.0.tgz", - "integrity": "sha512-/PuswaYL8fXwlOH7d4fVsNgaQbLoPv+siUUkHMA7tQfQNvwjZ9DDL1ebI8Yl4nhcfG5bx4CEpLdqt4AeNDCFeA==", + "version": "1.43.11", + "resolved": "https://registry.npmjs.org/@scalar/api-reference/-/api-reference-1.43.11.tgz", + "integrity": "sha512-OyVZFgisM2aftO6aJi371NWCJCT7Sf+hN4aplqyVs2lB8jw/AM/udVJSpcu0KeDimsEgfCgWguLRvXMuiYbeqg==", "license": "MIT", "dependencies": { - "@floating-ui/vue": "1.1.9", "@headlessui/vue": "1.7.23", - "@scalar/api-client": "2.17.5", + "@scalar/api-client": "2.19.2", "@scalar/code-highlight": "0.2.2", - "@scalar/components": "0.16.16", - "@scalar/helpers": "0.2.6", + "@scalar/components": "0.16.26", + "@scalar/helpers": "0.2.8", "@scalar/icons": "0.5.2", - "@scalar/json-magic": "0.8.10", - "@scalar/oas-utils": "0.6.14", - "@scalar/object-utils": "1.2.20", - "@scalar/openapi-parser": "0.23.11", + "@scalar/oas-utils": "0.6.23", + "@scalar/openapi-parser": "0.24.3", "@scalar/openapi-types": "0.5.3", - "@scalar/openapi-upgrader": "0.1.6", - "@scalar/sidebar": "0.7.6", - "@scalar/snippetz": "0.6.3", + "@scalar/sidebar": "0.7.16", + "@scalar/snippetz": "0.6.6", "@scalar/themes": "0.13.26", - "@scalar/types": "0.5.6", - "@scalar/use-hooks": "0.3.5", + "@scalar/types": "0.5.8", + "@scalar/use-hooks": "0.3.6", "@scalar/use-toasts": "0.9.1", - "@scalar/workspace-store": "0.24.4", + "@scalar/workspace-store": "0.25.2", "@unhead/vue": "^1.11.20", "@vueuse/core": "13.9.0", "fuse.js": "^7.1.0", "github-slugger": "^2.0.0", - "js-base64": "^3.7.8", "microdiff": "^1.5.0", - "nanoid": "5.1.5", - "type-fest": "5.0.0", - "vue": "^3.5.21", - "zod": "^4.1.11" + "nanoid": "^5.1.6", + "vue": "^3.5.26" }, "engines": { "node": ">=20" @@ -5492,9 +5523,9 @@ "license": "ISC" }, "node_modules/@scalar/api-reference/node_modules/nanoid": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.5.tgz", - "integrity": "sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.6.tgz", + "integrity": "sha512-c7+7RQ+dMB5dPwwCp4ee1/iV/q2P6aK1mTZcfr1BTuVlyW9hJYiMPybJCcnBlQtuSmTIWNeazm/zqNoZSSElBg==", "funding": [ { "type": "github", @@ -5509,21 +5540,6 @@ "node": "^18 || >=20" } }, - "node_modules/@scalar/api-reference/node_modules/type-fest": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.0.0.tgz", - "integrity": "sha512-GeJop7+u7BYlQ6yQCAY1nBQiRSHR+6OdCEtd8Bwp9a3NK3+fWAVjOaPKJDteB9f6cIJ0wt4IfnScjLG450EpXA==", - "license": "(MIT OR CC0-1.0)", - "dependencies": { - "tagged-tag": "^1.0.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@scalar/code-highlight": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/@scalar/code-highlight/-/code-highlight-0.2.2.tgz", @@ -5552,27 +5568,26 @@ } }, "node_modules/@scalar/components": { - "version": "0.16.16", - "resolved": "https://registry.npmjs.org/@scalar/components/-/components-0.16.16.tgz", - "integrity": "sha512-fnaQAuGIxKcBnrB/Z0Xtlj1/LNPi6dxSn6eGc6V1z8pF3Omwj/AR8CuMdrwyy3dt/I8JMWL+9/6PF3iYd5ohLQ==", + "version": "0.16.26", + "resolved": "https://registry.npmjs.org/@scalar/components/-/components-0.16.26.tgz", + "integrity": "sha512-roWGp46Mu2VjLlbHIB4pJ64NeQUXpuGHkuVc2KHu8M8xdXx/5PO+aSs3v7R4De71i16TcwbW9cfa5bVZ5exUfA==", "license": "MIT", "dependencies": { "@floating-ui/utils": "0.2.10", "@floating-ui/vue": "1.1.9", "@headlessui/vue": "1.7.23", "@scalar/code-highlight": "0.2.2", - "@scalar/helpers": "0.2.6", + "@scalar/helpers": "0.2.8", "@scalar/icons": "0.5.2", - "@scalar/oas-utils": "0.6.14", + "@scalar/oas-utils": "0.6.23", "@scalar/themes": "0.13.26", - "@scalar/use-hooks": "0.3.5", - "@vueless/storybook-dark-mode": "^10.0.4", + "@scalar/use-hooks": "0.3.6", "@vueuse/core": "13.9.0", "cva": "1.0.0-beta.2", - "nanoid": "5.1.5", + "nanoid": "^5.1.6", "pretty-bytes": "^6.1.1", "radix-vue": "^1.9.3", - "vue": "^3.5.21", + "vue": "^3.5.26", "vue-component-type-helpers": "^3.0.4" }, "engines": { @@ -5580,9 +5595,9 @@ } }, "node_modules/@scalar/components/node_modules/nanoid": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.5.tgz", - "integrity": "sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.6.tgz", + "integrity": "sha512-c7+7RQ+dMB5dPwwCp4ee1/iV/q2P6aK1mTZcfr1BTuVlyW9hJYiMPybJCcnBlQtuSmTIWNeazm/zqNoZSSElBg==", "funding": [ { "type": "github", @@ -5597,13 +5612,25 @@ "node": "^18 || >=20" } }, + "node_modules/@scalar/components/node_modules/pretty-bytes": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.1.1.tgz", + "integrity": "sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==", + "license": "MIT", + "engines": { + "node": "^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@scalar/docusaurus": { - "version": "0.7.28", - "resolved": "https://registry.npmjs.org/@scalar/docusaurus/-/docusaurus-0.7.28.tgz", - "integrity": "sha512-kZlPlrGl7NWE9wPU+wnURv88HUAhpcEzp8lDRJF48VvdMgkNQMOwGmT3ISHorbDsBKZ05ejTDR1mzoL1C48Y3g==", + "version": "0.7.31", + "resolved": "https://registry.npmjs.org/@scalar/docusaurus/-/docusaurus-0.7.31.tgz", + "integrity": "sha512-hIByZ538dX0aC/FTGlF54uht06mdUGtBEmoSS7RQ6HI3Ggo/+HofiSDYTtrL4aDN9krMj5hWAda5FeNPnv04gA==", "license": "MIT", "dependencies": { - "@scalar/types": "0.5.6" + "@scalar/types": "0.5.8" }, "engines": { "node": ">=20" @@ -5626,9 +5653,9 @@ } }, "node_modules/@scalar/helpers": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@scalar/helpers/-/helpers-0.2.6.tgz", - "integrity": "sha512-A471YFBCj7ZOlGIkAYnU8oYgeyts82ZNX+4UicrlmKv3eAQ+kwboN3Dy0R6u1lcA/+I/zzeXi/fBObsT7P9qTA==", + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/@scalar/helpers/-/helpers-0.2.8.tgz", + "integrity": "sha512-aXXRF4sCaiGZIRpZ1MUcnl8y0Q9pPG1VXqQMWacVWDh6zQN9cuayTC/TbODzWeldp50sgJ1E8MpHvpeV7CEF9g==", "license": "MIT", "engines": { "node": ">=20" @@ -5650,9 +5677,9 @@ } }, "node_modules/@scalar/icons/node_modules/@types/node": { - "version": "22.19.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.3.tgz", - "integrity": "sha512-1N9SBnWYOJTrNZCdh/yJE+t910Y128BoyY+zBLWhL3r0TYzlTmFdXrPwHL9DyFZmlEXNQQolTZh3KHV31QDhyA==", + "version": "22.19.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.7.tgz", + "integrity": "sha512-MciR4AKGHWl7xwxkBa6xUGxQJ4VBOmPTF7sL+iGzuahOFaO0jHCsuEfS80pan1ef4gWId1oWOweIhrDEYLuaOw==", "license": "MIT", "dependencies": { "undici-types": "~6.21.0" @@ -5677,12 +5704,12 @@ "license": "MIT" }, "node_modules/@scalar/import": { - "version": "0.4.43", - "resolved": "https://registry.npmjs.org/@scalar/import/-/import-0.4.43.tgz", - "integrity": "sha512-quwhriB6TKUe3jBwal3zdjohUN4+SDkBpcBAQuw0kzUpSWq4wLEvfJ4bMJ5I0leA7eiTHBBELbQcPnufInLRPg==", + "version": "0.4.45", + "resolved": "https://registry.npmjs.org/@scalar/import/-/import-0.4.45.tgz", + "integrity": "sha512-ShLsuX99SrCUCqkYPSEWKUuNhZdYtek09C4DZt300p71KtZ3x0lneyVk82f6FZu5PDqEWkFH2hAbCAxsYXKDZQ==", "license": "MIT", "dependencies": { - "@scalar/helpers": "0.2.6", + "@scalar/helpers": "0.2.8", "yaml": "^2.8.0" }, "engines": { @@ -5705,12 +5732,12 @@ } }, "node_modules/@scalar/json-magic": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/@scalar/json-magic/-/json-magic-0.8.10.tgz", - "integrity": "sha512-TWdKQ/hcy4erFQDp2MVlFoPesFep2VY96Q69cjLHmx5hxM0ZUBfmNB4lA8Uh3klgx5JmCDfSNIGjPFIpxlosUw==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@scalar/json-magic/-/json-magic-0.9.2.tgz", + "integrity": "sha512-Oo+AwX+3VtNWmUeCvw7ig+aoWxC1z4YDgA1wpLD8wWUh9eE+txni/7z7Q557da7vY+NPm2r3p1edOrABaiCZ6g==", "license": "MIT", "dependencies": { - "@scalar/helpers": "0.2.6", + "@scalar/helpers": "0.2.8", "yaml": "^2.8.0" }, "engines": { @@ -5733,31 +5760,31 @@ } }, "node_modules/@scalar/oas-utils": { - "version": "0.6.14", - "resolved": "https://registry.npmjs.org/@scalar/oas-utils/-/oas-utils-0.6.14.tgz", - "integrity": "sha512-/OStgac9EMdeZ9Th7yb1Y3qPKVLf/c0RklkOfvCV2cJ0rrigXlz11wkBnx6ZUOr5e7Vtc221t0X4hC+GwnBdxA==", + "version": "0.6.23", + "resolved": "https://registry.npmjs.org/@scalar/oas-utils/-/oas-utils-0.6.23.tgz", + "integrity": "sha512-yyYBJHJlWRqut8MHeR3Lj5u6oNsXkm0dS90lU/ruH9Sk1wsPcdluxyXBeNNQ/RRRbW65YQz2lvcWKsfiJ6BuGg==", "license": "MIT", "dependencies": { - "@scalar/helpers": "0.2.6", - "@scalar/json-magic": "0.8.10", - "@scalar/object-utils": "1.2.20", + "@scalar/helpers": "0.2.8", + "@scalar/json-magic": "0.9.2", + "@scalar/object-utils": "1.2.22", "@scalar/openapi-types": "0.5.3", "@scalar/themes": "0.13.26", - "@scalar/types": "0.5.6", - "@scalar/workspace-store": "0.24.4", + "@scalar/types": "0.5.8", + "@scalar/workspace-store": "0.25.2", "flatted": "^3.3.3", - "type-fest": "5.0.0", + "type-fest": "^5.3.1", "yaml": "^2.8.0", - "zod": "^4.1.11" + "zod": "^4.3.5" }, "engines": { "node": ">=20" } }, "node_modules/@scalar/oas-utils/node_modules/type-fest": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.0.0.tgz", - "integrity": "sha512-GeJop7+u7BYlQ6yQCAY1nBQiRSHR+6OdCEtd8Bwp9a3NK3+fWAVjOaPKJDteB9f6cIJ0wt4IfnScjLG450EpXA==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.4.1.tgz", + "integrity": "sha512-xygQcmneDyzsEuKZrFbRMne5HDqMs++aFzefrJTgEIKjQ3rekM+RPfFCVq2Gp1VIDqddoYeppCj4Pcb+RZW0GQ==", "license": "(MIT OR CC0-1.0)", "dependencies": { "tagged-tag": "^1.0.0" @@ -5785,12 +5812,12 @@ } }, "node_modules/@scalar/object-utils": { - "version": "1.2.20", - "resolved": "https://registry.npmjs.org/@scalar/object-utils/-/object-utils-1.2.20.tgz", - "integrity": "sha512-J4mWmsHPmliEKd+lzsxw2Go4KbpGUvOS5DHBU/aZhhVeBfKy3i/LlnWaq/ixxr1YWtWj7HvAZCYp4zKCQB00Jg==", + "version": "1.2.22", + "resolved": "https://registry.npmjs.org/@scalar/object-utils/-/object-utils-1.2.22.tgz", + "integrity": "sha512-YHC1JzDvix1hQHeSx5c9V/E3+3d5TzXA6etKcnTofdMEwrEeOGYFs+FCK2ODtjObZqN+kea6geoytCadDqWjxg==", "license": "MIT", "dependencies": { - "@scalar/helpers": "0.2.6", + "@scalar/helpers": "0.2.8", "flatted": "^3.3.3", "just-clone": "^6.2.0", "ts-deepmerge": "^7.0.1" @@ -5800,14 +5827,14 @@ } }, "node_modules/@scalar/openapi-parser": { - "version": "0.23.11", - "resolved": "https://registry.npmjs.org/@scalar/openapi-parser/-/openapi-parser-0.23.11.tgz", - "integrity": "sha512-C3+04WqQRG6mqC2DbV1PRmHutJHNcnaBGVD2mnGDyZyK5iusVjGLhL+yuqVPkOBv6PuEzscGqbJQ0yfvVa5WtA==", + "version": "0.24.3", + "resolved": "https://registry.npmjs.org/@scalar/openapi-parser/-/openapi-parser-0.24.3.tgz", + "integrity": "sha512-k+jR2enWQLVqcCDQYIhvE1wicU0LcWtKk8F+pJCDyKuA2SsnV0rW4mC38AqpgxQ+K9JA9o1PgBmJ4CkdiL1XAA==", "license": "MIT", "dependencies": { - "@scalar/json-magic": "0.8.10", + "@scalar/json-magic": "0.9.2", "@scalar/openapi-types": "0.5.3", - "@scalar/openapi-upgrader": "0.1.6", + "@scalar/openapi-upgrader": "0.1.8", "ajv": "^8.17.1", "ajv-draft-04": "^1.0.0", "ajv-formats": "^3.0.1", @@ -5876,9 +5903,9 @@ } }, "node_modules/@scalar/openapi-upgrader": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@scalar/openapi-upgrader/-/openapi-upgrader-0.1.6.tgz", - "integrity": "sha512-XdrNZUr0ASLfR89OS2zP6enbq9f7UGQQxov+a3WF1Wz9DClniAL2ChJ2fbGOrqL5F2kjbV6Fw/iO3bsBTMyLZA==", + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/@scalar/openapi-upgrader/-/openapi-upgrader-0.1.8.tgz", + "integrity": "sha512-2xuYLLs0fBadLIk4I1ObjMiCnOyLPEMPf24A1HtHQvhKGDnGlvT63F2rU2Xw8lxCjgHnzveMPnOJEbwIy64RCg==", "license": "MIT", "dependencies": { "@scalar/openapi-types": "0.5.3" @@ -5888,13 +5915,12 @@ } }, "node_modules/@scalar/postman-to-openapi": { - "version": "0.3.55", - "resolved": "https://registry.npmjs.org/@scalar/postman-to-openapi/-/postman-to-openapi-0.3.55.tgz", - "integrity": "sha512-CSx4XVDBmGUT8Syzh/f3My7HJz90Ay2DL2wdrq9kWy/ojoIBimUs4Rhy8y2BWsAOBFtO1jQWU03I3XD3k1YN4A==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@scalar/postman-to-openapi/-/postman-to-openapi-0.4.0.tgz", + "integrity": "sha512-0iq/IQxtk7Oz8bFkuYbKAnS2VaBP6ptJZx5hLD4tUzIvQCoF/8tXTStkFGycwqP+lgJ4eqhNcHGqT7LnT0P7oA==", "license": "MIT", "dependencies": { - "@scalar/helpers": "0.2.6", - "@scalar/oas-utils": "0.6.14", + "@scalar/helpers": "0.2.8", "@scalar/openapi-types": "0.5.3" }, "engines": { @@ -5902,30 +5928,30 @@ } }, "node_modules/@scalar/sidebar": { - "version": "0.7.6", - "resolved": "https://registry.npmjs.org/@scalar/sidebar/-/sidebar-0.7.6.tgz", - "integrity": "sha512-nPc93ndBMh9Jw4AylesC3nxDGmtPDuRuvscPkFPsz/oZ37d5GY2gsDKEvky+iNkz8aRE6y/OsJFVnKAjmF8KyA==", + "version": "0.7.16", + "resolved": "https://registry.npmjs.org/@scalar/sidebar/-/sidebar-0.7.16.tgz", + "integrity": "sha512-VuFq+j0yA2kKmRr5fIL7lphw+ufD3XbZbSRoo6WuD6L606gmWqo+w2Vgg8FbpA7YH3ct8J1wnjGYRVHB3ktcng==", "license": "MIT", "dependencies": { - "@scalar/components": "0.16.16", - "@scalar/helpers": "0.2.6", + "@scalar/components": "0.16.26", + "@scalar/helpers": "0.2.8", "@scalar/icons": "0.5.2", "@scalar/themes": "0.13.26", - "@scalar/use-hooks": "0.3.5", - "@scalar/workspace-store": "0.24.4", - "vue": "^3.5.21" + "@scalar/use-hooks": "0.3.6", + "@scalar/workspace-store": "0.25.2", + "vue": "^3.5.26" }, "engines": { "node": ">=20" } }, "node_modules/@scalar/snippetz": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/@scalar/snippetz/-/snippetz-0.6.3.tgz", - "integrity": "sha512-hQLf16eE58Q7JImwWyuC5DTq1W4hn8OdCFPVH0g4OBCsiJswj50QhWma9VBJ+6TrGdBg0cnh7nCiHEewtcyXIA==", + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/@scalar/snippetz/-/snippetz-0.6.6.tgz", + "integrity": "sha512-5BDBsNtyvZaiBat2FgqPOKk9CsrR5ac0RJPM4xMntAa+FdkSJrFdQ9iluLqIkO2zGFP+DU8B8vM9eJemmydRXA==", "license": "MIT", "dependencies": { - "@scalar/types": "0.5.6", + "@scalar/types": "0.5.8", "js-base64": "^3.7.8", "stringify-object": "^5.0.0" }, @@ -6011,24 +6037,24 @@ "license": "MIT" }, "node_modules/@scalar/types": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/@scalar/types/-/types-0.5.6.tgz", - "integrity": "sha512-yvTXYdSQPq8qmJ1zZPBRRB3RkkE2c0J3gIIMirX997yyVixrhtb0jmfM+9EZ2ZWXGx2JGLquGP10zY0nmnu75w==", + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/@scalar/types/-/types-0.5.8.tgz", + "integrity": "sha512-eL8zojDI9QB+kNRkuM80auTKHnzNrlOLC8ZLUJVnY0Jj5ZtoInKMDGodgQXK1wOSDTcfVfgLALOY1zb6cFFlCg==", "license": "MIT", "dependencies": { - "@scalar/helpers": "0.2.6", - "nanoid": "5.1.5", - "type-fest": "5.0.0", - "zod": "^4.1.11" + "@scalar/helpers": "0.2.8", + "nanoid": "^5.1.6", + "type-fest": "^5.3.1", + "zod": "^4.3.5" }, "engines": { "node": ">=20" } }, "node_modules/@scalar/types/node_modules/nanoid": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.5.tgz", - "integrity": "sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.6.tgz", + "integrity": "sha512-c7+7RQ+dMB5dPwwCp4ee1/iV/q2P6aK1mTZcfr1BTuVlyW9hJYiMPybJCcnBlQtuSmTIWNeazm/zqNoZSSElBg==", "funding": [ { "type": "github", @@ -6044,9 +6070,9 @@ } }, "node_modules/@scalar/types/node_modules/type-fest": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.0.0.tgz", - "integrity": "sha512-GeJop7+u7BYlQ6yQCAY1nBQiRSHR+6OdCEtd8Bwp9a3NK3+fWAVjOaPKJDteB9f6cIJ0wt4IfnScjLG450EpXA==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.4.1.tgz", + "integrity": "sha512-xygQcmneDyzsEuKZrFbRMne5HDqMs++aFzefrJTgEIKjQ3rekM+RPfFCVq2Gp1VIDqddoYeppCj4Pcb+RZW0GQ==", "license": "(MIT OR CC0-1.0)", "dependencies": { "tagged-tag": "^1.0.0" @@ -6059,9 +6085,9 @@ } }, "node_modules/@scalar/use-codemirror": { - "version": "0.13.10", - "resolved": "https://registry.npmjs.org/@scalar/use-codemirror/-/use-codemirror-0.13.10.tgz", - "integrity": "sha512-wtd01kTmUvUoEFIRa/1uTKgnP5OsnQdowWhTKuXs1OlySJ9ulifFVt5us7YtL0wGWmGjfmDTMM6x8WnwlyN/7g==", + "version": "0.13.20", + "resolved": "https://registry.npmjs.org/@scalar/use-codemirror/-/use-codemirror-0.13.20.tgz", + "integrity": "sha512-xVIz+lSAx4Bmkd4SQUkpKA6qR5Xvpv+aDgD/o/mYyGPP46lhp4L25pjRo613/ORQEMo05jekEuEMNMmRl8AQJQ==", "license": "MIT", "dependencies": { "@codemirror/autocomplete": "^6.18.3", @@ -6078,17 +6104,17 @@ "@lezer/common": "^1.2.3", "@lezer/highlight": "^1.2.1", "@replit/codemirror-css-color-picker": "^6.3.0", - "@scalar/components": "0.16.16", - "vue": "^3.5.21" + "@scalar/components": "0.16.26", + "vue": "^3.5.26" }, "engines": { "node": ">=20" } }, "node_modules/@scalar/use-hooks": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@scalar/use-hooks/-/use-hooks-0.3.5.tgz", - "integrity": "sha512-owi+FMNhJw0D21rS3Jnnu7CYmZa/zN0h3i7VmBu7Gikjv1c8QNvaFr7Kon9GQlaTIwydRH+yyfGhw5MzXR+rsA==", + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@scalar/use-hooks/-/use-hooks-0.3.6.tgz", + "integrity": "sha512-VX/kAmnxDjXi+Gcjm5OP0fV9+t+4UTy9SoK6Z0SXEKoFbAIW2jsq52sfnIeNzdEotxaUulwUIOlX0yj2HaedyQ==", "license": "MIT", "dependencies": { "@scalar/use-toasts": "0.9.1", @@ -6116,23 +6142,23 @@ } }, "node_modules/@scalar/workspace-store": { - "version": "0.24.4", - "resolved": "https://registry.npmjs.org/@scalar/workspace-store/-/workspace-store-0.24.4.tgz", - "integrity": "sha512-u5gtmsyCF4m1trscs4uxdBX1GVnVbZAyHJ3PHThZRV1kWEAWK4VuKkC9FI5D9yGitLkN4CZaomJlFdOPDX2pXw==", + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@scalar/workspace-store/-/workspace-store-0.25.2.tgz", + "integrity": "sha512-cOoJZ85kHJwKRFSvh1cZM9l2AUHLtROldykw96kiyyAe8mxmiJiHsUsqn4i+i5pOx2tWOx2E1diP9Umxwfj7fQ==", "license": "MIT", "dependencies": { "@scalar/code-highlight": "0.2.2", - "@scalar/helpers": "0.2.6", - "@scalar/json-magic": "0.8.10", - "@scalar/object-utils": "1.2.20", - "@scalar/openapi-upgrader": "0.1.6", - "@scalar/snippetz": "0.6.3", + "@scalar/helpers": "0.2.8", + "@scalar/json-magic": "0.9.2", + "@scalar/object-utils": "1.2.22", + "@scalar/openapi-upgrader": "0.1.8", + "@scalar/snippetz": "0.6.6", "@scalar/themes": "0.13.26", "@scalar/typebox": "0.1.3", - "@scalar/types": "0.5.6", + "@scalar/types": "0.5.8", "github-slugger": "^2.0.0", - "type-fest": "5.0.0", - "vue": "^3.5.21", + "type-fest": "^5.3.1", + "vue": "^3.5.26", "yaml": "^2.8.0" }, "engines": { @@ -6146,9 +6172,9 @@ "license": "ISC" }, "node_modules/@scalar/workspace-store/node_modules/type-fest": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.0.0.tgz", - "integrity": "sha512-GeJop7+u7BYlQ6yQCAY1nBQiRSHR+6OdCEtd8Bwp9a3NK3+fWAVjOaPKJDteB9f6cIJ0wt4IfnScjLG450EpXA==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.4.1.tgz", + "integrity": "sha512-xygQcmneDyzsEuKZrFbRMne5HDqMs++aFzefrJTgEIKjQ3rekM+RPfFCVq2Gp1VIDqddoYeppCj4Pcb+RZW0GQ==", "license": "(MIT OR CC0-1.0)", "dependencies": { "tagged-tag": "^1.0.0" @@ -6288,12 +6314,6 @@ "integrity": "sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==", "license": "MIT" }, - "node_modules/@storybook/global": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@storybook/global/-/global-5.0.0.tgz", - "integrity": "sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==", - "license": "MIT" - }, "node_modules/@svgr/babel-plugin-add-jsx-attribute": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-8.0.0.tgz", @@ -6825,9 +6845,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "25.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.3.tgz", - "integrity": "sha512-W609buLVRVmeW693xKfzHeIV6nJGGz98uCPfeXI1ELMLXVeKYZ9m15fAMSaUPBHYLGFsVRcMmSCksQOrZV9BYA==", + "version": "25.0.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.10.tgz", + "integrity": "sha512-zWW5KPngR/yvakJgGOmZ5vTBemDoSqF3AcV/LrO5u5wTWyEAVVh+IT39G4gtyAkh3CtTZs8aX/yRM82OfzHJRg==", "license": "MIT", "dependencies": { "undici-types": "~7.16.0" @@ -7079,22 +7099,22 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.26.tgz", - "integrity": "sha512-vXyI5GMfuoBCnv5ucIT7jhHKl55Y477yxP6fc4eUswjP8FG3FFVFd41eNDArR+Uk3QKn2Z85NavjaxLxOC19/w==", + "version": "3.5.27", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.27.tgz", + "integrity": "sha512-gnSBQjZA+//qDZen+6a2EdHqJ68Z7uybrMf3SPjEGgG4dicklwDVmMC1AeIHxtLVPT7sn6sH1KOO+tS6gwOUeQ==", "license": "MIT", "dependencies": { "@babel/parser": "^7.28.5", - "@vue/shared": "3.5.26", + "@vue/shared": "3.5.27", "entities": "^7.0.0", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "node_modules/@vue/compiler-core/node_modules/entities": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.0.tgz", - "integrity": "sha512-FDWG5cmEYf2Z00IkYRhbFrwIwvdFKH07uV8dvNy0omp/Qb1xcyCWp2UDtcwJF4QZZvk0sLudP6/hAu42TaqVhQ==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", + "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", "license": "BSD-2-Clause", "engines": { "node": ">=0.12" @@ -7110,26 +7130,26 @@ "license": "MIT" }, "node_modules/@vue/compiler-dom": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.26.tgz", - "integrity": "sha512-y1Tcd3eXs834QjswshSilCBnKGeQjQXB6PqFn/1nxcQw4pmG42G8lwz+FZPAZAby6gZeHSt/8LMPfZ4Rb+Bd/A==", + "version": "3.5.27", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.27.tgz", + "integrity": "sha512-oAFea8dZgCtVVVTEC7fv3T5CbZW9BxpFzGGxC79xakTr6ooeEqmRuvQydIiDAkglZEAd09LgVf1RoDnL54fu5w==", "license": "MIT", "dependencies": { - "@vue/compiler-core": "3.5.26", - "@vue/shared": "3.5.26" + "@vue/compiler-core": "3.5.27", + "@vue/shared": "3.5.27" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.26.tgz", - "integrity": "sha512-egp69qDTSEZcf4bGOSsprUr4xI73wfrY5oRs6GSgXFTiHrWj4Y3X5Ydtip9QMqiCMCPVwLglB9GBxXtTadJ3mA==", + "version": "3.5.27", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.27.tgz", + "integrity": "sha512-sHZu9QyDPeDmN/MRoshhggVOWE5WlGFStKFwu8G52swATgSny27hJRWteKDSUUzUH+wp+bmeNbhJnEAel/auUQ==", "license": "MIT", "dependencies": { "@babel/parser": "^7.28.5", - "@vue/compiler-core": "3.5.26", - "@vue/compiler-dom": "3.5.26", - "@vue/compiler-ssr": "3.5.26", - "@vue/shared": "3.5.26", + "@vue/compiler-core": "3.5.27", + "@vue/compiler-dom": "3.5.27", + "@vue/compiler-ssr": "3.5.27", + "@vue/shared": "3.5.27", "estree-walker": "^2.0.2", "magic-string": "^0.30.21", "postcss": "^8.5.6", @@ -7143,13 +7163,13 @@ "license": "MIT" }, "node_modules/@vue/compiler-ssr": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.26.tgz", - "integrity": "sha512-lZT9/Y0nSIRUPVvapFJEVDbEXruZh2IYHMk2zTtEgJSlP5gVOqeWXH54xDKAaFS4rTnDeDBQUYDtxKyoW9FwDw==", + "version": "3.5.27", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.27.tgz", + "integrity": "sha512-Sj7h+JHt512fV1cTxKlYhg7qxBvack+BGncSpH+8vnN+KN95iPIcqB5rsbblX40XorP+ilO7VIKlkuu3Xq2vjw==", "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.5.26", - "@vue/shared": "3.5.26" + "@vue/compiler-dom": "3.5.27", + "@vue/shared": "3.5.27" } }, "node_modules/@vue/devtools-api": { @@ -7159,33 +7179,33 @@ "license": "MIT" }, "node_modules/@vue/reactivity": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.26.tgz", - "integrity": "sha512-9EnYB1/DIiUYYnzlnUBgwU32NNvLp/nhxLXeWRhHUEeWNTn1ECxX8aGO7RTXeX6PPcxe3LLuNBFoJbV4QZ+CFQ==", + "version": "3.5.27", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.27.tgz", + "integrity": "sha512-vvorxn2KXfJ0nBEnj4GYshSgsyMNFnIQah/wczXlsNXt+ijhugmW+PpJ2cNPe4V6jpnBcs0MhCODKllWG+nvoQ==", "license": "MIT", "dependencies": { - "@vue/shared": "3.5.26" + "@vue/shared": "3.5.27" } }, "node_modules/@vue/runtime-core": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.26.tgz", - "integrity": "sha512-xJWM9KH1kd201w5DvMDOwDHYhrdPTrAatn56oB/LRG4plEQeZRQLw0Bpwih9KYoqmzaxF0OKSn6swzYi84e1/Q==", + "version": "3.5.27", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.27.tgz", + "integrity": "sha512-fxVuX/fzgzeMPn/CLQecWeDIFNt3gQVhxM0rW02Tvp/YmZfXQgcTXlakq7IMutuZ/+Ogbn+K0oct9J3JZfyk3A==", "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.26", - "@vue/shared": "3.5.26" + "@vue/reactivity": "3.5.27", + "@vue/shared": "3.5.27" } }, "node_modules/@vue/runtime-dom": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.26.tgz", - "integrity": "sha512-XLLd/+4sPC2ZkN/6+V4O4gjJu6kSDbHAChvsyWgm1oGbdSO3efvGYnm25yCjtFm/K7rrSDvSfPDgN1pHgS4VNQ==", + "version": "3.5.27", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.27.tgz", + "integrity": "sha512-/QnLslQgYqSJ5aUmb5F0z0caZPGHRB8LEAQ1s81vHFM5CBfnun63rxhvE/scVb/j3TbBuoZwkJyiLCkBluMpeg==", "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.26", - "@vue/runtime-core": "3.5.26", - "@vue/shared": "3.5.26", + "@vue/reactivity": "3.5.27", + "@vue/runtime-core": "3.5.27", + "@vue/shared": "3.5.27", "csstype": "^3.2.3" } }, @@ -7196,39 +7216,24 @@ "license": "MIT" }, "node_modules/@vue/server-renderer": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.26.tgz", - "integrity": "sha512-TYKLXmrwWKSodyVuO1WAubucd+1XlLg4set0YoV+Hu8Lo79mp/YMwWV5mC5FgtsDxX3qo1ONrxFaTP1OQgy1uA==", + "version": "3.5.27", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.27.tgz", + "integrity": "sha512-qOz/5thjeP1vAFc4+BY3Nr6wxyLhpeQgAE/8dDtKo6a6xdk+L4W46HDZgNmLOBUDEkFXV3G7pRiUqxjX0/2zWA==", "license": "MIT", "dependencies": { - "@vue/compiler-ssr": "3.5.26", - "@vue/shared": "3.5.26" + "@vue/compiler-ssr": "3.5.27", + "@vue/shared": "3.5.27" }, "peerDependencies": { - "vue": "3.5.26" + "vue": "3.5.27" } }, "node_modules/@vue/shared": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.26.tgz", - "integrity": "sha512-7Z6/y3uFI5PRoKeorTOSXKcDj0MSasfNNltcslbFrPpcw6aXRUALq4IfJlaTRspiWIUOEZbrpM+iQGmCOiWe4A==", + "version": "3.5.27", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.27.tgz", + "integrity": "sha512-dXr/3CgqXsJkZ0n9F3I4elY8wM9jMJpP3pvRG52r6m0tu/MsAFIe6JpXVGeNMd/D9F4hQynWT8Rfuj0bdm9kFQ==", "license": "MIT" }, - "node_modules/@vueless/storybook-dark-mode": { - "version": "10.0.4", - "resolved": "https://registry.npmjs.org/@vueless/storybook-dark-mode/-/storybook-dark-mode-10.0.4.tgz", - "integrity": "sha512-0sNP9i7OkjVx+0JqKipd3rlaulv0bxcZFZ7OQL5+8Z2VXrQQR+jLBclRoLlZCoRA/wnNZA/gjia8dI8aqiF+DA==", - "dependencies": { - "@storybook/global": "^5.0.0", - "lodash-es": "^4.17.21" - }, - "engines": { - "node": ">=20" - }, - "peerDependencies": { - "storybook": "^10.0.0" - } - }, "node_modules/@vueuse/core": { "version": "13.9.0", "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-13.9.0.tgz", @@ -8085,23 +8090,23 @@ } }, "node_modules/body-parser": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", - "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "version": "1.20.4", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz", + "integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==", "license": "MIT", "dependencies": { - "bytes": "3.1.2", + "bytes": "~3.1.2", "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.13.0", - "raw-body": "2.5.2", + "destroy": "~1.2.0", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "on-finished": "~2.4.1", + "qs": "~6.14.0", + "raw-body": "~2.5.3", "type-is": "~1.6.18", - "unpipe": "1.0.0" + "unpipe": "~1.0.0" }, "engines": { "node": ">= 0.8", @@ -8126,12 +8131,41 @@ "ms": "2.0.0" } }, + "node_modules/body-parser/node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/body-parser/node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "license": "MIT" }, + "node_modules/body-parser/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/bonjour-service": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.3.0.tgz", @@ -10796,21 +10830,6 @@ "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", "license": "MIT" }, - "node_modules/express/node_modules/qs": { - "version": "6.14.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", - "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", - "license": "BSD-3-Clause", - "dependencies": { - "side-channel": "^1.1.0" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/express/node_modules/range-parser": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", @@ -11140,9 +11159,9 @@ "license": "ISC" }, "node_modules/focus-trap": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.7.1.tgz", - "integrity": "sha512-Pkp8m55GjxBLnhBoT6OXdMvfRr4TjMAKLvFM566zlIryq5plbhaTmLAJWTGR0EkRwLjEte1lCOG9MxF1ipJrOg==", + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.8.0.tgz", + "integrity": "sha512-/yNdlIkpWbM0ptxno3ONTuf+2g318kh2ez3KSeZN5dZ8YC6AAmgeWz+GasYYiBJPFaYcSAPeu4GfhUaChzIJXA==", "license": "MIT", "dependencies": { "tabbable": "^6.4.0" @@ -13525,15 +13544,9 @@ } }, "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "license": "MIT" - }, - "node_modules/lodash-es": { - "version": "4.17.22", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.22.tgz", - "integrity": "sha512-XEawp1t0gxSi9x01glktRZ5HDy0HXqrM0x5pXQM98EaI0NxO6jVM7omDOxsuEo5UIASAnm2bRp1Jt/e0a2XU8Q==", + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", "license": "MIT" }, "node_modules/lodash.debounce": { @@ -16981,12 +16994,12 @@ } }, "node_modules/parse-ms": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-3.0.0.tgz", - "integrity": "sha512-Tpb8Z7r7XbbtBTrM9UhpkzzaMrqA2VXMT3YChzYltwV3P3pM6t8wl7TvpMnSTosz1aQAdVib7kdoys7vYOPerw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", + "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", "license": "MIT", "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -18672,9 +18685,9 @@ } }, "node_modules/prettier": { - "version": "3.7.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.7.4.tgz", - "integrity": "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", + "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", "dev": true, "license": "MIT", "bin": { @@ -18688,12 +18701,12 @@ } }, "node_modules/pretty-bytes": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.1.1.tgz", - "integrity": "sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-7.1.0.tgz", + "integrity": "sha512-nODzvTiYVRGRqAOvE84Vk5JDPyyxsVk0/fbA/bq7RqlnhksGpset09XTxbpvLTIjoaF7K8Z8DG8yHtKGTPSYRw==", "license": "MIT", "engines": { - "node": "^14.13.1 || >=16.0.0" + "node": ">=20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -18710,15 +18723,15 @@ } }, "node_modules/pretty-ms": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-8.0.0.tgz", - "integrity": "sha512-ASJqOugUF1bbzI35STMBUpZqdfYKlJugy6JBziGi2EE+AL5JPJGSzvpeVXojxrr0ViUYoToUjb5kjSEGf7Y83Q==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.3.0.tgz", + "integrity": "sha512-gjVS5hOP+M3wMm5nmNOucbIrqudzs9v/57bWRHQWLYklXqoXKrVfYW2W9+glfGsqtPgpiz5WwyEEB+ksXIx3gQ==", "license": "MIT", "dependencies": { - "parse-ms": "^3.0.0" + "parse-ms": "^4.0.0" }, "engines": { - "node": ">=14.16" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -18873,12 +18886,12 @@ } }, "node_modules/qs": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "version": "6.14.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz", + "integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==", "license": "BSD-3-Clause", "dependencies": { - "side-channel": "^1.0.6" + "side-channel": "^1.1.0" }, "engines": { "node": ">=0.6" @@ -19020,15 +19033,15 @@ } }, "node_modules/raw-body": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", - "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", + "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==", "license": "MIT", "dependencies": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "unpipe": "~1.0.0" }, "engines": { "node": ">= 0.8" @@ -19043,6 +19056,35 @@ "node": ">= 0.8" } }, + "node_modules/raw-body/node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/raw-body/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", @@ -21745,9 +21787,9 @@ } }, "node_modules/undici": { - "version": "6.21.3", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.3.tgz", - "integrity": "sha512-gBLkYIlEnSp8pFbT64yFgGE6UIB9tAkhukC23PmMDCe5Nd+cRqKxSjw5y54MK2AZMgZfJWMaNE4nYUHgi1XEOw==", + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.23.0.tgz", + "integrity": "sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==", "dev": true, "license": "MIT", "engines": { @@ -22294,16 +22336,16 @@ } }, "node_modules/vue": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.26.tgz", - "integrity": "sha512-SJ/NTccVyAoNUJmkM9KUqPcYlY+u8OVL1X5EW9RIs3ch5H2uERxyyIUI4MRxVCSOiEcupX9xNGde1tL9ZKpimA==", + "version": "3.5.27", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.27.tgz", + "integrity": "sha512-aJ/UtoEyFySPBGarREmN4z6qNKpbEguYHMmXSiOGk69czc+zhs0NF6tEFrY8TZKAl8N/LYAkd4JHVd5E/AsSmw==", "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.5.26", - "@vue/compiler-sfc": "3.5.26", - "@vue/runtime-dom": "3.5.26", - "@vue/server-renderer": "3.5.26", - "@vue/shared": "3.5.26" + "@vue/compiler-dom": "3.5.27", + "@vue/compiler-sfc": "3.5.27", + "@vue/runtime-dom": "3.5.27", + "@vue/server-renderer": "3.5.27", + "@vue/shared": "3.5.27" }, "peerDependencies": { "typescript": "*" @@ -22315,9 +22357,9 @@ } }, "node_modules/vue-component-type-helpers": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/vue-component-type-helpers/-/vue-component-type-helpers-3.2.2.tgz", - "integrity": "sha512-x8C2nx5XlUNM0WirgfTkHjJGO/ABBxlANZDtHw2HclHtQnn+RFPTnbjMJn8jHZW4TlUam0asHcA14lf1C6Jb+A==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/vue-component-type-helpers/-/vue-component-type-helpers-3.2.3.tgz", + "integrity": "sha512-lpJTa8a+12Cgy/n5OdlQTzQhSWOCu+6zQoNFbl3KYxwAoB95mYIgMLKEYMvQykPJ2ucBDjJJISdIBHc1d9Hd3w==", "license": "MIT" }, "node_modules/vue-demi": { @@ -23154,9 +23196,9 @@ } }, "node_modules/zod": { - "version": "4.1.12", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.1.12.tgz", - "integrity": "sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.5.tgz", + "integrity": "sha512-k7Nwx6vuWx1IJ9Bjuf4Zt1PEllcwe7cls3VNzm4CQ1/hgtFUK2bRNG3rvnpPUhFjmqJKAKtjV576KnUkHocg/g==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" diff --git a/package.json b/package.json index 1f51eb0..70c37ef 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,8 @@ "@docusaurus/core": "3.9.2", "@docusaurus/preset-classic": "3.9.2", "@mdx-js/react": "3.1.1", - "@scalar/api-reference": "1.43.0", - "@scalar/docusaurus": "0.7.28", + "@scalar/api-reference": "1.43.11", + "@scalar/docusaurus": "0.7.31", "@signalwire/docusaurus-plugin-llms-txt": "2.0.0-alpha.7", "@signalwire/docusaurus-theme-llms-txt": "1.0.0-alpha.9", "clsx": "2.1.1", @@ -41,12 +41,12 @@ "@docusaurus/module-type-aliases": "3.9.2", "@docusaurus/tsconfig": "3.9.2", "@docusaurus/types": "3.9.2", - "@redocly/cli": "2.14.3", - "@types/node": "25.0.3", + "@redocly/cli": "2.14.7", + "@types/node": "25.0.10", "concurrently": "9.2.1", "husky": "9.1.7", "lint-staged": "16.2.7", - "prettier": "3.7.4", + "prettier": "3.8.1", "typescript": "5.9.3" }, "browserslist": { diff --git a/src/plugins/scalarScriptPlugin.js b/src/plugins/scalarScriptPlugin.js new file mode 100644 index 0000000..2b13b5c --- /dev/null +++ b/src/plugins/scalarScriptPlugin.js @@ -0,0 +1,21 @@ +module.exports = function (context, options) { + return { + name: "scalar-script-plugin", + + injectHtmlTags() { + return { + headTags: [ + { + tagName: "script", + attributes: { + src: "/js/scalar-standalone.js", + async: true, + }, + }, + ], + preBodyTags: [], + postBodyTags: [], + }; + }, + }; +}; diff --git a/static/booking-calendars-api.json b/static/booking-calendars-api.json index 7ffe62f..7bdfe81 100644 --- a/static/booking-calendars-api.json +++ b/static/booking-calendars-api.json @@ -1004,7 +1004,7 @@ "Booking Calendars" ], "summary": "Book a time slot", - "description": "Book a time from the available time slots\n\n> [!note]\n> Notes On Using This Endpoint\n> * This endpoint is designed to be used with the \"Get available time slots\" endpoint. First, retrieve available time slots for a specific time range, and then use this endpoint to book one of those slots.\n> * You can only select a location from those offered within the available time slots.\n> * This endpoint doesn't support booking calendars with required custom fields.\n> * All datetime strings are [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) in full form. For example, `2024-11-29T09:30:00.000Z`.\n\n> [!tip]\n> Using Custom Fields \n> In addition to the standard fields, you can pass your own data by including custom key-value pairs within the `booking_form` object in the request body.\n>\n> * **Field Name (Key)**: The key for each custom field must exactly match the mapped field name of the corresponding question configured in your Booking page's form settings.\n> * **Field Value**: The data type of the value must match the question's type:\n> * For Text and Picklist (single-select) questions, provide a string.\n> * For Picklist (multi-select) questions, provide an array of strings.\n>\n> Please note that for picklist fields, any values that do not match a pre-configured option will be ignored by the system during booking.\n", + "description": "Book a time from the available time slots\n\n> [!note]\n> Notes On Using This Endpoint\n> * This endpoint is designed to be used with the \"Get available time slots\" endpoint. First, retrieve available time slots for a specific time range, and then use this endpoint to book one of those slots.\n> * You can only select a location from those offered within the available time slots.\n> * All datetime strings are [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) in full form. For example, `2024-11-29T09:30:00.000Z`.\n\n> [!tip]\n> Using Custom Fields \n> In addition to the standard fields, you can pass your own data by including custom key-value pairs within the `booking_form` object in the request body.\n>\n> * **Field Name (Key)**: The key for each custom field must exactly match the mapped field name of the corresponding question configured in your Booking page's form settings.\n> * **Field Value**: The data type of the value must match the question's type:\n> * For Text and Picklist (single-select) questions, provide a string.\n> * For Picklist (multi-select) questions, provide an array of strings.\n>\n> Please note that for picklist fields, any values that do not match a pre-configured option will be ignored by the system during booking.\n", "operationId": "book-a-time-slot-for-a-booking-calendar", "parameters": [ { diff --git a/static/booking-calendars-api.yaml b/static/booking-calendars-api.yaml index 40fc08b..cfeb43e 100644 --- a/static/booking-calendars-api.yaml +++ b/static/booking-calendars-api.yaml @@ -704,7 +704,6 @@ paths: > Notes On Using This Endpoint > * This endpoint is designed to be used with the "Get available time slots" endpoint. First, retrieve available time slots for a specific time range, and then use this endpoint to book one of those slots. > * You can only select a location from those offered within the available time slots. - > * This endpoint doesn't support booking calendars with required custom fields. > * All datetime strings are [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) in full form. For example, `2024-11-29T09:30:00.000Z`. > [!tip] diff --git a/static/js/scalar-standalone.js b/static/js/scalar-standalone.js new file mode 100644 index 0000000..ebfb1f2 --- /dev/null +++ b/static/js/scalar-standalone.js @@ -0,0 +1,171361 @@ +/** + * _____ _________ __ ___ ____ + * / ___// ____/ | / / / | / __ \ + * \__ \/ / / /| | / / / /| | / /_/ / + * ___/ / /___/ ___ |/ /___/ ___ |/ _, _/ + * /____/\____/_/ |_/_____/_/ |_/_/ |_| + * + * @scalar/api-reference 1.40.5 + * + * Website: https://scalar.com + * GitHub: https://github.com/scalar/scalar + * License: https://github.com/scalar/scalar/blob/main/LICENSE + **/ + +!(function () { + "use strict"; + try { + if ("undefined" != typeof document) { + var a = document.createElement("style"); + (a.appendChild( + document.createTextNode( + '.references-classic-header[data-v-9198d025]{display:flex;align-items:center;gap:12px;max-width:var(--refs-content-max-width);margin:auto;padding:12px 0}.references-classic-header-content[data-v-9198d025]{display:flex;gap:12px;flex-grow:1}.references-classic-header-container[data-v-9198d025]{padding:0 60px}@container narrow-references-container (max-width: 900px){.references-classic-header[data-v-9198d025]{padding:12px 24px}.references-classic-header-container[data-v-9198d025]{padding:0}}.references-classic-header-icon[data-v-9198d025]{height:24px;color:var(--scalar-color-1)}.auth-combobox-position[data-v-a85af23e]{margin-left:120px}.scroll-timeline-x[data-v-a85af23e]{overflow:auto;scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none}.fade-left[data-v-a85af23e],.fade-right[data-v-a85af23e]{position:sticky;content:"";height:100%;animation-name:fadein-a85af23e;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;min-height:24px;pointer-events:none}.fade-left[data-v-a85af23e]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 60%,var(--scalar-background-1) 100%);min-width:3px;left:-1px;animation-direction:normal}.fade-right[data-v-a85af23e]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 60%,var(--scalar-background-1) 100%);margin-left:-20px;min-width:24px;right:-1px;top:0}@keyframes fadein-a85af23e{0%{opacity:0}15%{opacity:1}}.auth-combobox-position[data-v-43114fd7]{margin-left:120px}.scroll-timeline-x[data-v-43114fd7]{overflow:auto;scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none}.fade-left[data-v-43114fd7],.fade-right[data-v-43114fd7]{position:sticky;content:"";height:100%;animation-name:fadein-43114fd7;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;min-height:24px;pointer-events:none}.fade-left[data-v-43114fd7]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 60%,var(--scalar-background-1) 100%);min-width:3px;left:-1px;animation-direction:normal}.fade-right[data-v-43114fd7]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 60%,var(--scalar-background-1) 100%);margin-left:-20px;min-width:24px;right:-1px;top:0}@keyframes fadein-43114fd7{0%{opacity:0}15%{opacity:1}}.client-libraries-content[data-v-b7785507]{container:client-libraries-content / inline-size;display:flex;justify-content:center;overflow:hidden;padding:0 12px;background-color:var(--scalar-background-1);border-left:var(--scalar-border-width) solid var(--scalar-border-color);border-right:var(--scalar-border-width) solid var(--scalar-border-color)}.client-libraries[data-v-b7785507]{display:flex;align-items:center;justify-content:center;width:100%;position:relative;cursor:pointer;white-space:nowrap;padding:8px 2px;gap:6px;color:var(--scalar-color-3);border-bottom:1px solid transparent;-webkit-user-select:none;user-select:none}.client-libraries[data-v-b7785507]:not(.client-libraries__active):hover:before{content:"";position:absolute;width:calc(100% - 4px);height:calc(100% - 4px);background:var(--scalar-background-2);left:2px;top:2px;z-index:0;border-radius:var(--scalar-radius)}.client-libraries[data-v-b7785507]:active{color:var(--scalar-color-1)}.client-libraries[data-v-b7785507]:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--scalar-color-accent)}@media screen and (max-width: 450px){.client-libraries[data-v-b7785507]:nth-of-type(4),.client-libraries[data-v-b7785507]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-b7785507]{max-width:14px;max-height:14px;min-width:14px;width:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;color:currentColor}.client-libraries-icon__more svg[data-v-b7785507]{height:initial}@container client-libraries-content (width < 400px){.client-libraries__select[data-v-b7785507]{width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-b7785507]{display:none}}@container client-libraries-content (width < 380px){.client-libraries[data-v-b7785507]{width:100%}.client-libraries span[data-v-b7785507]{display:none}}.client-libraries__active[data-v-b7785507]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}@keyframes codeloader-b7785507{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.client-libraries .client-libraries-text[data-v-b7785507]{font-size:var(--scalar-small);position:relative;display:flex;align-items:center}.client-libraries__active .client-libraries-text[data-v-b7785507]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}@media screen and (max-width: 600px){.references-classic .client-libraries[data-v-b7785507]{flex-direction:column}}.selected-client[data-v-abfa446f]{color:var(--scalar-color-1);font-size:var(--scalar-small);font-family:var(--scalar-font-code);padding:9px 12px;border-top:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom-left-radius:var(--scalar-radius-lg);border-bottom-right-radius:var(--scalar-radius-lg);min-height:fit-content}.client-libraries-heading[data-v-abfa446f]{font-size:var(--scalar-small);font-weight:var(--scalar-font-medium);color:var(--scalar-color-1);padding:9px 12px;background-color:var(--scalar-background-2);display:flex;align-items:center;max-height:32px;border:var(--scalar-border-width) solid var(--scalar-border-color);border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg)}[data-v-abfa446f] .scalar-codeblock-pre .hljs{margin-top:8px}.badge[data-v-3dedb7e4]{color:var(--badge-text-color, var(--scalar-color-2));font-size:var(--scalar-mini);background:var(--badge-background-color, var(--scalar-background-2));border:var(--scalar-border-width) solid var(--badge-border-color, var(--scalar-border-color));padding:2px 6px;border-radius:12px;display:inline-block}.badge.text-orange[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-orange),transparent 90%);border:transparent}.badge.text-yellow[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-yellow),transparent 90%);border:transparent}.badge.text-red[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-red),transparent 90%);border:transparent}.badge.text-purple[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-purple),transparent 90%);border:transparent}.badge.text-green[data-v-3dedb7e4]{background:color-mix(in srgb,var(--scalar-color-green),transparent 90%);border:transparent}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-cb1587b6],[data-v-cb1587b6]:before,[data-v-cb1587b6]:after,[data-v-cb1587b6]::backdrop{--tw-outline-style:solid}}}.download-container[data-v-cb1587b6]{z-index:1;flex-direction:column;gap:16px;width:fit-content;margin:0 .5px 8px;display:flex;position:relative}.download-container[data-v-cb1587b6]:has(:focus-visible):before,.download-container.download-both[data-v-cb1587b6]:hover:before{content:"";border-radius:var(--scalar-radius-lg);width:calc(100% + 24px);height:90px;box-shadow:var(--scalar-shadow-2);pointer-events:none;background:var(--scalar-background-1);position:absolute;top:-11px;left:-12px}.download-button[data-v-cb1587b6]{color:var(--scalar-link-color);cursor:pointer;outline:none;justify-content:center;align-items:center;gap:4px;height:fit-content;padding:0;display:flex;position:relative;white-space:nowrap!important}.download-button[data-v-cb1587b6]:before{border-radius:var(--scalar-radius);content:"";width:calc(100% + 18px);height:calc(100% + 16px);position:absolute;top:-8px;left:-9px}.download-button[data-v-cb1587b6]:last-of-type:before{width:calc(100% + 15px)}.download-button[data-v-cb1587b6]:hover:before{background:var(--scalar-background-2);border:var(--scalar-border-width)solid var(--scalar-border-color)}.download-button[data-v-cb1587b6]:focus-visible:before{background:var(--scalar-background-2);border:var(--scalar-border-width)solid var(--scalar-border-color);outline-style:var(--tw-outline-style);outline-width:1px}.download-button span[data-v-cb1587b6]{--font-color:var(--scalar-link-color,var(--scalar-color-accent));--font-visited:var(--scalar-link-color-visited,var(--scalar-color-2));-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);color:var(--font-color);font-weight:var(--scalar-link-font-weight,var(--scalar-semibold));text-underline-offset:.25rem;text-decoration-thickness:1px;-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.download-button span[data-v-cb1587b6]{-webkit-text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent);text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}.download-button span[data-v-cb1587b6]{z-index:1;align-items:center;gap:6px;line-height:1.625;display:flex}.download-button:hover span[data-v-cb1587b6]{color:var(--scalar-link-color-hover,var(--scalar-color-accent));-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.download-button[data-v-cb1587b6]:nth-of-type(2){clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.download-container:has(:focus-visible) .download-button[data-v-cb1587b6]:nth-of-type(2),.download-container:hover .download-button[data-v-cb1587b6]:nth-of-type(2){clip:auto;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:absolute;top:42px;overflow:visible}.extension[data-v-cb1587b6]{z-index:1;background:var(--scalar-link-color,var(--scalar-color-accent));color:var(--scalar-background-1)}.download-container:has(:focus-visible) .extension[data-v-cb1587b6],.download-container:hover .extension[data-v-cb1587b6]{opacity:1}.download-link[data-v-cb1587b6]{--font-color:var(--scalar-link-color,var(--scalar-color-accent));--font-visited:var(--scalar-link-color-visited,var(--scalar-color-2));-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);color:var(--font-color);font-weight:var(--scalar-link-font-weight,var(--scalar-semibold));text-underline-offset:.25rem;text-decoration-thickness:1px;-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.download-link[data-v-cb1587b6]{-webkit-text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent);text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}.download-link[data-v-cb1587b6]:hover{--font-color:var(--scalar-link-color,var(--scalar-color-accent));-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}.introduction-card[data-v-a8605b85]{display:flex;flex-direction:column}.introduction-card-row[data-v-a8605b85]{gap:24px}@media (min-width: 600px){.introduction-card-row[data-v-a8605b85]{flex-flow:row wrap}}.introduction-card-row[data-v-a8605b85]>*{flex:1}@media (min-width: 600px){.introduction-card-row[data-v-a8605b85]>*{min-width:min-content}}@media (max-width: 600px){.introduction-card-row[data-v-a8605b85]>*{max-width:100%}}@container (max-width: 900px){.introduction-card-row[data-v-a8605b85]{flex-direction:column;align-items:stretch;gap:0px}}.introduction-card[data-v-a8605b85] .security-scheme-label{text-transform:uppercase;font-weight:var(--scalar-semibold)}.introduction-card-row[data-v-a8605b85] .scalar-card:nth-of-type(2) .scalar-card-header{display:none}.introduction-card-row[data-v-a8605b85] .scalar-card:nth-of-type(2) .scalar-card-header.scalar-card--borderless+.scalar-card-content{margin-top:0}.section[data-v-be4443e9]{position:relative;display:flex;flex-direction:column;max-width:var(--refs-content-max-width);margin:auto;padding:90px 0;scroll-margin-top:var(--refs-viewport-offset)}.section[data-v-be4443e9]:has(~div.contents){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.references-classic .section[data-v-be4443e9]{padding:48px 0;gap:24px}@container narrow-references-container (max-width: 900px){.references-classic .section[data-v-be4443e9],.section[data-v-be4443e9]{padding:48px 24px}}.section[data-v-be4443e9]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.section-wrapper[data-v-ee08c887]{color:var(--scalar-color-1);padding-top:12px;margin-top:-12px}.section-accordion[data-v-ee08c887]{display:flex;flex-direction:column;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-2)}.section-accordion-transparent[data-v-ee08c887]{background:transparent;border:var(--scalar-border-width) solid var(--scalar-border-color)}.section-accordion-button[data-v-ee08c887]{padding:6px}.section-accordion-button[data-v-ee08c887]{display:flex;align-items:center;gap:6px;cursor:pointer}.section-accordion-button-content[data-v-ee08c887]{flex:1;min-width:0}.section-accordion-button-actions[data-v-ee08c887]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-3)}.section-accordion-chevron[data-v-ee08c887]{margin-right:4px;cursor:pointer;opacity:1;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-ee08c887]{color:var(--scalar-color-1)}.section-accordion-content[data-v-ee08c887]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);display:flex;flex-direction:column}.section-accordion-description[data-v-ee08c887]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color--1);padding:10px 12px 0}.section-accordion-content-card[data-v-ee08c887] .property:last-of-type{padding-bottom:9px}.section-column[data-v-699c28e3]{flex:1;min-width:0}@container narrow-references-container (max-width: 900px){.section-column[data-v-699c28e3]:nth-of-type(2){padding-top:0}}.section-columns[data-v-8b9602bf]{display:flex;gap:48px}@container narrow-references-container (max-width: 900px){.section-columns[data-v-8b9602bf]{flex-direction:column;gap:24px}}.section-container[data-v-20a1472a]{position:relative;padding:0 60px;width:100%;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.section-container[data-v-20a1472a]:has(.introduction-section){border-top:none}@container narrow-references-container (max-width: 900px){.section-container[data-v-20a1472a]{padding:0}}.section-accordion-wrapper[data-v-9419dd23]{padding:0 60px}.section-accordion[data-v-9419dd23]{position:relative;width:100%;max-width:var(--refs-content-max-width);margin:auto}.section-accordion-content[data-v-9419dd23]{display:flex;flex-direction:column;gap:12px;padding-top:12px}.section-accordion-button[data-v-9419dd23]{width:100%;display:flex;cursor:pointer;padding:6px 0;margin:-6px 0;border-radius:var(--scalar-radius)}.section-accordion-chevron[data-v-9419dd23]{position:absolute;left:-22px;top:12px;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-9419dd23]{color:var(--scalar-color-1)}.section-accordion-title[data-v-9419dd23]{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:0 6px}.section-accordion-title[data-v-9419dd23] .section-header-wrapper{grid-template-columns:1fr}.section-accordion-title[data-v-9419dd23] .section-header{margin-bottom:0}@container narrow-references-container (max-width: 900px){.section-accordion-chevron[data-v-9419dd23]{width:16px;left:-16px;top:14px}.section-accordion-wrapper[data-v-9419dd23]{padding:calc(var(--refs-viewport-offset)) 24px 0 24px}}.loading[data-v-8e0226d7]{background:var(--scalar-background-3);animation:loading-skeleton-8e0226d7 1.5s infinite alternate;border-radius:var(--scalar-radius-lg);min-height:1.6em;margin:.6em 0;max-width:100%}.loading[data-v-8e0226d7]:first-of-type{min-height:3em;margin-bottom:24px;margin-top:0}.loading[data-v-8e0226d7]:last-of-type{width:60%}.loading.single-line[data-v-8e0226d7]{min-height:3em;margin:.6em 0;max-width:80%}@keyframes loading-skeleton-8e0226d7{0%{opacity:1}to{opacity:.33}}@container narrow-references-container (max-width: 900px){.section-content--with-columns[data-v-9735459e]{flex-direction:column;gap:24px}}.section-header-wrapper[data-v-465a7a78]{grid-template-columns:1fr;display:grid}@media (min-width:1200px){.section-header-wrapper[data-v-465a7a78]{grid-template-columns:repeat(2,1fr)}}.section-header[data-v-465a7a78]{font-size:var(--font-size,var(--scalar-heading-1));font-weight:var(--font-weight,var(--scalar-bold));color:var(--scalar-color-1);word-wrap:break-word;margin-top:0;margin-bottom:12px;line-height:1.45}.section-header.tight[data-v-465a7a78]{margin-bottom:6px}.section-header.loading[data-v-465a7a78]{width:80%}.section-header-label[data-v-f1ac6c38]{display:inline}.screenreader-only[data-v-df2e1026]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.collapsible-section[data-v-999a158a]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);position:relative}.collapsible-section-header[data-v-999a158a]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-999a158a]{display:flex;align-items:center;cursor:pointer;padding:10px 0;font-size:var(--scalar-font-size-3);z-index:1;position:relative}.collapsible-section-trigger svg[data-v-999a158a]{color:var(--scalar-color-3);position:absolute;left:-19px}.collapsible-section:hover .collapsible-section-trigger svg[data-v-999a158a]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-999a158a] .anchor-copy{line-height:18.5px}.collapsible-section-content[data-v-999a158a]{padding:0;margin:0 0 10px;scroll-margin-top:140px}.references-classic .introduction-description[data-v-fe80002d] img{max-width:720px}.icons-only[data-v-0939d4d9] span{display:none}.sticky-cards[data-v-0b1e2255]{display:flex;flex-direction:column;position:sticky;top:calc(var(--refs-viewport-offset) + 24px)}.introduction-card-item[data-v-708aae59]{display:flex;margin-bottom:12px;flex-direction:column;justify-content:start}.introduction-card-item[data-v-708aae59]:has(.description) .server-form-container{border-bottom-left-radius:0;border-bottom-right-radius:0}.introduction-card-item[data-v-708aae59] .request-item{border-bottom:0}.schema-type-icon[data-v-70cb5c13]{color:var(--scalar-color-1);display:none}.schema-type[data-v-70cb5c13]{font-family:var(--scalar-font-code);color:var(--scalar-color-1)}.property-enum-value[data-v-88bc950e]{color:var(--scalar-color-3);line-height:1.5;overflow-wrap:break-word;display:flex;align-items:stretch;position:relative;--decorator-width: 1px;--decorator-color: color-mix( in srgb, var(--scalar-background-1), var(--scalar-color-1) 25% )}.property-enum-value-content[data-v-88bc950e]{display:flex;flex-direction:column;padding:3px 0}.property-enum-value-label[data-v-88bc950e]{display:flex;font-family:var(--scalar-font-code);color:var(--scalar-color-1);position:relative}.property-enum-value:last-of-type .property-enum-value-label[data-v-88bc950e]{padding-bottom:0}.property-enum-value[data-v-88bc950e]:before{content:"";margin-right:12px;width:var(--decorator-width);display:block;background-color:var(--decorator-color)}.property-enum-value[data-v-88bc950e]:last-of-type:before,.property-enum-values:has(.enum-toggle-button) .property-enum-value[data-v-88bc950e]:nth-last-child(2):before{height:calc(.5lh + 4px)}.property-enum-value-label[data-v-88bc950e]:after{content:"";position:absolute;top:.5lh;left:-12px;width:8px;height:var(--decorator-width);background-color:var(--decorator-color)}.property-enum-value[data-v-88bc950e]:last-of-type:after{bottom:0;height:50%;background:var(--scalar-background-1);border-top:var(--scalar-border-width) solid var(--decorator-color)}.property-enum-value-description[data-v-88bc950e]{color:var(--scalar-color-3)}.property-heading:empty+.property-description[data-v-d4946030]:last-of-type,.property-description[data-v-d4946030]:first-of-type:last-of-type{margin-top:0}.property-list[data-v-d4946030]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-d4946030]:last-of-type{padding-bottom:10px}.property-enum-values[data-v-d4946030]{font-size:var(--scalar-font-size-3);list-style:none;margin-top:8px;padding-left:2px}.enum-toggle-button[data-v-d4946030]:hover{color:var(--scalar-color-1)}.property-detail[data-v-827ea49d]{display:inline-flex}.property-detail+.property-detail[data-v-827ea49d]:before{display:block;content:"·";margin:0 .5ch}.property-detail-truncate[data-v-827ea49d]{overflow:hidden}.property-detail-truncate>.property-detail-value[data-v-827ea49d]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-detail-prefix[data-v-827ea49d]{color:var(--scalar-color-2)}code.property-detail-value[data-v-827ea49d]{font-family:var(--scalar-font-code);font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);background:var(--scalar-background-3);padding:0 4px;border:.5px solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.property-example[data-v-dd79da55]{display:flex;flex-direction:column;font-size:var(--scalar-mini);position:relative}.property-example[data-v-dd79da55]:hover:before{content:"";position:absolute;top:0;left:0;width:100%;height:20px;border-radius:var(--scalar-radius)}.property-example:hover .property-example-label span[data-v-dd79da55]{color:var(--scalar-color-1)}.property-example-label span[data-v-dd79da55]{color:var(--scalar-color-3);position:relative;border-bottom:var(--scalar-border-width) dotted currentColor}.property-example-value[data-v-dd79da55]{font-family:var(--scalar-font-code);display:flex;gap:8px;align-items:center;width:100%;padding:6px}.property-example-value span[data-v-dd79da55]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-example-value[data-v-dd79da55] svg{color:var(--scalar-color-3)}.property-example-value[data-v-dd79da55]:hover svg{color:var(--scalar-color-1)}.property-example-value[data-v-dd79da55]{background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.property-example-value-list[data-v-dd79da55]{position:absolute;top:18px;left:50%;transform:translate3d(-50%,0,0);overflow:auto;background-color:var(--scalar-background-1);box-shadow:var(--scalar-shadow-1);border-radius:var(--scalar-radius-lg);border:var(--scalar-border-width) solid var(--scalar-border-color);padding:9px;min-width:200px;max-width:300px;flex-direction:column;gap:3px;display:none;z-index:10}.property-example:hover .property-example-value-list[data-v-dd79da55],.property-example:focus-within .property-example-value-list[data-v-dd79da55]{display:flex}.property-heading[data-v-5d03e993]{display:flex;flex-wrap:wrap;align-items:baseline;row-gap:9px;white-space:nowrap}.property-heading[data-v-5d03e993]:has(+.children),.property-heading[data-v-5d03e993]:has(+.property-rule){margin-bottom:9px}.property-heading[data-v-5d03e993]>*{margin-right:9px}.property-heading[data-v-5d03e993]:last-child{margin-right:0}.property-heading>.property-detail[data-v-5d03e993]:not(:last-of-type){margin-right:0}.property-name[data-v-5d03e993]{max-width:100%;font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);white-space:normal;overflow-wrap:break-word}.property-additional[data-v-5d03e993]{font-family:var(--scalar-font-code)}.property-required[data-v-5d03e993],.property-optional[data-v-5d03e993]{color:var(--scalar-color-2)}.property-required[data-v-5d03e993]{font-size:var(--scalar-mini);color:var(--scalar-color-orange)}.property-read-only[data-v-5d03e993]{font-size:var(--scalar-mini);color:var(--scalar-color-blue)}.property-write-only[data-v-5d03e993]{font-size:var(--scalar-mini);color:var(--scalar-color-green)}.property-discriminator[data-v-5d03e993]{font-size:var(--scalar-mini);color:var(--scalar-color-purple)}.property-detail[data-v-5d03e993]{font-size:var(--scalar-mini);color:var(--scalar-color-2);display:flex;align-items:center;min-width:0}.property-const[data-v-5d03e993]{color:var(--scalar-color-1)}.deprecated[data-v-5d03e993]{text-decoration:line-through}.property[data-v-a12694ef]{color:var(--scalar-color-1);display:flex;flex-direction:column;padding:8px;font-size:var(--scalar-small);position:relative}.property.property--level-0[data-v-a12694ef]:has(>.property-rule>.schema-card>.schema-properties.schema-properties-open>ul>li.property){padding-top:0}.property[data-v-a12694ef]:hover{z-index:1}.property--compact.property--level-0[data-v-a12694ef],.property--compact.property--level-1[data-v-a12694ef]{padding:8px 0}.composition-panel .property.property.property.property--level-0[data-v-a12694ef]{padding:0}.property--compact.property--level-0 .composition-panel .property--compact.property--level-1[data-v-a12694ef]{padding:8px}.property[data-v-a12694ef]:has(>.property-rule:nth-of-type(1)):not(.property--compact){padding-top:8px;padding-bottom:8px}.property--deprecated[data-v-a12694ef]{background:repeating-linear-gradient(-45deg,var(--scalar-background-2) 0,var(--scalar-background-2) 2px,transparent 2px,transparent 5px);background-size:100%}.property--deprecated[data-v-a12694ef]>*{opacity:.75}.property-description[data-v-a12694ef]{margin-top:6px;line-height:1.4;font-size:var(--scalar-small)}.property-description[data-v-a12694ef]:has(+.property-rule){margin-bottom:9px}[data-v-a12694ef] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-a12694ef]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.property-description+.children[data-v-a12694ef],.children+.property-rule[data-v-a12694ef]{margin-top:9px}.children[data-v-a12694ef]{display:flex;flex-direction:column}.children .property--compact.property--level-1[data-v-a12694ef]{padding:12px}.property-example-value[data-v-a12694ef]{all:unset;font-family:var(--scalar-font-code);padding:6px;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.property-rule[data-v-a12694ef]{border-radius:var(--scalar-radius-lg);display:flex;flex-direction:column}.property-rule[data-v-a12694ef] .composition-panel .schema-card .schema-properties.schema-properties-open{border-top-left-radius:0;border-top-right-radius:0}.property-rule[data-v-a12694ef] .composition-panel>.schema-card>.schema-card-description{padding-left:8px;padding-right:8px;border-left:1px solid var(--scalar-border-color);border-right:1px solid var(--scalar-border-color)}.property-rule[data-v-a12694ef] .composition-panel>.schema-card>.schema-card-description+.schema-properties{margin-top:0}.property-example[data-v-a12694ef]{background:transparent;border:none;display:flex;flex-direction:row;gap:8px}.property-example-label[data-v-a12694ef],.property-example-value[data-v-a12694ef]{padding:3px 0 0}.property-example-value[data-v-a12694ef]{background:var(--scalar-background-2);border-top:0;border-radius:var(--scalar-radius);padding:3px 4px}.property-name[data-v-a12694ef]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold)}.property-name-additional-properties[data-v-a12694ef]:before,.property-name-pattern-properties[data-v-a12694ef]:before{text-transform:uppercase;font-size:var(--scalar-micro);display:inline-block;padding:2px 4px;border-radius:var(--scalar-radius);color:var(--scalar-color-1);border:1px solid var(--scalar-border-color);background-color:var(--scalar-background-2);margin-right:4px}.property-name-pattern-properties[data-v-a12694ef]:before{content:"regex"}.property-name-additional-properties[data-v-a12694ef]:before{content:"unknown"}.error[data-v-40568e30]{background-color:var(--scalar-color-red)}.schema-card[data-v-40568e30]{z-index:0;font-size:var(--scalar-font-size-4);color:var(--scalar-color-1)}.schema-card-title[data-v-40568e30]{height:var(--schema-title-height);padding:6px 8px;display:flex;align-items:center;gap:4px;color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);border-bottom:var(--scalar-border-width) solid transparent}button.schema-card-title[data-v-40568e30]{cursor:pointer}button.schema-card-title[data-v-40568e30]:hover{color:var(--scalar-color-1)}.schema-card-title-icon--open[data-v-40568e30]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title[data-v-40568e30]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.schema-properties-open>.schema-properties[data-v-40568e30]{width:fit-content}.schema-card-description[data-v-40568e30]{color:var(--scalar-color-2)}.schema-card-description+.schema-properties[data-v-40568e30]{width:fit-content}.schema-card-description+.schema-properties[data-v-40568e30]{margin-top:8px}.schema-properties-open.schema-properties[data-v-40568e30],.schema-properties-open>.schema-card--open[data-v-40568e30]{width:100%}.schema-properties[data-v-40568e30]{display:flex;flex-direction:column;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);width:fit-content}.schema-properties-name[data-v-40568e30]{width:100%}.schema-properties .schema-properties[data-v-40568e30]{border-radius:13.5px}.schema-properties .schema-properties.schema-properties-open[data-v-40568e30]{border-radius:var(--scalar-radius-lg)}.schema-properties-open[data-v-40568e30]{width:100%}.schema-card--compact[data-v-40568e30]{align-self:flex-start}.schema-card--compact.schema-card--open[data-v-40568e30]{align-self:initial}.schema-card-title--compact[data-v-40568e30]{color:var(--scalar-color-2);padding:6px 10px 6px 8px;height:auto;border-bottom:none}.schema-card-title--compact>.schema-card-title-icon[data-v-40568e30]{margin:0}.schema-card-title--compact>.schema-card-title-icon--open[data-v-40568e30]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title--compact[data-v-40568e30]{position:static}.property--level-0>.schema-properties>.schema-card--level-0>.schema-properties[data-v-40568e30]{border:none}.property--level-0 .schema-card--level-0:not(.schema-card--compact) .property--level-1[data-v-40568e30]{padding:0 0 8px}:not(.composition-panel)>.schema-card--compact.schema-card--level-0>.schema-properties[data-v-40568e30]{border:none}[data-v-40568e30] .schema-card-description p{font-size:var(--scalar-small, var(--scalar-paragraph));color:var(--scalar-color-2);line-height:1.5;display:block;margin-bottom:6px}.children .schema-card-description[data-v-40568e30]:first-of-type{padding-top:0}.reference-models-anchor[data-v-e9f2f7bc]{display:flex;align-items:center;font-size:20px;padding-left:6px;color:var(--scalar-color-1)}.reference-models-label[data-v-e9f2f7bc]{display:block;font-size:var(--scalar-mini)}.reference-models-label[data-v-e9f2f7bc] em{font-weight:var(--scalar-bold)}.show-more[data-v-3cd30981]{appearance:none;border:none;border:var(--scalar-border-width) solid var(--scalar-border-color);margin:auto;padding:8px 12px 8px 16px;border-radius:30px;color:var(--scalar-color-1);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);display:flex;align-items:center;justify-content:center;position:relative;gap:6px;top:-48px}.show-more[data-v-3cd30981]:hover{background:var(--scalar-background-2);cursor:pointer}.show-more[data-v-3cd30981]:active{box-shadow:0 0 0 1px var(--scalar-border-color)}@container narrow-references-container (max-width: 900px){.show-more[data-v-3cd30981]{top:-24px}}.tag-section[data-v-1124be5d]{margin-bottom:48px}.tag-name[data-v-1124be5d]{text-transform:capitalize}.tag-description[data-v-1124be5d]{padding-bottom:4px;text-align:left}.endpoint[data-v-ad8530a6]{display:flex;white-space:nowrap;cursor:pointer;text-decoration:none}.endpoint:hover .endpoint-path[data-v-ad8530a6],.endpoint:focus-visible .endpoint-path[data-v-ad8530a6]{text-decoration:underline}.endpoint .post[data-v-ad8530a6],.endpoint .get[data-v-ad8530a6],.endpoint .delete[data-v-ad8530a6],.endpoint .put[data-v-ad8530a6]{white-space:nowrap}.endpoint-method[data-v-ad8530a6],.endpoint-path[data-v-ad8530a6]{color:var(--scalar-color-1);min-width:62px;display:inline-flex;line-height:1.55;font-family:var(--scalar-font-code);font-size:var(--scalar-small);cursor:pointer}.endpoint-method[data-v-ad8530a6]{text-align:right}.endpoint-path[data-v-ad8530a6]{margin-left:12px;text-transform:initial}.deprecated[data-v-ad8530a6]{text-decoration:line-through}.endpoints-card[data-v-f726f753]{position:sticky;top:calc(var(--refs-viewport-offset) + 24px);font-size:var(--scalar-font-size-3)}.endpoints[data-v-f726f753]{overflow:auto;background:var(--scalar-background-2);padding:10px 12px;width:100%}.section-container[data-v-3eabdf4c]{border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.section-container[data-v-3eabdf4c]:has(.show-more){background-color:color-mix(in srgb,var(--scalar-background-2),transparent)}.operation-path[data-v-ec6c8861]{overflow:hidden;word-wrap:break-word;font-weight:var(--scalar-semibold);line-break:anywhere}.deprecated[data-v-ec6c8861]{text-decoration:line-through}.empty-state[data-v-0fa97c76]{margin:10px 0 10px 12px;text-align:center;font-size:var(--scalar-mini);min-height:56px;display:flex;align-items:center;justify-content:center;border-radius:var(--scalar-radius-lg);color:var(--scalar-color-2)}.rule-title[data-v-0fa97c76]{font-family:var(--scalar-font-code);color:var(--scalar-color-1);display:inline-block;margin:12px 0 6px;border-radius:var(--scalar-radius)}.rule[data-v-0fa97c76]{margin:0 12px;border-radius:var(--scalar-radius-lg)}.rule-items[data-v-0fa97c76]{counter-reset:list-number;display:flex;flex-direction:column;gap:12px;border-left:1px solid var(--scalar-border-color);padding:12px 0}.rule-item[data-v-0fa97c76]{counter-increment:list-number;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden;margin-left:24px}.rule-item[data-v-0fa97c76]:before{border:1px solid var(--scalar-border-color);border-top:0;border-right:0;content:" ";display:block;width:24px;height:6px;border-radius:0 0 0 var(--scalar-radius-lg);margin-top:6px;color:var(--scalar-color-2);transform:translate(-25px);color:var(--scalar-color-1);position:absolute}.tab[data-v-c8207e48]{background:none;border:none;font-size:var(--scalar-small);font-family:var(--scalar-font);font-weight:var(--scalar-font-normal);color:var(--scalar-color-2);line-height:calc(var(--scalar-small) + 2px);white-space:nowrap;cursor:pointer;padding:0;margin-right:3px;text-transform:uppercase;position:relative;line-height:22px}.tab[data-v-c8207e48]:before{content:"";position:absolute;z-index:0;left:-6px;top:-6px;width:calc(100% + 12px);height:calc(100% + 12px);border-radius:var(--scalar-radius);background:var(--scalar-background-3);opacity:0}.tab[data-v-c8207e48]:hover:before,.tab[data-v-c8207e48]:focus-visible:before{opacity:1}.tab[data-v-c8207e48]:focus-visible:before{outline:1px solid var(--scalar-color-accent)}.tab span[data-v-c8207e48]{z-index:1;position:relative}.tab-selected[data-v-c8207e48]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.tab-selected[data-v-c8207e48]:after{content:"";position:absolute;background:currentColor;width:100%;left:0;height:1px;bottom:calc(var(--tab-list-padding-y) * -1)}.tab-list[data-v-fec8fbbb]{display:flex;gap:6px;position:relative;flex:1;--tab-list-padding-y: 7px;--tab-list-padding-x: 12px;padding:var(--tab-list-padding-y) var(--tab-list-padding-x);overflow:auto}.scalar-card-header.scalar-card-header-tabs[data-v-fec8fbbb]{padding:0}.response-card[data-v-bf753e60]{font-size:var(--scalar-font-size-3)}.markdown[data-v-bf753e60] *{margin:0}.code-copy[data-v-bf753e60]{display:flex;align-items:center;justify-content:center;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;color:var(--scalar-color-3);border:none;padding:0;margin-right:12px}.code-copy[data-v-bf753e60]:hover{color:var(--scalar-color-1)}.code-copy svg[data-v-bf753e60]{width:13px;height:13px}.response-card-footer[data-v-bf753e60]{display:flex;flex-direction:row;justify-content:space-between;flex-shrink:0;padding:7px 12px;gap:8px}.response-example-selector[data-v-bf753e60]{align-self:flex-start;margin:-4px}.response-description[data-v-bf753e60]{font-weight:var(--scalar-semibold);font-size:var(--scalar-small);color:var(--scalar-color--1);display:flex;align-items:center;box-sizing:border-box}.schema-type[data-v-bf753e60]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);background:var(--scalar-background-3);padding:2px 4px;border-radius:4px;margin-right:4px}.schema-example[data-v-bf753e60]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.example-response-tab[data-v-bf753e60]{display:block;margin:6px}.scalar-card-checkbox[data-v-bf753e60]{display:flex;align-items:center;justify-content:center;position:relative;min-height:17px;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:var(--scalar-small);font-weight:var(--scalar-font-normal);color:var(--scalar-color-2);width:fit-content;white-space:nowrap;gap:6px;padding:7px 6px}.scalar-card-checkbox:has(.scalar-card-checkbox-input:focus-visible) .scalar-card-checkbox-checkmark[data-v-bf753e60]{outline:1px solid var(--scalar-color-accent)}.scalar-card-checkbox[data-v-bf753e60]:hover{color:var(--scalar-color--1)}.scalar-card-checkbox .scalar-card-checkbox-input[data-v-bf753e60]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.scalar-card-checkbox-checkmark[data-v-bf753e60]{height:16px;width:16px;border-radius:var(--scalar-radius);background-color:transparent;background-color:var(--scalar-background-3);box-shadow:inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color)}.scalar-card-checkbox[data-v-bf753e60]:has(.scalar-card-checkbox-input:checked){color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-bf753e60]{background-color:var(--scalar-button-1);box-shadow:none}.scalar-card-checkbox-checkmark[data-v-bf753e60]:after{content:"";position:absolute;display:none}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-bf753e60]:after{display:block}.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-bf753e60]:after{right:11.5px;top:12.5px;width:5px;height:9px;border:solid 1px var(--scalar-button-1-color);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.headers-card[data-v-6fb09984]{z-index:0;margin-top:12px;margin-bottom:6px;position:relative;font-size:var(--scalar-font-size-4);color:var(--scalar-color-1);align-self:flex-start}.headers-card.headers-card--open[data-v-6fb09984]{align-self:initial}.headers-card-title[data-v-6fb09984]{padding:6px 10px;display:flex;align-items:center;gap:4px;color:var(--scalar-color-3);font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);border-radius:13.5px}button.headers-card-title[data-v-6fb09984]{cursor:pointer}button.headers-card-title[data-v-6fb09984]:hover{color:var(--scalar-color-1)}.headers-card-title-icon--open[data-v-6fb09984]{transform:rotate(45deg)}.headers-properties[data-v-6fb09984]{display:flex;flex-direction:column;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:13.5px;width:fit-content}.headers-properties-open>.headers-card-title[data-v-6fb09984]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.headers-properties-open[data-v-6fb09984]{border-radius:var(--scalar-radius-lg);width:100%}.headers-card .property[data-v-6fb09984]:last-of-type{padding-bottom:10px}.headers-card-title>.headers-card-title-icon[data-v-6fb09984]{width:10px;height:10px;margin:0}.headers-card-title>.headers-card-title-icon--open[data-v-6fb09984]{transform:rotate(45deg)}.parameter-item[data-v-57b2f2e5]{display:flex;flex-direction:column;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item:last-of-type .parameter-schema[data-v-57b2f2e5]{padding-bottom:0}.parameter-item-container[data-v-57b2f2e5]{padding:0}.parameter-item-headers[data-v-57b2f2e5]{border:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item-name[data-v-57b2f2e5]{position:relative;font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);font-family:var(--scalar-font-code);color:var(--scalar-color-1);overflow-wrap:break-word}.parameter-item-description[data-v-57b2f2e5],.parameter-item-description-summary[data-v-57b2f2e5]{font-size:var(--scalar-mini);color:var(--scalar-color-2)}.parameter-item-description-summary.parameter-item-description-summary[data-v-57b2f2e5]>*{--markdown-line-height: 1}.parameter-item-trigger+.parameter-item-container[data-v-57b2f2e5] .property--level-0>.property-heading .property-detail-value{font-size:var(--scalar-micro)}.parameter-item-required-optional[data-v-57b2f2e5]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);margin-right:6px;position:relative}.parameter-item--required[data-v-57b2f2e5]{text-transform:uppercase;font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-orange)}.parameter-item-description[data-v-57b2f2e5],.parameter-item-description[data-v-57b2f2e5] p{margin-top:4px;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-schema[data-v-57b2f2e5]{padding-bottom:9px;margin-top:3px}.parameter-item-trigger[data-v-57b2f2e5]{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;padding:12px 0;outline:none}.parameter-item-trigger-open[data-v-57b2f2e5]{padding-bottom:0}.parameter-item-trigger[data-v-57b2f2e5]:after{content:"";position:absolute;height:10px;width:100%;bottom:0}.parameter-item-icon[data-v-57b2f2e5]{color:var(--scalar-color-3);left:-19px;top:.5lh;translate:0 -50%;position:absolute}.parameter-item-trigger:hover .parameter-item-icon[data-v-57b2f2e5],.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-57b2f2e5]{color:var(--scalar-color-1)}.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-57b2f2e5]{outline:1px solid var(--scalar-color-accent);outline-offset:2px;border-radius:var(--scalar-radius)}.request-body[data-v-3e73fda7]{margin-top:24px}.request-body-header[data-v-3e73fda7]{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);flex-flow:wrap}.request-body-title[data-v-3e73fda7]{display:flex;align-items:center;gap:8px;font-size:var(--scalar-font-size-2);font-weight:var(--scalar-semibold);color:var(--scalar-color-1)}.request-body-required[data-v-3e73fda7]{font-size:var(--scalar-micro);color:var(--scalar-color-orange);font-weight:400}.request-body-description[data-v-3e73fda7]{margin-top:6px;font-size:var(--scalar-small);width:100%}.request-body-header+.request-body-schema[data-v-3e73fda7]:has(>.schema-card>.schema-card-description),.request-body-header+.request-body-schema[data-v-3e73fda7]:has(>.schema-card>.schema-properties>*>.property--level-0){padding-top:8px}.request-body-description[data-v-3e73fda7] .markdown *{color:var(--scalar-color-2)!important}.callback-sticky-offset[data-v-3c2f3b42]{top:var(--refs-viewport-offset, 0px);z-index:1}.callback-operation-container[data-v-3c2f3b42] .request-body,.callback-operation-container[data-v-3c2f3b42] .request-body-description,.callback-operation-container[data-v-3c2f3b42] .request-body-header{margin-top:0}.callback-operation-container[data-v-3c2f3b42] .request-body-header{--scalar-font-size-2: var(--scalar-font-size-4);padding:8px;border-bottom:none;border:.5px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg) var(--scalar-radius-lg) 0 0;background:color-mix(in srgb,var(--scalar-background-2) 50%,transparent)}.callback-operation-container[data-v-3c2f3b42] ul li.property.property--level-1{padding:8px}.callback-operation-container[data-v-3c2f3b42] .request-body-schema{background-color:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-top:none;overflow:hidden;border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.callback-operation-container[data-v-3c2f3b42] .parameter-list{margin-top:0}.callback-operation-container[data-v-3c2f3b42] .parameter-list-title{background:color-mix(in srgb,var(--scalar-background-2) 50%,transparent);border-radius:var(--scalar-radius-lg) var(--scalar-radius-lg) 0 0;padding:8px;margin-bottom:0;border:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:none;--scalar-font-size-2: var(--scalar-font-size-4)}.callback-operation-container[data-v-3c2f3b42] .parameter-list-items{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.callback-operation-container[data-v-3c2f3b42] .parameter-list-items>li:first-of-type{border-top:none}.callback-operation-container[data-v-3c2f3b42] .parameter-list-items>li{padding:0 8px}.show-api-client-button[data-v-f7468f9c]{appearance:none;border:none;padding:1px 6px;white-space:nowrap;border-radius:var(--scalar-radius);display:flex;justify-content:center;align-items:center;font-weight:var(--scalar-semibold);font-size:var(--scalar-small);line-height:22px;color:var(--scalar-background-2);font-family:var(--scalar-font);background:var(--scalar-button-1);position:relative;cursor:pointer;box-sizing:border-box;box-shadow:inset 0 0 0 1px #0000001a;outline-offset:2px}.show-api-client-button span[data-v-f7468f9c],.show-api-client-button svg[data-v-f7468f9c]{fill:currentColor;color:var(--scalar-button-1-color);z-index:1}.show-api-client-button[data-v-f7468f9c]:hover{background:var(--scalar-button-1-hover)}.show-api-client-button svg[data-v-f7468f9c]{margin-right:4px}.operation-title[data-v-86cb6452]{justify-content:space-between;display:flex}.operation-details[data-v-86cb6452]{flex-shrink:1;align-items:center;gap:9px;min-width:0;margin-top:0;display:flex}.operation-details[data-v-86cb6452] .endpoint-anchor .scalar-button svg{width:16px;height:16px}.endpoint-type[data-v-86cb6452]{z-index:0;width:60px;font-size:var(--scalar-small);text-transform:uppercase;font-weight:var(--scalar-bold);font-family:var(--scalar-font);flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:6px;display:flex;position:relative}.endpoint-type[data-v-86cb6452]:after{content:"";z-index:-1;opacity:.15;border-radius:var(--scalar-radius);background:currentColor;position:absolute;inset:0}.endpoint-anchor[data-v-86cb6452]{flex-shrink:1;align-items:center;min-width:0;display:flex}.endpoint-anchor.label[data-v-86cb6452]{display:flex}.endpoint-label[data-v-86cb6452]{min-width:0;color:var(--scalar-color-1);flex-shrink:1;align-items:baseline;gap:9px;display:flex}.endpoint-label-path[data-v-86cb6452]{font-family:var(--scalar-font-code);font-size:var(--scalar-mini);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-label-path[data-v-86cb6452] em{color:var(--scalar-color-2)}.endpoint-label-name[data-v-86cb6452]{color:var(--scalar-color-2);font-size:var(--scalar-small);text-overflow:ellipsis;white-space:nowrap;flex-shrink:1000000000;overflow:hidden}.endpoint-try-hint[data-v-86cb6452]{flex-shrink:0;padding:2px}.endpoint-copy[data-v-86cb6452]{color:currentColor}.endpoint-copy[data-v-86cb6452] svg{stroke-width:2px}.endpoint-content[data-v-86cb6452]{grid-auto-columns:1fr;grid-auto-flow:row;gap:9px;padding:9px;display:grid}@media (min-width:1000px){.endpoint-content[data-v-86cb6452]{grid-auto-flow:column}}@container (max-width:900px){.endpoint-content[data-v-86cb6452]{grid-template-columns:1fr}}.endpoint-content[data-v-86cb6452]>*{min-width:0}.operation-details-card[data-v-86cb6452]{flex-direction:column;gap:12px;min-width:0;display:flex}:is(.operation-details-card-item[data-v-86cb6452] .parameter-list,.operation-details-card-item[data-v-86cb6452] .callbacks-list){border:var(--scalar-border-width)solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-top:0}.operation-details-card-item[data-v-86cb6452]{flex-direction:column;gap:12px;display:flex}.operation-details-card-item[data-v-86cb6452] .parameter-list-items{margin-bottom:0}.operation-details-card[data-v-86cb6452] .parameter-item:last-of-type .parameter-schema{padding-bottom:12px}.operation-details-card[data-v-86cb6452] .parameter-list .parameter-list{margin-bottom:12px}.operation-details-card[data-v-86cb6452] .parameter-item{margin:0;padding:0}.operation-details-card[data-v-86cb6452] .property{margin:0;padding:9px}:is(.operation-details-card[data-v-86cb6452] .parameter-list-title,.operation-details-card[data-v-86cb6452] .request-body-title,.operation-details-card[data-v-86cb6452] .callbacks-title){text-transform:uppercase;font-weight:var(--scalar-bold);font-size:var(--scalar-mini);color:var(--scalar-color-2);margin:0;padding:9px;line-height:1.33}.operation-details-card[data-v-86cb6452] .callback-list-item-title{padding-left:28px;padding-right:12px}.operation-details-card[data-v-86cb6452] .callback-list-item-icon{left:6px}.operation-details-card[data-v-86cb6452] .callback-operation-container{padding-inline:9px;padding-bottom:9px}:is(.operation-details-card[data-v-86cb6452] .callback-operation-container>.request-body,.operation-details-card[data-v-86cb6452] .callback-operation-container>.parameter-list){border:none}.operation-details-card[data-v-86cb6452] .callback-operation-container>.request-body>.request-body-header{border-bottom:var(--scalar-border-width)solid var(--scalar-border-color);padding:0 0 9px}.operation-details-card[data-v-86cb6452] .request-body-description{border-top:var(--scalar-border-width)solid var(--scalar-border-color);margin-top:0;padding:9px 9px 0}.operation-details-card[data-v-86cb6452] .request-body{border-radius:var(--scalar-radius-lg);border:var(--scalar-border-width)solid var(--scalar-border-color);margin-top:0}.operation-details-card[data-v-86cb6452] .request-body-header{border-bottom:0;padding-bottom:0}.operation-details-card[data-v-86cb6452] .contents button{margin-right:9px}.operation-details-card[data-v-86cb6452] .schema-card--open+.schema-card:not(.schema-card--open){margin-inline:9px;margin-bottom:9px}.operation-details-card[data-v-86cb6452] .request-body-schema .property--level-0{padding:0}.operation-details-card[data-v-86cb6452] .selected-content-type{margin-right:9px}.operation-example-card[data-v-86cb6452]{top:calc(var(--refs-viewport-offset) + 24px);max-height:calc(var(--refs-viewport-height) - 48px);position:sticky}@media (max-width:600px){.operation-example-card[data-v-86cb6452]{max-height:unset;position:static}}.examples[data-v-21dac38e]{position:sticky;top:calc(var(--refs-viewport-offset) + 24px)}.examples[data-v-21dac38e]>*{max-height:calc((var(--refs-viewport-height) - 60px) / 2);position:relative}@media (max-width: 600px){.examples[data-v-21dac38e]>*{max-height:unset}}.deprecated[data-v-21dac38e] *{text-decoration:line-through}.section-flare[data-v-2a9c8c02]{top:0;right:0;pointer-events:none}.narrow-references-container{container-name:narrow-references-container;container-type:inline-size}.ref-search-meta[data-v-c1c368f9]{background:var(--scalar-background-1);border-bottom-left-radius:var(--scalar-radius-lg);border-bottom-right-radius:var(--scalar-radius-lg);padding:6px 12px;font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);display:flex;gap:12px;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-x-reverse:0}}}@layer scalar-base{@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-color-1)20%)}}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-color-1)20%)}}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb,var(--scalar-background-1),#fff 10%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)20%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}:root,:host{--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-color-1)20%)}}.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-color-1)20%)}}.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}.dark-mode{--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb,var(--scalar-background-1),#fff 10%)}}.dark-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)20%)}}.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-color-1)20%)}}}.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-color-1)20%)}}}.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}}.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}}.dark-mode{--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb,var(--scalar-background-1),#fff 10%)}}}.dark-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)20%)}}}.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}}.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}}}:root,:host{--leading-snug:1.375;--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}@supports (color:color-mix(in lab,red,red)){@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-color-1)20%)}}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-color-1)20%)}}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb,var(--scalar-background-1),#fff 10%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)20%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}.light-mode{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-color-1)20%)}}}.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-color-1)20%)}}}.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}}.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}}.dark-mode{--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb,var(--scalar-background-1),#fff 10%)}}}.dark-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)20%)}}}.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}}.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}}}body{line-height:inherit;margin:0}:root{--scalar-border-width:.5px;--scalar-radius:3px;--scalar-radius-lg:6px;--scalar-radius-xl:8px;--scalar-font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;--scalar-font-code:"JetBrains Mono",ui-monospace,Menlo,Monaco,"Cascadia Mono","Segoe UI Mono","Roboto Mono","Oxygen Mono","Ubuntu Monospace","Source Code Pro","Fira Mono","Droid Sans Mono","Courier New",monospace;--scalar-heading-1:24px;--scalar-page-description:16px;--scalar-heading-2:20px;--scalar-heading-3:16px;--scalar-heading-4:16px;--scalar-heading-5:16px;--scalar-heading-6:16px;--scalar-paragraph:16px;--scalar-small:14px;--scalar-mini:13px;--scalar-micro:12px;--scalar-bold:600;--scalar-semibold:500;--scalar-regular:400;--scalar-font-size-1:21px;--scalar-font-size-2:16px;--scalar-font-size-3:14px;--scalar-font-size-4:13px;--scalar-font-size-5:12px;--scalar-font-size-6:12px;--scalar-font-size-7:10px;--scalar-line-height-1:32px;--scalar-line-height-2:24px;--scalar-line-height-3:20px;--scalar-line-height-4:18px;--scalar-line-height-5:16px;--scalar-font-normal:400;--scalar-font-medium:500;--scalar-font-bold:700;--scalar-text-decoration:none;--scalar-text-decoration-hover:underline;--scalar-link-font-weight:inherit;--scalar-sidebar-indent:20px}.dark-mode{color-scheme:dark;--scalar-scrollbar-color:#ffffff2e;--scalar-scrollbar-color-active:#ffffff5c;--scalar-button-1:#fff;--scalar-button-1-hover:#ffffffe6;--scalar-button-1-color:black;--scalar-shadow-1:0 1px 3px 0 #0000001a;--scalar-shadow-2:0 0 0 .5px var(--scalar-border-color),#0f0f0f33 0px 3px 6px,#0f0f0f66 0px 9px 24px;--scalar-lifted-brightness:1.45;--scalar-backdrop-brightness:.5;--scalar-text-decoration-color:currentColor;--scalar-text-decoration-color-hover:currentColor}.light-mode{color-scheme:light;--scalar-scrollbar-color-active:#0000005c;--scalar-scrollbar-color:#0000002e;--scalar-button-1:#000;--scalar-button-1-hover:#000c;--scalar-button-1-color:#ffffffe6;--scalar-shadow-1:0 1px 3px 0 #0000001c;--scalar-shadow-2:#00000014 0px 13px 20px 0px,#00000014 0px 3px 8px 0px,#eeeeed 0px 0 0 .5px;--scalar-lifted-brightness:1;--scalar-backdrop-brightness:1;--scalar-text-decoration-color:currentColor;--scalar-text-decoration-color-hover:currentColor}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width:460px){:root{--scalar-font-size-1:22px;--scalar-font-size-2:14px;--scalar-font-size-3:12px}}@media (max-width:720px){:root{--scalar-heading-1:24px;--scalar-page-description:20px}}:root{--scalar-text-decoration:underline;--scalar-text-decoration-hover:underline}.light-mode{--scalar-background-1:#fff;--scalar-background-2:#f6f6f6;--scalar-background-3:#e7e7e7;--scalar-background-accent:#8ab4f81f;--scalar-color-1:#1b1b1b;--scalar-color-2:#757575;--scalar-color-3:#8e8e8e;--scalar-color-accent:#09f;--scalar-border-color:#dfdfdf}.dark-mode{--scalar-background-1:#0f0f0f;--scalar-background-2:#1a1a1a;--scalar-background-3:#272727;--scalar-color-1:#e7e7e7;--scalar-color-2:#a4a4a4;--scalar-color-3:#797979;--scalar-color-accent:#00aeff;--scalar-background-accent:#3ea6ff1f;--scalar-border-color:#2d2d2d}.light-mode,.dark-mode{--scalar-sidebar-background-1:var(--scalar-background-1);--scalar-sidebar-color-1:var(--scalar-color-1);--scalar-sidebar-color-2:var(--scalar-color-2);--scalar-sidebar-border-color:var(--scalar-border-color);--scalar-sidebar-item-hover-background:var(--scalar-background-2);--scalar-sidebar-item-hover-color:var(--scalar-sidebar-color-2);--scalar-sidebar-item-active-background:var(--scalar-background-2);--scalar-sidebar-color-active:var(--scalar-sidebar-color-1);--scalar-sidebar-indent-border:var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-hover:var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-active:var(--scalar-sidebar-border-color);--scalar-sidebar-search-background:transparent;--scalar-sidebar-search-color:var(--scalar-color-3);--scalar-sidebar-search-border-color:var(--scalar-border-color)}.light-mode{--scalar-color-green:#069061;--scalar-color-red:#ef0006;--scalar-color-yellow:#edbe20;--scalar-color-blue:#0082d0;--scalar-color-orange:#ff5800;--scalar-color-purple:#5203d1;--scalar-link-color:var(--scalar-color-1);--scalar-link-color-hover:var(--scalar-link-color);--scalar-button-1:#000;--scalar-button-1-hover:#000c;--scalar-button-1-color:#ffffffe6;--scalar-tooltip-background:#1a1a1ae6;--scalar-tooltip-color:#ffffffd9;--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-color-1)20%)}}}}}.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-color-1)20%)}}}}}.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}}}}.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.light-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}}}}.dark-mode{--scalar-color-green:#00b648;--scalar-color-red:#dc1b19;--scalar-color-yellow:#ffc90d;--scalar-color-blue:#4eb3ec;--scalar-color-orange:#ff8d4d;--scalar-color-purple:#b191f9;--scalar-link-color:var(--scalar-color-1);--scalar-link-color-hover:var(--scalar-link-color);--scalar-button-1:#fff;--scalar-button-1-hover:#ffffffe6;--scalar-button-1-color:black;--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb,var(--scalar-background-1),#fff 10%)}}}}}.dark-mode{--scalar-tooltip-color:#fffffff2;--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-color-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)20%)}}}}}.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-alert:color-mix(in srgb,var(--scalar-color-orange),var(--scalar-background-1)95%)}}}}}.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.dark-mode{--scalar-background-danger:color-mix(in srgb,var(--scalar-color-red),var(--scalar-background-1)95%)}}}}}@supports (color:color(display-p3 1 1 1)){.light-mode{--scalar-color-accent:color(display-p3 0 .6 1);--scalar-color-green:color(display-p3 .023529 .564706 .380392);--scalar-color-red:color(display-p3 .937255 0 .023529);--scalar-color-yellow:color(display-p3 .929412 .745098 .12549);--scalar-color-blue:color(display-p3 0 .509804 .815686);--scalar-color-orange:color(display-p3 1 .4 .02);--scalar-color-purple:color(display-p3 .321569 .011765 .819608)}.dark-mode{--scalar-color-accent:color(display-p3 .07 .67 1);--scalar-color-green:color(display-p3 0 .713725 .282353);--scalar-color-red:color(display-p3 .862745 .105882 .098039);--scalar-color-yellow:color(display-p3 1 .788235 .05098);--scalar-color-blue:color(display-p3 .305882 .701961 .92549);--scalar-color-orange:color(display-p3 1 .552941 .301961);--scalar-color-purple:color(display-p3 .694118 .568627 .976471)}}:root,:host{--leading-snug:1.375;--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--leading-normal:1.5}body{background-color:var(--scalar-background-1);margin:0}}@layer scalar-theme;.scalar-app .\\@container{container-type:inline-size}.scalar-app .-top-2{top:-8px}.scalar-app .top-3\\.5{top:14px}.scalar-app .-left-4\\.5{left:-18px}.scalar-app .-left-5{left:-20px}.scalar-app .z-1000{z-index:1000}.scalar-app .order-789{order:789}.scalar-app .-m-1{margin:-4px}.scalar-app .-m-2{margin:-8px}.scalar-app .-mx-2{margin-inline:-8px}.scalar-app .my-2{margin-block:8px}.scalar-app .my-3{margin-block:12px}.scalar-app .-mt-1{margin-top:-4px}.scalar-app .mt-6{margin-top:24px}.scalar-app .mb-3{margin-bottom:12px}.scalar-app .size-4\\.5{width:18px;height:18px}.scalar-app .h-\\[calc\\(100\\%\\+16px\\)\\]{height:calc(100% + 16px)}.scalar-app .h-\\[var\\(--scalar-header-height\\)\\]{height:var(--scalar-header-height)}.scalar-app .max-h-\\[60vh\\]{max-height:60vh}.scalar-app .min-h-3{min-height:12px}.scalar-app .min-h-7{min-height:28px}.scalar-app .min-h-dvh{min-height:100dvh}.scalar-app .w-0{width:0}.scalar-app .w-4\\.5{width:18px}.scalar-app .w-96{width:384px}.scalar-app .w-110{width:440px}.scalar-app .w-120{width:480px}.scalar-app .max-w-\\(--refs-content-max-width\\){max-width:var(--refs-content-max-width)}.scalar-app .max-w-64{max-width:256px}.scalar-app .min-w-3{min-width:12px}.scalar-app .min-w-7{min-width:28px}.scalar-app .rotate-45{rotate:45deg}.scalar-app .scroll-mt-16{scroll-margin-top:64px}.scalar-app .scroll-mt-24{scroll-margin-top:96px}.scalar-app .list-none{list-style-type:none}.scalar-app .content-end{align-content:flex-end}.scalar-app .gap-7{gap:28px}.scalar-app .overflow-x-scroll{overflow-x:scroll}.scalar-app .rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.scalar-app .p-7{padding:28px}.scalar-app .px-15{padding-inline:60px}.scalar-app .py-2\\.25{padding-block:9px}.scalar-app .pt-1\\.5{padding-top:6px}.scalar-app .pb-12{padding-bottom:48px}.scalar-app .leading-\\[1\\.45\\]{--tw-leading:1.45;line-height:1.45}.scalar-app .leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.scalar-app .text-current{color:currentColor}.scalar-app .italic{font-style:italic}.scalar-app .line-through{text-decoration-line:line-through}.scalar-app .\\[--scalar-address-bar-height\\:0px\\]{--scalar-address-bar-height:0px}.scalar-app .\\[grid-area\\:header\\]{grid-area:header}.scalar-app .\\[grid-area\\:navigation\\]{grid-area:navigation}:is(.scalar-app .\\*\\:\\!p-0>*){padding:0!important}.scalar-app .group-last\\:mr-0:is(:where(.group):last-child *){margin-right:0}.scalar-app .group-open\\:rotate-90:is(:where(.group):is([open],:popover-open,:open) *){rotate:90deg}.scalar-app .group-open\\:flex-wrap:is(:where(.group):is([open],:popover-open,:open) *){flex-wrap:wrap}.scalar-app .group-open\\:whitespace-normal:is(:where(.group):is([open],:popover-open,:open) *){white-space:normal}.scalar-app .group-focus-within\\/parameter-item\\:w-auto:is(:where(.group\\/parameter-item):focus-within *){width:auto}@media (hover:hover){.scalar-app .group-hover\\:flex:is(:where(.group):hover *){display:flex}.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.scalar-app .group-hover\\/auth\\:absolute:is(:where(.group\\/auth):hover *){position:absolute}.scalar-app .group-hover\\/auth\\:h-auto:is(:where(.group\\/auth):hover *){height:auto}.scalar-app .group-hover\\/auth\\:border-b:is(:where(.group\\/auth):hover *){border-bottom-style:var(--tw-border-style);border-bottom-width:var(--scalar-border-width)}.scalar-app .group-hover\\/heading\\:opacity-100:is(:where(.group\\/heading):hover *),.scalar-app .group-hover\\/item\\:opacity-100:is(:where(.group\\/item):hover *){opacity:1}.scalar-app .group-hover\\/parameter-item\\:w-auto:is(:where(.group\\/parameter-item):hover *){width:auto}.scalar-app .group-hover\\/scopes-accordion\\:text-c-2:is(:where(.group\\/scopes-accordion):hover *){color:var(--scalar-color-2)}}.scalar-app .group-has-focus-visible\\/heading\\:opacity-100:is(:where(.group\\/heading):has(:focus-visible) *){opacity:1}.scalar-app .group-aria-expanded\\/combobox-button\\:rotate-180:is(:where(.group\\/combobox-button)[aria-expanded=true] *){rotate:180deg}.scalar-app .empty\\:hidden:empty{display:none}@media (hover:hover){.scalar-app .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-app .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.scalar-app .hover\\:whitespace-normal:hover{white-space:normal}.scalar-app .hover\\:text-c-1:hover{color:var(--scalar-color-1)}}.scalar-app .has-focus\\:outline:has(:focus){outline-style:var(--tw-outline-style);outline-width:1px}@media (min-width:1200px){.scalar-app .xl\\:mb-1\\.5{margin-bottom:6px}.scalar-app .xl\\:gap-12{gap:48px}.scalar-app .xl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:var(--scalar-border-width)}.scalar-app .xl\\:border-none{--tw-border-style:none;border-style:none}.scalar-app .xl\\:first\\:ml-auto:first-child{margin-left:auto}}.scalar-app .\\[\\&_a\\]\\:underline a{text-decoration-line:underline}.scalar-app .\\[\\&_a\\:hover\\]\\:text-c-1 a:hover{color:var(--scalar-color-1)}.scalar-app .\\[\\&_code\\]\\:font-code code{font-family:var(--scalar-font-code)}.scalar-app .\\[\\&_em\\]\\:text-c-1 em{color:var(--scalar-color-1)}.scalar-app .\\[\\&_em\\]\\:not-italic em{font-style:normal}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}}@supports (color:color-mix(in lab,red,red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:color-mix(in srgb,var(--scalar-tooltip-color),var(--scalar-tooltip-background))}}}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-ease{syntax:"*";inherits:false}@keyframes fade-in-8e99b97a{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes rotate-8e99b97a{0%{transform:scale(3.5)rotate(0)}to{transform:scale(3.5)rotate(360deg)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent);text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert{background-color:color-mix(in srgb,var(--scalar-background-2),transparent)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:color-mix(in srgb,var(--scalar-color-blue),transparent 97%)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-blue),transparent 50%)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:color-mix(in srgb,var(--scalar-color-2),transparent 97%)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-2),transparent 50%)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:color-mix(in srgb,var(--scalar-color-orange),transparent 97%)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-orange),transparent 50%)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:color-mix(in srgb,var(--scalar-color-red),transparent 97%)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-red),transparent 50%)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:color-mix(in srgb,var(--scalar-color-green),transparent 97%)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-green),transparent 50%)}}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@keyframes fadein-layout-1319c63c{0%{opacity:0}to{opacity:1}}@keyframes fadein-modal-1319c63c{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translate(0)}}@media (hover:hover){.scalar-app .group-hover\\/group-button\\:block:is(:where(.group\\/group-button):hover *){display:block}.scalar-app .group-hover\\/group-button\\:hidden:is(:where(.group\\/group-button):hover *){display:none}.scalar-app .peer-hover\\/button\\:opacity-100:is(:where(.peer\\/button):hover~*),.scalar-app .hover\\:opacity-100:hover{opacity:1}}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}}}@supports (color:color-mix(in lab,red,red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}}:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:color-mix(in srgb,var(--scalar-tooltip-color),var(--scalar-tooltip-background))}}}}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}}.scalar-app .to-b-1\\.5{--tw-gradient-to:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}}:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:color-mix(in srgb,var(--scalar-tooltip-color),var(--scalar-tooltip-background))}}}}@media (hover:hover){.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\/button\\:bg-sidebar-indent-border-hover:is(:where(.group\\/button):hover *){background-color:var(--scalar-sidebar-indent-border-hover,var(--scalar-border-color))}.scalar-app .group-hover\\/button\\:text-c-1:is(:where(.group\\/button):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\/code-block\\:opacity-100:is(:where(.group\\/code-block):hover *){opacity:1}.scalar-app .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-app .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.scalar-app .hover\\:bg-h-btn:hover{background-color:var(--scalar-button-1-hover)}.scalar-app .hover\\:bg-sidebar-b-hover:hover{background-color:var(--scalar-sidebar-item-hover-background,var(--scalar-background-2))}.scalar-app .hover\\:bg-linear-to-b:hover{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab,red,red)){.scalar-app .hover\\:bg-linear-to-b:hover{--tw-gradient-position:to bottom in oklab}}.scalar-app .hover\\:bg-linear-to-b:hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .hover\\:bg-linear-to-t:hover{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab,red,red)){.scalar-app .hover\\:bg-linear-to-t:hover{--tw-gradient-position:to top in oklab}}.scalar-app .hover\\:bg-linear-to-t:hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-app .hover\\:text-sidebar-c-hover:hover{color:var(--scalar-sidebar-item-hover-color,var(--scalar-sidebar-color-2))}.scalar-app .hover\\:underline:hover{text-decoration-line:underline}.scalar-app .hover\\:brightness-90:hover{--tw-brightness:brightness(90%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}.scalar-app .markdown a{-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent);text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}.scalar-app .markdown .markdown-alert{background-color:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert{background-color:color-mix(in srgb,var(--scalar-background-2),transparent)}}.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:var(--scalar-color-blue)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:color-mix(in srgb,var(--scalar-color-blue),transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width)solid var(--scalar-color-blue)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-blue),transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:var(--scalar-color-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:color-mix(in srgb,var(--scalar-color-2),transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width)solid var(--scalar-color-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-2),transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:color-mix(in srgb,var(--scalar-color-orange),transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width)solid var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-orange),transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:color-mix(in srgb,var(--scalar-color-red),transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width)solid var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-red),transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:var(--scalar-color-green)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:color-mix(in srgb,var(--scalar-color-green),transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width)solid var(--scalar-color-green)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-green),transparent 50%)}}}.scalar-app .top-\\[1lh\\]{top:1lh}.scalar-app .right-0\\.75{right:3px}.scalar-app .ml-2{margin-left:8px}.scalar-app .self-start{align-self:flex-start}@media (hover:hover){.scalar-app .group-hover\\/group-button\\:block:is(:where(.group\\/group-button):hover *){display:block}.scalar-app .group-hover\\/group-button\\:hidden:is(:where(.group\\/group-button):hover *){display:none}.scalar-app .peer-hover\\/button\\:opacity-100:is(:where(.peer\\/button):hover~*){opacity:1}}.scalar-app .peer-focus-visible\\/button\\:opacity-100:is(:where(.peer\\/button):focus-visible~*){opacity:1}.scalar-app .after\\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.scalar-app .after\\:absolute:after{content:var(--tw-content);position:absolute}.scalar-app .after\\:inset-0:after{content:var(--tw-content);inset:0}.scalar-app .after\\:inset-x-0:after{content:var(--tw-content);inset-inline:0}.scalar-app .after\\:-top-0\\.5:after{content:var(--tw-content);top:-2px}.scalar-app .after\\:-bottom-0\\.5:after{content:var(--tw-content);bottom:-2px}.scalar-app .after\\:block:after{content:var(--tw-content);display:block}.scalar-app .after\\:h-0\\.75:after{content:var(--tw-content);height:3px}.scalar-app .after\\:rounded:after{content:var(--tw-content);border-radius:var(--scalar-radius)}.scalar-app .after\\:bg-blue:after{content:var(--tw-content);background-color:var(--scalar-color-blue)}.scalar-app .after\\:opacity-15:after{content:var(--tw-content);opacity:.15}.scalar-app .focus-within\\:opacity-100:focus-within{opacity:1}@media (hover:hover){.scalar-app .hover\\:opacity-100:hover{opacity:1}}:where(.scalar-app){font-family:var(--scalar-font);color:var(--scalar-color-1);-webkit-text-size-adjust:100%;tab-size:4;line-height:1.15}:where(.scalar-app) *,:where(.scalar-app) :before,:where(.scalar-app) :after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--scalar-border-color);outline-width:1px;outline-style:none;outline-color:var(--scalar-color-accent);font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;text-align:inherit;line-height:inherit;color:inherit;margin:unset;padding:unset;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:where(.scalar-app) :before,:where(.scalar-app) :after{--tw-content:""}:where(.scalar-app) button,:where(.scalar-app) input,:where(.scalar-app) optgroup,:where(.scalar-app) select,:where(.scalar-app) textarea{background:0 0}:where(.scalar-app) ::file-selector-button{background:0 0}:where(.scalar-app) ol,:where(.scalar-app) ul,:where(.scalar-app) menu{list-style:none}:where(.scalar-app) input:where(:not([type=button],[type=reset],[type=submit])),:where(.scalar-app) select,:where(.scalar-app) textarea{border-radius:var(--scalar-radius);border-width:1px}:where(.scalar-app) input::placeholder{color:var(--scalar-color-3);font-family:var(--scalar-font)}:where(.scalar-app) input[type=search]::-webkit-search-cancel-button{appearance:none}:where(.scalar-app) input[type=search]::-webkit-search-decoration{appearance:none}:where(.scalar-app) summary::-webkit-details-marker{display:none}:where(.scalar-app) input:-webkit-autofill{-webkit-background-clip:text!important;background-clip:text!important}:where(.scalar-app) :focus-visible{border-radius:var(--scalar-radius);outline-style:solid}:where(.scalar-app) button:focus-visible,:where(.scalar-app) [role=button]:focus-visible{outline-offset:-1px}:where(.scalar-app) button,:where(.scalar-app) [role=button]{cursor:pointer}:where(.scalar-app) :disabled{cursor:default}:where(.scalar-app) img,:where(.scalar-app) svg,:where(.scalar-app) video,:where(.scalar-app) canvas,:where(.scalar-app) audio,:where(.scalar-app) iframe,:where(.scalar-app) embed,:where(.scalar-app) object{vertical-align:middle;display:block}:where(.scalar-app) [hidden]{display:none}.scalar-app .cm-scroller,.scalar-app .custom-scroll{scrollbar-color:transparent transparent;scrollbar-width:thin;-webkit-overflow-scrolling:touch;overflow-y:auto}.scalar-app .custom-scroll-self-contain-overflow{overscroll-behavior:contain}.scalar-app .cm-scroller:hover,.scalar-app .custom-scroll:hover,.scalar-app.scalar-scrollbars-obtrusive .cm-scroller,.scalar-app.scalar-scrollbars-obtrusive .custom-scroll{scrollbar-color:var(--scalar-scrollbar-color,transparent)transparent}.scalar-app .cm-scroller:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid #0000}.scalar-app .custom-scroll:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid #0000}.scalar-app .cm-scroller::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid #0000}.scalar-app .custom-scroll::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid #0000}.scalar-app .cm-scroller::-webkit-scrollbar-corner{background:0 0}.scalar-app .custom-scroll::-webkit-scrollbar-corner{background:0 0}.scalar-app .cm-scroller::-webkit-scrollbar{width:12px;height:12px}.scalar-app .custom-scroll::-webkit-scrollbar{width:12px;height:12px}.scalar-app .cm-scroller::-webkit-scrollbar-track{background:0 0}.scalar-app .custom-scroll::-webkit-scrollbar-track{background:0 0}.scalar-app .cm-scroller::-webkit-scrollbar-thumb{background:padding-box content-box;border:3px solid #0000;border-radius:20px}.scalar-app .custom-scroll::-webkit-scrollbar-thumb{background:padding-box content-box;border:3px solid #0000;border-radius:20px}@media (pointer:coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}.scalar-app .invisible{visibility:hidden}.scalar-app .inset-y-0{inset-block:0}.scalar-app .top-\\(--nested-items-offset\\){top:var(--nested-items-offset)}.scalar-app .top-0\\.5{top:2px}.scalar-app .top-1\\/2{top:50%}.scalar-app .top-22{top:88px}.scalar-app .top-px{top:1px}.scalar-app .left-2{left:8px}.scalar-app .left-2\\.5{left:10px}.scalar-app .left-4{left:16px}.scalar-app .left-10{left:40px}.scalar-app .left-border{left:var(--scalar-border-width)}.scalar-app .left-px{left:1px}.scalar-app .z-\\[1001\\]{z-index:1001}.scalar-app .z-tooltip{z-index:99999}.scalar-app .-m-1\\.5{margin:-6px}.scalar-app .-m-px{margin:-1px}.scalar-app .m-1{margin:4px}.scalar-app .-mx-0\\.75{margin-inline:-3px}.scalar-app .-mx-px{margin-inline:-1px}.scalar-app .mx-px{margin-inline:1px}.scalar-app .-my-1\\.5{margin-block:-6px}.scalar-app .-my-2{margin-block:-8px}.scalar-app .my-0\\.75{margin-block:3px}.scalar-app .-mt-1\\.5{margin-top:-6px}.scalar-app .mt-0{margin-top:0}.scalar-app .mt-\\[15svh\\]{margin-top:15svh}.scalar-app .mt-\\[20svh\\]{margin-top:20svh}.scalar-app .-mr-0\\.25{margin-right:-1px}.scalar-app .mr-0{margin-right:0}.scalar-app .mr-\\[calc\\(20px-var\\(--scalar-sidebar-indent\\)\\)\\]{margin-right:calc(20px - var(--scalar-sidebar-indent))}.scalar-app .-mb-1{margin-bottom:-4px}.scalar-app .-ml-0\\.75{margin-left:-3px}.scalar-app .line-clamp-\\(--markdown-clamp\\){-webkit-line-clamp:var(--markdown-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.scalar-app .\\!hidden{display:none!important}.scalar-app .size-2{width:8px;height:8px}.scalar-app .size-2\\.75{width:11px;height:11px}.scalar-app .size-3\\.25{width:13px;height:13px}.scalar-app .size-60{width:240px;height:240px}.scalar-app .size-\\[23px\\]{width:23px;height:23px}.scalar-app .h-0{height:0}.scalar-app .h-1{height:4px}.scalar-app .h-24{height:96px}.scalar-app .h-32{height:128px}.scalar-app .h-\\[1lh\\]{height:1lh}.scalar-app .h-\\[100dvh\\]{height:100dvh}.scalar-app .h-border{height:var(--scalar-border-width)}.scalar-app .h-dvh{height:100dvh}.scalar-app .max-h-20{max-height:80px}.scalar-app .max-h-\\[80svh\\]{max-height:80svh}.scalar-app .max-h-\\[90svh\\]{max-height:90svh}.scalar-app .max-h-dvh{max-height:100dvh}.scalar-app .max-h-radix-popper{max-height:calc(var(--radix-popper-available-height) - 8px)}.scalar-app .min-h-96{min-height:384px}.scalar-app .min-h-header{min-height:48px}.scalar-app .w-12{width:48px}.scalar-app .w-24{width:96px}.scalar-app .w-32{width:128px}.scalar-app .w-40{width:160px}.scalar-app .w-48{width:192px}.scalar-app .w-\\[38px\\]{width:38px}.scalar-app .w-\\[100dvw\\]{width:100dvw}.scalar-app .w-\\[calc\\(100vw-12px\\)\\]{width:calc(100vw - 12px)}.scalar-app .w-\\[var\\(--scalar-sidebar-indent\\)\\]{width:var(--scalar-sidebar-indent)}.scalar-app .w-border{width:var(--scalar-border-width)}.scalar-app .w-min{width:min-content}.scalar-app .w-screen{width:100vw}.scalar-app .max-w-\\[360px\\]{max-width:360px}.scalar-app .max-w-\\[480px\\]{max-width:480px}.scalar-app .max-w-\\[540px\\]{max-width:540px}.scalar-app .max-w-\\[640px\\]{max-width:640px}.scalar-app .max-w-\\[800px\\]{max-width:800px}.scalar-app .max-w-\\[1000px\\]{max-width:1000px}.scalar-app .max-w-\\[inherit\\]{max-width:inherit}.scalar-app .max-w-xs{max-width:320px}.scalar-app .min-w-6{min-width:24px}.scalar-app .min-w-40{min-width:160px}.scalar-app .min-w-min{min-width:min-content}.scalar-app .flex-shrink,.scalar-app .shrink{flex-shrink:1}.scalar-app .-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-x-2\\.5{--tw-translate-x:10px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-x-\\[14px\\]{--tw-translate-x:14px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .-translate-y-1\\/2{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .rotate-180{rotate:180deg}.scalar-app .appearance-none{appearance:none}.scalar-app .grid-flow-col{grid-auto-flow:column}.scalar-app .\\!items-end{align-items:flex-end!important}.scalar-app .\\!items-start{align-items:flex-start!important}.scalar-app .items-baseline{align-items:baseline}.scalar-app .\\!justify-end{justify-content:flex-end!important}.scalar-app .\\!justify-start{justify-content:flex-start!important}.scalar-app .gap-2\\.25{gap:9px}.scalar-app .gap-x-4{column-gap:16px}.scalar-app .gap-y-8{row-gap:32px}:where(.scalar-app .divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(var(--scalar-border-width)*var(--tw-divide-x-reverse));border-inline-end-width:calc(var(--scalar-border-width)*calc(1 - var(--tw-divide-x-reverse)))}.scalar-app .self-end{align-self:flex-end}.scalar-app .overflow-x-clip{overflow-x:clip}.scalar-app .overflow-y-scroll{overflow-y:scroll}.scalar-app .overscroll-contain{overscroll-behavior:contain}.scalar-app .rounded-none{border-radius:0}.scalar-app .rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.scalar-app .border-1{border-style:var(--tw-border-style);border-width:1px}.scalar-app .border-solid{--tw-border-style:solid;border-style:solid}.scalar-app .border-\\(--scalar-background-3\\){border-color:var(--scalar-background-3)}.scalar-app .border-border{border-color:var(--scalar-border-color)}.scalar-app .border-c-alert{border-color:var(--scalar-color-alert)}.scalar-app .border-red{border-color:var(--scalar-color-red)}.scalar-app .border-sidebar-border{border-color:var(--scalar-sidebar-border-color,var(--scalar-border-color))}.scalar-app .border-sidebar-border-search{border-color:var(--scalar-sidebar-search-border-color,var(--scalar-border-color))}.scalar-app .bg-\\(--bg-light\\){background-color:var(--bg-light)}.scalar-app .bg-b-1,.scalar-app .bg-b-1\\.5{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-b-1\\.5{background-color:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}}}}.scalar-app .bg-b-alert{background-color:var(--scalar-background-alert)}.scalar-app .bg-b-btn{background-color:var(--scalar-button-1)}.scalar-app .bg-b-tooltip{background-color:var(--scalar-tooltip-background)}.scalar-app .bg-backdrop{background-color:#00000038}.scalar-app .bg-border{background-color:var(--scalar-border-color)}.scalar-app .bg-c-danger{background-color:var(--scalar-color-danger)}.scalar-app .bg-inherit{background-color:inherit}.scalar-app .bg-red{background-color:var(--scalar-color-red)}.scalar-app .bg-sidebar-b-search{background-color:var(--scalar-sidebar-search-background,var(--scalar-background-2))}.scalar-app .bg-sidebar-indent-border{background-color:var(--scalar-sidebar-indent-border,var(--scalar-border-color))}.scalar-app .bg-sidebar-indent-border-active{background-color:var(--scalar-sidebar-indent-border-active,var(--scalar-color-accent))}.scalar-app .bg-transparent{background-color:#0000}.scalar-app .bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab,red,red)){.scalar-app .bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.scalar-app .bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .from-b-1{--tw-gradient-from:var(--scalar-background-1);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.scalar-app .to-b-1\\.5{--tw-gradient-to:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}}}}.scalar-app .to-b-1\\.5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.scalar-app .to-b-2{--tw-gradient-to:var(--scalar-background-2);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.scalar-app .mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.scalar-app .p-0\\.25{padding:1px}.scalar-app .p-2\\.5{padding:10px}.scalar-app .p-6{padding:24px}.scalar-app .px-3\\.5{padding-inline:14px}.scalar-app .px-9{padding-inline:36px}.scalar-app .py-4{padding-block:16px}.scalar-app .py-\\[6\\.75px\\]{padding-block:6.75px}.scalar-app .pl-8{padding-left:32px}.scalar-app .text-lg{font-size:var(--scalar-font-size-2)}.scalar-app .leading-5{--tw-leading:var(--scalar-line-height-5);line-height:var(--scalar-line-height-5)}.scalar-app .font-sidebar{--tw-font-weight:var(--scalar-sidebar-font-weight,var(--scalar-regular));font-weight:var(--scalar-sidebar-font-weight,var(--scalar-regular))}.scalar-app .font-sidebar-active{--tw-font-weight:var(--scalar-sidebar-font-weight-active,var(--scalar-semibold));font-weight:var(--scalar-sidebar-font-weight-active,var(--scalar-semibold))}.scalar-app .text-nowrap{text-wrap:nowrap}.scalar-app .text-wrap{text-wrap:wrap}.scalar-app .break-words,.scalar-app .wrap-break-word{overflow-wrap:break-word}.scalar-app .text-c-accent{color:var(--scalar-color-accent)}.scalar-app .text-c-alert{color:var(--scalar-color-alert)}.scalar-app .text-c-tooltip{color:var(--scalar-tooltip-color)}.scalar-app .text-sidebar-c-1{color:var(--scalar-sidebar-color-1,var(--scalar-color-1))}.scalar-app .text-sidebar-c-search{color:var(--scalar-sidebar-search-color,var(--scalar-color-3))}.scalar-app .text-white{color:#fff}.scalar-app .opacity-40{opacity:.4}.scalar-app .outline-offset-1{outline-offset:1px}.scalar-app .outline-offset-\\[-1px\\]{outline-offset:-1px}.scalar-app .backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}:is(.scalar-app .\\*\\:size-3>*){width:12px;height:12px}:is(.scalar-app .\\*\\:size-4>*){width:16px;height:16px}:is(.scalar-app .\\*\\:h-5>*){height:20px}:is(.scalar-app .\\*\\:min-w-5>*){min-width:20px}:is(.scalar-app .\\*\\:flex-1>*){flex:1}:is(.scalar-app .\\*\\:justify-center>*){justify-content:center}:is(.scalar-app .\\*\\:gap-px>*){gap:1px}:is(.scalar-app .\\*\\:rounded>*){border-radius:var(--scalar-radius)}:is(.scalar-app .\\*\\:border>*){border-style:var(--tw-border-style);border-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab,red,red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:color-mix(in srgb,var(--scalar-tooltip-color),var(--scalar-tooltip-background))}}}}}:is(.scalar-app .\\*\\:px-1>*){padding-inline:4px}:is(.scalar-app .\\*\\:text-xs>*){font-size:var(--scalar-font-size-5)}@media (hover:hover){.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\/button\\:bg-sidebar-indent-border-hover:is(:where(.group\\/button):hover *){background-color:var(--scalar-sidebar-indent-border-hover,var(--scalar-border-color))}.scalar-app .group-hover\\/button\\:text-c-1:is(:where(.group\\/button):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\/code-block\\:opacity-100:is(:where(.group\\/code-block):hover *){opacity:1}}.scalar-app .group-focus-visible\\/toggle\\:outline:is(:where(.group\\/toggle):focus-visible *){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .placeholder\\:font-\\[inherit\\]::placeholder{font-family:inherit}.scalar-app .first\\:rounded-t-\\[inherit\\]:first-child,:is(.scalar-app .\\*\\:first\\:rounded-t-\\[inherit\\]>*):first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.scalar-app .last\\:rounded-b-\\[inherit\\]:last-child,:is(.scalar-app .\\*\\:last\\:rounded-b-\\[inherit\\]>*):last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.scalar-app .focus-within\\:outline-none:focus-within{--tw-outline-style:none;outline-style:none}@media (hover:hover){.scalar-app .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-app .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.scalar-app .hover\\:bg-h-btn:hover{background-color:var(--scalar-button-1-hover)}.scalar-app .hover\\:bg-sidebar-b-hover:hover{background-color:var(--scalar-sidebar-item-hover-background,var(--scalar-background-2))}.scalar-app .hover\\:bg-linear-to-b:hover{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab,red,red)){.scalar-app .hover\\:bg-linear-to-b:hover{--tw-gradient-position:to bottom in oklab}}.scalar-app .hover\\:bg-linear-to-b:hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .hover\\:bg-linear-to-t:hover{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab,red,red)){.scalar-app .hover\\:bg-linear-to-t:hover{--tw-gradient-position:to top in oklab}}.scalar-app .hover\\:bg-linear-to-t:hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-app .hover\\:text-sidebar-c-hover:hover{color:var(--scalar-sidebar-item-hover-color,var(--scalar-sidebar-color-2))}.scalar-app .hover\\:underline:hover{text-decoration-line:underline}.scalar-app .hover\\:brightness-90:hover{--tw-brightness:brightness(90%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.scalar-app .focus-visible\\:border-c-btn:focus-visible{border-color:var(--scalar-button-1-color)}.scalar-app .focus-visible\\:opacity-100:focus-visible{opacity:1}.scalar-app .focus-visible\\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .active\\:bg-b-btn:active{background-color:var(--scalar-button-1)}.scalar-app .active\\:brightness-90:active{--tw-brightness:brightness(90%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.scalar-app .has-\\[\\:focus-visible\\]\\:bg-sidebar-b-1:has(:focus-visible){background-color:var(--scalar-sidebar-background-1,var(--scalar-background-1))}.scalar-app .has-\\[\\:focus-visible\\]\\:outline:has(:focus-visible),.scalar-app .has-\\[input\\:focus-visible\\]\\:outline:has(:is(input:focus-visible)){outline-style:var(--tw-outline-style);outline-width:1px}@media (min-width:800px){.scalar-app .md\\:w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}}@media (min-width:1000px){.scalar-app .lg\\:w-\\[calc\\(100vw-32px\\)\\]{width:calc(100vw - 32px)}.scalar-app .lg\\:w-full{width:100%}}.scalar-app .dark\\:bg-\\(--bg-dark\\):where(.dark-mode,.dark-mode *){background-color:var(--bg-dark)}.scalar-app .dark\\:bg-b-3:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-3)}.scalar-app .dark\\:bg-backdrop-dark:where(.dark-mode,.dark-mode *){background-color:#00000073}.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab,red,red)){.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){--tw-gradient-position:to top in oklab}}.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){background-image:linear-gradient(var(--tw-gradient-stops))}@media (hover:hover){.scalar-app .dark\\:hover\\:bg-b-3:where(.dark-mode,.dark-mode *):hover{background-color:var(--scalar-background-3)}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab,red,red)){.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab,red,red)){.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}}@media (max-width:720px) and (max-height:480px){.scalar-app .zoomed\\:\\!whitespace-normal{white-space:normal!important}}.loader-wrapper[data-v-8e99b97a]{--loader-size:50%;justify-content:center;align-items:center;display:flex;position:relative}.svg-loader[data-v-8e99b97a]{width:var(--loader-size);height:var(--loader-size);fill:none;stroke:currentColor;background-color:#0000;top:1rem;right:.9rem;overflow:visible}.svg-path[data-v-8e99b97a]{stroke-width:12px;fill:none;transition:all .3s}.svg-x-mark[data-v-8e99b97a]{stroke-dasharray:57;stroke-dashoffset:57px;transition-delay:0s}.svg-check-mark[data-v-8e99b97a]{stroke-dasharray:149;stroke-dashoffset:149px;transition-delay:0s}.icon-is-invalid .svg-x-mark[data-v-8e99b97a],.icon-is-valid .svg-check-mark[data-v-8e99b97a]{stroke-dashoffset:0;transition-delay:.3s}.circular-loader[data-v-8e99b97a]{transform-origin:50%;background:0 0;animation:.7s linear infinite rotate-8e99b97a,.4s fade-in-8e99b97a;transform:scale(3.5)}.loader-path[data-v-8e99b97a]{stroke-dasharray:50 200;stroke-dashoffset:-100px;stroke-linecap:round}.loader-path-off[data-v-8e99b97a]{stroke-dasharray:50 200;stroke-dashoffset:-100px;opacity:0;transition:opacity .3s}.scalar-code-block:hover .scalar-code-copy[data-v-0295860a]{opacity:100}.copy-icon[data-v-0295860a],.check-icon[data-v-0295860a]{transition:transform .15s ease-in-out;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}.copy-icon.copied[data-v-0295860a],.check-icon[data-v-0295860a]{transform:translate(-50%,-50%)scale(0)}.check-icon.visible[data-v-0295860a]{transform:translate(-50%,-50%)scale(1)}.scalar-code-block{background:inherit;padding:10px 8px 12px 12px;position:relative;overflow:auto}.scalar-codeblock-pre{all:unset;text-wrap:nowrap;white-space-collapse:preserve;background:0 0;border-radius:0;width:fit-content;margin:0}.toggle-icon-ellipse[data-v-60be8692]{background:var(--scalar-background-1);border-radius:50%;width:7px;height:7px;transition:width .3s ease-in-out,height .3s ease-in-out;display:inline-block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px}.toggle-icon-moon-mask[data-v-60be8692]{background:var(--scalar-background-1);border:1px solid;border-radius:50%;width:100%;height:100%;transition:transform .3s ease-in-out;display:block;position:absolute;bottom:2.5px;left:2.5px;transform:translate(4px,-4px)}.toggle-icon-sun-ray[data-v-60be8692]{background:currentColor;border-radius:8px;width:12px;height:1px;transition:transform .3s ease-in-out;position:absolute}.toggle-icon-sun-ray[data-v-60be8692]:nth-of-type(2){transform:rotate(90deg)}.toggle-icon-sun-ray[data-v-60be8692]:nth-of-type(3){transform:rotate(45deg)}.toggle-icon-sun-ray[data-v-60be8692]:nth-of-type(4){transform:rotate(-45deg)}.toggle-icon-dark .toggle-icon-ellipse[data-v-60be8692]{width:10px;height:10px;-webkit-mask-image:radial-gradient(circle at 0 100%,pink 10px,#0000 12px);mask-image:radial-gradient(circle at 0 100%,pink 10px,#0000 12px)}.toggle-icon-dark .toggle-icon-sun-ray[data-v-60be8692]{transform:scale(0)}.toggle-icon-dark .toggle-icon-moon-mask[data-v-60be8692]{transform:translateZ(0)}.scalar-icon[data-v-b651bb23],.scalar-icon[data-v-b651bb23] *{stroke-width:var(--c07589c2)}.scalar-app :where(code.hljs) *{font-size:inherit;font-family:var(--scalar-font-code);text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;tab-size:4;line-height:1.4}.scalar-app code.hljs{all:unset;font-size:inherit;color:var(--scalar-color-2);font-family:var(--scalar-font-code);counter-reset:linenumber}.scalar-app .hljs{color:var(--scalar-color-2);background:0 0}.scalar-app .hljs .line:before{color:var(--scalar-color-3);counter-increment:linenumber;content:counter(linenumber);min-width:calc(var(--line-digits)*1ch);text-align:right;margin-right:.875rem;display:inline-block}.scalar-app .hljs-comment,.scalar-app .hljs-quote{color:var(--scalar-color-3);font-style:italic}.scalar-app .hljs-number{color:var(--scalar-color-orange)}.scalar-app .hljs-regexp,.scalar-app .hljs-string,.scalar-app .hljs-built_in{color:var(--scalar-color-blue)}.scalar-app .hljs-title.class_{color:var(--scalar-color-1)}.scalar-app .hljs-keyword{color:var(--scalar-color-purple)}.scalar-app .hljs-title.function_{color:var(--scalar-color-orange)}.scalar-app .hljs-subst,.scalar-app .hljs-name{color:var(--scalar-color-blue)}.scalar-app .hljs-attr,.scalar-app .hljs-attribute{color:var(--scalar-color-1)}.scalar-app .hljs-addition,.scalar-app .hljs-literal,.scalar-app .hljs-selector-tag,.scalar-app .hljs-type{color:var(--scalar-color-green)}.scalar-app .hljs-selector-attr,.scalar-app .hljs-selector-pseudo{color:var(--scalar-color-orange)}.scalar-app .hljs-doctag,.scalar-app .hljs-section,.scalar-app .hljs-title{color:var(--scalar-color-blue)}.scalar-app .hljs-selector-id,.scalar-app .hljs-template-variable,.scalar-app .hljs-variable{color:var(--scalar-color-1)}.scalar-app .hljs-name,.scalar-app .hljs-section,.scalar-app .hljs-strong{font-weight:var(--scalar-semibold)}.scalar-app .hljs-bullet,.scalar-app .hljs-link,.scalar-app .hljs-meta,.scalar-app .hljs-symbol{color:var(--scalar-color-blue)}.scalar-app .hljs-deletion{color:var(--scalar-color-red)}.scalar-app .hljs-formula{background:var(--scalar-color-1)}.scalar-app .hljs-emphasis{font-style:italic}.scalar-app .credential .credential-value{color:#0000;font-size:0}.scalar-app .credential:after{content:"·····";color:var(--scalar-color-3);-webkit-user-select:none;user-select:none}.hljs.language-html{color:var(--scalar-color-1)}.hljs.language-html .hljs-attr{color:var(--scalar-color-2)}.hljs.language-curl .hljs-string{color:var(--scalar-color-blue)}.hljs.language-curl .hljs-literal{color:var(--scalar-color-1)}.hljs.language-php .hljs-variable{color:var(--scalar-color-blue)}.hljs.language-objectivec .hljs-meta{color:var(--scalar-color-1)}.hljs.language-objectivec .hljs-built_in,.hljs-built_in{color:var(--scalar-color-orange)}.scalar-app .markdown{--scalar-refs-heading-spacing:24px;--markdown-border:var(--scalar-border-width)solid var(--scalar-border-color);--markdown-spacing-sm:12px;--markdown-spacing-md:16px;--markdown-line-height:1.625;font-family:var(--scalar-font);word-break:break-word}.scalar-app .markdown>*{margin-bottom:var(--markdown-spacing-md)}.scalar-app .markdown>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):last-child{margin-bottom:0}.scalar-app .markdown h1{--font-size:1.5rem;--markdown-line-height:32px}.scalar-app .markdown h2,.scalar-app .markdown h3{--font-size:1.25rem;--markdown-line-height:1.3}.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{--font-size:1rem}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{font-size:var(--font-size);font-weight:var(--scalar-bold);margin-top:var(--scalar-refs-heading-spacing);margin-bottom:var(--markdown-spacing-sm);scroll-margin-top:1rem;display:block}.scalar-app .markdown b,.scalar-app .markdown strong{font-weight:var(--scalar-bold)}.scalar-app .markdown p{color:inherit;line-height:var(--markdown-line-height);display:block}.scalar-app .markdown img{border-radius:var(--scalar-radius);max-width:100%;display:inline-block;overflow:hidden}.scalar-app .markdown ul,.scalar-app .markdown ol{line-height:var(--markdown-line-height);flex-direction:column;gap:2px;padding-left:1.6em;display:flex}.scalar-app .markdown li{margin-top:2px;padding-left:7px}.scalar-app ol>li::marker{font:var(--scalar-font);font-variant-numeric:tabular-nums;font-weight:var(--scalar-semibold);white-space:nowrap}.scalar-app ol>*>li::marker{font:var(--scalar-font);font-variant-numeric:tabular-nums;font-weight:var(--scalar-semibold);white-space:nowrap}.scalar-app .markdown ol{list-style-type:decimal}.scalar-app .markdown ol ol{list-style-type:lower-alpha}.scalar-app .markdown ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol{list-style-type:decimal}.scalar-app .markdown ol ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol ol{list-style-type:lower-alpha}.scalar-app .markdown ol ol ol,.scalar-app .markdown ol ol ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol ol ol{list-style-type:lower-roman}.scalar-app .markdown ul>li,.scalar-app .markdown ul>*>li{list-style-type:disc}.scalar-app .markdown table{table-layout:fixed;border:var(--scalar-border-width)solid var(--scalar-border-color);border-radius:var(--scalar-radius);border-spacing:0;width:100%;margin:1em 0;display:table;position:relative;overflow-x:auto}.scalar-app .markdown tbody,.scalar-app .markdown thead{vertical-align:middle}.scalar-app .markdown tbody{display:table-row-group}.scalar-app .markdown thead{display:table-header-group}.scalar-app .markdown tr{border-color:inherit;vertical-align:inherit;display:table-row}.scalar-app .markdown td,.scalar-app .markdown th{vertical-align:top;min-width:1em;line-height:var(--markdown-line-height);word-break:break-word;font-size:var(--scalar-small);color:var(--scalar-color-1);border-right:var(--markdown-border);border-bottom:var(--markdown-border);padding:8.5px 16px;display:table-cell;position:relative}.scalar-app .markdown td>*,.scalar-app .markdown th>*{margin-bottom:0}.scalar-app .markdown th:empty{display:none}.scalar-app .markdown td:first-of-type,.scalar-app .markdown th:first-of-type{border-left:none}.scalar-app .markdown td:last-of-type,.scalar-app .markdown th:last-of-type{border-right:none}.scalar-app .markdown tr:last-of-type td{border-bottom:none}.scalar-app .markdown th{font-weight:var(--scalar-bold);text-align:left;background:var(--scalar-background-2);border-left-color:#0000}.scalar-app .markdown th:first-of-type{border-top-left-radius:var(--scalar-radius)}.scalar-app .markdown th:last-of-type{border-top-right-radius:var(--scalar-radius)}.scalar-app .markdown tr>[align=left]{text-align:left}.scalar-app .markdown tr>[align=right]{text-align:right}.scalar-app .markdown tr>[align=center]{text-align:center}.scalar-app .markdown details{border:var(--markdown-border);border-radius:var(--scalar-radius);color:var(--scalar-color-1)}.scalar-app .markdown details>:not(summary){margin:var(--markdown-spacing-md);margin-bottom:0}.scalar-app .markdown details>p:has(>strong):not(:has(:not(strong))){margin-bottom:8px}.scalar-app .markdown details>p:has(>strong):not(:has(:not(strong)))+*{margin-top:0}.scalar-app .markdown details>table{width:calc(100% - calc(var(--markdown-spacing-md)*2))}.scalar-app .markdown summary{min-height:40px;font-weight:var(--scalar-semibold);line-height:var(--markdown-line-height);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:2.5px;align-items:flex-start;gap:8px;padding:7px 14px;display:flex;position:relative}.scalar-app .markdown summary:hover{background-color:var(--scalar-background-2)}.scalar-app .markdown details[open]{padding-bottom:var(--markdown-spacing-md)}.scalar-app .markdown details[open]>summary{border-bottom:var(--markdown-border);border-bottom-right-radius:0;border-bottom-left-radius:0}.scalar-app .markdown summary:before{content:"";width:var(--markdown-spacing-md);height:var(--markdown-spacing-md);background-color:var(--scalar-color-3);flex-shrink:0;margin-top:5px;display:block;-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}.scalar-app .markdown summary:hover:before{background-color:var(--scalar-color-1)}.scalar-app .markdown details[open]>summary:before{transition:transform .1s ease-in-out;transform:rotate(90deg)}.scalar-app .markdown details:has(+details){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0;margin-bottom:0}.scalar-app .markdown details:has(+details)+details,.scalar-app .markdown details:has(+details)+details>summary{border-top-left-radius:0;border-top-right-radius:0}.scalar-app .markdown a{--font-color:var(--scalar-link-color,var(--scalar-color-accent));--font-visited:var(--scalar-link-color-visited,var(--scalar-color-2));-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);color:var(--font-color);font-weight:var(--scalar-link-font-weight,var(--scalar-semibold));text-underline-offset:.25rem;text-decoration-thickness:1px;-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}}.scalar-app .markdown a{-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}.scalar-app .markdown a{-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown a{-webkit-text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent);text-decoration-color:color-mix(in srgb,var(--font-color)30%,transparent)}}}}.scalar-app .markdown a:hover{color:var(--scalar-link-color-hover,var(--scalar-color-accent));-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.scalar-app .markdown a:visited{color:var(--font-visited)}.scalar-app .markdown em{font-style:italic}.scalar-app .markdown sup,.scalar-app .markdown sub{font-size:var(--scalar-micro);font-weight:450}.scalar-app .markdown sup{vertical-align:super}.scalar-app .markdown sub{vertical-align:sub}.scalar-app .markdown del{text-decoration:line-through}.scalar-app .markdown code{font-family:var(--scalar-font-code);background-color:var(--scalar-background-2);box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color);font-size:var(--scalar-micro);border-radius:2px;padding:0 3px}.scalar-app .markdown .hljs{font-size:var(--scalar-small)}.scalar-app .markdown pre code{white-space:pre;padding:var(--markdown-spacing-sm);margin:var(--markdown-spacing-sm)0;-webkit-overflow-scrolling:touch;min-width:100px;max-width:100%;line-height:1.5;display:block;overflow-x:auto}.scalar-app .markdown hr{border:none;border-bottom:var(--markdown-border)}.scalar-app .markdown blockquote{border-left:1px solid var(--scalar-color-1);padding-left:var(--markdown-spacing-md);font-weight:var(--scalar-bold);font-size:var(--scalar-font-size-2);margin:0;display:block}.scalar-app .markdown li.task-list-item{list-style:none;position:relative}.scalar-app .markdown li.task-list-item>input{appearance:none;width:var(--markdown-spacing-md);height:var(--markdown-spacing-md);border:1px solid var(--scalar-color-3);border-radius:var(--scalar-radius);display:inline;position:absolute;top:.225em;left:-1.4em}.scalar-app .markdown li.task-list-item>input[type=checkbox]:checked{background-color:var(--scalar-color-1);border-color:var(--scalar-color-1)}.scalar-app .markdown li.task-list-item>input[type=checkbox]:before{content:"";border:solid var(--scalar-background-1);opacity:0;border-width:0 1.5px 1.5px 0;width:5px;height:10px;position:absolute;top:1px;left:5px;transform:rotate(45deg)}.scalar-app .markdown li.task-list-item>input[type=checkbox]:checked:before{opacity:1}.scalar-app .markdown .markdown-alert{border-radius:var(--scalar-radius);background-color:var(--scalar-background-2);align-items:stretch}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert{background-color:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert{background-color:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert{background-color:color-mix(in srgb,var(--scalar-background-2),transparent)}}}}.scalar-app .markdown .markdown-alert{border:var(--markdown-border);gap:var(--markdown-spacing-sm);padding:10px 14px;display:flex;position:relative}.scalar-app .markdown .markdown-alert .markdown-alert-icon:before{content:"";background-color:currentColor;flex-shrink:0;width:18px;height:18px;margin-top:3px;display:block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:var(--scalar-color-blue)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:var(--scalar-color-blue)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:var(--scalar-color-blue)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:color-mix(in srgb,var(--scalar-color-blue),transparent 97%)}}}}.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width)solid var(--scalar-color-blue)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width)solid var(--scalar-color-blue)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width)solid var(--scalar-color-blue)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-blue),transparent 50%)}}}}.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:var(--scalar-color-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:var(--scalar-color-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:var(--scalar-color-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:color-mix(in srgb,var(--scalar-color-2),transparent 97%)}}}}.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width)solid var(--scalar-color-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width)solid var(--scalar-color-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width)solid var(--scalar-color-2)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-2),transparent 50%)}}}}.scalar-app .markdown .markdown-alert.markdown-alert-note .markdown-alert-icon:before,.scalar-app .markdown .markdown-alert.markdown-alert-tip .markdown-alert-icon:before{color:var(--scalar-color-blue);-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:color-mix(in srgb,var(--scalar-color-orange),transparent 97%)}}}}.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width)solid var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width)solid var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width)solid var(--scalar-color-orange)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-orange),transparent 50%)}}}}.scalar-app .markdown .markdown-alert.markdown-alert-important .markdown-alert-icon:before,.scalar-app .markdown .markdown-alert.markdown-alert-warning .markdown-alert-icon:before{-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:color-mix(in srgb,var(--scalar-color-red),transparent 97%)}}}}.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width)solid var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width)solid var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width)solid var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-red),transparent 50%)}}}}.scalar-app .markdown .markdown-alert.markdown-alert-caution .markdown-alert-icon:before{color:var(--scalar-color-red);-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:var(--scalar-color-green)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:var(--scalar-color-green)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:var(--scalar-color-green)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:color-mix(in srgb,var(--scalar-color-green),transparent 97%)}}}}.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width)solid var(--scalar-color-green)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width)solid var(--scalar-color-green)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width)solid var(--scalar-color-green)}@supports (color:color-mix(in lab,red,red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width)solid color-mix(in srgb,var(--scalar-color-green),transparent 50%)}}}}.scalar-app .markdown .markdown-alert.markdown-alert-success .markdown-alert-icon:before{color:var(--scalar-color-green);-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}.scalar-app .markdown .markdown-alert.markdown-alert-note .markdown-alert-icon:before{color:var(--scalar-color-blue)}.scalar-app .markdown .markdown-alert.markdown-alert-tip .markdown-alert-icon:before{color:var(--scalar-color-2)}.scalar-app .markdown .markdown-alert.markdown-alert-important .markdown-alert-icon:before{color:var(--scalar-color-purple)}.scalar-app .markdown .markdown-alert.markdown-alert-warning .markdown-alert-icon:before{color:var(--scalar-color-orange)}.scalar-app .markdown .markdown-alert .markdown-alert-content{line-height:var(--markdown-line-height);margin:0}.scalar-app .markdown.markdown-summary.markdown-summary :before,.scalar-app .markdown.markdown-summary.markdown-summary :after{content:none}.scalar-app .markdown.markdown-summary.markdown-summary :not(strong,em,a){font-size:inherit;font-weight:inherit;line-height:var(--markdown-line-height);display:contents}.scalar-app .markdown.markdown-summary.markdown-summary img,.scalar-app .markdown.markdown-summary.markdown-summary svg,.scalar-app .markdown.markdown-summary.markdown-summary hr,.scalar-app .markdown.markdown-summary.markdown-summary pre{display:none}.dark-mode .scalar-dropdown-item[data-v-7e7bf818]:hover{filter:brightness(1.1)}.group\\/item>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-3e080c68]{inset-block:-1px}.group\\/item:first-child>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-3e080c68]{top:0}.group\\/item:last-child>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-3e080c68]{bottom:0}.group\\/items.-translate-x-full .group\\/button{transition-behavior:allow-discrete;max-height:0;transition-property:display,max-height;transition-duration:0s;transition-delay:.3s;display:none}.group\\/item.group\\/nested-items-open>*>.group\\/items.translate-x-0 .group\\/button{max-height:3.40282e38px;display:flex}.group\\/sidebar-section:first-of-type>.group\\/spacer-before,.group\\/sidebar-section:last-of-type>.group\\/spacer-after{height:0}.group\\/sidebar-section:has(+.group\\/sidebar-section)>.group\\/spacer-after{height:0;margin-bottom:-1px}:where(body)>.scalar-tooltip{--scalar-tooltip-padding:8px;padding:calc(var(--scalar-tooltip-padding) + var(--scalar-tooltip-offset));z-index:99999;max-width:320px;font-size:var(--scalar-font-size-5);--tw-leading:var(--scalar-line-height-5);line-height:var(--scalar-line-height-5);--tw-font-weight:var(--scalar-semibold);font-weight:var(--scalar-semibold);overflow-wrap:break-word;color:var(--scalar-tooltip-color)}:where(body)>.scalar-tooltip:before{content:"";inset:var(--scalar-tooltip-offset);z-index:-1;border-radius:var(--scalar-radius);background-color:var(--scalar-tooltip-background);--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);position:absolute}:where(body.dark-mode)>.scalar-tooltip:before{--tw-shadow:inset 0 0 0 var(--tw-shadow-color,calc(var(--scalar-border-width)*2))var(--scalar-border-color);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark-mode .scalar-dropdown-item[data-v-788cdfbc]:hover{filter:brightness(1.1)}.scalar-modal-layout[data-v-1319c63c]{animation:.3s ease-in-out forwards fadein-layout-1319c63c}.scalar-modal[data-v-1319c63c]{box-shadow:var(--scalar-shadow-2);animation:.3s ease-in-out .1s forwards fadein-modal-1319c63c;transform:translateY(10px)}.scalar-modal-layout-full[data-v-1319c63c]{opacity:1!important;background:0 0!important}.modal-content-search .modal-body[data-v-1319c63c]{flex-direction:column;max-height:440px;padding:0;display:flex;overflow:hidden}@media (max-width:720px) and (max-height:480px){.scalar-modal-layout .scalar-modal[data-v-1319c63c]{max-height:90svh;margin-top:5svh}}.full-size-styles[data-v-1319c63c]{margin:initial;border-right:var(--scalar-border-width)solid var(--scalar-border-color);animation:.3s ease-in-out forwards fadein-layout-1319c63c;left:0;transform:translate(0);background-color:var(--scalar-background-1)!important;max-height:100%!important;box-shadow:none!important;border-radius:0!important;position:absolute!important;top:0!important}@media (min-width:800px){.full-size-styles[data-v-1319c63c]{width:50dvw!important}}.full-size-styles[data-v-1319c63c]:after{content:"";width:50dvw;height:100dvh;position:absolute;top:0;right:-50dvw}.sidebar-heading-type[data-v-1857170e]{text-transform:uppercase;color:var(--method-color,var(--scalar-color-1));font-size:10px;line-height:14px;font-weight:var(--scalar-bold);font-family:var(--scalar-font-code);white-space:nowrap;flex-shrink:0;align-items:center;gap:4px;display:inline-flex;overflow:hidden}.scalar-app .pointer-events-auto{pointer-events:auto}.scalar-app .pointer-events-none{pointer-events:none}.scalar-app .collapse{visibility:collapse}.scalar-app .visible{visibility:visible}.scalar-app .floating-bg:before{background-color:var(--scalar-background-2);border-radius:var(--scalar-radius);content:"";opacity:0;z-index:1;width:calc(100% + 8px);height:calc(100% - 4px);transition:opacity .2s ease-in-out;position:absolute;top:2.5px;left:-4px}.scalar-app .floating-bg:hover:before{opacity:1}.scalar-app .centered{--tw-translate-y:-50%;--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute;top:50%;left:50%}.scalar-app .centered-y{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute;top:50%}.scalar-app .centered-x{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute;left:50%}.scalar-app .sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.scalar-app .absolute{position:absolute}.scalar-app .fixed{position:fixed}.scalar-app .relative{position:relative}.scalar-app .static{position:static}.scalar-app .sticky{position:sticky}.scalar-app .inset-0{inset:0}.scalar-app .inset-x-0{inset-inline:0}.scalar-app .inset-x-1{inset-inline:4px}.scalar-app .-top-\\(--scalar-address-bar-height\\){top:calc(var(--scalar-address-bar-height)*-1)}.scalar-app .-top-\\[104px\\]{top:-104px}.scalar-app .top-0{top:0}.scalar-app .top-2{top:8px}.scalar-app .top-12{top:48px}.scalar-app .top-\\[calc\\(100\\%\\+4px\\)\\]{top:calc(100% + 4px)}.scalar-app .-right-\\[30px\\]{right:-30px}.scalar-app .right-0{right:0}.scalar-app .right-1{right:4px}.scalar-app .right-1\\.5{right:6px}.scalar-app .right-1\\/2{right:50%}.scalar-app .right-2{right:8px}.scalar-app .right-4{right:16px}.scalar-app .right-7{right:28px}.scalar-app .right-14{right:56px}.scalar-app .right-16{right:64px}.scalar-app .bottom-0{bottom:0}.scalar-app .bottom-1{bottom:4px}.scalar-app .bottom-1\\/2{bottom:50%}.scalar-app .bottom-\\[var\\(--scalar-border-width\\)\\]{bottom:var(--scalar-border-width)}.scalar-app .left-0{left:0}.scalar-app .left-1\\/2{left:50%}.scalar-app .left-3{left:12px}.scalar-app .-z-1{z-index:-1}.scalar-app .z-0{z-index:0}.scalar-app .z-1{z-index:1}.scalar-app .z-10{z-index:10}.scalar-app .z-20{z-index:20}.scalar-app .z-50{z-index:50}.scalar-app .z-\\[1\\]{z-index:1}.scalar-app .z-\\[1002\\]{z-index:1002}.scalar-app .z-context{z-index:1000}.scalar-app .z-context-plus{z-index:1001}.scalar-app .z-overlay{z-index:10000}.scalar-app .order-last{order:9999}.scalar-app .col-span-full{grid-column:1/-1}.scalar-app .container{width:100%}@media (min-width:400px){.scalar-app .container{max-width:400px}}@media (min-width:600px){.scalar-app .container{max-width:600px}}@media (min-width:800px){.scalar-app .container{max-width:800px}}@media (min-width:1000px){.scalar-app .container{max-width:1000px}}@media (min-width:1200px){.scalar-app .container{max-width:1200px}}@media (min-width:96rem){.scalar-app .container{max-width:96rem}}.scalar-app .\\!m-0{margin:0!important}.scalar-app .-m-0\\.5{margin:-2px}.scalar-app .m-0{margin:0}.scalar-app .m-4{margin:16px}.scalar-app .m-auto{margin:auto}.scalar-app .m-header{margin:48px}.scalar-app .-mx-0\\.25{margin-inline:-1px}.scalar-app .mx-auto{margin-inline:auto}.scalar-app .-my-1{margin-block:-4px}.scalar-app .my-12{margin-block:48px}.scalar-app .-mt-\\[\\.5px\\]{margin-top:-.5px}.scalar-app .mt-0\\.25{margin-top:1px}.scalar-app .mt-1{margin-top:4px}.scalar-app .mt-1\\.5{margin-top:6px}.scalar-app .mt-2{margin-top:8px}.scalar-app .mt-3{margin-top:12px}.scalar-app .mt-5{margin-top:20px}.scalar-app .mt-10{margin-top:40px}.scalar-app .mt-\\[0\\.5px\\]{margin-top:.5px}.scalar-app .mt-auto{margin-top:auto}.scalar-app .\\!mr-0{margin-right:0!important}.scalar-app .-mr-0\\.5{margin-right:-2px}.scalar-app .-mr-1{margin-right:-4px}.scalar-app .-mr-1\\.5{margin-right:-6px}.scalar-app .-mr-3{margin-right:-12px}.scalar-app .mr-0\\.5{margin-right:2px}.scalar-app .mr-0\\.75{margin-right:3px}.scalar-app .mr-1{margin-right:4px}.scalar-app .mr-1\\.5{margin-right:6px}.scalar-app .mr-1\\.25{margin-right:5px}.scalar-app .mr-2{margin-right:8px}.scalar-app .mr-2\\.5{margin-right:10px}.scalar-app .mr-3{margin-right:12px}.scalar-app .mr-\\[6\\.25px\\]{margin-right:6.25px}.scalar-app .mr-auto{margin-right:auto}.scalar-app .\\!mb-0{margin-bottom:0!important}.scalar-app .-mb-\\[var\\(--scalar-border-width\\)\\]{margin-bottom:calc(var(--scalar-border-width)*-1)}.scalar-app .mb-0{margin-bottom:0}.scalar-app .mb-1{margin-bottom:4px}.scalar-app .mb-1\\.5{margin-bottom:6px}.scalar-app .mb-2{margin-bottom:8px}.scalar-app .mb-4{margin-bottom:16px}.scalar-app .mb-\\[\\.5px\\]{margin-bottom:.5px}.scalar-app .-ml-0\\.5{margin-left:-2px}.scalar-app .-ml-0\\.25{margin-left:-1px}.scalar-app .-ml-1{margin-left:-4px}.scalar-app .-ml-2{margin-left:-8px}.scalar-app .-ml-12{margin-left:-48px}.scalar-app .ml-0\\.5{margin-left:2px}.scalar-app .ml-0\\.75{margin-left:3px}.scalar-app .ml-1{margin-left:4px}.scalar-app .ml-1\\.25{margin-left:5px}.scalar-app .ml-3{margin-left:12px}.scalar-app .ml-auto{margin-left:auto}.scalar-app .box-border{box-sizing:border-box}.scalar-app .box-content{box-sizing:content-box}.scalar-app .flex-center{justify-content:center;align-items:center;display:flex}.scalar-app .line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.scalar-app .\\!block{display:block!important}.scalar-app .\\!flex{display:flex!important}.scalar-app .block{display:block}.scalar-app .contents{display:contents}.scalar-app .flex{display:flex}.scalar-app .grid{display:grid}.scalar-app .hidden{display:none}.scalar-app .inline{display:inline}.scalar-app .inline-block{display:inline-block}.scalar-app .inline-flex{display:inline-flex}.scalar-app .table{display:table}.scalar-app .aspect-\\[4\\/3\\]{aspect-ratio:4/3}.scalar-app .aspect-square{aspect-ratio:1}.scalar-app .size-2\\.5{width:10px;height:10px}.scalar-app .size-3{width:12px;height:12px}.scalar-app .size-3\\.5{width:14px;height:14px}.scalar-app .size-3\\/4{width:75%;height:75%}.scalar-app .size-4{width:16px;height:16px}.scalar-app .size-5{width:20px;height:20px}.scalar-app .size-6{width:24px;height:24px}.scalar-app .size-7{width:28px;height:28px}.scalar-app .size-8{width:32px;height:32px}.scalar-app .size-10{width:40px;height:40px}.scalar-app .size-full{width:100%;height:100%}.scalar-app .h-\\(--scalar-address-bar-height\\){height:var(--scalar-address-bar-height)}.scalar-app .h-1\\.5{height:6px}.scalar-app .h-2\\.5{height:10px}.scalar-app .h-2\\.25{height:9px}.scalar-app .h-3{height:12px}.scalar-app .h-3\\.5{height:14px}.scalar-app .h-4{height:16px}.scalar-app .h-5{height:20px}.scalar-app .h-6{height:24px}.scalar-app .h-7{height:28px}.scalar-app .h-8{height:32px}.scalar-app .h-9{height:36px}.scalar-app .h-10{height:40px}.scalar-app .h-12{height:48px}.scalar-app .h-16{height:64px}.scalar-app .h-64{height:256px}.scalar-app .h-\\[68px\\]{height:68px}.scalar-app .h-\\[calc\\(100\\%-273\\.5px\\)\\]{height:calc(100% - 273.5px)}.scalar-app .h-\\[calc\\(100\\%_-_50px\\)\\]{height:calc(100% - 50px)}.scalar-app .h-auto{height:auto}.scalar-app .h-fit{height:fit-content}.scalar-app .h-full{height:100%}.scalar-app .h-header{height:48px}.scalar-app .h-min{height:min-content}.scalar-app .h-px{height:1px}.scalar-app .h-screen{height:100vh}.scalar-app .\\!max-h-\\[initial\\]{max-height:initial!important}.scalar-app .max-h-8{max-height:32px}.scalar-app .max-h-40{max-height:160px}.scalar-app .max-h-80{max-height:320px}.scalar-app .max-h-\\[40dvh\\]{max-height:40dvh}.scalar-app .max-h-\\[50dvh\\]{max-height:50dvh}.scalar-app .max-h-\\[60svh\\]{max-height:60svh}.scalar-app .max-h-\\[auto\\]{max-height:auto}.scalar-app .max-h-\\[calc\\(100\\%-32px\\)\\]{max-height:calc(100% - 32px)}.scalar-app .max-h-\\[inherit\\]{max-height:inherit}.scalar-app .max-h-fit{max-height:fit-content}.scalar-app .max-h-screen{max-height:100vh}.scalar-app .\\!min-h-full{min-height:100%!important}.scalar-app .min-h-0{min-height:0}.scalar-app .min-h-8{min-height:32px}.scalar-app .min-h-10{min-height:40px}.scalar-app .min-h-11{min-height:44px}.scalar-app .min-h-12{min-height:48px}.scalar-app .min-h-16{min-height:64px}.scalar-app .min-h-20{min-height:80px}.scalar-app .min-h-\\[65px\\]{min-height:65px}.scalar-app .min-h-\\[calc\\(1rem\\*4\\)\\]{min-height:4rem}.scalar-app .min-h-\\[calc\\(4rem\\+0\\.5px\\)\\]{min-height:calc(4rem + .5px)}.scalar-app .min-h-\\[calc\\(4rem\\+1px\\)\\]{min-height:calc(4rem + 1px)}.scalar-app .min-h-fit{min-height:fit-content}.scalar-app .\\!w-fit{width:fit-content!important}.scalar-app .w-0\\.5{width:2px}.scalar-app .w-1\\.5{width:6px}.scalar-app .w-1\\/2{width:50%}.scalar-app .w-2\\.5{width:10px}.scalar-app .w-2\\.25{width:9px}.scalar-app .w-3{width:12px}.scalar-app .w-3\\.5{width:14px}.scalar-app .w-4{width:16px}.scalar-app .w-5{width:20px}.scalar-app .w-6{width:24px}.scalar-app .w-7{width:28px}.scalar-app .w-8{width:32px}.scalar-app .w-10{width:40px}.scalar-app .w-16{width:64px}.scalar-app .w-20{width:80px}.scalar-app .w-56{width:224px}.scalar-app .w-64{width:256px}.scalar-app .w-72{width:288px}.scalar-app .w-\\[60px\\]{width:60px}.scalar-app .w-\\[100px\\]{width:100px}.scalar-app .w-\\[150px\\]{width:150px}.scalar-app .w-\\[calc\\(100\\%-10px\\)\\]{width:calc(100% - 10px)}.scalar-app .w-\\[calc\\(100\\%_-_8px\\)\\]{width:calc(100% - 8px)}.scalar-app .w-\\[inherit\\]{width:inherit}.scalar-app .w-auto{width:auto}.scalar-app .w-dvw{width:100dvw}.scalar-app .w-fit{width:fit-content}.scalar-app .w-full{width:100%}.scalar-app .w-max{width:max-content}.scalar-app .max-w-8{max-width:32px}.scalar-app .max-w-40{max-width:160px}.scalar-app .max-w-\\[14px\\]{max-width:14px}.scalar-app .max-w-\\[37px\\]{max-width:37px}.scalar-app .max-w-\\[100\\%\\]{max-width:100%}.scalar-app .max-w-\\[150px\\]{max-width:150px}.scalar-app .max-w-\\[380px\\]{max-width:380px}.scalar-app .max-w-\\[420px\\]{max-width:420px}.scalar-app .max-w-\\[720px\\]{max-width:720px}.scalar-app .max-w-\\[calc\\(100dvw-24px\\)\\]{max-width:calc(100dvw - 24px)}.scalar-app .max-w-full{max-width:100%}.scalar-app .min-w-0{min-width:0}.scalar-app .min-w-2\\.25{min-width:9px}.scalar-app .min-w-3\\.5{min-width:14px}.scalar-app .min-w-4{min-width:16px}.scalar-app .min-w-8{min-width:32px}.scalar-app .min-w-32{min-width:128px}.scalar-app .min-w-48{min-width:192px}.scalar-app .min-w-\\[37px\\]{min-width:37px}.scalar-app .min-w-\\[100px\\]{min-width:100px}.scalar-app .min-w-\\[150px\\]{min-width:150px}.scalar-app .min-w-\\[296px\\]{min-width:296px}.scalar-app .min-w-fit{min-width:fit-content}.scalar-app .min-w-full{min-width:100%}.scalar-app .flex-1{flex:1}.scalar-app .flex-shrink{flex-shrink:1}.scalar-app .shrink-0{flex-shrink:0}.scalar-app .flex-grow{flex-grow:1}.scalar-app .-translate-x-1\\/2{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-x-1\\/2{--tw-translate-x:50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .translate-y-1\\/2{--tw-translate-y:50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scalar-app .rotate-90{rotate:90deg}.scalar-app .transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.scalar-app .cursor-auto{cursor:auto}.scalar-app .cursor-default{cursor:default}.scalar-app .cursor-grab{cursor:grab}.scalar-app .cursor-help{cursor:help}.scalar-app .cursor-not-allowed{cursor:not-allowed}.scalar-app .cursor-pointer{cursor:pointer}.scalar-app .cursor-text{cursor:text}.scalar-app .resize{resize:both}.scalar-app .resize-none{resize:none}.scalar-app .auto-rows-\\[32px\\]{grid-auto-rows:32px}.scalar-app .auto-rows-auto{grid-auto-rows:auto}.scalar-app .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.scalar-app .grid-cols-\\[44px_1fr_repeat\\(3\\,auto\\)\\]{grid-template-columns:44px 1fr repeat(3,auto)}.scalar-app .grid-cols-\\[auto_1fr\\]{grid-template-columns:auto 1fr}.scalar-app .grid-cols-\\[repeat\\(auto-fill\\,minmax\\(32px\\,1fr\\)\\)\\]{grid-template-columns:repeat(auto-fill,minmax(32px,1fr))}.scalar-app .flex-col{flex-direction:column}.scalar-app .flex-row{flex-direction:row}.scalar-app .flex-wrap{flex-wrap:wrap}.scalar-app .content-between{align-content:space-between}.scalar-app .content-start{align-content:flex-start}.scalar-app .items-center{align-items:center}.scalar-app .items-end{align-items:flex-end}.scalar-app .items-start{align-items:flex-start}.scalar-app .items-stretch{align-items:stretch}.scalar-app .justify-between{justify-content:space-between}.scalar-app .justify-center{justify-content:center}.scalar-app .justify-end{justify-content:flex-end}.scalar-app .justify-start{justify-content:flex-start}.scalar-app .justify-stretch{justify-content:stretch}.scalar-app .\\!gap-2{gap:8px!important}.scalar-app .gap-0\\.5{gap:2px}.scalar-app .gap-0\\.75{gap:3px}.scalar-app .gap-1{gap:4px}.scalar-app .gap-1\\.5{gap:6px}.scalar-app .gap-1\\.75{gap:7px}.scalar-app .gap-2{gap:8px}.scalar-app .gap-2\\.5{gap:10px}.scalar-app .gap-3{gap:12px}.scalar-app .gap-4{gap:16px}.scalar-app .gap-6{gap:24px}.scalar-app .gap-8{gap:32px}.scalar-app .gap-10{gap:40px}.scalar-app .gap-12{gap:48px}.scalar-app .gap-\\[1\\.5px\\]{gap:1.5px}.scalar-app .gap-px{gap:1px}.scalar-app .gap-x-2\\.5{column-gap:10px}:where(.scalar-app .space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(4px*var(--tw-space-x-reverse));margin-inline-end:calc(4px*calc(1 - var(--tw-space-x-reverse)))}:where(.scalar-app .divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(var(--scalar-border-width)*var(--tw-divide-y-reverse));border-bottom-width:calc(var(--scalar-border-width)*calc(1 - var(--tw-divide-y-reverse)))}.scalar-app .self-center{align-self:center}.scalar-app .truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scalar-app .overflow-auto{overflow:auto}.scalar-app .overflow-hidden{overflow:hidden}.scalar-app .overflow-visible{overflow:visible}.scalar-app .overflow-x-auto{overflow-x:auto}.scalar-app .overflow-y-auto{overflow-y:auto}.scalar-app .overflow-y-hidden{overflow-y:hidden}.scalar-app .\\!rounded-none{border-radius:0!important}.scalar-app .rounded{border-radius:var(--scalar-radius)}.scalar-app .rounded-\\[10px\\]{border-radius:10px}.scalar-app .rounded-full{border-radius:9999px}.scalar-app .rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-app .rounded-md{border-radius:var(--scalar-radius)}.scalar-app .rounded-px{border-radius:1px}.scalar-app .rounded-xl{border-radius:var(--scalar-radius-xl)}.scalar-app .rounded-t{border-top-left-radius:var(--scalar-radius);border-top-right-radius:var(--scalar-radius)}.scalar-app .rounded-t-lg{border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg)}.scalar-app .rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.scalar-app .rounded-b{border-bottom-right-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}.scalar-app .rounded-b-lg{border-bottom-right-radius:var(--scalar-radius-lg);border-bottom-left-radius:var(--scalar-radius-lg)}.scalar-app .\\!border-0{border-style:var(--tw-border-style)!important;border-width:0!important}.scalar-app .border{border-style:var(--tw-border-style);border-width:var(--scalar-border-width)}.scalar-app .border-0{border-style:var(--tw-border-style);border-width:0}.scalar-app .border-\\[1\\.5px\\]{border-style:var(--tw-border-style);border-width:1.5px}.scalar-app .border-\\[1px\\]{border-style:var(--tw-border-style);border-width:1px}.scalar-app .border-x{border-inline-style:var(--tw-border-style);border-inline-width:var(--scalar-border-width)}.scalar-app .border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.scalar-app .border-y{border-block-style:var(--tw-border-style);border-block-width:var(--scalar-border-width)}.scalar-app .border-t{border-top-style:var(--tw-border-style);border-top-width:var(--scalar-border-width)}.scalar-app .border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.scalar-app .\\!border-r{border-right-style:var(--tw-border-style)!important;border-right-width:var(--scalar-border-width)!important}.scalar-app .border-r{border-right-style:var(--tw-border-style);border-right-width:var(--scalar-border-width)}.scalar-app .border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.scalar-app .border-r-1{border-right-style:var(--tw-border-style);border-right-width:1px}.scalar-app .border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:var(--scalar-border-width)}.scalar-app .border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .border-b-\\[1px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.scalar-app .border-l{border-left-style:var(--tw-border-style);border-left-width:var(--scalar-border-width)}.scalar-app .border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.scalar-app .\\!border-none{--tw-border-style:none!important;border-style:none!important}.scalar-app .border-dashed{--tw-border-style:dashed;border-style:dashed}.scalar-app .border-none{--tw-border-style:none;border-style:none}.scalar-app .\\!border-current{border-color:currentColor!important}.scalar-app .border-c-1{border-color:var(--scalar-color-1)}.scalar-app .border-c-3{border-color:var(--scalar-color-3)}.scalar-app .border-c-danger{border-color:var(--scalar-color-danger)}.scalar-app .border-transparent{border-color:#0000}.scalar-app .border-r-transparent{border-right-color:#0000}.scalar-app .bg-b-1{background-color:var(--scalar-background-1)}.scalar-app .bg-b-2{background-color:var(--scalar-background-2)}.scalar-app .bg-b-3{background-color:var(--scalar-background-3)}.scalar-app .bg-b-danger{background-color:var(--scalar-background-danger)}.scalar-app .bg-c-3\\/5{background-color:var(--scalar-color-3)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-c-3\\/5{background-color:var(--scalar-color-3)}@supports (color:color-mix(in lab,red,red)){.scalar-app .bg-c-3\\/5{background-color:color-mix(in oklab,var(--scalar-color-3)5%,transparent)}}}.scalar-app .bg-c-accent{background-color:var(--scalar-color-accent)}.scalar-app .bg-current{background-color:currentColor}.scalar-app .bg-grey{background-color:var(--scalar-color-3)}.scalar-app .bg-sidebar-b-1{background-color:var(--scalar-sidebar-background-1,var(--scalar-background-1))}.scalar-app .bg-sidebar-b-active{background-color:var(--scalar-sidebar-item-active-background,var(--scalar-background-2))}.scalar-app .bg-none{background-image:none}.scalar-app .fill-current{fill:currentColor}.scalar-app .stroke-2{stroke-width:2px}.scalar-app .stroke-\\[1\\.5\\]{stroke-width:1.5px}.scalar-app .stroke-\\[1\\.75\\]{stroke-width:1.75px}.scalar-app .stroke-\\[2\\.25\\]{stroke-width:2.25px}.scalar-app .object-contain{object-fit:contain}.scalar-app .\\!p-0{padding:0!important}.scalar-app .p-0{padding:0}.scalar-app .p-0\\.5{padding:2px}.scalar-app .p-0\\.75{padding:3px}.scalar-app .p-1{padding:4px}.scalar-app .p-1\\.5{padding:6px}.scalar-app .p-1\\.25{padding:5px}.scalar-app .p-1\\.75{padding:7px}.scalar-app .p-2{padding:8px}.scalar-app .p-3{padding:12px}.scalar-app .p-4{padding:16px}.scalar-app .p-\\[3px\\]{padding:3px}.scalar-app .p-\\[5px\\]{padding:5px}.scalar-app .p-px{padding:1px}.scalar-app .\\!px-3{padding-inline:12px!important}.scalar-app .px-0{padding-inline:0}.scalar-app .px-0\\.5{padding-inline:2px}.scalar-app .px-0\\.75{padding-inline:3px}.scalar-app .px-1{padding-inline:4px}.scalar-app .px-1\\.5{padding-inline:6px}.scalar-app .px-1\\.25{padding-inline:5px}.scalar-app .px-2{padding-inline:8px}.scalar-app .px-2\\.5{padding-inline:10px}.scalar-app .px-3{padding-inline:12px}.scalar-app .px-4{padding-inline:16px}.scalar-app .px-5{padding-inline:20px}.scalar-app .px-6{padding-inline:24px}.scalar-app .px-8{padding-inline:32px}.scalar-app .\\!py-1\\.5{padding-block:6px!important}.scalar-app .py-0{padding-block:0}.scalar-app .py-0\\.5{padding-block:2px}.scalar-app .py-0\\.25{padding-block:1px}.scalar-app .py-0\\.75{padding-block:3px}.scalar-app .py-1{padding-block:4px}.scalar-app .py-1\\.5{padding-block:6px}.scalar-app .py-1\\.25{padding-block:5px}.scalar-app .py-1\\.75{padding-block:7px}.scalar-app .py-2{padding-block:8px}.scalar-app .py-2\\.5{padding-block:10px}.scalar-app .py-3{padding-block:12px}.scalar-app .py-5{padding-block:20px}.scalar-app .py-8{padding-block:32px}.scalar-app .py-px{padding-block:1px}.scalar-app .\\!pt-0{padding-top:0!important}.scalar-app .pt-0{padding-top:0}.scalar-app .pt-2{padding-top:8px}.scalar-app .pt-3{padding-top:12px}.scalar-app .pt-4{padding-top:16px}.scalar-app .pt-6{padding-top:24px}.scalar-app .pt-8{padding-top:32px}.scalar-app .pt-px{padding-top:1px}.scalar-app .pr-0{padding-right:0}.scalar-app .pr-0\\.75{padding-right:3px}.scalar-app .pr-1{padding-right:4px}.scalar-app .pr-1\\.5{padding-right:6px}.scalar-app .pr-2{padding-right:8px}.scalar-app .pr-2\\.5{padding-right:10px}.scalar-app .pr-2\\.25{padding-right:9px}.scalar-app .pr-3{padding-right:12px}.scalar-app .pr-6{padding-right:24px}.scalar-app .pr-8{padding-right:32px}.scalar-app .pr-9{padding-right:36px}.scalar-app .pr-10{padding-right:40px}.scalar-app .pr-12{padding-right:48px}.scalar-app .pr-\\[26px\\]{padding-right:26px}.scalar-app .pb-0{padding-bottom:0}.scalar-app .pb-1\\.5{padding-bottom:6px}.scalar-app .pb-2{padding-bottom:8px}.scalar-app .pb-3{padding-bottom:12px}.scalar-app .pb-5{padding-bottom:20px}.scalar-app .pb-6{padding-bottom:24px}.scalar-app .pb-8{padding-bottom:32px}.scalar-app .pb-14{padding-bottom:56px}.scalar-app .pb-\\[75px\\]{padding-bottom:75px}.scalar-app .\\!pl-3{padding-left:12px!important}.scalar-app .pl-1{padding-left:4px}.scalar-app .pl-1\\.5{padding-left:6px}.scalar-app .pl-1\\.25{padding-left:5px}.scalar-app .pl-2{padding-left:8px}.scalar-app .pl-3{padding-left:12px}.scalar-app .pl-5{padding-left:20px}.scalar-app .pl-6{padding-left:24px}.scalar-app .pl-8\\.5{padding-left:34px}.scalar-app .pl-9{padding-left:36px}.scalar-app .pl-12{padding-left:48px}.scalar-app .pl-px{padding-left:1px}.scalar-app .text-center{text-align:center}.scalar-app .text-left{text-align:left}.scalar-app .text-right{text-align:right}.scalar-app .font-code{font-family:var(--scalar-font-code)}.scalar-app .font-sans{font-family:var(--scalar-font)}.scalar-app .text-3xs{font-size:var(--scalar-font-size-7)}.scalar-app .text-\\[6px\\]{font-size:6px}.scalar-app .text-\\[11px\\]{font-size:11px}.scalar-app .text-\\[21px\\]{font-size:21px}.scalar-app .text-base{font-size:var(--scalar-font-size-3)}.scalar-app .text-sm{font-size:var(--scalar-font-size-4)}.scalar-app .text-xl{font-size:var(--scalar-font-size-1)}.scalar-app .text-xs{font-size:var(--scalar-font-size-5)}.scalar-app .text-xxs{font-size:var(--scalar-font-size-6)}.scalar-app .\\!leading-\\[6px\\]{--tw-leading:6px!important;line-height:6px!important}.scalar-app .leading-2{--tw-leading:var(--scalar-line-height-2);line-height:var(--scalar-line-height-2)}.scalar-app .leading-3{--tw-leading:var(--scalar-line-height-3);line-height:var(--scalar-line-height-3)}.scalar-app .leading-\\[1\\.44\\]{--tw-leading:1.44;line-height:1.44}.scalar-app .leading-\\[7px\\]{--tw-leading:7px;line-height:7px}.scalar-app .leading-\\[20px\\]{--tw-leading:20px;line-height:20px}.scalar-app .leading-\\[21px\\]{--tw-leading:21px;line-height:21px}.scalar-app .leading-\\[22px\\]{--tw-leading:22px;line-height:22px}.scalar-app .leading-\\[normal\\]{--tw-leading:normal;line-height:normal}.scalar-app .leading-none{--tw-leading:1;line-height:1}.scalar-app .leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.scalar-app .leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.scalar-app .font-bold{--tw-font-weight:var(--scalar-bold);font-weight:var(--scalar-bold)}.scalar-app .font-medium{--tw-font-weight:var(--scalar-semibold);font-weight:var(--scalar-semibold)}.scalar-app .font-normal{--tw-font-weight:var(--scalar-regular);font-weight:var(--scalar-regular)}.scalar-app .text-balance{text-wrap:balance}.scalar-app .text-pretty{text-wrap:pretty}.scalar-app .break-words{overflow-wrap:break-word}.scalar-app .break-all{word-break:break-all}.scalar-app .text-ellipsis{text-overflow:ellipsis}.scalar-app .whitespace-nowrap{white-space:nowrap}.scalar-app .whitespace-pre{white-space:pre}.scalar-app .whitespace-pre-wrap{white-space:pre-wrap}.scalar-app .\\!text-c-1{color:var(--scalar-color-1)!important}.scalar-app .text-b-1{color:var(--scalar-background-1)}.scalar-app .text-blue{color:var(--scalar-color-blue)}.scalar-app .text-border{color:var(--scalar-border-color)}.scalar-app .text-c-1{color:var(--scalar-color-1)}.scalar-app .text-c-2{color:var(--scalar-color-2)}.scalar-app .text-c-3{color:var(--scalar-color-3)}.scalar-app .text-c-btn{color:var(--scalar-button-1-color)}.scalar-app .text-c-danger{color:var(--scalar-color-danger)}.scalar-app .text-green{color:var(--scalar-color-green)}.scalar-app .text-grey{color:var(--scalar-color-3)}.scalar-app .text-orange{color:var(--scalar-color-orange)}.scalar-app .text-purple{color:var(--scalar-color-purple)}.scalar-app .text-red{color:var(--scalar-color-red)}.scalar-app .text-sidebar-c-2{color:var(--scalar-sidebar-color-2,var(--scalar-color-2))}.scalar-app .text-sidebar-c-active{color:var(--scalar-sidebar-color-active,var(--scalar-sidebar-color-1))}.scalar-app .text-transparent{color:#0000}.scalar-app .text-yellow{color:var(--scalar-color-yellow)}.scalar-app .capitalize{text-transform:capitalize}.scalar-app .lowercase{text-transform:lowercase}.scalar-app .uppercase{text-transform:uppercase}.scalar-app .no-underline{text-decoration-line:none}.scalar-app .underline{text-decoration-line:underline}.scalar-app .decoration-c-3{-webkit-text-decoration-color:var(--scalar-color-3);text-decoration-color:var(--scalar-color-3)}.scalar-app .underline-offset-2{text-underline-offset:2px}.scalar-app .opacity-0{opacity:0}.scalar-app .opacity-50{opacity:.5}.scalar-app .opacity-100{opacity:1}.scalar-app .bg-blend-normal{background-blend-mode:normal}.scalar-app .mix-blend-luminosity{mix-blend-mode:luminosity}.scalar-app .shadow{--tw-shadow:var(--scalar-shadow-1);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.scalar-app .shadow-\\[-8px_0_4px_var\\(--scalar-background-1\\)\\]{--tw-shadow:-8px 0 4px var(--tw-shadow-color,var(--scalar-background-1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.scalar-app .shadow-\\[0_-8px_0_8px_var\\(--scalar-background-1\\)\\,0_0_8px_8px_var\\(--scalar-background-1\\)\\]{--tw-shadow:0 -8px 0 8px var(--tw-shadow-color,var(--scalar-background-1)),0 0 8px 8px var(--tw-shadow-color,var(--scalar-background-1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.scalar-app .shadow-border{--tw-shadow:inset 0 0 0 var(--tw-shadow-color,calc(var(--scalar-border-width)*2))var(--scalar-border-color);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.scalar-app .shadow-lg{--tw-shadow:var(--scalar-shadow-2);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.scalar-app .shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.scalar-app .outline{outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .-outline-offset-1{outline-offset:-1px}.scalar-app .-outline-offset-2{outline-offset:-2px}.scalar-app .outline-offset-2{outline-offset:2px}.scalar-app .outline-b-3{outline-color:var(--scalar-background-3)}.scalar-app .outline-c-danger{outline-color:var(--scalar-color-danger)}.scalar-app .blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.scalar-app .brightness-90{--tw-brightness:brightness(90%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.scalar-app .brightness-\\[\\.9\\]{--tw-brightness:brightness(.9);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.scalar-app .brightness-lifted{--tw-brightness:brightness(var(--scalar-lifted-brightness));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.scalar-app .filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.scalar-app .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.scalar-app .transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-none{transition-property:none}.scalar-app .duration-100{--tw-duration:.1s;transition-duration:.1s}.scalar-app .duration-150{--tw-duration:.15s;transition-duration:.15s}.scalar-app .duration-200{--tw-duration:.2s;transition-duration:.2s}.scalar-app .duration-300{--tw-duration:.3s;transition-duration:.3s}.scalar-app .ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.scalar-app .outline-none{--tw-outline-style:none;outline-style:none}.scalar-app .select-none{-webkit-user-select:none;user-select:none}.scalar-app .\\[--scalar-address-bar-height\\:32px\\]{--scalar-address-bar-height:32px}.scalar-app .app-drag-region{-webkit-app-region:drag}.scalar-app .app-no-drag-region{-webkit-app-region:no-drag}:is(.scalar-app .\\*\\:flex>*){display:flex}:is(.scalar-app .\\*\\:h-8>*){height:32px}:is(.scalar-app .\\*\\:cursor-pointer>*){cursor:pointer}:is(.scalar-app .\\*\\:items-center>*){align-items:center}:is(.scalar-app .\\*\\:rounded-none>*){border-radius:0}:is(.scalar-app .\\*\\:border-t>*){border-top-style:var(--tw-border-style);border-top-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:border-b-0>*){border-bottom-style:var(--tw-border-style);border-bottom-width:0}:is(.scalar-app .\\*\\:px-1\\.5>*){padding-inline:6px}:is(.scalar-app .\\*\\:pl-4>*){padding-left:16px}.scalar-app .group-first\\/row\\:border-t-0:is(:where(.group\\/row):first-child *){border-top-style:var(--tw-border-style);border-top-width:0}.scalar-app .group-last\\:border-b-transparent:is(:where(.group):last-child *){border-bottom-color:#0000}.scalar-app .group-last\\/label\\:rounded-br-lg:is(:where(.group\\/label):last-child *){border-bottom-right-radius:var(--scalar-radius-lg)}.scalar-app .group-focus-within\\:flex:is(:where(.group):focus-within *){display:flex}@media (hover:hover){.scalar-app .group-hover\\:block:is(:where(.group):hover *){display:block}.scalar-app .group-hover\\:flex:is(:where(.group):hover *){display:flex}.scalar-app .group-hover\\:hidden:is(:where(.group):hover *){display:none}.scalar-app .group-hover\\:inline:is(:where(.group):hover *){display:inline}.scalar-app .group-hover\\:pr-5:is(:where(.group):hover *){padding-right:20px}.scalar-app .group-hover\\:pr-6:is(:where(.group):hover *){padding-right:24px}.scalar-app .group-hover\\:pr-10:is(:where(.group):hover *){padding-right:40px}.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\:opacity-80:is(:where(.group):hover *){opacity:.8}.scalar-app .group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.scalar-app .group-hover\\/auth\\:absolute:is(:where(.group\\/auth):hover *){position:absolute}.scalar-app .group-hover\\/auth\\:h-auto:is(:where(.group\\/auth):hover *){height:auto}.scalar-app .group-hover\\/auth\\:border-b:is(:where(.group\\/auth):hover *){border-bottom-style:var(--tw-border-style);border-bottom-width:var(--scalar-border-width)}.scalar-app .group-hover\\/cell\\:opacity-100:is(:where(.group\\/cell):hover *){opacity:1}.scalar-app .group-hover\\/item\\:flex:is(:where(.group\\/item):hover *){display:flex}.scalar-app .group-hover\\/item\\:opacity-100:is(:where(.group\\/item):hover *),.scalar-app .group-hover\\/params\\:opacity-100:is(:where(.group\\/params):hover *){opacity:1}.scalar-app .group-hover\\/row\\:flex:is(:where(.group\\/row):hover *){display:flex}.scalar-app .group-hover\\/scopes-accordion\\:text-c-2:is(:where(.group\\/scopes-accordion):hover *){color:var(--scalar-color-2)}.scalar-app .group-hover\\/upload\\:block:is(:where(.group\\/upload):hover *){display:block}}.scalar-app .group-focus-visible\\:opacity-100:is(:where(.group):focus-visible *){opacity:1}.scalar-app .group-focus-visible\\:outline:is(:where(.group):focus-visible *){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .group-has-\\[\\.cm-focused\\]\\:z-1:is(:where(.group):has(.cm-focused) *){z-index:1}.scalar-app .group-has-\\[\\.cm-focused\\]\\:flex:is(:where(.group):has(.cm-focused) *){display:flex}.scalar-app .group-has-\\[\\.cm-focused\\]\\:pr-6:is(:where(.group):has(.cm-focused) *){padding-right:24px}.scalar-app .group-has-\\[\\.cm-focused\\]\\:pr-10:is(:where(.group):has(.cm-focused) *){padding-right:40px}.scalar-app .group-has-\\[\\:focus-visible\\]\\:hidden:is(:where(.group):has(:focus-visible) *){display:none}.scalar-app .group-has-\\[\\:focus-visible\\]\\:opacity-100:is(:where(.group):has(:focus-visible) *){opacity:1}.scalar-app .group-has-\\[\\:focus-visible\\]\\/cell\\:border-c-accent:is(:where(.group\\/cell):has(:focus-visible) *){border-color:var(--scalar-color-accent)}.scalar-app .group-has-\\[\\:focus-visible\\]\\/cell\\:opacity-100:is(:where(.group\\/cell):has(:focus-visible) *){opacity:1}.scalar-app .group-has-\\[\\:focus-visible\\]\\/input\\:block:is(:where(.group\\/input):has(:focus-visible) *){display:block}.scalar-app .group-has-\\[input\\]\\/label\\:mr-0:is(:where(.group\\/label):has(:is(input)) *){margin-right:0}.scalar-app .group-aria-expanded\\/button\\:rotate-180:is(:where(.group\\/button)[aria-expanded=true] *),.scalar-app .group-aria-expanded\\/combobox-button\\:rotate-180:is(:where(.group\\/combobox-button)[aria-expanded=true] *){rotate:180deg}.scalar-app .group-\\[\\.alert\\]\\:bg-b-alert:is(:where(.group).alert *){background-color:var(--scalar-background-alert)}.scalar-app .group-\\[\\.alert\\]\\:bg-transparent:is(:where(.group).alert *){background-color:#0000}.scalar-app .group-\\[\\.alert\\]\\:shadow-none:is(:where(.group).alert *){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.scalar-app .group-\\[\\.alert\\]\\:outline-orange:is(:where(.group).alert *){outline-color:var(--scalar-color-orange)}.scalar-app .group-\\[\\.error\\]\\:bg-b-danger:is(:where(.group).error *){background-color:var(--scalar-background-danger)}.scalar-app .group-\\[\\.error\\]\\:bg-transparent:is(:where(.group).error *){background-color:#0000}.scalar-app .group-\\[\\.error\\]\\:text-red:is(:where(.group).error *){color:var(--scalar-color-red)}.scalar-app .group-\\[\\.error\\]\\:shadow-none:is(:where(.group).error *){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.scalar-app .group-\\[\\.error\\]\\:outline-red:is(:where(.group).error *){outline-color:var(--scalar-color-red)}.scalar-app .peer-checked\\:text-c-1:is(:where(.peer):checked~*){color:var(--scalar-color-1)}.scalar-app .peer-has-\\[\\.cm-focused\\]\\:opacity-0:is(:where(.peer):has(.cm-focused)~*){opacity:0}.scalar-app .peer-has-\\[\\.color-selector\\]\\:hidden:is(:where(.peer):has(.color-selector)~*){display:none}.scalar-app .before\\:pointer-events-none:before{content:var(--tw-content);pointer-events:none}.scalar-app .before\\:absolute:before{content:var(--tw-content);position:absolute}.scalar-app .before\\:top-0:before{content:var(--tw-content);top:0}.scalar-app .before\\:left-3:before{content:var(--tw-content);left:12px}.scalar-app .before\\:left-\\[calc\\(\\.75rem_\\+_\\.5px\\)\\]:before{content:var(--tw-content);left:calc(.75rem + .5px)}.scalar-app .before\\:z-1:before{content:var(--tw-content);z-index:1}.scalar-app .before\\:h-\\[calc\\(100\\%_\\+_\\.5px\\)\\]:before{content:var(--tw-content);height:calc(100% + .5px)}.scalar-app .before\\:w-\\[\\.5px\\]:before{content:var(--tw-content);width:.5px}.scalar-app .before\\:bg-border:before{content:var(--tw-content);background-color:var(--scalar-border-color)}.scalar-app .after\\:content-\\[\\\'\\:\\\'\\]:after{--tw-content:":";content:var(--tw-content)}:is(.scalar-app .\\*\\:first\\:line-clamp-1>*):first-child{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.scalar-app .\\*\\:first\\:rounded-l>*):first-child{border-top-left-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}:is(.scalar-app .\\*\\:first\\:border-t-0>*):first-child,:is(.scalar-app .first\\:\\*\\:border-t-0:first-child>*){border-top-style:var(--tw-border-style);border-top-width:0}:is(.scalar-app .\\*\\:first\\:text-ellipsis>*):first-child{text-overflow:ellipsis}@media (hover:hover){:is(.scalar-app .group-hover\\/auth\\:\\*\\:first\\:line-clamp-none:is(:where(.group\\/auth):hover *)>*):first-child{-webkit-line-clamp:unset;-webkit-box-orient:horizontal;display:block;overflow:visible}}.scalar-app .last\\:mb-0:last-child{margin-bottom:0}.scalar-app .last\\:rounded-b-lg:last-child{border-bottom-right-radius:var(--scalar-radius-lg);border-bottom-left-radius:var(--scalar-radius-lg)}.scalar-app .last\\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}:is(.scalar-app .\\*\\:last\\:rounded-r>*):last-child{border-top-right-radius:var(--scalar-radius);border-bottom-right-radius:var(--scalar-radius)}.scalar-app .last\\:before\\:h-full:last-child:before{content:var(--tw-content);height:100%}.scalar-app .last-of-type\\:first-of-type\\:border-b-0:last-of-type:first-of-type{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .focus-within\\:z-20:focus-within{z-index:20}.scalar-app .focus-within\\:border-\\(--scalar-background-3\\):focus-within{border-color:var(--scalar-background-3)}.scalar-app .focus-within\\:bg-b-1:focus-within{background-color:var(--scalar-background-1)}.scalar-app .focus-within\\:text-c-1:focus-within{color:var(--scalar-color-1)}@media (hover:hover){.scalar-app .hover\\:cursor-default:hover{cursor:default}.scalar-app .hover\\:border-\\(--scalar-background-3\\):hover{border-color:var(--scalar-background-3)}.scalar-app .hover\\:border-inherit:hover{border-color:inherit}.scalar-app .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-app .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.scalar-app .hover\\:bg-inherit:hover{background-color:inherit}.scalar-app .hover\\:bg-sidebar-b-active:hover{background-color:var(--scalar-sidebar-item-active-background,var(--scalar-background-2))}.scalar-app .hover\\:whitespace-normal:hover{white-space:normal}.scalar-app .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-app .hover\\:text-c-2:hover{color:var(--scalar-color-2)}.scalar-app .hover\\:underline:hover{text-decoration-line:underline}.scalar-app .hover\\:brightness-75:hover{--tw-brightness:brightness(75%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.scalar-app .focus\\:border-b-1:focus{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--scalar-background-1)}.scalar-app .focus\\:text-c-1:focus{color:var(--scalar-color-1)}.scalar-app .focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.scalar-app .focus-visible\\:z-10:focus-visible{z-index:10}.scalar-app .active\\:text-c-1:active{color:var(--scalar-color-1)}.scalar-app .disabled\\:cursor-default:disabled{cursor:default}.scalar-app .disabled\\:text-c-2:disabled{color:var(--scalar-color-2)}.scalar-app .has-\\[\\.empty-sidebar-item\\]\\:border-t:has(.empty-sidebar-item){border-top-style:var(--tw-border-style);border-top-width:var(--scalar-border-width)}.scalar-app .has-\\[\\:focus-visible\\]\\:absolute:has(:focus-visible){position:absolute}.scalar-app .has-\\[\\:focus-visible\\]\\:z-1:has(:focus-visible){z-index:1}.scalar-app .has-\\[\\:focus-visible\\]\\:rounded-\\[4px\\]:has(:focus-visible){border-radius:4px}.scalar-app .has-\\[\\:focus-visible\\]\\:bg-b-1:has(:focus-visible){background-color:var(--scalar-background-1)}.scalar-app .has-\\[\\:focus-visible\\]\\:opacity-100:has(:focus-visible){opacity:1}.scalar-app .has-\\[\\:focus-visible\\]\\:outline:has(:focus-visible){outline-style:var(--tw-outline-style);outline-width:1px}@media (min-width:600px){.scalar-app .sm\\:not-sr-only{clip:auto;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.scalar-app .sm\\:order-none{order:0}.scalar-app .sm\\:mr-1\\.5{margin-right:6px}.scalar-app .sm\\:mb-1\\.5{margin-bottom:6px}.scalar-app .sm\\:ml-1\\.5{margin-left:6px}.scalar-app .sm\\:flex{display:flex}.scalar-app .sm\\:hidden{display:none}.scalar-app .sm\\:max-w-max{max-width:max-content}.scalar-app .sm\\:min-w-max{min-width:max-content}.scalar-app .sm\\:flex-col{flex-direction:column}.scalar-app .sm\\:flex-row{flex-direction:row}.scalar-app .sm\\:justify-between{justify-content:space-between}.scalar-app .sm\\:gap-px{gap:1px}.scalar-app .sm\\:rounded{border-radius:var(--scalar-radius)}.scalar-app .sm\\:rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-app .sm\\:px-2{padding-inline:8px}.scalar-app .sm\\:px-3{padding-inline:12px}.scalar-app .sm\\:py-1\\.5{padding-block:6px}:is(.scalar-app .sm\\:\\*\\:rounded-lg>*){border-radius:var(--scalar-radius-lg)}}@media (min-width:800px){.scalar-app .md\\:right-10{right:40px}.scalar-app .md\\:bottom-10{bottom:40px}.scalar-app .md\\:mx-auto{margin-inline:auto}.scalar-app .md\\:-ml-1\\.25{margin-left:-5px}.scalar-app .md\\:ml-1\\.5{margin-left:6px}.scalar-app .md\\:block{display:block}.scalar-app .md\\:flex{display:flex}.scalar-app .md\\:grid{display:grid}.scalar-app .md\\:w-full{width:100%}.scalar-app .md\\:max-w-\\[720px\\]{max-width:720px}.scalar-app .md\\:min-w-fit{min-width:fit-content}.scalar-app .md\\:flex-none{flex:none}.scalar-app .md\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .md\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x)var(--tw-translate-y)}.scalar-app .md\\:grid-cols-\\[1fr_720px_1fr\\]{grid-template-columns:1fr 720px 1fr}.scalar-app .md\\:flex-row{flex-direction:row}.scalar-app .md\\:border-r{border-right-style:var(--tw-border-style);border-right-width:var(--scalar-border-width)}.scalar-app .md\\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .md\\:p-1\\.5{padding:6px}.scalar-app .md\\:px-0{padding-inline:0}.scalar-app .md\\:px-1\\.5{padding-inline:6px}.scalar-app .md\\:px-2{padding-inline:8px}.scalar-app .md\\:px-2\\.5{padding-inline:10px}.scalar-app .md\\:px-4{padding-inline:16px}.scalar-app .md\\:px-\\[18px\\]{padding-inline:18px}.scalar-app .md\\:py-2\\.5{padding-block:10px}.scalar-app .md\\:pb-2\\.5{padding-bottom:10px}.scalar-app .md\\:pb-\\[37px\\]{padding-bottom:37px}.scalar-app .md\\:pl-0{padding-left:0}:is(.scalar-app .md\\:\\*\\:border-t-0>*){border-top-style:var(--tw-border-style);border-top-width:0}}@media (min-width:1000px){.scalar-app .lg\\:order-none{order:0}.scalar-app .lg\\:-mr-1{margin-right:-4px}.scalar-app .lg\\:mb-0{margin-bottom:0}.scalar-app .lg\\:flex{display:flex}.scalar-app .lg\\:min-h-header{min-height:48px}.scalar-app .lg\\:w-auto{width:auto}.scalar-app .lg\\:max-w-\\[580px\\]{max-width:580px}.scalar-app .lg\\:min-w-\\[580px\\]{min-width:580px}.scalar-app .lg\\:flex-1{flex:1}.scalar-app .lg\\:p-1{padding:4px}.scalar-app .lg\\:px-1{padding-inline:4px}.scalar-app .lg\\:px-2\\.5{padding-inline:10px}.scalar-app .lg\\:pt-1{padding-top:4px}.scalar-app .lg\\:pr-24{padding-right:96px}}@media (min-width:1200px){.scalar-app .xl\\:\\!flex{display:flex!important}.scalar-app .xl\\:flex{display:flex}.scalar-app .xl\\:hidden{display:none}.scalar-app .xl\\:h-fit{height:fit-content}.scalar-app .xl\\:h-full{height:100%}.scalar-app .xl\\:min-h-header{min-height:48px}.scalar-app .xl\\:max-w-\\[720px\\]{max-width:720px}.scalar-app .xl\\:min-w-0{min-width:0}.scalar-app .xl\\:min-w-\\[720px\\]{min-width:720px}.scalar-app .xl\\:flex-row{flex-direction:row}.scalar-app .xl\\:overflow-auto{overflow:auto}.scalar-app .xl\\:overflow-hidden{overflow:hidden}.scalar-app .xl\\:rounded-none{border-radius:0}.scalar-app .xl\\:pr-0\\.5{padding-right:2px}.scalar-app .xl\\:pl-2{padding-left:8px}:is(.scalar-app .\\*\\:xl\\:border-t-0>*){border-top-style:var(--tw-border-style);border-top-width:0}:is(.scalar-app .\\*\\:xl\\:border-l>*){border-left-style:var(--tw-border-style);border-left-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:first\\:xl\\:border-l-0>*):first-child{border-left-style:var(--tw-border-style);border-left-width:0}}.scalar-app .dark\\:bg-b-2:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-2)}@media (hover:hover){.scalar-app .hover\\:dark\\:bg-b-2:hover:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-2)}}.scalar-app .ui-open\\:rotate-90[data-headlessui-state~=open],:where([data-headlessui-state~=open]) :is(.scalar-app .ui-open\\:rotate-90){rotate:90deg}.scalar-app .ui-open\\:rotate-180[data-headlessui-state~=open],:where([data-headlessui-state~=open]) :is(.scalar-app .ui-open\\:rotate-180){rotate:180deg}.scalar-app .last\\:ui-open\\:border-b-0:last-child[data-headlessui-state~=open],:where([data-headlessui-state~=open]) .scalar-app .last\\:ui-open\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .ui-not-open\\:hidden[data-headlessui-state]:not([data-headlessui-state~=open]),:where([data-headlessui-state]:not([data-headlessui-state~=open])) :is(.scalar-app .ui-not-open\\:hidden):not([data-headlessui-state]){display:none}.scalar-app .ui-not-open\\:rotate-0[data-headlessui-state]:not([data-headlessui-state~=open]),:where([data-headlessui-state]:not([data-headlessui-state~=open])) :is(.scalar-app .ui-not-open\\:rotate-0):not([data-headlessui-state]){rotate:none}.scalar-app .ui-checked\\:bg-b-3[data-headlessui-state~=checked],:where([data-headlessui-state~=checked]) :is(.scalar-app .ui-checked\\:bg-b-3){background-color:var(--scalar-background-3)}.scalar-app .ui-active\\:bg-b-2[data-headlessui-state~=active],:where([data-headlessui-state~=active]) :is(.scalar-app .ui-active\\:bg-b-2),:is(.scalar-app .ui-active\\:\\*\\:bg-b-2[data-headlessui-state~=active]>*),:is(:where([data-headlessui-state~=active]) :is(.scalar-app .ui-active\\:\\*\\:bg-b-2)>*){background-color:var(--scalar-background-2)}@media (max-width:720px) and (max-height:480px){.scalar-app .zoomed\\:static{position:static}.scalar-app .zoomed\\:p-1{padding:4px}}.app-platform-mac :is(.scalar-app .mac\\:pl-\\[72px\\]){padding-left:72px}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}.nav-item[data-v-507381a3]{cursor:pointer;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-3);border:var(--scalar-border-width)solid var(--scalar-background-2);color:var(--scalar-color-3);flex:1;justify-content:center;align-items:center;min-width:0;padding:4.5px;display:flex;position:relative;overflow:hidden}.dark-mode .nav-item[data-v-507381a3]{background:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.dark-mode .nav-item[data-v-507381a3]{background:color-mix(in srgb,var(--scalar-background-2),transparent)}}.nav-item-icon-copy[data-v-507381a3]{white-space:nowrap;max-width:100%;-webkit-mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2)20px);mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2)20px);overflow:hidden}.nav-item:hover .nav-item-icon-copy[data-v-507381a3]{-webkit-mask-image:linear-gradient(to left,transparent 20px,var(--scalar-background-2)40px);mask-image:linear-gradient(to left,transparent 20px,var(--scalar-background-2)40px)}.nav-item-copy[data-v-507381a3]{max-width:calc(100% - 20px)}.nav-item[data-v-507381a3]:hover{color:var(--scalar-color-1)}.nav-item__active[data-v-507381a3]{background-color:var(--scalar-background-1);color:var(--scalar-color-1);border-color:var(--scalar-border-color)}.dark-mode .nav-item__active[data-v-507381a3]{background-color:var(--scalar-background-2)}.nav-item-close[data-v-507381a3]{border-radius:var(--scalar-radius);stroke-width:1.5px;max-width:20px;color:var(--scalar-color-3);opacity:0;background:0 0;margin-left:-20px;padding:2px;position:absolute;right:3px}.nav-item:hover .nav-item-close[data-v-507381a3]{opacity:1}.nav-item-close[data-v-507381a3]:hover{background-color:var(--scalar-background-4)}.nav-item__active .nav-item-close[data-v-507381a3]:hover{background-color:var(--scalar-background-2)}.download-app-button[data-v-cb45fa05]{box-shadow:0 0 0 .5px var(--scalar-border-color);background:linear-gradient(#ffffffbf,#00000009)}.dark-mode .download-app-button[data-v-cb45fa05]{background:linear-gradient(#ffffff1a,#00000026)}.download-app-button[data-v-cb45fa05]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .download-app-button[data-v-cb45fa05]:hover{background:linear-gradient(#00000026,#ffffff1a)}.http-bg-gradient[data-v-076b14a1]{background:linear-gradient(#ffffffbf,#00000009)}.http-bg-gradient[data-v-076b14a1]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .http-bg-gradient[data-v-076b14a1]{background:linear-gradient(#ffffff09,#00000026)}.dark-mode .http-bg-gradient[data-v-076b14a1]:hover{background:linear-gradient(#00000026,#ffffff09)}.scroll-timeline-x[data-v-e0578855]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none;scrollbar-width:none;overflow:auto}.commandmenu[data-v-f2bbd082]{box-shadow:var(--scalar-shadow-2);border-radius:var(--scalar-radius-lg);background-color:var(--scalar-background-1);opacity:0;width:100%;max-width:580px;max-height:60dvh;margin:12px;animation:.3s ease-in-out .1s forwards fadeincommandmenu-f2bbd082;position:fixed;top:150px;left:50%;transform:translate(-50%,10px)}.commandmenu-overlay[data-v-f2bbd082]{cursor:pointer;background:#0003;animation:.3s ease-in-out forwards fadeincommand-f2bbd082;position:fixed;inset:0}@keyframes fadeincommand-f2bbd082{0%{opacity:0}to{opacity:1}}@keyframes fadeincommandmenu-f2bbd082{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.scalar .scalar-app-layout[data-v-45e9730e]{background:var(--scalar-background-1);opacity:0;border:var(--scalar-border-width)solid var(--scalar-border-color);border-radius:8px;width:100%;max-width:1390px;height:calc(100% - 120px);margin:auto;animation:.35s forwards scalarapiclientfadein-45e9730e;position:relative;overflow:hidden}@media (max-width:720px) and (max-height:480px){.scalar .scalar-app-layout[data-v-45e9730e]{height:100%;max-height:90svh}}@keyframes scalarapiclientfadein-45e9730e{0%{opacity:0}to{opacity:1}}.scalar .scalar-app-exit[data-v-45e9730e]{cursor:pointer;z-index:-1;background:#00000038;width:100vw;height:100vh;transition:all .3s ease-in-out;animation:.35s forwards scalardrawerexitfadein-45e9730e;position:fixed;top:0;left:0}.dark-mode .scalar .scalar-app-exit[data-v-45e9730e]{background:#00000073}.scalar .scalar-app-exit[data-v-45e9730e]:before{text-align:center;color:#fff;opacity:.6;font-family:sans-serif;font-size:30px;font-weight:100;line-height:50px;position:absolute;top:0;right:12px}.scalar .scalar-app-exit[data-v-45e9730e]:hover:before{opacity:1}@keyframes scalardrawerexitfadein-45e9730e{0%{opacity:0}to{opacity:1}}.scalar-container[data-v-45e9730e]{visibility:visible;z-index:10000;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;bottom:0;left:0;overflow:hidden}.scalar .url-form-input[data-v-45e9730e]{min-height:auto!important}.scalar .scalar-container[data-v-45e9730e]{line-height:normal}.scalar .scalar-app-header span[data-v-45e9730e]{color:var(--scalar-color-3)}.scalar .scalar-app-header a[data-v-45e9730e]{color:var(--scalar-color-1)}.scalar .scalar-app-header a[data-v-45e9730e]:hover{text-decoration:underline}.scalar-activate[data-v-45e9730e]{cursor:pointer;align-items:center;gap:6px;width:fit-content;margin:0 .75rem .75rem auto;font-size:.875rem;font-weight:600;line-height:24px;display:flex}.scalar-activate-button[data-v-45e9730e]{color:var(--scalar-color-blue);appearance:none;background:0 0;border:none;outline:none;align-items:center;gap:6px;padding:0 .5rem;display:flex}.scalar-activate:hover .scalar-activate-button[data-v-45e9730e]{background:var(--scalar-background-3);border-radius:3px}.open-api-client-button[data-v-f016469d]{cursor:pointer;text-align:center;white-space:nowrap;width:100%;height:31px;font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius);box-shadow:0 0 0 .5px var(--scalar-border-color);color:var(--scalar-sidebar-color-1);justify-content:center;align-items:center;gap:6px;padding:9px 12px;line-height:1.385;text-decoration:none;display:flex}.open-api-client-button[data-v-f016469d]:hover{background:var(--scalar-sidebar-item-hover-background,var(--scalar-background-2))}[data-v-103d9d56] .cm-editor{background:0 0;outline:none;height:100%;padding:0}[data-v-103d9d56] .cm-placeholder{color:var(--scalar-color-3)}[data-v-103d9d56] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);max-height:20px;padding:8px 0}[data-v-103d9d56] .cm-tooltip{filter:brightness(var(--scalar-lifted-brightness));border-radius:var(--scalar-radius);box-shadow:var(--scalar-shadow-2);background:0 0!important;border:none!important;outline:none!important;overflow:hidden!important}[data-v-103d9d56] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-103d9d56] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-103d9d56] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-103d9d56] .cm-tooltip-autocomplete ul{position:relative;padding:6px!important}[data-v-103d9d56] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-103d9d56] .cm-activeLine,[data-v-103d9d56] .cm-activeLineGutter{background-color:#0000}[data-v-103d9d56] .cm-selectionMatch,[data-v-103d9d56] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-103d9d56] .cm-css-color-picker-wrapper{outline:1px solid var(--scalar-background-3);border-radius:3px;display:inline-flex;overflow:hidden}[data-v-103d9d56] .cm-gutters{color:var(--scalar-color-3);font-size:var(--scalar-small);background-color:#0000;border-right:none;border-radius:0 0 0 3px;line-height:22px}[data-v-103d9d56] .cm-gutters:before{content:"";border-radius:var(--scalar-radius)0 0 var(--scalar-radius);background-color:var(--scalar-background-1);width:calc(100% - 2px);height:calc(100% - 4px);position:absolute;top:2px;left:2px}[data-v-103d9d56] .cm-gutterElement{justify-content:flex-end;align-items:center;display:flex;position:relative;font-family:var(--scalar-font-code)!important;padding-left:0!important;padding-right:6px!important}[data-v-103d9d56] .cm-lineNumbers .cm-gutterElement{min-width:fit-content}[data-v-103d9d56] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-103d9d56] .cm-scroller{overflow:auto}.line-wrapping[data-v-103d9d56]:focus-within .cm-content{white-space:break-spaces;word-break:break-all;min-height:fit-content;padding:3px 6px;display:inline-table}.address-bar-history-button[data-v-a93fa60f]:hover{background:var(--scalar-background-3)}.address-bar-history-button[data-v-a93fa60f]:focus-within{background:var(--scalar-background-2)}.description[data-v-92012388] .markdown{font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:0;display:block}.description[data-v-92012388] .markdown>:first-child{margin-top:0}[data-v-cb2a35da] .cm-editor{outline:none;width:100%;height:100%}[data-v-cb2a35da] .cm-line{padding:0}[data-v-cb2a35da] .cm-content{font-size:var(--scalar-small);align-items:center;padding:0;display:flex}.scroll-timeline-x[data-v-cb2a35da]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-hidden[data-v-cb2a35da]{overflow-x:auto}.scroll-timeline-x-hidden[data-v-cb2a35da] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-cb2a35da]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-cb2a35da] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-cb2a35da]{scrollbar-width:none;line-height:27px}.scroll-timeline-x-address[data-v-cb2a35da]:after{content:"";cursor:text;width:24px;height:100%;position:absolute;right:0}.scroll-timeline-x-address[data-v-cb2a35da]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-cb2a35da],.fade-right[data-v-cb2a35da]{content:"";pointer-events:none;z-index:1;height:100%;animation-name:fadein-cb2a35da;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-cb2a35da]{background:linear-gradient(-90deg,var(--scalar-address-bar-bg)0%,var(--scalar-address-bar-bg)30%,var(--scalar-address-bar-bg)100%)}@supports (color:color-mix(in lab,red,red)){.fade-left[data-v-cb2a35da]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 100%)0%,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 20%)30%,var(--scalar-address-bar-bg)100%)}}.fade-left[data-v-cb2a35da]{min-width:6px;animation-direction:normal;left:-1px}.fade-right[data-v-cb2a35da]{background:linear-gradient(90deg,var(--scalar-address-bar-bg)0%,var(--scalar-address-bar-bg)30%,var(--scalar-address-bar-bg)100%)}@supports (color:color-mix(in lab,red,red)){.fade-right[data-v-cb2a35da]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 100%)0%,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 20%)30%,var(--scalar-address-bar-bg)100%)}}.fade-right[data-v-cb2a35da]{min-width:24px;right:-1px}@keyframes fadein-cb2a35da{0%{opacity:0}1%{opacity:1}}.address-bar-bg-states[data-v-cb2a35da]{--scalar-address-bar-bg:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.address-bar-bg-states[data-v-cb2a35da]{--scalar-address-bar-bg:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.address-bar-bg-states[data-v-cb2a35da]{background:var(--scalar-address-bar-bg)}.address-bar-bg-states[data-v-cb2a35da]:has(.cm-focused){--scalar-address-bar-bg:var(--scalar-background-1);border-color:var(--scalar-border-color);outline:1px solid var(--scalar-color-accent)}.address-bar-bg-states:has(.cm-focused) .fade-left[data-v-cb2a35da],.address-bar-bg-states:has(.cm-focused) .fade-right[data-v-cb2a35da]{--scalar-address-bar-bg:var(--scalar-background-1)}.sidebar-height[data-v-dcff7b49]{min-height:100%}@media (min-width:800px){.sidebar-mask[data-v-dcff7b49]{-webkit-mask-image:linear-gradient(0,transparent 0,transparent 0,var(--scalar-background-2)30px);mask-image:linear-gradient(0,transparent 0,transparent 0,var(--scalar-background-2)30px)}}.resizer[data-v-dcff7b49]{cursor:col-resize;border-right:2px solid #0000;width:5px;transition:border-right-color .3s;position:absolute;top:0;bottom:0;right:0}.resizer[data-v-dcff7b49]:hover,.dragging .resizer[data-v-dcff7b49]{border-right-color:var(--scalar-background-3)}.dragging[data-v-dcff7b49]{cursor:col-resize}.dragging[data-v-dcff7b49]:before{content:"";width:100%;height:100%;display:block;position:absolute}[data-v-2b299aed] .cm-editor{padding:0}[data-v-2b299aed] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-2b299aed] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-2b299aed] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-2b299aed] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-2b299aed] .cm-line{text-overflow:ellipsis;word-break:break-word;padding:0;overflow:hidden}.required[data-v-2b299aed]:after{content:"Required"}input[data-v-2b299aed]::placeholder{color:var(--scalar-color-3)}.scalar-password-input[data-v-2b299aed]{text-security:disc;-webkit-text-security:disc;-moz-text-security:disc}@media (min-width:800px){.has-no-import-url,.has-import-url{contain:paint;max-width:100dvw;overflow-x:hidden}.has-no-import-url .scalar-client>main{opacity:1;background:var(--scalar-background-1);animation:.3s ease-in-out forwards transform-restore-layout}.has-import-url .scalar-client>main{opacity:0;border:var(--scalar-border-width)solid var(--scalar-border-color);z-index:10000;border-radius:12px;animation:.3s ease-in-out forwards transform-fade-layout;overflow:hidden;transform:scale(.85)translate(calc(50dvw + 80px))}.has-import-url .scalar-client .sidenav{display:none}.has-no-import-url .scalar-app,.has-import-url .scalar-app{background:var(--scalar-background-1)!important}}@keyframes transform-fade-layout{0%{opacity:0;transform:scale(.85)translate(calc(50dvw + 80px),10px)}to{opacity:1;transform:scale(.85)translate(calc(50dvw + 80px))}}@keyframes transform-restore-layout{0%{opacity:1;transform:scale(.85)translate(calc(50dvw + 80px))}to{opacity:1;transform:scale(1)translate(0)}}.openapi-color{color:var(--scalar-color-green)}.section-flare{position:fixed;top:0;right:-50dvw}.address-bar-history-button[data-v-8cf04803]:hover{background:var(--scalar-background-3)}.address-bar-history-button[data-v-8cf04803]:focus-within{background:var(--scalar-background-2)}.description[data-v-1b7a32a4] .markdown{font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:0;display:block}.description[data-v-1b7a32a4] .markdown>:first-child{margin-top:0}[data-v-802d60c5] .cm-editor{background:0 0;outline:none;height:100%;padding:0}[data-v-802d60c5] .cm-placeholder{color:var(--scalar-color-3)}[data-v-802d60c5] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);max-height:20px;padding:8px 0}[data-v-802d60c5] .cm-tooltip{filter:brightness(var(--scalar-lifted-brightness));border-radius:var(--scalar-radius);box-shadow:var(--scalar-shadow-2);background:0 0!important;border:none!important;outline:none!important;overflow:hidden!important}[data-v-802d60c5] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-802d60c5] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-802d60c5] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-802d60c5] .cm-tooltip-autocomplete ul{position:relative;padding:6px!important}[data-v-802d60c5] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-802d60c5] .cm-activeLine,[data-v-802d60c5] .cm-activeLineGutter{background-color:#0000}[data-v-802d60c5] .cm-selectionMatch,[data-v-802d60c5] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-802d60c5] .cm-css-color-picker-wrapper{outline:1px solid var(--scalar-background-3);border-radius:3px;display:inline-flex;overflow:hidden}[data-v-802d60c5] .cm-gutters{color:var(--scalar-color-3);font-size:var(--scalar-small);background-color:#0000;border-right:none;border-radius:0 0 0 3px;line-height:22px}[data-v-802d60c5] .cm-gutters:before{content:"";border-radius:var(--scalar-radius)0 0 var(--scalar-radius);background-color:var(--scalar-background-1);width:calc(100% - 2px);height:calc(100% - 4px);position:absolute;top:2px;left:2px}[data-v-802d60c5] .cm-gutterElement{justify-content:flex-end;align-items:center;display:flex;position:relative;font-family:var(--scalar-font-code)!important;padding-left:0!important;padding-right:6px!important}[data-v-802d60c5] .cm-lineNumbers .cm-gutterElement{min-width:fit-content}[data-v-802d60c5] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-802d60c5] .cm-scroller{overflow:auto}.line-wrapping[data-v-802d60c5]:focus-within .cm-content{white-space:break-spaces;word-break:break-all;min-height:fit-content;padding:3px 6px;display:inline-table}.cm-pill{--tw-bg-base:var(--scalar-color-1);color:var(--tw-bg-base);font-size:var(--scalar-small);border-radius:30px;padding:0 9px;display:inline-block;background:var(--tw-bg-base)!important}@supports (color:color-mix(in lab,red,red)){.cm-pill{background:color-mix(in srgb,var(--tw-bg-base),transparent 94%)!important}}.cm-pill.bg-grey{background:var(--scalar-background-3)!important}.dark-mode .cm-pill{background:var(--tw-bg-base)!important}@supports (color:color-mix(in lab,red,red)){.dark-mode .cm-pill{background:color-mix(in srgb,var(--tw-bg-base),transparent 90%)!important}}.cm-pill:first-of-type{margin-left:0}.cm-editor .cm-widgetBuffer{display:none}.cm-foldPlaceholder:hover{color:var(--scalar-color-1)}.cm-foldGutter .cm-gutterElement{font-size:var(--scalar-heading-4);padding:2px!important}.cm-foldGutter .cm-gutterElement:first-of-type{display:none}.cm-foldGutter .cm-gutterElement .cm-foldMarker{padding:2px}.cm-foldGutter .cm-gutterElement:hover .cm-foldMarker{background:var(--scalar-background-2);border-radius:var(--scalar-radius);color:var(--scalar-color-1)}[data-v-6cf7598d] .cm-editor{outline:none;width:100%;height:100%}[data-v-6cf7598d] .cm-line{padding:0}[data-v-6cf7598d] .cm-content{font-size:var(--scalar-small);align-items:center;padding:0;display:flex}.scroll-timeline-x[data-v-6cf7598d]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-hidden[data-v-6cf7598d]{overflow-x:auto}.scroll-timeline-x-hidden[data-v-6cf7598d] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-6cf7598d]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-6cf7598d] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-6cf7598d]{scrollbar-width:none;line-height:27px}.scroll-timeline-x-address[data-v-6cf7598d]:after{content:"";cursor:text;width:24px;height:100%;position:absolute;right:0}.scroll-timeline-x-address[data-v-6cf7598d]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-6cf7598d],.fade-right[data-v-6cf7598d]{content:"";pointer-events:none;z-index:1;height:100%;animation-name:fadein-6cf7598d;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-6cf7598d]{background:linear-gradient(-90deg,var(--scalar-address-bar-bg)0%,var(--scalar-address-bar-bg)30%,var(--scalar-address-bar-bg)100%)}@supports (color:color-mix(in lab,red,red)){.fade-left[data-v-6cf7598d]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 100%)0%,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 20%)30%,var(--scalar-address-bar-bg)100%)}}.fade-left[data-v-6cf7598d]{min-width:6px;animation-direction:normal;left:-1px}.fade-right[data-v-6cf7598d]{background:linear-gradient(90deg,var(--scalar-address-bar-bg)0%,var(--scalar-address-bar-bg)30%,var(--scalar-address-bar-bg)100%)}@supports (color:color-mix(in lab,red,red)){.fade-right[data-v-6cf7598d]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 100%)0%,color-mix(in srgb,var(--scalar-address-bar-bg),transparent 20%)30%,var(--scalar-address-bar-bg)100%)}}.fade-right[data-v-6cf7598d]{min-width:24px;right:-1px}@keyframes fadein-6cf7598d{0%{opacity:0}1%{opacity:1}}.address-bar-bg-states[data-v-6cf7598d]{--scalar-address-bar-bg:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.address-bar-bg-states[data-v-6cf7598d]{--scalar-address-bar-bg:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.address-bar-bg-states[data-v-6cf7598d]{background:var(--scalar-address-bar-bg)}.address-bar-bg-states[data-v-6cf7598d]:has(.cm-focused){--scalar-address-bar-bg:var(--scalar-background-1);border-color:var(--scalar-border-color);outline-width:1px;outline-style:solid}.address-bar-bg-states:has(.cm-focused) .fade-left[data-v-6cf7598d],.address-bar-bg-states:has(.cm-focused) .fade-right[data-v-6cf7598d]{--scalar-address-bar-bg:var(--scalar-background-1)}.app-exit-button[data-v-d30bcf30]{color:#fff;background:#0000001a}.app-exit-button[data-v-d30bcf30]:hover{background:#ffffff1a}.fade-request-section-content[data-v-f97cc68c]{background:linear-gradient(to left,var(--scalar-background-1)64%,transparent)}.filter-hover[data-v-f97cc68c]{height:100%;padding-left:24px;padding-right:39px;transition:width 0s ease-in-out .2s;position:absolute;right:0;overflow:hidden}.filter-hover[data-v-f97cc68c]:hover,.filter-hover[data-v-f97cc68c]:has(:focus-visible){z-index:10;width:100%}.filter-hover[data-v-f97cc68c]:before{content:"";background-color:var(--scalar-background-1);opacity:0;pointer-events:none;width:100%;height:fit-content;transition:all .3s ease-in-out;position:absolute;top:0;left:0}.filter-hover-item[data-v-f97cc68c]{opacity:0}.filter-hover-item[data-v-f97cc68c]:not(:last-of-type){transform:translateY(3px)}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]{transition:opacity .2s ease-in-out,transform .2s ease-in-out}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:last-of-type{transition-delay:50ms}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(2){transition-delay:.1s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(3){transition-delay:.15s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(4){transition-delay:.2s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(5){transition-delay:.25s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(6){transition-delay:.3s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c]:nth-last-of-type(7){transition-delay:.35s}.filter-hover:hover .filter-hover-item[data-v-f97cc68c],.filter-hover:has(:focus-visible) .filter-hover-item[data-v-f97cc68c]{opacity:1;transform:translateZ(0)}.filter-hover[data-v-f97cc68c]:hover:before,.filter-hover[data-v-f97cc68c]:has(:focus-visible):before{opacity:.9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.filter-button[data-v-f97cc68c]{top:50%;transform:translateY(-50%)}.context-bar-group:hover .context-bar-group-hover\\:text-c-1[data-v-f97cc68c],.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:text-c-1[data-v-f97cc68c]{--tw-text-opacity:1;color:rgb(var(--scalar-color-1)/var(--tw-text-opacity))}.context-bar-group:hover .context-bar-group-hover\\:hidden[data-v-f97cc68c],.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:hidden[data-v-f97cc68c]{display:none}.schema>span[data-v-4e1aabec]:not(:first-child):before{content:"·";margin:0 .5ch;display:block}.schema>span[data-v-4e1aabec]{white-space:nowrap;display:flex}[data-v-1434cda7] .cm-editor{padding:0}[data-v-1434cda7] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-1434cda7] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-1434cda7] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-1434cda7] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-1434cda7] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.filemask[data-v-1434cda7]{-webkit-mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2)20px);mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2)20px)}[data-v-a0dd1ca2] .cm-content{font-size:var(--scalar-small)}[data-v-25ff4902] .cm-editor{padding:0}[data-v-25ff4902] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-25ff4902] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-25ff4902] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-25ff4902] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-25ff4902] .cm-line{text-overflow:ellipsis;word-break:break-word;padding:0;overflow:hidden}.required[data-v-25ff4902]:after{content:"Required"}input[data-v-25ff4902]::placeholder{color:var(--scalar-color-3)}.scalar-password-input[data-v-25ff4902]{text-security:disc;-webkit-text-security:disc;-moz-text-security:disc}.request-section-content[data-v-753ab733]{--scalar-border-width:.5px}.request-section-content-filter[data-v-753ab733]{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons[data-v-753ab733]{opacity:1}.group-hover-input[data-v-753ab733]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-753ab733]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.group:hover .group-hover-input[data-v-753ab733]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-753ab733]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-753ab733]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}.light-mode .bg-preview[data-v-c02b5bb8]{background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'16\' height=\'16\' fill=\'%23000\' fill-opacity=\'10%25\'%3E%3Crect width=\'8\' height=\'8\' /%3E%3Crect x=\'8\' y=\'8\' width=\'8\' height=\'8\' /%3E%3C/svg%3E")}.dark-mode .bg-preview[data-v-c02b5bb8]{background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'16\' height=\'16\' fill=\'%23FFF\' fill-opacity=\'10%25\'%3E%3Crect width=\'8\' height=\'8\' /%3E%3Crect x=\'8\' y=\'8\' width=\'8\' height=\'8\' /%3E%3C/svg%3E")}[data-v-10022578] .cm-editor{font-size:var(--scalar-small);background-color:#0000;outline:none}[data-v-10022578] .cm-gutters{background-color:var(--scalar-background-1);border-radius:var(--scalar-radius)0 0 var(--scalar-radius)}.body-raw[data-v-10022578] .cm-scroller{min-width:100%;overflow:auto}.scalar-code-block[data-v-32d6d6ca] .hljs *{font-size:var(--scalar-small)}.ascii-art-animate .ascii-art-line[data-v-69ebd973]{border-right:1ch solid #0000;animation:4s step-end 1s both typewriter-69ebd973,.5s step-end infinite blinkTextCursor-69ebd973}@keyframes typewriter-69ebd973{0%{width:0}to{width:100%}}@keyframes blinkTextCursor-69ebd973{0%{border-right-color:currentColor}50%{border-right-color:#0000}}.keycap-n[data-v-b1211b87]{background:-webkit-linear-gradient(5deg,transparent 30%,var(--scalar-color-3)50%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.keycap-hotkey[data-v-b1211b87]{line-height:26px;position:absolute;top:32px}.scalar-version-number[data-v-159bd9b3]{width:76px;height:76px;font-size:8px;font-family:var(--scalar-font-code);box-shadow:inset 2px 0 0 2px var(--scalar-background-2);text-align:center;text-transform:initial;-webkit-text-decoration-color:var(--scalar-color-3);text-decoration-color:var(--scalar-color-3);border-radius:9px 9px 16px 12px;flex-direction:column;justify-content:center;align-items:center;margin-top:-113px;margin-left:-36px;line-height:11px;display:flex;position:absolute;transform:skewY(13deg)}.scalar-version-number a[data-v-159bd9b3]{background:var(--scalar-background-2);border:.5px solid var(--scalar-border-color);border-radius:3px;padding:2px 4px;font-weight:700;text-decoration:none}.gitbook-show[data-v-159bd9b3]{display:none}.v-enter-active[data-v-57ced68a]{transition:opacity .5s}.v-enter-from[data-v-57ced68a]{opacity:0}.animate-response-heading .response-heading[data-v-0a5d9028]{opacity:1;animation:.2s ease-in-out forwards push-response-0a5d9028}@keyframes push-response-0a5d9028{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.animate-response-heading .animate-response-children[data-v-0a5d9028]{opacity:0;animation:.2s ease-in-out 50ms forwards response-spans-0a5d9028}@keyframes response-spans-0a5d9028{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.request-card[data-v-13b785c0]{font-size:var(--scalar-font-size-3)}.request-method[data-v-13b785c0]{font-family:var(--scalar-font-code);text-transform:uppercase;margin-right:6px}.request-card-footer[data-v-13b785c0]{flex-shrink:0;justify-content:flex-end;padding:6px;display:flex}.request-card-footer-addon[data-v-13b785c0]{flex:1;align-items:center;min-width:0;display:flex}.request-editor-section[data-v-13b785c0]{flex:1;display:flex}.request-card-simple[data-v-13b785c0]{font-size:var(--scalar-small);justify-content:space-between;align-items:center;padding:8px 8px 8px 12px;display:flex}.code-snippet[data-v-13b785c0]{flex-direction:column;width:100%;display:flex}.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d]{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d]{background:color-mix(in srgb,var(--scalar-color-red),transparent 95%)}}.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d]{color:var(--scalar-color-red)}.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d]:hover,.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d]:focus{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d]:hover,.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d]:focus{background:color-mix(in srgb,var(--scalar-color-red),transparent 90%)}}.resizer[data-v-e2c54c18]{cursor:col-resize;z-index:100;border-right:2px solid #0000;width:5px;transition:border-right-color .3s;position:absolute;top:0;bottom:0;right:0}.scalar-dragging{cursor:col-resize}.resizer:hover,.scalar-dragging .resizer{border-right-color:var(--scalar-background-3)}.scalar-dragging:after{content:"";display:block;position:absolute;inset:0}.ref-search-meta[data-v-cc152ff7]{background:var(--scalar-background-1);border-bottom-left-radius:var(--scalar-radius-lg);border-bottom-right-radius:var(--scalar-radius-lg);font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);border-top:var(--scalar-border-width)solid var(--scalar-border-color);gap:12px;padding:6px 12px;display:flex}.splash-screen[data-v-af32615f]{opacity:0;animation:.5s ease-in-out forwards fadeIn-af32615f}.logo-icon[data-v-af32615f]{opacity:0;animation:.6s ease-in-out .2s forwards fadeInLogo-af32615f,2s ease-in-out .8s infinite pulse-af32615f}@keyframes fadeIn-af32615f{0%{opacity:0}to{opacity:.9}}@keyframes fadeInLogo-af32615f{0%{opacity:0;transform:scale(.9)}to{opacity:.8;transform:scale(1)}}@keyframes pulse-af32615f{0%,to{opacity:.8}50%{opacity:.6}}.scroll-timeline-x[data-v-981120f2]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none;scrollbar-width:none;overflow:auto}.scroll-timeline-x[data-v-981120f2]::-webkit-scrollbar{display:none}.commandmenu[data-v-7f3e459b]{box-shadow:var(--scalar-shadow-2);border-radius:var(--scalar-radius-lg);background-color:var(--scalar-background-1);opacity:0;width:100%;max-width:580px;max-height:60dvh;margin:12px;animation:.3s ease-in-out .1s forwards fadeincommandmenu-7f3e459b;position:fixed;top:150px;left:50%;transform:translate(-50%,10px)}.commandmenu-overlay[data-v-7f3e459b]{cursor:pointer;background:#0003;animation:.3s ease-in-out forwards fadeincommand-7f3e459b;position:fixed;inset:0}@keyframes fadeincommand-7f3e459b{0%{opacity:0}to{opacity:1}}@keyframes fadeincommandmenu-7f3e459b{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.scalar-modal-layout .scalar-button-danger[data-v-98703c3c]{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-modal-layout .scalar-button-danger[data-v-98703c3c]{background:color-mix(in srgb,var(--scalar-color-red),transparent 95%)}}.scalar-modal-layout .scalar-button-danger[data-v-98703c3c]{color:var(--scalar-color-red)}.scalar-modal-layout .scalar-button-danger[data-v-98703c3c]:hover,.scalar-modal-layout .scalar-button-danger[data-v-98703c3c]:focus{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-modal-layout .scalar-button-danger[data-v-98703c3c]:hover,.scalar-modal-layout .scalar-button-danger[data-v-98703c3c]:focus{background:color-mix(in srgb,var(--scalar-color-red),transparent 90%)}}.empty-sidebar-item-content[data-v-7ac2f137]{display:none}.empty-sidebar-item .empty-sidebar-item-content[data-v-7ac2f137]{display:block}.rabbitjump[data-v-7ac2f137]{opacity:0}.empty-sidebar-item:hover .rabbitjump[data-v-7ac2f137]{opacity:1;animation:.5s step-end infinite rabbitAnimation-7ac2f137}.empty-sidebar-item:hover .rabbitsit[data-v-7ac2f137]{opacity:0;animation:.5s step-end infinite rabbitAnimation2-7ac2f137}.empty-sidebar-item:hover .rabbit-ascii[data-v-7ac2f137]{animation:8s linear infinite rabbitRun-7ac2f137}@keyframes rabbitRun-7ac2f137{0%{transform:translateZ(0)}25%{transform:translate(250px)}25.01%{transform:translate(-250px)}75%{transform:translate(250px)}75.01%{transform:translate(-250px)}to{transform:translateZ(0)}}@keyframes rabbitAnimation-7ac2f137{0%,to{opacity:1}50%{opacity:0}}@keyframes rabbitAnimation2-7ac2f137{0%,to{opacity:0}50%{opacity:1;transform:translateY(-8px)}}.nav-single-tab[data-v-2e741aab]{width:100%;height:100%;color:var(--scalar-color-1);justify-content:center;align-items:center;display:flex;overflow:hidden}.nav-item[data-v-2e741aab]{cursor:pointer;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-3);border:var(--scalar-border-width)solid var(--scalar-background-2);color:var(--scalar-color-3);flex:1;justify-content:center;align-items:center;min-width:0;padding:4.5px 1rem;display:flex;position:relative;overflow:hidden}.dark-mode .nav-item[data-v-2e741aab]{background:var(--scalar-background-2)}@supports (color:color-mix(in lab,red,red)){.dark-mode .nav-item[data-v-2e741aab]{background:color-mix(in srgb,var(--scalar-background-2),transparent)}}.nav-item-icon-copy[data-v-2e741aab]{white-space:nowrap;max-width:100%;-webkit-mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2)20px);mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2)20px);overflow:hidden}.nav-item:hover .nav-item-icon-copy[data-v-2e741aab]{-webkit-mask-image:linear-gradient(to left,transparent 20px,var(--scalar-background-2)40px);mask-image:linear-gradient(to left,transparent 20px,var(--scalar-background-2)40px)}.nav-item-copy[data-v-2e741aab]{max-width:calc(100% - 20px)}.nav-item[data-v-2e741aab]:hover{color:var(--scalar-color-1)}.nav-item__active[data-v-2e741aab]{background-color:var(--scalar-background-1);color:var(--scalar-color-1);border-color:var(--scalar-border-color)}.dark-mode .nav-item__active[data-v-2e741aab]{background-color:var(--scalar-background-2)}.nav-item-close[data-v-2e741aab]{border-radius:var(--scalar-radius);stroke-width:1.5px;max-width:20px;color:var(--scalar-color-3);opacity:0;background:0 0;margin-left:-20px;padding:2px;position:absolute;right:3px}.nav-item:hover .nav-item-close[data-v-2e741aab]{opacity:1}.nav-item-close[data-v-2e741aab]:hover{background-color:var(--scalar-background-4)}.nav-item__active .nav-item-close[data-v-2e741aab]:hover{background-color:var(--scalar-background-2)}.download-app-button[data-v-d9bec97b]{box-shadow:0 0 0 .5px var(--scalar-border-color);background:linear-gradient(#ffffffbf,#00000009)}.dark-mode .download-app-button[data-v-d9bec97b]{background:linear-gradient(#ffffff1a,#00000026)}.download-app-button[data-v-d9bec97b]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .download-app-button[data-v-d9bec97b]:hover{background:linear-gradient(#00000026,#ffffff1a)}#scalar-client{background-color:var(--scalar-background-2);flex-direction:column;width:100dvw;height:100dvh;display:flex;position:relative}.dark-mode #scalar-client{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.dark-mode #scalar-client{background-color:color-mix(in srgb,var(--scalar-background-1)65%,black)}}[data-v-28c8509c] .cm-editor{padding:0}[data-v-28c8509c] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-28c8509c] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-28c8509c] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-28c8509c] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-28c8509c] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}[data-v-6fc24fdf] .cm-editor{padding:0}[data-v-6fc24fdf] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-6fc24fdf] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-6fc24fdf] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-6fc24fdf] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-6fc24fdf] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.scalar .scalar-app-layout[data-v-86f0c0fb]{background:var(--scalar-background-1);opacity:0;border:var(--scalar-border-width)solid var(--scalar-border-color);border-radius:8px;width:100%;max-width:1390px;height:calc(100% - 120px);margin:auto;animation:.35s forwards scalarapiclientfadein-86f0c0fb;position:relative;overflow:hidden}@media (max-width:720px) and (max-height:480px){.scalar .scalar-app-layout[data-v-86f0c0fb]{height:100%;max-height:90svh}}@keyframes scalarapiclientfadein-86f0c0fb{0%{opacity:0}to{opacity:1}}.scalar .scalar-app-exit[data-v-86f0c0fb]{cursor:pointer;z-index:-1;background:#00000038;width:100vw;height:100vh;transition:all .3s ease-in-out;animation:.35s forwards scalardrawerexitfadein-86f0c0fb;position:fixed;top:0;left:0}.dark-mode .scalar .scalar-app-exit[data-v-86f0c0fb]{background:#00000073}.scalar .scalar-app-exit[data-v-86f0c0fb]:before{text-align:center;color:#fff;opacity:.6;font-family:sans-serif;font-size:30px;font-weight:100;line-height:50px;position:absolute;top:0;right:12px}.scalar .scalar-app-exit[data-v-86f0c0fb]:hover:before{opacity:1}@keyframes scalardrawerexitfadein-86f0c0fb{0%{opacity:0}to{opacity:1}}.scalar-container[data-v-86f0c0fb]{visibility:visible;z-index:10000;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;bottom:0;left:0;overflow:hidden}.scalar .url-form-input[data-v-86f0c0fb]{min-height:auto!important}.scalar .scalar-container[data-v-86f0c0fb]{line-height:normal}.scalar .scalar-app-header span[data-v-86f0c0fb]{color:var(--scalar-color-3)}.scalar .scalar-app-header a[data-v-86f0c0fb]{color:var(--scalar-color-1)}.scalar .scalar-app-header a[data-v-86f0c0fb]:hover{text-decoration:underline}.scalar-activate[data-v-86f0c0fb]{cursor:pointer;align-items:center;gap:6px;width:fit-content;margin:0 .75rem .75rem auto;font-size:.875rem;font-weight:600;line-height:24px;display:flex}.scalar-activate-button[data-v-86f0c0fb]{color:var(--scalar-color-blue);appearance:none;background:0 0;border:none;outline:none;align-items:center;gap:6px;padding:0 .5rem;display:flex}.scalar-activate:hover .scalar-activate-button[data-v-86f0c0fb]{background:var(--scalar-background-3);border-radius:3px}.scalar-button-danger[data-v-cda64f02]{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-button-danger[data-v-cda64f02]{background:color-mix(in srgb,var(--scalar-color-red),transparent 95%)}}.scalar-button-danger[data-v-cda64f02]{color:var(--scalar-color-red)}.scalar-button-danger[data-v-cda64f02]:hover,.scalar-button-danger[data-v-cda64f02]:focus{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-button-danger[data-v-cda64f02]:hover,.scalar-button-danger[data-v-cda64f02]:focus{background:color-mix(in srgb,var(--scalar-color-red),transparent 90%)}}.schema>span[data-v-4df72868]:not(:first-child):before{content:"·";margin:0 .5ch;display:block}.schema>span[data-v-4df72868]{white-space:nowrap;display:flex}[data-v-04661eb4] .cm-editor{padding:0}[data-v-04661eb4] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-04661eb4] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-04661eb4] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-04661eb4] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-04661eb4] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.filemask[data-v-04661eb4]{-webkit-mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2)20px);mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2)20px)}[data-v-9aa4b63a] .cm-content{font-size:var(--scalar-small)}.auth-combobox-position[data-v-0bb98074]{margin-left:120px}.scroll-timeline-x[data-v-0bb98074]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.fade-left[data-v-0bb98074],.fade-right[data-v-0bb98074]{content:"";pointer-events:none;height:100%;min-height:24px;animation-name:fadein-0bb98074;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-0bb98074]{background:linear-gradient(-90deg,var(--scalar-background-1)0%,var(--scalar-background-1)60%,var(--scalar-background-1)100%)}@supports (color:color-mix(in lab,red,red)){.fade-left[data-v-0bb98074]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%)0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%)60%,var(--scalar-background-1)100%)}}.fade-left[data-v-0bb98074]{min-width:3px;animation-direction:normal;left:-1px}.fade-right[data-v-0bb98074]{background:linear-gradient(90deg,var(--scalar-background-1)0%,var(--scalar-background-1)60%,var(--scalar-background-1)100%)}@supports (color:color-mix(in lab,red,red)){.fade-right[data-v-0bb98074]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%)0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%)60%,var(--scalar-background-1)100%)}}.fade-right[data-v-0bb98074]{min-width:24px;margin-left:-20px;top:0;right:-1px}@keyframes fadein-0bb98074{0%{opacity:0}15%{opacity:1}}.auth-combobox-position[data-v-3f1067a4]{margin-left:120px}.scroll-timeline-x[data-v-3f1067a4]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.fade-left[data-v-3f1067a4],.fade-right[data-v-3f1067a4]{content:"";pointer-events:none;height:100%;min-height:24px;animation-name:fadein-3f1067a4;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;position:sticky}.fade-left[data-v-3f1067a4]{background:linear-gradient(-90deg,var(--scalar-background-1)0%,var(--scalar-background-1)60%,var(--scalar-background-1)100%)}@supports (color:color-mix(in lab,red,red)){.fade-left[data-v-3f1067a4]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%)0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%)60%,var(--scalar-background-1)100%)}}.fade-left[data-v-3f1067a4]{min-width:3px;animation-direction:normal;left:-1px}.fade-right[data-v-3f1067a4]{background:linear-gradient(90deg,var(--scalar-background-1)0%,var(--scalar-background-1)60%,var(--scalar-background-1)100%)}@supports (color:color-mix(in lab,red,red)){.fade-right[data-v-3f1067a4]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%)0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%)60%,var(--scalar-background-1)100%)}}.fade-right[data-v-3f1067a4]{min-width:24px;margin-left:-20px;top:0;right:-1px}@keyframes fadein-3f1067a4{0%{opacity:0}15%{opacity:1}}[data-v-2891f052] code.hljs *{font-size:var(--scalar-small)}.request-section-content[data-v-e85e2882]{--scalar-border-width:.5px}.request-section-content-filter[data-v-e85e2882]{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons[data-v-e85e2882]{opacity:1}.group-hover-input[data-v-e85e2882]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-e85e2882]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.group:hover .group-hover-input[data-v-e85e2882]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-e85e2882]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-e85e2882]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}.light-mode .bg-preview[data-v-0956ad2d]{background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'16\' height=\'16\' fill=\'%23000\' fill-opacity=\'10%25\'%3E%3Crect width=\'8\' height=\'8\' /%3E%3Crect x=\'8\' y=\'8\' width=\'8\' height=\'8\' /%3E%3C/svg%3E")}.dark-mode .bg-preview[data-v-0956ad2d]{background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'16\' height=\'16\' fill=\'%23FFF\' fill-opacity=\'10%25\'%3E%3Crect width=\'8\' height=\'8\' /%3E%3Crect x=\'8\' y=\'8\' width=\'8\' height=\'8\' /%3E%3C/svg%3E")}[data-v-85d2902e] .cm-editor{font-size:var(--scalar-small);background-color:#0000;outline:none}[data-v-85d2902e] .cm-gutters{background-color:var(--scalar-background-1);border-radius:var(--scalar-radius)0 0 var(--scalar-radius)}.body-raw[data-v-85d2902e] .cm-scroller{min-width:100%;overflow:auto}.scalar-code-block[data-v-17966bf4] .hljs *{font-size:var(--scalar-small)}.response-body-virtual[data-headlessui-state=open],.response-body-virtual[data-headlessui-state=open] .diclosure-panel{flex-direction:column;flex-grow:1;display:flex}.scalar-version-number[data-v-6d2bdb61]{width:76px;height:76px;font-size:8px;font-family:var(--scalar-font-code);box-shadow:inset 2px 0 0 2px var(--scalar-background-2);text-align:center;text-transform:initial;-webkit-text-decoration-color:var(--scalar-color-3);text-decoration-color:var(--scalar-color-3);border-radius:9px 9px 16px 12px;flex-direction:column;justify-content:center;align-items:center;margin-top:-113px;margin-left:-36px;line-height:11px;display:flex;position:absolute;transform:skewY(13deg)}.scalar-version-number a[data-v-6d2bdb61]{background:var(--scalar-background-2);border:.5px solid var(--scalar-border-color);border-radius:3px;padding:2px 4px;font-weight:700;text-decoration:none}.gitbook-show[data-v-6d2bdb61]{display:none}.v-enter-active[data-v-7ec8af01]{transition:opacity .5s}.v-enter-from[data-v-7ec8af01]{opacity:0}.animate-response-heading .response-heading[data-v-7138ed84]{opacity:1;animation:.2s ease-in-out forwards push-response-7138ed84}@keyframes push-response-7138ed84{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.animate-response-heading .animate-response-children[data-v-7138ed84]{opacity:0;animation:.2s ease-in-out 50ms forwards response-spans-7138ed84}@keyframes response-spans-7138ed84{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.ellipsis-position[data-v-01a1ab71]{transform:translate(calc(-100% - 4.5px))}.indent-border-line-offset[data-v-4f5a9d1f]:before{left:var(--0bed2d4e)}.indent-padding-left[data-v-4f5a9d1f]{padding-left:calc(var(--57ee1db0) + 6px)}.sidebar-folderitem[data-v-4f5a9d1f] .ellipsis-position{right:6px;transform:none}.search-button-fade[data-v-bca9c474]{background:linear-gradient(var(--scalar-background-1)32px,var(--scalar-background-1)38px,transparent)}@supports (color:color-mix(in lab,red,red)){.search-button-fade[data-v-bca9c474]{background:linear-gradient(var(--scalar-background-1)32px,color-mix(in srgb,var(--scalar-background-1),transparent)38px,transparent)}}.empty-sidebar-item-content[data-v-bca9c474]{display:none}.empty-sidebar-item .empty-sidebar-item-content[data-v-bca9c474]{display:block}.rabbitjump[data-v-bca9c474]{opacity:0}.empty-sidebar-item:hover .rabbitjump[data-v-bca9c474]{opacity:1;animation:.5s step-end infinite rabbitAnimation-bca9c474}.empty-sidebar-item:hover .rabbitsit[data-v-bca9c474]{opacity:0;animation:.5s step-end infinite rabbitAnimation2-bca9c474}.empty-sidebar-item:hover .rabbit-ascii[data-v-bca9c474]{animation:8s linear infinite rabbitRun-bca9c474}@keyframes rabbitRun-bca9c474{0%{transform:translateZ(0)}25%{transform:translate(250px)}25.01%{transform:translate(-250px)}75%{transform:translate(250px)}75.01%{transform:translate(-250px)}to{transform:translateZ(0)}}@keyframes rabbitAnimation-bca9c474{0%,to{opacity:1}50%{opacity:0}}@keyframes rabbitAnimation2-bca9c474{0%,to{opacity:0}50%{opacity:1;transform:translateY(-8px)}}.request-text-color-text[data-v-c508c571]{color:var(--scalar-color-1);background:linear-gradient(var(--scalar-background-1),var(--scalar-background-3));box-shadow:0 0 0 1px var(--scalar-border-color)}@media screen and (max-width:800px){.sidebar-active-hide-layout[data-v-c508c571]{display:none}.sidebar-active-width[data-v-c508c571]{width:100%}}.gitbook-show[data-v-c8df97c6]{display:none}.app-exit-button[data-v-c8df97c6]{color:#fff;background:#0000001a}.app-exit-button[data-v-c8df97c6]:hover{background:#ffffff1a}.request-text-color-text[data-v-57ae0d10]{color:var(--scalar-color-1);background:linear-gradient(var(--scalar-background-1),var(--scalar-background-3));box-shadow:0 0 0 1px var(--scalar-border-color)}@media screen and (max-width:800px){.sidebar-active-hide-layout[data-v-57ae0d10]{display:none}.sidebar-active-width[data-v-57ae0d10]{width:100%}}.group-hover-input[data-v-fced736a]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-fced736a]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.group:hover .group-hover-input[data-v-fced736a]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-fced736a]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-fced736a]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}[data-v-68d5218e] .markdown h2{font-size:var(--scalar-font-size-2)}[data-v-5997a667] .cm-content{min-height:fit-content}[data-v-5997a667] .cm-scroller{max-width:100%;overflow:auto hidden}[data-v-83bfcc8a] .cm-editor{padding:0}[data-v-83bfcc8a] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-83bfcc8a] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-83bfcc8a] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-83bfcc8a] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-83bfcc8a] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.scalar-collection-auth[data-v-cc87292e]{border:var(--scalar-border-width)solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden}.scalar-button-danger[data-v-f353959a]{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-button-danger[data-v-f353959a]{background:color-mix(in srgb,var(--scalar-color-red),transparent 95%)}}.scalar-button-danger[data-v-f353959a]{color:var(--scalar-color-red)}.scalar-button-danger[data-v-f353959a]:hover,.scalar-button-danger[data-v-f353959a]:focus{background:var(--scalar-color-red)}@supports (color:color-mix(in lab,red,red)){.scalar-button-danger[data-v-f353959a]:hover,.scalar-button-danger[data-v-f353959a]:focus{background:color-mix(in srgb,var(--scalar-color-red),transparent 90%)}}.dragover-asChild[data-v-a89d6a6e],.dragover-above[data-v-a89d6a6e],.dragover-below[data-v-a89d6a6e]{position:relative}.dragover-above[data-v-a89d6a6e]:after,.dragover-below[data-v-a89d6a6e]:after{content:"";background:var(--scalar-color-blue);width:100%;height:3px;display:block;position:absolute;top:-1.5px}@supports (color:color-mix(in lab,red,red)){.dragover-above[data-v-a89d6a6e]:after,.dragover-below[data-v-a89d6a6e]:after{background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%)}}.dragover-above[data-v-a89d6a6e]:after,.dragover-below[data-v-a89d6a6e]:after{pointer-events:none;border-radius:var(--scalar-radius)}.dragover-below[data-v-a89d6a6e]:after{top:initial;bottom:-1.5px}.dragover-asChild[data-v-a89d6a6e]:after{content:"";background:var(--scalar-color-blue);width:100%;height:100%;display:block;position:absolute;top:0;left:0}@supports (color:color-mix(in lab,red,red)){.dragover-asChild[data-v-a89d6a6e]:after{background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%)}}.dragover-asChild[data-v-a89d6a6e]:after{pointer-events:none;border-radius:var(--scalar-radius)}.empty-variable-name[data-v-0b6c70e4]:empty:before{content:"Untitled";color:var(--scalar-color-3)}.form-group[data-v-694018d6]{margin-bottom:1rem}.modal-actions[data-v-694018d6]{justify-content:flex-end;gap:1rem;display:flex}.group-hover-input[data-v-5a23cb87]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-5a23cb87]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab,red,red)){.group:hover .group-hover-input[data-v-5a23cb87]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-5a23cb87]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-5a23cb87]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}[data-v-7c1a2f6c] .cm-content{min-height:fit-content}[data-v-7c1a2f6c] .cm-scroller{max-width:100%;overflow:auto hidden}.scalar-collection-auth[data-v-6fe7b6ea]{border:var(--scalar-border-width)solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden}:root{--scalar-loaded-api-reference:true}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@layer scalar-config{.scalar-api-reference[data-v-624789fe]{--refs-sidebar-width: var(--scalar-sidebar-width, 0px);--refs-header-height: calc( var(--scalar-custom-header-height) + var(--scalar-header-height, 0px) );--refs-viewport-offset: calc( var(--refs-header-height, 0px) + var(--refs-content-offset, 0px) );--refs-viewport-height: calc( var(--full-height, 100dvh) - var(--refs-viewport-offset, 0px) );--refs-content-max-width: var(--scalar-content-max-width, 1540px)}.scalar-api-reference.references-classic[data-v-624789fe]{--refs-content-max-width: var(--scalar-content-max-width, 1420px);min-height:100dvh;--refs-sidebar-width: 0}.scalar-api-reference[data-v-624789fe]:has(.api-reference-toolbar){--refs-content-offset: 48px}}.references-layout[data-v-624789fe]{min-height:100dvh;min-width:100%;max-width:100%;flex:1;--full-height: 100dvh;display:grid;grid-template-rows:var(--scalar-header-height, 0px) repeat(2,auto);grid-template-columns:auto 1fr;grid-template-areas:"header header" "navigation rendered" "footer footer";background:var(--scalar-background-1)}.references-editor[data-v-624789fe]{grid-area:editor;display:flex;min-width:0;background:var(--scalar-background-1)}.references-rendered[data-v-624789fe]{position:relative;grid-area:rendered;min-width:0;background:var(--scalar-background-1)}.scalar-api-reference.references-classic[data-v-624789fe],.references-classic .references-rendered[data-v-624789fe]{height:initial!important;max-height:initial!important}@layer scalar-config{.references-sidebar[data-v-624789fe]{--refs-sidebar-width: var(--scalar-sidebar-width, 280px)}}.references-footer[data-v-624789fe]{grid-area:footer}@media (max-width: 1000px){.references-layout[data-v-624789fe]{grid-template-columns:auto;grid-template-rows:var(--scalar-header-height, 0px) 0px auto auto;grid-template-areas:"header" "navigation" "rendered" "footer"}.references-editable[data-v-624789fe]{grid-template-areas:"header" "navigation" "editor"}.references-rendered[data-v-624789fe]{position:static}}@media (max-width: 1000px){.scalar-api-references-standalone-mobile[data-v-624789fe]{--scalar-header-height: 50px}}.darklight-reference[data-v-624789fe]{width:100%;margin-top:auto}', + ), + ), + document.head.appendChild(a)); + } + } catch (r) { + console.error("vite-plugin-css-injected-by-js", r); + } +})(); +!(function (e) { + "function" == typeof define && define.amd ? define(e) : e(); +})(function () { + "use strict"; + const e = Object.freeze({ status: "aborted" }); + function t(e, t, n) { + function r(n, r) { + var o; + (Object.defineProperty(n, "_zod", { + value: n._zod ?? {}, + enumerable: !1, + }), + (o = n._zod).traits ?? (o.traits = new Set()), + n._zod.traits.add(e), + t(n, r)); + for (const e in i.prototype) + e in n || + Object.defineProperty(n, e, { + value: i.prototype[e].bind(n), + }); + ((n._zod.constr = i), (n._zod.def = r)); + } + const o = n?.Parent ?? Object; + class a extends o {} + function i(e) { + var t; + const o = n?.Parent ? new a() : this; + (r(o, e), (t = o._zod).deferred ?? (t.deferred = [])); + for (const n of o._zod.deferred) n(); + return o; + } + return ( + Object.defineProperty(a, "name", { value: e }), + Object.defineProperty(i, "init", { value: r }), + Object.defineProperty(i, Symbol.hasInstance, { + value: (t) => + !!(n?.Parent && t instanceof n.Parent) || t?._zod?.traits?.has(e), + }), + Object.defineProperty(i, "name", { value: e }), + i + ); + } + const n = Symbol("zod_brand"); + class r extends Error { + constructor() { + super( + "Encountered Promise during synchronous parse. Use .parseAsync() instead.", + ); + } + } + class o extends Error { + constructor(e) { + (super(`Encountered unidirectional transform during encode: ${e}`), + (this.name = "ZodEncodeError")); + } + } + const a = {}; + function i(e) { + return (e && Object.assign(a, e), a); + } + function s(e) { + const t = Object.values(e).filter((e) => "number" == typeof e); + return Object.entries(e) + .filter(([e, n]) => -1 === t.indexOf(+e)) + .map(([e, t]) => t); + } + function l(e, t = "|") { + return e.map((e) => $(e)).join(t); + } + function c(e, t) { + return "bigint" == typeof t ? t.toString() : t; + } + function u(e) { + return { + get value() { + { + const t = e(); + return (Object.defineProperty(this, "value", { value: t }), t); + } + }, + }; + } + function d(e) { + return null == e; + } + function p(e) { + const t = e.startsWith("^") ? 1 : 0, + n = e.endsWith("$") ? e.length - 1 : e.length; + return e.slice(t, n); + } + function f(e, t) { + const n = (e.toString().split(".")[1] || "").length, + r = t.toString(); + let o = (r.split(".")[1] || "").length; + if (0 === o && /\d?e-\d?/.test(r)) { + const e = r.match(/\d?e-(\d?)/); + e?.[1] && (o = Number.parseInt(e[1])); + } + const a = n > o ? n : o; + return ( + (Number.parseInt(e.toFixed(a).replace(".", "")) % + Number.parseInt(t.toFixed(a).replace(".", ""))) / + 10 ** a + ); + } + const h = Symbol("evaluating"); + function m(e, t, n) { + let r; + Object.defineProperty(e, t, { + get() { + if (r !== h) return (void 0 === r && ((r = h), (r = n())), r); + }, + set(n) { + Object.defineProperty(e, t, { value: n }); + }, + configurable: !0, + }); + } + function g(e, t, n) { + Object.defineProperty(e, t, { + value: n, + writable: !0, + enumerable: !0, + configurable: !0, + }); + } + function v(...e) { + const t = {}; + for (const n of e) { + const e = Object.getOwnPropertyDescriptors(n); + Object.assign(t, e); + } + return Object.defineProperties({}, t); + } + function b(e) { + return JSON.stringify(e); + } + const y = + "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {}; + function O(e) { + return "object" == typeof e && null !== e && !Array.isArray(e); + } + const w = u(() => { + if ( + "undefined" != typeof navigator && + navigator?.userAgent?.includes("Cloudflare") + ) + return !1; + try { + return (new Function(""), !0); + } catch (e) { + return !1; + } + }); + function x(e) { + if (!1 === O(e)) return !1; + const t = e.constructor; + if (void 0 === t) return !0; + const n = t.prototype; + return ( + !1 !== O(n) && + !1 !== Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") + ); + } + function k(e) { + return x(e) ? { ...e } : Array.isArray(e) ? [...e] : e; + } + const S = new Set(["string", "number", "symbol"]), + _ = new Set([ + "string", + "number", + "bigint", + "boolean", + "symbol", + "undefined", + ]); + function E(e) { + return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); + } + function T(e, t, n) { + const r = new e._zod.constr(t ?? e._zod.def); + return ((t && !n?.parent) || (r._zod.parent = e), r); + } + function A(e) { + const t = e; + if (!t) return {}; + if ("string" == typeof t) return { error: () => t }; + if (void 0 !== t?.message) { + if (void 0 !== t?.error) + throw new Error("Cannot specify both `message` and `error` params"); + t.error = t.message; + } + return ( + delete t.message, + "string" == typeof t.error ? { ...t, error: () => t.error } : t + ); + } + function $(e) { + return "bigint" == typeof e + ? e.toString() + "n" + : "string" == typeof e + ? `"${e}"` + : `${e}`; + } + function C(e) { + return Object.keys(e).filter( + (t) => "optional" === e[t]._zod.optin && "optional" === e[t]._zod.optout, + ); + } + const P = { + safeint: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER], + int32: [-2147483648, 2147483647], + uint32: [0, 4294967295], + float32: [-34028234663852886e22, 34028234663852886e22], + float64: [-Number.MAX_VALUE, Number.MAX_VALUE], + }, + D = { + int64: [BigInt("-9223372036854775808"), BigInt("9223372036854775807")], + uint64: [BigInt(0), BigInt("18446744073709551615")], + }; + function I(e, t) { + const n = e._zod.def; + return T( + e, + v(e._zod.def, { + get shape() { + const e = {}; + for (const r in t) { + if (!(r in n.shape)) throw new Error(`Unrecognized key: "${r}"`); + t[r] && (e[r] = n.shape[r]); + } + return (g(this, "shape", e), e); + }, + checks: [], + }), + ); + } + function M(e, t) { + const n = e._zod.def, + r = v(e._zod.def, { + get shape() { + const r = { + ...e._zod.def.shape, + }; + for (const e in t) { + if (!(e in n.shape)) throw new Error(`Unrecognized key: "${e}"`); + t[e] && delete r[e]; + } + return (g(this, "shape", r), r); + }, + checks: [], + }); + return T(e, r); + } + function N(e, t) { + if (!x(t)) + throw new Error("Invalid input to extend: expected a plain object"); + const n = e._zod.def.checks; + if (n && n.length > 0) + throw new Error( + "Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.", + ); + const r = v(e._zod.def, { + get shape() { + const n = { ...e._zod.def.shape, ...t }; + return (g(this, "shape", n), n); + }, + checks: [], + }); + return T(e, r); + } + function R(e, t) { + if (!x(t)) + throw new Error("Invalid input to safeExtend: expected a plain object"); + const n = { + ...e._zod.def, + get shape() { + const n = { ...e._zod.def.shape, ...t }; + return (g(this, "shape", n), n); + }, + checks: e._zod.def.checks, + }; + return T(e, n); + } + function j(e, t) { + const n = v(e._zod.def, { + get shape() { + const n = { ...e._zod.def.shape, ...t._zod.def.shape }; + return (g(this, "shape", n), n); + }, + get catchall() { + return t._zod.def.catchall; + }, + checks: [], + }); + return T(e, n); + } + function L(e, t, n) { + const r = v(t._zod.def, { + get shape() { + const r = t._zod.def.shape, + o = { ...r }; + if (n) + for (const t in n) { + if (!(t in r)) throw new Error(`Unrecognized key: "${t}"`); + n[t] && + (o[t] = e ? new e({ type: "optional", innerType: r[t] }) : r[t]); + } + else + for (const t in r) + o[t] = e ? new e({ type: "optional", innerType: r[t] }) : r[t]; + return (g(this, "shape", o), o); + }, + checks: [], + }); + return T(t, r); + } + function U(e, t, n) { + const r = v(t._zod.def, { + get shape() { + const r = t._zod.def.shape, + o = { ...r }; + if (n) + for (const t in n) { + if (!(t in o)) throw new Error(`Unrecognized key: "${t}"`); + n[t] && (o[t] = new e({ type: "nonoptional", innerType: r[t] })); + } + else + for (const t in r) + o[t] = new e({ type: "nonoptional", innerType: r[t] }); + return (g(this, "shape", o), o); + }, + checks: [], + }); + return T(t, r); + } + function B(e, t = 0) { + if (!0 === e.aborted) return !0; + for (let n = t; n < e.issues.length; n++) + if (!0 !== e.issues[n]?.continue) return !0; + return !1; + } + function F(e, t) { + return t.map((t) => { + var n; + return ((n = t).path ?? (n.path = []), t.path.unshift(e), t); + }); + } + function z(e) { + return "string" == typeof e ? e : e?.message; + } + function Q(e, t, n) { + const r = { ...e, path: e.path ?? [] }; + if (!e.message) { + const o = + z(e.inst?._zod.def?.error?.(e)) ?? + z(t?.error?.(e)) ?? + z(n.customError?.(e)) ?? + z(n.localeError?.(e)) ?? + "Invalid input"; + r.message = o; + } + return ( + delete r.inst, + delete r.continue, + t?.reportInput || delete r.input, + r + ); + } + function q(e) { + return e instanceof Set + ? "set" + : e instanceof Map + ? "map" + : e instanceof File + ? "file" + : "unknown"; + } + function V(e) { + return Array.isArray(e) + ? "array" + : "string" == typeof e + ? "string" + : "unknown"; + } + function Z(...e) { + const [t, n, r] = e; + return "string" == typeof t + ? { message: t, code: "custom", input: n, inst: r } + : { ...t }; + } + function H(e) { + const t = atob(e), + n = new Uint8Array(t.length); + for (let r = 0; r < t.length; r++) n[r] = t.charCodeAt(r); + return n; + } + function W(e) { + let t = ""; + for (let n = 0; n < e.length; n++) t += String.fromCharCode(e[n]); + return btoa(t); + } + const X = Object.freeze( + Object.defineProperty( + { + __proto__: null, + BIGINT_FORMAT_RANGES: D, + Class: class { + constructor(...e) {} + }, + NUMBER_FORMAT_RANGES: P, + aborted: B, + allowsEval: w, + assert: function (e) {}, + assertEqual: function (e) { + return e; + }, + assertIs: function (e) {}, + assertNever: function (e) { + throw new Error(); + }, + assertNotEqual: function (e) { + return e; + }, + assignProp: g, + base64ToUint8Array: H, + base64urlToUint8Array: function (e) { + const t = e.replace(/-/g, "+").replace(/_/g, "/"); + return H(t + "=".repeat((4 - (t.length % 4)) % 4)); + }, + cached: u, + captureStackTrace: y, + cleanEnum: function (e) { + return Object.entries(e) + .filter(([e, t]) => Number.isNaN(Number.parseInt(e, 10))) + .map((e) => e[1]); + }, + cleanRegex: p, + clone: T, + cloneDef: function (e) { + return v(e._zod.def); + }, + createTransparentProxy: function (e) { + let t; + return new Proxy( + {}, + { + get: (n, r, o) => (t ?? (t = e()), Reflect.get(t, r, o)), + set: (n, r, o, a) => (t ?? (t = e()), Reflect.set(t, r, o, a)), + has: (n, r) => (t ?? (t = e()), Reflect.has(t, r)), + deleteProperty: (n, r) => ( + t ?? (t = e()), + Reflect.deleteProperty(t, r) + ), + ownKeys: (n) => (t ?? (t = e()), Reflect.ownKeys(t)), + getOwnPropertyDescriptor: (n, r) => ( + t ?? (t = e()), + Reflect.getOwnPropertyDescriptor(t, r) + ), + defineProperty: (n, r, o) => ( + t ?? (t = e()), + Reflect.defineProperty(t, r, o) + ), + }, + ); + }, + defineLazy: m, + esc: b, + escapeRegex: E, + extend: N, + finalizeIssue: Q, + floatSafeRemainder: f, + getElementAtPath: function (e, t) { + return t ? t.reduce((e, t) => e?.[t], e) : e; + }, + getEnumValues: s, + getLengthableOrigin: V, + getParsedType: (e) => { + const t = typeof e; + switch (t) { + case "undefined": + return "undefined"; + case "string": + return "string"; + case "number": + return Number.isNaN(e) ? "nan" : "number"; + case "boolean": + return "boolean"; + case "function": + return "function"; + case "bigint": + return "bigint"; + case "symbol": + return "symbol"; + case "object": + return Array.isArray(e) + ? "array" + : null === e + ? "null" + : e.then && + "function" == typeof e.then && + e.catch && + "function" == typeof e.catch + ? "promise" + : "undefined" != typeof Map && e instanceof Map + ? "map" + : "undefined" != typeof Set && e instanceof Set + ? "set" + : "undefined" != typeof Date && e instanceof Date + ? "date" + : "undefined" != typeof File && e instanceof File + ? "file" + : "object"; + default: + throw new Error(`Unknown data type: ${t}`); + } + }, + getSizableOrigin: q, + hexToUint8Array: function (e) { + const t = e.replace(/^0x/, ""); + if (t.length % 2 != 0) throw new Error("Invalid hex string length"); + const n = new Uint8Array(t.length / 2); + for (let r = 0; r < t.length; r += 2) + n[r / 2] = Number.parseInt(t.slice(r, r + 2), 16); + return n; + }, + isObject: O, + isPlainObject: x, + issue: Z, + joinValues: l, + jsonStringifyReplacer: c, + merge: j, + mergeDefs: v, + normalizeParams: A, + nullish: d, + numKeys: function (e) { + let t = 0; + for (const n in e) + Object.prototype.hasOwnProperty.call(e, n) && t++; + return t; + }, + objectClone: function (e) { + return Object.create( + Object.getPrototypeOf(e), + Object.getOwnPropertyDescriptors(e), + ); + }, + omit: M, + optionalKeys: C, + partial: L, + pick: I, + prefixIssues: F, + primitiveTypes: _, + promiseAllObject: function (e) { + const t = Object.keys(e), + n = t.map((t) => e[t]); + return Promise.all(n).then((e) => { + const n = {}; + for (let r = 0; r < t.length; r++) n[t[r]] = e[r]; + return n; + }); + }, + propertyKeyTypes: S, + randomString: function (e = 10) { + const t = "abcdefghijklmnopqrstuvwxyz"; + let n = ""; + for (let r = 0; r < e; r++) n += t[Math.floor(26 * Math.random())]; + return n; + }, + required: U, + safeExtend: R, + shallowClone: k, + stringifyPrimitive: $, + uint8ArrayToBase64: W, + uint8ArrayToBase64url: function (e) { + return W(e) + .replace(/\+/g, "-") + .replace(/\//g, "_") + .replace(/=/g, ""); + }, + uint8ArrayToHex: function (e) { + return Array.from(e) + .map((e) => e.toString(16).padStart(2, "0")) + .join(""); + }, + unwrapMessage: z, + }, + Symbol.toStringTag, + { value: "Module" }, + ), + ), + G = (e, t) => { + ((e.name = "$ZodError"), + Object.defineProperty(e, "_zod", { value: e._zod, enumerable: !1 }), + Object.defineProperty(e, "issues", { value: t, enumerable: !1 }), + (e.message = JSON.stringify(t, c, 2)), + Object.defineProperty(e, "toString", { + value: () => e.message, + enumerable: !1, + })); + }, + Y = t("$ZodError", G), + K = t("$ZodError", G, { + Parent: Error, + }); + function J(e, t = (e) => e.message) { + const n = {}, + r = []; + for (const o of e.issues) + o.path.length > 0 + ? ((n[o.path[0]] = n[o.path[0]] || []), n[o.path[0]].push(t(o))) + : r.push(t(o)); + return { formErrors: r, fieldErrors: n }; + } + function ee(e, t) { + const n = + t || + function (e) { + return e.message; + }, + r = { _errors: [] }, + o = (e) => { + for (const t of e.issues) + if ("invalid_union" === t.code && t.errors.length) + t.errors.map((e) => + o({ + issues: e, + }), + ); + else if ("invalid_key" === t.code) o({ issues: t.issues }); + else if ("invalid_element" === t.code) o({ issues: t.issues }); + else if (0 === t.path.length) r._errors.push(n(t)); + else { + let e = r, + o = 0; + for (; o < t.path.length; ) { + const r = t.path[o]; + (o === t.path.length - 1 + ? ((e[r] = e[r] || { + _errors: [], + }), + e[r]._errors.push(n(t))) + : (e[r] = e[r] || { _errors: [] }), + (e = e[r]), + o++); + } + } + }; + return (o(e), r); + } + function te(e, t) { + const n = + t || + function (e) { + return e.message; + }, + r = { + errors: [], + }, + o = (e, t = []) => { + var a, i; + for (const s of e.issues) + if ("invalid_union" === s.code && s.errors.length) + s.errors.map((e) => + o( + { + issues: e, + }, + s.path, + ), + ); + else if ("invalid_key" === s.code) o({ issues: s.issues }, s.path); + else if ("invalid_element" === s.code) + o({ issues: s.issues }, s.path); + else { + const e = [...t, ...s.path]; + if (0 === e.length) { + r.errors.push(n(s)); + continue; + } + let o = r, + l = 0; + for (; l < e.length; ) { + const t = e[l], + r = l === e.length - 1; + ("string" == typeof t + ? (o.properties ?? (o.properties = {}), + (a = o.properties)[t] ?? (a[t] = { errors: [] }), + (o = o.properties[t])) + : (o.items ?? (o.items = []), + (i = o.items)[t] ?? (i[t] = { errors: [] }), + (o = o.items[t])), + r && o.errors.push(n(s)), + l++); + } + } + }; + return (o(e), r); + } + function ne(e) { + const t = [], + n = e.map((e) => ("object" == typeof e ? e.key : e)); + for (const r of n) + "number" == typeof r + ? t.push(`[${r}]`) + : "symbol" == typeof r + ? t.push(`[${JSON.stringify(String(r))}]`) + : /[^\w$]/.test(r) + ? t.push(`[${JSON.stringify(r)}]`) + : (t.length && t.push("."), t.push(r)); + return t.join(""); + } + function re(e) { + const t = [], + n = [...e.issues].sort( + (e, t) => (e.path ?? []).length - (t.path ?? []).length, + ); + for (const r of n) + (t.push(`✖ ${r.message}`), + r.path?.length && t.push(` → at ${ne(r.path)}`)); + return t.join("\n"); + } + const oe = (e) => (t, n, o, a) => { + const s = o ? Object.assign(o, { async: !1 }) : { async: !1 }, + l = t._zod.run({ value: n, issues: [] }, s); + if (l instanceof Promise) throw new r(); + if (l.issues.length) { + const t = new (a?.Err ?? e)(l.issues.map((e) => Q(e, s, i()))); + throw (y(t, a?.callee), t); + } + return l.value; + }, + ae = oe(K), + ie = (e) => async (t, n, r, o) => { + const a = r ? Object.assign(r, { async: !0 }) : { async: !0 }; + let s = t._zod.run({ value: n, issues: [] }, a); + if ((s instanceof Promise && (s = await s), s.issues.length)) { + const t = new (o?.Err ?? e)(s.issues.map((e) => Q(e, a, i()))); + throw (y(t, o?.callee), t); + } + return s.value; + }, + se = ie(K), + le = (e) => (t, n, o) => { + const a = o ? { ...o, async: !1 } : { async: !1 }, + s = t._zod.run({ value: n, issues: [] }, a); + if (s instanceof Promise) throw new r(); + return s.issues.length + ? { + success: !1, + error: new (e ?? Y)(s.issues.map((e) => Q(e, a, i()))), + } + : { success: !0, data: s.value }; + }, + ce = le(K), + ue = (e) => async (t, n, r) => { + const o = r ? Object.assign(r, { async: !0 }) : { async: !0 }; + let a = t._zod.run({ value: n, issues: [] }, o); + return ( + a instanceof Promise && (a = await a), + a.issues.length + ? { success: !1, error: new e(a.issues.map((e) => Q(e, o, i()))) } + : { success: !0, data: a.value } + ); + }, + de = ue(K), + pe = (e) => (t, n, r) => { + const o = r + ? Object.assign(r, { direction: "backward" }) + : { + direction: "backward", + }; + return oe(e)(t, n, o); + }, + fe = pe(K), + he = (e) => (t, n, r) => oe(e)(t, n, r), + me = he(K), + ge = (e) => async (t, n, r) => { + const o = r + ? Object.assign(r, { direction: "backward" }) + : { direction: "backward" }; + return ie(e)(t, n, o); + }, + ve = ge(K), + be = (e) => async (t, n, r) => ie(e)(t, n, r), + ye = be(K), + Oe = (e) => (t, n, r) => { + const o = r + ? Object.assign(r, { direction: "backward" }) + : { direction: "backward" }; + return le(e)(t, n, o); + }, + we = Oe(K), + xe = (e) => (t, n, r) => le(e)(t, n, r), + ke = xe(K), + Se = (e) => async (t, n, r) => { + const o = r + ? Object.assign(r, { direction: "backward" }) + : { direction: "backward" }; + return ue(e)(t, n, o); + }, + _e = Se(K), + Ee = (e) => async (t, n, r) => ue(e)(t, n, r), + Te = Ee(K), + Ae = /^[cC][^\s-]{8,}$/, + $e = /^[0-9a-z]+$/, + Ce = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, + Pe = /^[0-9a-vA-V]{20}$/, + De = /^[A-Za-z0-9]{27}$/, + Ie = /^[a-zA-Z0-9_-]{21}$/, + Me = + /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, + Ne = + /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, + Re = (e) => + e + ? new RegExp( + `^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`, + ) + : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, + je = Re(4), + Le = Re(6), + Ue = Re(7), + Be = + /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, + Fe = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u, + ze = Fe; + function Qe() { + return new RegExp( + "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$", + "u", + ); + } + const qe = + /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, + Ve = + /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, + Ze = + /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, + He = + /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, + We = + /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, + Xe = /^[A-Za-z0-9_-]*$/, + Ge = + /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/, + Ye = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/, + Ke = /^\+(?:[0-9]){6,14}[0-9]$/, + Je = + "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", + et = new RegExp(`^${Je}$`); + function tt(e) { + const t = "(?:[01]\\d|2[0-3]):[0-5]\\d"; + return "number" == typeof e.precision + ? -1 === e.precision + ? `${t}` + : 0 === e.precision + ? `${t}:[0-5]\\d` + : `${t}:[0-5]\\d\\.\\d{${e.precision}}` + : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`; + } + function nt(e) { + return new RegExp(`^${tt(e)}$`); + } + function rt(e) { + const t = tt({ + precision: e.precision, + }), + n = ["Z"]; + (e.local && n.push(""), + e.offset && n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)")); + const r = `${t}(?:${n.join("|")})`; + return new RegExp(`^${Je}T(?:${r})$`); + } + const ot = (e) => + new RegExp( + `^${e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*"}$`, + ), + at = /^-?\d+n?$/, + it = /^-?\d+$/, + st = /^-?\d+(?:\.\d+)?/, + lt = /^(?:true|false)$/i, + ct = /^null$/i, + ut = /^undefined$/i, + dt = /^[^A-Z]*$/, + pt = /^[^a-z]*$/, + ft = /^[0-9a-fA-F]*$/; + function ht(e, t) { + return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`); + } + function mt(e) { + return new RegExp(`^[A-Za-z0-9_-]{${e}}$`); + } + const gt = ht(22, "=="), + vt = mt(22), + bt = ht(27, "="), + yt = mt(27), + Ot = ht(43, "="), + wt = mt(43), + xt = ht(64, ""), + kt = mt(64), + St = ht(86, "=="), + _t = mt(86), + Et = Object.freeze( + Object.defineProperty( + { + __proto__: null, + base64: We, + base64url: Xe, + bigint: at, + boolean: lt, + browserEmail: + /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, + cidrv4: Ze, + cidrv6: He, + cuid: Ae, + cuid2: $e, + date: et, + datetime: rt, + domain: Ye, + duration: Me, + e164: Ke, + email: Be, + emoji: Qe, + extendedDuration: + /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, + guid: Ne, + hex: ft, + hostname: Ge, + html5Email: + /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, + idnEmail: ze, + integer: it, + ipv4: qe, + ipv6: Ve, + ksuid: De, + lowercase: dt, + md5_base64: gt, + md5_base64url: vt, + md5_hex: /^[0-9a-fA-F]{32}$/, + nanoid: Ie, + null: ct, + number: st, + rfc5322Email: + /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, + sha1_base64: bt, + sha1_base64url: yt, + sha1_hex: /^[0-9a-fA-F]{40}$/, + sha256_base64: Ot, + sha256_base64url: wt, + sha256_hex: /^[0-9a-fA-F]{64}$/, + sha384_base64: xt, + sha384_base64url: kt, + sha384_hex: /^[0-9a-fA-F]{96}$/, + sha512_base64: St, + sha512_base64url: _t, + sha512_hex: /^[0-9a-fA-F]{128}$/, + string: ot, + time: nt, + ulid: Ce, + undefined: ut, + unicodeEmail: Fe, + uppercase: pt, + uuid: Re, + uuid4: je, + uuid6: Le, + uuid7: Ue, + xid: Pe, + }, + Symbol.toStringTag, + { value: "Module" }, + ), + ), + Tt = t("$ZodCheck", (e, t) => { + var n; + (e._zod ?? (e._zod = {}), + (e._zod.def = t), + (n = e._zod).onattach ?? (n.onattach = [])); + }), + At = { + number: "number", + bigint: "bigint", + object: "date", + }, + $t = t("$ZodCheckLessThan", (e, t) => { + Tt.init(e, t); + const n = At[typeof t.value]; + (e._zod.onattach.push((e) => { + const n = e._zod.bag, + r = + (t.inclusive ? n.maximum : n.exclusiveMaximum) ?? + Number.POSITIVE_INFINITY; + t.value < r && + (t.inclusive + ? (n.maximum = t.value) + : (n.exclusiveMaximum = t.value)); + }), + (e._zod.check = (r) => { + (t.inclusive ? r.value <= t.value : r.value < t.value) || + r.issues.push({ + origin: n, + code: "too_big", + maximum: t.value, + input: r.value, + inclusive: t.inclusive, + inst: e, + continue: !t.abort, + }); + })); + }), + Ct = t("$ZodCheckGreaterThan", (e, t) => { + Tt.init(e, t); + const n = At[typeof t.value]; + (e._zod.onattach.push((e) => { + const n = e._zod.bag, + r = + (t.inclusive ? n.minimum : n.exclusiveMinimum) ?? + Number.NEGATIVE_INFINITY; + t.value > r && + (t.inclusive + ? (n.minimum = t.value) + : (n.exclusiveMinimum = t.value)); + }), + (e._zod.check = (r) => { + (t.inclusive ? r.value >= t.value : r.value > t.value) || + r.issues.push({ + origin: n, + code: "too_small", + minimum: t.value, + input: r.value, + inclusive: t.inclusive, + inst: e, + continue: !t.abort, + }); + })); + }), + Pt = t("$ZodCheckMultipleOf", (e, t) => { + (Tt.init(e, t), + e._zod.onattach.push((e) => { + var n; + (n = e._zod.bag).multipleOf ?? (n.multipleOf = t.value); + }), + (e._zod.check = (n) => { + if (typeof n.value != typeof t.value) + throw new Error( + "Cannot mix number and bigint in multiple_of check.", + ); + ("bigint" == typeof n.value + ? n.value % t.value === BigInt(0) + : 0 === f(n.value, t.value)) || + n.issues.push({ + origin: typeof n.value, + code: "not_multiple_of", + divisor: t.value, + input: n.value, + inst: e, + continue: !t.abort, + }); + })); + }), + Dt = t("$ZodCheckNumberFormat", (e, t) => { + (Tt.init(e, t), (t.format = t.format || "float64")); + const n = t.format?.includes("int"), + r = n ? "int" : "number", + [o, a] = P[t.format]; + (e._zod.onattach.push((e) => { + const r = e._zod.bag; + ((r.format = t.format), + (r.minimum = o), + (r.maximum = a), + n && (r.pattern = it)); + }), + (e._zod.check = (i) => { + const s = i.value; + if (n) { + if (!Number.isInteger(s)) + return void i.issues.push({ + expected: r, + format: t.format, + code: "invalid_type", + continue: !1, + input: s, + inst: e, + }); + if (!Number.isSafeInteger(s)) + return void (s > 0 + ? i.issues.push({ + input: s, + code: "too_big", + maximum: Number.MAX_SAFE_INTEGER, + note: "Integers must be within the safe integer range.", + inst: e, + origin: r, + continue: !t.abort, + }) + : i.issues.push({ + input: s, + code: "too_small", + minimum: Number.MIN_SAFE_INTEGER, + note: "Integers must be within the safe integer range.", + inst: e, + origin: r, + continue: !t.abort, + })); + } + (s < o && + i.issues.push({ + origin: "number", + input: s, + code: "too_small", + minimum: o, + inclusive: !0, + inst: e, + continue: !t.abort, + }), + s > a && + i.issues.push({ + origin: "number", + input: s, + code: "too_big", + maximum: a, + inst: e, + })); + })); + }), + It = t("$ZodCheckBigIntFormat", (e, t) => { + Tt.init(e, t); + const [n, r] = D[t.format]; + (e._zod.onattach.push((e) => { + const o = e._zod.bag; + ((o.format = t.format), (o.minimum = n), (o.maximum = r)); + }), + (e._zod.check = (o) => { + const a = o.value; + (a < n && + o.issues.push({ + origin: "bigint", + input: a, + code: "too_small", + minimum: n, + inclusive: !0, + inst: e, + continue: !t.abort, + }), + a > r && + o.issues.push({ + origin: "bigint", + input: a, + code: "too_big", + maximum: r, + inst: e, + })); + })); + }), + Mt = t("$ZodCheckMaxSize", (e, t) => { + var n; + (Tt.init(e, t), + (n = e._zod.def).when ?? + (n.when = (e) => { + const t = e.value; + return !d(t) && void 0 !== t.size; + }), + e._zod.onattach.push((e) => { + const n = e._zod.bag.maximum ?? Number.POSITIVE_INFINITY; + t.maximum < n && (e._zod.bag.maximum = t.maximum); + }), + (e._zod.check = (n) => { + const r = n.value; + r.size <= t.maximum || + n.issues.push({ + origin: q(r), + code: "too_big", + maximum: t.maximum, + inclusive: !0, + input: r, + inst: e, + continue: !t.abort, + }); + })); + }), + Nt = t("$ZodCheckMinSize", (e, t) => { + var n; + (Tt.init(e, t), + (n = e._zod.def).when ?? + (n.when = (e) => { + const t = e.value; + return !d(t) && void 0 !== t.size; + }), + e._zod.onattach.push((e) => { + const n = e._zod.bag.minimum ?? Number.NEGATIVE_INFINITY; + t.minimum > n && (e._zod.bag.minimum = t.minimum); + }), + (e._zod.check = (n) => { + const r = n.value; + r.size >= t.minimum || + n.issues.push({ + origin: q(r), + code: "too_small", + minimum: t.minimum, + inclusive: !0, + input: r, + inst: e, + continue: !t.abort, + }); + })); + }), + Rt = t("$ZodCheckSizeEquals", (e, t) => { + var n; + (Tt.init(e, t), + (n = e._zod.def).when ?? + (n.when = (e) => { + const t = e.value; + return !d(t) && void 0 !== t.size; + }), + e._zod.onattach.push((e) => { + const n = e._zod.bag; + ((n.minimum = t.size), (n.maximum = t.size), (n.size = t.size)); + }), + (e._zod.check = (n) => { + const r = n.value, + o = r.size; + if (o === t.size) return; + const a = o > t.size; + n.issues.push({ + origin: q(r), + ...(a + ? { code: "too_big", maximum: t.size } + : { code: "too_small", minimum: t.size }), + inclusive: !0, + exact: !0, + input: n.value, + inst: e, + continue: !t.abort, + }); + })); + }), + jt = t("$ZodCheckMaxLength", (e, t) => { + var n; + (Tt.init(e, t), + (n = e._zod.def).when ?? + (n.when = (e) => { + const t = e.value; + return !d(t) && void 0 !== t.length; + }), + e._zod.onattach.push((e) => { + const n = e._zod.bag.maximum ?? Number.POSITIVE_INFINITY; + t.maximum < n && (e._zod.bag.maximum = t.maximum); + }), + (e._zod.check = (n) => { + const r = n.value; + if (r.length <= t.maximum) return; + const o = V(r); + n.issues.push({ + origin: o, + code: "too_big", + maximum: t.maximum, + inclusive: !0, + input: r, + inst: e, + continue: !t.abort, + }); + })); + }), + Lt = t("$ZodCheckMinLength", (e, t) => { + var n; + (Tt.init(e, t), + (n = e._zod.def).when ?? + (n.when = (e) => { + const t = e.value; + return !d(t) && void 0 !== t.length; + }), + e._zod.onattach.push((e) => { + const n = e._zod.bag.minimum ?? Number.NEGATIVE_INFINITY; + t.minimum > n && (e._zod.bag.minimum = t.minimum); + }), + (e._zod.check = (n) => { + const r = n.value; + if (r.length >= t.minimum) return; + const o = V(r); + n.issues.push({ + origin: o, + code: "too_small", + minimum: t.minimum, + inclusive: !0, + input: r, + inst: e, + continue: !t.abort, + }); + })); + }), + Ut = t("$ZodCheckLengthEquals", (e, t) => { + var n; + (Tt.init(e, t), + (n = e._zod.def).when ?? + (n.when = (e) => { + const t = e.value; + return !d(t) && void 0 !== t.length; + }), + e._zod.onattach.push((e) => { + const n = e._zod.bag; + ((n.minimum = t.length), + (n.maximum = t.length), + (n.length = t.length)); + }), + (e._zod.check = (n) => { + const r = n.value, + o = r.length; + if (o === t.length) return; + const a = V(r), + i = o > t.length; + n.issues.push({ + origin: a, + ...(i + ? { code: "too_big", maximum: t.length } + : { + code: "too_small", + minimum: t.length, + }), + inclusive: !0, + exact: !0, + input: n.value, + inst: e, + continue: !t.abort, + }); + })); + }), + Bt = t("$ZodCheckStringFormat", (e, t) => { + var n, r; + (Tt.init(e, t), + e._zod.onattach.push((e) => { + const n = e._zod.bag; + ((n.format = t.format), + t.pattern && + (n.patterns ?? (n.patterns = new Set()), + n.patterns.add(t.pattern))); + }), + t.pattern + ? ((n = e._zod).check ?? + (n.check = (n) => { + ((t.pattern.lastIndex = 0), + t.pattern.test(n.value) || + n.issues.push({ + origin: "string", + code: "invalid_format", + format: t.format, + input: n.value, + ...(t.pattern + ? { + pattern: t.pattern.toString(), + } + : {}), + inst: e, + continue: !t.abort, + })); + })) + : ((r = e._zod).check ?? (r.check = () => {}))); + }), + Ft = t("$ZodCheckRegex", (e, t) => { + (Bt.init(e, t), + (e._zod.check = (n) => { + ((t.pattern.lastIndex = 0), + t.pattern.test(n.value) || + n.issues.push({ + origin: "string", + code: "invalid_format", + format: "regex", + input: n.value, + pattern: t.pattern.toString(), + inst: e, + continue: !t.abort, + })); + })); + }), + zt = t("$ZodCheckLowerCase", (e, t) => { + (t.pattern ?? (t.pattern = dt), Bt.init(e, t)); + }), + Qt = t("$ZodCheckUpperCase", (e, t) => { + (t.pattern ?? (t.pattern = pt), Bt.init(e, t)); + }), + qt = t("$ZodCheckIncludes", (e, t) => { + Tt.init(e, t); + const n = E(t.includes), + r = new RegExp( + "number" == typeof t.position ? `^.{${t.position}}${n}` : n, + ); + ((t.pattern = r), + e._zod.onattach.push((e) => { + const t = e._zod.bag; + (t.patterns ?? (t.patterns = new Set()), t.patterns.add(r)); + }), + (e._zod.check = (n) => { + n.value.includes(t.includes, t.position) || + n.issues.push({ + origin: "string", + code: "invalid_format", + format: "includes", + includes: t.includes, + input: n.value, + inst: e, + continue: !t.abort, + }); + })); + }), + Vt = t("$ZodCheckStartsWith", (e, t) => { + Tt.init(e, t); + const n = new RegExp(`^${E(t.prefix)}.*`); + (t.pattern ?? (t.pattern = n), + e._zod.onattach.push((e) => { + const t = e._zod.bag; + (t.patterns ?? (t.patterns = new Set()), t.patterns.add(n)); + }), + (e._zod.check = (n) => { + n.value.startsWith(t.prefix) || + n.issues.push({ + origin: "string", + code: "invalid_format", + format: "starts_with", + prefix: t.prefix, + input: n.value, + inst: e, + continue: !t.abort, + }); + })); + }), + Zt = t("$ZodCheckEndsWith", (e, t) => { + Tt.init(e, t); + const n = new RegExp(`.*${E(t.suffix)}$`); + (t.pattern ?? (t.pattern = n), + e._zod.onattach.push((e) => { + const t = e._zod.bag; + (t.patterns ?? (t.patterns = new Set()), t.patterns.add(n)); + }), + (e._zod.check = (n) => { + n.value.endsWith(t.suffix) || + n.issues.push({ + origin: "string", + code: "invalid_format", + format: "ends_with", + suffix: t.suffix, + input: n.value, + inst: e, + continue: !t.abort, + }); + })); + }); + function Ht(e, t, n) { + e.issues.length && t.issues.push(...F(n, e.issues)); + } + const Wt = t("$ZodCheckProperty", (e, t) => { + (Tt.init(e, t), + (e._zod.check = (e) => { + const n = t.schema._zod.run( + { value: e.value[t.property], issues: [] }, + {}, + ); + if (n instanceof Promise) return n.then((n) => Ht(n, e, t.property)); + Ht(n, e, t.property); + })); + }), + Xt = t("$ZodCheckMimeType", (e, t) => { + Tt.init(e, t); + const n = new Set(t.mime); + (e._zod.onattach.push((e) => { + e._zod.bag.mime = t.mime; + }), + (e._zod.check = (r) => { + n.has(r.value.type) || + r.issues.push({ + code: "invalid_value", + values: t.mime, + input: r.value.type, + inst: e, + continue: !t.abort, + }); + })); + }), + Gt = t("$ZodCheckOverwrite", (e, t) => { + (Tt.init(e, t), + (e._zod.check = (e) => { + e.value = t.tx(e.value); + })); + }); + class Yt { + constructor(e = []) { + ((this.content = []), (this.indent = 0), this && (this.args = e)); + } + indented(e) { + ((this.indent += 1), e(this), (this.indent -= 1)); + } + write(e) { + if ("function" == typeof e) + return ( + e(this, { execution: "sync" }), + void e(this, { + execution: "async", + }) + ); + const t = e.split("\n").filter((e) => e), + n = Math.min(...t.map((e) => e.length - e.trimStart().length)), + r = t + .map((e) => e.slice(n)) + .map((e) => " ".repeat(2 * this.indent) + e); + for (const o of r) this.content.push(o); + } + compile() { + const e = Function, + t = this?.args; + return new e( + ...t, + [...(this?.content ?? [""]).map((e) => ` ${e}`)].join("\n"), + ); + } + } + const Kt = { major: 4, minor: 1, patch: 11 }, + Jt = t("$ZodType", (e, t) => { + var n; + (e ?? (e = {}), + (e._zod.def = t), + (e._zod.bag = e._zod.bag || {}), + (e._zod.version = Kt)); + const o = [...(e._zod.def.checks ?? [])]; + e._zod.traits.has("$ZodCheck") && o.unshift(e); + for (const r of o) for (const t of r._zod.onattach) t(e); + if (0 === o.length) + ((n = e._zod).deferred ?? (n.deferred = []), + e._zod.deferred?.push(() => { + e._zod.run = e._zod.parse; + })); + else { + const t = (e, t, n) => { + let o, + a = B(e); + for (const i of t) { + if (i._zod.def.when) { + if (!i._zod.def.when(e)) continue; + } else if (a) continue; + const t = e.issues.length, + s = i._zod.check(e); + if (s instanceof Promise && !1 === n?.async) throw new r(); + if (o || s instanceof Promise) + o = (o ?? Promise.resolve()).then(async () => { + await s; + e.issues.length !== t && (a || (a = B(e, t))); + }); + else { + if (e.issues.length === t) continue; + a || (a = B(e, t)); + } + } + return o ? o.then(() => e) : e; + }, + n = (n, a, i) => { + if (B(n)) return ((n.aborted = !0), n); + const s = t(a, o, i); + if (s instanceof Promise) { + if (!1 === i.async) throw new r(); + return s.then((t) => e._zod.parse(t, i)); + } + return e._zod.parse(s, i); + }; + e._zod.run = (a, i) => { + if (i.skipChecks) return e._zod.parse(a, i); + if ("backward" === i.direction) { + const t = e._zod.parse( + { value: a.value, issues: [] }, + { ...i, skipChecks: !0 }, + ); + return t instanceof Promise + ? t.then((e) => n(e, a, i)) + : n(t, a, i); + } + const s = e._zod.parse(a, i); + if (s instanceof Promise) { + if (!1 === i.async) throw new r(); + return s.then((e) => t(e, o, i)); + } + return t(s, o, i); + }; + } + e["~standard"] = { + validate: (t) => { + try { + const n = ce(e, t); + return n.success ? { value: n.data } : { issues: n.error?.issues }; + } catch (n) { + return de(e, t).then((e) => + e.success + ? { value: e.data } + : { + issues: e.error?.issues, + }, + ); + } + }, + vendor: "zod", + version: 1, + }; + }), + en = t("$ZodString", (e, t) => { + (Jt.init(e, t), + (e._zod.pattern = + [...(e?._zod.bag?.patterns ?? [])].pop() ?? ot(e._zod.bag)), + (e._zod.parse = (n, r) => { + if (t.coerce) + try { + n.value = String(n.value); + } catch (o) {} + return ( + "string" == typeof n.value || + n.issues.push({ + expected: "string", + code: "invalid_type", + input: n.value, + inst: e, + }), + n + ); + })); + }), + tn = t("$ZodStringFormat", (e, t) => { + (Bt.init(e, t), en.init(e, t)); + }), + nn = t("$ZodGUID", (e, t) => { + (t.pattern ?? (t.pattern = Ne), tn.init(e, t)); + }), + rn = t("$ZodUUID", (e, t) => { + if (t.version) { + const e = { v1: 1, v2: 2, v3: 3, v4: 4, v5: 5, v6: 6, v7: 7, v8: 8 }[ + t.version + ]; + if (void 0 === e) + throw new Error(`Invalid UUID version: "${t.version}"`); + t.pattern ?? (t.pattern = Re(e)); + } else t.pattern ?? (t.pattern = Re()); + tn.init(e, t); + }), + on = t("$ZodEmail", (e, t) => { + (t.pattern ?? (t.pattern = Be), tn.init(e, t)); + }), + an = t("$ZodURL", (e, t) => { + (tn.init(e, t), + (e._zod.check = (n) => { + try { + const r = n.value.trim(), + o = new URL(r); + return ( + t.hostname && + ((t.hostname.lastIndex = 0), + t.hostname.test(o.hostname) || + n.issues.push({ + code: "invalid_format", + format: "url", + note: "Invalid hostname", + pattern: Ge.source, + input: n.value, + inst: e, + continue: !t.abort, + })), + t.protocol && + ((t.protocol.lastIndex = 0), + t.protocol.test( + o.protocol.endsWith(":") + ? o.protocol.slice(0, -1) + : o.protocol, + ) || + n.issues.push({ + code: "invalid_format", + format: "url", + note: "Invalid protocol", + pattern: t.protocol.source, + input: n.value, + inst: e, + continue: !t.abort, + })), + void (t.normalize ? (n.value = o.href) : (n.value = r)) + ); + } catch (r) { + n.issues.push({ + code: "invalid_format", + format: "url", + input: n.value, + inst: e, + continue: !t.abort, + }); + } + })); + }), + sn = t("$ZodEmoji", (e, t) => { + (t.pattern ?? (t.pattern = Qe()), tn.init(e, t)); + }), + ln = t("$ZodNanoID", (e, t) => { + (t.pattern ?? (t.pattern = Ie), tn.init(e, t)); + }), + cn = t("$ZodCUID", (e, t) => { + (t.pattern ?? (t.pattern = Ae), tn.init(e, t)); + }), + un = t("$ZodCUID2", (e, t) => { + (t.pattern ?? (t.pattern = $e), tn.init(e, t)); + }), + dn = t("$ZodULID", (e, t) => { + (t.pattern ?? (t.pattern = Ce), tn.init(e, t)); + }), + pn = t("$ZodXID", (e, t) => { + (t.pattern ?? (t.pattern = Pe), tn.init(e, t)); + }), + fn = t("$ZodKSUID", (e, t) => { + (t.pattern ?? (t.pattern = De), tn.init(e, t)); + }), + hn = t("$ZodISODateTime", (e, t) => { + (t.pattern ?? (t.pattern = rt(t)), tn.init(e, t)); + }), + mn = t("$ZodISODate", (e, t) => { + (t.pattern ?? (t.pattern = et), tn.init(e, t)); + }), + gn = t("$ZodISOTime", (e, t) => { + (t.pattern ?? (t.pattern = nt(t)), tn.init(e, t)); + }), + vn = t("$ZodISODuration", (e, t) => { + (t.pattern ?? (t.pattern = Me), tn.init(e, t)); + }), + bn = t("$ZodIPv4", (e, t) => { + (t.pattern ?? (t.pattern = qe), + tn.init(e, t), + e._zod.onattach.push((e) => { + e._zod.bag.format = "ipv4"; + })); + }), + yn = t("$ZodIPv6", (e, t) => { + (t.pattern ?? (t.pattern = Ve), + tn.init(e, t), + e._zod.onattach.push((e) => { + e._zod.bag.format = "ipv6"; + }), + (e._zod.check = (n) => { + try { + new URL(`http://[${n.value}]`); + } catch { + n.issues.push({ + code: "invalid_format", + format: "ipv6", + input: n.value, + inst: e, + continue: !t.abort, + }); + } + })); + }), + On = t("$ZodCIDRv4", (e, t) => { + (t.pattern ?? (t.pattern = Ze), tn.init(e, t)); + }), + wn = t("$ZodCIDRv6", (e, t) => { + (t.pattern ?? (t.pattern = He), + tn.init(e, t), + (e._zod.check = (n) => { + const r = n.value.split("/"); + try { + if (2 !== r.length) throw new Error(); + const [e, t] = r; + if (!t) throw new Error(); + const n = Number(t); + if (`${n}` !== t) throw new Error(); + if (n < 0 || n > 128) throw new Error(); + new URL(`http://[${e}]`); + } catch { + n.issues.push({ + code: "invalid_format", + format: "cidrv6", + input: n.value, + inst: e, + continue: !t.abort, + }); + } + })); + }); + function xn(e) { + if ("" === e) return !0; + if (e.length % 4 != 0) return !1; + try { + return (atob(e), !0); + } catch { + return !1; + } + } + const kn = t("$ZodBase64", (e, t) => { + (t.pattern ?? (t.pattern = We), + tn.init(e, t), + e._zod.onattach.push((e) => { + e._zod.bag.contentEncoding = "base64"; + }), + (e._zod.check = (n) => { + xn(n.value) || + n.issues.push({ + code: "invalid_format", + format: "base64", + input: n.value, + inst: e, + continue: !t.abort, + }); + })); + }); + function Sn(e) { + if (!Xe.test(e)) return !1; + const t = e.replace(/[-_]/g, (e) => ("-" === e ? "+" : "/")); + return xn(t.padEnd(4 * Math.ceil(t.length / 4), "=")); + } + const _n = t("$ZodBase64URL", (e, t) => { + (t.pattern ?? (t.pattern = Xe), + tn.init(e, t), + e._zod.onattach.push((e) => { + e._zod.bag.contentEncoding = "base64url"; + }), + (e._zod.check = (n) => { + Sn(n.value) || + n.issues.push({ + code: "invalid_format", + format: "base64url", + input: n.value, + inst: e, + continue: !t.abort, + }); + })); + }), + En = t("$ZodE164", (e, t) => { + (t.pattern ?? (t.pattern = Ke), tn.init(e, t)); + }); + function Tn(e, t = null) { + try { + const n = e.split("."); + if (3 !== n.length) return !1; + const [r] = n; + if (!r) return !1; + const o = JSON.parse(atob(r)); + return ( + (!("typ" in o) || "JWT" === o?.typ) && + !!o.alg && + (!t || ("alg" in o && o.alg === t)) + ); + } catch { + return !1; + } + } + const An = t("$ZodJWT", (e, t) => { + (tn.init(e, t), + (e._zod.check = (n) => { + Tn(n.value, t.alg) || + n.issues.push({ + code: "invalid_format", + format: "jwt", + input: n.value, + inst: e, + continue: !t.abort, + }); + })); + }), + $n = t("$ZodCustomStringFormat", (e, t) => { + (tn.init(e, t), + (e._zod.check = (n) => { + t.fn(n.value) || + n.issues.push({ + code: "invalid_format", + format: t.format, + input: n.value, + inst: e, + continue: !t.abort, + }); + })); + }), + Cn = t("$ZodNumber", (e, t) => { + (Jt.init(e, t), + (e._zod.pattern = e._zod.bag.pattern ?? st), + (e._zod.parse = (n, r) => { + if (t.coerce) + try { + n.value = Number(n.value); + } catch (i) {} + const o = n.value; + if ("number" == typeof o && !Number.isNaN(o) && Number.isFinite(o)) + return n; + const a = + "number" == typeof o + ? Number.isNaN(o) + ? "NaN" + : Number.isFinite(o) + ? void 0 + : "Infinity" + : void 0; + return ( + n.issues.push({ + expected: "number", + code: "invalid_type", + input: o, + inst: e, + ...(a ? { received: a } : {}), + }), + n + ); + })); + }), + Pn = t("$ZodNumber", (e, t) => { + (Dt.init(e, t), Cn.init(e, t)); + }), + Dn = t("$ZodBoolean", (e, t) => { + (Jt.init(e, t), + (e._zod.pattern = lt), + (e._zod.parse = (n, r) => { + if (t.coerce) + try { + n.value = Boolean(n.value); + } catch (a) {} + const o = n.value; + return ( + "boolean" == typeof o || + n.issues.push({ + expected: "boolean", + code: "invalid_type", + input: o, + inst: e, + }), + n + ); + })); + }), + In = t("$ZodBigInt", (e, t) => { + (Jt.init(e, t), + (e._zod.pattern = at), + (e._zod.parse = (n, r) => { + if (t.coerce) + try { + n.value = BigInt(n.value); + } catch (o) {} + return ( + "bigint" == typeof n.value || + n.issues.push({ + expected: "bigint", + code: "invalid_type", + input: n.value, + inst: e, + }), + n + ); + })); + }), + Mn = t("$ZodBigInt", (e, t) => { + (It.init(e, t), In.init(e, t)); + }), + Nn = t("$ZodSymbol", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (t, n) => { + const r = t.value; + return ( + "symbol" == typeof r || + t.issues.push({ + expected: "symbol", + code: "invalid_type", + input: r, + inst: e, + }), + t + ); + })); + }), + Rn = t("$ZodUndefined", (e, t) => { + (Jt.init(e, t), + (e._zod.pattern = ut), + (e._zod.values = new Set([void 0])), + (e._zod.optin = "optional"), + (e._zod.optout = "optional"), + (e._zod.parse = (t, n) => { + const r = t.value; + return ( + void 0 === r || + t.issues.push({ + expected: "undefined", + code: "invalid_type", + input: r, + inst: e, + }), + t + ); + })); + }), + jn = t("$ZodNull", (e, t) => { + (Jt.init(e, t), + (e._zod.pattern = ct), + (e._zod.values = new Set([null])), + (e._zod.parse = (t, n) => { + const r = t.value; + return ( + null === r || + t.issues.push({ + expected: "null", + code: "invalid_type", + input: r, + inst: e, + }), + t + ); + })); + }), + Ln = t("$ZodAny", (e, t) => { + (Jt.init(e, t), (e._zod.parse = (e) => e)); + }), + Un = t("$ZodUnknown", (e, t) => { + (Jt.init(e, t), (e._zod.parse = (e) => e)); + }), + Bn = t("$ZodNever", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (t, n) => ( + t.issues.push({ + expected: "never", + code: "invalid_type", + input: t.value, + inst: e, + }), + t + ))); + }), + Fn = t("$ZodVoid", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (t, n) => { + const r = t.value; + return ( + void 0 === r || + t.issues.push({ + expected: "void", + code: "invalid_type", + input: r, + inst: e, + }), + t + ); + })); + }), + zn = t("$ZodDate", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (n, r) => { + if (t.coerce) + try { + n.value = new Date(n.value); + } catch (i) {} + const o = n.value, + a = o instanceof Date; + return ( + (a && !Number.isNaN(o.getTime())) || + n.issues.push({ + expected: "date", + code: "invalid_type", + input: o, + ...(a ? { received: "Invalid Date" } : {}), + inst: e, + }), + n + ); + })); + }); + function Qn(e, t, n) { + (e.issues.length && t.issues.push(...F(n, e.issues)), + (t.value[n] = e.value)); + } + const qn = t("$ZodArray", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (n, r) => { + const o = n.value; + if (!Array.isArray(o)) + return ( + n.issues.push({ + expected: "array", + code: "invalid_type", + input: o, + inst: e, + }), + n + ); + n.value = Array(o.length); + const a = []; + for (let e = 0; e < o.length; e++) { + const i = o[e], + s = t.element._zod.run({ value: i, issues: [] }, r); + s instanceof Promise + ? a.push(s.then((t) => Qn(t, n, e))) + : Qn(s, n, e); + } + return a.length ? Promise.all(a).then(() => n) : n; + })); + }); + function Vn(e, t, n, r) { + (e.issues.length && t.issues.push(...F(n, e.issues)), + void 0 === e.value + ? n in r && (t.value[n] = void 0) + : (t.value[n] = e.value)); + } + function Zn(e) { + const t = Object.keys(e.shape); + for (const r of t) + if (!e.shape?.[r]?._zod?.traits?.has("$ZodType")) + throw new Error(`Invalid element at key "${r}": expected a Zod schema`); + const n = C(e.shape); + return { + ...e, + keys: t, + keySet: new Set(t), + numKeys: t.length, + optionalKeys: new Set(n), + }; + } + function Hn(e, t, n, r, o, a) { + const i = [], + s = o.keySet, + l = o.catchall._zod, + c = l.def.type; + for (const u of Object.keys(t)) { + if (s.has(u)) continue; + if ("never" === c) { + i.push(u); + continue; + } + const o = l.run({ value: t[u], issues: [] }, r); + o instanceof Promise + ? e.push(o.then((e) => Vn(e, n, u, t))) + : Vn(o, n, u, t); + } + return ( + i.length && + n.issues.push({ + code: "unrecognized_keys", + keys: i, + input: t, + inst: a, + }), + e.length ? Promise.all(e).then(() => n) : n + ); + } + const Wn = t("$ZodObject", (e, t) => { + Jt.init(e, t); + const n = Object.getOwnPropertyDescriptor(t, "shape"); + if (!n?.get) { + const e = t.shape; + Object.defineProperty(t, "shape", { + get: () => { + const n = { ...e }; + return (Object.defineProperty(t, "shape", { value: n }), n); + }, + }); + } + const r = u(() => Zn(t)); + m(e._zod, "propValues", () => { + const e = t.shape, + n = {}; + for (const t in e) { + const r = e[t]._zod; + if (r.values) { + n[t] ?? (n[t] = new Set()); + for (const e of r.values) n[t].add(e); + } + } + return n; + }); + const o = O, + a = t.catchall; + let i; + e._zod.parse = (t, n) => { + i ?? (i = r.value); + const s = t.value; + if (!o(s)) + return ( + t.issues.push({ + expected: "object", + code: "invalid_type", + input: s, + inst: e, + }), + t + ); + t.value = {}; + const l = [], + c = i.shape; + for (const e of i.keys) { + const r = c[e]._zod.run({ value: s[e], issues: [] }, n); + r instanceof Promise + ? l.push(r.then((n) => Vn(n, t, e, s))) + : Vn(r, t, e, s); + } + return a + ? Hn(l, s, t, n, r.value, e) + : l.length + ? Promise.all(l).then(() => t) + : t; + }; + }), + Xn = t("$ZodObjectJIT", (e, t) => { + Wn.init(e, t); + const n = e._zod.parse, + r = u(() => Zn(t)); + let o; + const i = O, + s = !a.jitless, + l = s && w.value, + c = t.catchall; + let d; + e._zod.parse = (a, u) => { + d ?? (d = r.value); + const p = a.value; + return i(p) + ? s && l && !1 === u?.async && !0 !== u.jitless + ? (o || + (o = ((e) => { + const t = new Yt(["shape", "payload", "ctx"]), + n = r.value, + o = (e) => { + const t = b(e); + return `shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`; + }; + t.write("const input = payload.value;"); + const a = Object.create(null); + let i = 0; + for (const r of n.keys) a[r] = "key_" + i++; + t.write("const newResult = {};"); + for (const r of n.keys) { + const e = a[r], + n = b(r); + (t.write(`const ${e} = ${o(r)};`), + t.write( + `\n if (${e}.issues.length) {\n payload.issues = payload.issues.concat(${e}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${n}, ...iss.path] : [${n}]\n })));\n }\n \n \n if (${e}.value === undefined) {\n if (${n} in input) {\n newResult[${n}] = undefined;\n }\n } else {\n newResult[${n}] = ${e}.value;\n }\n \n `, + )); + } + (t.write("payload.value = newResult;"), + t.write("return payload;")); + const s = t.compile(); + return (t, n) => s(e, t, n); + })(t.shape)), + (a = o(a, u)), + c ? Hn([], p, a, u, d, e) : a) + : n(a, u) + : (a.issues.push({ + expected: "object", + code: "invalid_type", + input: p, + inst: e, + }), + a); + }; + }); + function Gn(e, t, n, r) { + for (const a of e) + if (0 === a.issues.length) return ((t.value = a.value), t); + const o = e.filter((e) => !B(e)); + return 1 === o.length + ? ((t.value = o[0].value), o[0]) + : (t.issues.push({ + code: "invalid_union", + input: t.value, + inst: n, + errors: e.map((e) => e.issues.map((e) => Q(e, r, i()))), + }), + t); + } + const Yn = t("$ZodUnion", (e, t) => { + (Jt.init(e, t), + m(e._zod, "optin", () => + t.options.some((e) => "optional" === e._zod.optin) + ? "optional" + : void 0, + ), + m(e._zod, "optout", () => + t.options.some((e) => "optional" === e._zod.optout) + ? "optional" + : void 0, + ), + m(e._zod, "values", () => { + if (t.options.every((e) => e._zod.values)) + return new Set(t.options.flatMap((e) => Array.from(e._zod.values))); + }), + m(e._zod, "pattern", () => { + if (t.options.every((e) => e._zod.pattern)) { + const e = t.options.map((e) => e._zod.pattern); + return new RegExp(`^(${e.map((e) => p(e.source)).join("|")})$`); + } + })); + const n = 1 === t.options.length, + r = t.options[0]._zod.run; + e._zod.parse = (o, a) => { + if (n) return r(o, a); + let i = !1; + const s = []; + for (const e of t.options) { + const t = e._zod.run({ value: o.value, issues: [] }, a); + if (t instanceof Promise) (s.push(t), (i = !0)); + else { + if (0 === t.issues.length) return t; + s.push(t); + } + } + return i ? Promise.all(s).then((t) => Gn(t, o, e, a)) : Gn(s, o, e, a); + }; + }), + Kn = t("$ZodDiscriminatedUnion", (e, t) => { + Yn.init(e, t); + const n = e._zod.parse; + m(e._zod, "propValues", () => { + const e = {}; + for (const n of t.options) { + const r = n._zod.propValues; + if (!r || 0 === Object.keys(r).length) + throw new Error( + `Invalid discriminated union option at index "${t.options.indexOf(n)}"`, + ); + for (const [t, n] of Object.entries(r)) { + e[t] || (e[t] = new Set()); + for (const r of n) e[t].add(r); + } + } + return e; + }); + const r = u(() => { + const e = t.options, + n = new Map(); + for (const r of e) { + const e = r._zod.propValues?.[t.discriminator]; + if (!e || 0 === e.size) + throw new Error( + `Invalid discriminated union option at index "${t.options.indexOf(r)}"`, + ); + for (const t of e) { + if (n.has(t)) + throw new Error(`Duplicate discriminator value "${String(t)}"`); + n.set(t, r); + } + } + return n; + }); + e._zod.parse = (o, a) => { + const i = o.value; + if (!O(i)) + return ( + o.issues.push({ + code: "invalid_type", + expected: "object", + input: i, + inst: e, + }), + o + ); + const s = r.value.get(i?.[t.discriminator]); + return s + ? s._zod.run(o, a) + : t.unionFallback + ? n(o, a) + : (o.issues.push({ + code: "invalid_union", + errors: [], + note: "No matching discriminator", + discriminator: t.discriminator, + input: i, + path: [t.discriminator], + inst: e, + }), + o); + }; + }), + Jn = t("$ZodIntersection", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (e, n) => { + const r = e.value, + o = t.left._zod.run({ value: r, issues: [] }, n), + a = t.right._zod.run( + { + value: r, + issues: [], + }, + n, + ); + return o instanceof Promise || a instanceof Promise + ? Promise.all([o, a]).then(([t, n]) => tr(e, t, n)) + : tr(e, o, a); + })); + }); + function er(e, t) { + if (e === t) return { valid: !0, data: e }; + if (e instanceof Date && t instanceof Date && +e == +t) + return { valid: !0, data: e }; + if (x(e) && x(t)) { + const n = Object.keys(t), + r = Object.keys(e).filter((e) => -1 !== n.indexOf(e)), + o = { ...e, ...t }; + for (const a of r) { + const n = er(e[a], t[a]); + if (!n.valid) + return { valid: !1, mergeErrorPath: [a, ...n.mergeErrorPath] }; + o[a] = n.data; + } + return { valid: !0, data: o }; + } + if (Array.isArray(e) && Array.isArray(t)) { + if (e.length !== t.length) return { valid: !1, mergeErrorPath: [] }; + const n = []; + for (let r = 0; r < e.length; r++) { + const o = er(e[r], t[r]); + if (!o.valid) + return { valid: !1, mergeErrorPath: [r, ...o.mergeErrorPath] }; + n.push(o.data); + } + return { valid: !0, data: n }; + } + return { valid: !1, mergeErrorPath: [] }; + } + function tr(e, t, n) { + if ( + (t.issues.length && e.issues.push(...t.issues), + n.issues.length && e.issues.push(...n.issues), + B(e)) + ) + return e; + const r = er(t.value, n.value); + if (!r.valid) + throw new Error( + `Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`, + ); + return ((e.value = r.data), e); + } + const nr = t("$ZodTuple", (e, t) => { + Jt.init(e, t); + const n = t.items, + r = + n.length - + [...n].reverse().findIndex((e) => "optional" !== e._zod.optin); + e._zod.parse = (o, a) => { + const i = o.value; + if (!Array.isArray(i)) + return ( + o.issues.push({ + input: i, + inst: e, + expected: "tuple", + code: "invalid_type", + }), + o + ); + o.value = []; + const s = []; + if (!t.rest) { + const t = i.length > n.length, + a = i.length < r - 1; + if (t || a) + return ( + o.issues.push({ + ...(t + ? { + code: "too_big", + maximum: n.length, + } + : { code: "too_small", minimum: n.length }), + input: i, + inst: e, + origin: "array", + }), + o + ); + } + let l = -1; + for (const e of n) { + if ((l++, l >= i.length && l >= r)) continue; + const t = e._zod.run({ value: i[l], issues: [] }, a); + t instanceof Promise ? s.push(t.then((e) => rr(e, o, l))) : rr(t, o, l); + } + if (t.rest) { + const e = i.slice(n.length); + for (const n of e) { + l++; + const e = t.rest._zod.run( + { + value: n, + issues: [], + }, + a, + ); + e instanceof Promise + ? s.push(e.then((e) => rr(e, o, l))) + : rr(e, o, l); + } + } + return s.length ? Promise.all(s).then(() => o) : o; + }; + }); + function rr(e, t, n) { + (e.issues.length && t.issues.push(...F(n, e.issues)), + (t.value[n] = e.value)); + } + const or = t("$ZodRecord", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (n, r) => { + const o = n.value; + if (!x(o)) + return ( + n.issues.push({ + expected: "record", + code: "invalid_type", + input: o, + inst: e, + }), + n + ); + const a = []; + if (t.keyType._zod.values) { + const i = t.keyType._zod.values; + n.value = {}; + for (const e of i) + if ( + "string" == typeof e || + "number" == typeof e || + "symbol" == typeof e + ) { + const i = t.valueType._zod.run({ value: o[e], issues: [] }, r); + i instanceof Promise + ? a.push( + i.then((t) => { + (t.issues.length && n.issues.push(...F(e, t.issues)), + (n.value[e] = t.value)); + }), + ) + : (i.issues.length && n.issues.push(...F(e, i.issues)), + (n.value[e] = i.value)); + } + let s; + for (const e in o) i.has(e) || ((s = s ?? []), s.push(e)); + s && + s.length > 0 && + n.issues.push({ + code: "unrecognized_keys", + input: o, + inst: e, + keys: s, + }); + } else { + n.value = {}; + for (const s of Reflect.ownKeys(o)) { + if ("__proto__" === s) continue; + const l = t.keyType._zod.run({ value: s, issues: [] }, r); + if (l instanceof Promise) + throw new Error( + "Async schemas not supported in object keys currently", + ); + if (l.issues.length) { + (n.issues.push({ + code: "invalid_key", + origin: "record", + issues: l.issues.map((e) => Q(e, r, i())), + input: s, + path: [s], + inst: e, + }), + (n.value[l.value] = l.value)); + continue; + } + const c = t.valueType._zod.run({ value: o[s], issues: [] }, r); + c instanceof Promise + ? a.push( + c.then((e) => { + (e.issues.length && n.issues.push(...F(s, e.issues)), + (n.value[l.value] = e.value)); + }), + ) + : (c.issues.length && n.issues.push(...F(s, c.issues)), + (n.value[l.value] = c.value)); + } + } + return a.length ? Promise.all(a).then(() => n) : n; + })); + }), + ar = t("$ZodMap", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (n, r) => { + const o = n.value; + if (!(o instanceof Map)) + return ( + n.issues.push({ + expected: "map", + code: "invalid_type", + input: o, + inst: e, + }), + n + ); + const a = []; + n.value = new Map(); + for (const [i, s] of o) { + const l = t.keyType._zod.run({ value: i, issues: [] }, r), + c = t.valueType._zod.run({ value: s, issues: [] }, r); + l instanceof Promise || c instanceof Promise + ? a.push( + Promise.all([l, c]).then(([t, a]) => { + ir(t, a, n, i, o, e, r); + }), + ) + : ir(l, c, n, i, o, e, r); + } + return a.length ? Promise.all(a).then(() => n) : n; + })); + }); + function ir(e, t, n, r, o, a, s) { + (e.issues.length && + (S.has(typeof r) + ? n.issues.push(...F(r, e.issues)) + : n.issues.push({ + code: "invalid_key", + origin: "map", + input: o, + inst: a, + issues: e.issues.map((e) => Q(e, s, i())), + })), + t.issues.length && + (S.has(typeof r) + ? n.issues.push(...F(r, t.issues)) + : n.issues.push({ + origin: "map", + code: "invalid_element", + input: o, + inst: a, + key: r, + issues: t.issues.map((e) => Q(e, s, i())), + })), + n.value.set(e.value, t.value)); + } + const sr = t("$ZodSet", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (n, r) => { + const o = n.value; + if (!(o instanceof Set)) + return ( + n.issues.push({ + input: o, + inst: e, + expected: "set", + code: "invalid_type", + }), + n + ); + const a = []; + n.value = new Set(); + for (const e of o) { + const o = t.valueType._zod.run({ value: e, issues: [] }, r); + o instanceof Promise ? a.push(o.then((e) => lr(e, n))) : lr(o, n); + } + return a.length ? Promise.all(a).then(() => n) : n; + })); + }); + function lr(e, t) { + (e.issues.length && t.issues.push(...e.issues), t.value.add(e.value)); + } + const cr = t("$ZodEnum", (e, t) => { + Jt.init(e, t); + const n = s(t.entries), + r = new Set(n); + ((e._zod.values = r), + (e._zod.pattern = new RegExp( + `^(${n + .filter((e) => S.has(typeof e)) + .map((e) => ("string" == typeof e ? E(e) : e.toString())) + .join("|")})$`, + )), + (e._zod.parse = (t, o) => { + const a = t.value; + return ( + r.has(a) || + t.issues.push({ + code: "invalid_value", + values: n, + input: a, + inst: e, + }), + t + ); + })); + }), + ur = t("$ZodLiteral", (e, t) => { + if ((Jt.init(e, t), 0 === t.values.length)) + throw new Error("Cannot create literal schema with no valid values"); + ((e._zod.values = new Set(t.values)), + (e._zod.pattern = new RegExp( + `^(${t.values.map((e) => ("string" == typeof e ? E(e) : e ? E(e.toString()) : String(e))).join("|")})$`, + )), + (e._zod.parse = (n, r) => { + const o = n.value; + return ( + e._zod.values.has(o) || + n.issues.push({ + code: "invalid_value", + values: t.values, + input: o, + inst: e, + }), + n + ); + })); + }), + dr = t("$ZodFile", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (t, n) => { + const r = t.value; + return ( + r instanceof File || + t.issues.push({ + expected: "file", + code: "invalid_type", + input: r, + inst: e, + }), + t + ); + })); + }), + pr = t("$ZodTransform", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (n, a) => { + if ("backward" === a.direction) throw new o(e.constructor.name); + const i = t.transform(n.value, n); + if (a.async) { + return (i instanceof Promise ? i : Promise.resolve(i)).then( + (e) => ((n.value = e), n), + ); + } + if (i instanceof Promise) throw new r(); + return ((n.value = i), n); + })); + }); + function fr(e, t) { + return e.issues.length && void 0 === t ? { issues: [], value: void 0 } : e; + } + const hr = t("$ZodOptional", (e, t) => { + (Jt.init(e, t), + (e._zod.optin = "optional"), + (e._zod.optout = "optional"), + m(e._zod, "values", () => + t.innerType._zod.values + ? new Set([...t.innerType._zod.values, void 0]) + : void 0, + ), + m(e._zod, "pattern", () => { + const e = t.innerType._zod.pattern; + return e ? new RegExp(`^(${p(e.source)})?$`) : void 0; + }), + (e._zod.parse = (e, n) => { + if ("optional" === t.innerType._zod.optin) { + const r = t.innerType._zod.run(e, n); + return r instanceof Promise + ? r.then((t) => fr(t, e.value)) + : fr(r, e.value); + } + return void 0 === e.value ? e : t.innerType._zod.run(e, n); + })); + }), + mr = t("$ZodNullable", (e, t) => { + (Jt.init(e, t), + m(e._zod, "optin", () => t.innerType._zod.optin), + m(e._zod, "optout", () => t.innerType._zod.optout), + m(e._zod, "pattern", () => { + const e = t.innerType._zod.pattern; + return e ? new RegExp(`^(${p(e.source)}|null)$`) : void 0; + }), + m(e._zod, "values", () => + t.innerType._zod.values + ? new Set([...t.innerType._zod.values, null]) + : void 0, + ), + (e._zod.parse = (e, n) => + null === e.value ? e : t.innerType._zod.run(e, n))); + }), + gr = t("$ZodDefault", (e, t) => { + (Jt.init(e, t), + (e._zod.optin = "optional"), + m(e._zod, "values", () => t.innerType._zod.values), + (e._zod.parse = (e, n) => { + if ("backward" === n.direction) return t.innerType._zod.run(e, n); + if (void 0 === e.value) return ((e.value = t.defaultValue), e); + const r = t.innerType._zod.run(e, n); + return r instanceof Promise ? r.then((e) => vr(e, t)) : vr(r, t); + })); + }); + function vr(e, t) { + return (void 0 === e.value && (e.value = t.defaultValue), e); + } + const br = t("$ZodPrefault", (e, t) => { + (Jt.init(e, t), + (e._zod.optin = "optional"), + m(e._zod, "values", () => t.innerType._zod.values), + (e._zod.parse = (e, n) => ( + "backward" === n.direction || + (void 0 === e.value && (e.value = t.defaultValue)), + t.innerType._zod.run(e, n) + ))); + }), + yr = t("$ZodNonOptional", (e, t) => { + (Jt.init(e, t), + m(e._zod, "values", () => { + const e = t.innerType._zod.values; + return e ? new Set([...e].filter((e) => void 0 !== e)) : void 0; + }), + (e._zod.parse = (n, r) => { + const o = t.innerType._zod.run(n, r); + return o instanceof Promise ? o.then((t) => Or(t, e)) : Or(o, e); + })); + }); + function Or(e, t) { + return ( + e.issues.length || + void 0 !== e.value || + e.issues.push({ + code: "invalid_type", + expected: "nonoptional", + input: e.value, + inst: t, + }), + e + ); + } + const wr = t("$ZodSuccess", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (e, n) => { + if ("backward" === n.direction) throw new o("ZodSuccess"); + const r = t.innerType._zod.run(e, n); + return r instanceof Promise + ? r.then((t) => ((e.value = 0 === t.issues.length), e)) + : ((e.value = 0 === r.issues.length), e); + })); + }), + xr = t("$ZodCatch", (e, t) => { + (Jt.init(e, t), + m(e._zod, "optin", () => t.innerType._zod.optin), + m(e._zod, "optout", () => t.innerType._zod.optout), + m(e._zod, "values", () => t.innerType._zod.values), + (e._zod.parse = (e, n) => { + if ("backward" === n.direction) return t.innerType._zod.run(e, n); + const r = t.innerType._zod.run(e, n); + return r instanceof Promise + ? r.then( + (r) => ( + (e.value = r.value), + r.issues.length && + ((e.value = t.catchValue({ + ...e, + error: { + issues: r.issues.map((e) => Q(e, n, i())), + }, + input: e.value, + })), + (e.issues = [])), + e + ), + ) + : ((e.value = r.value), + r.issues.length && + ((e.value = t.catchValue({ + ...e, + error: { issues: r.issues.map((e) => Q(e, n, i())) }, + input: e.value, + })), + (e.issues = [])), + e); + })); + }), + kr = t("$ZodNaN", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (t, n) => ( + ("number" == typeof t.value && Number.isNaN(t.value)) || + t.issues.push({ + input: t.value, + inst: e, + expected: "nan", + code: "invalid_type", + }), + t + ))); + }), + Sr = t("$ZodPipe", (e, t) => { + (Jt.init(e, t), + m(e._zod, "values", () => t.in._zod.values), + m(e._zod, "optin", () => t.in._zod.optin), + m(e._zod, "optout", () => t.out._zod.optout), + m(e._zod, "propValues", () => t.in._zod.propValues), + (e._zod.parse = (e, n) => { + if ("backward" === n.direction) { + const r = t.out._zod.run(e, n); + return r instanceof Promise + ? r.then((e) => _r(e, t.in, n)) + : _r(r, t.in, n); + } + const r = t.in._zod.run(e, n); + return r instanceof Promise + ? r.then((e) => _r(e, t.out, n)) + : _r(r, t.out, n); + })); + }); + function _r(e, t, n) { + return e.issues.length + ? ((e.aborted = !0), e) + : t._zod.run( + { + value: e.value, + issues: e.issues, + }, + n, + ); + } + const Er = t("$ZodCodec", (e, t) => { + (Jt.init(e, t), + m(e._zod, "values", () => t.in._zod.values), + m(e._zod, "optin", () => t.in._zod.optin), + m(e._zod, "optout", () => t.out._zod.optout), + m(e._zod, "propValues", () => t.in._zod.propValues), + (e._zod.parse = (e, n) => { + if ("forward" === (n.direction || "forward")) { + const r = t.in._zod.run(e, n); + return r instanceof Promise + ? r.then((e) => Tr(e, t, n)) + : Tr(r, t, n); + } + { + const r = t.out._zod.run(e, n); + return r instanceof Promise + ? r.then((e) => Tr(e, t, n)) + : Tr(r, t, n); + } + })); + }); + function Tr(e, t, n) { + if (e.issues.length) return ((e.aborted = !0), e); + if ("forward" === (n.direction || "forward")) { + const r = t.transform(e.value, e); + return r instanceof Promise + ? r.then((r) => Ar(e, r, t.out, n)) + : Ar(e, r, t.out, n); + } + { + const r = t.reverseTransform(e.value, e); + return r instanceof Promise + ? r.then((r) => Ar(e, r, t.in, n)) + : Ar(e, r, t.in, n); + } + } + function Ar(e, t, n, r) { + return e.issues.length + ? ((e.aborted = !0), e) + : n._zod.run( + { + value: t, + issues: e.issues, + }, + r, + ); + } + const $r = t("$ZodReadonly", (e, t) => { + (Jt.init(e, t), + m(e._zod, "propValues", () => t.innerType._zod.propValues), + m(e._zod, "values", () => t.innerType._zod.values), + m(e._zod, "optin", () => t.innerType._zod.optin), + m(e._zod, "optout", () => t.innerType._zod.optout), + (e._zod.parse = (e, n) => { + if ("backward" === n.direction) return t.innerType._zod.run(e, n); + const r = t.innerType._zod.run(e, n); + return r instanceof Promise ? r.then(Cr) : Cr(r); + })); + }); + function Cr(e) { + return ((e.value = Object.freeze(e.value)), e); + } + const Pr = t("$ZodTemplateLiteral", (e, t) => { + Jt.init(e, t); + const n = []; + for (const r of t.parts) + if ("object" == typeof r && null !== r) { + if (!r._zod.pattern) + throw new Error( + `Invalid template literal part, no pattern found: ${[...r._zod.traits].shift()}`, + ); + const e = + r._zod.pattern instanceof RegExp + ? r._zod.pattern.source + : r._zod.pattern; + if (!e) + throw new Error(`Invalid template literal part: ${r._zod.traits}`); + const t = e.startsWith("^") ? 1 : 0, + o = e.endsWith("$") ? e.length - 1 : e.length; + n.push(e.slice(t, o)); + } else { + if (null !== r && !_.has(typeof r)) + throw new Error(`Invalid template literal part: ${r}`); + n.push(E(`${r}`)); + } + ((e._zod.pattern = new RegExp(`^${n.join("")}$`)), + (e._zod.parse = (n, r) => + "string" != typeof n.value + ? (n.issues.push({ + input: n.value, + inst: e, + expected: "template_literal", + code: "invalid_type", + }), + n) + : ((e._zod.pattern.lastIndex = 0), + e._zod.pattern.test(n.value) || + n.issues.push({ + input: n.value, + inst: e, + code: "invalid_format", + format: t.format ?? "template_literal", + pattern: e._zod.pattern.source, + }), + n))); + }), + Dr = t( + "$ZodFunction", + (e, t) => ( + Jt.init(e, t), + (e._def = t), + (e._zod.def = t), + (e.implement = (t) => { + if ("function" != typeof t) + throw new Error("implement() must be called with a function"); + return function (...n) { + const r = e._def.input ? ae(e._def.input, n) : n, + o = Reflect.apply(t, this, r); + return e._def.output ? ae(e._def.output, o) : o; + }; + }), + (e.implementAsync = (t) => { + if ("function" != typeof t) + throw new Error("implementAsync() must be called with a function"); + return async function (...n) { + const r = e._def.input ? await se(e._def.input, n) : n, + o = await Reflect.apply(t, this, r); + return e._def.output ? await se(e._def.output, o) : o; + }; + }), + (e._zod.parse = (t, n) => { + if ("function" != typeof t.value) + return ( + t.issues.push({ + code: "invalid_type", + expected: "function", + input: t.value, + inst: e, + }), + t + ); + const r = e._def.output && "promise" === e._def.output._zod.def.type; + return ( + (t.value = r ? e.implementAsync(t.value) : e.implement(t.value)), + t + ); + }), + (e.input = (...t) => { + const n = e.constructor; + return Array.isArray(t[0]) + ? new n({ + type: "function", + input: new nr({ type: "tuple", items: t[0], rest: t[1] }), + output: e._def.output, + }) + : new n({ type: "function", input: t[0], output: e._def.output }); + }), + (e.output = (t) => + new (0, e.constructor)({ + type: "function", + input: e._def.input, + output: t, + })), + e + ), + ), + Ir = t("$ZodPromise", (e, t) => { + (Jt.init(e, t), + (e._zod.parse = (e, n) => + Promise.resolve(e.value).then((e) => + t.innerType._zod.run( + { + value: e, + issues: [], + }, + n, + ), + ))); + }), + Mr = t("$ZodLazy", (e, t) => { + (Jt.init(e, t), + m(e._zod, "innerType", () => t.getter()), + m(e._zod, "pattern", () => e._zod.innerType._zod.pattern), + m(e._zod, "propValues", () => e._zod.innerType._zod.propValues), + m(e._zod, "optin", () => e._zod.innerType._zod.optin ?? void 0), + m(e._zod, "optout", () => e._zod.innerType._zod.optout ?? void 0), + (e._zod.parse = (t, n) => e._zod.innerType._zod.run(t, n))); + }), + Nr = t("$ZodCustom", (e, t) => { + (Tt.init(e, t), + Jt.init(e, t), + (e._zod.parse = (e, t) => e), + (e._zod.check = (n) => { + const r = n.value, + o = t.fn(r); + if (o instanceof Promise) return o.then((t) => Rr(t, n, r, e)); + Rr(o, n, r, e); + })); + }); + function Rr(e, t, n, r) { + if (!e) { + const e = { + code: "custom", + input: n, + inst: r, + path: [...(r._zod.def.path ?? [])], + continue: !r._zod.def.abort, + }; + (r._zod.def.params && (e.params = r._zod.def.params), + t.issues.push(Z(e))); + } + } + const jr = () => { + const e = { + string: { unit: "حرف", verb: "أن يحوي" }, + file: { unit: "بايت", verb: "أن يحوي" }, + array: { unit: "عنصر", verb: "أن يحوي" }, + set: { unit: "عنصر", verb: "أن يحوي" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "مدخل", + email: "بريد إلكتروني", + url: "رابط", + emoji: "إيموجي", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "تاريخ ووقت بمعيار ISO", + date: "تاريخ بمعيار ISO", + time: "وقت بمعيار ISO", + duration: "مدة بمعيار ISO", + ipv4: "عنوان IPv4", + ipv6: "عنوان IPv6", + cidrv4: "مدى عناوين بصيغة IPv4", + cidrv6: "مدى عناوين بصيغة IPv6", + base64: "نَص بترميز base64-encoded", + base64url: "نَص بترميز base64url-encoded", + json_string: "نَص على هيئة JSON", + e164: "رقم هاتف بمعيار E.164", + jwt: "JWT", + template_literal: "مدخل", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `مدخلات غير مقبولة: يفترض إدخال ${e.expected}، ولكن تم إدخال ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `مدخلات غير مقبولة: يفترض إدخال ${$(e.values[0])}` + : `اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? ` أكبر من اللازم: يفترض أن تكون ${e.origin ?? "القيمة"} ${n} ${e.maximum.toString()} ${r.unit ?? "عنصر"}` + : `أكبر من اللازم: يفترض أن تكون ${e.origin ?? "القيمة"} ${n} ${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()} ${r.unit}` + : `أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `نَص غير مقبول: يجب أن يبدأ بـ "${e.prefix}"` + : "ends_with" === t.format + ? `نَص غير مقبول: يجب أن ينتهي بـ "${t.suffix}"` + : "includes" === t.format + ? `نَص غير مقبول: يجب أن يتضمَّن "${t.includes}"` + : "regex" === t.format + ? `نَص غير مقبول: يجب أن يطابق النمط ${t.pattern}` + : `${n[t.format] ?? e.format} غير مقبول`; + } + case "not_multiple_of": + return `رقم غير مقبول: يجب أن يكون من مضاعفات ${e.divisor}`; + case "unrecognized_keys": + return `معرف${e.keys.length > 1 ? "ات" : ""} غريب${e.keys.length > 1 ? "ة" : ""}: ${l(e.keys, "، ")}`; + case "invalid_key": + return `معرف غير مقبول في ${e.origin}`; + case "invalid_union": + default: + return "مدخل غير مقبول"; + case "invalid_element": + return `مدخل غير مقبول في ${e.origin}`; + } + }; + }; + const Lr = () => { + const e = { + string: { + unit: "simvol", + verb: "olmalıdır", + }, + file: { unit: "bayt", verb: "olmalıdır" }, + array: { + unit: "element", + verb: "olmalıdır", + }, + set: { unit: "element", verb: "olmalıdır" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "input", + email: "email address", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO datetime", + date: "ISO date", + time: "ISO time", + duration: "ISO duration", + ipv4: "IPv4 address", + ipv6: "IPv6 address", + cidrv4: "IPv4 range", + cidrv6: "IPv6 range", + base64: "base64-encoded string", + base64url: "base64url-encoded string", + json_string: "JSON string", + e164: "E.164 number", + jwt: "JWT", + template_literal: "input", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Yanlış dəyər: gözlənilən ${e.expected}, daxil olan ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Yanlış dəyər: gözlənilən ${$(e.values[0])}` + : `Yanlış seçim: aşağıdakılardan biri olmalıdır: ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Çox böyük: gözlənilən ${e.origin ?? "dəyər"} ${n}${e.maximum.toString()} ${r.unit ?? "element"}` + : `Çox böyük: gözlənilən ${e.origin ?? "dəyər"} ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()} ${r.unit}` + : `Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Yanlış mətn: "${t.prefix}" ilə başlamalıdır` + : "ends_with" === t.format + ? `Yanlış mətn: "${t.suffix}" ilə bitməlidir` + : "includes" === t.format + ? `Yanlış mətn: "${t.includes}" daxil olmalıdır` + : "regex" === t.format + ? `Yanlış mətn: ${t.pattern} şablonuna uyğun olmalıdır` + : `Yanlış ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Yanlış ədəd: ${e.divisor} ilə bölünə bilən olmalıdır`; + case "unrecognized_keys": + return `Tanınmayan açar${e.keys.length > 1 ? "lar" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `${e.origin} daxilində yanlış açar`; + case "invalid_union": + default: + return "Yanlış dəyər"; + case "invalid_element": + return `${e.origin} daxilində yanlış dəyər`; + } + }; + }; + function Ur(e, t, n, r) { + const o = Math.abs(e), + a = o % 10, + i = o % 100; + return i >= 11 && i <= 19 ? r : 1 === a ? t : a >= 2 && a <= 4 ? n : r; + } + const Br = () => { + const e = { + string: { + unit: { one: "сімвал", few: "сімвалы", many: "сімвалаў" }, + verb: "мець", + }, + array: { + unit: { one: "элемент", few: "элементы", many: "элементаў" }, + verb: "мець", + }, + set: { + unit: { one: "элемент", few: "элементы", many: "элементаў" }, + verb: "мець", + }, + file: { + unit: { one: "байт", few: "байты", many: "байтаў" }, + verb: "мець", + }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "увод", + email: "email адрас", + url: "URL", + emoji: "эмодзі", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO дата і час", + date: "ISO дата", + time: "ISO час", + duration: "ISO працягласць", + ipv4: "IPv4 адрас", + ipv6: "IPv6 адрас", + cidrv4: "IPv4 дыяпазон", + cidrv6: "IPv6 дыяпазон", + base64: "радок у фармаце base64", + base64url: "радок у фармаце base64url", + json_string: "JSON радок", + e164: "нумар E.164", + jwt: "JWT", + template_literal: "увод", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Няправільны ўвод: чакаўся ${e.expected}, атрымана ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "лік"; + case "object": + if (Array.isArray(e)) return "масіў"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Няправільны ўвод: чакалася ${$(e.values[0])}` + : `Няправільны варыянт: чакаўся адзін з ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + if (r) { + const t = Ur( + Number(e.maximum), + r.unit.one, + r.unit.few, + r.unit.many, + ); + return `Занадта вялікі: чакалася, што ${e.origin ?? "значэнне"} павінна ${r.verb} ${n}${e.maximum.toString()} ${t}`; + } + return `Занадта вялікі: чакалася, што ${e.origin ?? "значэнне"} павінна быць ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + if (r) { + const t = Ur( + Number(e.minimum), + r.unit.one, + r.unit.few, + r.unit.many, + ); + return `Занадта малы: чакалася, што ${e.origin} павінна ${r.verb} ${n}${e.minimum.toString()} ${t}`; + } + return `Занадта малы: чакалася, што ${e.origin} павінна быць ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Няправільны радок: павінен пачынацца з "${t.prefix}"` + : "ends_with" === t.format + ? `Няправільны радок: павінен заканчвацца на "${t.suffix}"` + : "includes" === t.format + ? `Няправільны радок: павінен змяшчаць "${t.includes}"` + : "regex" === t.format + ? `Няправільны радок: павінен адпавядаць шаблону ${t.pattern}` + : `Няправільны ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Няправільны лік: павінен быць кратным ${e.divisor}`; + case "unrecognized_keys": + return `Нераспазнаны ${e.keys.length > 1 ? "ключы" : "ключ"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Няправільны ключ у ${e.origin}`; + case "invalid_union": + default: + return "Няправільны ўвод"; + case "invalid_element": + return `Няправільнае значэнне ў ${e.origin}`; + } + }; + }; + const Fr = () => { + const e = { + string: { + unit: "caràcters", + verb: "contenir", + }, + file: { unit: "bytes", verb: "contenir" }, + array: { + unit: "elements", + verb: "contenir", + }, + set: { unit: "elements", verb: "contenir" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "entrada", + email: "adreça electrònica", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "data i hora ISO", + date: "data ISO", + time: "hora ISO", + duration: "durada ISO", + ipv4: "adreça IPv4", + ipv6: "adreça IPv6", + cidrv4: "rang IPv4", + cidrv6: "rang IPv6", + base64: "cadena codificada en base64", + base64url: "cadena codificada en base64url", + json_string: "cadena JSON", + e164: "número E.164", + jwt: "JWT", + template_literal: "entrada", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Tipus invàlid: s'esperava ${e.expected}, s'ha rebut ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Valor invàlid: s'esperava ${$(e.values[0])}` + : `Opció invàlida: s'esperava una de ${l(e.values, " o ")}`; + case "too_big": { + const n = e.inclusive ? "com a màxim" : "menys de", + r = t(e.origin); + return r + ? `Massa gran: s'esperava que ${e.origin ?? "el valor"} contingués ${n} ${e.maximum.toString()} ${r.unit ?? "elements"}` + : `Massa gran: s'esperava que ${e.origin ?? "el valor"} fos ${n} ${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? "com a mínim" : "més de", + r = t(e.origin); + return r + ? `Massa petit: s'esperava que ${e.origin} contingués ${n} ${e.minimum.toString()} ${r.unit}` + : `Massa petit: s'esperava que ${e.origin} fos ${n} ${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Format invàlid: ha de començar amb "${t.prefix}"` + : "ends_with" === t.format + ? `Format invàlid: ha d'acabar amb "${t.suffix}"` + : "includes" === t.format + ? `Format invàlid: ha d'incloure "${t.includes}"` + : "regex" === t.format + ? `Format invàlid: ha de coincidir amb el patró ${t.pattern}` + : `Format invàlid per a ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Número invàlid: ha de ser múltiple de ${e.divisor}`; + case "unrecognized_keys": + return `Clau${e.keys.length > 1 ? "s" : ""} no reconeguda${e.keys.length > 1 ? "s" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Clau invàlida a ${e.origin}`; + case "invalid_union": + default: + return "Entrada invàlida"; + case "invalid_element": + return `Element invàlid a ${e.origin}`; + } + }; + }; + const zr = () => { + const e = { + string: { + unit: "znaků", + verb: "mít", + }, + file: { unit: "bajtů", verb: "mít" }, + array: { unit: "prvků", verb: "mít" }, + set: { unit: "prvků", verb: "mít" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "regulární výraz", + email: "e-mailová adresa", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "datum a čas ve formátu ISO", + date: "datum ve formátu ISO", + time: "čas ve formátu ISO", + duration: "doba trvání ISO", + ipv4: "IPv4 adresa", + ipv6: "IPv6 adresa", + cidrv4: "rozsah IPv4", + cidrv6: "rozsah IPv6", + base64: "řetězec zakódovaný ve formátu base64", + base64url: "řetězec zakódovaný ve formátu base64url", + json_string: "řetězec ve formátu JSON", + e164: "číslo E.164", + jwt: "JWT", + template_literal: "vstup", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Neplatný vstup: očekáváno ${e.expected}, obdrženo ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "číslo"; + case "string": + return "řetězec"; + case "boolean": + return "boolean"; + case "bigint": + return "bigint"; + case "function": + return "funkce"; + case "symbol": + return "symbol"; + case "undefined": + return "undefined"; + case "object": + if (Array.isArray(e)) return "pole"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Neplatný vstup: očekáváno ${$(e.values[0])}` + : `Neplatná možnost: očekávána jedna z hodnot ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Hodnota je příliš velká: ${e.origin ?? "hodnota"} musí mít ${n}${e.maximum.toString()} ${r.unit ?? "prvků"}` + : `Hodnota je příliš velká: ${e.origin ?? "hodnota"} musí být ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Hodnota je příliš malá: ${e.origin ?? "hodnota"} musí mít ${n}${e.minimum.toString()} ${r.unit ?? "prvků"}` + : `Hodnota je příliš malá: ${e.origin ?? "hodnota"} musí být ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Neplatný řetězec: musí začínat na "${t.prefix}"` + : "ends_with" === t.format + ? `Neplatný řetězec: musí končit na "${t.suffix}"` + : "includes" === t.format + ? `Neplatný řetězec: musí obsahovat "${t.includes}"` + : "regex" === t.format + ? `Neplatný řetězec: musí odpovídat vzoru ${t.pattern}` + : `Neplatný formát ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Neplatné číslo: musí být násobkem ${e.divisor}`; + case "unrecognized_keys": + return `Neznámé klíče: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Neplatný klíč v ${e.origin}`; + case "invalid_union": + default: + return "Neplatný vstup"; + case "invalid_element": + return `Neplatná hodnota v ${e.origin}`; + } + }; + }; + const Qr = () => { + const e = { + string: { + unit: "tegn", + verb: "havde", + }, + file: { unit: "bytes", verb: "havde" }, + array: { + unit: "elementer", + verb: "indeholdt", + }, + set: { unit: "elementer", verb: "indeholdt" }, + }, + t = { + string: "streng", + number: "tal", + boolean: "boolean", + array: "liste", + object: "objekt", + set: "sæt", + file: "fil", + }; + function n(t) { + return e[t] ?? null; + } + function r(e) { + return t[e] ?? e; + } + const o = { + regex: "input", + email: "e-mailadresse", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO dato- og klokkeslæt", + date: "ISO-dato", + time: "ISO-klokkeslæt", + duration: "ISO-varighed", + ipv4: "IPv4-område", + ipv6: "IPv6-område", + cidrv4: "IPv4-spektrum", + cidrv6: "IPv6-spektrum", + base64: "base64-kodet streng", + base64url: "base64url-kodet streng", + json_string: "JSON-streng", + e164: "E.164-nummer", + jwt: "JWT", + template_literal: "input", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Ugyldigt input: forventede ${r(e.expected)}, fik ${r( + ((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "tal"; + case "object": + return Array.isArray(e) + ? "liste" + : null === e + ? "null" + : Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ? e.constructor.name + : "objekt"; + } + return t; + })(e.input), + )}`; + case "invalid_value": + return 1 === e.values.length + ? `Ugyldig værdi: forventede ${$(e.values[0])}` + : `Ugyldigt valg: forventede en af følgende ${l(e.values, "|")}`; + case "too_big": { + const t = e.inclusive ? "<=" : "<", + o = n(e.origin), + a = r(e.origin); + return o + ? `For stor: forventede ${a ?? "value"} ${o.verb} ${t} ${e.maximum.toString()} ${o.unit ?? "elementer"}` + : `For stor: forventede ${a ?? "value"} havde ${t} ${e.maximum.toString()}`; + } + case "too_small": { + const t = e.inclusive ? ">=" : ">", + o = n(e.origin), + a = r(e.origin); + return o + ? `For lille: forventede ${a} ${o.verb} ${t} ${e.minimum.toString()} ${o.unit}` + : `For lille: forventede ${a} havde ${t} ${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Ugyldig streng: skal starte med "${t.prefix}"` + : "ends_with" === t.format + ? `Ugyldig streng: skal ende med "${t.suffix}"` + : "includes" === t.format + ? `Ugyldig streng: skal indeholde "${t.includes}"` + : "regex" === t.format + ? `Ugyldig streng: skal matche mønsteret ${t.pattern}` + : `Ugyldig ${o[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Ugyldigt tal: skal være deleligt med ${e.divisor}`; + case "unrecognized_keys": + return `${e.keys.length > 1 ? "Ukendte nøgler" : "Ukendt nøgle"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Ugyldig nøgle i ${e.origin}`; + case "invalid_union": + return "Ugyldigt input: matcher ingen af de tilladte typer"; + case "invalid_element": + return `Ugyldig værdi i ${e.origin}`; + default: + return "Ugyldigt input"; + } + }; + }; + const qr = () => { + const e = { + string: { unit: "Zeichen", verb: "zu haben" }, + file: { unit: "Bytes", verb: "zu haben" }, + array: { unit: "Elemente", verb: "zu haben" }, + set: { unit: "Elemente", verb: "zu haben" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "Eingabe", + email: "E-Mail-Adresse", + url: "URL", + emoji: "Emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO-Datum und -Uhrzeit", + date: "ISO-Datum", + time: "ISO-Uhrzeit", + duration: "ISO-Dauer", + ipv4: "IPv4-Adresse", + ipv6: "IPv6-Adresse", + cidrv4: "IPv4-Bereich", + cidrv6: "IPv6-Bereich", + base64: "Base64-codierter String", + base64url: "Base64-URL-codierter String", + json_string: "JSON-String", + e164: "E.164-Nummer", + jwt: "JWT", + template_literal: "Eingabe", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Ungültige Eingabe: erwartet ${e.expected}, erhalten ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "Zahl"; + case "object": + if (Array.isArray(e)) return "Array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Ungültige Eingabe: erwartet ${$(e.values[0])}` + : `Ungültige Option: erwartet eine von ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Zu groß: erwartet, dass ${e.origin ?? "Wert"} ${n}${e.maximum.toString()} ${r.unit ?? "Elemente"} hat` + : `Zu groß: erwartet, dass ${e.origin ?? "Wert"} ${n}${e.maximum.toString()} ist`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ${r.unit} hat` + : `Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ist`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Ungültiger String: muss mit "${t.prefix}" beginnen` + : "ends_with" === t.format + ? `Ungültiger String: muss mit "${t.suffix}" enden` + : "includes" === t.format + ? `Ungültiger String: muss "${t.includes}" enthalten` + : "regex" === t.format + ? `Ungültiger String: muss dem Muster ${t.pattern} entsprechen` + : `Ungültig: ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Ungültige Zahl: muss ein Vielfaches von ${e.divisor} sein`; + case "unrecognized_keys": + return `${e.keys.length > 1 ? "Unbekannte Schlüssel" : "Unbekannter Schlüssel"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Ungültiger Schlüssel in ${e.origin}`; + case "invalid_union": + default: + return "Ungültige Eingabe"; + case "invalid_element": + return `Ungültiger Wert in ${e.origin}`; + } + }; + }; + const Vr = () => { + const e = { + string: { + unit: "characters", + verb: "to have", + }, + file: { unit: "bytes", verb: "to have" }, + array: { + unit: "items", + verb: "to have", + }, + set: { unit: "items", verb: "to have" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "input", + email: "email address", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO datetime", + date: "ISO date", + time: "ISO time", + duration: "ISO duration", + ipv4: "IPv4 address", + ipv6: "IPv6 address", + cidrv4: "IPv4 range", + cidrv6: "IPv6 range", + base64: "base64-encoded string", + base64url: "base64url-encoded string", + json_string: "JSON string", + e164: "E.164 number", + jwt: "JWT", + template_literal: "input", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Invalid input: expected ${e.expected}, received ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Invalid input: expected ${$(e.values[0])}` + : `Invalid option: expected one of ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Too big: expected ${e.origin ?? "value"} to have ${n}${e.maximum.toString()} ${r.unit ?? "elements"}` + : `Too big: expected ${e.origin ?? "value"} to be ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}` + : `Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Invalid string: must start with "${t.prefix}"` + : "ends_with" === t.format + ? `Invalid string: must end with "${t.suffix}"` + : "includes" === t.format + ? `Invalid string: must include "${t.includes}"` + : "regex" === t.format + ? `Invalid string: must match pattern ${t.pattern}` + : `Invalid ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Invalid number: must be a multiple of ${e.divisor}`; + case "unrecognized_keys": + return `Unrecognized key${e.keys.length > 1 ? "s" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Invalid key in ${e.origin}`; + case "invalid_union": + default: + return "Invalid input"; + case "invalid_element": + return `Invalid value in ${e.origin}`; + } + }; + }; + function Zr() { + return { localeError: Vr() }; + } + const Hr = () => { + const e = { + string: { unit: "karaktrojn", verb: "havi" }, + file: { + unit: "bajtojn", + verb: "havi", + }, + array: { unit: "elementojn", verb: "havi" }, + set: { + unit: "elementojn", + verb: "havi", + }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "enigo", + email: "retadreso", + url: "URL", + emoji: "emoĝio", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO-datotempo", + date: "ISO-dato", + time: "ISO-tempo", + duration: "ISO-daŭro", + ipv4: "IPv4-adreso", + ipv6: "IPv6-adreso", + cidrv4: "IPv4-rango", + cidrv6: "IPv6-rango", + base64: "64-ume kodita karaktraro", + base64url: "URL-64-ume kodita karaktraro", + json_string: "JSON-karaktraro", + e164: "E.164-nombro", + jwt: "JWT", + template_literal: "enigo", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Nevalida enigo: atendiĝis ${e.expected}, riceviĝis ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "nombro"; + case "object": + if (Array.isArray(e)) return "tabelo"; + if (null === e) return "senvalora"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Nevalida enigo: atendiĝis ${$(e.values[0])}` + : `Nevalida opcio: atendiĝis unu el ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Tro granda: atendiĝis ke ${e.origin ?? "valoro"} havu ${n}${e.maximum.toString()} ${r.unit ?? "elementojn"}` + : `Tro granda: atendiĝis ke ${e.origin ?? "valoro"} havu ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Tro malgranda: atendiĝis ke ${e.origin} havu ${n}${e.minimum.toString()} ${r.unit}` + : `Tro malgranda: atendiĝis ke ${e.origin} estu ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Nevalida karaktraro: devas komenciĝi per "${t.prefix}"` + : "ends_with" === t.format + ? `Nevalida karaktraro: devas finiĝi per "${t.suffix}"` + : "includes" === t.format + ? `Nevalida karaktraro: devas inkluzivi "${t.includes}"` + : "regex" === t.format + ? `Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}` + : `Nevalida ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Nevalida nombro: devas esti oblo de ${e.divisor}`; + case "unrecognized_keys": + return `Nekonata${e.keys.length > 1 ? "j" : ""} ŝlosilo${e.keys.length > 1 ? "j" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Nevalida ŝlosilo en ${e.origin}`; + case "invalid_union": + default: + return "Nevalida enigo"; + case "invalid_element": + return `Nevalida valoro en ${e.origin}`; + } + }; + }; + const Wr = () => { + const e = { + string: { + unit: "caracteres", + verb: "tener", + }, + file: { unit: "bytes", verb: "tener" }, + array: { + unit: "elementos", + verb: "tener", + }, + set: { unit: "elementos", verb: "tener" }, + }, + t = { + string: "texto", + number: "número", + boolean: "booleano", + array: "arreglo", + object: "objeto", + set: "conjunto", + file: "archivo", + date: "fecha", + bigint: "número grande", + symbol: "símbolo", + undefined: "indefinido", + null: "nulo", + function: "función", + map: "mapa", + record: "registro", + tuple: "tupla", + enum: "enumeración", + union: "unión", + literal: "literal", + promise: "promesa", + void: "vacío", + never: "nunca", + unknown: "desconocido", + any: "cualquiera", + }; + function n(t) { + return e[t] ?? null; + } + function r(e) { + return t[e] ?? e; + } + const o = { + regex: "entrada", + email: "dirección de correo electrónico", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "fecha y hora ISO", + date: "fecha ISO", + time: "hora ISO", + duration: "duración ISO", + ipv4: "dirección IPv4", + ipv6: "dirección IPv6", + cidrv4: "rango IPv4", + cidrv6: "rango IPv6", + base64: "cadena codificada en base64", + base64url: "URL codificada en base64", + json_string: "cadena JSON", + e164: "número E.164", + jwt: "JWT", + template_literal: "entrada", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Entrada inválida: se esperaba ${r(e.expected)}, recibido ${r( + ((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + return Array.isArray(e) + ? "array" + : null === e + ? "null" + : Object.getPrototypeOf(e) !== Object.prototype + ? e.constructor.name + : "object"; + } + return t; + })(e.input), + )}`; + case "invalid_value": + return 1 === e.values.length + ? `Entrada inválida: se esperaba ${$(e.values[0])}` + : `Opción inválida: se esperaba una de ${l(e.values, "|")}`; + case "too_big": { + const t = e.inclusive ? "<=" : "<", + o = n(e.origin), + a = r(e.origin); + return o + ? `Demasiado grande: se esperaba que ${a ?? "valor"} tuviera ${t}${e.maximum.toString()} ${o.unit ?? "elementos"}` + : `Demasiado grande: se esperaba que ${a ?? "valor"} fuera ${t}${e.maximum.toString()}`; + } + case "too_small": { + const t = e.inclusive ? ">=" : ">", + o = n(e.origin), + a = r(e.origin); + return o + ? `Demasiado pequeño: se esperaba que ${a} tuviera ${t}${e.minimum.toString()} ${o.unit}` + : `Demasiado pequeño: se esperaba que ${a} fuera ${t}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Cadena inválida: debe comenzar con "${t.prefix}"` + : "ends_with" === t.format + ? `Cadena inválida: debe terminar en "${t.suffix}"` + : "includes" === t.format + ? `Cadena inválida: debe incluir "${t.includes}"` + : "regex" === t.format + ? `Cadena inválida: debe coincidir con el patrón ${t.pattern}` + : `Inválido ${o[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Número inválido: debe ser múltiplo de ${e.divisor}`; + case "unrecognized_keys": + return `Llave${e.keys.length > 1 ? "s" : ""} desconocida${e.keys.length > 1 ? "s" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Llave inválida en ${r(e.origin)}`; + case "invalid_union": + default: + return "Entrada inválida"; + case "invalid_element": + return `Valor inválido en ${r(e.origin)}`; + } + }; + }; + const Xr = () => { + const e = { + string: { + unit: "کاراکتر", + verb: "داشته باشد", + }, + file: { unit: "بایت", verb: "داشته باشد" }, + array: { + unit: "آیتم", + verb: "داشته باشد", + }, + set: { unit: "آیتم", verb: "داشته باشد" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "ورودی", + email: "آدرس ایمیل", + url: "URL", + emoji: "ایموجی", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "تاریخ و زمان ایزو", + date: "تاریخ ایزو", + time: "زمان ایزو", + duration: "مدت زمان ایزو", + ipv4: "IPv4 آدرس", + ipv6: "IPv6 آدرس", + cidrv4: "IPv4 دامنه", + cidrv6: "IPv6 دامنه", + base64: "base64-encoded رشته", + base64url: "base64url-encoded رشته", + json_string: "JSON رشته", + e164: "E.164 عدد", + jwt: "JWT", + template_literal: "ورودی", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `ورودی نامعتبر: می‌بایست ${e.expected} می‌بود، ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "عدد"; + case "object": + if (Array.isArray(e)) return "آرایه"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)} دریافت شد`; + case "invalid_value": + return 1 === e.values.length + ? `ورودی نامعتبر: می‌بایست ${$(e.values[0])} می‌بود` + : `گزینه نامعتبر: می‌بایست یکی از ${l(e.values, "|")} می‌بود`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `خیلی بزرگ: ${e.origin ?? "مقدار"} باید ${n}${e.maximum.toString()} ${r.unit ?? "عنصر"} باشد` + : `خیلی بزرگ: ${e.origin ?? "مقدار"} باید ${n}${e.maximum.toString()} باشد`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} باشد` + : `خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} باشد`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `رشته نامعتبر: باید با "${t.prefix}" شروع شود` + : "ends_with" === t.format + ? `رشته نامعتبر: باید با "${t.suffix}" تمام شود` + : "includes" === t.format + ? `رشته نامعتبر: باید شامل "${t.includes}" باشد` + : "regex" === t.format + ? `رشته نامعتبر: باید با الگوی ${t.pattern} مطابقت داشته باشد` + : `${n[t.format] ?? e.format} نامعتبر`; + } + case "not_multiple_of": + return `عدد نامعتبر: باید مضرب ${e.divisor} باشد`; + case "unrecognized_keys": + return `کلید${e.keys.length > 1 ? "های" : ""} ناشناس: ${l(e.keys, ", ")}`; + case "invalid_key": + return `کلید ناشناس در ${e.origin}`; + case "invalid_union": + default: + return "ورودی نامعتبر"; + case "invalid_element": + return `مقدار نامعتبر در ${e.origin}`; + } + }; + }; + const Gr = () => { + const e = { + string: { + unit: "merkkiä", + subject: "merkkijonon", + }, + file: { unit: "tavua", subject: "tiedoston" }, + array: { unit: "alkiota", subject: "listan" }, + set: { unit: "alkiota", subject: "joukon" }, + number: { unit: "", subject: "luvun" }, + bigint: { unit: "", subject: "suuren kokonaisluvun" }, + int: { unit: "", subject: "kokonaisluvun" }, + date: { unit: "", subject: "päivämäärän" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "säännöllinen lauseke", + email: "sähköpostiosoite", + url: "URL-osoite", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO-aikaleima", + date: "ISO-päivämäärä", + time: "ISO-aika", + duration: "ISO-kesto", + ipv4: "IPv4-osoite", + ipv6: "IPv6-osoite", + cidrv4: "IPv4-alue", + cidrv6: "IPv6-alue", + base64: "base64-koodattu merkkijono", + base64url: "base64url-koodattu merkkijono", + json_string: "JSON-merkkijono", + e164: "E.164-luku", + jwt: "JWT", + template_literal: "templaattimerkkijono", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Virheellinen tyyppi: odotettiin ${e.expected}, oli ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Virheellinen syöte: täytyy olla ${$(e.values[0])}` + : `Virheellinen valinta: täytyy olla yksi seuraavista: ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Liian suuri: ${r.subject} täytyy olla ${n}${e.maximum.toString()} ${r.unit}`.trim() + : `Liian suuri: arvon täytyy olla ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Liian pieni: ${r.subject} täytyy olla ${n}${e.minimum.toString()} ${r.unit}`.trim() + : `Liian pieni: arvon täytyy olla ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Virheellinen syöte: täytyy alkaa "${t.prefix}"` + : "ends_with" === t.format + ? `Virheellinen syöte: täytyy loppua "${t.suffix}"` + : "includes" === t.format + ? `Virheellinen syöte: täytyy sisältää "${t.includes}"` + : "regex" === t.format + ? `Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${t.pattern}` + : `Virheellinen ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Virheellinen luku: täytyy olla luvun ${e.divisor} monikerta`; + case "unrecognized_keys": + return `${e.keys.length > 1 ? "Tuntemattomat avaimet" : "Tuntematon avain"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return "Virheellinen avain tietueessa"; + case "invalid_union": + return "Virheellinen unioni"; + case "invalid_element": + return "Virheellinen arvo joukossa"; + default: + return "Virheellinen syöte"; + } + }; + }; + const Yr = () => { + const e = { + string: { unit: "caractères", verb: "avoir" }, + file: { + unit: "octets", + verb: "avoir", + }, + array: { unit: "éléments", verb: "avoir" }, + set: { + unit: "éléments", + verb: "avoir", + }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "entrée", + email: "adresse e-mail", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "date et heure ISO", + date: "date ISO", + time: "heure ISO", + duration: "durée ISO", + ipv4: "adresse IPv4", + ipv6: "adresse IPv6", + cidrv4: "plage IPv4", + cidrv6: "plage IPv6", + base64: "chaîne encodée en base64", + base64url: "chaîne encodée en base64url", + json_string: "chaîne JSON", + e164: "numéro E.164", + jwt: "JWT", + template_literal: "entrée", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Entrée invalide : ${e.expected} attendu, ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "nombre"; + case "object": + if (Array.isArray(e)) return "tableau"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)} reçu`; + case "invalid_value": + return 1 === e.values.length + ? `Entrée invalide : ${$(e.values[0])} attendu` + : `Option invalide : une valeur parmi ${l(e.values, "|")} attendue`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Trop grand : ${e.origin ?? "valeur"} doit ${r.verb} ${n}${e.maximum.toString()} ${r.unit ?? "élément(s)"}` + : `Trop grand : ${e.origin ?? "valeur"} doit être ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Trop petit : ${e.origin} doit ${r.verb} ${n}${e.minimum.toString()} ${r.unit}` + : `Trop petit : ${e.origin} doit être ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Chaîne invalide : doit commencer par "${t.prefix}"` + : "ends_with" === t.format + ? `Chaîne invalide : doit se terminer par "${t.suffix}"` + : "includes" === t.format + ? `Chaîne invalide : doit inclure "${t.includes}"` + : "regex" === t.format + ? `Chaîne invalide : doit correspondre au modèle ${t.pattern}` + : `${n[t.format] ?? e.format} invalide`; + } + case "not_multiple_of": + return `Nombre invalide : doit être un multiple de ${e.divisor}`; + case "unrecognized_keys": + return `Clé${e.keys.length > 1 ? "s" : ""} non reconnue${e.keys.length > 1 ? "s" : ""} : ${l(e.keys, ", ")}`; + case "invalid_key": + return `Clé invalide dans ${e.origin}`; + case "invalid_union": + default: + return "Entrée invalide"; + case "invalid_element": + return `Valeur invalide dans ${e.origin}`; + } + }; + }; + const Kr = () => { + const e = { + string: { + unit: "caractères", + verb: "avoir", + }, + file: { unit: "octets", verb: "avoir" }, + array: { + unit: "éléments", + verb: "avoir", + }, + set: { unit: "éléments", verb: "avoir" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "entrée", + email: "adresse courriel", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "date-heure ISO", + date: "date ISO", + time: "heure ISO", + duration: "durée ISO", + ipv4: "adresse IPv4", + ipv6: "adresse IPv6", + cidrv4: "plage IPv4", + cidrv6: "plage IPv6", + base64: "chaîne encodée en base64", + base64url: "chaîne encodée en base64url", + json_string: "chaîne JSON", + e164: "numéro E.164", + jwt: "JWT", + template_literal: "entrée", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Entrée invalide : attendu ${e.expected}, reçu ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Entrée invalide : attendu ${$(e.values[0])}` + : `Option invalide : attendu l'une des valeurs suivantes ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "≤" : "<", + r = t(e.origin); + return r + ? `Trop grand : attendu que ${e.origin ?? "la valeur"} ait ${n}${e.maximum.toString()} ${r.unit}` + : `Trop grand : attendu que ${e.origin ?? "la valeur"} soit ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? "≥" : ">", + r = t(e.origin); + return r + ? `Trop petit : attendu que ${e.origin} ait ${n}${e.minimum.toString()} ${r.unit}` + : `Trop petit : attendu que ${e.origin} soit ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Chaîne invalide : doit commencer par "${t.prefix}"` + : "ends_with" === t.format + ? `Chaîne invalide : doit se terminer par "${t.suffix}"` + : "includes" === t.format + ? `Chaîne invalide : doit inclure "${t.includes}"` + : "regex" === t.format + ? `Chaîne invalide : doit correspondre au motif ${t.pattern}` + : `${n[t.format] ?? e.format} invalide`; + } + case "not_multiple_of": + return `Nombre invalide : doit être un multiple de ${e.divisor}`; + case "unrecognized_keys": + return `Clé${e.keys.length > 1 ? "s" : ""} non reconnue${e.keys.length > 1 ? "s" : ""} : ${l(e.keys, ", ")}`; + case "invalid_key": + return `Clé invalide dans ${e.origin}`; + case "invalid_union": + default: + return "Entrée invalide"; + case "invalid_element": + return `Valeur invalide dans ${e.origin}`; + } + }; + }; + const Jr = () => { + const e = { + string: { + unit: "אותיות", + verb: "לכלול", + }, + file: { unit: "בייטים", verb: "לכלול" }, + array: { + unit: "פריטים", + verb: "לכלול", + }, + set: { unit: "פריטים", verb: "לכלול" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "קלט", + email: "כתובת אימייל", + url: "כתובת רשת", + emoji: "אימוג'י", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "תאריך וזמן ISO", + date: "תאריך ISO", + time: "זמן ISO", + duration: "משך זמן ISO", + ipv4: "כתובת IPv4", + ipv6: "כתובת IPv6", + cidrv4: "טווח IPv4", + cidrv6: "טווח IPv6", + base64: "מחרוזת בבסיס 64", + base64url: "מחרוזת בבסיס 64 לכתובות רשת", + json_string: "מחרוזת JSON", + e164: "מספר E.164", + jwt: "JWT", + template_literal: "קלט", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `קלט לא תקין: צריך ${e.expected}, התקבל ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `קלט לא תקין: צריך ${$(e.values[0])}` + : `קלט לא תקין: צריך אחת מהאפשרויות ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `גדול מדי: ${e.origin ?? "value"} צריך להיות ${n}${e.maximum.toString()} ${r.unit ?? "elements"}` + : `גדול מדי: ${e.origin ?? "value"} צריך להיות ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `קטן מדי: ${e.origin} צריך להיות ${n}${e.minimum.toString()} ${r.unit}` + : `קטן מדי: ${e.origin} צריך להיות ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `מחרוזת לא תקינה: חייבת להתחיל ב"${t.prefix}"` + : "ends_with" === t.format + ? `מחרוזת לא תקינה: חייבת להסתיים ב "${t.suffix}"` + : "includes" === t.format + ? `מחרוזת לא תקינה: חייבת לכלול "${t.includes}"` + : "regex" === t.format + ? `מחרוזת לא תקינה: חייבת להתאים לתבנית ${t.pattern}` + : `${n[t.format] ?? e.format} לא תקין`; + } + case "not_multiple_of": + return `מספר לא תקין: חייב להיות מכפלה של ${e.divisor}`; + case "unrecognized_keys": + return `מפתח${e.keys.length > 1 ? "ות" : ""} לא מזוה${e.keys.length > 1 ? "ים" : "ה"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `מפתח לא תקין ב${e.origin}`; + case "invalid_union": + default: + return "קלט לא תקין"; + case "invalid_element": + return `ערך לא תקין ב${e.origin}`; + } + }; + }; + const eo = () => { + const e = { + string: { + unit: "karakter", + verb: "legyen", + }, + file: { unit: "byte", verb: "legyen" }, + array: { + unit: "elem", + verb: "legyen", + }, + set: { unit: "elem", verb: "legyen" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "bemenet", + email: "email cím", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO időbélyeg", + date: "ISO dátum", + time: "ISO idő", + duration: "ISO időintervallum", + ipv4: "IPv4 cím", + ipv6: "IPv6 cím", + cidrv4: "IPv4 tartomány", + cidrv6: "IPv6 tartomány", + base64: "base64-kódolt string", + base64url: "base64url-kódolt string", + json_string: "JSON string", + e164: "E.164 szám", + jwt: "JWT", + template_literal: "bemenet", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Érvénytelen bemenet: a várt érték ${e.expected}, a kapott érték ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "szám"; + case "object": + if (Array.isArray(e)) return "tömb"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Érvénytelen bemenet: a várt érték ${$(e.values[0])}` + : `Érvénytelen opció: valamelyik érték várt ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Túl nagy: ${e.origin ?? "érték"} mérete túl nagy ${n}${e.maximum.toString()} ${r.unit ?? "elem"}` + : `Túl nagy: a bemeneti érték ${e.origin ?? "érték"} túl nagy: ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Túl kicsi: a bemeneti érték ${e.origin} mérete túl kicsi ${n}${e.minimum.toString()} ${r.unit}` + : `Túl kicsi: a bemeneti érték ${e.origin} túl kicsi ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Érvénytelen string: "${t.prefix}" értékkel kell kezdődnie` + : "ends_with" === t.format + ? `Érvénytelen string: "${t.suffix}" értékkel kell végződnie` + : "includes" === t.format + ? `Érvénytelen string: "${t.includes}" értéket kell tartalmaznia` + : "regex" === t.format + ? `Érvénytelen string: ${t.pattern} mintának kell megfelelnie` + : `Érvénytelen ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Érvénytelen szám: ${e.divisor} többszörösének kell lennie`; + case "unrecognized_keys": + return `Ismeretlen kulcs${e.keys.length > 1 ? "s" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Érvénytelen kulcs ${e.origin}`; + case "invalid_union": + default: + return "Érvénytelen bemenet"; + case "invalid_element": + return `Érvénytelen érték: ${e.origin}`; + } + }; + }; + const to = () => { + const e = { + string: { + unit: "karakter", + verb: "memiliki", + }, + file: { unit: "byte", verb: "memiliki" }, + array: { + unit: "item", + verb: "memiliki", + }, + set: { unit: "item", verb: "memiliki" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "input", + email: "alamat email", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "tanggal dan waktu format ISO", + date: "tanggal format ISO", + time: "jam format ISO", + duration: "durasi format ISO", + ipv4: "alamat IPv4", + ipv6: "alamat IPv6", + cidrv4: "rentang alamat IPv4", + cidrv6: "rentang alamat IPv6", + base64: "string dengan enkode base64", + base64url: "string dengan enkode base64url", + json_string: "string JSON", + e164: "angka E.164", + jwt: "JWT", + template_literal: "input", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Input tidak valid: diharapkan ${e.expected}, diterima ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Input tidak valid: diharapkan ${$(e.values[0])}` + : `Pilihan tidak valid: diharapkan salah satu dari ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Terlalu besar: diharapkan ${e.origin ?? "value"} memiliki ${n}${e.maximum.toString()} ${r.unit ?? "elemen"}` + : `Terlalu besar: diharapkan ${e.origin ?? "value"} menjadi ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Terlalu kecil: diharapkan ${e.origin} memiliki ${n}${e.minimum.toString()} ${r.unit}` + : `Terlalu kecil: diharapkan ${e.origin} menjadi ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `String tidak valid: harus dimulai dengan "${t.prefix}"` + : "ends_with" === t.format + ? `String tidak valid: harus berakhir dengan "${t.suffix}"` + : "includes" === t.format + ? `String tidak valid: harus menyertakan "${t.includes}"` + : "regex" === t.format + ? `String tidak valid: harus sesuai pola ${t.pattern}` + : `${n[t.format] ?? e.format} tidak valid`; + } + case "not_multiple_of": + return `Angka tidak valid: harus kelipatan dari ${e.divisor}`; + case "unrecognized_keys": + return `Kunci tidak dikenali ${e.keys.length > 1 ? "s" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Kunci tidak valid di ${e.origin}`; + case "invalid_union": + default: + return "Input tidak valid"; + case "invalid_element": + return `Nilai tidak valid di ${e.origin}`; + } + }; + }; + const no = () => { + const e = { + string: { + unit: "stafi", + verb: "að hafa", + }, + file: { unit: "bæti", verb: "að hafa" }, + array: { + unit: "hluti", + verb: "að hafa", + }, + set: { unit: "hluti", verb: "að hafa" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "gildi", + email: "netfang", + url: "vefslóð", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO dagsetning og tími", + date: "ISO dagsetning", + time: "ISO tími", + duration: "ISO tímalengd", + ipv4: "IPv4 address", + ipv6: "IPv6 address", + cidrv4: "IPv4 range", + cidrv6: "IPv6 range", + base64: "base64-encoded strengur", + base64url: "base64url-encoded strengur", + json_string: "JSON strengur", + e164: "E.164 tölugildi", + jwt: "JWT", + template_literal: "gildi", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Rangt gildi: Þú slóst inn ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "númer"; + case "object": + if (Array.isArray(e)) return "fylki"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)} þar sem á að vera ${e.expected}`; + case "invalid_value": + return 1 === e.values.length + ? `Rangt gildi: gert ráð fyrir ${$(e.values[0])}` + : `Ógilt val: má vera eitt af eftirfarandi ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Of stórt: gert er ráð fyrir að ${e.origin ?? "gildi"} hafi ${n}${e.maximum.toString()} ${r.unit ?? "hluti"}` + : `Of stórt: gert er ráð fyrir að ${e.origin ?? "gildi"} sé ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Of lítið: gert er ráð fyrir að ${e.origin} hafi ${n}${e.minimum.toString()} ${r.unit}` + : `Of lítið: gert er ráð fyrir að ${e.origin} sé ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Ógildur strengur: verður að byrja á "${t.prefix}"` + : "ends_with" === t.format + ? `Ógildur strengur: verður að enda á "${t.suffix}"` + : "includes" === t.format + ? `Ógildur strengur: verður að innihalda "${t.includes}"` + : "regex" === t.format + ? `Ógildur strengur: verður að fylgja mynstri ${t.pattern}` + : `Rangt ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Röng tala: verður að vera margfeldi af ${e.divisor}`; + case "unrecognized_keys": + return `Óþekkt ${e.keys.length > 1 ? "ir lyklar" : "ur lykill"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Rangur lykill í ${e.origin}`; + case "invalid_union": + default: + return "Rangt gildi"; + case "invalid_element": + return `Rangt gildi í ${e.origin}`; + } + }; + }; + const ro = () => { + const e = { + string: { + unit: "caratteri", + verb: "avere", + }, + file: { unit: "byte", verb: "avere" }, + array: { + unit: "elementi", + verb: "avere", + }, + set: { unit: "elementi", verb: "avere" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "input", + email: "indirizzo email", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "data e ora ISO", + date: "data ISO", + time: "ora ISO", + duration: "durata ISO", + ipv4: "indirizzo IPv4", + ipv6: "indirizzo IPv6", + cidrv4: "intervallo IPv4", + cidrv6: "intervallo IPv6", + base64: "stringa codificata in base64", + base64url: "URL codificata in base64", + json_string: "stringa JSON", + e164: "numero E.164", + jwt: "JWT", + template_literal: "input", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Input non valido: atteso ${e.expected}, ricevuto ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "numero"; + case "object": + if (Array.isArray(e)) return "vettore"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Input non valido: atteso ${$(e.values[0])}` + : `Opzione non valida: atteso uno tra ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Troppo grande: ${e.origin ?? "valore"} deve avere ${n}${e.maximum.toString()} ${r.unit ?? "elementi"}` + : `Troppo grande: ${e.origin ?? "valore"} deve essere ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Troppo piccolo: ${e.origin} deve avere ${n}${e.minimum.toString()} ${r.unit}` + : `Troppo piccolo: ${e.origin} deve essere ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Stringa non valida: deve iniziare con "${t.prefix}"` + : "ends_with" === t.format + ? `Stringa non valida: deve terminare con "${t.suffix}"` + : "includes" === t.format + ? `Stringa non valida: deve includere "${t.includes}"` + : "regex" === t.format + ? `Stringa non valida: deve corrispondere al pattern ${t.pattern}` + : `Invalid ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Numero non valido: deve essere un multiplo di ${e.divisor}`; + case "unrecognized_keys": + return `Chiav${e.keys.length > 1 ? "i" : "e"} non riconosciut${e.keys.length > 1 ? "e" : "a"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Chiave non valida in ${e.origin}`; + case "invalid_union": + default: + return "Input non valido"; + case "invalid_element": + return `Valore non valido in ${e.origin}`; + } + }; + }; + const oo = () => { + const e = { + string: { + unit: "文字", + verb: "である", + }, + file: { unit: "バイト", verb: "である" }, + array: { unit: "要素", verb: "である" }, + set: { unit: "要素", verb: "である" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "入力値", + email: "メールアドレス", + url: "URL", + emoji: "絵文字", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO日時", + date: "ISO日付", + time: "ISO時刻", + duration: "ISO期間", + ipv4: "IPv4アドレス", + ipv6: "IPv6アドレス", + cidrv4: "IPv4範囲", + cidrv6: "IPv6範囲", + base64: "base64エンコード文字列", + base64url: "base64urlエンコード文字列", + json_string: "JSON文字列", + e164: "E.164番号", + jwt: "JWT", + template_literal: "入力値", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `無効な入力: ${e.expected}が期待されましたが、${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "数値"; + case "object": + if (Array.isArray(e)) return "配列"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}が入力されました`; + case "invalid_value": + return 1 === e.values.length + ? `無効な入力: ${$(e.values[0])}が期待されました` + : `無効な選択: ${l(e.values, "、")}のいずれかである必要があります`; + case "too_big": { + const n = e.inclusive ? "以下である" : "より小さい", + r = t(e.origin); + return r + ? `大きすぎる値: ${e.origin ?? "値"}は${e.maximum.toString()}${r.unit ?? "要素"}${n}必要があります` + : `大きすぎる値: ${e.origin ?? "値"}は${e.maximum.toString()}${n}必要があります`; + } + case "too_small": { + const n = e.inclusive ? "以上である" : "より大きい", + r = t(e.origin); + return r + ? `小さすぎる値: ${e.origin}は${e.minimum.toString()}${r.unit}${n}必要があります` + : `小さすぎる値: ${e.origin}は${e.minimum.toString()}${n}必要があります`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `無効な文字列: "${t.prefix}"で始まる必要があります` + : "ends_with" === t.format + ? `無効な文字列: "${t.suffix}"で終わる必要があります` + : "includes" === t.format + ? `無効な文字列: "${t.includes}"を含む必要があります` + : "regex" === t.format + ? `無効な文字列: パターン${t.pattern}に一致する必要があります` + : `無効な${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `無効な数値: ${e.divisor}の倍数である必要があります`; + case "unrecognized_keys": + return `認識されていないキー${e.keys.length > 1 ? "群" : ""}: ${l(e.keys, "、")}`; + case "invalid_key": + return `${e.origin}内の無効なキー`; + case "invalid_union": + default: + return "無効な入力"; + case "invalid_element": + return `${e.origin}内の無効な値`; + } + }; + }; + const ao = () => { + const e = { + string: { unit: "სიმბოლო", verb: "უნდა შეიცავდეს" }, + file: { unit: "ბაიტი", verb: "უნდა შეიცავდეს" }, + array: { unit: "ელემენტი", verb: "უნდა შეიცავდეს" }, + set: { + unit: "ელემენტი", + verb: "უნდა შეიცავდეს", + }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "შეყვანა", + email: "ელ-ფოსტის მისამართი", + url: "URL", + emoji: "ემოჯი", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "თარიღი-დრო", + date: "თარიღი", + time: "დრო", + duration: "ხანგრძლივობა", + ipv4: "IPv4 მისამართი", + ipv6: "IPv6 მისამართი", + cidrv4: "IPv4 დიაპაზონი", + cidrv6: "IPv6 დიაპაზონი", + base64: "base64-კოდირებული სტრინგი", + base64url: "base64url-კოდირებული სტრინგი", + json_string: "JSON სტრინგი", + e164: "E.164 ნომერი", + jwt: "JWT", + template_literal: "შეყვანა", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `არასწორი შეყვანა: მოსალოდნელი ${e.expected}, მიღებული ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "რიცხვი"; + case "object": + if (Array.isArray(e)) return "მასივი"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return ( + { + string: "სტრინგი", + boolean: "ბულეანი", + undefined: "undefined", + bigint: "bigint", + symbol: "symbol", + function: "ფუნქცია", + }[t] ?? t + ); + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `არასწორი შეყვანა: მოსალოდნელი ${$(e.values[0])}` + : `არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${l(e.values, "|")}-დან`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `ზედმეტად დიდი: მოსალოდნელი ${e.origin ?? "მნიშვნელობა"} ${r.verb} ${n}${e.maximum.toString()} ${r.unit}` + : `ზედმეტად დიდი: მოსალოდნელი ${e.origin ?? "მნიშვნელობა"} იყოს ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `ზედმეტად პატარა: მოსალოდნელი ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}` + : `ზედმეტად პატარა: მოსალოდნელი ${e.origin} იყოს ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `არასწორი სტრინგი: უნდა იწყებოდეს "${t.prefix}"-ით` + : "ends_with" === t.format + ? `არასწორი სტრინგი: უნდა მთავრდებოდეს "${t.suffix}"-ით` + : "includes" === t.format + ? `არასწორი სტრინგი: უნდა შეიცავდეს "${t.includes}"-ს` + : "regex" === t.format + ? `არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${t.pattern}` + : `არასწორი ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `არასწორი რიცხვი: უნდა იყოს ${e.divisor}-ის ჯერადი`; + case "unrecognized_keys": + return `უცნობი გასაღებ${e.keys.length > 1 ? "ები" : "ი"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `არასწორი გასაღები ${e.origin}-ში`; + case "invalid_union": + default: + return "არასწორი შეყვანა"; + case "invalid_element": + return `არასწორი მნიშვნელობა ${e.origin}-ში`; + } + }; + }; + const io = () => { + const e = { + string: { + unit: "តួអក្សរ", + verb: "គួរមាន", + }, + file: { unit: "បៃ", verb: "គួរមាន" }, + array: { unit: "ធាតុ", verb: "គួរមាន" }, + set: { unit: "ធាតុ", verb: "គួរមាន" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "ទិន្នន័យបញ្ចូល", + email: "អាសយដ្ឋានអ៊ីមែល", + url: "URL", + emoji: "សញ្ញាអារម្មណ៍", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "កាលបរិច្ឆេទ និងម៉ោង ISO", + date: "កាលបរិច្ឆេទ ISO", + time: "ម៉ោង ISO", + duration: "រយៈពេល ISO", + ipv4: "អាសយដ្ឋាន IPv4", + ipv6: "អាសយដ្ឋាន IPv6", + cidrv4: "ដែនអាសយដ្ឋាន IPv4", + cidrv6: "ដែនអាសយដ្ឋាន IPv6", + base64: "ខ្សែអក្សរអ៊ិកូដ base64", + base64url: "ខ្សែអក្សរអ៊ិកូដ base64url", + json_string: "ខ្សែអក្សរ JSON", + e164: "លេខ E.164", + jwt: "JWT", + template_literal: "ទិន្នន័យបញ្ចូល", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${e.expected} ប៉ុន្តែទទួលបាន ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "មិនមែនជាលេខ (NaN)" : "លេខ"; + case "object": + if (Array.isArray(e)) return "អារេ (Array)"; + if (null === e) return "គ្មានតម្លៃ (null)"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${$(e.values[0])}` + : `ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `ធំពេក៖ ត្រូវការ ${e.origin ?? "តម្លៃ"} ${n} ${e.maximum.toString()} ${r.unit ?? "ធាតុ"}` + : `ធំពេក៖ ត្រូវការ ${e.origin ?? "តម្លៃ"} ${n} ${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()} ${r.unit}` + : `តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${t.prefix}"` + : "ends_with" === t.format + ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${t.suffix}"` + : "includes" === t.format + ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${t.includes}"` + : "regex" === t.format + ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${t.pattern}` + : `មិនត្រឹមត្រូវ៖ ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${e.divisor}`; + case "unrecognized_keys": + return `រកឃើញសោមិនស្គាល់៖ ${l(e.keys, ", ")}`; + case "invalid_key": + return `សោមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`; + case "invalid_union": + default: + return "ទិន្នន័យមិនត្រឹមត្រូវ"; + case "invalid_element": + return `ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`; + } + }; + }; + function so() { + return { localeError: io() }; + } + const lo = () => { + const e = { + string: { + unit: "문자", + verb: "to have", + }, + file: { unit: "바이트", verb: "to have" }, + array: { unit: "개", verb: "to have" }, + set: { unit: "개", verb: "to have" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "입력", + email: "이메일 주소", + url: "URL", + emoji: "이모지", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO 날짜시간", + date: "ISO 날짜", + time: "ISO 시간", + duration: "ISO 기간", + ipv4: "IPv4 주소", + ipv6: "IPv6 주소", + cidrv4: "IPv4 범위", + cidrv6: "IPv6 범위", + base64: "base64 인코딩 문자열", + base64url: "base64url 인코딩 문자열", + json_string: "JSON 문자열", + e164: "E.164 번호", + jwt: "JWT", + template_literal: "입력", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `잘못된 입력: 예상 타입은 ${e.expected}, 받은 타입은 ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}입니다`; + case "invalid_value": + return 1 === e.values.length + ? `잘못된 입력: 값은 ${$(e.values[0])} 이어야 합니다` + : `잘못된 옵션: ${l(e.values, "또는 ")} 중 하나여야 합니다`; + case "too_big": { + const n = e.inclusive ? "이하" : "미만", + r = "미만" === n ? "이어야 합니다" : "여야 합니다", + o = t(e.origin), + a = o?.unit ?? "요소"; + return o + ? `${e.origin ?? "값"}이 너무 큽니다: ${e.maximum.toString()}${a} ${n}${r}` + : `${e.origin ?? "값"}이 너무 큽니다: ${e.maximum.toString()} ${n}${r}`; + } + case "too_small": { + const n = e.inclusive ? "이상" : "초과", + r = "이상" === n ? "이어야 합니다" : "여야 합니다", + o = t(e.origin), + a = o?.unit ?? "요소"; + return o + ? `${e.origin ?? "값"}이 너무 작습니다: ${e.minimum.toString()}${a} ${n}${r}` + : `${e.origin ?? "값"}이 너무 작습니다: ${e.minimum.toString()} ${n}${r}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `잘못된 문자열: "${t.prefix}"(으)로 시작해야 합니다` + : "ends_with" === t.format + ? `잘못된 문자열: "${t.suffix}"(으)로 끝나야 합니다` + : "includes" === t.format + ? `잘못된 문자열: "${t.includes}"을(를) 포함해야 합니다` + : "regex" === t.format + ? `잘못된 문자열: 정규식 ${t.pattern} 패턴과 일치해야 합니다` + : `잘못된 ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `잘못된 숫자: ${e.divisor}의 배수여야 합니다`; + case "unrecognized_keys": + return `인식할 수 없는 키: ${l(e.keys, ", ")}`; + case "invalid_key": + return `잘못된 키: ${e.origin}`; + case "invalid_union": + default: + return "잘못된 입력"; + case "invalid_element": + return `잘못된 값: ${e.origin}`; + } + }; + }; + const co = (e, t = void 0) => { + switch (e) { + case "number": + return Number.isNaN(t) ? "NaN" : "skaičius"; + case "bigint": + return "sveikasis skaičius"; + case "string": + return "eilutė"; + case "boolean": + return "loginė reikšmė"; + case "undefined": + case "void": + return "neapibrėžta reikšmė"; + case "function": + return "funkcija"; + case "symbol": + return "simbolis"; + case "object": + return void 0 === t + ? "nežinomas objektas" + : null === t + ? "nulinė reikšmė" + : Array.isArray(t) + ? "masyvas" + : Object.getPrototypeOf(t) !== Object.prototype && t.constructor + ? t.constructor.name + : "objektas"; + case "null": + return "nulinė reikšmė"; + } + return e; + }, + uo = (e) => e.charAt(0).toUpperCase() + e.slice(1); + function po(e) { + const t = Math.abs(e), + n = t % 10, + r = t % 100; + return (r >= 11 && r <= 19) || 0 === n ? "many" : 1 === n ? "one" : "few"; + } + const fo = () => { + const e = { + string: { + unit: { one: "simbolis", few: "simboliai", many: "simbolių" }, + verb: { + smaller: { + inclusive: "turi būti ne ilgesnė kaip", + notInclusive: "turi būti trumpesnė kaip", + }, + bigger: { + inclusive: "turi būti ne trumpesnė kaip", + notInclusive: "turi būti ilgesnė kaip", + }, + }, + }, + file: { + unit: { one: "baitas", few: "baitai", many: "baitų" }, + verb: { + smaller: { + inclusive: "turi būti ne didesnis kaip", + notInclusive: "turi būti mažesnis kaip", + }, + bigger: { + inclusive: "turi būti ne mažesnis kaip", + notInclusive: "turi būti didesnis kaip", + }, + }, + }, + array: { + unit: { one: "elementą", few: "elementus", many: "elementų" }, + verb: { + smaller: { + inclusive: "turi turėti ne daugiau kaip", + notInclusive: "turi turėti mažiau kaip", + }, + bigger: { + inclusive: "turi turėti ne mažiau kaip", + notInclusive: "turi turėti daugiau kaip", + }, + }, + }, + set: { + unit: { one: "elementą", few: "elementus", many: "elementų" }, + verb: { + smaller: { + inclusive: "turi turėti ne daugiau kaip", + notInclusive: "turi turėti mažiau kaip", + }, + bigger: { + inclusive: "turi turėti ne mažiau kaip", + notInclusive: "turi turėti daugiau kaip", + }, + }, + }, + }; + function t(t, n, r, o) { + const a = e[t] ?? null; + return null === a + ? a + : { + unit: a.unit[n], + verb: a.verb[o][r ? "inclusive" : "notInclusive"], + }; + } + const n = { + regex: "įvestis", + email: "el. pašto adresas", + url: "URL", + emoji: "jaustukas", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO data ir laikas", + date: "ISO data", + time: "ISO laikas", + duration: "ISO trukmė", + ipv4: "IPv4 adresas", + ipv6: "IPv6 adresas", + cidrv4: "IPv4 tinklo prefiksas (CIDR)", + cidrv6: "IPv6 tinklo prefiksas (CIDR)", + base64: "base64 užkoduota eilutė", + base64url: "base64url užkoduota eilutė", + json_string: "JSON eilutė", + e164: "E.164 numeris", + jwt: "JWT", + template_literal: "įvestis", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Gautas tipas ${((r = e.input), co(typeof r, r))}, o tikėtasi - ${co(e.expected)}`; + case "invalid_value": + return 1 === e.values.length + ? `Privalo būti ${$(e.values[0])}` + : `Privalo būti vienas iš ${l(e.values, "|")} pasirinkimų`; + case "too_big": { + const n = co(e.origin), + r = t( + e.origin, + po(Number(e.maximum)), + e.inclusive ?? !1, + "smaller", + ); + if (r?.verb) + return `${uo(n ?? e.origin ?? "reikšmė")} ${r.verb} ${e.maximum.toString()} ${r.unit ?? "elementų"}`; + const o = e.inclusive ? "ne didesnis kaip" : "mažesnis kaip"; + return `${uo(n ?? e.origin ?? "reikšmė")} turi būti ${o} ${e.maximum.toString()} ${r?.unit}`; + } + case "too_small": { + const n = co(e.origin), + r = t(e.origin, po(Number(e.minimum)), e.inclusive ?? !1, "bigger"); + if (r?.verb) + return `${uo(n ?? e.origin ?? "reikšmė")} ${r.verb} ${e.minimum.toString()} ${r.unit ?? "elementų"}`; + const o = e.inclusive ? "ne mažesnis kaip" : "didesnis kaip"; + return `${uo(n ?? e.origin ?? "reikšmė")} turi būti ${o} ${e.minimum.toString()} ${r?.unit}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Eilutė privalo prasidėti "${t.prefix}"` + : "ends_with" === t.format + ? `Eilutė privalo pasibaigti "${t.suffix}"` + : "includes" === t.format + ? `Eilutė privalo įtraukti "${t.includes}"` + : "regex" === t.format + ? `Eilutė privalo atitikti ${t.pattern}` + : `Neteisingas ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Skaičius privalo būti ${e.divisor} kartotinis.`; + case "unrecognized_keys": + return `Neatpažint${e.keys.length > 1 ? "i" : "as"} rakt${e.keys.length > 1 ? "ai" : "as"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return "Rastas klaidingas raktas"; + case "invalid_union": + default: + return "Klaidinga įvestis"; + case "invalid_element": { + const t = co(e.origin); + return `${uo(t ?? e.origin ?? "reikšmė")} turi klaidingą įvestį`; + } + } + var r; + }; + }; + const ho = () => { + const e = { + string: { unit: "знаци", verb: "да имаат" }, + file: { + unit: "бајти", + verb: "да имаат", + }, + array: { unit: "ставки", verb: "да имаат" }, + set: { + unit: "ставки", + verb: "да имаат", + }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "внес", + email: "адреса на е-пошта", + url: "URL", + emoji: "емоџи", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO датум и време", + date: "ISO датум", + time: "ISO време", + duration: "ISO времетраење", + ipv4: "IPv4 адреса", + ipv6: "IPv6 адреса", + cidrv4: "IPv4 опсег", + cidrv6: "IPv6 опсег", + base64: "base64-енкодирана низа", + base64url: "base64url-енкодирана низа", + json_string: "JSON низа", + e164: "E.164 број", + jwt: "JWT", + template_literal: "внес", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Грешен внес: се очекува ${e.expected}, примено ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "број"; + case "object": + if (Array.isArray(e)) return "низа"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Invalid input: expected ${$(e.values[0])}` + : `Грешана опција: се очекува една ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Премногу голем: се очекува ${e.origin ?? "вредноста"} да има ${n}${e.maximum.toString()} ${r.unit ?? "елементи"}` + : `Премногу голем: се очекува ${e.origin ?? "вредноста"} да биде ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Премногу мал: се очекува ${e.origin} да има ${n}${e.minimum.toString()} ${r.unit}` + : `Премногу мал: се очекува ${e.origin} да биде ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Неважечка низа: мора да започнува со "${t.prefix}"` + : "ends_with" === t.format + ? `Неважечка низа: мора да завршува со "${t.suffix}"` + : "includes" === t.format + ? `Неважечка низа: мора да вклучува "${t.includes}"` + : "regex" === t.format + ? `Неважечка низа: мора да одгоара на патернот ${t.pattern}` + : `Invalid ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Грешен број: мора да биде делив со ${e.divisor}`; + case "unrecognized_keys": + return `${e.keys.length > 1 ? "Непрепознаени клучеви" : "Непрепознаен клуч"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Грешен клуч во ${e.origin}`; + case "invalid_union": + default: + return "Грешен внес"; + case "invalid_element": + return `Грешна вредност во ${e.origin}`; + } + }; + }; + const mo = () => { + const e = { + string: { + unit: "aksara", + verb: "mempunyai", + }, + file: { unit: "bait", verb: "mempunyai" }, + array: { + unit: "elemen", + verb: "mempunyai", + }, + set: { unit: "elemen", verb: "mempunyai" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "input", + email: "alamat e-mel", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "tarikh masa ISO", + date: "tarikh ISO", + time: "masa ISO", + duration: "tempoh ISO", + ipv4: "alamat IPv4", + ipv6: "alamat IPv6", + cidrv4: "julat IPv4", + cidrv6: "julat IPv6", + base64: "string dikodkan base64", + base64url: "string dikodkan base64url", + json_string: "string JSON", + e164: "nombor E.164", + jwt: "JWT", + template_literal: "input", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Input tidak sah: dijangka ${e.expected}, diterima ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "nombor"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Input tidak sah: dijangka ${$(e.values[0])}` + : `Pilihan tidak sah: dijangka salah satu daripada ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Terlalu besar: dijangka ${e.origin ?? "nilai"} ${r.verb} ${n}${e.maximum.toString()} ${r.unit ?? "elemen"}` + : `Terlalu besar: dijangka ${e.origin ?? "nilai"} adalah ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Terlalu kecil: dijangka ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}` + : `Terlalu kecil: dijangka ${e.origin} adalah ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `String tidak sah: mesti bermula dengan "${t.prefix}"` + : "ends_with" === t.format + ? `String tidak sah: mesti berakhir dengan "${t.suffix}"` + : "includes" === t.format + ? `String tidak sah: mesti mengandungi "${t.includes}"` + : "regex" === t.format + ? `String tidak sah: mesti sepadan dengan corak ${t.pattern}` + : `${n[t.format] ?? e.format} tidak sah`; + } + case "not_multiple_of": + return `Nombor tidak sah: perlu gandaan ${e.divisor}`; + case "unrecognized_keys": + return `Kunci tidak dikenali: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Kunci tidak sah dalam ${e.origin}`; + case "invalid_union": + default: + return "Input tidak sah"; + case "invalid_element": + return `Nilai tidak sah dalam ${e.origin}`; + } + }; + }; + const go = () => { + const e = { + string: { + unit: "tekens", + }, + file: { unit: "bytes" }, + array: { unit: "elementen" }, + set: { + unit: "elementen", + }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "invoer", + email: "emailadres", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO datum en tijd", + date: "ISO datum", + time: "ISO tijd", + duration: "ISO duur", + ipv4: "IPv4-adres", + ipv6: "IPv6-adres", + cidrv4: "IPv4-bereik", + cidrv6: "IPv6-bereik", + base64: "base64-gecodeerde tekst", + base64url: "base64 URL-gecodeerde tekst", + json_string: "JSON string", + e164: "E.164-nummer", + jwt: "JWT", + template_literal: "invoer", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Ongeldige invoer: verwacht ${e.expected}, ontving ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "getal"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Ongeldige invoer: verwacht ${$(e.values[0])}` + : `Ongeldige optie: verwacht één van ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Te lang: verwacht dat ${e.origin ?? "waarde"} ${n}${e.maximum.toString()} ${r.unit ?? "elementen"} bevat` + : `Te lang: verwacht dat ${e.origin ?? "waarde"} ${n}${e.maximum.toString()} is`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Te kort: verwacht dat ${e.origin} ${n}${e.minimum.toString()} ${r.unit} bevat` + : `Te kort: verwacht dat ${e.origin} ${n}${e.minimum.toString()} is`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Ongeldige tekst: moet met "${t.prefix}" beginnen` + : "ends_with" === t.format + ? `Ongeldige tekst: moet op "${t.suffix}" eindigen` + : "includes" === t.format + ? `Ongeldige tekst: moet "${t.includes}" bevatten` + : "regex" === t.format + ? `Ongeldige tekst: moet overeenkomen met patroon ${t.pattern}` + : `Ongeldig: ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`; + case "unrecognized_keys": + return `Onbekende key${e.keys.length > 1 ? "s" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Ongeldige key in ${e.origin}`; + case "invalid_union": + default: + return "Ongeldige invoer"; + case "invalid_element": + return `Ongeldige waarde in ${e.origin}`; + } + }; + }; + const vo = () => { + const e = { + string: { + unit: "tegn", + verb: "å ha", + }, + file: { unit: "bytes", verb: "å ha" }, + array: { + unit: "elementer", + verb: "å inneholde", + }, + set: { unit: "elementer", verb: "å inneholde" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "input", + email: "e-postadresse", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO dato- og klokkeslett", + date: "ISO-dato", + time: "ISO-klokkeslett", + duration: "ISO-varighet", + ipv4: "IPv4-område", + ipv6: "IPv6-område", + cidrv4: "IPv4-spekter", + cidrv6: "IPv6-spekter", + base64: "base64-enkodet streng", + base64url: "base64url-enkodet streng", + json_string: "JSON-streng", + e164: "E.164-nummer", + jwt: "JWT", + template_literal: "input", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Ugyldig input: forventet ${e.expected}, fikk ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "tall"; + case "object": + if (Array.isArray(e)) return "liste"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Ugyldig verdi: forventet ${$(e.values[0])}` + : `Ugyldig valg: forventet en av ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `For stor(t): forventet ${e.origin ?? "value"} til å ha ${n}${e.maximum.toString()} ${r.unit ?? "elementer"}` + : `For stor(t): forventet ${e.origin ?? "value"} til å ha ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()} ${r.unit}` + : `For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Ugyldig streng: må starte med "${t.prefix}"` + : "ends_with" === t.format + ? `Ugyldig streng: må ende med "${t.suffix}"` + : "includes" === t.format + ? `Ugyldig streng: må inneholde "${t.includes}"` + : "regex" === t.format + ? `Ugyldig streng: må matche mønsteret ${t.pattern}` + : `Ugyldig ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Ugyldig tall: må være et multiplum av ${e.divisor}`; + case "unrecognized_keys": + return `${e.keys.length > 1 ? "Ukjente nøkler" : "Ukjent nøkkel"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Ugyldig nøkkel i ${e.origin}`; + case "invalid_union": + default: + return "Ugyldig input"; + case "invalid_element": + return `Ugyldig verdi i ${e.origin}`; + } + }; + }; + const bo = () => { + const e = { + string: { + unit: "harf", + verb: "olmalıdır", + }, + file: { unit: "bayt", verb: "olmalıdır" }, + array: { + unit: "unsur", + verb: "olmalıdır", + }, + set: { unit: "unsur", verb: "olmalıdır" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "giren", + email: "epostagâh", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO hengâmı", + date: "ISO tarihi", + time: "ISO zamanı", + duration: "ISO müddeti", + ipv4: "IPv4 nişânı", + ipv6: "IPv6 nişânı", + cidrv4: "IPv4 menzili", + cidrv6: "IPv6 menzili", + base64: "base64-şifreli metin", + base64url: "base64url-şifreli metin", + json_string: "JSON metin", + e164: "E.164 sayısı", + jwt: "JWT", + template_literal: "giren", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Fâsit giren: umulan ${e.expected}, alınan ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "numara"; + case "object": + if (Array.isArray(e)) return "saf"; + if (null === e) return "gayb"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Fâsit giren: umulan ${$(e.values[0])}` + : `Fâsit tercih: mûteberler ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Fazla büyük: ${e.origin ?? "value"}, ${n}${e.maximum.toString()} ${r.unit ?? "elements"} sahip olmalıydı.` + : `Fazla büyük: ${e.origin ?? "value"}, ${n}${e.maximum.toString()} olmalıydı.`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} ${r.unit} sahip olmalıydı.` + : `Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} olmalıydı.`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Fâsit metin: "${t.prefix}" ile başlamalı.` + : "ends_with" === t.format + ? `Fâsit metin: "${t.suffix}" ile bitmeli.` + : "includes" === t.format + ? `Fâsit metin: "${t.includes}" ihtivâ etmeli.` + : "regex" === t.format + ? `Fâsit metin: ${t.pattern} nakşına uymalı.` + : `Fâsit ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Fâsit sayı: ${e.divisor} katı olmalıydı.`; + case "unrecognized_keys": + return `Tanınmayan anahtar ${e.keys.length > 1 ? "s" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `${e.origin} için tanınmayan anahtar var.`; + case "invalid_union": + return "Giren tanınamadı."; + case "invalid_element": + return `${e.origin} için tanınmayan kıymet var.`; + default: + return "Kıymet tanınamadı."; + } + }; + }; + const yo = () => { + const e = { + string: { unit: "توکي", verb: "ولري" }, + file: { unit: "بایټس", verb: "ولري" }, + array: { unit: "توکي", verb: "ولري" }, + set: { unit: "توکي", verb: "ولري" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "ورودي", + email: "بریښنالیک", + url: "یو آر ال", + emoji: "ایموجي", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "نیټه او وخت", + date: "نېټه", + time: "وخت", + duration: "موده", + ipv4: "د IPv4 پته", + ipv6: "د IPv6 پته", + cidrv4: "د IPv4 ساحه", + cidrv6: "د IPv6 ساحه", + base64: "base64-encoded متن", + base64url: "base64url-encoded متن", + json_string: "JSON متن", + e164: "د E.164 شمېره", + jwt: "JWT", + template_literal: "ورودي", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `ناسم ورودي: باید ${e.expected} وای, مګر ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "عدد"; + case "object": + if (Array.isArray(e)) return "ارې"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)} ترلاسه شو`; + case "invalid_value": + return 1 === e.values.length + ? `ناسم ورودي: باید ${$(e.values[0])} وای` + : `ناسم انتخاب: باید یو له ${l(e.values, "|")} څخه وای`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `ډیر لوی: ${e.origin ?? "ارزښت"} باید ${n}${e.maximum.toString()} ${r.unit ?? "عنصرونه"} ولري` + : `ډیر لوی: ${e.origin ?? "ارزښت"} باید ${n}${e.maximum.toString()} وي`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} ولري` + : `ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} وي`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `ناسم متن: باید د "${t.prefix}" سره پیل شي` + : "ends_with" === t.format + ? `ناسم متن: باید د "${t.suffix}" سره پای ته ورسيږي` + : "includes" === t.format + ? `ناسم متن: باید "${t.includes}" ولري` + : "regex" === t.format + ? `ناسم متن: باید د ${t.pattern} سره مطابقت ولري` + : `${n[t.format] ?? e.format} ناسم دی`; + } + case "not_multiple_of": + return `ناسم عدد: باید د ${e.divisor} مضرب وي`; + case "unrecognized_keys": + return `ناسم ${e.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `ناسم کلیډ په ${e.origin} کې`; + case "invalid_union": + default: + return "ناسمه ورودي"; + case "invalid_element": + return `ناسم عنصر په ${e.origin} کې`; + } + }; + }; + const Oo = () => { + const e = { + string: { + unit: "znaków", + verb: "mieć", + }, + file: { unit: "bajtów", verb: "mieć" }, + array: { + unit: "elementów", + verb: "mieć", + }, + set: { unit: "elementów", verb: "mieć" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "wyrażenie", + email: "adres email", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "data i godzina w formacie ISO", + date: "data w formacie ISO", + time: "godzina w formacie ISO", + duration: "czas trwania ISO", + ipv4: "adres IPv4", + ipv6: "adres IPv6", + cidrv4: "zakres IPv4", + cidrv6: "zakres IPv6", + base64: "ciąg znaków zakodowany w formacie base64", + base64url: "ciąg znaków zakodowany w formacie base64url", + json_string: "ciąg znaków w formacie JSON", + e164: "liczba E.164", + jwt: "JWT", + template_literal: "wejście", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Nieprawidłowe dane wejściowe: oczekiwano ${e.expected}, otrzymano ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "liczba"; + case "object": + if (Array.isArray(e)) return "tablica"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Nieprawidłowe dane wejściowe: oczekiwano ${$(e.values[0])}` + : `Nieprawidłowa opcja: oczekiwano jednej z wartości ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Za duża wartość: oczekiwano, że ${e.origin ?? "wartość"} będzie mieć ${n}${e.maximum.toString()} ${r.unit ?? "elementów"}` + : `Zbyt duż(y/a/e): oczekiwano, że ${e.origin ?? "wartość"} będzie wynosić ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Za mała wartość: oczekiwano, że ${e.origin ?? "wartość"} będzie mieć ${n}${e.minimum.toString()} ${r.unit ?? "elementów"}` + : `Zbyt mał(y/a/e): oczekiwano, że ${e.origin ?? "wartość"} będzie wynosić ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Nieprawidłowy ciąg znaków: musi zaczynać się od "${t.prefix}"` + : "ends_with" === t.format + ? `Nieprawidłowy ciąg znaków: musi kończyć się na "${t.suffix}"` + : "includes" === t.format + ? `Nieprawidłowy ciąg znaków: musi zawierać "${t.includes}"` + : "regex" === t.format + ? `Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${t.pattern}` + : `Nieprawidłow(y/a/e) ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Nieprawidłowa liczba: musi być wielokrotnością ${e.divisor}`; + case "unrecognized_keys": + return `Nierozpoznane klucze${e.keys.length > 1 ? "s" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Nieprawidłowy klucz w ${e.origin}`; + case "invalid_union": + default: + return "Nieprawidłowe dane wejściowe"; + case "invalid_element": + return `Nieprawidłowa wartość w ${e.origin}`; + } + }; + }; + const wo = () => { + const e = { + string: { unit: "caracteres", verb: "ter" }, + file: { + unit: "bytes", + verb: "ter", + }, + array: { unit: "itens", verb: "ter" }, + set: { unit: "itens", verb: "ter" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "padrão", + email: "endereço de e-mail", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "data e hora ISO", + date: "data ISO", + time: "hora ISO", + duration: "duração ISO", + ipv4: "endereço IPv4", + ipv6: "endereço IPv6", + cidrv4: "faixa de IPv4", + cidrv6: "faixa de IPv6", + base64: "texto codificado em base64", + base64url: "URL codificada em base64", + json_string: "texto JSON", + e164: "número E.164", + jwt: "JWT", + template_literal: "entrada", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Tipo inválido: esperado ${e.expected}, recebido ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "número"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "nulo"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Entrada inválida: esperado ${$(e.values[0])}` + : `Opção inválida: esperada uma das ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Muito grande: esperado que ${e.origin ?? "valor"} tivesse ${n}${e.maximum.toString()} ${r.unit ?? "elementos"}` + : `Muito grande: esperado que ${e.origin ?? "valor"} fosse ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Muito pequeno: esperado que ${e.origin} tivesse ${n}${e.minimum.toString()} ${r.unit}` + : `Muito pequeno: esperado que ${e.origin} fosse ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Texto inválido: deve começar com "${t.prefix}"` + : "ends_with" === t.format + ? `Texto inválido: deve terminar com "${t.suffix}"` + : "includes" === t.format + ? `Texto inválido: deve incluir "${t.includes}"` + : "regex" === t.format + ? `Texto inválido: deve corresponder ao padrão ${t.pattern}` + : `${n[t.format] ?? e.format} inválido`; + } + case "not_multiple_of": + return `Número inválido: deve ser múltiplo de ${e.divisor}`; + case "unrecognized_keys": + return `Chave${e.keys.length > 1 ? "s" : ""} desconhecida${e.keys.length > 1 ? "s" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Chave inválida em ${e.origin}`; + case "invalid_union": + return "Entrada inválida"; + case "invalid_element": + return `Valor inválido em ${e.origin}`; + default: + return "Campo inválido"; + } + }; + }; + function xo(e, t, n, r) { + const o = Math.abs(e), + a = o % 10, + i = o % 100; + return i >= 11 && i <= 19 ? r : 1 === a ? t : a >= 2 && a <= 4 ? n : r; + } + const ko = () => { + const e = { + string: { + unit: { one: "символ", few: "символа", many: "символов" }, + verb: "иметь", + }, + file: { + unit: { + one: "байт", + few: "байта", + many: "байт", + }, + verb: "иметь", + }, + array: { + unit: { one: "элемент", few: "элемента", many: "элементов" }, + verb: "иметь", + }, + set: { + unit: { one: "элемент", few: "элемента", many: "элементов" }, + verb: "иметь", + }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "ввод", + email: "email адрес", + url: "URL", + emoji: "эмодзи", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO дата и время", + date: "ISO дата", + time: "ISO время", + duration: "ISO длительность", + ipv4: "IPv4 адрес", + ipv6: "IPv6 адрес", + cidrv4: "IPv4 диапазон", + cidrv6: "IPv6 диапазон", + base64: "строка в формате base64", + base64url: "строка в формате base64url", + json_string: "JSON строка", + e164: "номер E.164", + jwt: "JWT", + template_literal: "ввод", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Неверный ввод: ожидалось ${e.expected}, получено ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "число"; + case "object": + if (Array.isArray(e)) return "массив"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Неверный ввод: ожидалось ${$(e.values[0])}` + : `Неверный вариант: ожидалось одно из ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + if (r) { + const t = xo( + Number(e.maximum), + r.unit.one, + r.unit.few, + r.unit.many, + ); + return `Слишком большое значение: ожидалось, что ${e.origin ?? "значение"} будет иметь ${n}${e.maximum.toString()} ${t}`; + } + return `Слишком большое значение: ожидалось, что ${e.origin ?? "значение"} будет ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + if (r) { + const t = xo( + Number(e.minimum), + r.unit.one, + r.unit.few, + r.unit.many, + ); + return `Слишком маленькое значение: ожидалось, что ${e.origin} будет иметь ${n}${e.minimum.toString()} ${t}`; + } + return `Слишком маленькое значение: ожидалось, что ${e.origin} будет ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Неверная строка: должна начинаться с "${t.prefix}"` + : "ends_with" === t.format + ? `Неверная строка: должна заканчиваться на "${t.suffix}"` + : "includes" === t.format + ? `Неверная строка: должна содержать "${t.includes}"` + : "regex" === t.format + ? `Неверная строка: должна соответствовать шаблону ${t.pattern}` + : `Неверный ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Неверное число: должно быть кратным ${e.divisor}`; + case "unrecognized_keys": + return `Нераспознанн${e.keys.length > 1 ? "ые" : "ый"} ключ${e.keys.length > 1 ? "и" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Неверный ключ в ${e.origin}`; + case "invalid_union": + default: + return "Неверные входные данные"; + case "invalid_element": + return `Неверное значение в ${e.origin}`; + } + }; + }; + const So = () => { + const e = { + string: { + unit: "znakov", + verb: "imeti", + }, + file: { unit: "bajtov", verb: "imeti" }, + array: { + unit: "elementov", + verb: "imeti", + }, + set: { unit: "elementov", verb: "imeti" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "vnos", + email: "e-poštni naslov", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO datum in čas", + date: "ISO datum", + time: "ISO čas", + duration: "ISO trajanje", + ipv4: "IPv4 naslov", + ipv6: "IPv6 naslov", + cidrv4: "obseg IPv4", + cidrv6: "obseg IPv6", + base64: "base64 kodiran niz", + base64url: "base64url kodiran niz", + json_string: "JSON niz", + e164: "E.164 številka", + jwt: "JWT", + template_literal: "vnos", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Neveljaven vnos: pričakovano ${e.expected}, prejeto ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "število"; + case "object": + if (Array.isArray(e)) return "tabela"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Neveljaven vnos: pričakovano ${$(e.values[0])}` + : `Neveljavna možnost: pričakovano eno izmed ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Preveliko: pričakovano, da bo ${e.origin ?? "vrednost"} imelo ${n}${e.maximum.toString()} ${r.unit ?? "elementov"}` + : `Preveliko: pričakovano, da bo ${e.origin ?? "vrednost"} ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Premajhno: pričakovano, da bo ${e.origin} imelo ${n}${e.minimum.toString()} ${r.unit}` + : `Premajhno: pričakovano, da bo ${e.origin} ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Neveljaven niz: mora se začeti z "${t.prefix}"` + : "ends_with" === t.format + ? `Neveljaven niz: mora se končati z "${t.suffix}"` + : "includes" === t.format + ? `Neveljaven niz: mora vsebovati "${t.includes}"` + : "regex" === t.format + ? `Neveljaven niz: mora ustrezati vzorcu ${t.pattern}` + : `Neveljaven ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Neveljavno število: mora biti večkratnik ${e.divisor}`; + case "unrecognized_keys": + return `Neprepoznan${e.keys.length > 1 ? "i ključi" : " ključ"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Neveljaven ključ v ${e.origin}`; + case "invalid_union": + default: + return "Neveljaven vnos"; + case "invalid_element": + return `Neveljavna vrednost v ${e.origin}`; + } + }; + }; + const _o = () => { + const e = { + string: { + unit: "tecken", + verb: "att ha", + }, + file: { unit: "bytes", verb: "att ha" }, + array: { + unit: "objekt", + verb: "att innehålla", + }, + set: { unit: "objekt", verb: "att innehålla" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "reguljärt uttryck", + email: "e-postadress", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO-datum och tid", + date: "ISO-datum", + time: "ISO-tid", + duration: "ISO-varaktighet", + ipv4: "IPv4-intervall", + ipv6: "IPv6-intervall", + cidrv4: "IPv4-spektrum", + cidrv6: "IPv6-spektrum", + base64: "base64-kodad sträng", + base64url: "base64url-kodad sträng", + json_string: "JSON-sträng", + e164: "E.164-nummer", + jwt: "JWT", + template_literal: "mall-literal", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Ogiltig inmatning: förväntat ${e.expected}, fick ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "antal"; + case "object": + if (Array.isArray(e)) return "lista"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Ogiltig inmatning: förväntat ${$(e.values[0])}` + : `Ogiltigt val: förväntade en av ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `För stor(t): förväntade ${e.origin ?? "värdet"} att ha ${n}${e.maximum.toString()} ${r.unit ?? "element"}` + : `För stor(t): förväntat ${e.origin ?? "värdet"} att ha ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `För lite(t): förväntade ${e.origin ?? "värdet"} att ha ${n}${e.minimum.toString()} ${r.unit}` + : `För lite(t): förväntade ${e.origin ?? "värdet"} att ha ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Ogiltig sträng: måste börja med "${t.prefix}"` + : "ends_with" === t.format + ? `Ogiltig sträng: måste sluta med "${t.suffix}"` + : "includes" === t.format + ? `Ogiltig sträng: måste innehålla "${t.includes}"` + : "regex" === t.format + ? `Ogiltig sträng: måste matcha mönstret "${t.pattern}"` + : `Ogiltig(t) ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Ogiltigt tal: måste vara en multipel av ${e.divisor}`; + case "unrecognized_keys": + return `${e.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Ogiltig nyckel i ${e.origin ?? "värdet"}`; + case "invalid_union": + default: + return "Ogiltig input"; + case "invalid_element": + return `Ogiltigt värde i ${e.origin ?? "värdet"}`; + } + }; + }; + const Eo = () => { + const e = { + string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" }, + file: { unit: "பைட்டுகள்", verb: "கொண்டிருக்க வேண்டும்" }, + array: { unit: "உறுப்புகள்", verb: "கொண்டிருக்க வேண்டும்" }, + set: { unit: "உறுப்புகள்", verb: "கொண்டிருக்க வேண்டும்" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "உள்ளீடு", + email: "மின்னஞ்சல் முகவரி", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO தேதி நேரம்", + date: "ISO தேதி", + time: "ISO நேரம்", + duration: "ISO கால அளவு", + ipv4: "IPv4 முகவரி", + ipv6: "IPv6 முகவரி", + cidrv4: "IPv4 வரம்பு", + cidrv6: "IPv6 வரம்பு", + base64: "base64-encoded சரம்", + base64url: "base64url-encoded சரம்", + json_string: "JSON சரம்", + e164: "E.164 எண்", + jwt: "JWT", + template_literal: "input", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${e.expected}, பெறப்பட்டது ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "எண் அல்லாதது" : "எண்"; + case "object": + if (Array.isArray(e)) return "அணி"; + if (null === e) return "வெறுமை"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${$(e.values[0])}` + : `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${l(e.values, "|")} இல் ஒன்று`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin ?? "மதிப்பு"} ${n}${e.maximum.toString()} ${r.unit ?? "உறுப்புகள்"} ஆக இருக்க வேண்டும்` + : `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin ?? "மதிப்பு"} ${n}${e.maximum.toString()} ஆக இருக்க வேண்டும்`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ஆக இருக்க வேண்டும்` + : `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ஆக இருக்க வேண்டும்`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `தவறான சரம்: "${t.prefix}" இல் தொடங்க வேண்டும்` + : "ends_with" === t.format + ? `தவறான சரம்: "${t.suffix}" இல் முடிவடைய வேண்டும்` + : "includes" === t.format + ? `தவறான சரம்: "${t.includes}" ஐ உள்ளடக்க வேண்டும்` + : "regex" === t.format + ? `தவறான சரம்: ${t.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்` + : `தவறான ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `தவறான எண்: ${e.divisor} இன் பலமாக இருக்க வேண்டும்`; + case "unrecognized_keys": + return `அடையாளம் தெரியாத விசை${e.keys.length > 1 ? "கள்" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `${e.origin} இல் தவறான விசை`; + case "invalid_union": + default: + return "தவறான உள்ளீடு"; + case "invalid_element": + return `${e.origin} இல் தவறான மதிப்பு`; + } + }; + }; + const To = () => { + const e = { + string: { + unit: "ตัวอักษร", + verb: "ควรมี", + }, + file: { unit: "ไบต์", verb: "ควรมี" }, + array: { + unit: "รายการ", + verb: "ควรมี", + }, + set: { unit: "รายการ", verb: "ควรมี" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "ข้อมูลที่ป้อน", + email: "ที่อยู่อีเมล", + url: "URL", + emoji: "อิโมจิ", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "วันที่เวลาแบบ ISO", + date: "วันที่แบบ ISO", + time: "เวลาแบบ ISO", + duration: "ช่วงเวลาแบบ ISO", + ipv4: "ที่อยู่ IPv4", + ipv6: "ที่อยู่ IPv6", + cidrv4: "ช่วง IP แบบ IPv4", + cidrv6: "ช่วง IP แบบ IPv6", + base64: "ข้อความแบบ Base64", + base64url: "ข้อความแบบ Base64 สำหรับ URL", + json_string: "ข้อความแบบ JSON", + e164: "เบอร์โทรศัพท์ระหว่างประเทศ (E.164)", + jwt: "โทเคน JWT", + template_literal: "ข้อมูลที่ป้อน", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${e.expected} แต่ได้รับ ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "ไม่ใช่ตัวเลข (NaN)" : "ตัวเลข"; + case "object": + if (Array.isArray(e)) return "อาร์เรย์ (Array)"; + if (null === e) return "ไม่มีค่า (null)"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `ค่าไม่ถูกต้อง: ควรเป็น ${$(e.values[0])}` + : `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "ไม่เกิน" : "น้อยกว่า", + r = t(e.origin); + return r + ? `เกินกำหนด: ${e.origin ?? "ค่า"} ควรมี${n} ${e.maximum.toString()} ${r.unit ?? "รายการ"}` + : `เกินกำหนด: ${e.origin ?? "ค่า"} ควรมี${n} ${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? "อย่างน้อย" : "มากกว่า", + r = t(e.origin); + return r + ? `น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()} ${r.unit}` + : `น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${t.prefix}"` + : "ends_with" === t.format + ? `รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${t.suffix}"` + : "includes" === t.format + ? `รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${t.includes}" อยู่ในข้อความ` + : "regex" === t.format + ? `รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${t.pattern}` + : `รูปแบบไม่ถูกต้อง: ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${e.divisor} ได้ลงตัว`; + case "unrecognized_keys": + return `พบคีย์ที่ไม่รู้จัก: ${l(e.keys, ", ")}`; + case "invalid_key": + return `คีย์ไม่ถูกต้องใน ${e.origin}`; + case "invalid_union": + return "ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้"; + case "invalid_element": + return `ข้อมูลไม่ถูกต้องใน ${e.origin}`; + default: + return "ข้อมูลไม่ถูกต้อง"; + } + }; + }; + const Ao = () => { + const e = { + string: { unit: "karakter", verb: "olmalı" }, + file: { unit: "bayt", verb: "olmalı" }, + array: { unit: "öğe", verb: "olmalı" }, + set: { unit: "öğe", verb: "olmalı" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "girdi", + email: "e-posta adresi", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO tarih ve saat", + date: "ISO tarih", + time: "ISO saat", + duration: "ISO süre", + ipv4: "IPv4 adresi", + ipv6: "IPv6 adresi", + cidrv4: "IPv4 aralığı", + cidrv6: "IPv6 aralığı", + base64: "base64 ile şifrelenmiş metin", + base64url: "base64url ile şifrelenmiş metin", + json_string: "JSON dizesi", + e164: "E.164 sayısı", + jwt: "JWT", + template_literal: "Şablon dizesi", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Geçersiz değer: beklenen ${e.expected}, alınan ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Geçersiz değer: beklenen ${$(e.values[0])}` + : `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Çok büyük: beklenen ${e.origin ?? "değer"} ${n}${e.maximum.toString()} ${r.unit ?? "öğe"}` + : `Çok büyük: beklenen ${e.origin ?? "değer"} ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()} ${r.unit}` + : `Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Geçersiz metin: "${t.prefix}" ile başlamalı` + : "ends_with" === t.format + ? `Geçersiz metin: "${t.suffix}" ile bitmeli` + : "includes" === t.format + ? `Geçersiz metin: "${t.includes}" içermeli` + : "regex" === t.format + ? `Geçersiz metin: ${t.pattern} desenine uymalı` + : `Geçersiz ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Geçersiz sayı: ${e.divisor} ile tam bölünebilmeli`; + case "unrecognized_keys": + return `Tanınmayan anahtar${e.keys.length > 1 ? "lar" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `${e.origin} içinde geçersiz anahtar`; + case "invalid_union": + default: + return "Geçersiz değer"; + case "invalid_element": + return `${e.origin} içinde geçersiz değer`; + } + }; + }; + const $o = () => { + const e = { + string: { + unit: "символів", + verb: "матиме", + }, + file: { unit: "байтів", verb: "матиме" }, + array: { + unit: "елементів", + verb: "матиме", + }, + set: { unit: "елементів", verb: "матиме" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "вхідні дані", + email: "адреса електронної пошти", + url: "URL", + emoji: "емодзі", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "дата та час ISO", + date: "дата ISO", + time: "час ISO", + duration: "тривалість ISO", + ipv4: "адреса IPv4", + ipv6: "адреса IPv6", + cidrv4: "діапазон IPv4", + cidrv6: "діапазон IPv6", + base64: "рядок у кодуванні base64", + base64url: "рядок у кодуванні base64url", + json_string: "рядок JSON", + e164: "номер E.164", + jwt: "JWT", + template_literal: "вхідні дані", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Неправильні вхідні дані: очікується ${e.expected}, отримано ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "число"; + case "object": + if (Array.isArray(e)) return "масив"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Неправильні вхідні дані: очікується ${$(e.values[0])}` + : `Неправильна опція: очікується одне з ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Занадто велике: очікується, що ${e.origin ?? "значення"} ${r.verb} ${n}${e.maximum.toString()} ${r.unit ?? "елементів"}` + : `Занадто велике: очікується, що ${e.origin ?? "значення"} буде ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Занадто мале: очікується, що ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}` + : `Занадто мале: очікується, що ${e.origin} буде ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Неправильний рядок: повинен починатися з "${t.prefix}"` + : "ends_with" === t.format + ? `Неправильний рядок: повинен закінчуватися на "${t.suffix}"` + : "includes" === t.format + ? `Неправильний рядок: повинен містити "${t.includes}"` + : "regex" === t.format + ? `Неправильний рядок: повинен відповідати шаблону ${t.pattern}` + : `Неправильний ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Неправильне число: повинно бути кратним ${e.divisor}`; + case "unrecognized_keys": + return `Нерозпізнаний ключ${e.keys.length > 1 ? "і" : ""}: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Неправильний ключ у ${e.origin}`; + case "invalid_union": + default: + return "Неправильні вхідні дані"; + case "invalid_element": + return `Неправильне значення у ${e.origin}`; + } + }; + }; + function Co() { + return { + localeError: $o(), + }; + } + const Po = () => { + const e = { + string: { unit: "حروف", verb: "ہونا" }, + file: { + unit: "بائٹس", + verb: "ہونا", + }, + array: { unit: "آئٹمز", verb: "ہونا" }, + set: { unit: "آئٹمز", verb: "ہونا" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "ان پٹ", + email: "ای میل ایڈریس", + url: "یو آر ایل", + emoji: "ایموجی", + uuid: "یو یو آئی ڈی", + uuidv4: "یو یو آئی ڈی وی 4", + uuidv6: "یو یو آئی ڈی وی 6", + nanoid: "نینو آئی ڈی", + guid: "جی یو آئی ڈی", + cuid: "سی یو آئی ڈی", + cuid2: "سی یو آئی ڈی 2", + ulid: "یو ایل آئی ڈی", + xid: "ایکس آئی ڈی", + ksuid: "کے ایس یو آئی ڈی", + datetime: "آئی ایس او ڈیٹ ٹائم", + date: "آئی ایس او تاریخ", + time: "آئی ایس او وقت", + duration: "آئی ایس او مدت", + ipv4: "آئی پی وی 4 ایڈریس", + ipv6: "آئی پی وی 6 ایڈریس", + cidrv4: "آئی پی وی 4 رینج", + cidrv6: "آئی پی وی 6 رینج", + base64: "بیس 64 ان کوڈڈ سٹرنگ", + base64url: "بیس 64 یو آر ایل ان کوڈڈ سٹرنگ", + json_string: "جے ایس او این سٹرنگ", + e164: "ای 164 نمبر", + jwt: "جے ڈبلیو ٹی", + template_literal: "ان پٹ", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `غلط ان پٹ: ${e.expected} متوقع تھا، ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "نمبر"; + case "object": + if (Array.isArray(e)) return "آرے"; + if (null === e) return "نل"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)} موصول ہوا`; + case "invalid_value": + return 1 === e.values.length + ? `غلط ان پٹ: ${$(e.values[0])} متوقع تھا` + : `غلط آپشن: ${l(e.values, "|")} میں سے ایک متوقع تھا`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `بہت بڑا: ${e.origin ?? "ویلیو"} کے ${n}${e.maximum.toString()} ${r.unit ?? "عناصر"} ہونے متوقع تھے` + : `بہت بڑا: ${e.origin ?? "ویلیو"} کا ${n}${e.maximum.toString()} ہونا متوقع تھا`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `بہت چھوٹا: ${e.origin} کے ${n}${e.minimum.toString()} ${r.unit} ہونے متوقع تھے` + : `بہت چھوٹا: ${e.origin} کا ${n}${e.minimum.toString()} ہونا متوقع تھا`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `غلط سٹرنگ: "${t.prefix}" سے شروع ہونا چاہیے` + : "ends_with" === t.format + ? `غلط سٹرنگ: "${t.suffix}" پر ختم ہونا چاہیے` + : "includes" === t.format + ? `غلط سٹرنگ: "${t.includes}" شامل ہونا چاہیے` + : "regex" === t.format + ? `غلط سٹرنگ: پیٹرن ${t.pattern} سے میچ ہونا چاہیے` + : `غلط ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `غلط نمبر: ${e.divisor} کا مضاعف ہونا چاہیے`; + case "unrecognized_keys": + return `غیر تسلیم شدہ کی${e.keys.length > 1 ? "ز" : ""}: ${l(e.keys, "، ")}`; + case "invalid_key": + return `${e.origin} میں غلط کی`; + case "invalid_union": + default: + return "غلط ان پٹ"; + case "invalid_element": + return `${e.origin} میں غلط ویلیو`; + } + }; + }; + const Do = () => { + const e = { + string: { unit: "ký tự", verb: "có" }, + file: { unit: "byte", verb: "có" }, + array: { unit: "phần tử", verb: "có" }, + set: { unit: "phần tử", verb: "có" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "đầu vào", + email: "địa chỉ email", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ngày giờ ISO", + date: "ngày ISO", + time: "giờ ISO", + duration: "khoảng thời gian ISO", + ipv4: "địa chỉ IPv4", + ipv6: "địa chỉ IPv6", + cidrv4: "dải IPv4", + cidrv6: "dải IPv6", + base64: "chuỗi mã hóa base64", + base64url: "chuỗi mã hóa base64url", + json_string: "chuỗi JSON", + e164: "số E.164", + jwt: "JWT", + template_literal: "đầu vào", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Đầu vào không hợp lệ: mong đợi ${e.expected}, nhận được ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "số"; + case "object": + if (Array.isArray(e)) return "mảng"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Đầu vào không hợp lệ: mong đợi ${$(e.values[0])}` + : `Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Quá lớn: mong đợi ${e.origin ?? "giá trị"} ${r.verb} ${n}${e.maximum.toString()} ${r.unit ?? "phần tử"}` + : `Quá lớn: mong đợi ${e.origin ?? "giá trị"} ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Quá nhỏ: mong đợi ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}` + : `Quá nhỏ: mong đợi ${e.origin} ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Chuỗi không hợp lệ: phải bắt đầu bằng "${t.prefix}"` + : "ends_with" === t.format + ? `Chuỗi không hợp lệ: phải kết thúc bằng "${t.suffix}"` + : "includes" === t.format + ? `Chuỗi không hợp lệ: phải bao gồm "${t.includes}"` + : "regex" === t.format + ? `Chuỗi không hợp lệ: phải khớp với mẫu ${t.pattern}` + : `${n[t.format] ?? e.format} không hợp lệ`; + } + case "not_multiple_of": + return `Số không hợp lệ: phải là bội số của ${e.divisor}`; + case "unrecognized_keys": + return `Khóa không được nhận dạng: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Khóa không hợp lệ trong ${e.origin}`; + case "invalid_union": + default: + return "Đầu vào không hợp lệ"; + case "invalid_element": + return `Giá trị không hợp lệ trong ${e.origin}`; + } + }; + }; + const Io = () => { + const e = { + string: { unit: "字符", verb: "包含" }, + file: { unit: "字节", verb: "包含" }, + array: { unit: "项", verb: "包含" }, + set: { unit: "项", verb: "包含" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "输入", + email: "电子邮件", + url: "URL", + emoji: "表情符号", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO日期时间", + date: "ISO日期", + time: "ISO时间", + duration: "ISO时长", + ipv4: "IPv4地址", + ipv6: "IPv6地址", + cidrv4: "IPv4网段", + cidrv6: "IPv6网段", + base64: "base64编码字符串", + base64url: "base64url编码字符串", + json_string: "JSON字符串", + e164: "E.164号码", + jwt: "JWT", + template_literal: "输入", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `无效输入:期望 ${e.expected},实际接收 ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "非数字(NaN)" : "数字"; + case "object": + if (Array.isArray(e)) return "数组"; + if (null === e) return "空值(null)"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `无效输入:期望 ${$(e.values[0])}` + : `无效选项:期望以下之一 ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `数值过大:期望 ${e.origin ?? "值"} ${n}${e.maximum.toString()} ${r.unit ?? "个元素"}` + : `数值过大:期望 ${e.origin ?? "值"} ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `数值过小:期望 ${e.origin} ${n}${e.minimum.toString()} ${r.unit}` + : `数值过小:期望 ${e.origin} ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `无效字符串:必须以 "${t.prefix}" 开头` + : "ends_with" === t.format + ? `无效字符串:必须以 "${t.suffix}" 结尾` + : "includes" === t.format + ? `无效字符串:必须包含 "${t.includes}"` + : "regex" === t.format + ? `无效字符串:必须满足正则表达式 ${t.pattern}` + : `无效${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `无效数字:必须是 ${e.divisor} 的倍数`; + case "unrecognized_keys": + return `出现未知的键(key): ${l(e.keys, ", ")}`; + case "invalid_key": + return `${e.origin} 中的键(key)无效`; + case "invalid_union": + default: + return "无效输入"; + case "invalid_element": + return `${e.origin} 中包含无效值(value)`; + } + }; + }; + const Mo = () => { + const e = { + string: { unit: "字元", verb: "擁有" }, + file: { unit: "位元組", verb: "擁有" }, + array: { unit: "項目", verb: "擁有" }, + set: { unit: "項目", verb: "擁有" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "輸入", + email: "郵件地址", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO 日期時間", + date: "ISO 日期", + time: "ISO 時間", + duration: "ISO 期間", + ipv4: "IPv4 位址", + ipv6: "IPv6 位址", + cidrv4: "IPv4 範圍", + cidrv6: "IPv6 範圍", + base64: "base64 編碼字串", + base64url: "base64url 編碼字串", + json_string: "JSON 字串", + e164: "E.164 數值", + jwt: "JWT", + template_literal: "輸入", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `無效的輸入值:預期為 ${e.expected},但收到 ${((e) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "number"; + case "object": + if (Array.isArray(e)) return "array"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `無效的輸入值:預期為 ${$(e.values[0])}` + : `無效的選項:預期為以下其中之一 ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `數值過大:預期 ${e.origin ?? "值"} 應為 ${n}${e.maximum.toString()} ${r.unit ?? "個元素"}` + : `數值過大:預期 ${e.origin ?? "值"} 應為 ${n}${e.maximum.toString()}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()} ${r.unit}` + : `數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `無效的字串:必須以 "${t.prefix}" 開頭` + : "ends_with" === t.format + ? `無效的字串:必須以 "${t.suffix}" 結尾` + : "includes" === t.format + ? `無效的字串:必須包含 "${t.includes}"` + : "regex" === t.format + ? `無效的字串:必須符合格式 ${t.pattern}` + : `無效的 ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `無效的數字:必須為 ${e.divisor} 的倍數`; + case "unrecognized_keys": + return `無法識別的鍵值${e.keys.length > 1 ? "們" : ""}:${l(e.keys, "、")}`; + case "invalid_key": + return `${e.origin} 中有無效的鍵值`; + case "invalid_union": + default: + return "無效的輸入值"; + case "invalid_element": + return `${e.origin} 中有無效的值`; + } + }; + }; + const No = () => { + const e = { + string: { unit: "àmi", verb: "ní" }, + file: { unit: "bytes", verb: "ní" }, + array: { unit: "nkan", verb: "ní" }, + set: { unit: "nkan", verb: "ní" }, + }; + function t(t) { + return e[t] ?? null; + } + const n = { + regex: "ẹ̀rọ ìbáwọlé", + email: "àdírẹ́sì ìmẹ́lì", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "àkókò ISO", + date: "ọjọ́ ISO", + time: "àkókò ISO", + duration: "àkókò tó pé ISO", + ipv4: "àdírẹ́sì IPv4", + ipv6: "àdírẹ́sì IPv6", + cidrv4: "àgbègbè IPv4", + cidrv6: "àgbègbè IPv6", + base64: "ọ̀rọ̀ tí a kọ́ ní base64", + base64url: "ọ̀rọ̀ base64url", + json_string: "ọ̀rọ̀ JSON", + e164: "nọ́mbà E.164", + jwt: "JWT", + template_literal: "ẹ̀rọ ìbáwọlé", + }; + return (e) => { + switch (e.code) { + case "invalid_type": + return `Ìbáwọlé aṣìṣe: a ní láti fi ${e.expected}, àmọ̀ a rí ${(( + e, + ) => { + const t = typeof e; + switch (t) { + case "number": + return Number.isNaN(e) ? "NaN" : "nọ́mbà"; + case "object": + if (Array.isArray(e)) return "akopọ"; + if (null === e) return "null"; + if ( + Object.getPrototypeOf(e) !== Object.prototype && + e.constructor + ) + return e.constructor.name; + } + return t; + })(e.input)}`; + case "invalid_value": + return 1 === e.values.length + ? `Ìbáwọlé aṣìṣe: a ní láti fi ${$(e.values[0])}` + : `Àṣàyàn aṣìṣe: yan ọ̀kan lára ${l(e.values, "|")}`; + case "too_big": { + const n = e.inclusive ? "<=" : "<", + r = t(e.origin); + return r + ? `Tó pọ̀ jù: a ní láti jẹ́ pé ${e.origin ?? "iye"} ${r.verb} ${n}${e.maximum} ${r.unit}` + : `Tó pọ̀ jù: a ní láti jẹ́ ${n}${e.maximum}`; + } + case "too_small": { + const n = e.inclusive ? ">=" : ">", + r = t(e.origin); + return r + ? `Kéré ju: a ní láti jẹ́ pé ${e.origin} ${r.verb} ${n}${e.minimum} ${r.unit}` + : `Kéré ju: a ní láti jẹ́ ${n}${e.minimum}`; + } + case "invalid_format": { + const t = e; + return "starts_with" === t.format + ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${t.prefix}"` + : "ends_with" === t.format + ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${t.suffix}"` + : "includes" === t.format + ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${t.includes}"` + : "regex" === t.format + ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${t.pattern}` + : `Aṣìṣe: ${n[t.format] ?? e.format}`; + } + case "not_multiple_of": + return `Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${e.divisor}`; + case "unrecognized_keys": + return `Bọtìnì àìmọ̀: ${l(e.keys, ", ")}`; + case "invalid_key": + return `Bọtìnì aṣìṣe nínú ${e.origin}`; + case "invalid_union": + default: + return "Ìbáwọlé aṣìṣe"; + case "invalid_element": + return `Iye aṣìṣe nínú ${e.origin}`; + } + }; + }; + const Ro = Object.freeze( + Object.defineProperty( + { + __proto__: null, + ar: function () { + return { localeError: jr() }; + }, + az: function () { + return { localeError: Lr() }; + }, + be: function () { + return { localeError: Br() }; + }, + ca: function () { + return { localeError: Fr() }; + }, + cs: function () { + return { localeError: zr() }; + }, + da: function () { + return { localeError: Qr() }; + }, + de: function () { + return { localeError: qr() }; + }, + en: Zr, + eo: function () { + return { localeError: Hr() }; + }, + es: function () { + return { localeError: Wr() }; + }, + fa: function () { + return { localeError: Xr() }; + }, + fi: function () { + return { localeError: Gr() }; + }, + fr: function () { + return { localeError: Yr() }; + }, + frCA: function () { + return { localeError: Kr() }; + }, + he: function () { + return { localeError: Jr() }; + }, + hu: function () { + return { localeError: eo() }; + }, + id: function () { + return { localeError: to() }; + }, + is: function () { + return { localeError: no() }; + }, + it: function () { + return { localeError: ro() }; + }, + ja: function () { + return { localeError: oo() }; + }, + ka: function () { + return { localeError: ao() }; + }, + kh: function () { + return so(); + }, + km: so, + ko: function () { + return { localeError: lo() }; + }, + lt: function () { + return { localeError: fo() }; + }, + mk: function () { + return { localeError: ho() }; + }, + ms: function () { + return { localeError: mo() }; + }, + nl: function () { + return { localeError: go() }; + }, + no: function () { + return { localeError: vo() }; + }, + ota: function () { + return { localeError: bo() }; + }, + pl: function () { + return { localeError: Oo() }; + }, + ps: function () { + return { localeError: yo() }; + }, + pt: function () { + return { localeError: wo() }; + }, + ru: function () { + return { localeError: ko() }; + }, + sl: function () { + return { localeError: So() }; + }, + sv: function () { + return { localeError: _o() }; + }, + ta: function () { + return { localeError: Eo() }; + }, + th: function () { + return { localeError: To() }; + }, + tr: function () { + return { localeError: Ao() }; + }, + ua: function () { + return Co(); + }, + uk: Co, + ur: function () { + return { localeError: Po() }; + }, + vi: function () { + return { localeError: Do() }; + }, + yo: function () { + return { localeError: No() }; + }, + zhCN: function () { + return { localeError: Io() }; + }, + zhTW: function () { + return { localeError: Mo() }; + }, + }, + Symbol.toStringTag, + { value: "Module" }, + ), + ), + jo = Symbol("ZodOutput"), + Lo = Symbol("ZodInput"); + class Uo { + constructor() { + ((this._map = new WeakMap()), (this._idmap = new Map())); + } + add(e, ...t) { + const n = t[0]; + if ((this._map.set(e, n), n && "object" == typeof n && "id" in n)) { + if (this._idmap.has(n.id)) + throw new Error(`ID ${n.id} already exists in the registry`); + this._idmap.set(n.id, e); + } + return this; + } + clear() { + return ((this._map = new WeakMap()), (this._idmap = new Map()), this); + } + remove(e) { + const t = this._map.get(e); + return ( + t && "object" == typeof t && "id" in t && this._idmap.delete(t.id), + this._map.delete(e), + this + ); + } + get(e) { + const t = e._zod.parent; + if (t) { + const n = { + ...(this.get(t) ?? {}), + }; + delete n.id; + const r = { ...n, ...this._map.get(e) }; + return Object.keys(r).length ? r : void 0; + } + return this._map.get(e); + } + has(e) { + return this._map.has(e); + } + } + function Bo() { + return new Uo(); + } + const Fo = Bo(); + function zo(e, t) { + return new e({ type: "string", ...A(t) }); + } + function Qo(e, t) { + return new e({ type: "string", coerce: !0, ...A(t) }); + } + function qo(e, t) { + return new e({ + type: "string", + format: "email", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function Vo(e, t) { + return new e({ + type: "string", + format: "guid", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function Zo(e, t) { + return new e({ + type: "string", + format: "uuid", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function Ho(e, t) { + return new e({ + type: "string", + format: "uuid", + check: "string_format", + abort: !1, + version: "v4", + ...A(t), + }); + } + function Wo(e, t) { + return new e({ + type: "string", + format: "uuid", + check: "string_format", + abort: !1, + version: "v6", + ...A(t), + }); + } + function Xo(e, t) { + return new e({ + type: "string", + format: "uuid", + check: "string_format", + abort: !1, + version: "v7", + ...A(t), + }); + } + function Go(e, t) { + return new e({ + type: "string", + format: "url", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function Yo(e, t) { + return new e({ + type: "string", + format: "emoji", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function Ko(e, t) { + return new e({ + type: "string", + format: "nanoid", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function Jo(e, t) { + return new e({ + type: "string", + format: "cuid", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function ea(e, t) { + return new e({ + type: "string", + format: "cuid2", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function ta(e, t) { + return new e({ + type: "string", + format: "ulid", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function na(e, t) { + return new e({ + type: "string", + format: "xid", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function ra(e, t) { + return new e({ + type: "string", + format: "ksuid", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function oa(e, t) { + return new e({ + type: "string", + format: "ipv4", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function aa(e, t) { + return new e({ + type: "string", + format: "ipv6", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function ia(e, t) { + return new e({ + type: "string", + format: "cidrv4", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function sa(e, t) { + return new e({ + type: "string", + format: "cidrv6", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function la(e, t) { + return new e({ + type: "string", + format: "base64", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function ca(e, t) { + return new e({ + type: "string", + format: "base64url", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function ua(e, t) { + return new e({ + type: "string", + format: "e164", + check: "string_format", + abort: !1, + ...A(t), + }); + } + function da(e, t) { + return new e({ + type: "string", + format: "jwt", + check: "string_format", + abort: !1, + ...A(t), + }); + } + const pa = { + Any: null, + Minute: -1, + Second: 0, + Millisecond: 3, + Microsecond: 6, + }; + function fa(e, t) { + return new e({ + type: "string", + format: "datetime", + check: "string_format", + offset: !1, + local: !1, + precision: null, + ...A(t), + }); + } + function ha(e, t) { + return new e({ + type: "string", + format: "date", + check: "string_format", + ...A(t), + }); + } + function ma(e, t) { + return new e({ + type: "string", + format: "time", + check: "string_format", + precision: null, + ...A(t), + }); + } + function ga(e, t) { + return new e({ + type: "string", + format: "duration", + check: "string_format", + ...A(t), + }); + } + function va(e, t) { + return new e({ type: "number", checks: [], ...A(t) }); + } + function ba(e, t) { + return new e({ type: "number", coerce: !0, checks: [], ...A(t) }); + } + function ya(e, t) { + return new e({ + type: "number", + check: "number_format", + abort: !1, + format: "safeint", + ...A(t), + }); + } + function Oa(e, t) { + return new e({ + type: "number", + check: "number_format", + abort: !1, + format: "float32", + ...A(t), + }); + } + function wa(e, t) { + return new e({ + type: "number", + check: "number_format", + abort: !1, + format: "float64", + ...A(t), + }); + } + function xa(e, t) { + return new e({ + type: "number", + check: "number_format", + abort: !1, + format: "int32", + ...A(t), + }); + } + function ka(e, t) { + return new e({ + type: "number", + check: "number_format", + abort: !1, + format: "uint32", + ...A(t), + }); + } + function Sa(e, t) { + return new e({ type: "boolean", ...A(t) }); + } + function _a(e, t) { + return new e({ + type: "boolean", + coerce: !0, + ...A(t), + }); + } + function Ea(e, t) { + return new e({ type: "bigint", ...A(t) }); + } + function Ta(e, t) { + return new e({ type: "bigint", coerce: !0, ...A(t) }); + } + function Aa(e, t) { + return new e({ + type: "bigint", + check: "bigint_format", + abort: !1, + format: "int64", + ...A(t), + }); + } + function $a(e, t) { + return new e({ + type: "bigint", + check: "bigint_format", + abort: !1, + format: "uint64", + ...A(t), + }); + } + function Ca(e, t) { + return new e({ type: "symbol", ...A(t) }); + } + function Pa(e, t) { + return new e({ + type: "undefined", + ...A(t), + }); + } + function Da(e, t) { + return new e({ type: "null", ...A(t) }); + } + function Ia(e) { + return new e({ type: "any" }); + } + function Ma(e) { + return new e({ + type: "unknown", + }); + } + function Na(e, t) { + return new e({ type: "never", ...A(t) }); + } + function Ra(e, t) { + return new e({ type: "void", ...A(t) }); + } + function ja(e, t) { + return new e({ type: "date", ...A(t) }); + } + function La(e, t) { + return new e({ type: "date", coerce: !0, ...A(t) }); + } + function Ua(e, t) { + return new e({ type: "nan", ...A(t) }); + } + function Ba(e, t) { + return new $t({ check: "less_than", ...A(t), value: e, inclusive: !1 }); + } + function Fa(e, t) { + return new $t({ check: "less_than", ...A(t), value: e, inclusive: !0 }); + } + function za(e, t) { + return new Ct({ check: "greater_than", ...A(t), value: e, inclusive: !1 }); + } + function Qa(e, t) { + return new Ct({ check: "greater_than", ...A(t), value: e, inclusive: !0 }); + } + function qa(e) { + return za(0, e); + } + function Va(e) { + return Ba(0, e); + } + function Za(e) { + return Fa(0, e); + } + function Ha(e) { + return Qa(0, e); + } + function Wa(e, t) { + return new Pt({ check: "multiple_of", ...A(t), value: e }); + } + function Xa(e, t) { + return new Mt({ check: "max_size", ...A(t), maximum: e }); + } + function Ga(e, t) { + return new Nt({ check: "min_size", ...A(t), minimum: e }); + } + function Ya(e, t) { + return new Rt({ check: "size_equals", ...A(t), size: e }); + } + function Ka(e, t) { + return new jt({ check: "max_length", ...A(t), maximum: e }); + } + function Ja(e, t) { + return new Lt({ check: "min_length", ...A(t), minimum: e }); + } + function ei(e, t) { + return new Ut({ check: "length_equals", ...A(t), length: e }); + } + function ti(e, t) { + return new Ft({ + check: "string_format", + format: "regex", + ...A(t), + pattern: e, + }); + } + function ni(e) { + return new zt({ check: "string_format", format: "lowercase", ...A(e) }); + } + function ri(e) { + return new Qt({ + check: "string_format", + format: "uppercase", + ...A(e), + }); + } + function oi(e, t) { + return new qt({ + check: "string_format", + format: "includes", + ...A(t), + includes: e, + }); + } + function ai(e, t) { + return new Vt({ + check: "string_format", + format: "starts_with", + ...A(t), + prefix: e, + }); + } + function ii(e, t) { + return new Zt({ + check: "string_format", + format: "ends_with", + ...A(t), + suffix: e, + }); + } + function si(e, t, n) { + return new Wt({ + check: "property", + property: e, + schema: t, + ...A(n), + }); + } + function li(e, t) { + return new Xt({ + check: "mime_type", + mime: e, + ...A(t), + }); + } + function ci(e) { + return new Gt({ + check: "overwrite", + tx: e, + }); + } + function ui(e) { + return ci((t) => t.normalize(e)); + } + function di() { + return ci((e) => e.trim()); + } + function pi() { + return ci((e) => e.toLowerCase()); + } + function fi() { + return ci((e) => e.toUpperCase()); + } + function hi(e, t, n) { + return new e({ type: "array", element: t, ...A(n) }); + } + function mi(e, t) { + return new e({ type: "file", ...A(t) }); + } + function gi(e, t, n) { + const r = A(n); + r.abort ?? (r.abort = !0); + return new e({ type: "custom", check: "custom", fn: t, ...r }); + } + function vi(e, t, n) { + return new e({ type: "custom", check: "custom", fn: t, ...A(n) }); + } + function bi(e) { + const t = yi( + (n) => ( + (n.addIssue = (e) => { + if ("string" == typeof e) n.issues.push(Z(e, n.value, t._zod.def)); + else { + const r = e; + (r.fatal && (r.continue = !1), + r.code ?? (r.code = "custom"), + r.input ?? (r.input = n.value), + r.inst ?? (r.inst = t), + r.continue ?? (r.continue = !t._zod.def.abort), + n.issues.push(Z(r))); + } + }), + e(n.value, n) + ), + ); + return t; + } + function yi(e, t) { + const n = new Tt({ check: "custom", ...A(t) }); + return ((n._zod.check = e), n); + } + function Oi(e, t) { + const n = A(t); + let r = n.truthy ?? ["true", "1", "yes", "on", "y", "enabled"], + o = n.falsy ?? ["false", "0", "no", "off", "n", "disabled"]; + "sensitive" !== n.case && + ((r = r.map((e) => ("string" == typeof e ? e.toLowerCase() : e))), + (o = o.map((e) => ("string" == typeof e ? e.toLowerCase() : e)))); + const a = new Set(r), + i = new Set(o), + s = e.Codec ?? Er, + l = e.Boolean ?? Dn, + c = new s({ + type: "pipe", + in: new (e.String ?? en)({ type: "string", error: n.error }), + out: new l({ + type: "boolean", + error: n.error, + }), + transform: (e, t) => { + let r = e; + return ( + "sensitive" !== n.case && (r = r.toLowerCase()), + !!a.has(r) || + (!i.has(r) && + (t.issues.push({ + code: "invalid_value", + expected: "stringbool", + values: [...a, ...i], + input: t.value, + inst: c, + continue: !1, + }), + {})) + ); + }, + reverseTransform: (e, t) => + !0 === e ? r[0] || "true" : o[0] || "false", + error: n.error, + }); + return c; + } + function wi(e, t, n, r = {}) { + const o = A(r), + a = { + ...A(r), + check: "string_format", + type: "string", + format: t, + fn: "function" == typeof n ? n : (e) => n.test(e), + ...o, + }; + n instanceof RegExp && (a.pattern = n); + return new e(a); + } + class xi { + constructor(e) { + ((this.counter = 0), + (this.metadataRegistry = e?.metadata ?? Fo), + (this.target = e?.target ?? "draft-2020-12"), + (this.unrepresentable = e?.unrepresentable ?? "throw"), + (this.override = e?.override ?? (() => {})), + (this.io = e?.io ?? "output"), + (this.seen = new Map())); + } + process(e, t = { path: [], schemaPath: [] }) { + var n; + const r = e._zod.def, + o = { + guid: "uuid", + url: "uri", + datetime: "date-time", + json_string: "json-string", + regex: "", + }, + a = this.seen.get(e); + if (a) { + a.count++; + return (t.schemaPath.includes(e) && (a.cycle = t.path), a.schema); + } + const i = { schema: {}, count: 1, cycle: void 0, path: t.path }; + this.seen.set(e, i); + const l = e._zod.toJSONSchema?.(); + if (l) i.schema = l; + else { + const n = { ...t, schemaPath: [...t.schemaPath, e], path: t.path }, + a = e._zod.parent; + if (a) + ((i.ref = a), this.process(a, n), (this.seen.get(a).isParent = !0)); + else { + const t = i.schema; + switch (r.type) { + case "string": { + const n = t; + n.type = "string"; + const { + minimum: r, + maximum: a, + format: s, + patterns: l, + contentEncoding: c, + } = e._zod.bag; + if ( + ("number" == typeof r && (n.minLength = r), + "number" == typeof a && (n.maxLength = a), + s && + ((n.format = o[s] ?? s), "" === n.format && delete n.format), + c && (n.contentEncoding = c), + l && l.size > 0) + ) { + const e = [...l]; + 1 === e.length + ? (n.pattern = e[0].source) + : e.length > 1 && + (i.schema.allOf = [ + ...e.map((e) => ({ + ...("draft-7" === this.target || + "draft-4" === this.target || + "openapi-3.0" === this.target + ? { + type: "string", + } + : {}), + pattern: e.source, + })), + ]); + } + break; + } + case "number": { + const n = t, + { + minimum: r, + maximum: o, + format: a, + multipleOf: i, + exclusiveMaximum: s, + exclusiveMinimum: l, + } = e._zod.bag; + ("string" == typeof a && a.includes("int") + ? (n.type = "integer") + : (n.type = "number"), + "number" == typeof l && + ("draft-4" === this.target || "openapi-3.0" === this.target + ? ((n.minimum = l), (n.exclusiveMinimum = !0)) + : (n.exclusiveMinimum = l)), + "number" == typeof r && + ((n.minimum = r), + "number" == typeof l && + "draft-4" !== this.target && + (l >= r ? delete n.minimum : delete n.exclusiveMinimum)), + "number" == typeof s && + ("draft-4" === this.target || "openapi-3.0" === this.target + ? ((n.maximum = s), (n.exclusiveMaximum = !0)) + : (n.exclusiveMaximum = s)), + "number" == typeof o && + ((n.maximum = o), + "number" == typeof s && + "draft-4" !== this.target && + (s <= o ? delete n.maximum : delete n.exclusiveMaximum)), + "number" == typeof i && (n.multipleOf = i)); + break; + } + case "boolean": + t.type = "boolean"; + break; + case "bigint": + if ("throw" === this.unrepresentable) + throw new Error("BigInt cannot be represented in JSON Schema"); + break; + case "symbol": + if ("throw" === this.unrepresentable) + throw new Error("Symbols cannot be represented in JSON Schema"); + break; + case "null": + "openapi-3.0" === this.target + ? ((t.type = "string"), (t.nullable = !0), (t.enum = [null])) + : (t.type = "null"); + break; + case "any": + case "unknown": + break; + case "undefined": + if ("throw" === this.unrepresentable) + throw new Error( + "Undefined cannot be represented in JSON Schema", + ); + break; + case "void": + if ("throw" === this.unrepresentable) + throw new Error("Void cannot be represented in JSON Schema"); + break; + case "never": + t.not = {}; + break; + case "date": + if ("throw" === this.unrepresentable) + throw new Error("Date cannot be represented in JSON Schema"); + break; + case "array": { + const o = t, + { minimum: a, maximum: i } = e._zod.bag; + ("number" == typeof a && (o.minItems = a), + "number" == typeof i && (o.maxItems = i), + (o.type = "array"), + (o.items = this.process(r.element, { + ...n, + path: [...n.path, "items"], + }))); + break; + } + case "object": { + const e = t; + ((e.type = "object"), (e.properties = {})); + const o = r.shape; + for (const t in o) + e.properties[t] = this.process(o[t], { + ...n, + path: [...n.path, "properties", t], + }); + const a = new Set(Object.keys(o)), + i = new Set( + [...a].filter((e) => { + const t = r.shape[e]._zod; + return "input" === this.io + ? void 0 === t.optin + : void 0 === t.optout; + }), + ); + (i.size > 0 && (e.required = Array.from(i)), + "never" === r.catchall?._zod.def.type + ? (e.additionalProperties = !1) + : r.catchall + ? r.catchall && + (e.additionalProperties = this.process(r.catchall, { + ...n, + path: [...n.path, "additionalProperties"], + })) + : "output" === this.io && (e.additionalProperties = !1)); + break; + } + case "union": { + const e = t, + o = r.options.map((e, t) => + this.process(e, { ...n, path: [...n.path, "anyOf", t] }), + ); + e.anyOf = o; + break; + } + case "intersection": { + const e = t, + o = this.process(r.left, { + ...n, + path: [...n.path, "allOf", 0], + }), + a = this.process(r.right, { + ...n, + path: [...n.path, "allOf", 1], + }), + i = (e) => "allOf" in e && 1 === Object.keys(e).length, + s = [...(i(o) ? o.allOf : [o]), ...(i(a) ? a.allOf : [a])]; + e.allOf = s; + break; + } + case "tuple": { + const o = t; + o.type = "array"; + const a = + "draft-2020-12" === this.target ? "prefixItems" : "items", + i = + "draft-2020-12" === this.target || + "openapi-3.0" === this.target + ? "items" + : "additionalItems", + s = r.items.map((e, t) => + this.process(e, { + ...n, + path: [...n.path, a, t], + }), + ), + l = r.rest + ? this.process(r.rest, { + ...n, + path: [ + ...n.path, + i, + ...("openapi-3.0" === this.target + ? [r.items.length] + : []), + ], + }) + : null; + "draft-2020-12" === this.target + ? ((o.prefixItems = s), l && (o.items = l)) + : "openapi-3.0" === this.target + ? ((o.items = { anyOf: s }), + l && o.items.anyOf.push(l), + (o.minItems = s.length), + l || (o.maxItems = s.length)) + : ((o.items = s), l && (o.additionalItems = l)); + const { minimum: c, maximum: u } = e._zod.bag; + ("number" == typeof c && (o.minItems = c), + "number" == typeof u && (o.maxItems = u)); + break; + } + case "record": { + const e = t; + ((e.type = "object"), + ("draft-7" !== this.target && + "draft-2020-12" !== this.target) || + (e.propertyNames = this.process(r.keyType, { + ...n, + path: [...n.path, "propertyNames"], + })), + (e.additionalProperties = this.process(r.valueType, { + ...n, + path: [...n.path, "additionalProperties"], + }))); + break; + } + case "map": + if ("throw" === this.unrepresentable) + throw new Error("Map cannot be represented in JSON Schema"); + break; + case "set": + if ("throw" === this.unrepresentable) + throw new Error("Set cannot be represented in JSON Schema"); + break; + case "enum": { + const e = t, + n = s(r.entries); + (n.every((e) => "number" == typeof e) && (e.type = "number"), + n.every((e) => "string" == typeof e) && (e.type = "string"), + (e.enum = n)); + break; + } + case "literal": { + const e = t, + n = []; + for (const t of r.values) + if (void 0 === t) { + if ("throw" === this.unrepresentable) + throw new Error( + "Literal `undefined` cannot be represented in JSON Schema", + ); + } else if ("bigint" == typeof t) { + if ("throw" === this.unrepresentable) + throw new Error( + "BigInt literals cannot be represented in JSON Schema", + ); + n.push(Number(t)); + } else n.push(t); + if (0 === n.length); + else if (1 === n.length) { + const t = n[0]; + ((e.type = null === t ? "null" : typeof t), + "draft-4" === this.target || "openapi-3.0" === this.target + ? (e.enum = [t]) + : (e.const = t)); + } else + (n.every((e) => "number" == typeof e) && (e.type = "number"), + n.every((e) => "string" == typeof e) && (e.type = "string"), + n.every((e) => "boolean" == typeof e) && (e.type = "string"), + n.every((e) => null === e) && (e.type = "null"), + (e.enum = n)); + break; + } + case "file": { + const n = t, + r = { + type: "string", + format: "binary", + contentEncoding: "binary", + }, + { minimum: o, maximum: a, mime: i } = e._zod.bag; + (void 0 !== o && (r.minLength = o), + void 0 !== a && (r.maxLength = a), + i + ? 1 === i.length + ? ((r.contentMediaType = i[0]), Object.assign(n, r)) + : (n.anyOf = i.map((e) => ({ + ...r, + contentMediaType: e, + }))) + : Object.assign(n, r)); + break; + } + case "transform": + if ("throw" === this.unrepresentable) + throw new Error( + "Transforms cannot be represented in JSON Schema", + ); + break; + case "nullable": { + const e = this.process(r.innerType, n); + "openapi-3.0" === this.target + ? ((i.ref = r.innerType), (t.nullable = !0)) + : (t.anyOf = [ + e, + { + type: "null", + }, + ]); + break; + } + case "nonoptional": + case "promise": + case "optional": + (this.process(r.innerType, n), (i.ref = r.innerType)); + break; + case "success": + t.type = "boolean"; + break; + case "default": + (this.process(r.innerType, n), + (i.ref = r.innerType), + (t.default = JSON.parse(JSON.stringify(r.defaultValue)))); + break; + case "prefault": + (this.process(r.innerType, n), + (i.ref = r.innerType), + "input" === this.io && + (t._prefault = JSON.parse(JSON.stringify(r.defaultValue)))); + break; + case "catch": { + let e; + (this.process(r.innerType, n), (i.ref = r.innerType)); + try { + e = r.catchValue(void 0); + } catch { + throw new Error( + "Dynamic catch values are not supported in JSON Schema", + ); + } + t.default = e; + break; + } + case "nan": + if ("throw" === this.unrepresentable) + throw new Error("NaN cannot be represented in JSON Schema"); + break; + case "template_literal": { + const n = t, + r = e._zod.pattern; + if (!r) throw new Error("Pattern not found in template literal"); + ((n.type = "string"), (n.pattern = r.source)); + break; + } + case "pipe": { + const e = + "input" === this.io + ? "transform" === r.in._zod.def.type + ? r.out + : r.in + : r.out; + (this.process(e, n), (i.ref = e)); + break; + } + case "readonly": + (this.process(r.innerType, n), + (i.ref = r.innerType), + (t.readOnly = !0)); + break; + case "lazy": { + const t = e._zod.innerType; + (this.process(t, n), (i.ref = t)); + break; + } + case "custom": + if ("throw" === this.unrepresentable) + throw new Error( + "Custom types cannot be represented in JSON Schema", + ); + break; + case "function": + if ("throw" === this.unrepresentable) + throw new Error( + "Function types cannot be represented in JSON Schema", + ); + } + } + } + const c = this.metadataRegistry.get(e); + (c && Object.assign(i.schema, c), + "input" === this.io && + Si(e) && + (delete i.schema.examples, delete i.schema.default), + "input" === this.io && + i.schema._prefault && + ((n = i.schema).default ?? (n.default = i.schema._prefault)), + delete i.schema._prefault); + return this.seen.get(e).schema; + } + emit(e, t) { + const n = { + cycles: t?.cycles ?? "ref", + reused: t?.reused ?? "inline", + external: t?.external ?? void 0, + }, + r = this.seen.get(e); + if (!r) throw new Error("Unprocessed schema. This is a bug in Zod."); + const o = (e) => { + const t = "draft-2020-12" === this.target ? "$defs" : "definitions"; + if (n.external) { + const r = n.external.registry.get(e[0])?.id, + o = n.external.uri ?? ((e) => e); + if (r) + return { + ref: o(r), + }; + const a = e[1].defId ?? e[1].schema.id ?? "schema" + this.counter++; + return ( + (e[1].defId = a), + { defId: a, ref: `${o("__shared")}#/${t}/${a}` } + ); + } + if (e[1] === r) return { ref: "#" }; + const o = `#/${t}/`, + a = e[1].schema.id ?? "__schema" + this.counter++; + return { defId: a, ref: o + a }; + }, + a = (e) => { + if (e[1].schema.$ref) return; + const t = e[1], + { ref: n, defId: r } = o(e); + ((t.def = { ...t.schema }), r && (t.defId = r)); + const a = t.schema; + for (const o in a) delete a[o]; + a.$ref = n; + }; + if ("throw" === n.cycles) + for (const u of this.seen.entries()) { + const e = u[1]; + if (e.cycle) + throw new Error( + `Cycle detected: #/${e.cycle?.join("/")}/\n\nSet the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`, + ); + } + for (const u of this.seen.entries()) { + const t = u[1]; + if (e === u[0]) { + a(u); + continue; + } + if (n.external) { + const t = n.external.registry.get(u[0])?.id; + if (e !== u[0] && t) { + a(u); + continue; + } + } + const r = this.metadataRegistry.get(u[0])?.id; + r ? a(u) : (t.cycle || (t.count > 1 && "ref" === n.reused)) && a(u); + } + const i = (e, t) => { + const n = this.seen.get(e), + r = n.def ?? n.schema, + o = { ...r }; + if (null === n.ref) return; + const a = n.ref; + if (((n.ref = null), a)) { + i(a, t); + const e = this.seen.get(a).schema; + !e.$ref || + ("draft-7" !== t.target && + "draft-4" !== t.target && + "openapi-3.0" !== t.target) + ? (Object.assign(r, e), Object.assign(r, o)) + : ((r.allOf = r.allOf ?? []), r.allOf.push(e)); + } + n.isParent || + this.override({ zodSchema: e, jsonSchema: r, path: n.path ?? [] }); + }; + for (const u of [...this.seen.entries()].reverse()) + i(u[0], { target: this.target }); + const s = {}; + if ( + ("draft-2020-12" === this.target + ? (s.$schema = "https://json-schema.org/draft/2020-12/schema") + : "draft-7" === this.target + ? (s.$schema = "http://json-schema.org/draft-07/schema#") + : "draft-4" === this.target + ? (s.$schema = "http://json-schema.org/draft-04/schema#") + : "openapi-3.0" === this.target || + console.warn(`Invalid target: ${this.target}`), + n.external?.uri) + ) { + const t = n.external.registry.get(e)?.id; + if (!t) throw new Error("Schema is missing an `id` property"); + s.$id = n.external.uri(t); + } + Object.assign(s, r.def); + const l = n.external?.defs ?? {}; + for (const u of this.seen.entries()) { + const e = u[1]; + e.def && e.defId && (l[e.defId] = e.def); + } + n.external || + (Object.keys(l).length > 0 && + ("draft-2020-12" === this.target + ? (s.$defs = l) + : (s.definitions = l))); + try { + return JSON.parse(JSON.stringify(s)); + } catch (c) { + throw new Error("Error converting schema to JSON."); + } + } + } + function ki(e, t) { + if (e instanceof Uo) { + const n = new xi(t), + r = {}; + for (const t of e._idmap.entries()) { + const [e, r] = t; + n.process(r); + } + const o = {}, + a = { registry: e, uri: t?.uri, defs: r }; + for (const i of e._idmap.entries()) { + const [e, r] = i; + o[e] = n.emit(r, { ...t, external: a }); + } + if (Object.keys(r).length > 0) { + const e = "draft-2020-12" === n.target ? "$defs" : "definitions"; + o.__shared = { [e]: r }; + } + return { schemas: o }; + } + const n = new xi(t); + return (n.process(e), n.emit(e, t)); + } + function Si(e, t) { + const n = t ?? { seen: new Set() }; + if (n.seen.has(e)) return !1; + n.seen.add(e); + const r = e._zod.def; + switch (r.type) { + case "string": + case "number": + case "bigint": + case "boolean": + case "date": + case "symbol": + case "undefined": + case "null": + case "any": + case "unknown": + case "never": + case "void": + case "literal": + case "enum": + case "nan": + case "file": + case "template_literal": + case "custom": + case "success": + case "catch": + case "function": + return !1; + case "array": + return Si(r.element, n); + case "object": + for (const e in r.shape) if (Si(r.shape[e], n)) return !0; + return !1; + case "union": + for (const e of r.options) if (Si(e, n)) return !0; + return !1; + case "intersection": + return Si(r.left, n) || Si(r.right, n); + case "tuple": + for (const e of r.items) if (Si(e, n)) return !0; + return !(!r.rest || !Si(r.rest, n)); + case "record": + case "map": + return Si(r.keyType, n) || Si(r.valueType, n); + case "set": + return Si(r.valueType, n); + case "promise": + case "optional": + case "nonoptional": + case "nullable": + case "readonly": + case "default": + case "prefault": + return Si(r.innerType, n); + case "lazy": + return Si(r.getter(), n); + case "transform": + return !0; + case "pipe": + return Si(r.in, n) || Si(r.out, n); + } + throw new Error(`Unknown schema type: ${r.type}`); + } + const _i = Object.freeze( + Object.defineProperty({ __proto__: null }, Symbol.toStringTag, { + value: "Module", + }), + ), + Ei = Object.freeze( + Object.defineProperty( + { + __proto__: null, + $ZodAny: Ln, + $ZodArray: qn, + $ZodAsyncError: r, + $ZodBase64: kn, + $ZodBase64URL: _n, + $ZodBigInt: In, + $ZodBigIntFormat: Mn, + $ZodBoolean: Dn, + $ZodCIDRv4: On, + $ZodCIDRv6: wn, + $ZodCUID: cn, + $ZodCUID2: un, + $ZodCatch: xr, + $ZodCheck: Tt, + $ZodCheckBigIntFormat: It, + $ZodCheckEndsWith: Zt, + $ZodCheckGreaterThan: Ct, + $ZodCheckIncludes: qt, + $ZodCheckLengthEquals: Ut, + $ZodCheckLessThan: $t, + $ZodCheckLowerCase: zt, + $ZodCheckMaxLength: jt, + $ZodCheckMaxSize: Mt, + $ZodCheckMimeType: Xt, + $ZodCheckMinLength: Lt, + $ZodCheckMinSize: Nt, + $ZodCheckMultipleOf: Pt, + $ZodCheckNumberFormat: Dt, + $ZodCheckOverwrite: Gt, + $ZodCheckProperty: Wt, + $ZodCheckRegex: Ft, + $ZodCheckSizeEquals: Rt, + $ZodCheckStartsWith: Vt, + $ZodCheckStringFormat: Bt, + $ZodCheckUpperCase: Qt, + $ZodCodec: Er, + $ZodCustom: Nr, + $ZodCustomStringFormat: $n, + $ZodDate: zn, + $ZodDefault: gr, + $ZodDiscriminatedUnion: Kn, + $ZodE164: En, + $ZodEmail: on, + $ZodEmoji: sn, + $ZodEncodeError: o, + $ZodEnum: cr, + $ZodError: Y, + $ZodFile: dr, + $ZodFunction: Dr, + $ZodGUID: nn, + $ZodIPv4: bn, + $ZodIPv6: yn, + $ZodISODate: mn, + $ZodISODateTime: hn, + $ZodISODuration: vn, + $ZodISOTime: gn, + $ZodIntersection: Jn, + $ZodJWT: An, + $ZodKSUID: fn, + $ZodLazy: Mr, + $ZodLiteral: ur, + $ZodMap: ar, + $ZodNaN: kr, + $ZodNanoID: ln, + $ZodNever: Bn, + $ZodNonOptional: yr, + $ZodNull: jn, + $ZodNullable: mr, + $ZodNumber: Cn, + $ZodNumberFormat: Pn, + $ZodObject: Wn, + $ZodObjectJIT: Xn, + $ZodOptional: hr, + $ZodPipe: Sr, + $ZodPrefault: br, + $ZodPromise: Ir, + $ZodReadonly: $r, + $ZodRealError: K, + $ZodRecord: or, + $ZodRegistry: Uo, + $ZodSet: sr, + $ZodString: en, + $ZodStringFormat: tn, + $ZodSuccess: wr, + $ZodSymbol: Nn, + $ZodTemplateLiteral: Pr, + $ZodTransform: pr, + $ZodTuple: nr, + $ZodType: Jt, + $ZodULID: dn, + $ZodURL: an, + $ZodUUID: rn, + $ZodUndefined: Rn, + $ZodUnion: Yn, + $ZodUnknown: Un, + $ZodVoid: Fn, + $ZodXID: pn, + $brand: n, + $constructor: t, + $input: Lo, + $output: jo, + Doc: Yt, + JSONSchema: _i, + JSONSchemaGenerator: xi, + NEVER: e, + TimePrecision: pa, + _any: Ia, + _array: hi, + _base64: la, + _base64url: ca, + _bigint: Ea, + _boolean: Sa, + _catch: function (e, t, n) { + return new e({ + type: "catch", + innerType: t, + catchValue: "function" == typeof n ? n : () => n, + }); + }, + _check: yi, + _cidrv4: ia, + _cidrv6: sa, + _coercedBigint: Ta, + _coercedBoolean: _a, + _coercedDate: La, + _coercedNumber: ba, + _coercedString: Qo, + _cuid: Jo, + _cuid2: ea, + _custom: gi, + _date: ja, + _decode: he, + _decodeAsync: be, + _default: function (e, t, n) { + return new e({ + type: "default", + innerType: t, + get defaultValue() { + return "function" == typeof n ? n() : k(n); + }, + }); + }, + _discriminatedUnion: function (e, t, n, r) { + return new e({ + type: "union", + options: n, + discriminator: t, + ...A(r), + }); + }, + _e164: ua, + _email: qo, + _emoji: Yo, + _encode: pe, + _encodeAsync: ge, + _endsWith: ii, + _enum: function (e, t, n) { + return new e({ + type: "enum", + entries: Array.isArray(t) + ? Object.fromEntries(t.map((e) => [e, e])) + : t, + ...A(n), + }); + }, + _file: mi, + _float32: Oa, + _float64: wa, + _gt: za, + _gte: Qa, + _guid: Vo, + _includes: oi, + _int: ya, + _int32: xa, + _int64: Aa, + _intersection: function (e, t, n) { + return new e({ + type: "intersection", + left: t, + right: n, + }); + }, + _ipv4: oa, + _ipv6: aa, + _isoDate: ha, + _isoDateTime: fa, + _isoDuration: ga, + _isoTime: ma, + _jwt: da, + _ksuid: ra, + _lazy: function (e, t) { + return new e({ type: "lazy", getter: t }); + }, + _length: ei, + _literal: function (e, t, n) { + return new e({ + type: "literal", + values: Array.isArray(t) ? t : [t], + ...A(n), + }); + }, + _lowercase: ni, + _lt: Ba, + _lte: Fa, + _map: function (e, t, n, r) { + return new e({ type: "map", keyType: t, valueType: n, ...A(r) }); + }, + _max: Fa, + _maxLength: Ka, + _maxSize: Xa, + _mime: li, + _min: Qa, + _minLength: Ja, + _minSize: Ga, + _multipleOf: Wa, + _nan: Ua, + _nanoid: Ko, + _nativeEnum: function (e, t, n) { + return new e({ + type: "enum", + entries: t, + ...A(n), + }); + }, + _negative: Va, + _never: Na, + _nonnegative: Ha, + _nonoptional: function (e, t, n) { + return new e({ type: "nonoptional", innerType: t, ...A(n) }); + }, + _nonpositive: Za, + _normalize: ui, + _null: Da, + _nullable: function (e, t) { + return new e({ type: "nullable", innerType: t }); + }, + _number: va, + _optional: function (e, t) { + return new e({ type: "optional", innerType: t }); + }, + _overwrite: ci, + _parse: oe, + _parseAsync: ie, + _pipe: function (e, t, n) { + return new e({ type: "pipe", in: t, out: n }); + }, + _positive: qa, + _promise: function (e, t) { + return new e({ type: "promise", innerType: t }); + }, + _property: si, + _readonly: function (e, t) { + return new e({ type: "readonly", innerType: t }); + }, + _record: function (e, t, n, r) { + return new e({ type: "record", keyType: t, valueType: n, ...A(r) }); + }, + _refine: vi, + _regex: ti, + _safeDecode: xe, + _safeDecodeAsync: Ee, + _safeEncode: Oe, + _safeEncodeAsync: Se, + _safeParse: le, + _safeParseAsync: ue, + _set: function (e, t, n) { + return new e({ type: "set", valueType: t, ...A(n) }); + }, + _size: Ya, + _startsWith: ai, + _string: zo, + _stringFormat: wi, + _stringbool: Oi, + _success: function (e, t) { + return new e({ type: "success", innerType: t }); + }, + _superRefine: bi, + _symbol: Ca, + _templateLiteral: function (e, t, n) { + return new e({ + type: "template_literal", + parts: t, + ...A(n), + }); + }, + _toLowerCase: pi, + _toUpperCase: fi, + _transform: function (e, t) { + return new e({ type: "transform", transform: t }); + }, + _trim: di, + _tuple: function (e, t, n, r) { + const o = n instanceof Jt; + return new e({ + type: "tuple", + items: t, + rest: o ? n : null, + ...A(o ? r : n), + }); + }, + _uint32: ka, + _uint64: $a, + _ulid: ta, + _undefined: Pa, + _union: function (e, t, n) { + return new e({ type: "union", options: t, ...A(n) }); + }, + _unknown: Ma, + _uppercase: ri, + _url: Go, + _uuid: Zo, + _uuidv4: Ho, + _uuidv6: Wo, + _uuidv7: Xo, + _void: Ra, + _xid: na, + clone: T, + config: i, + decode: me, + decodeAsync: ye, + encode: fe, + encodeAsync: ve, + flattenError: J, + formatError: ee, + globalConfig: a, + globalRegistry: Fo, + isValidBase64: xn, + isValidBase64URL: Sn, + isValidJWT: Tn, + locales: Ro, + parse: ae, + parseAsync: se, + prettifyError: re, + regexes: Et, + registry: Bo, + safeDecode: ke, + safeDecodeAsync: Te, + safeEncode: we, + safeEncodeAsync: _e, + safeParse: ce, + safeParseAsync: de, + toDotPath: ne, + toJSONSchema: ki, + treeifyError: te, + util: X, + version: Kt, + }, + Symbol.toStringTag, + { value: "Module" }, + ), + ), + Ti = t("ZodISODateTime", (e, t) => { + (hn.init(e, t), ts.init(e, t)); + }); + function Ai(e) { + return fa(Ti, e); + } + const $i = t("ZodISODate", (e, t) => { + (mn.init(e, t), ts.init(e, t)); + }); + function Ci(e) { + return ha($i, e); + } + const Pi = t("ZodISOTime", (e, t) => { + (gn.init(e, t), ts.init(e, t)); + }); + function Di(e) { + return ma(Pi, e); + } + const Ii = t("ZodISODuration", (e, t) => { + (vn.init(e, t), ts.init(e, t)); + }); + function Mi(e) { + return ga(Ii, e); + } + const Ni = Object.freeze( + Object.defineProperty( + { + __proto__: null, + ZodISODate: $i, + ZodISODateTime: Ti, + ZodISODuration: Ii, + ZodISOTime: Pi, + date: Ci, + datetime: Ai, + duration: Mi, + time: Di, + }, + Symbol.toStringTag, + { value: "Module" }, + ), + ), + Ri = (e, t) => { + (Y.init(e, t), + (e.name = "ZodError"), + Object.defineProperties(e, { + format: { + value: (t) => ee(e, t), + }, + flatten: { value: (t) => J(e, t) }, + addIssue: { + value: (t) => { + (e.issues.push(t), (e.message = JSON.stringify(e.issues, c, 2))); + }, + }, + addIssues: { + value: (t) => { + (e.issues.push(...t), + (e.message = JSON.stringify(e.issues, c, 2))); + }, + }, + isEmpty: { + get: () => 0 === e.issues.length, + }, + })); + }, + ji = t("ZodError", Ri), + Li = t("ZodError", Ri, { + Parent: Error, + }), + Ui = oe(Li), + Bi = ie(Li), + Fi = le(Li), + zi = ue(Li), + Qi = pe(Li), + qi = he(Li), + Vi = ge(Li), + Zi = be(Li), + Hi = Oe(Li), + Wi = xe(Li), + Xi = Se(Li), + Gi = Ee(Li), + Yi = t( + "ZodType", + (e, t) => ( + Jt.init(e, t), + (e.def = t), + (e.type = t.type), + Object.defineProperty(e, "_def", { value: t }), + (e.check = (...n) => + e.clone( + v(t, { + checks: [ + ...(t.checks ?? []), + ...n.map((e) => + "function" == typeof e + ? { + _zod: { + check: e, + def: { + check: "custom", + }, + onattach: [], + }, + } + : e, + ), + ], + }), + )), + (e.clone = (t, n) => T(e, t, n)), + (e.brand = () => e), + (e.register = (t, n) => (t.add(e, n), e)), + (e.parse = (t, n) => Ui(e, t, n, { callee: e.parse })), + (e.safeParse = (t, n) => Fi(e, t, n)), + (e.parseAsync = async (t, n) => + Bi(e, t, n, { + callee: e.parseAsync, + })), + (e.safeParseAsync = async (t, n) => zi(e, t, n)), + (e.spa = e.safeParseAsync), + (e.encode = (t, n) => Qi(e, t, n)), + (e.decode = (t, n) => qi(e, t, n)), + (e.encodeAsync = async (t, n) => Vi(e, t, n)), + (e.decodeAsync = async (t, n) => Zi(e, t, n)), + (e.safeEncode = (t, n) => Hi(e, t, n)), + (e.safeDecode = (t, n) => Wi(e, t, n)), + (e.safeEncodeAsync = async (t, n) => Xi(e, t, n)), + (e.safeDecodeAsync = async (t, n) => Gi(e, t, n)), + (e.refine = (t, n) => e.check(Fl(t, n))), + (e.superRefine = (t) => e.check(zl(t))), + (e.overwrite = (t) => e.check(ci(t))), + (e.optional = () => ml(e)), + (e.nullable = () => vl(e)), + (e.nullish = () => ml(vl(e))), + (e.nonoptional = (t) => kl(e, t)), + (e.array = () => Vs(e)), + (e.or = (t) => Xs([e, t])), + (e.and = (t) => Js(e, t)), + (e.transform = (t) => $l(e, fl(t))), + (e.default = (t) => yl(e, t)), + (e.prefault = (t) => wl(e, t)), + (e.catch = (t) => El(e, t)), + (e.pipe = (t) => $l(e, t)), + (e.readonly = () => Dl(e)), + (e.describe = (t) => { + const n = e.clone(); + return ( + Fo.add(n, { + description: t, + }), + n + ); + }), + Object.defineProperty(e, "description", { + get: () => Fo.get(e)?.description, + configurable: !0, + }), + (e.meta = (...t) => { + if (0 === t.length) return Fo.get(e); + const n = e.clone(); + return (Fo.add(n, t[0]), n); + }), + (e.isOptional = () => e.safeParse(void 0).success), + (e.isNullable = () => e.safeParse(null).success), + e + ), + ), + Ki = t("_ZodString", (e, t) => { + (en.init(e, t), Yi.init(e, t)); + const n = e._zod.bag; + ((e.format = n.format ?? null), + (e.minLength = n.minimum ?? null), + (e.maxLength = n.maximum ?? null), + (e.regex = (...t) => e.check(ti(...t))), + (e.includes = (...t) => e.check(oi(...t))), + (e.startsWith = (...t) => e.check(ai(...t))), + (e.endsWith = (...t) => e.check(ii(...t))), + (e.min = (...t) => e.check(Ja(...t))), + (e.max = (...t) => e.check(Ka(...t))), + (e.length = (...t) => e.check(ei(...t))), + (e.nonempty = (...t) => e.check(Ja(1, ...t))), + (e.lowercase = (t) => e.check(ni(t))), + (e.uppercase = (t) => e.check(ri(t))), + (e.trim = () => e.check(di())), + (e.normalize = (...t) => e.check(ui(...t))), + (e.toLowerCase = () => e.check(pi())), + (e.toUpperCase = () => e.check(fi()))); + }), + Ji = t("ZodString", (e, t) => { + (en.init(e, t), + Ki.init(e, t), + (e.email = (t) => e.check(qo(ns, t))), + (e.url = (t) => e.check(Go(as, t))), + (e.jwt = (t) => e.check(da(Os, t))), + (e.emoji = (t) => e.check(Yo(is, t))), + (e.guid = (t) => e.check(Vo(rs, t))), + (e.uuid = (t) => e.check(Zo(os, t))), + (e.uuidv4 = (t) => e.check(Ho(os, t))), + (e.uuidv6 = (t) => e.check(Wo(os, t))), + (e.uuidv7 = (t) => e.check(Xo(os, t))), + (e.nanoid = (t) => e.check(Ko(ss, t))), + (e.guid = (t) => e.check(Vo(rs, t))), + (e.cuid = (t) => e.check(Jo(ls, t))), + (e.cuid2 = (t) => e.check(ea(cs, t))), + (e.ulid = (t) => e.check(ta(us, t))), + (e.base64 = (t) => e.check(la(vs, t))), + (e.base64url = (t) => e.check(ca(bs, t))), + (e.xid = (t) => e.check(na(ds, t))), + (e.ksuid = (t) => e.check(ra(ps, t))), + (e.ipv4 = (t) => e.check(oa(fs, t))), + (e.ipv6 = (t) => e.check(aa(hs, t))), + (e.cidrv4 = (t) => e.check(ia(ms, t))), + (e.cidrv6 = (t) => e.check(sa(gs, t))), + (e.e164 = (t) => e.check(ua(ys, t))), + (e.datetime = (t) => e.check(Ai(t))), + (e.date = (t) => e.check(Ci(t))), + (e.time = (t) => e.check(Di(t))), + (e.duration = (t) => e.check(Mi(t)))); + }); + function es(e) { + return zo(Ji, e); + } + const ts = t("ZodStringFormat", (e, t) => { + (tn.init(e, t), Ki.init(e, t)); + }), + ns = t("ZodEmail", (e, t) => { + (on.init(e, t), ts.init(e, t)); + }); + const rs = t("ZodGUID", (e, t) => { + (nn.init(e, t), ts.init(e, t)); + }); + const os = t("ZodUUID", (e, t) => { + (rn.init(e, t), ts.init(e, t)); + }); + const as = t("ZodURL", (e, t) => { + (an.init(e, t), ts.init(e, t)); + }); + const is = t("ZodEmoji", (e, t) => { + (sn.init(e, t), ts.init(e, t)); + }); + const ss = t("ZodNanoID", (e, t) => { + (ln.init(e, t), ts.init(e, t)); + }); + const ls = t("ZodCUID", (e, t) => { + (cn.init(e, t), ts.init(e, t)); + }); + const cs = t("ZodCUID2", (e, t) => { + (un.init(e, t), ts.init(e, t)); + }); + const us = t("ZodULID", (e, t) => { + (dn.init(e, t), ts.init(e, t)); + }); + const ds = t("ZodXID", (e, t) => { + (pn.init(e, t), ts.init(e, t)); + }); + const ps = t("ZodKSUID", (e, t) => { + (fn.init(e, t), ts.init(e, t)); + }); + const fs = t("ZodIPv4", (e, t) => { + (bn.init(e, t), ts.init(e, t)); + }); + const hs = t("ZodIPv6", (e, t) => { + (yn.init(e, t), ts.init(e, t)); + }); + const ms = t("ZodCIDRv4", (e, t) => { + (On.init(e, t), ts.init(e, t)); + }); + const gs = t("ZodCIDRv6", (e, t) => { + (wn.init(e, t), ts.init(e, t)); + }); + const vs = t("ZodBase64", (e, t) => { + (kn.init(e, t), ts.init(e, t)); + }); + const bs = t("ZodBase64URL", (e, t) => { + (_n.init(e, t), ts.init(e, t)); + }); + const ys = t("ZodE164", (e, t) => { + (En.init(e, t), ts.init(e, t)); + }); + const Os = t("ZodJWT", (e, t) => { + (An.init(e, t), ts.init(e, t)); + }); + const ws = t("ZodCustomStringFormat", (e, t) => { + ($n.init(e, t), ts.init(e, t)); + }); + const xs = t("ZodNumber", (e, t) => { + (Cn.init(e, t), + Yi.init(e, t), + (e.gt = (t, n) => e.check(za(t, n))), + (e.gte = (t, n) => e.check(Qa(t, n))), + (e.min = (t, n) => e.check(Qa(t, n))), + (e.lt = (t, n) => e.check(Ba(t, n))), + (e.lte = (t, n) => e.check(Fa(t, n))), + (e.max = (t, n) => e.check(Fa(t, n))), + (e.int = (t) => e.check(_s(t))), + (e.safe = (t) => e.check(_s(t))), + (e.positive = (t) => e.check(za(0, t))), + (e.nonnegative = (t) => e.check(Qa(0, t))), + (e.negative = (t) => e.check(Ba(0, t))), + (e.nonpositive = (t) => e.check(Fa(0, t))), + (e.multipleOf = (t, n) => e.check(Wa(t, n))), + (e.step = (t, n) => e.check(Wa(t, n))), + (e.finite = () => e)); + const n = e._zod.bag; + ((e.minValue = + Math.max( + n.minimum ?? Number.NEGATIVE_INFINITY, + n.exclusiveMinimum ?? Number.NEGATIVE_INFINITY, + ) ?? null), + (e.maxValue = + Math.min( + n.maximum ?? Number.POSITIVE_INFINITY, + n.exclusiveMaximum ?? Number.POSITIVE_INFINITY, + ) ?? null), + (e.isInt = + (n.format ?? "").includes("int") || + Number.isSafeInteger(n.multipleOf ?? 0.5)), + (e.isFinite = !0), + (e.format = n.format ?? null)); + }); + function ks(e) { + return va(xs, e); + } + const Ss = t("ZodNumberFormat", (e, t) => { + (Pn.init(e, t), xs.init(e, t)); + }); + function _s(e) { + return ya(Ss, e); + } + const Es = t("ZodBoolean", (e, t) => { + (Dn.init(e, t), Yi.init(e, t)); + }); + function Ts(e) { + return Sa(Es, e); + } + const As = t("ZodBigInt", (e, t) => { + (In.init(e, t), + Yi.init(e, t), + (e.gte = (t, n) => e.check(Qa(t, n))), + (e.min = (t, n) => e.check(Qa(t, n))), + (e.gt = (t, n) => e.check(za(t, n))), + (e.gte = (t, n) => e.check(Qa(t, n))), + (e.min = (t, n) => e.check(Qa(t, n))), + (e.lt = (t, n) => e.check(Ba(t, n))), + (e.lte = (t, n) => e.check(Fa(t, n))), + (e.max = (t, n) => e.check(Fa(t, n))), + (e.positive = (t) => e.check(za(BigInt(0), t))), + (e.negative = (t) => e.check(Ba(BigInt(0), t))), + (e.nonpositive = (t) => e.check(Fa(BigInt(0), t))), + (e.nonnegative = (t) => e.check(Qa(BigInt(0), t))), + (e.multipleOf = (t, n) => e.check(Wa(t, n)))); + const n = e._zod.bag; + ((e.minValue = n.minimum ?? null), + (e.maxValue = n.maximum ?? null), + (e.format = n.format ?? null)); + }); + const $s = t("ZodBigIntFormat", (e, t) => { + (Mn.init(e, t), As.init(e, t)); + }); + const Cs = t("ZodSymbol", (e, t) => { + (Nn.init(e, t), Yi.init(e, t)); + }); + const Ps = t("ZodUndefined", (e, t) => { + (Rn.init(e, t), Yi.init(e, t)); + }); + function Ds(e) { + return Pa(Ps, e); + } + const Is = t("ZodNull", (e, t) => { + (jn.init(e, t), Yi.init(e, t)); + }); + function Ms(e) { + return Da(Is, e); + } + const Ns = t("ZodAny", (e, t) => { + (Ln.init(e, t), Yi.init(e, t)); + }); + function Rs() { + return Ia(Ns); + } + const js = t("ZodUnknown", (e, t) => { + (Un.init(e, t), Yi.init(e, t)); + }); + function Ls() { + return Ma(js); + } + const Us = t("ZodNever", (e, t) => { + (Bn.init(e, t), Yi.init(e, t)); + }); + function Bs(e) { + return Na(Us, e); + } + const Fs = t("ZodVoid", (e, t) => { + (Fn.init(e, t), Yi.init(e, t)); + }); + function zs(e) { + return Ra(Fs, e); + } + const Qs = t("ZodDate", (e, t) => { + (zn.init(e, t), + Yi.init(e, t), + (e.min = (t, n) => e.check(Qa(t, n))), + (e.max = (t, n) => e.check(Fa(t, n)))); + const n = e._zod.bag; + ((e.minDate = n.minimum ? new Date(n.minimum) : null), + (e.maxDate = n.maximum ? new Date(n.maximum) : null)); + }); + const qs = t("ZodArray", (e, t) => { + (qn.init(e, t), + Yi.init(e, t), + (e.element = t.element), + (e.min = (t, n) => e.check(Ja(t, n))), + (e.nonempty = (t) => e.check(Ja(1, t))), + (e.max = (t, n) => e.check(Ka(t, n))), + (e.length = (t, n) => e.check(ei(t, n))), + (e.unwrap = () => e.element)); + }); + function Vs(e, t) { + return hi(qs, e, t); + } + const Zs = t("ZodObject", (e, t) => { + (Xn.init(e, t), + Yi.init(e, t), + m(e, "shape", () => t.shape), + (e.keyof = () => ll(Object.keys(e._zod.def.shape))), + (e.catchall = (t) => + e.clone({ + ...e._zod.def, + catchall: t, + })), + (e.passthrough = () => e.clone({ ...e._zod.def, catchall: Ls() })), + (e.loose = () => e.clone({ ...e._zod.def, catchall: Ls() })), + (e.strict = () => e.clone({ ...e._zod.def, catchall: Bs() })), + (e.strip = () => + e.clone({ + ...e._zod.def, + catchall: void 0, + })), + (e.extend = (t) => N(e, t)), + (e.safeExtend = (t) => R(e, t)), + (e.merge = (t) => j(e, t)), + (e.pick = (t) => I(e, t)), + (e.omit = (t) => M(e, t)), + (e.partial = (...t) => L(hl, e, t[0])), + (e.required = (...t) => U(xl, e, t[0]))); + }); + function Hs(e, t) { + const n = { type: "object", shape: e ?? {}, ...A(t) }; + return new Zs(n); + } + const Ws = t("ZodUnion", (e, t) => { + (Yn.init(e, t), Yi.init(e, t), (e.options = t.options)); + }); + function Xs(e, t) { + return new Ws({ type: "union", options: e, ...A(t) }); + } + const Gs = t("ZodDiscriminatedUnion", (e, t) => { + (Ws.init(e, t), Kn.init(e, t)); + }); + function Ys(e, t, n) { + return new Gs({ type: "union", options: t, discriminator: e, ...A(n) }); + } + const Ks = t("ZodIntersection", (e, t) => { + (Jn.init(e, t), Yi.init(e, t)); + }); + function Js(e, t) { + return new Ks({ type: "intersection", left: e, right: t }); + } + const el = t("ZodTuple", (e, t) => { + (nr.init(e, t), + Yi.init(e, t), + (e.rest = (t) => + e.clone({ + ...e._zod.def, + rest: t, + }))); + }); + function tl(e, t, n) { + const r = t instanceof Jt; + return new el({ + type: "tuple", + items: e, + rest: r ? t : null, + ...A(r ? n : t), + }); + } + const nl = t("ZodRecord", (e, t) => { + (or.init(e, t), + Yi.init(e, t), + (e.keyType = t.keyType), + (e.valueType = t.valueType)); + }); + function rl(e, t, n) { + return new nl({ type: "record", keyType: e, valueType: t, ...A(n) }); + } + function ol(e, t, n) { + const r = T(e); + return ( + (r._zod.values = void 0), + new nl({ + type: "record", + keyType: r, + valueType: t, + ...A(n), + }) + ); + } + const al = t("ZodMap", (e, t) => { + (ar.init(e, t), + Yi.init(e, t), + (e.keyType = t.keyType), + (e.valueType = t.valueType)); + }); + const il = t("ZodSet", (e, t) => { + (sr.init(e, t), + Yi.init(e, t), + (e.min = (...t) => e.check(Ga(...t))), + (e.nonempty = (t) => e.check(Ga(1, t))), + (e.max = (...t) => e.check(Xa(...t))), + (e.size = (...t) => e.check(Ya(...t)))); + }); + const sl = t("ZodEnum", (e, t) => { + (cr.init(e, t), + Yi.init(e, t), + (e.enum = t.entries), + (e.options = Object.values(t.entries))); + const n = new Set(Object.keys(t.entries)); + ((e.extract = (e, r) => { + const o = {}; + for (const a of e) { + if (!n.has(a)) throw new Error(`Key ${a} not found in enum`); + o[a] = t.entries[a]; + } + return new sl({ ...t, checks: [], ...A(r), entries: o }); + }), + (e.exclude = (e, r) => { + const o = { ...t.entries }; + for (const t of e) { + if (!n.has(t)) throw new Error(`Key ${t} not found in enum`); + delete o[t]; + } + return new sl({ ...t, checks: [], ...A(r), entries: o }); + })); + }); + function ll(e, t) { + const n = Array.isArray(e) ? Object.fromEntries(e.map((e) => [e, e])) : e; + return new sl({ + type: "enum", + entries: n, + ...A(t), + }); + } + const cl = t("ZodLiteral", (e, t) => { + (ur.init(e, t), + Yi.init(e, t), + (e.values = new Set(t.values)), + Object.defineProperty(e, "value", { + get() { + if (t.values.length > 1) + throw new Error( + "This schema contains multiple valid literal values. Use `.values` instead.", + ); + return t.values[0]; + }, + })); + }); + function ul(e, t) { + return new cl({ + type: "literal", + values: Array.isArray(e) ? e : [e], + ...A(t), + }); + } + const dl = t("ZodFile", (e, t) => { + (dr.init(e, t), + Yi.init(e, t), + (e.min = (t, n) => e.check(Ga(t, n))), + (e.max = (t, n) => e.check(Xa(t, n))), + (e.mime = (t, n) => e.check(li(Array.isArray(t) ? t : [t], n)))); + }); + const pl = t("ZodTransform", (e, t) => { + (pr.init(e, t), + Yi.init(e, t), + (e._zod.parse = (n, r) => { + if ("backward" === r.direction) throw new o(e.constructor.name); + n.addIssue = (r) => { + if ("string" == typeof r) n.issues.push(Z(r, n.value, t)); + else { + const t = r; + (t.fatal && (t.continue = !1), + t.code ?? (t.code = "custom"), + t.input ?? (t.input = n.value), + t.inst ?? (t.inst = e), + n.issues.push(Z(t))); + } + }; + const a = t.transform(n.value, n); + return a instanceof Promise + ? a.then((e) => ((n.value = e), n)) + : ((n.value = a), n); + })); + }); + function fl(e) { + return new pl({ type: "transform", transform: e }); + } + const hl = t("ZodOptional", (e, t) => { + (hr.init(e, t), Yi.init(e, t), (e.unwrap = () => e._zod.def.innerType)); + }); + function ml(e) { + return new hl({ type: "optional", innerType: e }); + } + const gl = t("ZodNullable", (e, t) => { + (mr.init(e, t), Yi.init(e, t), (e.unwrap = () => e._zod.def.innerType)); + }); + function vl(e) { + return new gl({ type: "nullable", innerType: e }); + } + const bl = t("ZodDefault", (e, t) => { + (gr.init(e, t), + Yi.init(e, t), + (e.unwrap = () => e._zod.def.innerType), + (e.removeDefault = e.unwrap)); + }); + function yl(e, t) { + return new bl({ + type: "default", + innerType: e, + get defaultValue() { + return "function" == typeof t ? t() : k(t); + }, + }); + } + const Ol = t("ZodPrefault", (e, t) => { + (br.init(e, t), Yi.init(e, t), (e.unwrap = () => e._zod.def.innerType)); + }); + function wl(e, t) { + return new Ol({ + type: "prefault", + innerType: e, + get defaultValue() { + return "function" == typeof t ? t() : k(t); + }, + }); + } + const xl = t("ZodNonOptional", (e, t) => { + (yr.init(e, t), Yi.init(e, t), (e.unwrap = () => e._zod.def.innerType)); + }); + function kl(e, t) { + return new xl({ type: "nonoptional", innerType: e, ...A(t) }); + } + const Sl = t("ZodSuccess", (e, t) => { + (wr.init(e, t), Yi.init(e, t), (e.unwrap = () => e._zod.def.innerType)); + }); + const _l = t("ZodCatch", (e, t) => { + (xr.init(e, t), + Yi.init(e, t), + (e.unwrap = () => e._zod.def.innerType), + (e.removeCatch = e.unwrap)); + }); + function El(e, t) { + return new _l({ + type: "catch", + innerType: e, + catchValue: "function" == typeof t ? t : () => t, + }); + } + const Tl = t("ZodNaN", (e, t) => { + (kr.init(e, t), Yi.init(e, t)); + }); + const Al = t("ZodPipe", (e, t) => { + (Sr.init(e, t), Yi.init(e, t), (e.in = t.in), (e.out = t.out)); + }); + function $l(e, t) { + return new Al({ type: "pipe", in: e, out: t }); + } + const Cl = t("ZodCodec", (e, t) => { + (Al.init(e, t), Er.init(e, t)); + }); + const Pl = t("ZodReadonly", (e, t) => { + ($r.init(e, t), Yi.init(e, t), (e.unwrap = () => e._zod.def.innerType)); + }); + function Dl(e) { + return new Pl({ type: "readonly", innerType: e }); + } + const Il = t("ZodTemplateLiteral", (e, t) => { + (Pr.init(e, t), Yi.init(e, t)); + }); + const Ml = t("ZodLazy", (e, t) => { + (Mr.init(e, t), Yi.init(e, t), (e.unwrap = () => e._zod.def.getter())); + }); + function Nl(e) { + return new Ml({ type: "lazy", getter: e }); + } + const Rl = t("ZodPromise", (e, t) => { + (Ir.init(e, t), Yi.init(e, t), (e.unwrap = () => e._zod.def.innerType)); + }); + const jl = t("ZodFunction", (e, t) => { + (Dr.init(e, t), Yi.init(e, t)); + }); + function Ll(e) { + return new jl({ + type: "function", + input: Array.isArray(e?.input) ? tl(e?.input) : (e?.input ?? Vs(Ls())), + output: e?.output ?? Ls(), + }); + } + const Ul = t("ZodCustom", (e, t) => { + (Nr.init(e, t), Yi.init(e, t)); + }); + function Bl(e, t) { + return gi(Ul, e ?? (() => !0), t); + } + function Fl(e, t = {}) { + return vi(Ul, e, t); + } + function zl(e) { + return bi(e); + } + function Ql(e, t = { error: `Input not instance of ${e.name}` }) { + const n = new Ul({ + type: "custom", + check: "custom", + fn: (t) => t instanceof e, + abort: !0, + ...A(t), + }); + return ((n._zod.bag.Class = e), n); + } + var ql; + function Vl(e) { + return Qo(Ji, e); + } + ql || (ql = {}); + const Zl = Object.freeze( + Object.defineProperty( + { + __proto__: null, + bigint: function (e) { + return Ta(As, e); + }, + boolean: function (e) { + return _a(Es, e); + }, + date: function (e) { + return La(Qs, e); + }, + number: function (e) { + return ba(xs, e); + }, + string: Vl, + }, + Symbol.toStringTag, + { value: "Module" }, + ), + ); + i(Zr()); + const Hl = Object.freeze( + Object.defineProperty( + { + __proto__: null, + $brand: n, + $input: Lo, + $output: jo, + NEVER: e, + TimePrecision: pa, + ZodAny: Ns, + ZodArray: qs, + ZodBase64: vs, + ZodBase64URL: bs, + ZodBigInt: As, + ZodBigIntFormat: $s, + ZodBoolean: Es, + ZodCIDRv4: ms, + ZodCIDRv6: gs, + ZodCUID: ls, + ZodCUID2: cs, + ZodCatch: _l, + ZodCodec: Cl, + ZodCustom: Ul, + ZodCustomStringFormat: ws, + ZodDate: Qs, + ZodDefault: bl, + ZodDiscriminatedUnion: Gs, + ZodE164: ys, + ZodEmail: ns, + ZodEmoji: is, + ZodEnum: sl, + ZodError: ji, + ZodFile: dl, + get ZodFirstPartyTypeKind() { + return ql; + }, + ZodFunction: jl, + ZodGUID: rs, + ZodIPv4: fs, + ZodIPv6: hs, + ZodISODate: $i, + ZodISODateTime: Ti, + ZodISODuration: Ii, + ZodISOTime: Pi, + ZodIntersection: Ks, + ZodIssueCode: { + invalid_type: "invalid_type", + too_big: "too_big", + too_small: "too_small", + invalid_format: "invalid_format", + not_multiple_of: "not_multiple_of", + unrecognized_keys: "unrecognized_keys", + invalid_union: "invalid_union", + invalid_key: "invalid_key", + invalid_element: "invalid_element", + invalid_value: "invalid_value", + custom: "custom", + }, + ZodJWT: Os, + ZodKSUID: ps, + ZodLazy: Ml, + ZodLiteral: cl, + ZodMap: al, + ZodNaN: Tl, + ZodNanoID: ss, + ZodNever: Us, + ZodNonOptional: xl, + ZodNull: Is, + ZodNullable: gl, + ZodNumber: xs, + ZodNumberFormat: Ss, + ZodObject: Zs, + ZodOptional: hl, + ZodPipe: Al, + ZodPrefault: Ol, + ZodPromise: Rl, + ZodReadonly: Pl, + ZodRealError: Li, + ZodRecord: nl, + ZodSet: il, + ZodString: Ji, + ZodStringFormat: ts, + ZodSuccess: Sl, + ZodSymbol: Cs, + ZodTemplateLiteral: Il, + ZodTransform: pl, + ZodTuple: el, + ZodType: Yi, + ZodULID: us, + ZodURL: as, + ZodUUID: os, + ZodUndefined: Ps, + ZodUnion: Ws, + ZodUnknown: js, + ZodVoid: Fs, + ZodXID: ds, + _ZodString: Ki, + _default: yl, + _function: Ll, + any: Rs, + array: Vs, + base64: function (e) { + return la(vs, e); + }, + base64url: function (e) { + return ca(bs, e); + }, + bigint: function (e) { + return Ea(As, e); + }, + boolean: Ts, + catch: El, + check: function (e) { + const t = new Tt({ check: "custom" }); + return ((t._zod.check = e), t); + }, + cidrv4: function (e) { + return ia(ms, e); + }, + cidrv6: function (e) { + return sa(gs, e); + }, + clone: T, + codec: function (e, t, n) { + return new Cl({ + type: "pipe", + in: e, + out: t, + transform: n.decode, + reverseTransform: n.encode, + }); + }, + coerce: Zl, + config: i, + core: Ei, + cuid: function (e) { + return Jo(ls, e); + }, + cuid2: function (e) { + return ea(cs, e); + }, + custom: Bl, + date: function (e) { + return ja(Qs, e); + }, + decode: qi, + decodeAsync: Zi, + discriminatedUnion: Ys, + e164: function (e) { + return ua(ys, e); + }, + email: function (e) { + return qo(ns, e); + }, + emoji: function (e) { + return Yo(is, e); + }, + encode: Qi, + encodeAsync: Vi, + endsWith: ii, + enum: ll, + file: function (e) { + return mi(dl, e); + }, + flattenError: J, + float32: function (e) { + return Oa(Ss, e); + }, + float64: function (e) { + return wa(Ss, e); + }, + formatError: ee, + function: Ll, + getErrorMap: function () { + return i().customError; + }, + globalRegistry: Fo, + gt: za, + gte: Qa, + guid: function (e) { + return Vo(rs, e); + }, + hash: function (e, t) { + const n = `${e}_${t?.enc ?? "hex"}`, + r = Et[n]; + if (!r) throw new Error(`Unrecognized hash format: ${n}`); + return wi(ws, n, r, t); + }, + hex: function (e) { + return wi(ws, "hex", ft, e); + }, + hostname: function (e) { + return wi(ws, "hostname", Ge, e); + }, + httpUrl: function (e) { + return Go(as, { + protocol: /^https?$/, + hostname: Ye, + ...A(e), + }); + }, + includes: oi, + instanceof: Ql, + int: _s, + int32: function (e) { + return xa(Ss, e); + }, + int64: function (e) { + return Aa($s, e); + }, + intersection: Js, + ipv4: function (e) { + return oa(fs, e); + }, + ipv6: function (e) { + return aa(hs, e); + }, + iso: Ni, + json: function (e) { + const t = Nl(() => + Xs([es(e), ks(), Ts(), Ms(), Vs(t), rl(es(), t)]), + ); + return t; + }, + jwt: function (e) { + return da(Os, e); + }, + keyof: function (e) { + const t = e._zod.def.shape; + return ll(Object.keys(t)); + }, + ksuid: function (e) { + return ra(ps, e); + }, + lazy: Nl, + length: ei, + literal: ul, + locales: Ro, + looseObject: function (e, t) { + return new Zs({ + type: "object", + shape: e, + catchall: Ls(), + ...A(t), + }); + }, + lowercase: ni, + lt: Ba, + lte: Fa, + map: function (e, t, n) { + return new al({ type: "map", keyType: e, valueType: t, ...A(n) }); + }, + maxLength: Ka, + maxSize: Xa, + mime: li, + minLength: Ja, + minSize: Ga, + multipleOf: Wa, + nan: function (e) { + return Ua(Tl, e); + }, + nanoid: function (e) { + return Ko(ss, e); + }, + nativeEnum: function (e, t) { + return new sl({ type: "enum", entries: e, ...A(t) }); + }, + negative: Va, + never: Bs, + nonnegative: Ha, + nonoptional: kl, + nonpositive: Za, + normalize: ui, + null: Ms, + nullable: vl, + nullish: function (e) { + return ml(vl(e)); + }, + number: ks, + object: Hs, + optional: ml, + overwrite: ci, + parse: Ui, + parseAsync: Bi, + partialRecord: ol, + pipe: $l, + positive: qa, + prefault: wl, + preprocess: function (e, t) { + return $l(fl(e), t); + }, + prettifyError: re, + promise: function (e) { + return new Rl({ type: "promise", innerType: e }); + }, + property: si, + readonly: Dl, + record: rl, + refine: Fl, + regex: ti, + regexes: Et, + registry: Bo, + safeDecode: Wi, + safeDecodeAsync: Gi, + safeEncode: Hi, + safeEncodeAsync: Xi, + safeParse: Fi, + safeParseAsync: zi, + set: function (e, t) { + return new il({ type: "set", valueType: e, ...A(t) }); + }, + setErrorMap: function (e) { + i({ customError: e }); + }, + size: Ya, + startsWith: ai, + strictObject: function (e, t) { + return new Zs({ + type: "object", + shape: e, + catchall: Bs(), + ...A(t), + }); + }, + string: es, + stringFormat: function (e, t, n = {}) { + return wi(ws, e, t, n); + }, + stringbool: (...e) => + Oi({ Codec: Cl, Boolean: Es, String: Ji }, ...e), + success: function (e) { + return new Sl({ type: "success", innerType: e }); + }, + superRefine: zl, + symbol: function (e) { + return Ca(Cs, e); + }, + templateLiteral: function (e, t) { + return new Il({ + type: "template_literal", + parts: e, + ...A(t), + }); + }, + toJSONSchema: ki, + toLowerCase: pi, + toUpperCase: fi, + transform: fl, + treeifyError: te, + trim: di, + tuple: tl, + uint32: function (e) { + return ka(Ss, e); + }, + uint64: function (e) { + return $a($s, e); + }, + ulid: function (e) { + return ta(us, e); + }, + undefined: Ds, + union: Xs, + unknown: Ls, + uppercase: ri, + url: function (e) { + return Go(as, e); + }, + util: X, + uuid: function (e) { + return Zo(os, e); + }, + uuidv4: function (e) { + return Ho(os, e); + }, + uuidv6: function (e) { + return Wo(os, e); + }, + uuidv7: function (e) { + return Xo(os, e); + }, + void: zs, + xid: function (e) { + return na(ds, e); + }, + }, + Symbol.toStringTag, + { + value: "Module", + }, + ), + ), + Wl = Hs({ + title: es().optional(), + component: Ls(), + props: rl(es(), Rs()).optional(), + }), + Xl = Hs({ + "request.section": Vs(Wl).optional(), + "response.section": Vs(Wl).optional(), + }), + Gl = Hs({ + onBeforeRequest: Ll({ + input: [ + Hs({ + request: Ql(Request), + }), + ], + }).optional(), + onResponseReceived: Ll({ + input: [ + Hs({ + response: Ql(Response), + operation: rl(es(), Rs()), + }), + ], + }).optional(), + }), + Yl = Ll({ + input: [], + output: Hs({ name: es(), views: Xl.optional(), hooks: Gl.optional() }), + }), + Kl = "https://api.scalar.com/request-proxy", + Jl = "https://proxy.scalar.com", + ec = Hl.object({ + title: Hl.string().optional(), + slug: Hl.string().optional(), + authentication: Hl.any().optional(), + baseServerURL: Hl.string().optional(), + hideClientButton: Hl.boolean().optional().default(!1).catch(!1), + proxyUrl: Hl.string().optional(), + searchHotKey: Hl.enum([ + "a", + "b", + "c", + "d", + "e", + "f", + "g", + "h", + "i", + "j", + "k", + "l", + "m", + "n", + "o", + "p", + "q", + "r", + "s", + "t", + "u", + "v", + "w", + "x", + "y", + "z", + ]).optional(), + servers: Hl.array(Hl.any()).optional(), + showSidebar: Hl.boolean().optional().default(!0).catch(!0), + showDeveloperTools: Hl.enum(["always", "localhost", "never"]) + .optional() + .default("localhost") + .catch("localhost"), + showToolbar: Hl.enum(["always", "localhost", "never"]) + .optional() + .default("localhost") + .catch("localhost"), + operationTitleSource: Hl.enum(["summary", "path"]) + .optional() + .default("summary") + .catch("summary"), + theme: Hl.enum([ + "alternate", + "default", + "moon", + "purple", + "solarized", + "bluePlanet", + "deepSpace", + "saturn", + "kepler", + "elysiajs", + "fastify", + "mars", + "laserwave", + "none", + ]) + .optional() + .default("default") + .catch("default"), + _integration: Hl.enum([ + "adonisjs", + "astro", + "docusaurus", + "dotnet", + "elysiajs", + "express", + "fastapi", + "fastify", + "go", + "hono", + "html", + "laravel", + "litestar", + "nestjs", + "nextjs", + "nitro", + "nuxt", + "platformatic", + "react", + "rust", + "svelte", + "vue", + ]) + .nullable() + .optional(), + onRequestSent: Hl.function({ + input: [Hl.string()], + output: Hl.void(), + }).optional(), + persistAuth: Hl.boolean().optional().default(!1).catch(!1), + plugins: Hl.array(Yl).optional(), + telemetry: Hl.boolean().optional().default(!0), + }), + tc = Hl.object({ + default: Hl.boolean().default(!1).optional().catch(!1), + url: Hl.string().optional(), + content: Hl.union([ + Hl.string(), + Hl.null(), + Hl.record(Hl.string(), Hl.any()), + Hl.function({ + input: [], + output: Hl.record(Hl.string(), Hl.any()), + }), + ]).optional(), + title: Hl.string().optional(), + slug: Hl.string().optional(), + spec: Hl.object({ + url: Hl.string().optional(), + content: Hl.union([ + Hl.string(), + Hl.null(), + Hl.record(Hl.string(), Hl.any()), + Hl.function({ + input: [], + output: Hl.record(Hl.string(), Hl.any()), + }), + ]).optional(), + }).optional(), + }), + nc = ec.extend(tc.shape), + rc = Hs({ + name: es().regex(/^x-/), + component: Ls(), + renderer: Ls().optional(), + }), + oc = Hs({ + component: Ls(), + renderer: Ls().optional(), + props: rl(es(), Rs()).optional(), + }), + ac = Hs({ "content.end": Vs(oc).optional() }), + ic = Ll({ + input: [], + output: Hs({ name: es(), extensions: Vs(rc), views: ac.optional() }), + }), + sc = Bl(), + lc = ec.extend({ + layout: ll(["modern", "classic"]) + .optional() + .default("modern") + .catch("modern"), + proxy: es().optional(), + fetch: sc.optional(), + plugins: Vs(ic).optional(), + isEditable: Ts().optional().default(!1).catch(!1), + isLoading: Ts().optional().default(!1).catch(!1), + hideModels: Ts().optional().default(!1).catch(!1), + documentDownloadType: ll(["yaml", "json", "both", "direct", "none"]) + .optional() + .default("both") + .catch("both"), + hideDownloadButton: Ts().optional(), + hideTestRequestButton: Ts().optional().default(!1).catch(!1), + hideSearch: Ts().optional().default(!1).catch(!1), + showOperationId: Ts().optional().default(!1).catch(!1), + darkMode: Ts().optional(), + forceDarkModeState: ll(["dark", "light"]).optional(), + hideDarkModeToggle: Ts().optional().default(!1).catch(!1), + metaData: Rs().optional(), + favicon: es().optional(), + hiddenClients: Xs([ + rl(es(), Xs([Ts(), Vs(es())])), + Vs(es()), + ul(!0), + ]).optional(), + defaultHttpClient: Hs({ targetKey: Bl(), clientKey: es() }).optional(), + customCss: es().optional(), + onSpecUpdate: Ll({ input: [es()], output: zs() }).optional(), + onServerChange: Ll({ input: [es()], output: zs() }).optional(), + onDocumentSelect: Ll({ input: [] }).optional(), + onLoaded: Ll().optional(), + onBeforeRequest: Ll({ input: [Hs({ request: Ql(Request) })] }).optional(), + onShowMore: Ll({ input: [es()] }).optional(), + onSidebarClick: Ll({ input: [es()] }).optional(), + pathRouting: Hs({ basePath: es() }).optional(), + generateHeadingSlug: Ll({ + input: [Hs({ slug: es().default("headingSlug") })], + output: es(), + }).optional(), + generateModelSlug: Ll({ + input: [ + Hs({ + name: es().default("modelName"), + }), + ], + output: es(), + }).optional(), + generateTagSlug: Ll({ + input: [Hs({ name: es().default("tagName") })], + output: es(), + }).optional(), + generateOperationSlug: Ll({ + input: [ + Hs({ + path: es(), + operationId: es().optional(), + method: es(), + summary: es().optional(), + }), + ], + output: es(), + }).optional(), + generateWebhookSlug: Ll({ + input: [Hs({ name: es(), method: es().optional() })], + output: es(), + }).optional(), + redirect: Ll({ + input: [es()], + output: es().nullable().optional(), + }).optional(), + withDefaultFonts: Ts().optional().default(!0).catch(!0), + defaultOpenAllTags: Ts().optional().default(!1).catch(!1), + expandAllModelSections: Ts().optional().default(!1).catch(!1), + expandAllResponses: Ts().optional().default(!1).catch(!1), + tagsSorter: Xs([ + ul("alpha"), + Ll({ input: [Rs(), Rs()], output: ks() }), + ]).optional(), + operationsSorter: Xs([ + ul("alpha"), + ul("method"), + Ll({ input: [Rs(), Rs()], output: ks() }), + ]).optional(), + orderSchemaPropertiesBy: Xs([ul("alpha"), ul("preserve")]) + .optional() + .default("alpha") + .catch("alpha"), + orderRequiredPropertiesFirst: Ts().optional().default(!0).catch(!0), + }), + cc = lc + .extend(tc.shape) + .transform( + (e) => ( + e.hideDownloadButton && + (console.warn( + "[DEPRECATED] You're using the deprecated 'hideDownloadButton' attribute. Use 'documentDownloadType: 'none'' instead.", + ), + (e.documentDownloadType = "none")), + e.spec?.url && + (console.warn( + "[DEPRECATED] You're using the deprecated 'spec.url' attribute. Remove the spec prefix and move the 'url' attribute to the top level.", + ), + (e.url = e.spec.url), + delete e.spec), + e.spec?.content && + (console.warn( + "[DEPRECATED] You're using the deprecated 'spec.content' attribute. Remove the spec prefix and move the 'content' attribute to the top level.", + ), + (e.content = e.spec.content), + delete e.spec), + e.proxy && + (console.warn( + "[DEPRECATED] You're using the deprecated 'proxy' attribute, rename it to 'proxyUrl' or update the package.", + ), + e.proxyUrl || (e.proxyUrl = e.proxy), + delete e.proxy), + e.proxyUrl === Kl && + (console.warn( + `[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${Kl}).`, + ), + console.warn( + `[DEPRECATED] We are overwriting the value and use the new proxy URL (${Jl}) instead.`, + ), + console.warn( + `[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${Jl}). Read more: https://github.com/scalar/scalar`, + ), + (e.proxyUrl = Jl)), + e.showToolbar && + "localhost" !== e.showToolbar && + (console.warn( + "[DEPRECATED] You're using the deprecated 'showToolbar' attribute. Use 'showDeveloperTools' instead.", + ), + (e.showDeveloperTools = e.showToolbar), + delete e.showToolbar), + e + ), + ); + function uc(e, t) { + const n = [], + r = t.resolveKeyData || ((e) => e.key), + o = t.resolveValueData || ((e) => e.value); + for (const [a, i] of Object.entries(e)) + n.push( + ...(Array.isArray(i) ? i : [i]) + .map((e) => { + const n = { key: a, value: e }, + i = o(n); + return "object" == typeof i + ? uc(i, t) + : Array.isArray(i) + ? i + : { + ["function" == typeof t.key ? t.key(n) : t.key]: r(n), + ["function" == typeof t.value ? t.value(n) : t.value]: i, + }; + }) + .flat(), + ); + return n; + } + function dc(e, t) { + return Object.entries(e) + .map(([e, n]) => { + if (("object" == typeof n && (n = dc(n, t)), t.resolve)) { + const r = t.resolve({ key: e, value: n }); + if (void 0 !== r) return r; + } + return ( + "number" == typeof n && (n = n.toString()), + "string" == typeof n && + t.wrapValue && + ((n = n.replace(new RegExp(t.wrapValue, "g"), `\\${t.wrapValue}`)), + (n = `${t.wrapValue}${n}${t.wrapValue}`)), + `${e}${t.keyValueSeparator || ""}${n}` + ); + }) + .join(t.entrySeparator || ""); + } + Hs({ + cdn: es() + .optional() + .default("https://cdn.jsdelivr.net/npm/@scalar/api-reference"), + pageTitle: es().optional().default("Scalar API Reference"), + }); + const pc = new Set(["title", "titleTemplate", "script", "style", "noscript"]), + fc = new Set(["base", "meta", "link", "style", "script", "noscript"]), + hc = new Set([ + "title", + "titleTemplate", + "templateParams", + "base", + "htmlAttrs", + "bodyAttrs", + "meta", + "link", + "style", + "script", + "noscript", + ]), + mc = new Set([ + "base", + "title", + "titleTemplate", + "bodyAttrs", + "htmlAttrs", + "templateParams", + ]), + gc = new Set([ + "tagPosition", + "tagPriority", + "tagDuplicateStrategy", + "children", + "innerHTML", + "textContent", + "processTemplateParams", + ]), + vc = "undefined" != typeof window; + function bc(e) { + let t = 9; + for (let n = 0; n < e.length; ) + t = Math.imul(t ^ e.charCodeAt(n++), 9 ** 9); + return (65536 + (t ^ (t >>> 9))).toString(16).substring(1, 8).toLowerCase(); + } + function yc(e) { + if (e._h) return e._h; + if (e._d) return bc(e._d); + let t = `${e.tag}:${e.textContent || e.innerHTML || ""}:`; + for (const n in e.props) t += `${n}:${String(e.props[n])},`; + return bc(t); + } + const Oc = (e) => ({ keyValue: e, metaKey: "property" }), + wc = (e) => ({ keyValue: e }), + xc = { + appleItunesApp: { + unpack: { + entrySeparator: ", ", + resolve: ({ key: e, value: t }) => `${_c(e)}=${t}`, + }, + }, + articleExpirationTime: Oc("article:expiration_time"), + articleModifiedTime: Oc("article:modified_time"), + articlePublishedTime: Oc("article:published_time"), + bookReleaseDate: Oc("book:release_date"), + charset: { metaKey: "charset" }, + contentSecurityPolicy: { + unpack: { + entrySeparator: "; ", + resolve: ({ key: e, value: t }) => `${_c(e)} ${t}`, + }, + metaKey: "http-equiv", + }, + contentType: { + metaKey: "http-equiv", + }, + defaultStyle: { metaKey: "http-equiv" }, + fbAppId: Oc("fb:app_id"), + msapplicationConfig: wc("msapplication-Config"), + msapplicationTileColor: wc("msapplication-TileColor"), + msapplicationTileImage: wc("msapplication-TileImage"), + ogAudioSecureUrl: Oc("og:audio:secure_url"), + ogAudioUrl: Oc("og:audio"), + ogImageSecureUrl: Oc("og:image:secure_url"), + ogImageUrl: Oc("og:image"), + ogSiteName: Oc("og:site_name"), + ogVideoSecureUrl: Oc("og:video:secure_url"), + ogVideoUrl: Oc("og:video"), + profileFirstName: Oc("profile:first_name"), + profileLastName: Oc("profile:last_name"), + profileUsername: Oc("profile:username"), + refresh: { + metaKey: "http-equiv", + unpack: { + entrySeparator: ";", + resolve({ key: e, value: t }) { + if ("seconds" === e) return `${t}`; + }, + }, + }, + robots: { + unpack: { + entrySeparator: ", ", + resolve: ({ key: e, value: t }) => + "boolean" == typeof t ? `${_c(e)}` : `${_c(e)}:${t}`, + }, + }, + xUaCompatible: { metaKey: "http-equiv" }, + }, + kc = new Set(["og", "book", "article", "profile"]); + function Sc(e) { + const t = _c(e), + n = t.indexOf(":"); + return kc.has(t.substring(0, n)) ? "property" : xc[e]?.metaKey || "name"; + } + function _c(e) { + const t = e.replace(/([A-Z])/g, "-$1").toLowerCase(), + n = t.indexOf("-"), + r = t.substring(0, n); + return "twitter" === r || kc.has(r) + ? e.replace(/([A-Z])/g, ":$1").toLowerCase() + : t; + } + function Ec(e) { + if (Array.isArray(e)) return e.map((e) => Ec(e)); + if ("object" != typeof e || Array.isArray(e)) return e; + const t = {}; + for (const n in e) + Object.prototype.hasOwnProperty.call(e, n) && (t[_c(n)] = Ec(e[n])); + return t; + } + function Tc(e, t) { + const n = xc[t]; + return "refresh" === t + ? `${e.seconds};url=${e.url}` + : dc(Ec(e), { + keyValueSeparator: "=", + entrySeparator: ", ", + resolve: ({ value: e, key: t }) => + null === e ? "" : "boolean" == typeof e ? `${t}` : void 0, + ...n?.unpack, + }); + } + const Ac = new Set(["og:image", "og:video", "og:audio", "twitter:image"]); + function $c(e) { + const t = {}; + for (const n in e) { + if (!Object.prototype.hasOwnProperty.call(e, n)) continue; + const r = e[n]; + "false" !== String(r) && n && (t[n] = r); + } + return t; + } + function Cc(e, t) { + const n = $c(t), + r = _c(e), + o = Sc(r); + if (Ac.has(r)) { + const t = {}; + for (const r in n) + Object.prototype.hasOwnProperty.call(n, r) && + (t[`${e}${"url" === r ? "" : `${r[0].toUpperCase()}${r.slice(1)}`}`] = + n[r]); + return Pc(t).sort((e, t) => (e[o]?.length || 0) - (t[o]?.length || 0)); + } + return [{ [o]: r, ...n }]; + } + function Pc(e) { + const t = [], + n = {}; + for (const o in e) { + if (!Object.prototype.hasOwnProperty.call(e, o)) continue; + const r = e[o]; + if (Array.isArray(r)) + for (const e of r) + t.push(...("string" == typeof e ? Pc({ [o]: e }) : Cc(o, e))); + else if ("object" == typeof r && r) { + if (Ac.has(_c(o))) { + t.push(...Cc(o, r)); + continue; + } + n[o] = $c(r); + } else n[o] = r; + } + const r = uc(n, { + key: ({ key: e }) => Sc(e), + value: ({ key: e }) => ("charset" === e ? "charset" : "content"), + resolveKeyData: ({ key: e }) => + (function (e) { + return xc[e]?.keyValue || _c(e); + })(e), + resolveValueData: ({ value: e, key: t }) => + null === e + ? "_null" + : "object" == typeof e + ? Tc(e, t) + : "number" == typeof e + ? e.toString() + : e, + }); + return [...t, ...r].map( + (e) => ("_null" === e.content && (e.content = null), e), + ); + } + function Dc(e, t, n, r) { + const o = + r || + Nc( + "object" != typeof t || "function" == typeof t || t instanceof Promise + ? { + ["script" === e || "noscript" === e || "style" === e + ? "innerHTML" + : "textContent"]: t, + } + : { ...t }, + "templateParams" === e || "titleTemplate" === e, + ); + if (o instanceof Promise) return o.then((r) => Dc(e, t, n, r)); + const a = { tag: e, props: o }; + for (const i of gc) { + const e = void 0 !== a.props[i] ? a.props[i] : n[i]; + void 0 !== e && + ((("innerHTML" !== i && "textContent" !== i && "children" !== i) || + pc.has(a.tag)) && + (a["children" === i ? "innerHTML" : i] = e), + delete a.props[i]); + } + return ( + a.props.body && ((a.tagPosition = "bodyClose"), delete a.props.body), + "script" === a.tag && + "object" == typeof a.innerHTML && + ((a.innerHTML = JSON.stringify(a.innerHTML)), + (a.props.type = a.props.type || "application/json")), + Array.isArray(a.props.content) + ? a.props.content.map((e) => ({ + ...a, + props: { ...a.props, content: e }, + })) + : a + ); + } + function Ic(e, t) { + const n = "class" === e ? " " : ";"; + return ( + t && + "object" == typeof t && + !Array.isArray(t) && + (t = Object.entries(t) + .filter(([, e]) => e) + .map(([t, n]) => ("style" === e ? `${t}:${n}` : t))), + String(Array.isArray(t) ? t.join(n) : t) + ?.split(n) + .filter((e) => Boolean(e.trim())) + .join(n) + ); + } + function Mc(e, t, n, r) { + for (let o = r; o < n.length; o += 1) { + const r = n[o]; + if ("class" !== r && "style" !== r) { + if (e[r] instanceof Promise) + return e[r].then((a) => ((e[r] = a), Mc(e, t, n, o))); + if (!t && !gc.has(r)) { + const t = String(e[r]), + n = r.startsWith("data-"); + "true" === t || "" === t + ? (e[r] = !n || "true") + : e[r] || (n && "false" === t ? (e[r] = "false") : delete e[r]); + } + } else e[r] = Ic(r, e[r]); + } + } + function Nc(e, t = !1) { + const n = Mc(e, t, Object.keys(e), 0); + return n instanceof Promise ? n.then(() => e) : e; + } + const Rc = 10; + function jc(e, t, n) { + for (let r = n; r < t.length; r += 1) { + const n = t[r]; + if (n instanceof Promise) return n.then((n) => ((t[r] = n), jc(e, t, r))); + Array.isArray(n) ? e.push(...n) : e.push(n); + } + } + function Lc(e) { + const t = [], + n = e.resolvedInput; + for (const i in n) { + if (!Object.prototype.hasOwnProperty.call(n, i)) continue; + const r = n[i]; + if (void 0 !== r && hc.has(i)) + if (Array.isArray(r)) for (const n of r) t.push(Dc(i, n, e)); + else t.push(Dc(i, r, e)); + } + if (0 === t.length) return []; + const r = []; + return ( + (o = jc(r, t, 0)), + (a = () => + r.map( + (t, n) => ( + (t._e = e._i), + e.mode && (t._m = e.mode), + (t._p = (e._i << Rc) + n), + t + ), + )), + o instanceof Promise ? o.then(a) : a(o) + ); + var o, a; + } + const Uc = new Set([ + "onload", + "onerror", + "onabort", + "onprogress", + "onloadstart", + ]), + Bc = { + base: -10, + title: 10, + }, + Fc = { critical: -80, high: -10, low: 20 }; + function zc(e) { + const t = e.tagPriority; + if ("number" == typeof t) return t; + let n = 100; + return ( + "meta" === e.tag + ? "content-security-policy" === e.props["http-equiv"] + ? (n = -30) + : e.props.charset + ? (n = -20) + : "viewport" === e.props.name && (n = -15) + : "link" === e.tag && "preconnect" === e.props.rel + ? (n = 20) + : e.tag in Bc && (n = Bc[e.tag]), + t && t in Fc ? n + Fc[t] : n + ); + } + const Qc = [ + { prefix: "before:", offset: -1 }, + { prefix: "after:", offset: 1 }, + ], + qc = ["name", "property", "http-equiv"]; + function Vc(e) { + const { props: t, tag: n } = e; + if (mc.has(n)) return n; + if ("link" === n && "canonical" === t.rel) return "canonical"; + if (t.charset) return "charset"; + if (t.id) return `${n}:id:${t.id}`; + for (const r of qc) if (void 0 !== t[r]) return `${n}:${r}:${t[r]}`; + return !1; + } + const Zc = "%separator"; + const Hc = new RegExp(`${Zc}(?:\\s*${Zc})*`, "g"); + function Wc(e, t, n, r = !1) { + if ("string" != typeof e || !e.includes("%")) return e; + let o = e; + try { + o = decodeURI(e); + } catch {} + const a = o.match(/%\w+(?:\.\w+)?/g); + if (!a) return e; + const i = e.includes(Zc); + return ( + (e = e + .replace(/%\w+(?:\.\w+)?/g, (e) => { + if (e === Zc || !a.includes(e)) return e; + const n = (function (e, t, n = !1) { + let r; + if ("s" === t || "pageTitle" === t) r = e.pageTitle; + else if (t.includes(".")) { + const n = t.indexOf("."); + r = e[t.substring(0, n)]?.[t.substring(n + 1)]; + } else r = e[t]; + if (void 0 !== r) + return n ? (r || "").replace(/"/g, '\\"') : r || ""; + })(t, e.slice(1), r); + return void 0 !== n ? n : e; + }) + .trim()), + i && + (e.endsWith(Zc) && (e = e.slice(0, -10)), + e.startsWith(Zc) && (e = e.slice(10)), + (e = e.replace(Hc, n).trim())), + e + ); + } + function Xc(e, t) { + return null == e ? t || null : "function" == typeof e ? e(t) : e; + } + function Gc(e, t = {}) { + const n = t.delayFn || ((e) => setTimeout(e, 10)); + return (e._domDebouncedUpdatePromise = + e._domDebouncedUpdatePromise || + new Promise((r) => + n(() => + (async function (e, t = {}) { + const n = t.document || e.resolvedOptions.document; + if (!n || !e.dirty) return; + const r = { + shouldRender: !0, + tags: [], + }; + return ( + await e.hooks.callHook("dom:beforeRender", r), + r.shouldRender + ? (e._domUpdatePromise || + (e._domUpdatePromise = new Promise(async (t) => { + const r = (await e.resolveTags()).map((e) => ({ + tag: e, + id: fc.has(e.tag) ? yc(e) : e.tag, + shouldRender: !0, + })); + let o = e._dom; + if (!o) { + o = { + elMap: { + htmlAttrs: n.documentElement, + bodyAttrs: n.body, + }, + }; + const e = new Set(); + for (const t of ["body", "head"]) { + const r = n[t]?.children; + for (const t of r) { + const n = t.tagName.toLowerCase(); + if (!fc.has(n)) continue; + const r = { + tag: n, + props: await Nc( + t.getAttributeNames().reduce( + (e, n) => ({ + ...e, + [n]: t.getAttribute(n), + }), + {}, + ), + ), + innerHTML: t.innerHTML, + }, + a = Vc(r); + let i = a, + s = 1; + for (; i && e.has(i); ) i = `${a}:${s++}`; + (i && ((r._d = i), e.add(i)), + (o.elMap[t.getAttribute("data-hid") || yc(r)] = + t)); + } + } + } + function a(e, t, n) { + const r = `${e}:${t}`; + ((o.sideEffects[r] = n), + delete o.pendingSideEffects[r]); + } + function i({ id: e, $el: t, tag: r }) { + const i = r.tag.endsWith("Attrs"); + if ( + ((o.elMap[e] = t), + i || + (r.textContent && + r.textContent !== t.textContent && + (t.textContent = r.textContent), + r.innerHTML && + r.innerHTML !== t.innerHTML && + (t.innerHTML = r.innerHTML), + a(e, "el", () => { + (o.elMap[e]?.remove(), delete o.elMap[e]); + })), + r._eventHandlers) + ) + for (const o in r._eventHandlers) + Object.prototype.hasOwnProperty.call( + r._eventHandlers, + o, + ) && + "" !== t.getAttribute(`data-${o}`) && + (("bodyAttrs" === r.tag + ? n.defaultView + : t + ).addEventListener( + o.substring(2), + r._eventHandlers[o].bind(t), + ), + t.setAttribute(`data-${o}`, "")); + for (const n in r.props) { + if (!Object.prototype.hasOwnProperty.call(r.props, n)) + continue; + const o = r.props[n], + s = `attr:${n}`; + if ("class" === n) { + if (!o) continue; + for (const n of o.split(" ")) + (i && + a(e, `${s}:${n}`, () => t.classList.remove(n)), + !t.classList.contains(n) && t.classList.add(n)); + } else if ("style" === n) { + if (!o) continue; + for (const n of o.split(";")) { + const r = n.indexOf(":"), + o = n.substring(0, r).trim(), + i = n.substring(r + 1).trim(); + (a(e, `${s}:${o}`, () => { + t.style.removeProperty(o); + }), + t.style.setProperty(o, i)); + } + } else + (t.getAttribute(n) !== o && + t.setAttribute(n, !0 === o ? "" : String(o)), + i && a(e, s, () => t.removeAttribute(n))); + } + } + ((o.pendingSideEffects = { ...o.sideEffects }), + (o.sideEffects = {})); + const s = [], + l = { + bodyClose: void 0, + bodyOpen: void 0, + head: void 0, + }; + for (const e of r) { + const { tag: t, shouldRender: r, id: a } = e; + r && + ("title" !== t.tag + ? ((e.$el = e.$el || o.elMap[a]), + e.$el ? i(e) : fc.has(t.tag) && s.push(e)) + : (n.title = t.textContent)); + } + for (const e of s) { + const t = e.tag.tagPosition || "head"; + ((e.$el = n.createElement(e.tag.tag)), + i(e), + (l[t] = l[t] || n.createDocumentFragment()), + l[t].appendChild(e.$el)); + } + for (const c of r) + await e.hooks.callHook("dom:renderTag", c, n, a); + (l.head && n.head.appendChild(l.head), + l.bodyOpen && + n.body.insertBefore(l.bodyOpen, n.body.firstChild), + l.bodyClose && n.body.appendChild(l.bodyClose)); + for (const e in o.pendingSideEffects) + o.pendingSideEffects[e](); + ((e._dom = o), + await e.hooks.callHook("dom:rendered", { renders: r }), + t()); + }).finally(() => { + ((e._domUpdatePromise = void 0), (e.dirty = !1)); + })), + e._domUpdatePromise) + : void 0 + ); + })(e, t).then(() => { + (delete e._domDebouncedUpdatePromise, r()); + }), + ), + )); + } + function Yc(e) { + return (t) => { + const n = + t.resolvedOptions.document?.head.querySelector( + 'script[id="unhead:payload"]', + )?.innerHTML || !1; + return ( + n && t.push(JSON.parse(n)), + { + mode: "client", + hooks: { + "entries:updated": (t) => { + Gc(t, e); + }, + }, + } + ); + }; + } + function Kc(e, t = {}, n) { + for (const r in e) { + const o = e[r], + a = n ? `${n}:${r}` : r; + "object" == typeof o && null !== o + ? Kc(o, t, a) + : "function" == typeof o && (t[a] = o); + } + return t; + } + const Jc = { run: (e) => e() }, + eu = void 0 !== console.createTask ? console.createTask : () => Jc; + function tu(e, t) { + const n = t.shift(), + r = eu(n); + return e.reduce( + (e, n) => e.then(() => r.run(() => n(...t))), + Promise.resolve(), + ); + } + function nu(e, t) { + const n = t.shift(), + r = eu(n); + return Promise.all(e.map((e) => r.run(() => e(...t)))); + } + function ru(e, t) { + for (const n of [...e]) n(t); + } + class ou { + constructor() { + ((this._hooks = {}), + (this._before = void 0), + (this._after = void 0), + (this._deprecatedMessages = void 0), + (this._deprecatedHooks = {}), + (this.hook = this.hook.bind(this)), + (this.callHook = this.callHook.bind(this)), + (this.callHookWith = this.callHookWith.bind(this))); + } + hook(e, t, n = {}) { + if (!e || "function" != typeof t) return () => {}; + const r = e; + let o; + for (; this._deprecatedHooks[e]; ) + ((o = this._deprecatedHooks[e]), (e = o.to)); + if (o && !n.allowDeprecated) { + let e = o.message; + (e || + (e = + `${r} hook has been deprecated` + + (o.to ? `, please use ${o.to}` : "")), + this._deprecatedMessages || (this._deprecatedMessages = new Set()), + this._deprecatedMessages.has(e) || + (console.warn(e), this._deprecatedMessages.add(e))); + } + if (!t.name) + try { + Object.defineProperty(t, "name", { + get: () => "_" + e.replace(/\W+/g, "_") + "_hook_cb", + configurable: !0, + }); + } catch {} + return ( + (this._hooks[e] = this._hooks[e] || []), + this._hooks[e].push(t), + () => { + t && (this.removeHook(e, t), (t = void 0)); + } + ); + } + hookOnce(e, t) { + let n, + r = (...e) => ( + "function" == typeof n && n(), + (n = void 0), + (r = void 0), + t(...e) + ); + return ((n = this.hook(e, r)), n); + } + removeHook(e, t) { + if (this._hooks[e]) { + const n = this._hooks[e].indexOf(t); + (-1 !== n && this._hooks[e].splice(n, 1), + 0 === this._hooks[e].length && delete this._hooks[e]); + } + } + deprecateHook(e, t) { + this._deprecatedHooks[e] = "string" == typeof t ? { to: t } : t; + const n = this._hooks[e] || []; + delete this._hooks[e]; + for (const r of n) this.hook(e, r); + } + deprecateHooks(e) { + Object.assign(this._deprecatedHooks, e); + for (const t in e) this.deprecateHook(t, e[t]); + } + addHooks(e) { + const t = Kc(e), + n = Object.keys(t).map((e) => this.hook(e, t[e])); + return () => { + for (const e of n.splice(0, n.length)) e(); + }; + } + removeHooks(e) { + const t = Kc(e); + for (const n in t) this.removeHook(n, t[n]); + } + removeAllHooks() { + for (const e in this._hooks) delete this._hooks[e]; + } + callHook(e, ...t) { + return (t.unshift(e), this.callHookWith(tu, e, ...t)); + } + callHookParallel(e, ...t) { + return (t.unshift(e), this.callHookWith(nu, e, ...t)); + } + callHookWith(e, t, ...n) { + const r = + this._before || this._after + ? { name: t, args: n, context: {} } + : void 0; + this._before && ru(this._before, r); + const o = e(t in this._hooks ? [...this._hooks[t]] : [], n); + return o instanceof Promise + ? o.finally(() => { + this._after && r && ru(this._after, r); + }) + : (this._after && r && ru(this._after, r), o); + } + beforeEach(e) { + return ( + (this._before = this._before || []), + this._before.push(e), + () => { + if (void 0 !== this._before) { + const t = this._before.indexOf(e); + -1 !== t && this._before.splice(t, 1); + } + } + ); + } + afterEach(e) { + return ( + (this._after = this._after || []), + this._after.push(e), + () => { + if (void 0 !== this._after) { + const t = this._after.indexOf(e); + -1 !== t && this._after.splice(t, 1); + } + } + ); + } + } + const au = new Set(["templateParams", "htmlAttrs", "bodyAttrs"]), + iu = { + hooks: { + "tag:normalise": ({ tag: e }) => { + (e.props.hid && ((e.key = e.props.hid), delete e.props.hid), + e.props.vmid && ((e.key = e.props.vmid), delete e.props.vmid), + e.props.key && ((e.key = e.props.key), delete e.props.key)); + const t = Vc(e); + !t || + t.startsWith("meta:og:") || + t.startsWith("meta:twitter:") || + delete e.key; + const n = t || (!!e.key && `${e.tag}:${e.key}`); + n && (e._d = n); + }, + "tags:resolve": (e) => { + const t = Object.create(null); + for (const r of e.tags) { + const e = (r.key ? `${r.tag}:${r.key}` : r._d) || yc(r), + n = t[e]; + if (n) { + let o = r?.tagDuplicateStrategy; + if ((!o && au.has(r.tag) && (o = "merge"), "merge" === o)) { + const o = n.props; + (o.style && + r.props.style && + (";" !== o.style[o.style.length - 1] && (o.style += ";"), + (r.props.style = `${o.style} ${r.props.style}`)), + o.class && r.props.class + ? (r.props.class = `${o.class} ${r.props.class}`) + : o.class && (r.props.class = o.class), + (t[e].props = { ...o, ...r.props })); + continue; + } + if (r._e === n._e) { + ((n._duped = n._duped || []), + (r._d = `${n._d}:${n._duped.length + 1}`), + n._duped.push(r)); + continue; + } + if (zc(r) > zc(n)) continue; + } + r.innerHTML || + r.textContent || + 0 !== Object.keys(r.props).length || + !fc.has(r.tag) + ? (t[e] = r) + : delete t[e]; + } + const n = []; + for (const r in t) { + const e = t[r], + o = e._duped; + (n.push(e), o && (delete e._duped, n.push(...o))); + } + ((e.tags = n), + (e.tags = e.tags.filter( + (e) => + !( + "meta" === e.tag && + (e.props.name || e.props.property) && + !e.props.content + ), + ))); + }, + }, + }, + su = new Set(["script", "link", "bodyAttrs"]), + lu = (e) => ({ + hooks: { + "tags:resolve": (t) => { + for (const n of t.tags) { + if (!su.has(n.tag)) continue; + const t = n.props; + for (const r in t) { + if ("o" !== r[0] || "n" !== r[1]) continue; + if (!Object.prototype.hasOwnProperty.call(t, r)) continue; + const o = t[r]; + "function" == typeof o && + (e.ssr && Uc.has(r) + ? (t[r] = `this.dataset.${r}fired = true`) + : delete t[r], + (n._eventHandlers = n._eventHandlers || {}), + (n._eventHandlers[r] = o)); + } + e.ssr && + n._eventHandlers && + (n.props.src || n.props.href) && + (n.key = n.key || bc(n.props.src || n.props.href)); + } + }, + "dom:renderTag": ({ $el: e, tag: t }) => { + const n = e?.dataset; + if (n) + for (const r in n) { + if (!r.endsWith("fired")) continue; + const n = r.slice(0, -5); + Uc.has(n) && + t._eventHandlers?.[n]?.call(e, new Event(n.substring(2))); + } + }, + }, + }), + cu = new Set(["link", "style", "script", "noscript"]), + uu = { + hooks: { + "tag:normalise": ({ tag: e }) => { + e.key && cu.has(e.tag) && (e.props["data-hid"] = e._h = bc(e.key)); + }, + }, + }, + du = { + mode: "server", + hooks: { + "tags:beforeResolve": (e) => { + const t = {}; + let n = !1; + for (const r of e.tags) + "server" !== r._m || + ("titleTemplate" !== r.tag && + "templateParams" !== r.tag && + "title" !== r.tag) || + ((t[r.tag] = + "title" === r.tag || "titleTemplate" === r.tag + ? r.textContent + : r.props), + (n = !0)); + n && + e.tags.push({ + tag: "script", + innerHTML: JSON.stringify(t), + props: { + id: "unhead:payload", + type: "application/json", + }, + }); + }, + }, + }, + pu = { + hooks: { + "tags:resolve": (e) => { + for (const t of e.tags) + if ("string" == typeof t.tagPriority) + for (const { prefix: n, offset: r } of Qc) { + if (!t.tagPriority.startsWith(n)) continue; + const o = t.tagPriority.substring(n.length), + a = e.tags.find((e) => e._d === o)?._p; + if (void 0 !== a) { + t._p = a + r; + break; + } + } + e.tags.sort((e, t) => { + const n = zc(e), + r = zc(t); + return n < r ? -1 : n > r ? 1 : e._p - t._p; + }); + }, + }, + }, + fu = { meta: "content", link: "href", htmlAttrs: "lang" }, + hu = ["innerHTML", "textContent"], + mu = (e) => ({ + hooks: { + "tags:resolve": (t) => { + const { tags: n } = t; + let r; + for (let e = 0; e < n.length; e += 1) { + "templateParams" === n[e].tag && + ((r = t.tags.splice(e, 1)[0].props), (e -= 1)); + } + const o = r || {}, + a = o.separator || "|"; + (delete o.separator, + (o.pageTitle = Wc( + o.pageTitle || + n.find((e) => "title" === e.tag)?.textContent || + "", + o, + a, + ))); + for (const e of n) { + if (!1 === e.processTemplateParams) continue; + const t = fu[e.tag]; + if (t && "string" == typeof e.props[t]) + e.props[t] = Wc(e.props[t], o, a); + else if ( + e.processTemplateParams || + "titleTemplate" === e.tag || + "title" === e.tag + ) + for (const n of hu) + "string" == typeof e[n] && + (e[n] = Wc( + e[n], + o, + a, + "script" === e.tag && e.props.type.endsWith("json"), + )); + } + ((e._templateParams = o), (e._separator = a)); + }, + "tags:afterResolve": ({ tags: t }) => { + let n; + for (let e = 0; e < t.length; e += 1) { + const r = t[e]; + "title" === r.tag && !1 !== r.processTemplateParams && (n = r); + } + n?.textContent && + (n.textContent = Wc( + n.textContent, + e._templateParams, + e._separator, + )); + }, + }, + }), + gu = { + hooks: { + "tags:resolve": (e) => { + const { tags: t } = e; + let n, r; + for (let o = 0; o < t.length; o += 1) { + const e = t[o]; + "title" === e.tag ? (n = e) : "titleTemplate" === e.tag && (r = e); + } + if (r && n) { + const t = Xc(r.textContent, n.textContent); + null !== t + ? (n.textContent = t || n.textContent) + : e.tags.splice(e.tags.indexOf(n), 1); + } else if (r) { + const e = Xc(r.textContent); + null !== e && + ((r.textContent = e), (r.tag = "title"), (r = void 0)); + } + r && e.tags.splice(e.tags.indexOf(r), 1); + }, + }, + }, + vu = { + hooks: { + "tags:afterResolve": (e) => { + for (const t of e.tags) + "string" == typeof t.innerHTML && + (!t.innerHTML || + ("application/ld+json" !== t.props.type && + "application/json" !== t.props.type) + ? (t.innerHTML = t.innerHTML.replace( + new RegExp(` { + ((s.dirty = !0), t.callHook("entries:updated", s)); + }; + let o = 0, + a = []; + const i = [], + s = { + plugins: i, + dirty: !1, + resolvedOptions: e, + hooks: t, + headEntries: () => a, + use(e) { + const r = "function" == typeof e ? e(s) : e; + (r.key && i.some((e) => e.key === r.key)) || + (i.push(r), Ou(r.mode, n) && t.addHooks(r.hooks || {})); + }, + push(e, t) { + delete t?.head; + const i = { + _i: o++, + input: e, + ...t, + }; + return ( + Ou(i.mode, n) && (a.push(i), r()), + { + dispose() { + ((a = a.filter((e) => e._i !== i._i)), r()); + }, + patch(e) { + for (const t of a) t._i === i._i && (t.input = i.input = e); + r(); + }, + } + ); + }, + async resolveTags() { + const e = { tags: [], entries: [...a] }; + await t.callHook("entries:resolve", e); + for (const n of e.entries) { + const r = n.resolvedInput || n.input; + if ( + ((n.resolvedInput = await (n.transform ? n.transform(r) : r)), + n.resolvedInput) + ) + for (const o of await Lc(n)) { + const r = { + tag: o, + entry: n, + resolvedOptions: s.resolvedOptions, + }; + (await t.callHook("tag:normalise", r), e.tags.push(r.tag)); + } + } + return ( + await t.callHook("tags:beforeResolve", e), + await t.callHook("tags:resolve", e), + await t.callHook("tags:afterResolve", e), + e.tags + ); + }, + ssr: n, + }; + return ( + [iu, du, lu, uu, pu, mu, gu, vu, ...(e?.plugins || [])].forEach((e) => + s.use(e), + ), + s.hooks.callHook("init", s), + s + ); + })(e); + return (t.use(Yc()), (bu = t)); + } + function Ou(e, t) { + return !e || ("server" === e && t) || ("client" === e && !t); + } + /** + * @vue/shared v3.5.21 + * (c) 2018-present Yuxi (Evan) You and Vue contributors + * @license MIT + **/ + function wu(e) { + const t = Object.create(null); + for (const n of e.split(",")) t[n] = 1; + return (e) => e in t; + } + const xu = {}, + ku = [], + Su = () => {}, + _u = () => !1, + Eu = (e) => + 111 === e.charCodeAt(0) && + 110 === e.charCodeAt(1) && + (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), + Tu = (e) => e.startsWith("onUpdate:"), + Au = Object.assign, + $u = (e, t) => { + const n = e.indexOf(t); + n > -1 && e.splice(n, 1); + }, + Cu = Object.prototype.hasOwnProperty, + Pu = (e, t) => Cu.call(e, t), + Du = Array.isArray, + Iu = (e) => "[object Map]" === zu(e), + Mu = (e) => "[object Set]" === zu(e), + Nu = (e) => "[object Date]" === zu(e), + Ru = (e) => "function" == typeof e, + ju = (e) => "string" == typeof e, + Lu = (e) => "symbol" == typeof e, + Uu = (e) => null !== e && "object" == typeof e, + Bu = (e) => (Uu(e) || Ru(e)) && Ru(e.then) && Ru(e.catch), + Fu = Object.prototype.toString, + zu = (e) => Fu.call(e), + Qu = (e) => zu(e).slice(8, -1), + qu = (e) => "[object Object]" === zu(e), + Vu = (e) => + ju(e) && "NaN" !== e && "-" !== e[0] && "" + parseInt(e, 10) === e, + Zu = wu( + ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted", + ), + Hu = (e) => { + const t = Object.create(null); + return (n) => t[n] || (t[n] = e(n)); + }, + Wu = /-\w/g, + Xu = Hu((e) => e.replace(Wu, (e) => e.slice(1).toUpperCase())), + Gu = /\B([A-Z])/g, + Yu = Hu((e) => e.replace(Gu, "-$1").toLowerCase()), + Ku = Hu((e) => e.charAt(0).toUpperCase() + e.slice(1)), + Ju = Hu((e) => (e ? `on${Ku(e)}` : "")), + ed = (e, t) => !Object.is(e, t), + td = (e, ...t) => { + for (let n = 0; n < e.length; n++) e[n](...t); + }, + nd = (e, t, n, r = !1) => { + Object.defineProperty(e, t, { + configurable: !0, + enumerable: !1, + writable: r, + value: n, + }); + }, + rd = (e) => { + const t = parseFloat(e); + return isNaN(t) ? e : t; + }, + od = (e) => { + const t = ju(e) ? Number(e) : NaN; + return isNaN(t) ? e : t; + }; + let ad; + const id = () => + ad || + (ad = + "undefined" != typeof globalThis + ? globalThis + : "undefined" != typeof self + ? self + : "undefined" != typeof window + ? window + : "undefined" != typeof global + ? global + : {}); + function sd(e) { + if (Du(e)) { + const t = {}; + for (let n = 0; n < e.length; n++) { + const r = e[n], + o = ju(r) ? dd(r) : sd(r); + if (o) for (const e in o) t[e] = o[e]; + } + return t; + } + if (ju(e) || Uu(e)) return e; + } + const ld = /;(?![^(]*\))/g, + cd = /:([^]+)/, + ud = /\/\*[^]*?\*\//g; + function dd(e) { + const t = {}; + return ( + e + .replace(ud, "") + .split(ld) + .forEach((e) => { + if (e) { + const n = e.split(cd); + n.length > 1 && (t[n[0].trim()] = n[1].trim()); + } + }), + t + ); + } + function pd(e) { + let t = ""; + if (ju(e)) t = e; + else if (Du(e)) + for (let n = 0; n < e.length; n++) { + const r = pd(e[n]); + r && (t += r + " "); + } + else if (Uu(e)) for (const n in e) e[n] && (t += n + " "); + return t.trim(); + } + function fd(e) { + if (!e) return null; + let { class: t, style: n } = e; + return (t && !ju(t) && (e.class = pd(t)), n && (e.style = sd(n)), e); + } + const hd = wu( + "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", + ); + function md(e) { + return !!e || "" === e; + } + function gd(e, t) { + if (e === t) return !0; + let n = Nu(e), + r = Nu(t); + if (n || r) return !(!n || !r) && e.getTime() === t.getTime(); + if (((n = Lu(e)), (r = Lu(t)), n || r)) return e === t; + if (((n = Du(e)), (r = Du(t)), n || r)) + return ( + !(!n || !r) && + (function (e, t) { + if (e.length !== t.length) return !1; + let n = !0; + for (let r = 0; n && r < e.length; r++) n = gd(e[r], t[r]); + return n; + })(e, t) + ); + if (((n = Uu(e)), (r = Uu(t)), n || r)) { + if (!n || !r) return !1; + if (Object.keys(e).length !== Object.keys(t).length) return !1; + for (const n in e) { + const r = e.hasOwnProperty(n), + o = t.hasOwnProperty(n); + if ((r && !o) || (!r && o) || !gd(e[n], t[n])) return !1; + } + } + return String(e) === String(t); + } + function vd(e, t) { + return e.findIndex((e) => gd(e, t)); + } + const bd = (e) => !(!e || !0 !== e.__v_isRef), + yd = (e) => + ju(e) + ? e + : null == e + ? "" + : Du(e) || (Uu(e) && (e.toString === Fu || !Ru(e.toString))) + ? bd(e) + ? yd(e.value) + : JSON.stringify(e, Od, 2) + : String(e), + Od = (e, t) => + bd(t) + ? Od(e, t.value) + : Iu(t) + ? { + [`Map(${t.size})`]: [...t.entries()].reduce( + (e, [t, n], r) => ((e[wd(t, r) + " =>"] = n), e), + {}, + ), + } + : Mu(t) + ? { [`Set(${t.size})`]: [...t.values()].map((e) => wd(e)) } + : Lu(t) + ? wd(t) + : !Uu(t) || Du(t) || qu(t) + ? t + : String(t), + wd = (e, t = "") => { + var n; + return Lu(e) ? `Symbol(${null != (n = e.description) ? n : t})` : e; + }; + function xd(e) { + return null == e + ? "initial" + : "string" == typeof e + ? "" === e + ? " " + : e + : String(e); + } + /** + * @vue/reactivity v3.5.21 + * (c) 2018-present Yuxi (Evan) You and Vue contributors + * @license MIT + **/ let kd, Sd; + class _d { + constructor(e = !1) { + ((this.detached = e), + (this._active = !0), + (this._on = 0), + (this.effects = []), + (this.cleanups = []), + (this._isPaused = !1), + (this.parent = kd), + !e && + kd && + (this.index = (kd.scopes || (kd.scopes = [])).push(this) - 1)); + } + get active() { + return this._active; + } + pause() { + if (this._active) { + let e, t; + if (((this._isPaused = !0), this.scopes)) + for (e = 0, t = this.scopes.length; e < t; e++) + this.scopes[e].pause(); + for (e = 0, t = this.effects.length; e < t; e++) + this.effects[e].pause(); + } + } + resume() { + if (this._active && this._isPaused) { + let e, t; + if (((this._isPaused = !1), this.scopes)) + for (e = 0, t = this.scopes.length; e < t; e++) + this.scopes[e].resume(); + for (e = 0, t = this.effects.length; e < t; e++) + this.effects[e].resume(); + } + } + run(e) { + if (this._active) { + const t = kd; + try { + return ((kd = this), e()); + } finally { + kd = t; + } + } + } + on() { + 1 == ++this._on && ((this.prevScope = kd), (kd = this)); + } + off() { + this._on > 0 && + 0 == --this._on && + ((kd = this.prevScope), (this.prevScope = void 0)); + } + stop(e) { + if (this._active) { + let t, n; + for (this._active = !1, t = 0, n = this.effects.length; t < n; t++) + this.effects[t].stop(); + for ( + this.effects.length = 0, t = 0, n = this.cleanups.length; + t < n; + t++ + ) + this.cleanups[t](); + if (((this.cleanups.length = 0), this.scopes)) { + for (t = 0, n = this.scopes.length; t < n; t++) + this.scopes[t].stop(!0); + this.scopes.length = 0; + } + if (!this.detached && this.parent && !e) { + const e = this.parent.scopes.pop(); + e && + e !== this && + ((this.parent.scopes[this.index] = e), (e.index = this.index)); + } + this.parent = void 0; + } + } + } + function Ed() { + return kd; + } + function Td(e, t = !1) { + kd && kd.cleanups.push(e); + } + const Ad = new WeakSet(); + class $d { + constructor(e) { + ((this.fn = e), + (this.deps = void 0), + (this.depsTail = void 0), + (this.flags = 5), + (this.next = void 0), + (this.cleanup = void 0), + (this.scheduler = void 0), + kd && kd.active && kd.effects.push(this)); + } + pause() { + this.flags |= 64; + } + resume() { + 64 & this.flags && + ((this.flags &= -65), + Ad.has(this) && (Ad.delete(this), this.trigger())); + } + notify() { + (2 & this.flags && !(32 & this.flags)) || 8 & this.flags || Id(this); + } + run() { + if (!(1 & this.flags)) return this.fn(); + ((this.flags |= 2), Zd(this), Rd(this)); + const e = Sd, + t = zd; + ((Sd = this), (zd = !0)); + try { + return this.fn(); + } finally { + (jd(this), (Sd = e), (zd = t), (this.flags &= -3)); + } + } + stop() { + if (1 & this.flags) { + for (let e = this.deps; e; e = e.nextDep) Bd(e); + ((this.deps = this.depsTail = void 0), + Zd(this), + this.onStop && this.onStop(), + (this.flags &= -2)); + } + } + trigger() { + 64 & this.flags + ? Ad.add(this) + : this.scheduler + ? this.scheduler() + : this.runIfDirty(); + } + runIfDirty() { + Ld(this) && this.run(); + } + get dirty() { + return Ld(this); + } + } + let Cd, + Pd, + Dd = 0; + function Id(e, t = !1) { + if (((e.flags |= 8), t)) return ((e.next = Pd), void (Pd = e)); + ((e.next = Cd), (Cd = e)); + } + function Md() { + Dd++; + } + function Nd() { + if (--Dd > 0) return; + if (Pd) { + let e = Pd; + for (Pd = void 0; e; ) { + const t = e.next; + ((e.next = void 0), (e.flags &= -9), (e = t)); + } + } + let e; + for (; Cd; ) { + let n = Cd; + for (Cd = void 0; n; ) { + const r = n.next; + if (((n.next = void 0), (n.flags &= -9), 1 & n.flags)) + try { + n.trigger(); + } catch (t) { + e || (e = t); + } + n = r; + } + } + if (e) throw e; + } + function Rd(e) { + for (let t = e.deps; t; t = t.nextDep) + ((t.version = -1), + (t.prevActiveLink = t.dep.activeLink), + (t.dep.activeLink = t)); + } + function jd(e) { + let t, + n = e.depsTail, + r = n; + for (; r; ) { + const e = r.prevDep; + (-1 === r.version ? (r === n && (n = e), Bd(r), Fd(r)) : (t = r), + (r.dep.activeLink = r.prevActiveLink), + (r.prevActiveLink = void 0), + (r = e)); + } + ((e.deps = t), (e.depsTail = n)); + } + function Ld(e) { + for (let t = e.deps; t; t = t.nextDep) + if ( + t.dep.version !== t.version || + (t.dep.computed && (Ud(t.dep.computed) || t.dep.version !== t.version)) + ) + return !0; + return !!e._dirty; + } + function Ud(e) { + if (4 & e.flags && !(16 & e.flags)) return; + if (((e.flags &= -17), e.globalVersion === Hd)) return; + if ( + ((e.globalVersion = Hd), + !e.isSSR && 128 & e.flags && ((!e.deps && !e._dirty) || !Ld(e))) + ) + return; + e.flags |= 2; + const t = e.dep, + n = Sd, + r = zd; + ((Sd = e), (zd = !0)); + try { + Rd(e); + const n = e.fn(e._value); + (0 === t.version || ed(n, e._value)) && + ((e.flags |= 128), (e._value = n), t.version++); + } catch (o) { + throw (t.version++, o); + } finally { + ((Sd = n), (zd = r), jd(e), (e.flags &= -3)); + } + } + function Bd(e, t = !1) { + const { dep: n, prevSub: r, nextSub: o } = e; + if ( + (r && ((r.nextSub = o), (e.prevSub = void 0)), + o && ((o.prevSub = r), (e.nextSub = void 0)), + n.subs === e && ((n.subs = r), !r && n.computed)) + ) { + n.computed.flags &= -5; + for (let e = n.computed.deps; e; e = e.nextDep) Bd(e, !0); + } + t || --n.sc || !n.map || n.map.delete(n.key); + } + function Fd(e) { + const { prevDep: t, nextDep: n } = e; + (t && ((t.nextDep = n), (e.prevDep = void 0)), + n && ((n.prevDep = t), (e.nextDep = void 0))); + } + let zd = !0; + const Qd = []; + function qd() { + (Qd.push(zd), (zd = !1)); + } + function Vd() { + const e = Qd.pop(); + zd = void 0 === e || e; + } + function Zd(e) { + const { cleanup: t } = e; + if (((e.cleanup = void 0), t)) { + const e = Sd; + Sd = void 0; + try { + t(); + } finally { + Sd = e; + } + } + } + let Hd = 0; + class Wd { + constructor(e, t) { + ((this.sub = e), + (this.dep = t), + (this.version = t.version), + (this.nextDep = + this.prevDep = + this.nextSub = + this.prevSub = + this.prevActiveLink = + void 0)); + } + } + class Xd { + constructor(e) { + ((this.computed = e), + (this.version = 0), + (this.activeLink = void 0), + (this.subs = void 0), + (this.map = void 0), + (this.key = void 0), + (this.sc = 0), + (this.__v_skip = !0)); + } + track(e) { + if (!Sd || !zd || Sd === this.computed) return; + let t = this.activeLink; + if (void 0 === t || t.sub !== Sd) + ((t = this.activeLink = new Wd(Sd, this)), + Sd.deps + ? ((t.prevDep = Sd.depsTail), + (Sd.depsTail.nextDep = t), + (Sd.depsTail = t)) + : (Sd.deps = Sd.depsTail = t), + Gd(t)); + else if (-1 === t.version && ((t.version = this.version), t.nextDep)) { + const e = t.nextDep; + ((e.prevDep = t.prevDep), + t.prevDep && (t.prevDep.nextDep = e), + (t.prevDep = Sd.depsTail), + (t.nextDep = void 0), + (Sd.depsTail.nextDep = t), + (Sd.depsTail = t), + Sd.deps === t && (Sd.deps = e)); + } + return t; + } + trigger(e) { + (this.version++, Hd++, this.notify(e)); + } + notify(e) { + Md(); + try { + 0; + for (let e = this.subs; e; e = e.prevSub) + e.sub.notify() && e.sub.dep.notify(); + } finally { + Nd(); + } + } + } + function Gd(e) { + if ((e.dep.sc++, 4 & e.sub.flags)) { + const t = e.dep.computed; + if (t && !e.dep.subs) { + t.flags |= 20; + for (let e = t.deps; e; e = e.nextDep) Gd(e); + } + const n = e.dep.subs; + (n !== e && ((e.prevSub = n), n && (n.nextSub = e)), (e.dep.subs = e)); + } + } + const Yd = new WeakMap(), + Kd = Symbol(""), + Jd = Symbol(""), + ep = Symbol(""); + function tp(e, t, n) { + if (zd && Sd) { + let t = Yd.get(e); + t || Yd.set(e, (t = new Map())); + let r = t.get(n); + (r || (t.set(n, (r = new Xd())), (r.map = t), (r.key = n)), r.track()); + } + } + function np(e, t, n, r, o, a) { + const i = Yd.get(e); + if (!i) return void Hd++; + const s = (e) => { + e && e.trigger(); + }; + if ((Md(), "clear" === t)) i.forEach(s); + else { + const o = Du(e), + a = o && Vu(n); + if (o && "length" === n) { + const e = Number(r); + i.forEach((t, n) => { + ("length" === n || n === ep || (!Lu(n) && n >= e)) && s(t); + }); + } else + switch ( + ((void 0 !== n || i.has(void 0)) && s(i.get(n)), a && s(i.get(ep)), t) + ) { + case "add": + o ? a && s(i.get("length")) : (s(i.get(Kd)), Iu(e) && s(i.get(Jd))); + break; + case "delete": + o || (s(i.get(Kd)), Iu(e) && s(i.get(Jd))); + break; + case "set": + Iu(e) && s(i.get(Kd)); + } + } + Nd(); + } + function rp(e) { + const t = qp(e); + return t === e ? t : (tp(t, 0, ep), zp(e) ? t : t.map(Vp)); + } + function op(e) { + return (tp((e = qp(e)), 0, ep), e); + } + const ap = { + __proto__: null, + [Symbol.iterator]() { + return ip(this, Symbol.iterator, Vp); + }, + concat(...e) { + return rp(this).concat(...e.map((e) => (Du(e) ? rp(e) : e))); + }, + entries() { + return ip(this, "entries", (e) => ((e[1] = Vp(e[1])), e)); + }, + every(e, t) { + return lp(this, "every", e, t, void 0, arguments); + }, + filter(e, t) { + return lp(this, "filter", e, t, (e) => e.map(Vp), arguments); + }, + find(e, t) { + return lp(this, "find", e, t, Vp, arguments); + }, + findIndex(e, t) { + return lp(this, "findIndex", e, t, void 0, arguments); + }, + findLast(e, t) { + return lp(this, "findLast", e, t, Vp, arguments); + }, + findLastIndex(e, t) { + return lp(this, "findLastIndex", e, t, void 0, arguments); + }, + forEach(e, t) { + return lp(this, "forEach", e, t, void 0, arguments); + }, + includes(...e) { + return up(this, "includes", e); + }, + indexOf(...e) { + return up(this, "indexOf", e); + }, + join(e) { + return rp(this).join(e); + }, + lastIndexOf(...e) { + return up(this, "lastIndexOf", e); + }, + map(e, t) { + return lp(this, "map", e, t, void 0, arguments); + }, + pop() { + return dp(this, "pop"); + }, + push(...e) { + return dp(this, "push", e); + }, + reduce(e, ...t) { + return cp(this, "reduce", e, t); + }, + reduceRight(e, ...t) { + return cp(this, "reduceRight", e, t); + }, + shift() { + return dp(this, "shift"); + }, + some(e, t) { + return lp(this, "some", e, t, void 0, arguments); + }, + splice(...e) { + return dp(this, "splice", e); + }, + toReversed() { + return rp(this).toReversed(); + }, + toSorted(e) { + return rp(this).toSorted(e); + }, + toSpliced(...e) { + return rp(this).toSpliced(...e); + }, + unshift(...e) { + return dp(this, "unshift", e); + }, + values() { + return ip(this, "values", Vp); + }, + }; + function ip(e, t, n) { + const r = op(e), + o = r[t](); + return ( + r === e || + zp(e) || + ((o._next = o.next), + (o.next = () => { + const e = o._next(); + return (e.value && (e.value = n(e.value)), e); + })), + o + ); + } + const sp = Array.prototype; + function lp(e, t, n, r, o, a) { + const i = op(e), + s = i !== e && !zp(e), + l = i[t]; + if (l !== sp[t]) { + const t = l.apply(e, a); + return s ? Vp(t) : t; + } + let c = n; + i !== e && + (s + ? (c = function (t, r) { + return n.call(this, Vp(t), r, e); + }) + : n.length > 2 && + (c = function (t, r) { + return n.call(this, t, r, e); + })); + const u = l.call(i, c, r); + return s && o ? o(u) : u; + } + function cp(e, t, n, r) { + const o = op(e); + let a = n; + return ( + o !== e && + (zp(e) + ? n.length > 3 && + (a = function (t, r, o) { + return n.call(this, t, r, o, e); + }) + : (a = function (t, r, o) { + return n.call(this, t, Vp(r), o, e); + })), + o[t](a, ...r) + ); + } + function up(e, t, n) { + const r = qp(e); + tp(r, 0, ep); + const o = r[t](...n); + return (-1 !== o && !1 !== o) || !Qp(n[0]) + ? o + : ((n[0] = qp(n[0])), r[t](...n)); + } + function dp(e, t, n = []) { + (qd(), Md()); + const r = qp(e)[t].apply(e, n); + return (Nd(), Vd(), r); + } + const pp = wu("__proto__,__v_isRef,__isVue"), + fp = new Set( + Object.getOwnPropertyNames(Symbol) + .filter((e) => "arguments" !== e && "caller" !== e) + .map((e) => Symbol[e]) + .filter(Lu), + ); + function hp(e) { + Lu(e) || (e = String(e)); + const t = qp(this); + return (tp(t, 0, e), t.hasOwnProperty(e)); + } + class mp { + constructor(e = !1, t = !1) { + ((this._isReadonly = e), (this._isShallow = t)); + } + get(e, t, n) { + if ("__v_skip" === t) return e.__v_skip; + const r = this._isReadonly, + o = this._isShallow; + if ("__v_isReactive" === t) return !r; + if ("__v_isReadonly" === t) return r; + if ("__v_isShallow" === t) return o; + if ("__v_raw" === t) + return n === (r ? (o ? Mp : Ip) : o ? Dp : Pp).get(e) || + Object.getPrototypeOf(e) === Object.getPrototypeOf(n) + ? e + : void 0; + const a = Du(e); + if (!r) { + let e; + if (a && (e = ap[t])) return e; + if ("hasOwnProperty" === t) return hp; + } + const i = Reflect.get(e, t, Hp(e) ? e : n); + return (Lu(t) ? fp.has(t) : pp(t)) + ? i + : (r || tp(e, 0, t), + o + ? i + : Hp(i) + ? a && Vu(t) + ? i + : i.value + : Uu(i) + ? r + ? jp(i) + : Np(i) + : i); + } + } + class gp extends mp { + constructor(e = !1) { + super(!1, e); + } + set(e, t, n, r) { + let o = e[t]; + if (!this._isShallow) { + const t = Fp(o); + if ( + (zp(n) || Fp(n) || ((o = qp(o)), (n = qp(n))), + !Du(e) && Hp(o) && !Hp(n)) + ) + return (t || (o.value = n), !0); + } + const a = Du(e) && Vu(t) ? Number(t) < e.length : Pu(e, t), + i = Reflect.set(e, t, n, Hp(e) ? e : r); + return ( + e === qp(r) && + (a ? ed(n, o) && np(e, "set", t, n) : np(e, "add", t, n)), + i + ); + } + deleteProperty(e, t) { + const n = Pu(e, t); + e[t]; + const r = Reflect.deleteProperty(e, t); + return (r && n && np(e, "delete", t, void 0), r); + } + has(e, t) { + const n = Reflect.has(e, t); + return ((Lu(t) && fp.has(t)) || tp(e, 0, t), n); + } + ownKeys(e) { + return (tp(e, 0, Du(e) ? "length" : Kd), Reflect.ownKeys(e)); + } + } + class vp extends mp { + constructor(e = !1) { + super(!0, e); + } + set(e, t) { + return !0; + } + deleteProperty(e, t) { + return !0; + } + } + const bp = new gp(), + yp = new vp(), + Op = new gp(!0), + wp = new vp(!0), + xp = (e) => e, + kp = (e) => Reflect.getPrototypeOf(e); + function Sp(e) { + return function (...t) { + return "delete" !== e && ("clear" === e ? void 0 : this); + }; + } + function _p(e, t) { + const n = { + get(n) { + const r = this.__v_raw, + o = qp(r), + a = qp(n); + e || (ed(n, a) && tp(o, 0, n), tp(o, 0, a)); + const { has: i } = kp(o), + s = t ? xp : e ? Zp : Vp; + return i.call(o, n) + ? s(r.get(n)) + : i.call(o, a) + ? s(r.get(a)) + : void (r !== o && r.get(n)); + }, + get size() { + const t = this.__v_raw; + return (!e && tp(qp(t), 0, Kd), t.size); + }, + has(t) { + const n = this.__v_raw, + r = qp(n), + o = qp(t); + return ( + e || (ed(t, o) && tp(r, 0, t), tp(r, 0, o)), + t === o ? n.has(t) : n.has(t) || n.has(o) + ); + }, + forEach(n, r) { + const o = this, + a = o.__v_raw, + i = qp(a), + s = t ? xp : e ? Zp : Vp; + return ( + !e && tp(i, 0, Kd), + a.forEach((e, t) => n.call(r, s(e), s(t), o)) + ); + }, + }; + Au( + n, + e + ? { + add: Sp("add"), + set: Sp("set"), + delete: Sp("delete"), + clear: Sp("clear"), + } + : { + add(e) { + t || zp(e) || Fp(e) || (e = qp(e)); + const n = qp(this); + return ( + kp(n).has.call(n, e) || (n.add(e), np(n, "add", e, e)), + this + ); + }, + set(e, n) { + t || zp(n) || Fp(n) || (n = qp(n)); + const r = qp(this), + { has: o, get: a } = kp(r); + let i = o.call(r, e); + i || ((e = qp(e)), (i = o.call(r, e))); + const s = a.call(r, e); + return ( + r.set(e, n), + i ? ed(n, s) && np(r, "set", e, n) : np(r, "add", e, n), + this + ); + }, + delete(e) { + const t = qp(this), + { has: n, get: r } = kp(t); + let o = n.call(t, e); + (o || ((e = qp(e)), (o = n.call(t, e))), r && r.call(t, e)); + const a = t.delete(e); + return (o && np(t, "delete", e, void 0), a); + }, + clear() { + const e = qp(this), + t = 0 !== e.size, + n = e.clear(); + return (t && np(e, "clear", void 0, void 0), n); + }, + }, + ); + return ( + ["keys", "values", "entries", Symbol.iterator].forEach((r) => { + n[r] = (function (e, t, n) { + return function (...r) { + const o = this.__v_raw, + a = qp(o), + i = Iu(a), + s = "entries" === e || (e === Symbol.iterator && i), + l = "keys" === e && i, + c = o[e](...r), + u = n ? xp : t ? Zp : Vp; + return ( + !t && tp(a, 0, l ? Jd : Kd), + { + next() { + const { value: e, done: t } = c.next(); + return t + ? { + value: e, + done: t, + } + : { value: s ? [u(e[0]), u(e[1])] : u(e), done: t }; + }, + [Symbol.iterator]() { + return this; + }, + } + ); + }; + })(r, e, t); + }), + n + ); + } + function Ep(e, t) { + const n = _p(e, t); + return (t, r, o) => + "__v_isReactive" === r + ? !e + : "__v_isReadonly" === r + ? e + : "__v_raw" === r + ? t + : Reflect.get(Pu(n, r) && r in t ? n : t, r, o); + } + const Tp = { get: Ep(!1, !1) }, + Ap = { get: Ep(!1, !0) }, + $p = { get: Ep(!0, !1) }, + Cp = { + get: Ep(!0, !0), + }, + Pp = new WeakMap(), + Dp = new WeakMap(), + Ip = new WeakMap(), + Mp = new WeakMap(); + function Np(e) { + return Fp(e) ? e : Up(e, !1, bp, Tp, Pp); + } + function Rp(e) { + return Up(e, !1, Op, Ap, Dp); + } + function jp(e) { + return Up(e, !0, yp, $p, Ip); + } + function Lp(e) { + return Up(e, !0, wp, Cp, Mp); + } + function Up(e, t, n, r, o) { + if (!Uu(e)) return e; + if (e.__v_raw && (!t || !e.__v_isReactive)) return e; + const a = + (i = e).__v_skip || !Object.isExtensible(i) + ? 0 + : (function (e) { + switch (e) { + case "Object": + case "Array": + return 1; + case "Map": + case "Set": + case "WeakMap": + case "WeakSet": + return 2; + default: + return 0; + } + })(Qu(i)); + var i; + if (0 === a) return e; + const s = o.get(e); + if (s) return s; + const l = new Proxy(e, 2 === a ? r : n); + return (o.set(e, l), l); + } + function Bp(e) { + return Fp(e) ? Bp(e.__v_raw) : !(!e || !e.__v_isReactive); + } + function Fp(e) { + return !(!e || !e.__v_isReadonly); + } + function zp(e) { + return !(!e || !e.__v_isShallow); + } + function Qp(e) { + return !!e && !!e.__v_raw; + } + function qp(e) { + const t = e && e.__v_raw; + return t ? qp(t) : e; + } + const Vp = (e) => (Uu(e) ? Np(e) : e), + Zp = (e) => (Uu(e) ? jp(e) : e); + function Hp(e) { + return !!e && !0 === e.__v_isRef; + } + function Wp(e) { + return Gp(e, !1); + } + function Xp(e) { + return Gp(e, !0); + } + function Gp(e, t) { + return Hp(e) ? e : new Yp(e, t); + } + class Yp { + constructor(e, t) { + ((this.dep = new Xd()), + (this.__v_isRef = !0), + (this.__v_isShallow = !1), + (this._rawValue = t ? e : qp(e)), + (this._value = t ? e : Vp(e)), + (this.__v_isShallow = t)); + } + get value() { + return (this.dep.track(), this._value); + } + set value(e) { + const t = this._rawValue, + n = this.__v_isShallow || zp(e) || Fp(e); + ((e = n ? e : qp(e)), + ed(e, t) && + ((this._rawValue = e), + (this._value = n ? e : Vp(e)), + this.dep.trigger())); + } + } + function Kp(e) { + return Hp(e) ? e.value : e; + } + function Jp(e) { + return Ru(e) ? e() : Kp(e); + } + const ef = { + get: (e, t, n) => ("__v_raw" === t ? e : Kp(Reflect.get(e, t, n))), + set: (e, t, n, r) => { + const o = e[t]; + return Hp(o) && !Hp(n) ? ((o.value = n), !0) : Reflect.set(e, t, n, r); + }, + }; + function tf(e) { + return Bp(e) ? e : new Proxy(e, ef); + } + class nf { + constructor(e) { + ((this.__v_isRef = !0), (this._value = void 0)); + const t = (this.dep = new Xd()), + { get: n, set: r } = e(t.track.bind(t), t.trigger.bind(t)); + ((this._get = n), (this._set = r)); + } + get value() { + return (this._value = this._get()); + } + set value(e) { + this._set(e); + } + } + function rf(e) { + return new nf(e); + } + class of { + constructor(e, t, n) { + ((this._object = e), + (this._key = t), + (this._defaultValue = n), + (this.__v_isRef = !0), + (this._value = void 0)); + } + get value() { + const e = this._object[this._key]; + return (this._value = void 0 === e ? this._defaultValue : e); + } + set value(e) { + this._object[this._key] = e; + } + get dep() { + return (function (e, t) { + const n = Yd.get(e); + return n && n.get(t); + })(qp(this._object), this._key); + } + } + class af { + constructor(e) { + ((this._getter = e), + (this.__v_isRef = !0), + (this.__v_isReadonly = !0), + (this._value = void 0)); + } + get value() { + return (this._value = this._getter()); + } + } + function sf(e, t, n) { + return Hp(e) + ? e + : Ru(e) + ? new af(e) + : Uu(e) && arguments.length > 1 + ? (function (e, t, n) { + const r = e[t]; + return Hp(r) ? r : new of(e, t, n); + })(e, t, n) + : Wp(e); + } + class lf { + constructor(e, t, n) { + ((this.fn = e), + (this.setter = t), + (this._value = void 0), + (this.dep = new Xd(this)), + (this.__v_isRef = !0), + (this.deps = void 0), + (this.depsTail = void 0), + (this.flags = 16), + (this.globalVersion = Hd - 1), + (this.next = void 0), + (this.effect = this), + (this.__v_isReadonly = !t), + (this.isSSR = n)); + } + notify() { + if (((this.flags |= 16), !(8 & this.flags) && Sd !== this)) + return (Id(this, !0), !0); + } + get value() { + const e = this.dep.track(); + return (Ud(this), e && (e.version = this.dep.version), this._value); + } + set value(e) { + this.setter && this.setter(e); + } + } + const cf = {}, + uf = new WeakMap(); + let df; + function pf(e, t, n = xu) { + const { + immediate: r, + deep: o, + once: a, + scheduler: i, + augmentJob: s, + call: l, + } = n, + c = (e) => (o ? e : zp(e) || !1 === o || 0 === o ? ff(e, 1) : ff(e)); + let u, + d, + p, + f, + h = !1, + m = !1; + if ( + (Hp(e) + ? ((d = () => e.value), (h = zp(e))) + : Bp(e) + ? ((d = () => c(e)), (h = !0)) + : Du(e) + ? ((m = !0), + (h = e.some((e) => Bp(e) || zp(e))), + (d = () => + e.map((e) => + Hp(e) + ? e.value + : Bp(e) + ? c(e) + : Ru(e) + ? l + ? l(e, 2) + : e() + : void 0, + ))) + : (d = Ru(e) + ? t + ? l + ? () => l(e, 2) + : e + : () => { + if (p) { + qd(); + try { + p(); + } finally { + Vd(); + } + } + const t = df; + df = u; + try { + return l ? l(e, 3, [f]) : e(f); + } finally { + df = t; + } + } + : Su), + t && o) + ) { + const e = d, + t = !0 === o ? 1 / 0 : o; + d = () => ff(e(), t); + } + const g = Ed(), + v = () => { + (u.stop(), g && g.active && $u(g.effects, u)); + }; + if (a && t) { + const e = t; + t = (...t) => { + (e(...t), v()); + }; + } + let b = m ? new Array(e.length).fill(cf) : cf; + const y = (e) => { + if (1 & u.flags && (u.dirty || e)) + if (t) { + const e = u.run(); + if (o || h || (m ? e.some((e, t) => ed(e, b[t])) : ed(e, b))) { + p && p(); + const n = df; + df = u; + try { + const n = [e, b === cf ? void 0 : m && b[0] === cf ? [] : b, f]; + ((b = e), l ? l(t, 3, n) : t(...n)); + } finally { + df = n; + } + } + } else u.run(); + }; + return ( + s && s(y), + (u = new $d(d)), + (u.scheduler = i ? () => i(y, !1) : y), + (f = (e) => + (function (e, t = !1, n = df) { + if (n) { + let t = uf.get(n); + (t || uf.set(n, (t = [])), t.push(e)); + } + })(e, !1, u)), + (p = u.onStop = + () => { + const e = uf.get(u); + if (e) { + if (l) l(e, 4); + else for (const t of e) t(); + uf.delete(u); + } + }), + t ? (r ? y(!0) : (b = u.run())) : i ? i(y.bind(null, !0), !0) : u.run(), + (v.pause = u.pause.bind(u)), + (v.resume = u.resume.bind(u)), + (v.stop = v), + v + ); + } + function ff(e, t = 1 / 0, n) { + if (t <= 0 || !Uu(e) || e.__v_skip) return e; + if (((n = n || new Map()).get(e) || 0) >= t) return e; + if ((n.set(e, t), t--, Hp(e))) ff(e.value, t, n); + else if (Du(e)) for (let r = 0; r < e.length; r++) ff(e[r], t, n); + else if (Mu(e) || Iu(e)) + e.forEach((e) => { + ff(e, t, n); + }); + else if (qu(e)) { + for (const r in e) ff(e[r], t, n); + for (const r of Object.getOwnPropertySymbols(e)) + Object.prototype.propertyIsEnumerable.call(e, r) && ff(e[r], t, n); + } + return e; + } + /** + * @vue/runtime-core v3.5.21 + * (c) 2018-present Yuxi (Evan) You and Vue contributors + * @license MIT + **/ function hf(e, t, n, r) { + try { + return r ? e(...r) : e(); + } catch (o) { + gf(o, t, n); + } + } + function mf(e, t, n, r) { + if (Ru(e)) { + const o = hf(e, t, n, r); + return ( + o && + Bu(o) && + o.catch((e) => { + gf(e, t, n); + }), + o + ); + } + if (Du(e)) { + const o = []; + for (let a = 0; a < e.length; a++) o.push(mf(e[a], t, n, r)); + return o; + } + } + function gf(e, t, n, r = !0) { + t && t.vnode; + const { errorHandler: o, throwUnhandledErrorInProduction: a } = + (t && t.appContext.config) || xu; + if (t) { + let r = t.parent; + const a = t.proxy, + i = `https://vuejs.org/error-reference/#runtime-${n}`; + for (; r; ) { + const t = r.ec; + if (t) + for (let n = 0; n < t.length; n++) if (!1 === t[n](e, a, i)) return; + r = r.parent; + } + if (o) return (qd(), hf(o, null, 10, [e, a, i]), void Vd()); + } + !(function (e, t, n, r = !0, o = !1) { + if (o) throw e; + console.error(e); + })(e, 0, 0, r, a); + } + const vf = []; + let bf = -1; + const yf = []; + let Of = null, + wf = 0; + const xf = Promise.resolve(); + let kf = null; + function Sf(e) { + const t = kf || xf; + return e ? t.then(this ? e.bind(this) : e) : t; + } + function _f(e) { + if (!(1 & e.flags)) { + const t = Cf(e), + n = vf[vf.length - 1]; + (!n || (!(2 & e.flags) && t >= Cf(n)) + ? vf.push(e) + : vf.splice( + (function (e) { + let t = bf + 1, + n = vf.length; + for (; t < n; ) { + const r = (t + n) >>> 1, + o = vf[r], + a = Cf(o); + a < e || (a === e && 2 & o.flags) ? (t = r + 1) : (n = r); + } + return t; + })(t), + 0, + e, + ), + (e.flags |= 1), + Ef()); + } + } + function Ef() { + kf || (kf = xf.then(Pf)); + } + function Tf(e) { + (Du(e) + ? yf.push(...e) + : Of && -1 === e.id + ? Of.splice(wf + 1, 0, e) + : 1 & e.flags || (yf.push(e), (e.flags |= 1)), + Ef()); + } + function Af(e, t, n = bf + 1) { + for (; n < vf.length; n++) { + const t = vf[n]; + if (t && 2 & t.flags) { + if (e && t.id !== e.uid) continue; + (vf.splice(n, 1), + n--, + 4 & t.flags && (t.flags &= -2), + t(), + 4 & t.flags || (t.flags &= -2)); + } + } + } + function $f(e) { + if (yf.length) { + const e = [...new Set(yf)].sort((e, t) => Cf(e) - Cf(t)); + if (((yf.length = 0), Of)) return void Of.push(...e); + for (Of = e, wf = 0; wf < Of.length; wf++) { + const e = Of[wf]; + (4 & e.flags && (e.flags &= -2), 8 & e.flags || e(), (e.flags &= -2)); + } + ((Of = null), (wf = 0)); + } + } + const Cf = (e) => (null == e.id ? (2 & e.flags ? -1 : 1 / 0) : e.id); + function Pf(e) { + try { + for (bf = 0; bf < vf.length; bf++) { + const e = vf[bf]; + !e || + 8 & e.flags || + (4 & e.flags && (e.flags &= -2), + hf(e, e.i, e.i ? 15 : 14), + 4 & e.flags || (e.flags &= -2)); + } + } finally { + for (; bf < vf.length; bf++) { + const e = vf[bf]; + e && (e.flags &= -2); + } + ((bf = -1), + (vf.length = 0), + $f(), + (kf = null), + (vf.length || yf.length) && Pf()); + } + } + let Df = null, + If = null; + function Mf(e) { + const t = Df; + return ((Df = e), (If = (e && e.type.__scopeId) || null), t); + } + function Nf(e, t = Df, n) { + if (!t) return e; + if (e._n) return e; + const r = (...n) => { + r._d && hg(-1); + const o = Mf(t); + let a; + try { + a = e(...n); + } finally { + (Mf(o), r._d && hg(1)); + } + return a; + }; + return ((r._n = !0), (r._c = !0), (r._d = !0), r); + } + function Rf(e, t) { + if (null === Df) return e; + const n = Wg(Df), + r = e.dirs || (e.dirs = []); + for (let o = 0; o < t.length; o++) { + let [e, a, i, s = xu] = t[o]; + e && + (Ru(e) && (e = { mounted: e, updated: e }), + e.deep && ff(a), + r.push({ + dir: e, + instance: n, + value: a, + oldValue: void 0, + arg: i, + modifiers: s, + })); + } + return e; + } + function jf(e, t, n, r) { + const o = e.dirs, + a = t && t.dirs; + for (let i = 0; i < o.length; i++) { + const s = o[i]; + a && (s.oldValue = a[i].value); + let l = s.dir[r]; + l && (qd(), mf(l, n, 8, [e.el, s, e, t]), Vd()); + } + } + const Lf = Symbol("_vte"), + Uf = (e) => e.__isTeleport, + Bf = (e) => e && (e.disabled || "" === e.disabled), + Ff = (e) => e && (e.defer || "" === e.defer), + zf = (e) => "undefined" != typeof SVGElement && e instanceof SVGElement, + Qf = (e) => + "function" == typeof MathMLElement && e instanceof MathMLElement, + qf = (e, t) => { + const n = e && e.to; + if (ju(n)) { + if (t) { + return t(n); + } + return null; + } + return n; + }, + Vf = { + name: "Teleport", + __isTeleport: !0, + process(e, t, n, r, o, a, i, s, l, c) { + const { + mc: u, + pc: d, + pbc: p, + o: { insert: f, querySelector: h, createText: m, createComment: g }, + } = c, + v = Bf(t.props); + let { shapeFlag: b, children: y, dynamicChildren: O } = t; + if (null == e) { + const e = (t.el = m("")), + c = (t.anchor = m("")); + (f(e, n, r), f(c, n, r)); + const d = (e, t) => { + 16 & b && + (o && o.isCE && (o.ce._teleportTarget = e), + u(y, e, t, o, a, i, s, l)); + }, + p = () => { + const e = (t.target = qf(t.props, h)), + n = Xf(e, t, m, f); + e && + ("svg" !== i && zf(e) + ? (i = "svg") + : "mathml" !== i && Qf(e) && (i = "mathml"), + v || (d(e, n), Wf(t, !1))); + }; + (v && (d(n, c), Wf(t, !0)), + Ff(t.props) + ? ((t.el.__isMounted = !1), + Nm(() => { + (p(), delete t.el.__isMounted); + }, a)) + : p()); + } else { + if (Ff(t.props) && !1 === e.el.__isMounted) + return void Nm(() => { + Vf.process(e, t, n, r, o, a, i, s, l, c); + }, a); + ((t.el = e.el), (t.targetStart = e.targetStart)); + const u = (t.anchor = e.anchor), + f = (t.target = e.target), + m = (t.targetAnchor = e.targetAnchor), + g = Bf(e.props), + b = g ? n : f, + y = g ? u : m; + if ( + ("svg" === i || zf(f) + ? (i = "svg") + : ("mathml" === i || Qf(f)) && (i = "mathml"), + O + ? (p(e.dynamicChildren, O, b, o, a, i, s), Um(e, t, !0)) + : l || d(e, t, b, y, o, a, i, s, !1), + v) + ) + g + ? t.props && + e.props && + t.props.to !== e.props.to && + (t.props.to = e.props.to) + : Zf(t, n, u, c, 1); + else if ((t.props && t.props.to) !== (e.props && e.props.to)) { + const e = (t.target = qf(t.props, h)); + e && Zf(t, e, null, c, 0); + } else g && Zf(t, f, m, c, 1); + Wf(t, v); + } + }, + remove(e, t, n, { um: r, o: { remove: o } }, a) { + const { + shapeFlag: i, + children: s, + anchor: l, + targetStart: c, + targetAnchor: u, + target: d, + props: p, + } = e; + if ((d && (o(c), o(u)), a && o(l), 16 & i)) { + const e = a || !Bf(p); + for (let o = 0; o < s.length; o++) { + const a = s[o]; + r(a, t, n, e, !!a.dynamicChildren); + } + } + }, + move: Zf, + hydrate: function ( + e, + t, + n, + r, + o, + a, + { + o: { + nextSibling: i, + parentNode: s, + querySelector: l, + insert: c, + createText: u, + }, + }, + d, + ) { + function p(e, t, l, c) { + ((t.anchor = d(i(e), t, s(e), n, r, o, a)), + (t.targetStart = l), + (t.targetAnchor = c)); + } + const f = (t.target = qf(t.props, l)), + h = Bf(t.props); + if (f) { + const s = f._lpa || f.firstChild; + if (16 & t.shapeFlag) + if (h) p(e, t, s, s && i(s)); + else { + t.anchor = i(e); + let l = s; + for (; l; ) { + if (l && 8 === l.nodeType) + if ("teleport start anchor" === l.data) t.targetStart = l; + else if ("teleport anchor" === l.data) { + ((t.targetAnchor = l), + (f._lpa = t.targetAnchor && i(t.targetAnchor))); + break; + } + l = i(l); + } + (t.targetAnchor || Xf(f, t, u, c), + d(s && i(s), t, f, n, r, o, a)); + } + Wf(t, h); + } else h && 16 & t.shapeFlag && p(e, t, e, i(e)); + return t.anchor && i(t.anchor); + }, + }; + function Zf(e, t, n, { o: { insert: r }, m: o }, a = 2) { + 0 === a && r(e.targetAnchor, t, n); + const { el: i, anchor: s, shapeFlag: l, children: c, props: u } = e, + d = 2 === a; + if ((d && r(i, t, n), (!d || Bf(u)) && 16 & l)) + for (let p = 0; p < c.length; p++) o(c[p], t, n, 2); + d && r(s, t, n); + } + const Hf = Vf; + function Wf(e, t) { + const n = e.ctx; + if (n && n.ut) { + let r, o; + for ( + t + ? ((r = e.el), (o = e.anchor)) + : ((r = e.targetStart), (o = e.targetAnchor)); + r && r !== o; + ) + (1 === r.nodeType && r.setAttribute("data-v-owner", n.uid), + (r = r.nextSibling)); + n.ut(); + } + } + function Xf(e, t, n, r) { + const o = (t.targetStart = n("")), + a = (t.targetAnchor = n("")); + return ((o[Lf] = a), e && (r(o, e), r(a, e)), a); + } + const Gf = Symbol("_leaveCb"), + Yf = Symbol("_enterCb"); + const Kf = [Function, Array], + Jf = { + mode: String, + appear: Boolean, + persisted: Boolean, + onBeforeEnter: Kf, + onEnter: Kf, + onAfterEnter: Kf, + onEnterCancelled: Kf, + onBeforeLeave: Kf, + onLeave: Kf, + onAfterLeave: Kf, + onLeaveCancelled: Kf, + onBeforeAppear: Kf, + onAppear: Kf, + onAfterAppear: Kf, + onAppearCancelled: Kf, + }, + eh = (e) => { + const t = e.subTree; + return t.component ? eh(t.component) : t; + }; + function th(e) { + let t = e[0]; + if (e.length > 1) + for (const n of e) + if (n.type !== lg) { + t = n; + break; + } + return t; + } + const nh = { + name: "BaseTransition", + props: Jf, + setup(e, { slots: t }) { + const n = jg(), + r = (function () { + const e = { + isMounted: !1, + isLeaving: !1, + isUnmounting: !1, + leavingVNodes: new Map(), + }; + return ( + _h(() => { + e.isMounted = !0; + }), + Ah(() => { + e.isUnmounting = !0; + }), + e + ); + })(); + return () => { + const o = t.default && lh(t.default(), !0); + if (!o || !o.length) return; + const a = th(o), + i = qp(e), + { mode: s } = i; + if (r.isLeaving) return ah(a); + const l = ih(a); + if (!l) return ah(a); + let c = oh(l, i, r, n, (e) => (c = e)); + l.type !== lg && sh(l, c); + let u = n.subTree && ih(n.subTree); + if (u && u.type !== lg && !yg(u, l) && eh(n).type !== lg) { + let e = oh(u, i, r, n); + if ((sh(u, e), "out-in" === s && l.type !== lg)) + return ( + (r.isLeaving = !0), + (e.afterLeave = () => { + ((r.isLeaving = !1), + 8 & n.job.flags || n.update(), + delete e.afterLeave, + (u = void 0)); + }), + ah(a) + ); + "in-out" === s && l.type !== lg + ? (e.delayLeave = (e, t, n) => { + ((rh(r, u)[String(u.key)] = u), + (e[Gf] = () => { + (t(), + (e[Gf] = void 0), + delete c.delayedLeave, + (u = void 0)); + }), + (c.delayedLeave = () => { + (n(), delete c.delayedLeave, (u = void 0)); + })); + }) + : (u = void 0); + } else u && (u = void 0); + return a; + }; + }, + }; + function rh(e, t) { + const { leavingVNodes: n } = e; + let r = n.get(t.type); + return (r || ((r = Object.create(null)), n.set(t.type, r)), r); + } + function oh(e, t, n, r, o) { + const { + appear: a, + mode: i, + persisted: s = !1, + onBeforeEnter: l, + onEnter: c, + onAfterEnter: u, + onEnterCancelled: d, + onBeforeLeave: p, + onLeave: f, + onAfterLeave: h, + onLeaveCancelled: m, + onBeforeAppear: g, + onAppear: v, + onAfterAppear: b, + onAppearCancelled: y, + } = t, + O = String(e.key), + w = rh(n, e), + x = (e, t) => { + e && mf(e, r, 9, t); + }, + k = (e, t) => { + const n = t[1]; + (x(e, t), + Du(e) ? e.every((e) => e.length <= 1) && n() : e.length <= 1 && n()); + }, + S = { + mode: i, + persisted: s, + beforeEnter(t) { + let r = l; + if (!n.isMounted) { + if (!a) return; + r = g || l; + } + t[Gf] && t[Gf](!0); + const o = w[O]; + (o && yg(e, o) && o.el[Gf] && o.el[Gf](), x(r, [t])); + }, + enter(e) { + let t = c, + r = u, + o = d; + if (!n.isMounted) { + if (!a) return; + ((t = v || c), (r = b || u), (o = y || d)); + } + let i = !1; + const s = (e[Yf] = (t) => { + i || + ((i = !0), + x(t ? o : r, [e]), + S.delayedLeave && S.delayedLeave(), + (e[Yf] = void 0)); + }); + t ? k(t, [e, s]) : s(); + }, + leave(t, r) { + const o = String(e.key); + if ((t[Yf] && t[Yf](!0), n.isUnmounting)) return r(); + x(p, [t]); + let a = !1; + const i = (t[Gf] = (n) => { + a || + ((a = !0), + r(), + x(n ? m : h, [t]), + (t[Gf] = void 0), + w[o] === e && delete w[o]); + }); + ((w[o] = e), f ? k(f, [t, i]) : i()); + }, + clone(e) { + const a = oh(e, t, n, r, o); + return (o && o(a), a); + }, + }; + return S; + } + function ah(e) { + if (vh(e)) return (((e = _g(e)).children = null), e); + } + function ih(e) { + if (!vh(e)) return Uf(e.type) && e.children ? th(e.children) : e; + if (e.component) return e.component.subTree; + const { shapeFlag: t, children: n } = e; + if (n) { + if (16 & t) return n[0]; + if (32 & t && Ru(n.default)) return n.default(); + } + } + function sh(e, t) { + 6 & e.shapeFlag && e.component + ? ((e.transition = t), sh(e.component.subTree, t)) + : 128 & e.shapeFlag + ? ((e.ssContent.transition = t.clone(e.ssContent)), + (e.ssFallback.transition = t.clone(e.ssFallback))) + : (e.transition = t); + } + function lh(e, t = !1, n) { + let r = [], + o = 0; + for (let a = 0; a < e.length; a++) { + let i = e[a]; + const s = + null == n ? i.key : String(n) + String(null != i.key ? i.key : a); + i.type === ig + ? (128 & i.patchFlag && o++, (r = r.concat(lh(i.children, t, s)))) + : (t || i.type !== lg) && r.push(null != s ? _g(i, { key: s }) : i); + } + if (o > 1) for (let a = 0; a < r.length; a++) r[a].patchFlag = -2; + return r; + } + function ch(e, t) { + return Ru(e) ? (() => Au({ name: e.name }, t, { setup: e }))() : e; + } + function uh() { + const e = jg(); + return e + ? (e.appContext.config.idPrefix || "v") + "-" + e.ids[0] + e.ids[1]++ + : ""; + } + function dh(e) { + e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0]; + } + function ph(e) { + const t = jg(), + n = Xp(null); + if (t) { + const r = t.refs === xu ? (t.refs = {}) : t.refs; + Object.defineProperty(r, e, { + enumerable: !0, + get: () => n.value, + set: (e) => (n.value = e), + }); + } + return n; + } + const fh = new WeakMap(); + function hh(e, t, n, r, o = !1) { + if (Du(e)) + return void e.forEach((e, a) => hh(e, t && (Du(t) ? t[a] : t), n, r, o)); + if (gh(r) && !o) + return void ( + 512 & r.shapeFlag && + r.type.__asyncResolved && + r.component.subTree.component && + hh(e, t, n, r.component.subTree) + ); + const a = 4 & r.shapeFlag ? Wg(r.component) : r.el, + i = o ? null : a, + { i: s, r: l } = e, + c = t && t.r, + u = s.refs === xu ? (s.refs = {}) : s.refs, + d = s.setupState, + p = qp(d), + f = d === xu ? _u : (e) => Pu(p, e); + if (null != c && c !== l) + if ((mh(t), ju(c))) ((u[c] = null), f(c) && (d[c] = null)); + else if (Hp(c)) { + c.value = null; + const e = t; + e.k && (u[e.k] = null); + } + if (Ru(l)) hf(l, s, 12, [i, u]); + else { + const t = ju(l), + r = Hp(l); + if (t || r) { + const s = () => { + if (e.f) { + const n = t ? (f(l) ? d[l] : u[l]) : l.value; + if (o) Du(n) && $u(n, a); + else if (Du(n)) n.includes(a) || n.push(a); + else if (t) ((u[l] = [a]), f(l) && (d[l] = u[l])); + else { + const t = [a]; + ((l.value = t), e.k && (u[e.k] = t)); + } + } else + t + ? ((u[l] = i), f(l) && (d[l] = i)) + : r && ((l.value = i), e.k && (u[e.k] = i)); + }; + if (i) { + const t = () => { + (s(), fh.delete(e)); + }; + ((t.id = -1), fh.set(e, t), Nm(t, n)); + } else (mh(e), s()); + } + } + } + function mh(e) { + const t = fh.get(e); + t && ((t.flags |= 8), fh.delete(e)); + } + (id().requestIdleCallback, id().cancelIdleCallback); + const gh = (e) => !!e.type.__asyncLoader, + vh = (e) => e.type.__isKeepAlive; + function bh(e, t) { + Oh(e, "a", t); + } + function yh(e, t) { + Oh(e, "da", t); + } + function Oh(e, t, n = Rg) { + const r = + e.__wdc || + (e.__wdc = () => { + let t = n; + for (; t; ) { + if (t.isDeactivated) return; + t = t.parent; + } + return e(); + }); + if ((xh(t, r, n), n)) { + let e = n.parent; + for (; e && e.parent; ) + (vh(e.parent.vnode) && wh(r, t, n, e), (e = e.parent)); + } + } + function wh(e, t, n, r) { + const o = xh(t, e, r, !0); + $h(() => { + $u(r[t], o); + }, n); + } + function xh(e, t, n = Rg, r = !1) { + if (n) { + const o = n[e] || (n[e] = []), + a = + t.__weh || + (t.__weh = (...r) => { + qd(); + const o = Bg(n), + a = mf(t, n, e, r); + return (o(), Vd(), a); + }); + return (r ? o.unshift(a) : o.push(a), a); + } + } + const kh = + (e) => + (t, n = Rg) => { + (Qg && "sp" !== e) || xh(e, (...e) => t(...e), n); + }, + Sh = kh("bm"), + _h = kh("m"), + Eh = kh("bu"), + Th = kh("u"), + Ah = kh("bum"), + $h = kh("um"), + Ch = kh("sp"), + Ph = kh("rtg"), + Dh = kh("rtc"); + function Ih(e, t = Rg) { + xh("ec", e, t); + } + const Mh = "components"; + function Nh(e, t) { + return Lh(Mh, e, !0, t) || e; + } + const Rh = Symbol.for("v-ndc"); + function jh(e) { + return ju(e) ? Lh(Mh, e, !1) || e : e || Rh; + } + function Lh(e, t, n = !0, r = !1) { + const o = Df || Rg; + if (o) { + const n = o.type; + { + const e = Xg(n, !1); + if (e && (e === t || e === Xu(t) || e === Ku(Xu(t)))) return n; + } + const a = Uh(o[e] || n[e], t) || Uh(o.appContext[e], t); + return !a && r ? n : a; + } + } + function Uh(e, t) { + return e && (e[t] || e[Xu(t)] || e[Ku(Xu(t))]); + } + function Bh(e, t, n, r) { + let o; + const a = n, + i = Du(e); + if (i || ju(e)) { + let n = !1, + r = !1; + (i && Bp(e) && ((n = !zp(e)), (r = Fp(e)), (e = op(e))), + (o = new Array(e.length))); + for (let i = 0, s = e.length; i < s; i++) + o[i] = t(n ? (r ? Zp(Vp(e[i])) : Vp(e[i])) : e[i], i, void 0, a); + } else if ("number" == typeof e) { + o = new Array(e); + for (let n = 0; n < e; n++) o[n] = t(n + 1, n, void 0, a); + } else if (Uu(e)) + if (e[Symbol.iterator]) o = Array.from(e, (e, n) => t(e, n, void 0, a)); + else { + const n = Object.keys(e); + o = new Array(n.length); + for (let r = 0, i = n.length; r < i; r++) { + const i = n[r]; + o[r] = t(e[i], i, r, a); + } + } + else o = []; + return o; + } + function Fh(e, t) { + for (let n = 0; n < t.length; n++) { + const r = t[n]; + if (Du(r)) for (let t = 0; t < r.length; t++) e[r[t].name] = r[t].fn; + else + r && + (e[r.name] = r.key + ? (...e) => { + const t = r.fn(...e); + return (t && (t.key = r.key), t); + } + : r.fn); + } + return e; + } + function zh(e, t, n = {}, r, o) { + if (Df.ce || (Df.parent && gh(Df.parent) && Df.parent.ce)) + return ( + "default" !== t && (n.name = t), + pg(), + vg(ig, null, [kg("slot", n, r && r())], 64) + ); + let a = e[t]; + (a && a._c && (a._d = !1), pg()); + const i = a && Qh(a(n)), + s = n.key || (i && i.key), + l = vg( + ig, + { + key: (s && !Lu(s) ? s : `_${t}`) + (!i && r ? "_fb" : ""), + }, + i || (r ? r() : []), + i && 1 === e._ ? 64 : -2, + ); + return ( + !o && l.scopeId && (l.slotScopeIds = [l.scopeId + "-s"]), + a && a._c && (a._d = !0), + l + ); + } + function Qh(e) { + return e.some( + (e) => !bg(e) || (e.type !== lg && !(e.type === ig && !Qh(e.children))), + ) + ? e + : null; + } + function qh(e, t) { + const n = {}; + for (const r in e) n[Ju(r)] = e[r]; + return n; + } + const Vh = (e) => (e ? (zg(e) ? Wg(e) : Vh(e.parent)) : null), + Zh = Au(Object.create(null), { + $: (e) => e, + $el: (e) => e.vnode.el, + $data: (e) => e.data, + $props: (e) => e.props, + $attrs: (e) => e.attrs, + $slots: (e) => e.slots, + $refs: (e) => e.refs, + $parent: (e) => Vh(e.parent), + $root: (e) => Vh(e.root), + $host: (e) => e.ce, + $emit: (e) => e.emit, + $options: (e) => om(e), + $forceUpdate: (e) => + e.f || + (e.f = () => { + _f(e.update); + }), + $nextTick: (e) => e.n || (e.n = Sf.bind(e.proxy)), + $watch: (e) => Hm.bind(e), + }), + Hh = (e, t) => e !== xu && !e.__isScriptSetup && Pu(e, t), + Wh = { + get({ _: e }, t) { + if ("__v_skip" === t) return !0; + const { + ctx: n, + setupState: r, + data: o, + props: a, + accessCache: i, + type: s, + appContext: l, + } = e; + let c; + if ("$" !== t[0]) { + const s = i[t]; + if (void 0 !== s) + switch (s) { + case 1: + return r[t]; + case 2: + return o[t]; + case 4: + return n[t]; + case 3: + return a[t]; + } + else { + if (Hh(r, t)) return ((i[t] = 1), r[t]); + if (o !== xu && Pu(o, t)) return ((i[t] = 2), o[t]); + if ((c = e.propsOptions[0]) && Pu(c, t)) return ((i[t] = 3), a[t]); + if (n !== xu && Pu(n, t)) return ((i[t] = 4), n[t]); + em && (i[t] = 0); + } + } + const u = Zh[t]; + let d, p; + return u + ? ("$attrs" === t && tp(e.attrs, 0, ""), u(e)) + : (d = s.__cssModules) && (d = d[t]) + ? d + : n !== xu && Pu(n, t) + ? ((i[t] = 4), n[t]) + : ((p = l.config.globalProperties), Pu(p, t) ? p[t] : void 0); + }, + set({ _: e }, t, n) { + const { data: r, setupState: o, ctx: a } = e; + return Hh(o, t) + ? ((o[t] = n), !0) + : r !== xu && Pu(r, t) + ? ((r[t] = n), !0) + : !Pu(e.props, t) && + ("$" !== t[0] || !(t.slice(1) in e)) && + ((a[t] = n), !0); + }, + has( + { + _: { + data: e, + setupState: t, + accessCache: n, + ctx: r, + appContext: o, + propsOptions: a, + type: i, + }, + }, + s, + ) { + let l, c; + return !!( + n[s] || + (e !== xu && "$" !== s[0] && Pu(e, s)) || + Hh(t, s) || + ((l = a[0]) && Pu(l, s)) || + Pu(r, s) || + Pu(Zh, s) || + Pu(o.config.globalProperties, s) || + ((c = i.__cssModules) && c[s]) + ); + }, + defineProperty(e, t, n) { + return ( + null != n.get + ? (e._.accessCache[t] = 0) + : Pu(n, "value") && this.set(e, t, n.value, null), + Reflect.defineProperty(e, t, n) + ); + }, + }; + function Xh() { + return Yh().slots; + } + function Gh() { + return Yh().attrs; + } + function Yh(e) { + const t = jg(); + return t.setupContext || (t.setupContext = Hg(t)); + } + function Kh(e) { + return Du(e) ? e.reduce((e, t) => ((e[t] = null), e), {}) : e; + } + function Jh(e, t) { + return e && t + ? Du(e) && Du(t) + ? e.concat(t) + : Au({}, Kh(e), Kh(t)) + : e || t; + } + let em = !0; + function tm(e) { + const t = om(e), + n = e.proxy, + r = e.ctx; + ((em = !1), t.beforeCreate && nm(t.beforeCreate, e, "bc")); + const { + data: o, + computed: a, + methods: i, + watch: s, + provide: l, + inject: c, + created: u, + beforeMount: d, + mounted: p, + beforeUpdate: f, + updated: h, + activated: m, + deactivated: g, + beforeDestroy: v, + beforeUnmount: b, + destroyed: y, + unmounted: O, + render: w, + renderTracked: x, + renderTriggered: k, + errorCaptured: S, + serverPrefetch: _, + expose: E, + inheritAttrs: T, + components: A, + directives: $, + filters: C, + } = t; + if ( + (c && + (function (e, t, n = Su) { + Du(e) && (e = lm(e)); + for (const r in e) { + const n = e[r]; + let o; + ((o = Uu(n) + ? "default" in n + ? vm(n.from || r, n.default, !0) + : vm(n.from || r) + : vm(n)), + Hp(o) + ? Object.defineProperty(t, r, { + enumerable: !0, + configurable: !0, + get: () => o.value, + set: (e) => (o.value = e), + }) + : (t[r] = o)); + } + })(c, r, null), + i) + ) + for (const D in i) { + const e = i[D]; + Ru(e) && (r[D] = e.bind(n)); + } + if (o) { + const t = o.call(n, n); + Uu(t) && (e.data = Np(t)); + } + if (((em = !0), a)) + for (const D in a) { + const e = a[D], + t = Ru(e) ? e.bind(n, n) : Ru(e.get) ? e.get.bind(n, n) : Su, + o = !Ru(e) && Ru(e.set) ? e.set.bind(n) : Su, + i = Gg({ + get: t, + set: o, + }); + Object.defineProperty(r, D, { + enumerable: !0, + configurable: !0, + get: () => i.value, + set: (e) => (i.value = e), + }); + } + if (s) for (const D in s) rm(s[D], r, n, D); + if (l) { + const e = Ru(l) ? l.call(n) : l; + Reflect.ownKeys(e).forEach((t) => { + gm(t, e[t]); + }); + } + function P(e, t) { + Du(t) ? t.forEach((t) => e(t.bind(n))) : t && e(t.bind(n)); + } + if ( + (u && nm(u, e, "c"), + P(Sh, d), + P(_h, p), + P(Eh, f), + P(Th, h), + P(bh, m), + P(yh, g), + P(Ih, S), + P(Dh, x), + P(Ph, k), + P(Ah, b), + P($h, O), + P(Ch, _), + Du(E)) + ) + if (E.length) { + const t = e.exposed || (e.exposed = {}); + E.forEach((e) => { + Object.defineProperty(t, e, { + get: () => n[e], + set: (t) => (n[e] = t), + enumerable: !0, + }); + }); + } else e.exposed || (e.exposed = {}); + (w && e.render === Su && (e.render = w), + null != T && (e.inheritAttrs = T), + A && (e.components = A), + $ && (e.directives = $), + _ && dh(e)); + } + function nm(e, t, n) { + mf(Du(e) ? e.map((e) => e.bind(t.proxy)) : e.bind(t.proxy), t, n); + } + function rm(e, t, n, r) { + let o = r.includes(".") ? Wm(n, r) : () => n[r]; + if (ju(e)) { + const n = t[e]; + Ru(n) && Vm(o, n); + } else if (Ru(e)) Vm(o, e.bind(n)); + else if (Uu(e)) + if (Du(e)) e.forEach((e) => rm(e, t, n, r)); + else { + const r = Ru(e.handler) ? e.handler.bind(n) : t[e.handler]; + Ru(r) && Vm(o, r, e); + } + } + function om(e) { + const t = e.type, + { mixins: n, extends: r } = t, + { + mixins: o, + optionsCache: a, + config: { optionMergeStrategies: i }, + } = e.appContext, + s = a.get(t); + let l; + return ( + s + ? (l = s) + : o.length || n || r + ? ((l = {}), + o.length && o.forEach((e) => am(l, e, i, !0)), + am(l, t, i)) + : (l = t), + Uu(t) && a.set(t, l), + l + ); + } + function am(e, t, n, r = !1) { + const { mixins: o, extends: a } = t; + (a && am(e, a, n, !0), o && o.forEach((t) => am(e, t, n, !0))); + for (const i in t) + if (r && "expose" === i); + else { + const r = im[i] || (n && n[i]); + e[i] = r ? r(e[i], t[i]) : t[i]; + } + return e; + } + const im = { + data: sm, + props: dm, + emits: dm, + methods: um, + computed: um, + beforeCreate: cm, + created: cm, + beforeMount: cm, + mounted: cm, + beforeUpdate: cm, + updated: cm, + beforeDestroy: cm, + beforeUnmount: cm, + destroyed: cm, + unmounted: cm, + activated: cm, + deactivated: cm, + errorCaptured: cm, + serverPrefetch: cm, + components: um, + directives: um, + watch: function (e, t) { + if (!e) return t; + if (!t) return e; + const n = Au(Object.create(null), e); + for (const r in t) n[r] = cm(e[r], t[r]); + return n; + }, + provide: sm, + inject: function (e, t) { + return um(lm(e), lm(t)); + }, + }; + function sm(e, t) { + return t + ? e + ? function () { + return Au( + Ru(e) ? e.call(this, this) : e, + Ru(t) ? t.call(this, this) : t, + ); + } + : t + : e; + } + function lm(e) { + if (Du(e)) { + const t = {}; + for (let n = 0; n < e.length; n++) t[e[n]] = e[n]; + return t; + } + return e; + } + function cm(e, t) { + return e ? [...new Set([].concat(e, t))] : t; + } + function um(e, t) { + return e ? Au(Object.create(null), e, t) : t; + } + function dm(e, t) { + return e + ? Du(e) && Du(t) + ? [...new Set([...e, ...t])] + : Au(Object.create(null), Kh(e), Kh(null != t ? t : {})) + : t; + } + function pm() { + return { + app: null, + config: { + isNativeTag: _u, + performance: !1, + globalProperties: {}, + optionMergeStrategies: {}, + errorHandler: void 0, + warnHandler: void 0, + compilerOptions: {}, + }, + mixins: [], + components: {}, + directives: {}, + provides: Object.create(null), + optionsCache: new WeakMap(), + propsCache: new WeakMap(), + emitsCache: new WeakMap(), + }; + } + let fm = 0; + function hm(e, t) { + return function (t, n = null) { + (Ru(t) || (t = Au({}, t)), null == n || Uu(n) || (n = null)); + const r = pm(), + o = new WeakSet(), + a = []; + let i = !1; + const s = (r.app = { + _uid: fm++, + _component: t, + _props: n, + _container: null, + _context: r, + _instance: null, + version: Kg, + get config() { + return r.config; + }, + set config(e) {}, + use: (e, ...t) => ( + o.has(e) || + (e && Ru(e.install) + ? (o.add(e), e.install(s, ...t)) + : Ru(e) && (o.add(e), e(s, ...t))), + s + ), + mixin: (e) => (r.mixins.includes(e) || r.mixins.push(e), s), + component: (e, t) => (t ? ((r.components[e] = t), s) : r.components[e]), + directive: (e, t) => (t ? ((r.directives[e] = t), s) : r.directives[e]), + mount(o, a, l) { + if (!i) { + const a = s._ceVNode || kg(t, n); + return ( + (a.appContext = r), + !0 === l ? (l = "svg") : !1 === l && (l = void 0), + e(a, o, l), + (i = !0), + (s._container = o), + (o.__vue_app__ = s), + Wg(a.component) + ); + } + }, + onUnmount(e) { + a.push(e); + }, + unmount() { + i && + (mf(a, s._instance, 16), + e(null, s._container), + delete s._container.__vue_app__); + }, + provide: (e, t) => ((r.provides[e] = t), s), + runWithContext(e) { + const t = mm; + mm = s; + try { + return e(); + } finally { + mm = t; + } + }, + }); + return s; + }; + } + let mm = null; + function gm(e, t) { + if (Rg) { + let n = Rg.provides; + const r = Rg.parent && Rg.parent.provides; + (r === n && (n = Rg.provides = Object.create(r)), (n[e] = t)); + } else; + } + function vm(e, t, n = !1) { + const r = jg(); + if (r || mm) { + let o = mm + ? mm._context.provides + : r + ? null == r.parent || r.ce + ? r.vnode.appContext && r.vnode.appContext.provides + : r.parent.provides + : void 0; + if (o && e in o) return o[e]; + if (arguments.length > 1) return n && Ru(t) ? t.call(r && r.proxy) : t; + } + } + function bm() { + return !(!jg() && !mm); + } + const ym = {}, + Om = () => Object.create(ym), + wm = (e) => Object.getPrototypeOf(e) === ym; + function xm(e, t, n, r) { + const [o, a] = e.propsOptions; + let i, + s = !1; + if (t) + for (let l in t) { + if (Zu(l)) continue; + const c = t[l]; + let u; + o && Pu(o, (u = Xu(l))) + ? a && a.includes(u) + ? ((i || (i = {}))[u] = c) + : (n[u] = c) + : eg(e.emitsOptions, l) || + (l in r && c === r[l]) || + ((r[l] = c), (s = !0)); + } + if (a) { + const t = qp(n), + r = i || xu; + for (let i = 0; i < a.length; i++) { + const s = a[i]; + n[s] = km(o, t, s, r[s], e, !Pu(r, s)); + } + } + return s; + } + function km(e, t, n, r, o, a) { + const i = e[n]; + if (null != i) { + const e = Pu(i, "default"); + if (e && void 0 === r) { + const e = i.default; + if (i.type !== Function && !i.skipFactory && Ru(e)) { + const { propsDefaults: a } = o; + if (n in a) r = a[n]; + else { + const i = Bg(o); + ((r = a[n] = e.call(null, t)), i()); + } + } else r = e; + o.ce && o.ce._setProp(n, r); + } + i[0] && + (a && !e ? (r = !1) : !i[1] || ("" !== r && r !== Yu(n)) || (r = !0)); + } + return r; + } + const Sm = new WeakMap(); + function _m(e, t, n = !1) { + const r = n ? Sm : t.propsCache, + o = r.get(e); + if (o) return o; + const a = e.props, + i = {}, + s = []; + let l = !1; + if (!Ru(e)) { + const r = (e) => { + l = !0; + const [n, r] = _m(e, t, !0); + (Au(i, n), r && s.push(...r)); + }; + (!n && t.mixins.length && t.mixins.forEach(r), + e.extends && r(e.extends), + e.mixins && e.mixins.forEach(r)); + } + if (!a && !l) return (Uu(e) && r.set(e, ku), ku); + if (Du(a)) + for (let u = 0; u < a.length; u++) { + const e = Xu(a[u]); + Em(e) && (i[e] = xu); + } + else if (a) + for (const u in a) { + const e = Xu(u); + if (Em(e)) { + const t = a[u], + n = (i[e] = Du(t) || Ru(t) ? { type: t } : Au({}, t)), + r = n.type; + let o = !1, + l = !0; + if (Du(r)) + for (let e = 0; e < r.length; ++e) { + const t = r[e], + n = Ru(t) && t.name; + if ("Boolean" === n) { + o = !0; + break; + } + "String" === n && (l = !1); + } + else o = Ru(r) && "Boolean" === r.name; + ((n[0] = o), (n[1] = l), (o || Pu(n, "default")) && s.push(e)); + } + } + const c = [i, s]; + return (Uu(e) && r.set(e, c), c); + } + function Em(e) { + return "$" !== e[0] && !Zu(e); + } + const Tm = (e) => "_" === e || "_ctx" === e || "$stable" === e, + Am = (e) => (Du(e) ? e.map($g) : [$g(e)]), + $m = (e, t, n) => { + if (t._n) return t; + const r = Nf((...e) => Am(t(...e)), n); + return ((r._c = !1), r); + }, + Cm = (e, t, n) => { + const r = e._ctx; + for (const o in e) { + if (Tm(o)) continue; + const n = e[o]; + if (Ru(n)) t[o] = $m(0, n, r); + else if (null != n) { + const e = Am(n); + t[o] = () => e; + } + } + }, + Pm = (e, t) => { + const n = Am(t); + e.slots.default = () => n; + }, + Dm = (e, t, n) => { + for (const r in t) (!n && Tm(r)) || (e[r] = t[r]); + }, + Im = (e, t, n) => { + const r = (e.slots = Om()); + if (32 & e.vnode.shapeFlag) { + const e = t._; + e ? (Dm(r, t, n), n && nd(r, "_", e, !0)) : Cm(t, r); + } else t && Pm(e, t); + }, + Mm = (e, t, n) => { + const { vnode: r, slots: o } = e; + let a = !0, + i = xu; + if (32 & r.shapeFlag) { + const e = t._; + (e + ? n && 1 === e + ? (a = !1) + : Dm(o, t, n) + : ((a = !t.$stable), Cm(t, o)), + (i = t)); + } else + t && + (Pm(e, t), + (i = { + default: 1, + })); + if (a) for (const s in o) Tm(s) || null != i[s] || delete o[s]; + }, + Nm = function (e, t) { + t && t.pendingBranch + ? Du(e) + ? t.effects.push(...e) + : t.effects.push(e) + : Tf(e); + }; + function Rm(e) { + return (function (e, t) { + id().__VUE__ = !0; + const { + insert: n, + remove: r, + patchProp: o, + createElement: a, + createText: i, + createComment: s, + setText: l, + setElementText: c, + parentNode: u, + nextSibling: d, + setScopeId: p = Su, + insertStaticContent: f, + } = e, + h = ( + e, + t, + n, + r = null, + o = null, + a = null, + i = void 0, + s = null, + l = !!t.dynamicChildren, + ) => { + if (e === t) return; + (e && !yg(e, t) && ((r = z(e)), j(e, o, a, !0), (e = null)), + -2 === t.patchFlag && ((l = !1), (t.dynamicChildren = null))); + const { type: c, ref: u, shapeFlag: d } = t; + switch (c) { + case sg: + m(e, t, n, r); + break; + case lg: + g(e, t, n, r); + break; + case cg: + null == e && v(t, n, r, i); + break; + case ig: + T(e, t, n, r, o, a, i, s, l); + break; + default: + 1 & d + ? O(e, t, n, r, o, a, i, s, l) + : 6 & d + ? A(e, t, n, r, o, a, i, s, l) + : (64 & d || 128 & d) && + c.process(e, t, n, r, o, a, i, s, l, V); + } + null != u && o + ? hh(u, e && e.ref, a, t || e, !t) + : null == u && e && null != e.ref && hh(e.ref, null, a, e, !0); + }, + m = (e, t, r, o) => { + if (null == e) n((t.el = i(t.children)), r, o); + else { + const n = (t.el = e.el); + t.children !== e.children && l(n, t.children); + } + }, + g = (e, t, r, o) => { + null == e ? n((t.el = s(t.children || "")), r, o) : (t.el = e.el); + }, + v = (e, t, n, r) => { + [e.el, e.anchor] = f(e.children, t, n, r, e.el, e.anchor); + }, + b = ({ el: e, anchor: t }, r, o) => { + let a; + for (; e && e !== t; ) ((a = d(e)), n(e, r, o), (e = a)); + n(t, r, o); + }, + y = ({ el: e, anchor: t }) => { + let n; + for (; e && e !== t; ) ((n = d(e)), r(e), (e = n)); + r(t); + }, + O = (e, t, n, r, o, a, i, s, l) => { + ("svg" === t.type ? (i = "svg") : "math" === t.type && (i = "mathml"), + null == e ? w(t, n, r, o, a, i, s, l) : S(e, t, o, a, i, s, l)); + }, + w = (e, t, r, i, s, l, u, d) => { + let p, f; + const { props: h, shapeFlag: m, transition: g, dirs: v } = e; + if ( + ((p = e.el = a(e.type, l, h && h.is, h)), + 8 & m + ? c(p, e.children) + : 16 & m && k(e.children, p, null, i, s, jm(e, l), u, d), + v && jf(e, null, i, "created"), + x(p, e, e.scopeId, u, i), + h) + ) { + for (const e in h) + "value" === e || Zu(e) || o(p, e, null, h[e], l, i); + ("value" in h && o(p, "value", null, h.value, l), + (f = h.onVnodeBeforeMount) && Ig(f, i, e)); + } + v && jf(e, null, i, "beforeMount"); + const b = (function (e, t) { + return (!e || (e && !e.pendingBranch)) && t && !t.persisted; + })(s, g); + (b && g.beforeEnter(p), + n(p, t, r), + ((f = h && h.onVnodeMounted) || b || v) && + Nm(() => { + (f && Ig(f, i, e), + b && g.enter(p), + v && jf(e, null, i, "mounted")); + }, s)); + }, + x = (e, t, n, r, o) => { + if ((n && p(e, n), r)) for (let a = 0; a < r.length; a++) p(e, r[a]); + if (o) { + let n = o.subTree; + if ( + t === n || + (ag(n.type) && (n.ssContent === t || n.ssFallback === t)) + ) { + const t = o.vnode; + x(e, t, t.scopeId, t.slotScopeIds, o.parent); + } + } + }, + k = (e, t, n, r, o, a, i, s, l = 0) => { + for (let c = l; c < e.length; c++) { + const l = (e[c] = s ? Cg(e[c]) : $g(e[c])); + h(null, l, t, n, r, o, a, i, s); + } + }, + S = (e, t, n, r, a, i, s) => { + const l = (t.el = e.el); + let { patchFlag: u, dynamicChildren: d, dirs: p } = t; + u |= 16 & e.patchFlag; + const f = e.props || xu, + h = t.props || xu; + let m; + if ( + (n && Lm(n, !1), + (m = h.onVnodeBeforeUpdate) && Ig(m, n, t, e), + p && jf(t, e, n, "beforeUpdate"), + n && Lm(n, !0), + ((f.innerHTML && null == h.innerHTML) || + (f.textContent && null == h.textContent)) && + c(l, ""), + d + ? _(e.dynamicChildren, d, l, n, r, jm(t, a), i) + : s || I(e, t, l, null, n, r, jm(t, a), i, !1), + u > 0) + ) { + if (16 & u) E(l, f, h, n, a); + else if ( + (2 & u && f.class !== h.class && o(l, "class", null, h.class, a), + 4 & u && o(l, "style", f.style, h.style, a), + 8 & u) + ) { + const e = t.dynamicProps; + for (let t = 0; t < e.length; t++) { + const r = e[t], + i = f[r], + s = h[r]; + (s === i && "value" !== r) || o(l, r, i, s, a, n); + } + } + 1 & u && e.children !== t.children && c(l, t.children); + } else s || null != d || E(l, f, h, n, a); + ((m = h.onVnodeUpdated) || p) && + Nm(() => { + (m && Ig(m, n, t, e), p && jf(t, e, n, "updated")); + }, r); + }, + _ = (e, t, n, r, o, a, i) => { + for (let s = 0; s < t.length; s++) { + const l = e[s], + c = t[s], + d = + l.el && (l.type === ig || !yg(l, c) || 198 & l.shapeFlag) + ? u(l.el) + : n; + h(l, c, d, null, r, o, a, i, !0); + } + }, + E = (e, t, n, r, a) => { + if (t !== n) { + if (t !== xu) + for (const i in t) Zu(i) || i in n || o(e, i, t[i], null, a, r); + for (const i in n) { + if (Zu(i)) continue; + const s = n[i], + l = t[i]; + s !== l && "value" !== i && o(e, i, l, s, a, r); + } + "value" in n && o(e, "value", t.value, n.value, a); + } + }, + T = (e, t, r, o, a, s, l, c, u) => { + const d = (t.el = e ? e.el : i("")), + p = (t.anchor = e ? e.anchor : i("")); + let { patchFlag: f, dynamicChildren: h, slotScopeIds: m } = t; + (m && (c = c ? c.concat(m) : m), + null == e + ? (n(d, r, o), + n(p, r, o), + k(t.children || [], r, p, a, s, l, c, u)) + : f > 0 && 64 & f && h && e.dynamicChildren + ? (_(e.dynamicChildren, h, r, a, s, l, c), + (null != t.key || (a && t === a.subTree)) && Um(e, t, !0)) + : I(e, t, r, p, a, s, l, c, u)); + }, + A = (e, t, n, r, o, a, i, s, l) => { + ((t.slotScopeIds = s), + null == e + ? 512 & t.shapeFlag + ? o.ctx.activate(t, n, r, i, l) + : $(t, n, r, o, a, i, l) + : C(e, t, l)); + }, + $ = (e, t, n, r, o, a, i) => { + const s = (e.component = (function (e, t, n) { + const r = e.type, + o = (t ? t.appContext : e.appContext) || Mg, + a = { + uid: Ng++, + vnode: e, + type: r, + parent: t, + appContext: o, + root: null, + next: null, + subTree: null, + effect: null, + update: null, + job: null, + scope: new _d(!0), + render: null, + proxy: null, + exposed: null, + exposeProxy: null, + withProxy: null, + provides: t ? t.provides : Object.create(o.provides), + ids: t ? t.ids : ["", 0, 0], + accessCache: null, + renderCache: [], + components: null, + directives: null, + propsOptions: _m(r, o), + emitsOptions: Jm(r, o), + emit: null, + emitted: null, + propsDefaults: xu, + inheritAttrs: r.inheritAttrs, + ctx: xu, + data: xu, + props: xu, + attrs: xu, + slots: xu, + refs: xu, + setupState: xu, + setupContext: null, + suspense: n, + suspenseId: n ? n.pendingId : 0, + asyncDep: null, + asyncResolved: !1, + isMounted: !1, + isUnmounted: !1, + isDeactivated: !1, + bc: null, + c: null, + bm: null, + m: null, + bu: null, + u: null, + um: null, + bum: null, + da: null, + a: null, + rtg: null, + rtc: null, + ec: null, + sp: null, + }; + ((a.ctx = { _: a }), + (a.root = t ? t.root : a), + (a.emit = Ym.bind(null, a)), + e.ce && e.ce(a)); + return a; + })(e, r, o)); + if ( + (vh(e) && (s.ctx.renderer = V), + (function (e, t = !1, n = !1) { + t && Ug(t); + const { props: r, children: o } = e.vnode, + a = zg(e); + ((function (e, t, n, r = !1) { + const o = {}, + a = Om(); + ((e.propsDefaults = Object.create(null)), xm(e, t, o, a)); + for (const i in e.propsOptions[0]) i in o || (o[i] = void 0); + (n + ? (e.props = r ? o : Rp(o)) + : e.type.props + ? (e.props = o) + : (e.props = a), + (e.attrs = a)); + })(e, r, a, t), + Im(e, o, n || t)); + const i = a + ? (function (e, t) { + const n = e.type; + ((e.accessCache = Object.create(null)), + (e.proxy = new Proxy(e.ctx, Wh))); + const { setup: r } = n; + if (r) { + qd(); + const n = (e.setupContext = r.length > 1 ? Hg(e) : null), + o = Bg(e), + a = hf(r, e, 0, [e.props, n]), + i = Bu(a); + if ((Vd(), o(), (!i && !e.sp) || gh(e) || dh(e), i)) { + if ((a.then(Fg, Fg), t)) + return a + .then((t) => { + qg(e, t); + }) + .catch((t) => { + gf(t, e, 0); + }); + e.asyncDep = a; + } else qg(e, a); + } else Vg(e); + })(e, t) + : void 0; + t && Ug(!1); + })(s, !1, i), + s.asyncDep) + ) { + if ((o && o.registerDep(s, P, i), !e.el)) { + const r = (s.subTree = kg(lg)); + (g(null, r, t, n), (e.placeholder = r.el)); + } + } else P(s, e, t, n, o, a, i); + }, + C = (e, t, n) => { + const r = (t.component = e.component); + if ( + (function (e, t, n) { + const { props: r, children: o, component: a } = e, + { props: i, children: s, patchFlag: l } = t, + c = a.emitsOptions; + if (t.dirs || t.transition) return !0; + if (!(n && l >= 0)) + return ( + !((!o && !s) || (s && s.$stable)) || + (r !== i && (r ? !i || og(r, i, c) : !!i)) + ); + if (1024 & l) return !0; + if (16 & l) return r ? og(r, i, c) : !!i; + if (8 & l) { + const e = t.dynamicProps; + for (let t = 0; t < e.length; t++) { + const n = e[t]; + if (i[n] !== r[n] && !eg(c, n)) return !0; + } + } + return !1; + })(e, t, n) + ) { + if (r.asyncDep && !r.asyncResolved) return void D(r, t, n); + ((r.next = t), r.update()); + } else ((t.el = e.el), (r.vnode = t)); + }, + P = (e, t, n, r, o, a, i) => { + const s = () => { + if (e.isMounted) { + let { next: t, bu: n, u: r, parent: l, vnode: c } = e; + { + const n = Bm(e); + if (n) + return ( + t && ((t.el = c.el), D(e, t, i)), + void n.asyncDep.then(() => { + e.isUnmounted || s(); + }) + ); + } + let d, + p = t; + (Lm(e, !1), + t ? ((t.el = c.el), D(e, t, i)) : (t = c), + n && td(n), + (d = t.props && t.props.onVnodeBeforeUpdate) && Ig(d, l, t, c), + Lm(e, !0)); + const f = tg(e), + m = e.subTree; + ((e.subTree = f), + h(m, f, u(m.el), z(m), e, o, a), + (t.el = f.el), + null === p && + (function ({ vnode: e, parent: t }, n) { + for (; t; ) { + const r = t.subTree; + if ( + (r.suspense && + r.suspense.activeBranch === e && + (r.el = e.el), + r !== e) + ) + break; + (((e = t.vnode).el = n), (t = t.parent)); + } + })(e, f.el), + r && Nm(r, o), + (d = t.props && t.props.onVnodeUpdated) && + Nm(() => Ig(d, l, t, c), o)); + } else { + let i; + const { el: s, props: l } = t, + { bm: c, m: u, parent: d, root: p, type: f } = e, + m = gh(t); + (Lm(e, !1), + c && td(c), + !m && (i = l && l.onVnodeBeforeMount) && Ig(i, d, t), + Lm(e, !0)); + { + p.ce && + !1 !== p.ce._def.shadowRoot && + p.ce._injectChildStyle(f); + const i = (e.subTree = tg(e)); + (h(null, i, n, r, e, o, a), (t.el = i.el)); + } + if ((u && Nm(u, o), !m && (i = l && l.onVnodeMounted))) { + const e = t; + Nm(() => Ig(i, d, e), o); + } + ((256 & t.shapeFlag || + (d && gh(d.vnode) && 256 & d.vnode.shapeFlag)) && + e.a && + Nm(e.a, o), + (e.isMounted = !0), + (t = n = r = null)); + } + }; + e.scope.on(); + const l = (e.effect = new $d(s)); + e.scope.off(); + const c = (e.update = l.run.bind(l)), + d = (e.job = l.runIfDirty.bind(l)); + ((d.i = e), + (d.id = e.uid), + (l.scheduler = () => _f(d)), + Lm(e, !0), + c()); + }, + D = (e, t, n) => { + t.component = e; + const r = e.vnode.props; + ((e.vnode = t), + (e.next = null), + (function (e, t, n, r) { + const { + props: o, + attrs: a, + vnode: { patchFlag: i }, + } = e, + s = qp(o), + [l] = e.propsOptions; + let c = !1; + if (!(r || i > 0) || 16 & i) { + let r; + xm(e, t, o, a) && (c = !0); + for (const a in s) + (t && (Pu(t, a) || ((r = Yu(a)) !== a && Pu(t, r)))) || + (l + ? !n || + (void 0 === n[a] && void 0 === n[r]) || + (o[a] = km(l, s, a, void 0, e, !0)) + : delete o[a]); + if (a !== s) + for (const e in a) (t && Pu(t, e)) || (delete a[e], (c = !0)); + } else if (8 & i) { + const n = e.vnode.dynamicProps; + for (let r = 0; r < n.length; r++) { + let i = n[r]; + if (eg(e.emitsOptions, i)) continue; + const u = t[i]; + if (l) + if (Pu(a, i)) u !== a[i] && ((a[i] = u), (c = !0)); + else { + const t = Xu(i); + o[t] = km(l, s, t, u, e, !1); + } + else u !== a[i] && ((a[i] = u), (c = !0)); + } + } + c && np(e.attrs, "set", ""); + })(e, t.props, r, n), + Mm(e, t.children, n), + qd(), + Af(e), + Vd()); + }, + I = (e, t, n, r, o, a, i, s, l = !1) => { + const u = e && e.children, + d = e ? e.shapeFlag : 0, + p = t.children, + { patchFlag: f, shapeFlag: h } = t; + if (f > 0) { + if (128 & f) return void N(u, p, n, r, o, a, i, s, l); + if (256 & f) return void M(u, p, n, r, o, a, i, s, l); + } + 8 & h + ? (16 & d && F(u, o, a), p !== u && c(n, p)) + : 16 & d + ? 16 & h + ? N(u, p, n, r, o, a, i, s, l) + : F(u, o, a, !0) + : (8 & d && c(n, ""), 16 & h && k(p, n, r, o, a, i, s, l)); + }, + M = (e, t, n, r, o, a, i, s, l) => { + t = t || ku; + const c = (e = e || ku).length, + u = t.length, + d = Math.min(c, u); + let p; + for (p = 0; p < d; p++) { + const r = (t[p] = l ? Cg(t[p]) : $g(t[p])); + h(e[p], r, n, null, o, a, i, s, l); + } + c > u ? F(e, o, a, !0, !1, d) : k(t, n, r, o, a, i, s, l, d); + }, + N = (e, t, n, r, o, a, i, s, l) => { + let c = 0; + const u = t.length; + let d = e.length - 1, + p = u - 1; + for (; c <= d && c <= p; ) { + const r = e[c], + u = (t[c] = l ? Cg(t[c]) : $g(t[c])); + if (!yg(r, u)) break; + (h(r, u, n, null, o, a, i, s, l), c++); + } + for (; c <= d && c <= p; ) { + const r = e[d], + c = (t[p] = l ? Cg(t[p]) : $g(t[p])); + if (!yg(r, c)) break; + (h(r, c, n, null, o, a, i, s, l), d--, p--); + } + if (c > d) { + if (c <= p) { + const e = p + 1, + d = e < u ? t[e].el : r; + for (; c <= p; ) + (h(null, (t[c] = l ? Cg(t[c]) : $g(t[c])), n, d, o, a, i, s, l), + c++); + } + } else if (c > p) for (; c <= d; ) (j(e[c], o, a, !0), c++); + else { + const f = c, + m = c, + g = new Map(); + for (c = m; c <= p; c++) { + const e = (t[c] = l ? Cg(t[c]) : $g(t[c])); + null != e.key && g.set(e.key, c); + } + let v, + b = 0; + const y = p - m + 1; + let O = !1, + w = 0; + const x = new Array(y); + for (c = 0; c < y; c++) x[c] = 0; + for (c = f; c <= d; c++) { + const r = e[c]; + if (b >= y) { + j(r, o, a, !0); + continue; + } + let u; + if (null != r.key) u = g.get(r.key); + else + for (v = m; v <= p; v++) + if (0 === x[v - m] && yg(r, t[v])) { + u = v; + break; + } + void 0 === u + ? j(r, o, a, !0) + : ((x[u - m] = c + 1), + u >= w ? (w = u) : (O = !0), + h(r, t[u], n, null, o, a, i, s, l), + b++); + } + const k = O + ? (function (e) { + const t = e.slice(), + n = [0]; + let r, o, a, i, s; + const l = e.length; + for (r = 0; r < l; r++) { + const l = e[r]; + if (0 !== l) { + if (((o = n[n.length - 1]), e[o] < l)) { + ((t[r] = o), n.push(r)); + continue; + } + for (a = 0, i = n.length - 1; a < i; ) + ((s = (a + i) >> 1), + e[n[s]] < l ? (a = s + 1) : (i = s)); + l < e[n[a]] && (a > 0 && (t[r] = n[a - 1]), (n[a] = r)); + } + } + ((a = n.length), (i = n[a - 1])); + for (; a-- > 0; ) ((n[a] = i), (i = t[i])); + return n; + })(x) + : ku; + for (v = k.length - 1, c = y - 1; c >= 0; c--) { + const e = m + c, + d = t[e], + p = t[e + 1], + f = e + 1 < u ? p.el || p.placeholder : r; + 0 === x[c] + ? h(null, d, n, f, o, a, i, s, l) + : O && (v < 0 || c !== k[v] ? R(d, n, f, 2) : v--); + } + } + }, + R = (e, t, o, a, i = null) => { + const { + el: s, + type: l, + transition: c, + children: u, + shapeFlag: d, + } = e; + if (6 & d) return void R(e.component.subTree, t, o, a); + if (128 & d) return void e.suspense.move(t, o, a); + if (64 & d) return void l.move(e, t, o, V); + if (l === ig) { + n(s, t, o); + for (let e = 0; e < u.length; e++) R(u[e], t, o, a); + return void n(e.anchor, t, o); + } + if (l === cg) return void b(e, t, o); + if (2 !== a && 1 & d && c) + if (0 === a) + (c.beforeEnter(s), n(s, t, o), Nm(() => c.enter(s), i)); + else { + const { leave: a, delayLeave: i, afterLeave: l } = c, + u = () => { + e.ctx.isUnmounted ? r(s) : n(s, t, o); + }, + d = () => { + (s._isLeaving && s[Gf](!0), + a(s, () => { + (u(), l && l()); + })); + }; + i ? i(s, u, d) : d(); + } + else n(s, t, o); + }, + j = (e, t, n, r = !1, o = !1) => { + const { + type: a, + props: i, + ref: s, + children: l, + dynamicChildren: c, + shapeFlag: u, + patchFlag: d, + dirs: p, + cacheIndex: f, + } = e; + if ( + (-2 === d && (o = !1), + null != s && (qd(), hh(s, null, n, e, !0), Vd()), + null != f && (t.renderCache[f] = void 0), + 256 & u) + ) + return void t.ctx.deactivate(e); + const h = 1 & u && p, + m = !gh(e); + let g; + if ((m && (g = i && i.onVnodeBeforeUnmount) && Ig(g, t, e), 6 & u)) + B(e.component, n, r); + else { + if (128 & u) return void e.suspense.unmount(n, r); + (h && jf(e, null, t, "beforeUnmount"), + 64 & u + ? e.type.remove(e, t, n, V, r) + : c && !c.hasOnce && (a !== ig || (d > 0 && 64 & d)) + ? F(c, t, n, !1, !0) + : ((a === ig && 384 & d) || (!o && 16 & u)) && F(l, t, n), + r && L(e)); + } + ((m && (g = i && i.onVnodeUnmounted)) || h) && + Nm(() => { + (g && Ig(g, t, e), h && jf(e, null, t, "unmounted")); + }, n); + }, + L = (e) => { + const { type: t, el: n, anchor: o, transition: a } = e; + if (t === ig) return void U(n, o); + if (t === cg) return void y(e); + const i = () => { + (r(n), a && !a.persisted && a.afterLeave && a.afterLeave()); + }; + if (1 & e.shapeFlag && a && !a.persisted) { + const { leave: t, delayLeave: r } = a, + o = () => t(n, i); + r ? r(e.el, i, o) : o(); + } else i(); + }, + U = (e, t) => { + let n; + for (; e !== t; ) ((n = d(e)), r(e), (e = n)); + r(t); + }, + B = (e, t, n) => { + const { bum: r, scope: o, job: a, subTree: i, um: s, m: l, a: c } = e; + (Fm(l), + Fm(c), + r && td(r), + o.stop(), + a && ((a.flags |= 8), j(i, e, t, n)), + s && Nm(s, t), + Nm(() => { + e.isUnmounted = !0; + }, t)); + }, + F = (e, t, n, r = !1, o = !1, a = 0) => { + for (let i = a; i < e.length; i++) j(e[i], t, n, r, o); + }, + z = (e) => { + if (6 & e.shapeFlag) return z(e.component.subTree); + if (128 & e.shapeFlag) return e.suspense.next(); + const t = d(e.anchor || e.el), + n = t && t[Lf]; + return n ? d(n) : t; + }; + let Q = !1; + const q = (e, t, n) => { + (null == e + ? t._vnode && j(t._vnode, null, null, !0) + : h(t._vnode || null, e, t, null, null, null, n), + (t._vnode = e), + Q || ((Q = !0), Af(), $f(), (Q = !1))); + }, + V = { + p: h, + um: j, + m: R, + r: L, + mt: $, + mc: k, + pc: I, + pbc: _, + n: z, + o: e, + }; + let Z; + return { render: q, hydrate: Z, createApp: hm(q) }; + })(e); + } + function jm({ type: e, props: t }, n) { + return ("svg" === n && "foreignObject" === e) || + ("mathml" === n && + "annotation-xml" === e && + t && + t.encoding && + t.encoding.includes("html")) + ? void 0 + : n; + } + function Lm({ effect: e, job: t }, n) { + n ? ((e.flags |= 32), (t.flags |= 4)) : ((e.flags &= -33), (t.flags &= -5)); + } + function Um(e, t, n = !1) { + const r = e.children, + o = t.children; + if (Du(r) && Du(o)) + for (let a = 0; a < r.length; a++) { + const e = r[a]; + let t = o[a]; + (1 & t.shapeFlag && + !t.dynamicChildren && + ((t.patchFlag <= 0 || 32 === t.patchFlag) && + ((t = o[a] = Cg(o[a])), (t.el = e.el)), + n || -2 === t.patchFlag || Um(e, t)), + t.type === sg && -1 !== t.patchFlag && (t.el = e.el), + t.type !== lg || t.el || (t.el = e.el)); + } + } + function Bm(e) { + const t = e.subTree.component; + if (t) return t.asyncDep && !t.asyncResolved ? t : Bm(t); + } + function Fm(e) { + if (e) for (let t = 0; t < e.length; t++) e[t].flags |= 8; + } + const zm = Symbol.for("v-scx"), + Qm = () => vm(zm); + function qm(e, t) { + return Zm(e, null, t); + } + function Vm(e, t, n) { + return Zm(e, t, n); + } + function Zm(e, t, n = xu) { + const { immediate: r, deep: o, flush: a, once: i } = n, + s = Au({}, n), + l = (t && r) || (!t && "post" !== a); + let c; + if (Qg) + if ("sync" === a) { + const e = Qm(); + c = e.__watcherHandles || (e.__watcherHandles = []); + } else if (!l) { + const e = () => {}; + return ((e.stop = Su), (e.resume = Su), (e.pause = Su), e); + } + const u = Rg; + s.call = (e, t, n) => mf(e, u, t, n); + let d = !1; + ("post" === a + ? (s.scheduler = (e) => { + Nm(e, u && u.suspense); + }) + : "sync" !== a && + ((d = !0), + (s.scheduler = (e, t) => { + t ? e() : _f(e); + })), + (s.augmentJob = (e) => { + (t && (e.flags |= 4), + d && ((e.flags |= 2), u && ((e.id = u.uid), (e.i = u)))); + })); + const p = pf(e, t, s); + return (Qg && (c ? c.push(p) : l && p()), p); + } + function Hm(e, t, n) { + const r = this.proxy, + o = ju(e) ? (e.includes(".") ? Wm(r, e) : () => r[e]) : e.bind(r, r); + let a; + Ru(t) ? (a = t) : ((a = t.handler), (n = t)); + const i = Bg(this), + s = Zm(o, a.bind(r), n); + return (i(), s); + } + function Wm(e, t) { + const n = t.split("."); + return () => { + let t = e; + for (let e = 0; e < n.length && t; e++) t = t[n[e]]; + return t; + }; + } + function Xm(e, t, n = xu) { + const r = jg(), + o = Xu(t), + a = Yu(t), + i = Gm(e, o), + s = rf((i, s) => { + let l, + c, + u = xu; + return ( + Zm( + () => { + const t = e[o]; + ed(l, t) && ((l = t), s()); + }, + null, + { flush: "sync" }, + ), + { + get: () => (i(), n.get ? n.get(l) : l), + set(e) { + const i = n.set ? n.set(e) : e; + if (!(ed(i, l) || (u !== xu && ed(e, u)))) return; + const d = r.vnode.props; + ((d && + (t in d || o in d || a in d) && + (`onUpdate:${t}` in d || + `onUpdate:${o}` in d || + `onUpdate:${a}` in d)) || + ((l = e), s()), + r.emit(`update:${t}`, i), + ed(e, i) && ed(e, u) && !ed(i, c) && s(), + (u = e), + (c = i)); + }, + } + ); + }); + return ( + (s[Symbol.iterator] = () => { + let e = 0; + return { + next: () => + e < 2 ? { value: e++ ? i || xu : s, done: !1 } : { done: !0 }, + }; + }), + s + ); + } + const Gm = (e, t) => + "modelValue" === t || "model-value" === t + ? e.modelModifiers + : e[`${t}Modifiers`] || e[`${Xu(t)}Modifiers`] || e[`${Yu(t)}Modifiers`]; + function Ym(e, t, ...n) { + if (e.isUnmounted) return; + const r = e.vnode.props || xu; + let o = n; + const a = t.startsWith("update:"), + i = a && Gm(r, t.slice(7)); + let s; + i && + (i.trim && (o = n.map((e) => (ju(e) ? e.trim() : e))), + i.number && (o = n.map(rd))); + let l = r[(s = Ju(t))] || r[(s = Ju(Xu(t)))]; + (!l && a && (l = r[(s = Ju(Yu(t)))]), l && mf(l, e, 6, o)); + const c = r[s + "Once"]; + if (c) { + if (e.emitted) { + if (e.emitted[s]) return; + } else e.emitted = {}; + ((e.emitted[s] = !0), mf(c, e, 6, o)); + } + } + const Km = new WeakMap(); + function Jm(e, t, n = !1) { + const r = n ? Km : t.emitsCache, + o = r.get(e); + if (void 0 !== o) return o; + const a = e.emits; + let i = {}, + s = !1; + if (!Ru(e)) { + const r = (e) => { + const n = Jm(e, t, !0); + n && ((s = !0), Au(i, n)); + }; + (!n && t.mixins.length && t.mixins.forEach(r), + e.extends && r(e.extends), + e.mixins && e.mixins.forEach(r)); + } + return a || s + ? (Du(a) ? a.forEach((e) => (i[e] = null)) : Au(i, a), + Uu(e) && r.set(e, i), + i) + : (Uu(e) && r.set(e, null), null); + } + function eg(e, t) { + return ( + !(!e || !Eu(t)) && + ((t = t.slice(2).replace(/Once$/, "")), + Pu(e, t[0].toLowerCase() + t.slice(1)) || Pu(e, Yu(t)) || Pu(e, t)) + ); + } + function tg(e) { + const { + type: t, + vnode: n, + proxy: r, + withProxy: o, + propsOptions: [a], + slots: i, + attrs: s, + emit: l, + render: c, + renderCache: u, + props: d, + data: p, + setupState: f, + ctx: h, + inheritAttrs: m, + } = e, + g = Mf(e); + let v, b; + try { + if (4 & n.shapeFlag) { + const e = o || r, + t = e; + ((v = $g(c.call(t, e, u, d, f, p, h))), (b = s)); + } else { + const e = t; + (0, + (v = $g( + e.length > 1 ? e(d, { attrs: s, slots: i, emit: l }) : e(d, null), + )), + (b = t.props ? s : ng(s))); + } + } catch (O) { + ((ug.length = 0), gf(O, e, 1), (v = kg(lg))); + } + let y = v; + if (b && !1 !== m) { + const e = Object.keys(b), + { shapeFlag: t } = y; + e.length && + 7 & t && + (a && e.some(Tu) && (b = rg(b, a)), (y = _g(y, b, !1, !0))); + } + return ( + n.dirs && + ((y = _g(y, null, !1, !0)), + (y.dirs = y.dirs ? y.dirs.concat(n.dirs) : n.dirs)), + n.transition && sh(y, n.transition), + (v = y), + Mf(g), + v + ); + } + const ng = (e) => { + let t; + for (const n in e) + ("class" === n || "style" === n || Eu(n)) && + ((t || (t = {}))[n] = e[n]); + return t; + }, + rg = (e, t) => { + const n = {}; + for (const r in e) (Tu(r) && r.slice(9) in t) || (n[r] = e[r]); + return n; + }; + function og(e, t, n) { + const r = Object.keys(t); + if (r.length !== Object.keys(e).length) return !0; + for (let o = 0; o < r.length; o++) { + const a = r[o]; + if (t[a] !== e[a] && !eg(n, a)) return !0; + } + return !1; + } + const ag = (e) => e.__isSuspense; + const ig = Symbol.for("v-fgt"), + sg = Symbol.for("v-txt"), + lg = Symbol.for("v-cmt"), + cg = Symbol.for("v-stc"), + ug = []; + let dg = null; + function pg(e = !1) { + ug.push((dg = e ? null : [])); + } + let fg = 1; + function hg(e, t = !1) { + ((fg += e), e < 0 && dg && t && (dg.hasOnce = !0)); + } + function mg(e) { + return ( + (e.dynamicChildren = fg > 0 ? dg || ku : null), + ug.pop(), + (dg = ug[ug.length - 1] || null), + fg > 0 && dg && dg.push(e), + e + ); + } + function gg(e, t, n, r, o, a) { + return mg(xg(e, t, n, r, o, a, !0)); + } + function vg(e, t, n, r, o) { + return mg(kg(e, t, n, r, o, !0)); + } + function bg(e) { + return !!e && !0 === e.__v_isVNode; + } + function yg(e, t) { + return e.type === t.type && e.key === t.key; + } + const Og = ({ key: e }) => (null != e ? e : null), + wg = ({ ref: e, ref_key: t, ref_for: n }) => ( + "number" == typeof e && (e = "" + e), + null != e + ? ju(e) || Hp(e) || Ru(e) + ? { i: Df, r: e, k: t, f: !!n } + : e + : null + ); + function xg( + e, + t = null, + n = null, + r = 0, + o = null, + a = e === ig ? 0 : 1, + i = !1, + s = !1, + ) { + const l = { + __v_isVNode: !0, + __v_skip: !0, + type: e, + props: t, + key: t && Og(t), + ref: t && wg(t), + scopeId: If, + slotScopeIds: null, + children: n, + component: null, + suspense: null, + ssContent: null, + ssFallback: null, + dirs: null, + transition: null, + el: null, + anchor: null, + target: null, + targetStart: null, + targetAnchor: null, + staticCount: 0, + shapeFlag: a, + patchFlag: r, + dynamicProps: o, + dynamicChildren: null, + appContext: null, + ctx: Df, + }; + return ( + s + ? (Pg(l, n), 128 & a && e.normalize(l)) + : n && (l.shapeFlag |= ju(n) ? 8 : 16), + fg > 0 && + !i && + dg && + (l.patchFlag > 0 || 6 & a) && + 32 !== l.patchFlag && + dg.push(l), + l + ); + } + const kg = function (e, t = null, n = null, r = 0, o = null, a = !1) { + (e && e !== Rh) || (e = lg); + if (bg(e)) { + const r = _g(e, t, !0); + return ( + n && Pg(r, n), + fg > 0 && + !a && + dg && + (6 & r.shapeFlag ? (dg[dg.indexOf(e)] = r) : dg.push(r)), + (r.patchFlag = -2), + r + ); + } + ((i = e), Ru(i) && "__vccOpts" in i && (e = e.__vccOpts)); + var i; + if (t) { + t = Sg(t); + let { class: e, style: n } = t; + (e && !ju(e) && (t.class = pd(e)), + Uu(n) && (Qp(n) && !Du(n) && (n = Au({}, n)), (t.style = sd(n)))); + } + const s = ju(e) ? 1 : ag(e) ? 128 : Uf(e) ? 64 : Uu(e) ? 4 : Ru(e) ? 2 : 0; + return xg(e, t, n, r, o, s, a, !0); + }; + function Sg(e) { + return e ? (Qp(e) || wm(e) ? Au({}, e) : e) : null; + } + function _g(e, t, n = !1, r = !1) { + const { props: o, ref: a, patchFlag: i, children: s, transition: l } = e, + c = t ? Dg(o || {}, t) : o, + u = { + __v_isVNode: !0, + __v_skip: !0, + type: e.type, + props: c, + key: c && Og(c), + ref: + t && t.ref + ? n && a + ? Du(a) + ? a.concat(wg(t)) + : [a, wg(t)] + : wg(t) + : a, + scopeId: e.scopeId, + slotScopeIds: e.slotScopeIds, + children: s, + target: e.target, + targetStart: e.targetStart, + targetAnchor: e.targetAnchor, + staticCount: e.staticCount, + shapeFlag: e.shapeFlag, + patchFlag: t && e.type !== ig ? (-1 === i ? 16 : 16 | i) : i, + dynamicProps: e.dynamicProps, + dynamicChildren: e.dynamicChildren, + appContext: e.appContext, + dirs: e.dirs, + transition: l, + component: e.component, + suspense: e.suspense, + ssContent: e.ssContent && _g(e.ssContent), + ssFallback: e.ssFallback && _g(e.ssFallback), + placeholder: e.placeholder, + el: e.el, + anchor: e.anchor, + ctx: e.ctx, + ce: e.ce, + }; + return (l && r && sh(u, l.clone(u)), u); + } + function Eg(e = " ", t = 0) { + return kg(sg, null, e, t); + } + function Tg(e, t) { + const n = kg(cg, null, e); + return ((n.staticCount = t), n); + } + function Ag(e = "", t = !1) { + return t ? (pg(), vg(lg, null, e)) : kg(lg, null, e); + } + function $g(e) { + return null == e || "boolean" == typeof e + ? kg(lg) + : Du(e) + ? kg(ig, null, e.slice()) + : bg(e) + ? Cg(e) + : kg(sg, null, String(e)); + } + function Cg(e) { + return (null === e.el && -1 !== e.patchFlag) || e.memo ? e : _g(e); + } + function Pg(e, t) { + let n = 0; + const { shapeFlag: r } = e; + if (null == t) t = null; + else if (Du(t)) n = 16; + else if ("object" == typeof t) { + if (65 & r) { + const n = t.default; + return void ( + n && (n._c && (n._d = !1), Pg(e, n()), n._c && (n._d = !0)) + ); + } + { + n = 32; + const r = t._; + r || wm(t) + ? 3 === r && + Df && + (1 === Df.slots._ ? (t._ = 1) : ((t._ = 2), (e.patchFlag |= 1024))) + : (t._ctx = Df); + } + } else + Ru(t) + ? ((t = { default: t, _ctx: Df }), (n = 32)) + : ((t = String(t)), 64 & r ? ((n = 16), (t = [Eg(t)])) : (n = 8)); + ((e.children = t), (e.shapeFlag |= n)); + } + function Dg(...e) { + const t = {}; + for (let n = 0; n < e.length; n++) { + const r = e[n]; + for (const e in r) + if ("class" === e) + t.class !== r.class && (t.class = pd([t.class, r.class])); + else if ("style" === e) t.style = sd([t.style, r.style]); + else if (Eu(e)) { + const n = t[e], + o = r[e]; + !o || + n === o || + (Du(n) && n.includes(o)) || + (t[e] = n ? [].concat(n, o) : o); + } else "" !== e && (t[e] = r[e]); + } + return t; + } + function Ig(e, t, n, r = null) { + mf(e, t, 7, [n, r]); + } + const Mg = pm(); + let Ng = 0; + let Rg = null; + const jg = () => Rg || Df; + let Lg, Ug; + { + const e = id(), + t = (t, n) => { + let r; + return ( + (r = e[t]) || (r = e[t] = []), + r.push(n), + (e) => { + r.length > 1 ? r.forEach((t) => t(e)) : r[0](e); + } + ); + }; + ((Lg = t("__VUE_INSTANCE_SETTERS__", (e) => (Rg = e))), + (Ug = t("__VUE_SSR_SETTERS__", (e) => (Qg = e)))); + } + const Bg = (e) => { + const t = Rg; + return ( + Lg(e), + e.scope.on(), + () => { + (e.scope.off(), Lg(t)); + } + ); + }, + Fg = () => { + (Rg && Rg.scope.off(), Lg(null)); + }; + function zg(e) { + return 4 & e.vnode.shapeFlag; + } + let Qg = !1; + function qg(e, t, n) { + (Ru(t) + ? e.type.__ssrInlineRender + ? (e.ssrRender = t) + : (e.render = t) + : Uu(t) && (e.setupState = tf(t)), + Vg(e)); + } + function Vg(e, t, n) { + const r = e.type; + e.render || (e.render = r.render || Su); + { + const t = Bg(e); + qd(); + try { + tm(e); + } finally { + (Vd(), t()); + } + } + } + const Zg = { + get: (e, t) => (tp(e, 0, ""), e[t]), + }; + function Hg(e) { + const t = (t) => { + e.exposed = t || {}; + }; + return { + attrs: new Proxy(e.attrs, Zg), + slots: e.slots, + emit: e.emit, + expose: t, + }; + } + function Wg(e) { + return e.exposed + ? e.exposeProxy || + (e.exposeProxy = new Proxy( + tf( + ((t = e.exposed), + !Pu(t, "__v_skip") && + Object.isExtensible(t) && + nd(t, "__v_skip", !0), + t), + ), + { + get: (t, n) => (n in t ? t[n] : n in Zh ? Zh[n](e) : void 0), + has: (e, t) => t in e || t in Zh, + }, + )) + : e.proxy; + var t; + } + function Xg(e, t = !0) { + return Ru(e) ? e.displayName || e.name : e.name || (t && e.__name); + } + const Gg = (e, t) => { + const n = (function (e, t, n = !1) { + let r, o; + return (Ru(e) ? (r = e) : ((r = e.get), (o = e.set)), new lf(r, o, n)); + })(e, 0, Qg); + return n; + }; + function Yg(e, t, n) { + const r = (e, t, n) => { + hg(-1); + try { + return kg(e, t, n); + } finally { + hg(1); + } + }, + o = arguments.length; + return 2 === o + ? Uu(t) && !Du(t) + ? bg(t) + ? r(e, null, [t]) + : r(e, t) + : r(e, null, t) + : (o > 3 + ? (n = Array.prototype.slice.call(arguments, 2)) + : 3 === o && bg(n) && (n = [n]), + r(e, t, n)); + } + const Kg = "3.5.21"; + /** + * @vue/runtime-dom v3.5.21 + * (c) 2018-present Yuxi (Evan) You and Vue contributors + * @license MIT + **/ let Jg; + const ev = "undefined" != typeof window && window.trustedTypes; + if (ev) + try { + Jg = ev.createPolicy("vue", { createHTML: (e) => e }); + } catch (dy) {} + const tv = Jg ? (e) => Jg.createHTML(e) : (e) => e, + nv = "undefined" != typeof document ? document : null, + rv = nv && nv.createElement("template"), + ov = { + insert: (e, t, n) => { + t.insertBefore(e, n || null); + }, + remove: (e) => { + const t = e.parentNode; + t && t.removeChild(e); + }, + createElement: (e, t, n, r) => { + const o = + "svg" === t + ? nv.createElementNS("http://www.w3.org/2000/svg", e) + : "mathml" === t + ? nv.createElementNS("http://www.w3.org/1998/Math/MathML", e) + : n + ? nv.createElement(e, { + is: n, + }) + : nv.createElement(e); + return ( + "select" === e && + r && + null != r.multiple && + o.setAttribute("multiple", r.multiple), + o + ); + }, + createText: (e) => nv.createTextNode(e), + createComment: (e) => nv.createComment(e), + setText: (e, t) => { + e.nodeValue = t; + }, + setElementText: (e, t) => { + e.textContent = t; + }, + parentNode: (e) => e.parentNode, + nextSibling: (e) => e.nextSibling, + querySelector: (e) => nv.querySelector(e), + setScopeId(e, t) { + e.setAttribute(t, ""); + }, + insertStaticContent(e, t, n, r, o, a) { + const i = n ? n.previousSibling : t.lastChild; + if (o && (o === a || o.nextSibling)) + for ( + ; + t.insertBefore(o.cloneNode(!0), n), o !== a && (o = o.nextSibling); + ); + else { + rv.innerHTML = tv( + "svg" === r + ? `${e}` + : "mathml" === r + ? `${e}` + : e, + ); + const o = rv.content; + if ("svg" === r || "mathml" === r) { + const e = o.firstChild; + for (; e.firstChild; ) o.appendChild(e.firstChild); + o.removeChild(e); + } + t.insertBefore(o, n); + } + return [ + i ? i.nextSibling : t.firstChild, + n ? n.previousSibling : t.lastChild, + ]; + }, + }, + av = "transition", + iv = "animation", + sv = Symbol("_vtc"), + lv = { + name: String, + type: String, + css: { type: Boolean, default: !0 }, + duration: [String, Number, Object], + enterFromClass: String, + enterActiveClass: String, + enterToClass: String, + appearFromClass: String, + appearActiveClass: String, + appearToClass: String, + leaveFromClass: String, + leaveActiveClass: String, + leaveToClass: String, + }, + cv = Au({}, Jf, lv), + uv = (e) => ((e.displayName = "Transition"), (e.props = cv), e), + dv = uv((e, { slots: t }) => + Yg( + nh, + (function (e) { + const t = {}; + for (const A in e) A in lv || (t[A] = e[A]); + if (!1 === e.css) return t; + const { + name: n = "v", + type: r, + duration: o, + enterFromClass: a = `${n}-enter-from`, + enterActiveClass: i = `${n}-enter-active`, + enterToClass: s = `${n}-enter-to`, + appearFromClass: l = a, + appearActiveClass: c = i, + appearToClass: u = s, + leaveFromClass: d = `${n}-leave-from`, + leaveActiveClass: p = `${n}-leave-active`, + leaveToClass: f = `${n}-leave-to`, + } = e, + h = (function (e) { + if (null == e) return null; + if (Uu(e)) return [hv(e.enter), hv(e.leave)]; + { + const t = hv(e); + return [t, t]; + } + })(o), + m = h && h[0], + g = h && h[1], + { + onBeforeEnter: v, + onEnter: b, + onEnterCancelled: y, + onLeave: O, + onLeaveCancelled: w, + onBeforeAppear: x = v, + onAppear: k = b, + onAppearCancelled: S = y, + } = t, + _ = (e, t, n, r) => { + ((e._enterCancelled = r), + gv(e, t ? u : s), + gv(e, t ? c : i), + n && n()); + }, + E = (e, t) => { + ((e._isLeaving = !1), gv(e, d), gv(e, f), gv(e, p), t && t()); + }, + T = (e) => (t, n) => { + const o = e ? k : b, + i = () => _(t, e, n); + (pv(o, [t, i]), + vv(() => { + (gv(t, e ? l : a), mv(t, e ? u : s), fv(o) || yv(t, r, m, i)); + })); + }; + return Au(t, { + onBeforeEnter(e) { + (pv(v, [e]), mv(e, a), mv(e, i)); + }, + onBeforeAppear(e) { + (pv(x, [e]), mv(e, l), mv(e, c)); + }, + onEnter: T(!1), + onAppear: T(!0), + onLeave(e, t) { + e._isLeaving = !0; + const n = () => E(e, t); + (mv(e, d), + e._enterCancelled ? (mv(e, p), xv()) : (xv(), mv(e, p)), + vv(() => { + e._isLeaving && (gv(e, d), mv(e, f), fv(O) || yv(e, r, g, n)); + }), + pv(O, [e, n])); + }, + onEnterCancelled(e) { + (_(e, !1, void 0, !0), pv(y, [e])); + }, + onAppearCancelled(e) { + (_(e, !0, void 0, !0), pv(S, [e])); + }, + onLeaveCancelled(e) { + (E(e), pv(w, [e])); + }, + }); + })(e), + t, + ), + ), + pv = (e, t = []) => { + Du(e) ? e.forEach((e) => e(...t)) : e && e(...t); + }, + fv = (e) => !!e && (Du(e) ? e.some((e) => e.length > 1) : e.length > 1); + function hv(e) { + return od(e); + } + function mv(e, t) { + (t.split(/\s+/).forEach((t) => t && e.classList.add(t)), + (e[sv] || (e[sv] = new Set())).add(t)); + } + function gv(e, t) { + t.split(/\s+/).forEach((t) => t && e.classList.remove(t)); + const n = e[sv]; + n && (n.delete(t), n.size || (e[sv] = void 0)); + } + function vv(e) { + requestAnimationFrame(() => { + requestAnimationFrame(e); + }); + } + let bv = 0; + function yv(e, t, n, r) { + const o = (e._endId = ++bv), + a = () => { + o === e._endId && r(); + }; + if (null != n) return setTimeout(a, n); + const { + type: i, + timeout: s, + propCount: l, + } = (function (e, t) { + const n = window.getComputedStyle(e), + r = (e) => (n[e] || "").split(", "), + o = r(`${av}Delay`), + a = r(`${av}Duration`), + i = Ov(o, a), + s = r(`${iv}Delay`), + l = r(`${iv}Duration`), + c = Ov(s, l); + let u = null, + d = 0, + p = 0; + t === av + ? i > 0 && ((u = av), (d = i), (p = a.length)) + : t === iv + ? c > 0 && ((u = iv), (d = c), (p = l.length)) + : ((d = Math.max(i, c)), + (u = d > 0 ? (i > c ? av : iv) : null), + (p = u ? (u === av ? a.length : l.length) : 0)); + const f = + u === av && + /\b(?:transform|all)(?:,|$)/.test(r(`${av}Property`).toString()); + return { type: u, timeout: d, propCount: p, hasTransform: f }; + })(e, t); + if (!i) return r(); + const c = i + "end"; + let u = 0; + const d = () => { + (e.removeEventListener(c, p), a()); + }, + p = (t) => { + t.target === e && ++u >= l && d(); + }; + (setTimeout(() => { + u < l && d(); + }, s + 1), + e.addEventListener(c, p)); + } + function Ov(e, t) { + for (; e.length < t.length; ) e = e.concat(e); + return Math.max(...t.map((t, n) => wv(t) + wv(e[n]))); + } + function wv(e) { + return "auto" === e ? 0 : 1e3 * Number(e.slice(0, -1).replace(",", ".")); + } + function xv() { + return document.body.offsetHeight; + } + const kv = Symbol("_vod"), + Sv = Symbol("_vsh"), + _v = { + name: "show", + beforeMount(e, { value: t }, { transition: n }) { + ((e[kv] = "none" === e.style.display ? "" : e.style.display), + n && t ? n.beforeEnter(e) : Ev(e, t)); + }, + mounted(e, { value: t }, { transition: n }) { + n && t && n.enter(e); + }, + updated(e, { value: t, oldValue: n }, { transition: r }) { + !t != !n && + (r + ? t + ? (r.beforeEnter(e), Ev(e, !0), r.enter(e)) + : r.leave(e, () => { + Ev(e, !1); + }) + : Ev(e, t)); + }, + beforeUnmount(e, { value: t }) { + Ev(e, t); + }, + }; + function Ev(e, t) { + ((e.style.display = t ? e[kv] : "none"), (e[Sv] = !t)); + } + const Tv = Symbol(""); + function Av(e) { + const t = jg(); + if (!t) return; + const n = (t.ut = (n = e(t.proxy)) => { + Array.from( + document.querySelectorAll(`[data-v-owner="${t.uid}"]`), + ).forEach((e) => Cv(e, n)); + }), + r = () => { + const r = e(t.proxy); + (t.ce ? Cv(t.ce, r) : $v(t.subTree, r), n(r)); + }; + (Eh(() => { + Tf(r); + }), + _h(() => { + Vm(r, Su, { flush: "post" }); + const e = new MutationObserver(r); + (e.observe(t.subTree.el.parentNode, { childList: !0 }), + $h(() => e.disconnect())); + })); + } + function $v(e, t) { + if (128 & e.shapeFlag) { + const n = e.suspense; + ((e = n.activeBranch), + n.pendingBranch && + !n.isHydrating && + n.effects.push(() => { + $v(n.activeBranch, t); + })); + } + for (; e.component; ) e = e.component.subTree; + if (1 & e.shapeFlag && e.el) Cv(e.el, t); + else if (e.type === ig) e.children.forEach((e) => $v(e, t)); + else if (e.type === cg) { + let { el: n, anchor: r } = e; + for (; n && (Cv(n, t), n !== r); ) n = n.nextSibling; + } + } + function Cv(e, t) { + if (1 === e.nodeType) { + const n = e.style; + let r = ""; + for (const e in t) { + const o = xd(t[e]); + (n.setProperty(`--${e}`, o), (r += `--${e}: ${o};`)); + } + n[Tv] = r; + } + } + const Pv = /(?:^|;)\s*display\s*:/; + const Dv = /\s*!important$/; + function Iv(e, t, n) { + if (Du(n)) n.forEach((n) => Iv(e, t, n)); + else if ((null == n && (n = ""), t.startsWith("--"))) e.setProperty(t, n); + else { + const r = (function (e, t) { + const n = Nv[t]; + if (n) return n; + let r = Xu(t); + if ("filter" !== r && r in e) return (Nv[t] = r); + r = Ku(r); + for (let o = 0; o < Mv.length; o++) { + const n = Mv[o] + r; + if (n in e) return (Nv[t] = n); + } + return t; + })(e, t); + Dv.test(n) + ? e.setProperty(Yu(r), n.replace(Dv, ""), "important") + : (e[r] = n); + } + } + const Mv = ["Webkit", "Moz", "ms"], + Nv = {}; + const Rv = "http://www.w3.org/1999/xlink"; + function jv(e, t, n, r, o, a = hd(t)) { + r && t.startsWith("xlink:") + ? null == n + ? e.removeAttributeNS(Rv, t.slice(6, t.length)) + : e.setAttributeNS(Rv, t, n) + : null == n || (a && !md(n)) + ? e.removeAttribute(t) + : e.setAttribute(t, a ? "" : Lu(n) ? String(n) : n); + } + function Lv(e, t, n, r, o) { + if ("innerHTML" === t || "textContent" === t) + return void (null != n && (e[t] = "innerHTML" === t ? tv(n) : n)); + const a = e.tagName; + if ("value" === t && "PROGRESS" !== a && !a.includes("-")) { + const r = "OPTION" === a ? e.getAttribute("value") || "" : e.value, + o = null == n ? ("checkbox" === e.type ? "on" : "") : String(n); + return ( + (r === o && "_value" in e) || (e.value = o), + null == n && e.removeAttribute(t), + void (e._value = n) + ); + } + let i = !1; + if ("" === n || null == n) { + const r = typeof e[t]; + "boolean" === r + ? (n = md(n)) + : null == n && "string" === r + ? ((n = ""), (i = !0)) + : "number" === r && ((n = 0), (i = !0)); + } + try { + e[t] = n; + } catch (dy) {} + i && e.removeAttribute(o || t); + } + function Uv(e, t, n, r) { + e.addEventListener(t, n, r); + } + const Bv = Symbol("_vei"); + function Fv(e, t, n, r, o = null) { + const a = e[Bv] || (e[Bv] = {}), + i = a[t]; + if (r && i) i.value = r; + else { + const [n, s] = (function (e) { + let t; + if (zv.test(e)) { + let n; + for (t = {}; (n = e.match(zv)); ) + ((e = e.slice(0, e.length - n[0].length)), + (t[n[0].toLowerCase()] = !0)); + } + const n = ":" === e[2] ? e.slice(3) : Yu(e.slice(2)); + return [n, t]; + })(t); + if (r) { + const i = (a[t] = (function (e, t) { + const n = (e) => { + if (e._vts) { + if (e._vts <= n.attached) return; + } else e._vts = Date.now(); + mf( + (function (e, t) { + if (Du(t)) { + const n = e.stopImmediatePropagation; + return ( + (e.stopImmediatePropagation = () => { + (n.call(e), (e._stopped = !0)); + }), + t.map((e) => (t) => !t._stopped && e && e(t)) + ); + } + return t; + })(e, n.value), + t, + 5, + [e], + ); + }; + return ((n.value = e), (n.attached = Vv()), n); + })(r, o)); + Uv(e, n, i, s); + } else + i && + (!(function (e, t, n, r) { + e.removeEventListener(t, n, r); + })(e, n, i, s), + (a[t] = void 0)); + } + } + const zv = /(?:Once|Passive|Capture)$/; + let Qv = 0; + const qv = Promise.resolve(), + Vv = () => Qv || (qv.then(() => (Qv = 0)), (Qv = Date.now())); + const Zv = (e) => + 111 === e.charCodeAt(0) && + 110 === e.charCodeAt(1) && + e.charCodeAt(2) > 96 && + e.charCodeAt(2) < 123; + const Hv = (e) => { + const t = e.props["onUpdate:modelValue"] || !1; + return Du(t) ? (e) => td(t, e) : t; + }; + function Wv(e) { + e.target.composing = !0; + } + function Xv(e) { + const t = e.target; + t.composing && ((t.composing = !1), t.dispatchEvent(new Event("input"))); + } + const Gv = Symbol("_assign"), + Yv = { + created(e, { modifiers: { lazy: t, trim: n, number: r } }, o) { + e[Gv] = Hv(o); + const a = r || (o.props && "number" === o.props.type); + (Uv(e, t ? "change" : "input", (t) => { + if (t.target.composing) return; + let r = e.value; + (n && (r = r.trim()), a && (r = rd(r)), e[Gv](r)); + }), + n && + Uv(e, "change", () => { + e.value = e.value.trim(); + }), + t || + (Uv(e, "compositionstart", Wv), + Uv(e, "compositionend", Xv), + Uv(e, "change", Xv))); + }, + mounted(e, { value: t }) { + e.value = null == t ? "" : t; + }, + beforeUpdate( + e, + { value: t, oldValue: n, modifiers: { lazy: r, trim: o, number: a } }, + i, + ) { + if (((e[Gv] = Hv(i)), e.composing)) return; + const s = null == t ? "" : t; + if ( + ((!a && "number" !== e.type) || /^0\d/.test(e.value) + ? e.value + : rd(e.value)) !== s + ) { + if (document.activeElement === e && "range" !== e.type) { + if (r && t === n) return; + if (o && e.value.trim() === s) return; + } + e.value = s; + } + }, + }, + Kv = { + deep: !0, + created(e, t, n) { + ((e[Gv] = Hv(n)), + Uv(e, "change", () => { + const t = e._modelValue, + n = rb(e), + r = e.checked, + o = e[Gv]; + if (Du(t)) { + const e = vd(t, n), + a = -1 !== e; + if (r && !a) o(t.concat(n)); + else if (!r && a) { + const n = [...t]; + (n.splice(e, 1), o(n)); + } + } else if (Mu(t)) { + const e = new Set(t); + (r ? e.add(n) : e.delete(n), o(e)); + } else o(ob(e, r)); + })); + }, + mounted: Jv, + beforeUpdate(e, t, n) { + ((e[Gv] = Hv(n)), Jv(e, t, n)); + }, + }; + function Jv(e, { value: t, oldValue: n }, r) { + let o; + if (((e._modelValue = t), Du(t))) o = vd(t, r.props.value) > -1; + else if (Mu(t)) o = t.has(r.props.value); + else { + if (t === n) return; + o = gd(t, ob(e, !0)); + } + e.checked !== o && (e.checked = o); + } + const eb = { + created(e, { value: t }, n) { + ((e.checked = gd(t, n.props.value)), + (e[Gv] = Hv(n)), + Uv(e, "change", () => { + e[Gv](rb(e)); + })); + }, + beforeUpdate(e, { value: t, oldValue: n }, r) { + ((e[Gv] = Hv(r)), t !== n && (e.checked = gd(t, r.props.value))); + }, + }, + tb = { + deep: !0, + created(e, { value: t, modifiers: { number: n } }, r) { + const o = Mu(t); + (Uv(e, "change", () => { + const t = Array.prototype.filter + .call(e.options, (e) => e.selected) + .map((e) => (n ? rd(rb(e)) : rb(e))); + (e[Gv](e.multiple ? (o ? new Set(t) : t) : t[0]), + (e._assigning = !0), + Sf(() => { + e._assigning = !1; + })); + }), + (e[Gv] = Hv(r))); + }, + mounted(e, { value: t }) { + nb(e, t); + }, + beforeUpdate(e, t, n) { + e[Gv] = Hv(n); + }, + updated(e, { value: t }) { + e._assigning || nb(e, t); + }, + }; + function nb(e, t) { + const n = e.multiple, + r = Du(t); + if (!n || r || Mu(t)) { + for (let o = 0, a = e.options.length; o < a; o++) { + const a = e.options[o], + i = rb(a); + if (n) + if (r) { + const e = typeof i; + a.selected = + "string" === e || "number" === e + ? t.some((e) => String(e) === String(i)) + : vd(t, i) > -1; + } else a.selected = t.has(i); + else if (gd(rb(a), t)) + return void (e.selectedIndex !== o && (e.selectedIndex = o)); + } + n || -1 === e.selectedIndex || (e.selectedIndex = -1); + } + } + function rb(e) { + return "_value" in e ? e._value : e.value; + } + function ob(e, t) { + const n = t ? "_trueValue" : "_falseValue"; + return n in e ? e[n] : t; + } + const ab = { + created(e, t, n) { + ib(e, t, n, null, "created"); + }, + mounted(e, t, n) { + ib(e, t, n, null, "mounted"); + }, + beforeUpdate(e, t, n, r) { + ib(e, t, n, r, "beforeUpdate"); + }, + updated(e, t, n, r) { + ib(e, t, n, r, "updated"); + }, + }; + function ib(e, t, n, r, o) { + const a = (function (e, t) { + switch (e) { + case "SELECT": + return tb; + case "TEXTAREA": + return Yv; + default: + switch (t) { + case "checkbox": + return Kv; + case "radio": + return eb; + default: + return Yv; + } + } + })(e.tagName, n.props && n.props.type)[o]; + a && a(e, t, n, r); + } + const sb = ["ctrl", "shift", "alt", "meta"], + lb = { + stop: (e) => e.stopPropagation(), + prevent: (e) => e.preventDefault(), + self: (e) => e.target !== e.currentTarget, + ctrl: (e) => !e.ctrlKey, + shift: (e) => !e.shiftKey, + alt: (e) => !e.altKey, + meta: (e) => !e.metaKey, + left: (e) => "button" in e && 0 !== e.button, + middle: (e) => "button" in e && 1 !== e.button, + right: (e) => "button" in e && 2 !== e.button, + exact: (e, t) => sb.some((n) => e[`${n}Key`] && !t.includes(n)), + }, + cb = (e, t) => { + const n = e._withMods || (e._withMods = {}), + r = t.join("."); + return ( + n[r] || + (n[r] = (n, ...r) => { + for (let e = 0; e < t.length; e++) { + const r = lb[t[e]]; + if (r && r(n, t)) return; + } + return e(n, ...r); + }) + ); + }, + ub = { + esc: "escape", + space: " ", + up: "arrow-up", + left: "arrow-left", + right: "arrow-right", + down: "arrow-down", + delete: "backspace", + }, + db = (e, t) => { + const n = e._withKeys || (e._withKeys = {}), + r = t.join("."); + return ( + n[r] || + (n[r] = (n) => { + if (!("key" in n)) return; + const r = Yu(n.key); + return t.some((e) => e === r || ub[e] === r) ? e(n) : void 0; + }) + ); + }, + pb = Au( + { + patchProp: (e, t, n, r, o, a) => { + const i = "svg" === o; + "class" === t + ? (function (e, t, n) { + const r = e[sv]; + (r && (t = (t ? [t, ...r] : [...r]).join(" ")), + null == t + ? e.removeAttribute("class") + : n + ? e.setAttribute("class", t) + : (e.className = t)); + })(e, r, i) + : "style" === t + ? (function (e, t, n) { + const r = e.style, + o = ju(n); + let a = !1; + if (n && !o) { + if (t) + if (ju(t)) + for (const e of t.split(";")) { + const t = e.slice(0, e.indexOf(":")).trim(); + null == n[t] && Iv(r, t, ""); + } + else for (const e in t) null == n[e] && Iv(r, e, ""); + for (const e in n) + ("display" === e && (a = !0), Iv(r, e, n[e])); + } else if (o) { + if (t !== n) { + const e = r[Tv]; + (e && (n += ";" + e), (r.cssText = n), (a = Pv.test(n))); + } + } else t && e.removeAttribute("style"); + kv in e && + ((e[kv] = a ? r.display : ""), + e[Sv] && (r.display = "none")); + })(e, n, r) + : Eu(t) + ? Tu(t) || Fv(e, t, 0, r, a) + : ( + "." === t[0] + ? ((t = t.slice(1)), 1) + : "^" === t[0] + ? ((t = t.slice(1)), 0) + : (function (e, t, n, r) { + if (r) + return ( + "innerHTML" === t || + "textContent" === t || + !!(t in e && Zv(t) && Ru(n)) + ); + if ( + "spellcheck" === t || + "draggable" === t || + "translate" === t || + "autocorrect" === t + ) + return !1; + if ("form" === t) return !1; + if ("list" === t && "INPUT" === e.tagName) + return !1; + if ("type" === t && "TEXTAREA" === e.tagName) + return !1; + if ("width" === t || "height" === t) { + const t = e.tagName; + if ( + "IMG" === t || + "VIDEO" === t || + "CANVAS" === t || + "SOURCE" === t + ) + return !1; + } + if (Zv(t) && ju(n)) return !1; + return t in e; + })(e, t, r, i) + ) + ? (Lv(e, t, r), + e.tagName.includes("-") || + ("value" !== t && "checked" !== t && "selected" !== t) || + jv(e, t, r, i, 0, "value" !== t)) + : !e._isVueCE || (!/[A-Z]/.test(t) && ju(r)) + ? ("true-value" === t + ? (e._trueValue = r) + : "false-value" === t && (e._falseValue = r), + jv(e, t, r, i)) + : Lv(e, Xu(t), r, 0, t); + }, + }, + ov, + ); + let fb; + function hb() { + return fb || (fb = Rm(pb)); + } + const mb = (...e) => { + hb().render(...e); + }, + gb = (...e) => { + const t = hb().createApp(...e), + { mount: n } = t; + return ( + (t.mount = (e) => { + const r = (function (e) { + if (ju(e)) { + return document.querySelector(e); + } + return e; + })(e); + if (!r) return; + const o = t._component; + (Ru(o) || o.render || o.template || (o.template = r.innerHTML), + 1 === r.nodeType && (r.textContent = "")); + const a = n( + r, + !1, + (function (e) { + if (e instanceof SVGElement) return "svg"; + if ( + "function" == typeof MathMLElement && + e instanceof MathMLElement + ) + return "mathml"; + })(r), + ); + return ( + r instanceof Element && + (r.removeAttribute("v-cloak"), r.setAttribute("data-v-app", "")), + a + ); + }), + t + ); + }; + const vb = "3" === Kg[0]; + function bb(e) { + if (e instanceof Promise || e instanceof Date || e instanceof RegExp) + return e; + const t = "function" == typeof (n = e) ? n() : Kp(n); + var n; + if (!e || !t) return t; + if (Array.isArray(t)) return t.map((e) => bb(e)); + if ("object" == typeof t) { + const e = {}; + for (const n in t) + Object.prototype.hasOwnProperty.call(t, n) && + ("titleTemplate" === n || ("o" === n[0] && "n" === n[1]) + ? (e[n] = Kp(t[n])) + : (e[n] = bb(t[n]))); + return e; + } + return t; + } + const yb = { + hooks: { + "entries:resolve": (e) => { + for (const t of e.entries) t.resolvedInput = bb(t.input); + }, + }, + }, + Ob = "usehead"; + function wb(e = {}) { + e.domDelayFn = e.domDelayFn || ((e) => Sf(() => setTimeout(() => e(), 0))); + const t = yu(e); + return ( + t.use(yb), + (t.install = (function (e) { + return { + install(t) { + vb && + ((t.config.globalProperties.$unhead = e), + (t.config.globalProperties.$head = e), + t.provide(Ob, e)); + }, + }.install; + })(t)), + t + ); + } + const xb = + "undefined" != typeof globalThis + ? globalThis + : "undefined" != typeof window + ? window + : "undefined" != typeof global + ? global + : "undefined" != typeof self + ? self + : {}, + kb = "__unhead_injection_handler__"; + function Sb() { + if (kb in xb) return xb[kb](); + return vm(Ob) || bu; + } + function _b(e, t = {}) { + const n = t.head || Sb(); + if (n) + return n.ssr + ? n.push(e, t) + : (function (e, t, n = {}) { + const r = Wp(!1), + o = Wp({}); + qm(() => { + o.value = r.value ? {} : bb(t); + }); + const a = e.push(o.value, n); + Vm(o, (e) => { + a.patch(e); + }); + jg() && + (Ah(() => { + a.dispose(); + }), + yh(() => { + r.value = !0; + }), + bh(() => { + r.value = !1; + })); + return a; + })(n, e, t); + } + function Eb(e, t, n) { + let r = Wp(null == n ? void 0 : n.value), + o = Gg(() => void 0 !== e.value); + return [ + Gg(() => (o.value ? e.value : r.value)), + function (e) { + return (o.value || (r.value = e), null == t ? void 0 : t(e)); + }, + ]; + } + function Tb(e) { + "function" == typeof queueMicrotask + ? queueMicrotask(e) + : Promise.resolve() + .then(e) + .catch((e) => + setTimeout(() => { + throw e; + }), + ); + } + function Ab() { + let e = [], + t = { + addEventListener: (e, n, r, o) => ( + e.addEventListener(n, r, o), + t.add(() => e.removeEventListener(n, r, o)) + ), + requestAnimationFrame(...e) { + let n = requestAnimationFrame(...e); + t.add(() => cancelAnimationFrame(n)); + }, + nextFrame(...e) { + t.requestAnimationFrame(() => { + t.requestAnimationFrame(...e); + }); + }, + setTimeout(...e) { + let n = setTimeout(...e); + t.add(() => clearTimeout(n)); + }, + microTask(...e) { + let n = { current: !0 }; + return ( + Tb(() => { + n.current && e[0](); + }), + t.add(() => { + n.current = !1; + }) + ); + }, + style(e, t, n) { + let r = e.style.getPropertyValue(t); + return ( + Object.assign(e.style, { [t]: n }), + this.add(() => { + Object.assign(e.style, { + [t]: r, + }); + }) + ); + }, + group(e) { + let t = Ab(); + return (e(t), this.add(() => t.dispose())); + }, + add: (t) => ( + e.push(t), + () => { + let n = e.indexOf(t); + if (n >= 0) for (let t of e.splice(n, 1)) t(); + } + ), + dispose() { + for (let t of e.splice(0)) t(); + }, + }; + return t; + } + var $b; + let Cb = Symbol("headlessui.useid"), + Pb = 0; + const Db = + null != ($b = uh) + ? $b + : function () { + return vm(Cb, () => "" + ++Pb)(); + }; + function Ib(e) { + var t; + if (null == e || null == e.value) return null; + let n = null != (t = e.value.$el) ? t : e.value; + return n instanceof Node ? n : null; + } + function Mb(e, t, ...n) { + if (e in t) { + let r = t[e]; + return "function" == typeof r ? r(...n) : r; + } + let r = new Error( + `Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys( + t, + ) + .map((e) => `"${e}"`) + .join(", ")}.`, + ); + throw (Error.captureStackTrace && Error.captureStackTrace(r, Mb), r); + } + var Nb = Object.defineProperty, + Rb = (e, t, n) => ( + ((e, t, n) => { + t in e + ? Nb(e, t, { + enumerable: !0, + configurable: !0, + writable: !0, + value: n, + }) + : (e[t] = n); + })(e, "symbol" != typeof t ? t + "" : t, n), + n + ); + let jb = new (class { + constructor() { + (Rb(this, "current", this.detect()), Rb(this, "currentId", 0)); + } + set(e) { + this.current !== e && ((this.currentId = 0), (this.current = e)); + } + reset() { + this.set(this.detect()); + } + nextId() { + return ++this.currentId; + } + get isServer() { + return "server" === this.current; + } + get isClient() { + return "client" === this.current; + } + detect() { + return "undefined" == typeof window || "undefined" == typeof document + ? "server" + : "client"; + } + })(); + function Lb(e) { + if (jb.isServer) return null; + if (e instanceof Node) return e.ownerDocument; + if (null != e && e.hasOwnProperty("value")) { + let t = Ib(e); + if (t) return t.ownerDocument; + } + return document; + } + let Ub = [ + "[contentEditable=true]", + "[tabindex]", + "a[href]", + "area[href]", + "button:not([disabled])", + "iframe", + "input:not([disabled])", + "select:not([disabled])", + "textarea:not([disabled])", + ] + .map((e) => `${e}:not([tabindex='-1'])`) + .join(","); + var Bb, + Fb, + zb, + Qb = + (((zb = Qb || {})[(zb.First = 1)] = "First"), + (zb[(zb.Previous = 2)] = "Previous"), + (zb[(zb.Next = 4)] = "Next"), + (zb[(zb.Last = 8)] = "Last"), + (zb[(zb.WrapAround = 16)] = "WrapAround"), + (zb[(zb.NoScroll = 32)] = "NoScroll"), + zb), + qb = + (((Fb = qb || {})[(Fb.Error = 0)] = "Error"), + (Fb[(Fb.Overflow = 1)] = "Overflow"), + (Fb[(Fb.Success = 2)] = "Success"), + (Fb[(Fb.Underflow = 3)] = "Underflow"), + Fb), + Vb = + (((Bb = Vb || {})[(Bb.Previous = -1)] = "Previous"), + (Bb[(Bb.Next = 1)] = "Next"), + Bb); + function Zb(e = document.body) { + return null == e + ? [] + : Array.from(e.querySelectorAll(Ub)).sort((e, t) => + Math.sign( + (e.tabIndex || Number.MAX_SAFE_INTEGER) - + (t.tabIndex || Number.MAX_SAFE_INTEGER), + ), + ); + } + var Hb = ((e) => ( + (e[(e.Strict = 0)] = "Strict"), + (e[(e.Loose = 1)] = "Loose"), + e + ))(Hb || {}); + function Wb(e, t = 0) { + var n; + return ( + e !== (null == (n = Lb(e)) ? void 0 : n.body) && + Mb(t, { + 0: () => e.matches(Ub), + 1() { + let t = e; + for (; null !== t; ) { + if (t.matches(Ub)) return !0; + t = t.parentElement; + } + return !1; + }, + }) + ); + } + function Xb(e) { + let t = Lb(e); + Sf(() => { + t && !Wb(t.activeElement, 0) && Yb(e); + }); + } + var Gb = ((e) => ( + (e[(e.Keyboard = 0)] = "Keyboard"), + (e[(e.Mouse = 1)] = "Mouse"), + e + ))(Gb || {}); + function Yb(e) { + null == e || e.focus({ preventScroll: !0 }); + } + "undefined" != typeof window && + "undefined" != typeof document && + (document.addEventListener( + "keydown", + (e) => { + e.metaKey || + e.altKey || + e.ctrlKey || + (document.documentElement.dataset.headlessuiFocusVisible = ""); + }, + !0, + ), + document.addEventListener( + "click", + (e) => { + 1 === e.detail + ? delete document.documentElement.dataset.headlessuiFocusVisible + : 0 === e.detail && + (document.documentElement.dataset.headlessuiFocusVisible = ""); + }, + !0, + )); + let Kb = ["textarea", "input"].join(","); + function Jb(e, t = (e) => e) { + return e.slice().sort((e, n) => { + let r = t(e), + o = t(n); + if (null === r || null === o) return 0; + let a = r.compareDocumentPosition(o); + return a & Node.DOCUMENT_POSITION_FOLLOWING + ? -1 + : a & Node.DOCUMENT_POSITION_PRECEDING + ? 1 + : 0; + }); + } + function ey( + e, + t, + { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}, + ) { + var a; + let i = + null != + (a = Array.isArray(e) + ? e.length > 0 + ? e[0].ownerDocument + : document + : null == e + ? void 0 + : e.ownerDocument) + ? a + : document, + s = Array.isArray(e) ? (n ? Jb(e) : e) : Zb(e); + (o.length > 0 && s.length > 1 && (s = s.filter((e) => !o.includes(e))), + (r = null != r ? r : i.activeElement)); + let l, + c = (() => { + if (5 & t) return 1; + if (10 & t) return -1; + throw new Error( + "Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last", + ); + })(), + u = (() => { + if (1 & t) return 0; + if (2 & t) return Math.max(0, s.indexOf(r)) - 1; + if (4 & t) return Math.max(0, s.indexOf(r)) + 1; + if (8 & t) return s.length - 1; + throw new Error( + "Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last", + ); + })(), + d = 32 & t ? { preventScroll: !0 } : {}, + p = 0, + f = s.length; + do { + if (p >= f || p + f <= 0) return 0; + let e = u + p; + if (16 & t) e = (e + f) % f; + else { + if (e < 0) return 3; + if (e >= f) return 1; + } + ((l = s[e]), null == l || l.focus(d), (p += c)); + } while (l !== i.activeElement); + return ( + 6 & t && + (function (e) { + var t, n; + return ( + null != + (n = + null == (t = null == e ? void 0 : e.matches) + ? void 0 + : t.call(e, Kb)) && n + ); + })(l) && + l.select(), + 2 + ); + } + function ty() { + return ( + /iPhone/gi.test(window.navigator.platform) || + (/Mac/gi.test(window.navigator.platform) && + window.navigator.maxTouchPoints > 0) + ); + } + function ny() { + return ty() || /Android/gi.test(window.navigator.userAgent); + } + function ry(e, t, n) { + jb.isServer || + qm((r) => { + (document.addEventListener(e, t, n), + r(() => document.removeEventListener(e, t, n))); + }); + } + function oy(e, t, n) { + jb.isServer || + qm((r) => { + (window.addEventListener(e, t, n), + r(() => window.removeEventListener(e, t, n))); + }); + } + function ay(e, t, n = Gg(() => !0)) { + function r(r, o) { + if (!n.value || r.defaultPrevented) return; + let a = o(r); + if (null === a || !a.getRootNode().contains(a)) return; + let i = (function e(t) { + return "function" == typeof t + ? e(t()) + : Array.isArray(t) || t instanceof Set + ? t + : [t]; + })(e); + for (let e of i) { + if (null === e) continue; + let t = e instanceof HTMLElement ? e : Ib(e); + if ( + (null != t && t.contains(a)) || + (r.composed && r.composedPath().includes(t)) + ) + return; + } + return ( + !Wb(a, Hb.Loose) && -1 !== a.tabIndex && r.preventDefault(), + t(r, a) + ); + } + let o = Wp(null); + (ry( + "pointerdown", + (e) => { + var t, r; + n.value && + (o.value = + (null == (r = null == (t = e.composedPath) ? void 0 : t.call(e)) + ? void 0 + : r[0]) || e.target); + }, + !0, + ), + ry( + "mousedown", + (e) => { + var t, r; + n.value && + (o.value = + (null == (r = null == (t = e.composedPath) ? void 0 : t.call(e)) + ? void 0 + : r[0]) || e.target); + }, + !0, + ), + ry( + "click", + (e) => { + ny() || (o.value && (r(e, () => o.value), (o.value = null))); + }, + !0, + ), + ry( + "touchend", + (e) => r(e, () => (e.target instanceof HTMLElement ? e.target : null)), + !0, + ), + oy( + "blur", + (e) => + r(e, () => + window.document.activeElement instanceof HTMLIFrameElement + ? window.document.activeElement + : null, + ), + !0, + )); + } + function iy(e, t) { + if (e) return e; + let n = null != t ? t : "button"; + return "string" == typeof n && "button" === n.toLowerCase() + ? "button" + : void 0; + } + function sy(e, t) { + let n = Wp(iy(e.value.type, e.value.as)); + return ( + _h(() => { + n.value = iy(e.value.type, e.value.as); + }), + qm(() => { + var e; + n.value || + (Ib(t) && + Ib(t) instanceof HTMLButtonElement && + (null == (e = Ib(t)) || !e.hasAttribute("type")) && + (n.value = "button")); + }), + n + ); + } + function ly(e) { + return [e.screenX, e.screenY]; + } + function cy() { + let e = Wp([-1, -1]); + return { + wasMoved(t) { + let n = ly(t); + return ( + (e.value[0] !== n[0] || e.value[1] !== n[1]) && ((e.value = n), !0) + ); + }, + update(t) { + e.value = ly(t); + }, + }; + } + function uy({ container: e, accept: t, walk: n, enabled: r }) { + qm(() => { + let o = e.value; + if (!o || (void 0 !== r && !r.value)) return; + let a = Lb(e); + if (!a) return; + let i = Object.assign((e) => t(e), { acceptNode: t }), + s = a.createTreeWalker(o, NodeFilter.SHOW_ELEMENT, i, !1); + for (; s.nextNode(); ) n(s.currentNode); + }); + } + var dy, + py = ((e) => ( + (e[(e.None = 0)] = "None"), + (e[(e.RenderStrategy = 1)] = "RenderStrategy"), + (e[(e.Static = 2)] = "Static"), + e + ))(py || {}), + fy = + (((dy = fy || {})[(dy.Unmount = 0)] = "Unmount"), + (dy[(dy.Hidden = 1)] = "Hidden"), + dy); + function hy({ + visible: e = !0, + features: t = 0, + ourProps: n, + theirProps: r, + ...o + }) { + var a; + let i = vy(r, n), + s = Object.assign(o, { props: i }); + if (e || (2 & t && i.static)) return my(s); + if (1 & t) { + return Mb(null == (a = i.unmount) || a ? 0 : 1, { + 0: () => null, + 1: () => + my({ + ...o, + props: { + ...i, + hidden: !0, + style: { display: "none" }, + }, + }), + }); + } + return my(s); + } + function my({ props: e, attrs: t, slots: n, slot: r, name: o }) { + var a, i; + let { as: s, ...l } = yy(e, ["unmount", "static"]), + c = null == (a = n.default) ? void 0 : a.call(n, r), + u = {}; + if (r) { + let e = !1, + t = []; + for (let [n, o] of Object.entries(r)) + ("boolean" == typeof o && (e = !0), !0 === o && t.push(n)); + e && (u["data-headlessui-state"] = t.join(" ")); + } + if ("template" === s) { + if ( + ((c = gy(null != c ? c : [])), + Object.keys(l).length > 0 || Object.keys(t).length > 0) + ) { + let [e, ...n] = null != c ? c : []; + if ( + !(function (e) { + return ( + null != e && + ("string" == typeof e.type || + "object" == typeof e.type || + "function" == typeof e.type) + ); + })(e) || + n.length > 0 + ) + throw new Error( + [ + 'Passing props on "template"!', + "", + `The current component <${o} /> is rendering a "template".`, + "However we need to passthrough the following props:", + Object.keys(l) + .concat(Object.keys(t)) + .map((e) => e.trim()) + .filter((e, t, n) => n.indexOf(e) === t) + .sort((e, t) => e.localeCompare(t)) + .map((e) => ` - ${e}`) + .join("\n"), + "", + "You can apply a few solutions:", + [ + 'Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', + "Render a single element as the child so that we can forward the props onto that element.", + ] + .map((e) => ` - ${e}`) + .join("\n"), + ].join("\n"), + ); + let r = vy(null != (i = e.props) ? i : {}, l, u), + a = _g(e, r, !0); + for (let t in r) + t.startsWith("on") && + (a.props || (a.props = {}), (a.props[t] = r[t])); + return a; + } + return Array.isArray(c) && 1 === c.length ? c[0] : c; + } + return Yg(s, Object.assign({}, l, u), { default: () => c }); + } + function gy(e) { + return e.flatMap((e) => (e.type === ig ? gy(e.children) : [e])); + } + function vy(...e) { + if (0 === e.length) return {}; + if (1 === e.length) return e[0]; + let t = {}, + n = {}; + for (let r of e) + for (let e in r) + e.startsWith("on") && "function" == typeof r[e] + ? (null != n[e] || (n[e] = []), n[e].push(r[e])) + : (t[e] = r[e]); + if (t.disabled || t["aria-disabled"]) + return Object.assign( + t, + Object.fromEntries(Object.keys(n).map((e) => [e, void 0])), + ); + for (let r in n) + Object.assign(t, { + [r](e, ...t) { + let o = n[r]; + for (let n of o) { + if (e instanceof Event && e.defaultPrevented) return; + n(e, ...t); + } + }, + }); + return t; + } + function by(e) { + let t = Object.assign({}, e); + for (let n in t) void 0 === t[n] && delete t[n]; + return t; + } + function yy(e, t = []) { + let n = Object.assign({}, e); + for (let r of t) r in n && delete n[r]; + return n; + } + var Oy = ((e) => ( + (e[(e.None = 1)] = "None"), + (e[(e.Focusable = 2)] = "Focusable"), + (e[(e.Hidden = 4)] = "Hidden"), + e + ))(Oy || {}); + let wy = ch({ + name: "Hidden", + props: { + as: { type: [Object, String], default: "div" }, + features: { + type: Number, + default: 1, + }, + }, + setup: + (e, { slots: t, attrs: n }) => + () => { + var r; + let { features: o, ...a } = e; + return hy({ + ourProps: { + "aria-hidden": + !(2 & ~o) || (null != (r = a["aria-hidden"]) ? r : void 0), + hidden: !(4 & ~o) || void 0, + style: { + position: "fixed", + top: 1, + left: 1, + width: 1, + height: 0, + padding: 0, + margin: -1, + overflow: "hidden", + clip: "rect(0, 0, 0, 0)", + whiteSpace: "nowrap", + borderWidth: "0", + ...(!(4 & ~o) && !!(2 & ~o) && { display: "none" }), + }, + }, + theirProps: a, + slot: {}, + attrs: n, + slots: t, + name: "Hidden", + }); + }, + }), + xy = Symbol("Context"); + var ky = ((e) => ( + (e[(e.Open = 1)] = "Open"), + (e[(e.Closed = 2)] = "Closed"), + (e[(e.Closing = 4)] = "Closing"), + (e[(e.Opening = 8)] = "Opening"), + e + ))(ky || {}); + function Sy() { + return vm(xy, null); + } + function _y(e) { + gm(xy, e); + } + var Ey, + Ty = + (((Ey = Ty || {}).Space = " "), + (Ey.Enter = "Enter"), + (Ey.Escape = "Escape"), + (Ey.Backspace = "Backspace"), + (Ey.Delete = "Delete"), + (Ey.ArrowLeft = "ArrowLeft"), + (Ey.ArrowUp = "ArrowUp"), + (Ey.ArrowRight = "ArrowRight"), + (Ey.ArrowDown = "ArrowDown"), + (Ey.Home = "Home"), + (Ey.End = "End"), + (Ey.PageUp = "PageUp"), + (Ey.PageDown = "PageDown"), + (Ey.Tab = "Tab"), + Ey); + let Ay = []; + !(function (e) { + function t() { + "loading" !== document.readyState && + (e(), document.removeEventListener("DOMContentLoaded", t)); + } + "undefined" != typeof window && + "undefined" != typeof document && + (document.addEventListener("DOMContentLoaded", t), t()); + })(() => { + function e(e) { + e.target instanceof HTMLElement && + e.target !== document.body && + Ay[0] !== e.target && + (Ay.unshift(e.target), + (Ay = Ay.filter((e) => null != e && e.isConnected)), + Ay.splice(10)); + } + (window.addEventListener("click", e, { capture: !0 }), + window.addEventListener("mousedown", e, { capture: !0 }), + window.addEventListener("focus", e, { capture: !0 }), + document.body.addEventListener("click", e, { capture: !0 }), + document.body.addEventListener("mousedown", e, { capture: !0 }), + document.body.addEventListener("focus", e, { capture: !0 })); + }); + var $y, + Cy = + ((($y = Cy || {})[($y.First = 0)] = "First"), + ($y[($y.Previous = 1)] = "Previous"), + ($y[($y.Next = 2)] = "Next"), + ($y[($y.Last = 3)] = "Last"), + ($y[($y.Specific = 4)] = "Specific"), + ($y[($y.Nothing = 5)] = "Nothing"), + $y); + function Py(e, t) { + let n = t.resolveItems(); + if (n.length <= 0) return null; + let r = t.resolveActiveIndex(), + o = null != r ? r : -1; + switch (e.focus) { + case 0: + for (let e = 0; e < n.length; ++e) + if (!t.resolveDisabled(n[e], e, n)) return e; + return r; + case 1: + -1 === o && (o = n.length); + for (let e = o - 1; e >= 0; --e) + if (!t.resolveDisabled(n[e], e, n)) return e; + return r; + case 2: + for (let e = o + 1; e < n.length; ++e) + if (!t.resolveDisabled(n[e], e, n)) return e; + return r; + case 3: + for (let e = n.length - 1; e >= 0; --e) + if (!t.resolveDisabled(n[e], e, n)) return e; + return r; + case 4: + for (let r = 0; r < n.length; ++r) + if (t.resolveId(n[r], r, n) === e.id) return r; + return r; + case 5: + return null; + default: + !(function (e) { + throw new Error("Unexpected object: " + e); + })(e); + } + } + function Dy(e = {}, t = null, n = []) { + for (let [r, o] of Object.entries(e)) My(n, Iy(t, r), o); + return n; + } + function Iy(e, t) { + return e ? e + "[" + t + "]" : t; + } + function My(e, t, n) { + if (Array.isArray(n)) + for (let [r, o] of n.entries()) My(e, Iy(t, r.toString()), o); + else + n instanceof Date + ? e.push([t, n.toISOString()]) + : "boolean" == typeof n + ? e.push([t, n ? "1" : "0"]) + : "string" == typeof n + ? e.push([t, n]) + : "number" == typeof n + ? e.push([t, `${n}`]) + : null == n + ? e.push([t, ""]) + : Dy(n, t, e); + } + function Ny(e, t, n, r) { + jb.isServer || + qm((o) => { + ((e = null != e ? e : window).addEventListener(t, n, r), + o(() => e.removeEventListener(t, n, r))); + }); + } + var Ry = ((e) => ( + (e[(e.Forwards = 0)] = "Forwards"), + (e[(e.Backwards = 1)] = "Backwards"), + e + ))(Ry || {}); + function jy() { + let e = Wp(0); + return ( + oy("keydown", (t) => { + "Tab" === t.key && (e.value = t.shiftKey ? 1 : 0); + }), + e + ); + } + function Ly(e) { + if (!e) return new Set(); + if ("function" == typeof e) return new Set(e()); + let t = new Set(); + for (let n of e.value) { + let e = Ib(n); + e instanceof HTMLElement && t.add(e); + } + return t; + } + var Uy = ((e) => ( + (e[(e.None = 1)] = "None"), + (e[(e.InitialFocus = 2)] = "InitialFocus"), + (e[(e.TabLock = 4)] = "TabLock"), + (e[(e.FocusLock = 8)] = "FocusLock"), + (e[(e.RestoreFocus = 16)] = "RestoreFocus"), + (e[(e.All = 30)] = "All"), + e + ))(Uy || {}); + let By = Object.assign( + ch({ + name: "FocusTrap", + props: { + as: { type: [Object, String], default: "div" }, + initialFocus: { type: Object, default: null }, + features: { type: Number, default: 30 }, + containers: { type: [Object, Function], default: Wp(new Set()) }, + }, + inheritAttrs: !1, + setup(e, { attrs: t, slots: n, expose: r }) { + let o = Wp(null); + r({ el: o, $el: o }); + let a = Gg(() => Lb(o)), + i = Wp(!1); + (_h(() => (i.value = !0)), + $h(() => (i.value = !1)), + (function ({ ownerDocument: e }, t) { + let n = (function (e) { + let t = Wp(Ay.slice()); + return ( + Vm( + [e], + ([e], [n]) => { + !0 === n && !1 === e + ? Tb(() => { + t.value.splice(0); + }) + : !1 === n && !0 === e && (t.value = Ay.slice()); + }, + { flush: "post" }, + ), + () => { + var e; + return null != + (e = t.value.find((e) => null != e && e.isConnected)) + ? e + : null; + } + ); + })(t); + (_h(() => { + qm( + () => { + var r, o; + t.value || + ((null == (r = e.value) ? void 0 : r.activeElement) === + (null == (o = e.value) ? void 0 : o.body) && + Yb(n())); + }, + { flush: "post" }, + ); + }), + $h(() => { + t.value && Yb(n()); + })); + })( + { ownerDocument: a }, + Gg(() => i.value && Boolean(16 & e.features)), + )); + let s = (function ( + { ownerDocument: e, container: t, initialFocus: n }, + r, + ) { + let o = Wp(null), + a = Wp(!1); + return ( + _h(() => (a.value = !0)), + $h(() => (a.value = !1)), + _h(() => { + Vm( + [t, n, r], + (i, s) => { + if ( + i.every((e, t) => (null == s ? void 0 : s[t]) === e) || + !r.value + ) + return; + let l = Ib(t); + l && + Tb(() => { + var t, r; + if (!a.value) return; + let i = Ib(n), + s = null == (t = e.value) ? void 0 : t.activeElement; + if (i) { + if (i === s) return void (o.value = s); + } else if (l.contains(s)) return void (o.value = s); + (i + ? Yb(i) + : ey(l, Qb.First | Qb.NoScroll) === qb.Error && + console.warn( + "There are no focusable elements inside the ", + ), + (o.value = + null == (r = e.value) ? void 0 : r.activeElement)); + }); + }, + { immediate: !0, flush: "post" }, + ); + }), + o + ); + })( + { + ownerDocument: a, + container: o, + initialFocus: Gg(() => e.initialFocus), + }, + Gg(() => i.value && Boolean(2 & e.features)), + ); + !(function ( + { + ownerDocument: e, + container: t, + containers: n, + previousActiveElement: r, + }, + o, + ) { + var a; + Ny( + null == (a = e.value) ? void 0 : a.defaultView, + "focus", + (e) => { + if (!o.value) return; + let a = Ly(n); + Ib(t) instanceof HTMLElement && a.add(Ib(t)); + let i = r.value; + if (!i) return; + let s = e.target; + s && s instanceof HTMLElement + ? Fy(a, s) + ? ((r.value = s), Yb(s)) + : (e.preventDefault(), e.stopPropagation(), Yb(i)) + : Yb(r.value); + }, + !0, + ); + })( + { + ownerDocument: a, + container: o, + containers: e.containers, + previousActiveElement: s, + }, + Gg(() => i.value && Boolean(8 & e.features)), + ); + let l = jy(); + function c(e) { + let t = Ib(o); + t && + Mb(l.value, { + [Ry.Forwards]: () => { + ey(t, Qb.First, { skipElements: [e.relatedTarget] }); + }, + [Ry.Backwards]: () => { + ey(t, Qb.Last, { skipElements: [e.relatedTarget] }); + }, + }); + } + let u = Wp(!1); + function d(e) { + "Tab" === e.key && + ((u.value = !0), + requestAnimationFrame(() => { + u.value = !1; + })); + } + function p(t) { + if (!i.value) return; + let n = Ly(e.containers); + Ib(o) instanceof HTMLElement && n.add(Ib(o)); + let r = t.relatedTarget; + r instanceof HTMLElement && + "true" !== r.dataset.headlessuiFocusGuard && + (Fy(n, r) || + (u.value + ? ey( + Ib(o), + Mb(l.value, { + [Ry.Forwards]: () => Qb.Next, + [Ry.Backwards]: () => Qb.Previous, + }) | Qb.WrapAround, + { + relativeTo: t.target, + }, + ) + : t.target instanceof HTMLElement && Yb(t.target))); + } + return () => { + let r = { ref: o, onKeydown: d, onFocusout: p }, + { features: a, initialFocus: i, containers: s, ...l } = e; + return Yg(ig, [ + Boolean(4 & a) && + Yg(wy, { + as: "button", + type: "button", + "data-headlessui-focus-guard": !0, + onFocus: c, + features: Oy.Focusable, + }), + hy({ + ourProps: r, + theirProps: { ...t, ...l }, + slot: {}, + attrs: t, + slots: n, + name: "FocusTrap", + }), + Boolean(4 & a) && + Yg(wy, { + as: "button", + type: "button", + "data-headlessui-focus-guard": !0, + onFocus: c, + features: Oy.Focusable, + }), + ]); + }; + }, + }), + { + features: Uy, + }, + ); + function Fy(e, t) { + for (let n of e) if (n.contains(t)) return !0; + return !1; + } + function zy() { + let e; + return { + before({ doc: t }) { + var n; + let r = t.documentElement; + e = + (null != (n = t.defaultView) ? n : window).innerWidth - r.clientWidth; + }, + after({ doc: t, d: n }) { + let r = t.documentElement, + o = r.clientWidth - r.offsetWidth, + a = e - o; + n.style(r, "paddingRight", `${a}px`); + }, + }; + } + function Qy(e) { + let t = {}; + for (let n of e) Object.assign(t, n(t)); + return t; + } + let qy = (function (e, t) { + let n = e(), + r = new Set(); + return { + getSnapshot: () => n, + subscribe: (e) => (r.add(e), () => r.delete(e)), + dispatch(e, ...o) { + let a = t[e].call(n, ...o); + a && ((n = a), r.forEach((e) => e())); + }, + }; + })(() => new Map(), { + PUSH(e, t) { + var n; + let r = + null != (n = this.get(e)) + ? n + : { doc: e, count: 0, d: Ab(), meta: new Set() }; + return (r.count++, r.meta.add(t), this.set(e, r), this); + }, + POP(e, t) { + let n = this.get(e); + return (n && (n.count--, n.meta.delete(t)), this); + }, + SCROLL_PREVENT({ doc: e, d: t, meta: n }) { + let r = { doc: e, d: t, meta: Qy(n) }, + o = [ + ty() + ? { + before({ doc: e, d: t, meta: n }) { + function r(e) { + return n.containers + .flatMap((e) => e()) + .some((t) => t.contains(e)); + } + t.microTask(() => { + var n; + if ( + "auto" !== + window.getComputedStyle(e.documentElement).scrollBehavior + ) { + let n = Ab(); + (n.style(e.documentElement, "scrollBehavior", "auto"), + t.add(() => t.microTask(() => n.dispose()))); + } + let o = + null != (n = window.scrollY) ? n : window.pageYOffset, + a = null; + (t.addEventListener( + e, + "click", + (t) => { + if (t.target instanceof HTMLElement) + try { + let n = t.target.closest("a"); + if (!n) return; + let { hash: o } = new URL(n.href), + i = e.querySelector(o); + i && !r(i) && (a = i); + } catch {} + }, + !0, + ), + t.addEventListener(e, "touchstart", (e) => { + if (e.target instanceof HTMLElement) + if (r(e.target)) { + let n = e.target; + for (; n.parentElement && r(n.parentElement); ) + n = n.parentElement; + t.style(n, "overscrollBehavior", "contain"); + } else t.style(e.target, "touchAction", "none"); + }), + t.addEventListener( + e, + "touchmove", + (e) => { + if (e.target instanceof HTMLElement) { + if ("INPUT" === e.target.tagName) return; + if (r(e.target)) { + let t = e.target; + for ( + ; + t.parentElement && + "" !== t.dataset.headlessuiPortal && + !( + t.scrollHeight > t.clientHeight || + t.scrollWidth > t.clientWidth + ); + ) + t = t.parentElement; + "" === t.dataset.headlessuiPortal && + e.preventDefault(); + } else e.preventDefault(); + } + }, + { passive: !1 }, + ), + t.add(() => { + var e; + let t = + null != (e = window.scrollY) ? e : window.pageYOffset; + (o !== t && window.scrollTo(0, o), + a && + a.isConnected && + (a.scrollIntoView({ + block: "nearest", + }), + (a = null))); + })); + }); + }, + } + : {}, + zy(), + { + before({ doc: e, d: t }) { + t.style(e.documentElement, "overflow", "hidden"); + }, + }, + ]; + (o.forEach(({ before: e }) => (null == e ? void 0 : e(r))), + o.forEach(({ after: e }) => (null == e ? void 0 : e(r)))); + }, + SCROLL_ALLOW({ d: e }) { + e.dispose(); + }, + TEARDOWN({ doc: e }) { + this.delete(e); + }, + }); + function Vy(e, t, n) { + let r = (function (e) { + let t = Xp(e.getSnapshot()); + return ( + $h( + e.subscribe(() => { + t.value = e.getSnapshot(); + }), + ), + t + ); + })(qy), + o = Gg(() => { + let t = e.value ? r.value.get(e.value) : void 0; + return !!t && t.count > 0; + }); + return ( + Vm( + [e, t], + ([e, t], [r], o) => { + if (!e || !t) return; + qy.dispatch("PUSH", e, n); + let a = !1; + o(() => { + a || (qy.dispatch("POP", null != r ? r : e, n), (a = !0)); + }); + }, + { immediate: !0 }, + ), + o + ); + } + qy.subscribe(() => { + let e = qy.getSnapshot(), + t = new Map(); + for (let [n] of e) t.set(n, n.documentElement.style.overflow); + for (let n of e.values()) { + let e = "hidden" === t.get(n.doc), + r = 0 !== n.count; + (((r && !e) || (!r && e)) && + qy.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), + 0 === n.count && qy.dispatch("TEARDOWN", n)); + } + }); + let Zy = new Map(), + Hy = new Map(); + function Wy(e, t = Wp(!0)) { + qm((n) => { + var r; + if (!t.value) return; + let o = Ib(e); + if (!o) return; + n(function () { + var e; + if (!o) return; + let t = null != (e = Hy.get(o)) ? e : 1; + if ((1 === t ? Hy.delete(o) : Hy.set(o, t - 1), 1 !== t)) return; + let n = Zy.get(o); + n && + (null === n["aria-hidden"] + ? o.removeAttribute("aria-hidden") + : o.setAttribute("aria-hidden", n["aria-hidden"]), + (o.inert = n.inert), + Zy.delete(o)); + }); + let a = null != (r = Hy.get(o)) ? r : 0; + (Hy.set(o, a + 1), + 0 === a && + (Zy.set(o, { + "aria-hidden": o.getAttribute("aria-hidden"), + inert: o.inert, + }), + o.setAttribute("aria-hidden", "true"), + (o.inert = !0))); + }); + } + function Xy({ + defaultContainers: e = [], + portals: t, + mainTreeNodeRef: n, + } = {}) { + let r = Wp(null), + o = Lb(r); + function a() { + var n, a, i; + let s = []; + for (let t of e) + null !== t && + (t instanceof HTMLElement + ? s.push(t) + : "value" in t && + t.value instanceof HTMLElement && + s.push(t.value)); + if (null != t && t.value) for (let e of t.value) s.push(e); + for (let e of null != + (n = null == o ? void 0 : o.querySelectorAll("html > *, body > *")) + ? n + : []) + e !== document.body && + e !== document.head && + e instanceof HTMLElement && + "headlessui-portal-root" !== e.id && + (e.contains(Ib(r)) || + e.contains( + null == (i = null == (a = Ib(r)) ? void 0 : a.getRootNode()) + ? void 0 + : i.host, + ) || + s.some((t) => e.contains(t)) || + s.push(e)); + return s; + } + return { + resolveContainers: a, + contains: (e) => a().some((t) => t.contains(e)), + mainTreeNodeRef: r, + MainTreeNode: () => + null != n ? null : Yg(wy, { features: Oy.Hidden, ref: r }), + }; + } + let Gy = Symbol("ForcePortalRootContext"); + let Yy = ch({ + name: "ForcePortalRoot", + props: { + as: { type: [Object, String], default: "template" }, + force: { type: Boolean, default: !1 }, + }, + setup: (e, { slots: t, attrs: n }) => ( + gm(Gy, e.force), + () => { + let { force: r, ...o } = e; + return hy({ + theirProps: o, + ourProps: {}, + slot: {}, + slots: t, + attrs: n, + name: "ForcePortalRoot", + }); + } + ), + }), + Ky = Symbol("StackContext"); + var Jy = ((e) => ( + (e[(e.Add = 0)] = "Add"), + (e[(e.Remove = 1)] = "Remove"), + e + ))(Jy || {}); + function eO({ type: e, enabled: t, element: n, onUpdate: r }) { + let o = vm(Ky, () => {}); + function a(...e) { + (null == r || r(...e), o(...e)); + } + (_h(() => { + Vm( + t, + (t, r) => { + t ? a(0, e, n) : !0 === r && a(1, e, n); + }, + { immediate: !0, flush: "sync" }, + ); + }), + $h(() => { + t.value && a(1, e, n); + }), + gm(Ky, a)); + } + let tO = Symbol("DescriptionContext"); + function nO({ + slot: e = Wp({}), + name: t = "Description", + props: n = {}, + } = {}) { + let r = Wp([]); + return ( + gm(tO, { + register: function (e) { + return ( + r.value.push(e), + () => { + let t = r.value.indexOf(e); + -1 !== t && r.value.splice(t, 1); + } + ); + }, + slot: e, + name: t, + props: n, + }), + Gg(() => (r.value.length > 0 ? r.value.join(" ") : void 0)) + ); + } + const rO = new WeakMap(); + function oO(e, t) { + let n = t( + (function (e) { + var t; + return null != (t = rO.get(e)) ? t : 0; + })(e), + ); + return (n <= 0 ? rO.delete(e) : rO.set(e, n), n); + } + let aO = ch({ + name: "Portal", + props: { + as: { + type: [Object, String], + default: "div", + }, + }, + setup(e, { slots: t, attrs: n }) { + let r = Wp(null), + o = Gg(() => Lb(r)), + a = vm(Gy, !1), + i = vm(lO, null), + s = Wp( + !0 === a || null == i + ? (function (e) { + let t = Lb(e); + if (!t) { + if (null === e) return null; + throw new Error( + `[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`, + ); + } + let n = t.getElementById("headlessui-portal-root"); + if (n) return n; + let r = t.createElement("div"); + return ( + r.setAttribute("id", "headlessui-portal-root"), + t.body.appendChild(r) + ); + })(r.value) + : i.resolveTarget(), + ); + s.value && oO(s.value, (e) => e + 1); + let l = Wp(!1); + (_h(() => { + l.value = !0; + }), + qm(() => { + a || (null != i && (s.value = i.resolveTarget())); + })); + let c = vm(iO, null), + u = !1, + d = jg(); + return ( + Vm(r, () => { + if (u || !c) return; + let e = Ib(r); + e && ($h(c.register(e), d), (u = !0)); + }), + $h(() => { + var e, t; + let n = + null == (e = o.value) + ? void 0 + : e.getElementById("headlessui-portal-root"); + !n || + s.value !== n || + oO(s.value, (e) => e - 1) || + s.value.children.length > 0 || + null == (t = s.value.parentElement) || + t.removeChild(s.value); + }), + () => { + if (!l.value || null === s.value) return null; + let o = { ref: r, "data-headlessui-portal": "" }; + return Yg( + Hf, + { to: s.value }, + hy({ + ourProps: o, + theirProps: e, + slot: {}, + attrs: n, + slots: t, + name: "Portal", + }), + ); + } + ); + }, + }), + iO = Symbol("PortalParentContext"); + function sO() { + let e = vm(iO, null), + t = Wp([]); + function n(n) { + let r = t.value.indexOf(n); + (-1 !== r && t.value.splice(r, 1), e && e.unregister(n)); + } + let r = { + register: function (r) { + return (t.value.push(r), e && e.register(r), () => n(r)); + }, + unregister: n, + portals: t, + }; + return [ + t, + ch({ + name: "PortalWrapper", + setup: (e, { slots: t }) => ( + gm(iO, r), + () => { + var e; + return null == (e = t.default) ? void 0 : e.call(t); + } + ), + }), + ]; + } + let lO = Symbol("PortalGroupContext"), + cO = ch({ + name: "PortalGroup", + props: { + as: { + type: [Object, String], + default: "template", + }, + target: { type: Object, default: null }, + }, + setup(e, { attrs: t, slots: n }) { + let r = Np({ resolveTarget: () => e.target }); + return ( + gm(lO, r), + () => { + let { target: r, ...o } = e; + return hy({ + theirProps: o, + ourProps: {}, + slot: {}, + attrs: t, + slots: n, + name: "PortalGroup", + }); + } + ); + }, + }); + var uO, + dO = + (((uO = dO || {})[(uO.Open = 0)] = "Open"), + (uO[(uO.Closed = 1)] = "Closed"), + uO); + let pO = Symbol("DialogContext"); + function fO(e) { + let t = vm(pO, null); + if (null === t) { + let t = new Error(`<${e} /> is missing a parent component.`); + throw (Error.captureStackTrace && Error.captureStackTrace(t, fO), t); + } + return t; + } + let hO = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", + mO = ch({ + name: "Dialog", + inheritAttrs: !1, + props: { + as: { type: [Object, String], default: "div" }, + static: { + type: Boolean, + default: !1, + }, + unmount: { type: Boolean, default: !0 }, + open: { + type: [Boolean, String], + default: hO, + }, + initialFocus: { type: Object, default: null }, + id: { + type: String, + default: null, + }, + role: { type: String, default: "dialog" }, + }, + emits: { + close: (e) => !0, + }, + setup(e, { emit: t, attrs: n, slots: r, expose: o }) { + var a, i; + let s = null != (a = e.id) ? a : `headlessui-dialog-${Db()}`, + l = Wp(!1); + _h(() => { + l.value = !0; + }); + let c = !1, + u = Gg(() => + "dialog" === e.role || "alertdialog" === e.role + ? e.role + : (c || + ((c = !0), + console.warn( + `Invalid role [${u}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`, + )), + "dialog"), + ), + d = Wp(0), + p = Sy(), + f = Gg(() => + e.open === hO && null !== p + ? (p.value & ky.Open) === ky.Open + : e.open, + ), + h = Wp(null), + m = Gg(() => Lb(h)); + if ((o({ el: h, $el: h }), e.open === hO && null === p)) + throw new Error( + "You forgot to provide an `open` prop to the `Dialog`.", + ); + if ("boolean" != typeof f.value) + throw new Error( + `You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${f.value === hO ? void 0 : e.open}`, + ); + let g = Gg(() => (l.value && f.value ? 0 : 1)), + v = Gg(() => 0 === g.value), + b = Gg(() => d.value > 1), + y = null !== vm(pO, null), + [O, w] = sO(), + { + resolveContainers: x, + mainTreeNodeRef: k, + MainTreeNode: S, + } = Xy({ + portals: O, + defaultContainers: [ + Gg(() => { + var e; + return null != (e = I.panelRef.value) ? e : h.value; + }), + ], + }), + _ = Gg(() => (b.value ? "parent" : "leaf")), + E = Gg(() => null !== p && (p.value & ky.Closing) === ky.Closing), + T = Gg(() => !y && !E.value && v.value), + A = Gg(() => { + var e, t, n; + return null != + (n = Array.from( + null != + (t = + null == (e = m.value) + ? void 0 + : e.querySelectorAll("body > *")) + ? t + : [], + ).find( + (e) => + "headlessui-portal-root" !== e.id && + e.contains(Ib(k)) && + e instanceof HTMLElement, + )) + ? n + : null; + }); + Wy(A, T); + let $ = Gg(() => !!b.value || v.value), + C = Gg(() => { + var e, t, n; + return null != + (n = Array.from( + null != + (t = + null == (e = m.value) + ? void 0 + : e.querySelectorAll("[data-headlessui-portal]")) + ? t + : [], + ).find((e) => e.contains(Ib(k)) && e instanceof HTMLElement)) + ? n + : null; + }); + (Wy(C, $), + eO({ + type: "Dialog", + enabled: Gg(() => 0 === g.value), + element: h, + onUpdate: (e, t) => { + if ("Dialog" === t) + return Mb(e, { + [Jy.Add]: () => (d.value += 1), + [Jy.Remove]: () => (d.value -= 1), + }); + }, + })); + let P = nO({ + name: "DialogDescription", + slot: Gg(() => ({ open: f.value })), + }), + D = Wp(null), + I = { + titleId: D, + panelRef: Wp(null), + dialogState: g, + setTitleId(e) { + D.value !== e && (D.value = e); + }, + close() { + t("close", !1); + }, + }; + gm(pO, I); + let M = Gg(() => !(!v.value || b.value)); + ay( + x, + (e, t) => { + (e.preventDefault(), + I.close(), + Sf(() => (null == t ? void 0 : t.focus()))); + }, + M, + ); + let N = Gg(() => !(b.value || 0 !== g.value)); + Ny(null == (i = m.value) ? void 0 : i.defaultView, "keydown", (e) => { + N.value && + (e.defaultPrevented || + (e.key === Ty.Escape && + (e.preventDefault(), e.stopPropagation(), I.close()))); + }); + let R = Gg(() => !(E.value || 0 !== g.value || y)); + return ( + Vy(m, R, (e) => { + var t; + return { + containers: [...(null != (t = e.containers) ? t : []), x], + }; + }), + qm((e) => { + if (0 !== g.value) return; + let t = Ib(h); + if (!t) return; + let n = new ResizeObserver((e) => { + for (let t of e) { + let e = t.target.getBoundingClientRect(); + 0 === e.x && + 0 === e.y && + 0 === e.width && + 0 === e.height && + I.close(); + } + }); + (n.observe(t), e(() => n.disconnect())); + }), + () => { + let { open: t, initialFocus: o, ...a } = e, + i = { + ...n, + ref: h, + id: s, + role: u.value, + "aria-modal": 0 === g.value || void 0, + "aria-labelledby": D.value, + "aria-describedby": P.value, + }, + l = { open: 0 === g.value }; + return Yg(Yy, { force: !0 }, () => [ + Yg(aO, () => + Yg(cO, { target: h.value }, () => + Yg(Yy, { force: !1 }, () => + Yg( + By, + { + initialFocus: o, + containers: x, + features: v.value + ? Mb(_.value, { + parent: By.features.RestoreFocus, + leaf: By.features.All & ~By.features.FocusLock, + }) + : By.features.None, + }, + () => + Yg(w, {}, () => + hy({ + ourProps: i, + theirProps: { ...a, ...n }, + slot: l, + attrs: n, + slots: r, + visible: 0 === g.value, + features: py.RenderStrategy | py.Static, + name: "Dialog", + }), + ), + ), + ), + ), + ), + Yg(S), + ]); + } + ); + }, + }), + gO = ch({ + name: "DialogPanel", + props: { + as: { + type: [Object, String], + default: "div", + }, + id: { type: String, default: null }, + }, + setup(e, { attrs: t, slots: n, expose: r }) { + var o; + let a = null != (o = e.id) ? o : `headlessui-dialog-panel-${Db()}`, + i = fO("DialogPanel"); + function s(e) { + e.stopPropagation(); + } + return ( + r({ el: i.panelRef, $el: i.panelRef }), + () => { + let { ...r } = e; + return hy({ + ourProps: { id: a, ref: i.panelRef, onClick: s }, + theirProps: r, + slot: { open: 0 === i.dialogState.value }, + attrs: t, + slots: n, + name: "DialogPanel", + }); + } + ); + }, + }), + vO = ch({ + name: "DialogTitle", + props: { + as: { + type: [Object, String], + default: "h2", + }, + id: { type: String, default: null }, + }, + setup(e, { attrs: t, slots: n }) { + var r; + let o = null != (r = e.id) ? r : `headlessui-dialog-title-${Db()}`, + a = fO("DialogTitle"); + return ( + _h(() => { + (a.setTitleId(o), $h(() => a.setTitleId(null))); + }), + () => { + let { ...r } = e; + return hy({ + ourProps: { id: o }, + theirProps: r, + slot: { + open: 0 === a.dialogState.value, + }, + attrs: t, + slots: n, + name: "DialogTitle", + }); + } + ); + }, + }); + var bO = ((e) => ( + (e[(e.Open = 0)] = "Open"), + (e[(e.Closed = 1)] = "Closed"), + e + ))(bO || {}); + let yO = Symbol("DisclosureContext"); + function OO(e) { + let t = vm(yO, null); + if (null === t) { + let t = new Error( + `<${e} /> is missing a parent component.`, + ); + throw (Error.captureStackTrace && Error.captureStackTrace(t, OO), t); + } + return t; + } + let wO = Symbol("DisclosurePanelContext"); + let xO = ch({ + name: "Disclosure", + props: { + as: { + type: [Object, String], + default: "template", + }, + defaultOpen: { type: [Boolean], default: !1 }, + }, + setup(e, { slots: t, attrs: n }) { + let r = Wp(e.defaultOpen ? 0 : 1), + o = Wp(null), + a = Wp(null), + i = { + buttonId: Wp(`headlessui-disclosure-button-${Db()}`), + panelId: Wp(`headlessui-disclosure-panel-${Db()}`), + disclosureState: r, + panel: o, + button: a, + toggleDisclosure() { + r.value = Mb(r.value, { 0: 1, 1: 0 }); + }, + closeDisclosure() { + 1 !== r.value && (r.value = 1); + }, + close(e) { + i.closeDisclosure(); + let t = e + ? e instanceof HTMLElement + ? e + : e.value instanceof HTMLElement + ? Ib(e) + : Ib(i.button) + : Ib(i.button); + null == t || t.focus(); + }, + }; + return ( + gm(yO, i), + _y(Gg(() => Mb(r.value, { 0: ky.Open, 1: ky.Closed }))), + () => { + let { defaultOpen: o, ...a } = e; + return hy({ + theirProps: a, + ourProps: {}, + slot: { open: 0 === r.value, close: i.close }, + slots: t, + attrs: n, + name: "Disclosure", + }); + } + ); + }, + }), + kO = ch({ + name: "DisclosureButton", + props: { + as: { + type: [Object, String], + default: "button", + }, + disabled: { type: [Boolean], default: !1 }, + id: { + type: String, + default: null, + }, + }, + setup(e, { attrs: t, slots: n, expose: r }) { + let o = OO("DisclosureButton"), + a = vm(wO, null), + i = Gg(() => null !== a && a.value === o.panelId.value); + (_h(() => { + i.value || (null !== e.id && (o.buttonId.value = e.id)); + }), + $h(() => { + i.value || (o.buttonId.value = null); + })); + let s = Wp(null); + (r({ el: s, $el: s }), + i.value || + qm(() => { + o.button.value = s.value; + })); + let l = sy( + Gg(() => ({ as: e.as, type: t.type })), + s, + ); + function c() { + var t; + e.disabled || + (i.value + ? (o.toggleDisclosure(), null == (t = Ib(o.button)) || t.focus()) + : o.toggleDisclosure()); + } + function u(t) { + var n; + if (!e.disabled) + if (i.value) + switch (t.key) { + case Ty.Space: + case Ty.Enter: + (t.preventDefault(), + t.stopPropagation(), + o.toggleDisclosure(), + null == (n = Ib(o.button)) || n.focus()); + } + else + switch (t.key) { + case Ty.Space: + case Ty.Enter: + (t.preventDefault(), + t.stopPropagation(), + o.toggleDisclosure()); + } + } + function d(e) { + if (e.key === Ty.Space) e.preventDefault(); + } + return () => { + var r; + let a = { + open: 0 === o.disclosureState.value, + }, + { id: p, ...f } = e; + return hy({ + ourProps: i.value + ? { + ref: s, + type: l.value, + onClick: c, + onKeydown: u, + } + : { + id: null != (r = o.buttonId.value) ? r : p, + ref: s, + type: l.value, + "aria-expanded": 0 === o.disclosureState.value, + "aria-controls": + 0 === o.disclosureState.value || Ib(o.panel) + ? o.panelId.value + : void 0, + disabled: !!e.disabled || void 0, + onClick: c, + onKeydown: u, + onKeyup: d, + }, + theirProps: f, + slot: a, + attrs: t, + slots: n, + name: "DisclosureButton", + }); + }; + }, + }), + SO = ch({ + name: "DisclosurePanel", + props: { + as: { type: [Object, String], default: "div" }, + static: { + type: Boolean, + default: !1, + }, + unmount: { type: Boolean, default: !0 }, + id: { type: String, default: null }, + }, + setup(e, { attrs: t, slots: n, expose: r }) { + let o = OO("DisclosurePanel"); + (_h(() => { + null !== e.id && (o.panelId.value = e.id); + }), + $h(() => { + o.panelId.value = null; + }), + r({ el: o.panel, $el: o.panel }), + gm(wO, o.panelId)); + let a = Sy(), + i = Gg(() => + null !== a + ? (a.value & ky.Open) === ky.Open + : 0 === o.disclosureState.value, + ); + return () => { + var r; + let a = { open: 0 === o.disclosureState.value, close: o.close }, + { id: s, ...l } = e; + return hy({ + ourProps: { + id: null != (r = o.panelId.value) ? r : s, + ref: o.panel, + }, + theirProps: l, + slot: a, + attrs: t, + slots: n, + features: py.RenderStrategy | py.Static, + visible: i.value, + name: "DisclosurePanel", + }); + }; + }, + }), + _O = + /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g; + function EO(e) { + var t, n; + let r = null != (t = e.innerText) ? t : "", + o = e.cloneNode(!0); + if (!(o instanceof HTMLElement)) return r; + let a = !1; + for (let s of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]')) + (s.remove(), (a = !0)); + let i = a ? (null != (n = o.innerText) ? n : "") : r; + return (_O.test(i) && (i = i.replace(_O, "")), i); + } + function TO(e) { + let t = Wp(""), + n = Wp(""); + return () => { + let r = Ib(e); + if (!r) return ""; + let o = r.innerText; + if (t.value === o) return n.value; + let a = (function (e) { + let t = e.getAttribute("aria-label"); + if ("string" == typeof t) return t.trim(); + let n = e.getAttribute("aria-labelledby"); + if (n) { + let e = n + .split(" ") + .map((e) => { + let t = document.getElementById(e); + if (t) { + let e = t.getAttribute("aria-label"); + return "string" == typeof e ? e.trim() : EO(t).trim(); + } + return null; + }) + .filter(Boolean); + if (e.length > 0) return e.join(", "); + } + return EO(e).trim(); + })(r) + .trim() + .toLowerCase(); + return ((t.value = o), (n.value = a), a); + }; + } + function AO(e, t) { + return e === t; + } + var $O = ((e) => ( + (e[(e.Open = 0)] = "Open"), + (e[(e.Closed = 1)] = "Closed"), + e + ))($O || {}), + CO = ((e) => ( + (e[(e.Single = 0)] = "Single"), + (e[(e.Multi = 1)] = "Multi"), + e + ))(CO || {}), + PO = ((e) => ( + (e[(e.Pointer = 0)] = "Pointer"), + (e[(e.Other = 1)] = "Other"), + e + ))(PO || {}); + let DO = Symbol("ListboxContext"); + function IO(e) { + let t = vm(DO, null); + if (null === t) { + let t = new Error(`<${e} /> is missing a parent component.`); + throw (Error.captureStackTrace && Error.captureStackTrace(t, IO), t); + } + return t; + } + let MO = ch({ + name: "Listbox", + emits: { "update:modelValue": (e) => !0 }, + props: { + as: { + type: [Object, String], + default: "template", + }, + disabled: { type: [Boolean], default: !1 }, + by: { type: [String, Function], default: () => AO }, + horizontal: { type: [Boolean], default: !1 }, + modelValue: { + type: [Object, String, Number, Boolean], + default: void 0, + }, + defaultValue: { + type: [Object, String, Number, Boolean], + default: void 0, + }, + form: { type: String, optional: !0 }, + name: { type: String, optional: !0 }, + multiple: { type: [Boolean], default: !1 }, + }, + inheritAttrs: !1, + setup(e, { slots: t, attrs: n, emit: r }) { + let o = Wp(1), + a = Wp(null), + i = Wp(null), + s = Wp(null), + l = Wp([]), + c = Wp(""), + u = Wp(null), + d = Wp(1); + function p(e = (e) => e) { + let t = null !== u.value ? l.value[u.value] : null, + n = Jb(e(l.value.slice()), (e) => Ib(e.dataRef.domRef)), + r = t ? n.indexOf(t) : null; + return (-1 === r && (r = null), { options: n, activeOptionIndex: r }); + } + let f = Gg(() => (e.multiple ? 1 : 0)), + [h, m] = Eb( + Gg(() => e.modelValue), + (e) => r("update:modelValue", e), + Gg(() => e.defaultValue), + ), + g = Gg(() => + void 0 === h.value + ? Mb(f.value, { + 1: [], + 0: void 0, + }) + : h.value, + ), + v = { + listboxState: o, + value: g, + mode: f, + compare(t, n) { + if ("string" == typeof e.by) { + let r = e.by; + return ( + (null == t ? void 0 : t[r]) === (null == n ? void 0 : n[r]) + ); + } + return e.by(t, n); + }, + orientation: Gg(() => (e.horizontal ? "horizontal" : "vertical")), + labelRef: a, + buttonRef: i, + optionsRef: s, + disabled: Gg(() => e.disabled), + options: l, + searchQuery: c, + activeOptionIndex: u, + activationTrigger: d, + closeListbox() { + e.disabled || + (1 !== o.value && ((o.value = 1), (u.value = null))); + }, + openListbox() { + e.disabled || (0 !== o.value && (o.value = 0)); + }, + goToOption(t, n, r) { + if (e.disabled || 1 === o.value) return; + let a = p(), + i = Py( + t === Cy.Specific + ? { + focus: Cy.Specific, + id: n, + } + : { focus: t }, + { + resolveItems: () => a.options, + resolveActiveIndex: () => a.activeOptionIndex, + resolveId: (e) => e.id, + resolveDisabled: (e) => e.dataRef.disabled, + }, + ); + ((c.value = ""), + (u.value = i), + (d.value = null != r ? r : 1), + (l.value = a.options)); + }, + search(t) { + if (e.disabled || 1 === o.value) return; + let n = "" !== c.value ? 0 : 1; + c.value += t.toLowerCase(); + let r = ( + null !== u.value + ? l.value + .slice(u.value + n) + .concat(l.value.slice(0, u.value + n)) + : l.value + ).find( + (e) => + e.dataRef.textValue.startsWith(c.value) && + !e.dataRef.disabled, + ), + a = r ? l.value.indexOf(r) : -1; + -1 === a || a === u.value || ((u.value = a), (d.value = 1)); + }, + clearSearch() { + e.disabled || (1 !== o.value && "" !== c.value && (c.value = "")); + }, + registerOption(e, t) { + let n = p((n) => [...n, { id: e, dataRef: t }]); + ((l.value = n.options), (u.value = n.activeOptionIndex)); + }, + unregisterOption(e) { + let t = p((t) => { + let n = t.findIndex((t) => t.id === e); + return (-1 !== n && t.splice(n, 1), t); + }); + ((l.value = t.options), + (u.value = t.activeOptionIndex), + (d.value = 1)); + }, + theirOnChange(t) { + e.disabled || m(t); + }, + select(t) { + e.disabled || + m( + Mb(f.value, { + 0: () => t, + 1: () => { + let e = qp(v.value.value).slice(), + n = qp(t), + r = e.findIndex((e) => v.compare(n, qp(e))); + return (-1 === r ? e.push(n) : e.splice(r, 1), e); + }, + }), + ); + }, + }; + (ay( + [i, s], + (e, t) => { + var n; + (v.closeListbox(), + Wb(t, Hb.Loose) || + (e.preventDefault(), null == (n = Ib(i)) || n.focus())); + }, + Gg(() => 0 === o.value), + ), + gm(DO, v), + _y(Gg(() => Mb(o.value, { 0: ky.Open, 1: ky.Closed })))); + let b = Gg(() => { + var e; + return null == (e = Ib(i)) ? void 0 : e.closest("form"); + }); + return ( + _h(() => { + Vm( + [b], + () => { + if (b.value && void 0 !== e.defaultValue) + return ( + b.value.addEventListener("reset", t), + () => { + var e; + null == (e = b.value) || + e.removeEventListener("reset", t); + } + ); + function t() { + v.theirOnChange(e.defaultValue); + } + }, + { immediate: !0 }, + ); + }), + () => { + let { name: r, modelValue: a, disabled: i, form: s, ...l } = e, + c = { open: 0 === o.value, disabled: i, value: g.value }; + return Yg(ig, [ + ...(null != r && null != g.value + ? Dy({ + [r]: g.value, + }).map(([e, t]) => + Yg( + wy, + by({ + features: Oy.Hidden, + key: e, + as: "input", + type: "hidden", + hidden: !0, + readOnly: !0, + form: s, + disabled: i, + name: e, + value: t, + }), + ), + ) + : []), + hy({ + ourProps: {}, + theirProps: { + ...n, + ...yy(l, [ + "defaultValue", + "onUpdate:modelValue", + "horizontal", + "multiple", + "by", + ]), + }, + slot: c, + slots: t, + attrs: n, + name: "Listbox", + }), + ]); + } + ); + }, + }), + NO = ch({ + name: "ListboxLabel", + props: { + as: { type: [Object, String], default: "label" }, + id: { type: String, default: null }, + }, + setup(e, { attrs: t, slots: n }) { + var r; + let o = null != (r = e.id) ? r : `headlessui-listbox-label-${Db()}`, + a = IO("ListboxLabel"); + function i() { + var e; + null == (e = Ib(a.buttonRef)) || e.focus({ preventScroll: !0 }); + } + return () => { + let r = { + open: 0 === a.listboxState.value, + disabled: a.disabled.value, + }, + { ...s } = e; + return hy({ + ourProps: { id: o, ref: a.labelRef, onClick: i }, + theirProps: s, + slot: r, + attrs: t, + slots: n, + name: "ListboxLabel", + }); + }; + }, + }), + RO = ch({ + name: "ListboxButton", + props: { + as: { type: [Object, String], default: "button" }, + id: { type: String, default: null }, + }, + setup(e, { attrs: t, slots: n, expose: r }) { + var o; + let a = null != (o = e.id) ? o : `headlessui-listbox-button-${Db()}`, + i = IO("ListboxButton"); + function s(e) { + switch (e.key) { + case Ty.Space: + case Ty.Enter: + case Ty.ArrowDown: + (e.preventDefault(), + i.openListbox(), + Sf(() => { + var e; + (null == (e = Ib(i.optionsRef)) || + e.focus({ preventScroll: !0 }), + i.value.value || i.goToOption(Cy.First)); + })); + break; + case Ty.ArrowUp: + (e.preventDefault(), + i.openListbox(), + Sf(() => { + var e; + (null == (e = Ib(i.optionsRef)) || + e.focus({ preventScroll: !0 }), + i.value.value || i.goToOption(Cy.Last)); + })); + } + } + function l(e) { + if (e.key === Ty.Space) e.preventDefault(); + } + function c(e) { + i.disabled.value || + (0 === i.listboxState.value + ? (i.closeListbox(), + Sf(() => { + var e; + return null == (e = Ib(i.buttonRef)) + ? void 0 + : e.focus({ preventScroll: !0 }); + })) + : (e.preventDefault(), + i.openListbox(), + (function (e) { + requestAnimationFrame(() => requestAnimationFrame(e)); + })(() => { + var e; + return null == (e = Ib(i.optionsRef)) + ? void 0 + : e.focus({ preventScroll: !0 }); + }))); + } + r({ + el: i.buttonRef, + $el: i.buttonRef, + }); + let u = sy( + Gg(() => ({ as: e.as, type: t.type })), + i.buttonRef, + ); + return () => { + var r, o; + let d = { + open: 0 === i.listboxState.value, + disabled: i.disabled.value, + value: i.value.value, + }, + { ...p } = e; + return hy({ + ourProps: { + ref: i.buttonRef, + id: a, + type: u.value, + "aria-haspopup": "listbox", + "aria-controls": null == (r = Ib(i.optionsRef)) ? void 0 : r.id, + "aria-expanded": 0 === i.listboxState.value, + "aria-labelledby": i.labelRef.value + ? [null == (o = Ib(i.labelRef)) ? void 0 : o.id, a].join(" ") + : void 0, + disabled: !0 === i.disabled.value || void 0, + onKeydown: s, + onKeyup: l, + onClick: c, + }, + theirProps: p, + slot: d, + attrs: t, + slots: n, + name: "ListboxButton", + }); + }; + }, + }), + jO = ch({ + name: "ListboxOptions", + props: { + as: { type: [Object, String], default: "ul" }, + static: { + type: Boolean, + default: !1, + }, + unmount: { type: Boolean, default: !0 }, + id: { type: String, default: null }, + }, + setup(e, { attrs: t, slots: n, expose: r }) { + var o; + let a = null != (o = e.id) ? o : `headlessui-listbox-options-${Db()}`, + i = IO("ListboxOptions"), + s = Wp(null); + function l(e) { + switch ((s.value && clearTimeout(s.value), e.key)) { + case Ty.Space: + if ("" !== i.searchQuery.value) + return ( + e.preventDefault(), + e.stopPropagation(), + i.search(e.key) + ); + case Ty.Enter: + if ( + (e.preventDefault(), + e.stopPropagation(), + null !== i.activeOptionIndex.value) + ) { + let e = i.options.value[i.activeOptionIndex.value]; + i.select(e.dataRef.value); + } + 0 === i.mode.value && + (i.closeListbox(), + Sf(() => { + var e; + return null == (e = Ib(i.buttonRef)) + ? void 0 + : e.focus({ preventScroll: !0 }); + })); + break; + case Mb(i.orientation.value, { + vertical: Ty.ArrowDown, + horizontal: Ty.ArrowRight, + }): + return ( + e.preventDefault(), + e.stopPropagation(), + i.goToOption(Cy.Next) + ); + case Mb(i.orientation.value, { + vertical: Ty.ArrowUp, + horizontal: Ty.ArrowLeft, + }): + return ( + e.preventDefault(), + e.stopPropagation(), + i.goToOption(Cy.Previous) + ); + case Ty.Home: + case Ty.PageUp: + return ( + e.preventDefault(), + e.stopPropagation(), + i.goToOption(Cy.First) + ); + case Ty.End: + case Ty.PageDown: + return ( + e.preventDefault(), + e.stopPropagation(), + i.goToOption(Cy.Last) + ); + case Ty.Escape: + (e.preventDefault(), + e.stopPropagation(), + i.closeListbox(), + Sf(() => { + var e; + return null == (e = Ib(i.buttonRef)) + ? void 0 + : e.focus({ preventScroll: !0 }); + })); + break; + case Ty.Tab: + (e.preventDefault(), e.stopPropagation()); + break; + default: + 1 === e.key.length && + (i.search(e.key), + (s.value = setTimeout(() => i.clearSearch(), 350))); + } + } + r({ el: i.optionsRef, $el: i.optionsRef }); + let c = Sy(), + u = Gg(() => + null !== c + ? (c.value & ky.Open) === ky.Open + : 0 === i.listboxState.value, + ); + return () => { + var r, o; + let s = { open: 0 === i.listboxState.value }, + { ...c } = e; + return hy({ + ourProps: { + "aria-activedescendant": + null === i.activeOptionIndex.value || + null == (r = i.options.value[i.activeOptionIndex.value]) + ? void 0 + : r.id, + "aria-multiselectable": 1 === i.mode.value || void 0, + "aria-labelledby": null == (o = Ib(i.buttonRef)) ? void 0 : o.id, + "aria-orientation": i.orientation.value, + id: a, + onKeydown: l, + role: "listbox", + tabIndex: 0, + ref: i.optionsRef, + }, + theirProps: c, + slot: s, + attrs: t, + slots: n, + features: py.RenderStrategy | py.Static, + visible: u.value, + name: "ListboxOptions", + }); + }; + }, + }), + LO = ch({ + name: "ListboxOption", + props: { + as: { type: [Object, String], default: "li" }, + value: { type: [Object, String, Number, Boolean] }, + disabled: { type: Boolean, default: !1 }, + id: { type: String, default: null }, + }, + setup(e, { slots: t, attrs: n, expose: r }) { + var o; + let a = null != (o = e.id) ? o : `headlessui-listbox-option-${Db()}`, + i = IO("ListboxOption"), + s = Wp(null); + r({ el: s, $el: s }); + let l = Gg( + () => + null !== i.activeOptionIndex.value && + i.options.value[i.activeOptionIndex.value].id === a, + ), + c = Gg(() => + Mb(i.mode.value, { + 0: () => i.compare(qp(i.value.value), qp(e.value)), + 1: () => + qp(i.value.value).some((t) => i.compare(qp(t), qp(e.value))), + }), + ), + u = Gg(() => + Mb(i.mode.value, { + 1: () => { + var e; + let t = qp(i.value.value); + return ( + (null == + (e = i.options.value.find((e) => + t.some((t) => i.compare(qp(t), qp(e.dataRef.value))), + )) + ? void 0 + : e.id) === a + ); + }, + 0: () => c.value, + }), + ), + d = TO(s), + p = Gg(() => ({ + disabled: e.disabled, + value: e.value, + get textValue() { + return d(); + }, + domRef: s, + })); + function f(t) { + if (e.disabled) return t.preventDefault(); + (i.select(e.value), + 0 === i.mode.value && + (i.closeListbox(), + Sf(() => { + var e; + return null == (e = Ib(i.buttonRef)) + ? void 0 + : e.focus({ preventScroll: !0 }); + }))); + } + function h() { + if (e.disabled) return i.goToOption(Cy.Nothing); + i.goToOption(Cy.Specific, a); + } + (_h(() => i.registerOption(a, p)), + $h(() => i.unregisterOption(a)), + _h(() => { + Vm( + [i.listboxState, c], + () => { + 0 === i.listboxState.value && + c.value && + Mb(i.mode.value, { + 1: () => { + u.value && i.goToOption(Cy.Specific, a); + }, + 0: () => { + i.goToOption(Cy.Specific, a); + }, + }); + }, + { immediate: !0 }, + ); + }), + qm(() => { + 0 === i.listboxState.value && + l.value && + 0 !== i.activationTrigger.value && + Sf(() => { + var e, t; + return null == + (t = null == (e = Ib(s)) ? void 0 : e.scrollIntoView) + ? void 0 + : t.call(e, { + block: "nearest", + }); + }); + })); + let m = cy(); + function g(e) { + m.update(e); + } + function v(t) { + m.wasMoved(t) && + (e.disabled || l.value || i.goToOption(Cy.Specific, a, 0)); + } + function b(t) { + m.wasMoved(t) && + (e.disabled || (l.value && i.goToOption(Cy.Nothing))); + } + return () => { + let { disabled: r } = e, + o = { active: l.value, selected: c.value, disabled: r }, + { value: i, disabled: u, ...d } = e; + return hy({ + ourProps: { + id: a, + ref: s, + role: "option", + tabIndex: !0 === r ? void 0 : -1, + "aria-disabled": !0 === r || void 0, + "aria-selected": c.value, + disabled: void 0, + onClick: f, + onFocus: h, + onPointerenter: g, + onMouseenter: g, + onPointermove: v, + onMousemove: v, + onPointerleave: b, + onMouseleave: b, + }, + theirProps: d, + slot: o, + attrs: n, + slots: t, + name: "ListboxOption", + }); + }; + }, + }); + var UO = ((e) => ( + (e[(e.Open = 0)] = "Open"), + (e[(e.Closed = 1)] = "Closed"), + e + ))(UO || {}), + BO = ((e) => ( + (e[(e.Pointer = 0)] = "Pointer"), + (e[(e.Other = 1)] = "Other"), + e + ))(BO || {}); + let FO = Symbol("MenuContext"); + function zO(e) { + let t = vm(FO, null); + if (null === t) { + let t = new Error(`<${e} /> is missing a parent component.`); + throw (Error.captureStackTrace && Error.captureStackTrace(t, zO), t); + } + return t; + } + let QO = ch({ + name: "Menu", + props: { as: { type: [Object, String], default: "template" } }, + setup(e, { slots: t, attrs: n }) { + let r = Wp(1), + o = Wp(null), + a = Wp(null), + i = Wp([]), + s = Wp(""), + l = Wp(null), + c = Wp(1); + function u(e = (e) => e) { + let t = null !== l.value ? i.value[l.value] : null, + n = Jb(e(i.value.slice()), (e) => Ib(e.dataRef.domRef)), + r = t ? n.indexOf(t) : null; + return (-1 === r && (r = null), { items: n, activeItemIndex: r }); + } + let d = { + menuState: r, + buttonRef: o, + itemsRef: a, + items: i, + searchQuery: s, + activeItemIndex: l, + activationTrigger: c, + closeMenu: () => { + ((r.value = 1), (l.value = null)); + }, + openMenu: () => (r.value = 0), + goToItem(e, t, n) { + let r = u(), + o = Py( + e === Cy.Specific + ? { + focus: Cy.Specific, + id: t, + } + : { focus: e }, + { + resolveItems: () => r.items, + resolveActiveIndex: () => r.activeItemIndex, + resolveId: (e) => e.id, + resolveDisabled: (e) => e.dataRef.disabled, + }, + ); + ((s.value = ""), + (l.value = o), + (c.value = null != n ? n : 1), + (i.value = r.items)); + }, + search(e) { + let t = "" !== s.value ? 0 : 1; + s.value += e.toLowerCase(); + let n = ( + null !== l.value + ? i.value + .slice(l.value + t) + .concat(i.value.slice(0, l.value + t)) + : i.value + ).find( + (e) => + e.dataRef.textValue.startsWith(s.value) && + !e.dataRef.disabled, + ), + r = n ? i.value.indexOf(n) : -1; + -1 === r || r === l.value || ((l.value = r), (c.value = 1)); + }, + clearSearch() { + s.value = ""; + }, + registerItem(e, t) { + let n = u((n) => [...n, { id: e, dataRef: t }]); + ((i.value = n.items), (l.value = n.activeItemIndex), (c.value = 1)); + }, + unregisterItem(e) { + let t = u((t) => { + let n = t.findIndex((t) => t.id === e); + return (-1 !== n && t.splice(n, 1), t); + }); + ((i.value = t.items), (l.value = t.activeItemIndex), (c.value = 1)); + }, + }; + return ( + ay( + [o, a], + (e, t) => { + var n; + (d.closeMenu(), + Wb(t, Hb.Loose) || + (e.preventDefault(), null == (n = Ib(o)) || n.focus())); + }, + Gg(() => 0 === r.value), + ), + gm(FO, d), + _y(Gg(() => Mb(r.value, { 0: ky.Open, 1: ky.Closed }))), + () => { + let o = { open: 0 === r.value, close: d.closeMenu }; + return hy({ + ourProps: {}, + theirProps: e, + slot: o, + slots: t, + attrs: n, + name: "Menu", + }); + } + ); + }, + }), + qO = ch({ + name: "MenuButton", + props: { + disabled: { type: Boolean, default: !1 }, + as: { type: [Object, String], default: "button" }, + id: { type: String, default: null }, + }, + setup(e, { attrs: t, slots: n, expose: r }) { + var o; + let a = null != (o = e.id) ? o : `headlessui-menu-button-${Db()}`, + i = zO("MenuButton"); + function s(e) { + switch (e.key) { + case Ty.Space: + case Ty.Enter: + case Ty.ArrowDown: + (e.preventDefault(), + e.stopPropagation(), + i.openMenu(), + Sf(() => { + var e; + (null == (e = Ib(i.itemsRef)) || + e.focus({ preventScroll: !0 }), + i.goToItem(Cy.First)); + })); + break; + case Ty.ArrowUp: + (e.preventDefault(), + e.stopPropagation(), + i.openMenu(), + Sf(() => { + var e; + (null == (e = Ib(i.itemsRef)) || + e.focus({ preventScroll: !0 }), + i.goToItem(Cy.Last)); + })); + } + } + function l(e) { + if (e.key === Ty.Space) e.preventDefault(); + } + function c(t) { + e.disabled || + (0 === i.menuState.value + ? (i.closeMenu(), + Sf(() => { + var e; + return null == (e = Ib(i.buttonRef)) + ? void 0 + : e.focus({ preventScroll: !0 }); + })) + : (t.preventDefault(), + i.openMenu(), + (function (e) { + requestAnimationFrame(() => requestAnimationFrame(e)); + })(() => { + var e; + return null == (e = Ib(i.itemsRef)) + ? void 0 + : e.focus({ preventScroll: !0 }); + }))); + } + r({ + el: i.buttonRef, + $el: i.buttonRef, + }); + let u = sy( + Gg(() => ({ as: e.as, type: t.type })), + i.buttonRef, + ); + return () => { + var r; + let o = { open: 0 === i.menuState.value }, + { ...d } = e; + return hy({ + ourProps: { + ref: i.buttonRef, + id: a, + type: u.value, + "aria-haspopup": "menu", + "aria-controls": null == (r = Ib(i.itemsRef)) ? void 0 : r.id, + "aria-expanded": 0 === i.menuState.value, + onKeydown: s, + onKeyup: l, + onClick: c, + }, + theirProps: d, + slot: o, + attrs: t, + slots: n, + name: "MenuButton", + }); + }; + }, + }), + VO = ch({ + name: "MenuItems", + props: { + as: { type: [Object, String], default: "div" }, + static: { + type: Boolean, + default: !1, + }, + unmount: { type: Boolean, default: !0 }, + id: { type: String, default: null }, + }, + setup(e, { attrs: t, slots: n, expose: r }) { + var o; + let a = null != (o = e.id) ? o : `headlessui-menu-items-${Db()}`, + i = zO("MenuItems"), + s = Wp(null); + function l(e) { + var t; + switch ((s.value && clearTimeout(s.value), e.key)) { + case Ty.Space: + if ("" !== i.searchQuery.value) + return ( + e.preventDefault(), + e.stopPropagation(), + i.search(e.key) + ); + case Ty.Enter: + if ( + (e.preventDefault(), + e.stopPropagation(), + null !== i.activeItemIndex.value) + ) { + null == + (t = Ib( + i.items.value[i.activeItemIndex.value].dataRef.domRef, + )) || t.click(); + } + (i.closeMenu(), Xb(Ib(i.buttonRef))); + break; + case Ty.ArrowDown: + return ( + e.preventDefault(), + e.stopPropagation(), + i.goToItem(Cy.Next) + ); + case Ty.ArrowUp: + return ( + e.preventDefault(), + e.stopPropagation(), + i.goToItem(Cy.Previous) + ); + case Ty.Home: + case Ty.PageUp: + return ( + e.preventDefault(), + e.stopPropagation(), + i.goToItem(Cy.First) + ); + case Ty.End: + case Ty.PageDown: + return ( + e.preventDefault(), + e.stopPropagation(), + i.goToItem(Cy.Last) + ); + case Ty.Escape: + (e.preventDefault(), + e.stopPropagation(), + i.closeMenu(), + Sf(() => { + var e; + return null == (e = Ib(i.buttonRef)) + ? void 0 + : e.focus({ preventScroll: !0 }); + })); + break; + case Ty.Tab: + (e.preventDefault(), + e.stopPropagation(), + i.closeMenu(), + Sf(() => + (function (e, t) { + return ey(Zb(), t, { relativeTo: e }); + })(Ib(i.buttonRef), e.shiftKey ? Qb.Previous : Qb.Next), + )); + break; + default: + 1 === e.key.length && + (i.search(e.key), + (s.value = setTimeout(() => i.clearSearch(), 350))); + } + } + function c(e) { + if (e.key === Ty.Space) e.preventDefault(); + } + (r({ el: i.itemsRef, $el: i.itemsRef }), + uy({ + container: Gg(() => Ib(i.itemsRef)), + enabled: Gg(() => 0 === i.menuState.value), + accept: (e) => + "menuitem" === e.getAttribute("role") + ? NodeFilter.FILTER_REJECT + : e.hasAttribute("role") + ? NodeFilter.FILTER_SKIP + : NodeFilter.FILTER_ACCEPT, + walk(e) { + e.setAttribute("role", "none"); + }, + })); + let u = Sy(), + d = Gg(() => + null !== u + ? (u.value & ky.Open) === ky.Open + : 0 === i.menuState.value, + ); + return () => { + var r, o; + let s = { open: 0 === i.menuState.value }, + { ...u } = e; + return hy({ + ourProps: { + "aria-activedescendant": + null === i.activeItemIndex.value || + null == (r = i.items.value[i.activeItemIndex.value]) + ? void 0 + : r.id, + "aria-labelledby": null == (o = Ib(i.buttonRef)) ? void 0 : o.id, + id: a, + onKeydown: l, + onKeyup: c, + role: "menu", + tabIndex: 0, + ref: i.itemsRef, + }, + theirProps: u, + slot: s, + attrs: t, + slots: n, + features: py.RenderStrategy | py.Static, + visible: d.value, + name: "MenuItems", + }); + }; + }, + }), + ZO = ch({ + name: "MenuItem", + inheritAttrs: !1, + props: { + as: { type: [Object, String], default: "template" }, + disabled: { type: Boolean, default: !1 }, + id: { type: String, default: null }, + }, + setup(e, { slots: t, attrs: n, expose: r }) { + var o; + let a = null != (o = e.id) ? o : `headlessui-menu-item-${Db()}`, + i = zO("MenuItem"), + s = Wp(null); + r({ el: s, $el: s }); + let l = Gg( + () => + null !== i.activeItemIndex.value && + i.items.value[i.activeItemIndex.value].id === a, + ), + c = TO(s), + u = Gg(() => ({ + disabled: e.disabled, + get textValue() { + return c(); + }, + domRef: s, + })); + function d(t) { + if (e.disabled) return t.preventDefault(); + (i.closeMenu(), Xb(Ib(i.buttonRef))); + } + function p() { + if (e.disabled) return i.goToItem(Cy.Nothing); + i.goToItem(Cy.Specific, a); + } + (_h(() => i.registerItem(a, u)), + $h(() => i.unregisterItem(a)), + qm(() => { + 0 === i.menuState.value && + l.value && + 0 !== i.activationTrigger.value && + Sf(() => { + var e, t; + return null == + (t = null == (e = Ib(s)) ? void 0 : e.scrollIntoView) + ? void 0 + : t.call(e, { + block: "nearest", + }); + }); + })); + let f = cy(); + function h(e) { + f.update(e); + } + function m(t) { + f.wasMoved(t) && + (e.disabled || l.value || i.goToItem(Cy.Specific, a, 0)); + } + function g(t) { + f.wasMoved(t) && (e.disabled || (l.value && i.goToItem(Cy.Nothing))); + } + return () => { + let { disabled: r, ...o } = e, + c = { active: l.value, disabled: r, close: i.closeMenu }; + return hy({ + ourProps: { + id: a, + ref: s, + role: "menuitem", + tabIndex: !0 === r ? void 0 : -1, + "aria-disabled": !0 === r || void 0, + onClick: d, + onFocus: p, + onPointerenter: h, + onMouseenter: h, + onPointermove: m, + onMousemove: m, + onPointerleave: g, + onMouseleave: g, + }, + theirProps: { ...n, ...o }, + slot: c, + attrs: n, + slots: t, + name: "MenuItem", + }); + }; + }, + }); + var HO, + WO = + (((HO = WO || {})[(HO.Open = 0)] = "Open"), + (HO[(HO.Closed = 1)] = "Closed"), + HO); + let XO = Symbol("PopoverContext"); + function GO(e) { + let t = vm(XO, null); + if (null === t) { + let t = new Error( + `<${e} /> is missing a parent <${ew.name} /> component.`, + ); + throw (Error.captureStackTrace && Error.captureStackTrace(t, GO), t); + } + return t; + } + let YO = Symbol("PopoverGroupContext"); + function KO() { + return vm(YO, null); + } + let JO = Symbol("PopoverPanelContext"); + let ew = ch({ + name: "Popover", + inheritAttrs: !1, + props: { as: { type: [Object, String], default: "div" } }, + setup(e, { slots: t, attrs: n, expose: r }) { + var o; + let a = Wp(null); + r({ el: a, $el: a }); + let i = Wp(1), + s = Wp(null), + l = Wp(null), + c = Wp(null), + u = Wp(null), + d = Gg(() => Lb(a)), + p = Gg(() => { + var e, t; + if (!Ib(s) || !Ib(u)) return !1; + for (let c of document.querySelectorAll("body > *")) + if ( + Number(null == c ? void 0 : c.contains(Ib(s))) ^ + Number(null == c ? void 0 : c.contains(Ib(u))) + ) + return !0; + let n = Zb(), + r = n.indexOf(Ib(s)), + o = (r + n.length - 1) % n.length, + a = (r + 1) % n.length, + i = n[o], + l = n[a]; + return !( + (null != (e = Ib(u)) && e.contains(i)) || + (null != (t = Ib(u)) && t.contains(l)) + ); + }), + f = { + popoverState: i, + buttonId: Wp(null), + panelId: Wp(null), + panel: u, + button: s, + isPortalled: p, + beforePanelSentinel: l, + afterPanelSentinel: c, + togglePopover() { + i.value = Mb(i.value, { 0: 1, 1: 0 }); + }, + closePopover() { + 1 !== i.value && (i.value = 1); + }, + close(e) { + f.closePopover(); + let t = e + ? e instanceof HTMLElement + ? e + : e.value instanceof HTMLElement + ? Ib(e) + : Ib(f.button) + : Ib(f.button); + null == t || t.focus(); + }, + }; + (gm(XO, f), _y(Gg(() => Mb(i.value, { 0: ky.Open, 1: ky.Closed })))); + let h = { + buttonId: f.buttonId, + panelId: f.panelId, + close() { + f.closePopover(); + }, + }, + m = KO(), + g = null == m ? void 0 : m.registerPopover, + [v, b] = sO(), + y = Xy({ + mainTreeNodeRef: null == m ? void 0 : m.mainTreeNodeRef, + portals: v, + defaultContainers: [s, u], + }); + return ( + qm(() => (null == g ? void 0 : g(h))), + Ny( + null == (o = d.value) ? void 0 : o.defaultView, + "focus", + (e) => { + var t, n; + e.target !== window && + e.target instanceof HTMLElement && + 0 === i.value && + ((function () { + var e, t, n, r; + return null != + (r = null == m ? void 0 : m.isFocusWithinPopoverGroup()) + ? r + : (null == (e = d.value) ? void 0 : e.activeElement) && + ((null == (t = Ib(s)) + ? void 0 + : t.contains(d.value.activeElement)) || + (null == (n = Ib(u)) + ? void 0 + : n.contains(d.value.activeElement))); + })() || + (s && + u && + (y.contains(e.target) || + (null != (t = Ib(f.beforePanelSentinel)) && + t.contains(e.target)) || + (null != (n = Ib(f.afterPanelSentinel)) && + n.contains(e.target)) || + f.closePopover()))); + }, + !0, + ), + ay( + y.resolveContainers, + (e, t) => { + var n; + (f.closePopover(), + Wb(t, Hb.Loose) || + (e.preventDefault(), null == (n = Ib(s)) || n.focus())); + }, + Gg(() => 0 === i.value), + ), + () => { + let r = { + open: 0 === i.value, + close: f.close, + }; + return Yg(ig, [ + Yg(b, {}, () => + hy({ + theirProps: { ...e, ...n }, + ourProps: { ref: a }, + slot: r, + slots: t, + attrs: n, + name: "Popover", + }), + ), + Yg(y.MainTreeNode), + ]); + } + ); + }, + }), + tw = ch({ + name: "PopoverButton", + props: { + as: { + type: [Object, String], + default: "button", + }, + disabled: { type: [Boolean], default: !1 }, + id: { + type: String, + default: null, + }, + }, + inheritAttrs: !1, + setup(e, { attrs: t, slots: n, expose: r }) { + var o; + let a = null != (o = e.id) ? o : `headlessui-popover-button-${Db()}`, + i = GO("PopoverButton"), + s = Gg(() => Lb(i.button)); + (r({ el: i.button, $el: i.button }), + _h(() => { + i.buttonId.value = a; + }), + $h(() => { + i.buttonId.value = null; + })); + let l = KO(), + c = null == l ? void 0 : l.closeOthers, + u = vm(JO, null), + d = Gg(() => null !== u && u.value === i.panelId.value), + p = Wp(null), + f = `headlessui-focus-sentinel-${Db()}`; + d.value || + qm(() => { + i.button.value = Ib(p); + }); + let h = sy( + Gg(() => ({ as: e.as, type: t.type })), + p, + ); + function m(e) { + var t, n, r, o, a; + if (d.value) { + if (1 === i.popoverState.value) return; + switch (e.key) { + case Ty.Space: + case Ty.Enter: + (e.preventDefault(), + null == (n = (t = e.target).click) || n.call(t), + i.closePopover(), + null == (r = Ib(i.button)) || r.focus()); + } + } else + switch (e.key) { + case Ty.Space: + case Ty.Enter: + (e.preventDefault(), + e.stopPropagation(), + 1 === i.popoverState.value && + (null == c || c(i.buttonId.value)), + i.togglePopover()); + break; + case Ty.Escape: + if (0 !== i.popoverState.value) + return null == c ? void 0 : c(i.buttonId.value); + if ( + !Ib(i.button) || + (null != (o = s.value) && + o.activeElement && + (null == (a = Ib(i.button)) || + !a.contains(s.value.activeElement))) + ) + return; + (e.preventDefault(), e.stopPropagation(), i.closePopover()); + } + } + function g(e) { + d.value || (e.key === Ty.Space && e.preventDefault()); + } + function v(t) { + var n, r; + e.disabled || + (d.value + ? (i.closePopover(), null == (n = Ib(i.button)) || n.focus()) + : (t.preventDefault(), + t.stopPropagation(), + 1 === i.popoverState.value && + (null == c || c(i.buttonId.value)), + i.togglePopover(), + null == (r = Ib(i.button)) || r.focus())); + } + function b(e) { + (e.preventDefault(), e.stopPropagation()); + } + let y = jy(); + function O() { + let e = Ib(i.panel); + e && + Mb(y.value, { + [Ry.Forwards]: () => ey(e, Qb.First), + [Ry.Backwards]: () => ey(e, Qb.Last), + }) === qb.Error && + ey( + Zb().filter((e) => "true" !== e.dataset.headlessuiFocusGuard), + Mb(y.value, { + [Ry.Forwards]: Qb.Next, + [Ry.Backwards]: Qb.Previous, + }), + { relativeTo: Ib(i.button) }, + ); + } + return () => { + let r = 0 === i.popoverState.value, + o = { open: r }, + { ...s } = e, + l = d.value + ? { ref: p, type: h.value, onKeydown: m, onClick: v } + : { + ref: p, + id: a, + type: h.value, + "aria-expanded": 0 === i.popoverState.value, + "aria-controls": Ib(i.panel) ? i.panelId.value : void 0, + disabled: !!e.disabled || void 0, + onKeydown: m, + onKeyup: g, + onClick: v, + onMousedown: b, + }; + return Yg(ig, [ + hy({ + ourProps: l, + theirProps: { ...t, ...s }, + slot: o, + attrs: t, + slots: n, + name: "PopoverButton", + }), + r && + !d.value && + i.isPortalled.value && + Yg(wy, { + id: f, + features: Oy.Focusable, + "data-headlessui-focus-guard": !0, + as: "button", + type: "button", + onFocus: O, + }), + ]); + }; + }, + }), + nw = ch({ + name: "PopoverPanel", + props: { + as: { + type: [Object, String], + default: "div", + }, + static: { type: Boolean, default: !1 }, + unmount: { + type: Boolean, + default: !0, + }, + focus: { type: Boolean, default: !1 }, + id: { type: String, default: null }, + }, + inheritAttrs: !1, + setup(e, { attrs: t, slots: n, expose: r }) { + var o; + let a = null != (o = e.id) ? o : `headlessui-popover-panel-${Db()}`, + { focus: i } = e, + s = GO("PopoverPanel"), + l = Gg(() => Lb(s.panel)), + c = `headlessui-focus-sentinel-before-${Db()}`, + u = `headlessui-focus-sentinel-after-${Db()}`; + (r({ el: s.panel, $el: s.panel }), + _h(() => { + s.panelId.value = a; + }), + $h(() => { + s.panelId.value = null; + }), + gm(JO, s.panelId), + qm(() => { + var e, t; + if (!i || 0 !== s.popoverState.value || !s.panel) return; + let n = null == (e = l.value) ? void 0 : e.activeElement; + (null != (t = Ib(s.panel)) && t.contains(n)) || + ey(Ib(s.panel), Qb.First); + })); + let d = Sy(), + p = Gg(() => + null !== d + ? (d.value & ky.Open) === ky.Open + : 0 === s.popoverState.value, + ); + function f(e) { + var t, n; + if (e.key === Ty.Escape) { + if ( + 0 !== s.popoverState.value || + !Ib(s.panel) || + (l.value && + (null == (t = Ib(s.panel)) || + !t.contains(l.value.activeElement))) + ) + return; + (e.preventDefault(), + e.stopPropagation(), + s.closePopover(), + null == (n = Ib(s.button)) || n.focus()); + } + } + function h(e) { + var t, n, r, o, a; + let i = e.relatedTarget; + i && + Ib(s.panel) && + ((null != (t = Ib(s.panel)) && t.contains(i)) || + (s.closePopover(), + ((null != + (r = + null == (n = Ib(s.beforePanelSentinel)) + ? void 0 + : n.contains) && + r.call(n, i)) || + (null != + (a = + null == (o = Ib(s.afterPanelSentinel)) + ? void 0 + : o.contains) && + a.call(o, i))) && + i.focus({ + preventScroll: !0, + }))); + } + let m = jy(); + function g() { + let e = Ib(s.panel); + e && + Mb(m.value, { + [Ry.Forwards]: () => { + var t; + ey(e, Qb.First) === qb.Error && + (null == (t = Ib(s.afterPanelSentinel)) || t.focus()); + }, + [Ry.Backwards]: () => { + var e; + null == (e = Ib(s.button)) || e.focus({ preventScroll: !0 }); + }, + }); + } + function v() { + let e = Ib(s.panel); + e && + Mb(m.value, { + [Ry.Forwards]: () => { + let e = Ib(s.button), + t = Ib(s.panel); + if (!e) return; + let n = Zb(), + r = n.indexOf(e), + o = n.slice(0, r + 1), + a = [...n.slice(r + 1), ...o]; + for (let i of a.slice()) + if ( + "true" === i.dataset.headlessuiFocusGuard || + (null != t && t.contains(i)) + ) { + let e = a.indexOf(i); + -1 !== e && a.splice(e, 1); + } + ey(a, Qb.First, { sorted: !1 }); + }, + [Ry.Backwards]: () => { + var t; + ey(e, Qb.Previous) === qb.Error && + (null == (t = Ib(s.button)) || t.focus()); + }, + }); + } + return () => { + let r = { open: 0 === s.popoverState.value, close: s.close }, + { focus: o, ...l } = e; + return hy({ + ourProps: { + ref: s.panel, + id: a, + onKeydown: f, + onFocusout: i && 0 === s.popoverState.value ? h : void 0, + tabIndex: -1, + }, + theirProps: { ...t, ...l }, + attrs: t, + slot: r, + slots: { + ...n, + default: (...e) => { + var t; + return [ + Yg(ig, [ + p.value && + s.isPortalled.value && + Yg(wy, { + id: c, + ref: s.beforePanelSentinel, + features: Oy.Focusable, + "data-headlessui-focus-guard": !0, + as: "button", + type: "button", + onFocus: g, + }), + null == (t = n.default) ? void 0 : t.call(n, ...e), + p.value && + s.isPortalled.value && + Yg(wy, { + id: u, + ref: s.afterPanelSentinel, + features: Oy.Focusable, + "data-headlessui-focus-guard": !0, + as: "button", + type: "button", + onFocus: v, + }), + ]), + ]; + }, + }, + features: py.RenderStrategy | py.Static, + visible: p.value, + name: "PopoverPanel", + }); + }; + }, + }), + rw = Symbol("LabelContext"); + function ow() { + let e = vm(rw, null); + if (null === e) { + let e = new Error( + "You used a