diff --git a/README.md b/README.md
index 19647fd..e769da0 100644
--- a/README.md
+++ b/README.md
@@ -24,13 +24,29 @@
## Instalação
+### Usando Bun
+
+Execute no terminal do seu projeto consumidor:
+
```bash
-pnpm add eli-vue
+# Instala a biblioteca eli-vue diretamente do repositório Git
+bun add git+https://git2.idz.one/publico/vue-componentes.git
+
# Dependências (Peer Dependencies)
-pnpm add vue vuetify lucide-vue-next leaflet
-pnpm add -D @types/leaflet
+bun add vue vuetify lucide-vue-next leaflet
+bun add -d @types/leaflet
```
+> **💡 Como o pacote é registrado no `package.json`**:
+> O Bun clona o repositório `vue-componentes.git`, identifica o nome `"eli-vue"` no `package.json` e registra a dependência automaticamente como:
+> ```json
+> "dependencies": {
+> "eli-vue": "git+https://git2.idz.one/publico/vue-componentes.git"
+> }
+> ```
+>
+> ⚠️ **Importante**: Não adicione o nome `eli-vue` como parâmetro extra no comando (isto é, evite `bun add git+... eli-vue`). O Bun trataria `eli-vue` como um segundo pacote a ser buscado no registro público do npm, gerando erro `404 Not Found`.
+
Certifique-se de que seu projeto esteja configurado com Vuetify 3.
> **Nota**: O CSS do Leaflet é incluído automaticamente no bundle do eli-vue. Não é necessário importar `leaflet/dist/leaflet.css` manualmente.
diff --git a/bun-audit.txt b/bun-audit.txt
new file mode 100644
index 0000000..1395956
--- /dev/null
+++ b/bun-audit.txt
@@ -0,0 +1,3 @@
+bun audit v1.4.2 (744846f84)
+
+No vulnerabilities found (checked 358 packages) [259.00ms]
diff --git a/bun.lock b/bun.lock
new file mode 100644
index 0000000..16b1072
--- /dev/null
+++ b/bun.lock
@@ -0,0 +1,827 @@
+{
+ "lockfileVersion": 2,
+ "configVersion": 1,
+ "workspaces": {
+ "": {
+ "name": "eli-vue",
+ "dependencies": {
+ "@lucide/vue": "^1.16.0",
+ "alasql": "^4.17.3",
+ "cross-fetch": "^4.1.0",
+ "dayjs": "^1.11.19",
+ "p-comuns": "git+https://git2.idz.one/publico/_comuns.git",
+ "p-respostas": "git+https://git2.idz.one/publico/_respostas.git",
+ "uuid": "^13.0.0",
+ "zod": "4.4.3",
+ },
+ "devDependencies": {
+ "@biomejs/biome": "^2",
+ "@mdi/font": "^7.4.47",
+ "@types/leaflet": "^1.9.21",
+ "@vitejs/plugin-vue": "^5.0.0",
+ "leaflet": "^1.9.4",
+ "sass": "^1.94.2",
+ "typescript": "^7",
+ "vite": "^6.0.0",
+ "vite-plugin-css-injected-by-js": "^3.5.2",
+ "vite-plugin-vuetify": "^2.1.2",
+ "vue": "^3.5.34",
+ "vue-tsc": "^3.1.6",
+ "vuetify": "^3.12.6",
+ },
+ "peerDependencies": {
+ "leaflet": "^1.9.0",
+ "vue": "^3.4.0",
+ "vuetify": "^3.0.0",
+ },
+ },
+ },
+ "overrides": {
+ "nanoid": "^3.3.18",
+ },
+ "packages": {
+ "@babel/code-frame": ["@babel/code-frame@7.29.7", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.29.7", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw=="],
+
+ "@babel/compat-data": ["@babel/compat-data@7.29.7", "", {}, "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg=="],
+
+ "@babel/core": ["@babel/core@7.29.7", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/generator": "^7.29.7", "@babel/helper-compilation-targets": "^7.29.7", "@babel/helper-module-transforms": "^7.29.7", "@babel/helpers": "^7.29.7", "@babel/parser": "^7.29.7", "@babel/template": "^7.29.7", "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.2.3", "semver": "^6.3.1" } }, "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA=="],
+
+ "@babel/generator": ["@babel/generator@7.29.8", "", { "dependencies": { "@babel/parser": "^7.29.8", "@babel/types": "^7.29.8", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg=="],
+
+ "@babel/helper-compilation-targets": ["@babel/helper-compilation-targets@7.29.7", "", { "dependencies": { "@babel/compat-data": "^7.29.7", "@babel/helper-validator-option": "^7.29.7", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g=="],
+
+ "@babel/helper-globals": ["@babel/helper-globals@7.29.7", "", {}, "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA=="],
+
+ "@babel/helper-module-imports": ["@babel/helper-module-imports@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g=="],
+
+ "@babel/helper-module-transforms": ["@babel/helper-module-transforms@7.29.7", "", { "dependencies": { "@babel/helper-module-imports": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg=="],
+
+ "@babel/helper-string-parser": ["@babel/helper-string-parser@7.29.7", "", {}, "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw=="],
+
+ "@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.29.7", "", {}, "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg=="],
+
+ "@babel/helper-validator-option": ["@babel/helper-validator-option@7.29.7", "", {}, "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw=="],
+
+ "@babel/helpers": ["@babel/helpers@7.29.7", "", { "dependencies": { "@babel/template": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg=="],
+
+ "@babel/parser": ["@babel/parser@7.29.9", "", { "dependencies": { "@babel/types": "^7.29.8" }, "bin": "./bin/babel-parser.js" }, "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA=="],
+
+ "@babel/runtime": ["@babel/runtime@7.29.7", "", {}, "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw=="],
+
+ "@babel/template": ["@babel/template@7.29.7", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/parser": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg=="],
+
+ "@babel/traverse": ["@babel/traverse@7.29.8", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/generator": "^7.29.8", "@babel/helper-globals": "^7.29.7", "@babel/parser": "^7.29.8", "@babel/template": "^7.29.7", "@babel/types": "^7.29.8", "debug": "^4.3.1" } }, "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg=="],
+
+ "@babel/types": ["@babel/types@7.29.8", "", { "dependencies": { "@babel/helper-string-parser": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7" } }, "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg=="],
+
+ "@biomejs/biome": ["@biomejs/biome@2.5.14", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.5.14", "@biomejs/cli-darwin-x64": "2.5.14", "@biomejs/cli-linux-arm64": "2.5.14", "@biomejs/cli-linux-arm64-musl": "2.5.14", "@biomejs/cli-linux-x64": "2.5.14", "@biomejs/cli-linux-x64-musl": "2.5.14", "@biomejs/cli-win32-arm64": "2.5.14", "@biomejs/cli-win32-x64": "2.5.14" }, "bin": { "biome": "bin/biome" } }, "sha512-0FabLIjd4M/dm8VFI86RMaLLdgepzbdfiAL2R8cr7V81OYYrP1w7Z73KfAwPK5h9SrEBXTzNG2y+mBwPo9xRnw=="],
+
+ "@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.5.14", "", { "os": "darwin", "cpu": "arm64" }, "sha512-UnzaXO65L4tsZimFITFP2M121GyhDcWFrT3pL5ZJ5U4XcS/0L5VHYytVohdCf/gnDUFHgl2I9xnt5bV/J1kxHQ=="],
+
+ "@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.5.14", "", { "os": "darwin", "cpu": "x64" }, "sha512-kiy8qA16K93J7uvFfWi4LgjqDpnRKyePAna6A0Y4jxyUga35SYpIZ2cNWlhy0lsfgqRenCpfymnJWEZ6mgpRgA=="],
+
+ "@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.5.14", "", { "os": "linux", "cpu": "arm64" }, "sha512-vO/9BaU1n30CiFNLx49gMTMtbCAAqlo/EqFoG0BU3deQInTbJrmXSmTQ9e3FoDZIKQnvSLDVNL4lx1ci7y1T1Q=="],
+
+ "@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.5.14", "", { "os": "linux", "cpu": "arm64" }, "sha512-SJ9PrZkBnnH9dHJDnxk34vKs0GB2dbsioaft6/hPhWJ7AHpwYH83Isnhj0FSRpFkGgpVfJ1lds23ApB2czUDLQ=="],
+
+ "@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.5.14", "", { "os": "linux", "cpu": "x64" }, "sha512-VHZRa7CCQBUWKxNwUvHJeuW03WFRgN5NWO//SDGOitc9QIeNyfA42V9zlKm+x82xFSG9Bzi5fi+hbhm9anO8yA=="],
+
+ "@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.5.14", "", { "os": "linux", "cpu": "x64" }, "sha512-2kI5PrMgW5dcEZYrstLPmUmCwkUwZY39rP4BN93Vxbwcs2O57LDQOktUZZYPvvspN5i0mhGr3TJtF5sU26NUWg=="],
+
+ "@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.5.14", "", { "os": "win32", "cpu": "arm64" }, "sha512-pHgAFffmZtaYoxavEsWEYNvcA7NwOIjLyqw2HXyLbt16xYryX0L4fMV2u0G9ag6LNYPIoqWaWqzUcnc6rLGGXg=="],
+
+ "@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.5.14", "", { "os": "win32", "cpu": "x64" }, "sha512-oJWmBhoHsnhUKIke+0gXDX0mltJrWHA1UyHsrTlXwX0TL64ilVZAo+TYZm97baecV0esBdpzy3k96q+09JaZUQ=="],
+
+ "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.25.12", "", { "os": "aix", "cpu": "ppc64" }, "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA=="],
+
+ "@esbuild/android-arm": ["@esbuild/android-arm@0.25.12", "", { "os": "android", "cpu": "arm" }, "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg=="],
+
+ "@esbuild/android-arm64": ["@esbuild/android-arm64@0.25.12", "", { "os": "android", "cpu": "arm64" }, "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg=="],
+
+ "@esbuild/android-x64": ["@esbuild/android-x64@0.25.12", "", { "os": "android", "cpu": "x64" }, "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg=="],
+
+ "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.25.12", "", { "os": "darwin", "cpu": "arm64" }, "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg=="],
+
+ "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.25.12", "", { "os": "darwin", "cpu": "x64" }, "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA=="],
+
+ "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.25.12", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg=="],
+
+ "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.25.12", "", { "os": "freebsd", "cpu": "x64" }, "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ=="],
+
+ "@esbuild/linux-arm": ["@esbuild/linux-arm@0.25.12", "", { "os": "linux", "cpu": "arm" }, "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw=="],
+
+ "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.25.12", "", { "os": "linux", "cpu": "arm64" }, "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ=="],
+
+ "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.25.12", "", { "os": "linux", "cpu": "ia32" }, "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA=="],
+
+ "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.25.12", "", { "os": "linux", "cpu": "none" }, "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng=="],
+
+ "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.25.12", "", { "os": "linux", "cpu": "none" }, "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw=="],
+
+ "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.25.12", "", { "os": "linux", "cpu": "ppc64" }, "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA=="],
+
+ "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.25.12", "", { "os": "linux", "cpu": "none" }, "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w=="],
+
+ "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.25.12", "", { "os": "linux", "cpu": "s390x" }, "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg=="],
+
+ "@esbuild/linux-x64": ["@esbuild/linux-x64@0.25.12", "", { "os": "linux", "cpu": "x64" }, "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw=="],
+
+ "@esbuild/netbsd-arm64": ["@esbuild/netbsd-arm64@0.25.12", "", { "os": "none", "cpu": "arm64" }, "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg=="],
+
+ "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.25.12", "", { "os": "none", "cpu": "x64" }, "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ=="],
+
+ "@esbuild/openbsd-arm64": ["@esbuild/openbsd-arm64@0.25.12", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A=="],
+
+ "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.25.12", "", { "os": "openbsd", "cpu": "x64" }, "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw=="],
+
+ "@esbuild/openharmony-arm64": ["@esbuild/openharmony-arm64@0.25.12", "", { "os": "none", "cpu": "arm64" }, "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg=="],
+
+ "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.25.12", "", { "os": "sunos", "cpu": "x64" }, "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w=="],
+
+ "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.25.12", "", { "os": "win32", "cpu": "arm64" }, "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg=="],
+
+ "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.25.12", "", { "os": "win32", "cpu": "ia32" }, "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ=="],
+
+ "@esbuild/win32-x64": ["@esbuild/win32-x64@0.25.12", "", { "os": "win32", "cpu": "x64" }, "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA=="],
+
+ "@isaacs/ttlcache": ["@isaacs/ttlcache@1.4.1", "", {}, "sha512-RQgQ4uQ+pLbqXfOmieB91ejmLwvSgv9nLx6sT6sD83s7umBypgg+OIBOBbEUiJXrfpnp9j0mRhYYdzp9uqq3lA=="],
+
+ "@jest/schemas": ["@jest/schemas@29.6.3", "", { "dependencies": { "@sinclair/typebox": "^0.27.8" } }, "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA=="],
+
+ "@jest/types": ["@jest/types@29.6.3", "", { "dependencies": { "@jest/schemas": "^29.6.3", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", "@types/yargs": "^17.0.8", "chalk": "^4.0.0" } }, "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw=="],
+
+ "@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.3.13", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA=="],
+
+ "@jridgewell/remapping": ["@jridgewell/remapping@2.3.5", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ=="],
+
+ "@jridgewell/resolve-uri": ["@jridgewell/resolve-uri@3.1.2", "", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="],
+
+ "@jridgewell/source-map": ["@jridgewell/source-map@0.3.11", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25" } }, "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA=="],
+
+ "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.6.0", "", {}, "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw=="],
+
+ "@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.31", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="],
+
+ "@lucide/vue": ["@lucide/vue@1.48.0", "", { "peerDependencies": { "vue": ">=3.0.1" } }, "sha512-3/Nwx/RsqQ4ZrrSML1GNsSWCSDyLnBgoF/eEr1q9G6iZymn3+WKtzIj7Dbc/Nxrt9WOPuGrJ58S+CBiamK+36w=="],
+
+ "@mdi/font": ["@mdi/font@7.4.47", "", {}, "sha512-43MtGpd585SNzHZPcYowu/84Vz2a2g31TvPMTm9uTiCSWzaheQySUcSyUH/46fPnuPQWof2yd0pGBtzee/IQWw=="],
+
+ "@napi-rs/lzma-linux-x64-gnu": ["@napi-rs/lzma-linux-x64-gnu@1.5.1", "", { "os": "linux", "cpu": "x64" }, "sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ=="],
+
+ "@parcel/watcher": ["@parcel/watcher@2.6.0", "", { "dependencies": { "detect-libc": "^2.0.3", "is-glob": "^4.0.3", "node-addon-api": "^7.0.0", "picomatch": "^4.0.4" }, "optionalDependencies": { "@parcel/watcher-android-arm64": "2.6.0", "@parcel/watcher-darwin-arm64": "2.6.0", "@parcel/watcher-darwin-x64": "2.6.0", "@parcel/watcher-freebsd-x64": "2.6.0", "@parcel/watcher-linux-arm-glibc": "2.6.0", "@parcel/watcher-linux-arm-musl": "2.6.0", "@parcel/watcher-linux-arm64-glibc": "2.6.0", "@parcel/watcher-linux-arm64-musl": "2.6.0", "@parcel/watcher-linux-x64-glibc": "2.6.0", "@parcel/watcher-linux-x64-musl": "2.6.0", "@parcel/watcher-win32-arm64": "2.6.0", "@parcel/watcher-win32-x64": "2.6.0" } }, "sha512-7FNeNl8NCE7aINx7WXiKQrPYZWC/hvrTsmk6zmxbI7LTXE7hVek/n8AfVgpe2y82zl3w0HvCHN0bVKMBoJcC0w=="],
+
+ "@parcel/watcher-android-arm64": ["@parcel/watcher-android-arm64@2.6.0", "", { "os": "android", "cpu": "arm64" }, "sha512-trgpLSCKRC/huFjXX/Smh+0sWe4+YtKfktIToiMl59ghz7z+qkH6kMvNnUbLyRs9N11t8l4svSCs1+5B3rOAhA=="],
+
+ "@parcel/watcher-darwin-arm64": ["@parcel/watcher-darwin-arm64@2.6.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Y3QV0gl7Q1zbfueunkWIERICbEojQFCgpyG7YqOGNFLsckXyI1xu9mAIUpKY9QBYzBtSkN8dBPwd3yiAO9ovMw=="],
+
+ "@parcel/watcher-darwin-x64": ["@parcel/watcher-darwin-x64@2.6.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-Ohv6OpzhUfKYD7Beb8kDvG0jbIxORCYY1JRdZnaBtnjjkJxgD7ZVL0nw2sCYd0yTMKTvz3nnTnOF3cDifK+kvw=="],
+
+ "@parcel/watcher-freebsd-x64": ["@parcel/watcher-freebsd-x64@2.6.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-5HmXvDgs8VK+74jF9y9/2FE3/OnlcKmc56tjmSrEuZjpSZOGL+fvAu+HKJBdPs9uwoP2hE6TlSUpXZ/C5jUFmQ=="],
+
+ "@parcel/watcher-linux-arm-glibc": ["@parcel/watcher-linux-arm-glibc@2.6.0", "", { "os": "linux", "cpu": "arm" }, "sha512-Ps/hui3A+vMbjdqlqAowK2ZL8+BO8dBjxeWXj6npTBs3jx4wWmbPpaLuqwrQrSqIVMCnpWo238bJ1U37GhQOYg=="],
+
+ "@parcel/watcher-linux-arm-musl": ["@parcel/watcher-linux-arm-musl@2.6.0", "", { "os": "linux", "cpu": "arm" }, "sha512-9c6AUHgHoG+IY88MRIHupztQiQnrbqHYQjkM2btA+Bf/wQnQMuiD0Wfk1EVv3TlNT3x41uU71rn6E4xh/+zvkw=="],
+
+ "@parcel/watcher-linux-arm64-glibc": ["@parcel/watcher-linux-arm64-glibc@2.6.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-yHRqS2owEXe6Hic9z6Mh1ECsCd+ODVOGvZDyciqRd21+v+o+DnXMOrw50DSpIG2sb8GPEaPPmfeCAWKPJdq46g=="],
+
+ "@parcel/watcher-linux-arm64-musl": ["@parcel/watcher-linux-arm64-musl@2.6.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-WhB2e/V7rqdHHWZusBSPuy5Ei8S6lSz6FE5TKKQz5h3a0O+C+mhY7vxU9b/stqvMb8beLnPY82ZrFTLKs+SrKA=="],
+
+ "@parcel/watcher-linux-x64-glibc": ["@parcel/watcher-linux-x64-glibc@2.6.0", "", { "os": "linux", "cpu": "x64" }, "sha512-ulGE6x6Oz6iAwg75T8YQSoguBWasniIbX+QWpaYPcCnDOpdWX3k+4xbEYPZVLxOuoJI+svJJPD3sEj8G7lrQ3A=="],
+
+ "@parcel/watcher-linux-x64-musl": ["@parcel/watcher-linux-x64-musl@2.6.0", "", { "os": "linux", "cpu": "x64" }, "sha512-tkBYKt7YQrjIJWYDnto2YgO8MRkjlMTSNoRHzsXinBqbLdeOM3L32wPZJvIZxqaLMfSlS/4sUjH/6STVP/XDLw=="],
+
+ "@parcel/watcher-win32-arm64": ["@parcel/watcher-win32-arm64@2.6.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-gIZAP23jaHjGWasY/TY6yL7NHFClf0Ga7FN+iINvk+KN94rhm94lYZhFsbYFNcA04/onvGD9kKmiJLJB2HbNwQ=="],
+
+ "@parcel/watcher-win32-x64": ["@parcel/watcher-win32-x64@2.6.0", "", { "os": "win32", "cpu": "x64" }, "sha512-cA+/pXV2YkfxlIcXOQ5fSWqAzzPyD78/x5qbK/I0vUkrlYHA8TIz+MXjAbGouguKVSI4bOmkTSJ1/poVSsgt+A=="],
+
+ "@react-native/asset-utils": ["@react-native/asset-utils@0.87.1", "", {}, "sha512-FeFnbn9ENPs7IVBzZt1bBWfiRGvT4q+CsWwXGFyKVW/1ol3ylBRuTtXBGHIAmcNN4fUR60nSXsCN19pzNHkPgA=="],
+
+ "@react-native/codegen": ["@react-native/codegen@0.87.1", "", { "dependencies": { "@babel/core": "^7.25.2", "@babel/parser": "^7.29.0", "hermes-parser": "0.36.1", "invariant": "^2.2.4", "nullthrows": "^1.1.1", "tinyglobby": "^0.2.15", "yargs": "^17.6.2" } }, "sha512-qbaqEdlUfj2vRgvWTpMoNgHnEqAhAYJLUrpGkb0WC9n0kdtqUvgigpz4bDktZwolM9BemXwgGFgyiAnbs3t0xw=="],
+
+ "@react-native/community-cli-plugin": ["@react-native/community-cli-plugin@0.87.1", "", { "dependencies": { "@react-native/asset-utils": "0.87.1", "@react-native/dev-middleware": "0.87.1", "debug": "^4.4.0", "invariant": "^2.2.4", "metro": "^0.87.0", "semver": "^7.1.3" }, "peerDependencies": { "@react-native-community/cli": "*", "@react-native/metro-config": "0.87.1" }, "optionalPeers": ["@react-native-community/cli", "@react-native/metro-config"] }, "sha512-aGBae6v+ngy8fIpU1EOaVxn/8DOgmJNphEdn5Eb0wTchUCxr8bDjpTJYNdrptyn3qI/elk8r9agQ2OBaFvrRlw=="],
+
+ "@react-native/debugger-frontend": ["@react-native/debugger-frontend@0.87.1", "", {}, "sha512-RNm7soJB+8YSauLnsCCylA1eVfT6JWaDTPUEF01uu9YwDyZ7remKlZbXtmVbtscbNGcp+hbI4iZUdVOpQWsHuA=="],
+
+ "@react-native/debugger-shell": ["@react-native/debugger-shell@0.87.1", "", { "dependencies": { "cross-spawn": "^7.0.6", "debug": "^4.4.0", "fb-dotslash": "0.5.8" } }, "sha512-eNbKjcnseJIjy5XCDwyhKOT1ngOg3Dv1fVxTDtnVFqdqjqsbfY4v9JuJG1RZJ7+mFoRRe05HE8GSQU8B7n5xwQ=="],
+
+ "@react-native/dev-middleware": ["@react-native/dev-middleware@0.87.1", "", { "dependencies": { "@isaacs/ttlcache": "^1.4.1", "@react-native/debugger-frontend": "0.87.1", "@react-native/debugger-shell": "0.87.1", "chrome-launcher": "^0.15.2", "chromium-edge-launcher": "^0.3.0", "connect": "^3.6.5", "debug": "^4.4.0", "invariant": "^2.2.4", "nullthrows": "^1.1.1", "open": "^7.0.3", "serve-static": "^1.16.2", "ws": "^7.5.10" } }, "sha512-KgvAGUaVl6/XrWFAPK8e0ojDRbsdBjr4bnwyn6PC3CwxPQc5iv+i7hMoUwYS8ORSkHKfjt+cV86/mBQ4lG8yfA=="],
+
+ "@react-native/gradle-plugin": ["@react-native/gradle-plugin@0.87.1", "", {}, "sha512-bZ5X2BNxaSlfp2KlDtUM910QqW9G1yTIeZXghuv4ag8SAQLzm5Mf9j5GjJfT6ax2Qo2aRT15Vi3Tro/yLGJstA=="],
+
+ "@react-native/normalize-colors": ["@react-native/normalize-colors@0.87.1", "", {}, "sha512-8+AutemzX+a7cuKgTUyb7JUk3sFYgLyrSnlTLrL6LuW/LKDE+FYE8lJGWYhJPJcE51Ge1D8yRzxgQEdEFZtuIw=="],
+
+ "@react-native/virtualized-lists": ["@react-native/virtualized-lists@0.87.1", "", { "dependencies": { "invariant": "^2.2.4", "nullthrows": "^1.1.1" }, "peerDependencies": { "@types/react": "^19.2.0", "react": "*", "react-native": "0.87.1" }, "optionalPeers": ["@types/react"] }, "sha512-qSZjeX3UJrDvyfjf7yc3E68rp1XnzE+5nu8ImklhkVC0+p/XiaHPb/KGkRqDdnQyWHN55BRYSsCMEwgVI6WRNQ=="],
+
+ "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.63.5", "", { "os": "android", "cpu": "arm" }, "sha512-J25QJU+B78T4FhhBsNpLJyVWOi31mwtpcMwywHmOKH65Q9IWGA81gPj+dnwlhU8wktVriYE+tFAaQgrnJRzAZg=="],
+
+ "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.63.5", "", { "os": "android", "cpu": "arm64" }, "sha512-LDopB3zuZM5Ux9TT2luNEBJW/tYbGU2g1d+VpKk6I+gSKDb+/7sYE6M225gRQt4RbMX6MSwMsVR/phdjVUgRLg=="],
+
+ "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.63.5", "", { "os": "darwin", "cpu": "arm64" }, "sha512-wlJEERGfeuHeBavCL2qVnNacOK43NDoZM4sjkeRPymd04OAE9T1zBqDJgmZ+CIsPTYKwdzpUC8vmOw84dwY4Tg=="],
+
+ "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.63.5", "", { "os": "darwin", "cpu": "x64" }, "sha512-4nJJGg5jbo2wwPP4JP+LfEBA3bvP8rU9CLuhp7jWvq9sxEyhjQFTFdrqi+/dHEin/pd8jpT0vcehIpnZtmEdcQ=="],
+
+ "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.63.5", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-DrZbyCDF1hneuO6jRbvZ2D7+PIBM6yIwYnJpg2vIk58T+wuFpiaGZrfUr59lDWw45bg+IrpTGLPiNi/Fk4w3Cg=="],
+
+ "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.63.5", "", { "os": "freebsd", "cpu": "x64" }, "sha512-gqfUVMJMB3mehqywxp6hTBFfgtMQykZY19+cfiaYP0toIJLb/1DZRJHVkQQGP13W4TAwfZDWeg1qBcheTRioXQ=="],
+
+ "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.63.5", "", { "os": "linux", "cpu": "arm" }, "sha512-CFmhpvAwzSaWMlN3VN7UtmoTihlZNzoP0juQib5TQRnYUyDV8dXeWOp29sobWAT6gXl/hQgAClLlEiYozQG3OQ=="],
+
+ "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.63.5", "", { "os": "linux", "cpu": "arm" }, "sha512-Uc9H8eXCOayV6JLTH5bXKMId6qbhNHa818/BgYjm4jrlq3vZquC9cqyvHBw17xy5Mnj5f+I3gFK5JcEf3hSqrw=="],
+
+ "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.63.5", "", { "os": "linux", "cpu": "arm64" }, "sha512-VcPr/szv/1BFw112Kt//fxulXt/JPqzzidU84iW68L2DdjnOO8QFUv2zTSYBEPHD6movBD4z+bbr5y60GYM7Jw=="],
+
+ "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.63.5", "", { "os": "linux", "cpu": "arm64" }, "sha512-BnxtJ5/91BrIHYIkGrmjz/lbMhqEHt1dPFqIxIFR+jPn0xVc/oUSCtIT089zfp5ufwGDlYz2UC+Fe1SRBpYFbQ=="],
+
+ "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.63.5", "", { "os": "linux", "cpu": "none" }, "sha512-LrYcHZwF+fAMNKHYTOQ5osWM4AZF7YF6D+XtsjDyEvljtt11twc+zHVXBLNEjxVSUnKYsOhvVz4Z213eW02COQ=="],
+
+ "@rollup/rollup-linux-loong64-musl": ["@rollup/rollup-linux-loong64-musl@4.63.5", "", { "os": "linux", "cpu": "none" }, "sha512-nj7QKQePAAUpCpJHtg0pR0W/b92A9NO17JS3BAQmHDn/yhmkir2p8llrKY9TOhleKIaSzy1JhxS3T9FVld6coA=="],
+
+ "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.63.5", "", { "os": "linux", "cpu": "ppc64" }, "sha512-5ylkX6dWMeBKge9nTU+Rxfb+ZfaCIJ9lRqIFaK0eAMcWp7OJbYnLveLgXmm0VrvuLKb8qIK+mHyH0qu88RM+iA=="],
+
+ "@rollup/rollup-linux-ppc64-musl": ["@rollup/rollup-linux-ppc64-musl@4.63.5", "", { "os": "linux", "cpu": "ppc64" }, "sha512-oHK4ZHYFDKjZviK34I+NwgfbGxgI7ztrNxj2hPTSSNFgeq1a/lEd7dHV2fdGAuTH4Iym3RHJg+vAbWaWG4B7Zg=="],
+
+ "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.63.5", "", { "os": "linux", "cpu": "none" }, "sha512-UcetmHZ6XOXuUByiKZyQmb55ZPr0LABr3Ec/HB9wKZn6CEAFWZkE+hsJErJ9hbPBC7nI0dKuELx7CoV6IM7TMg=="],
+
+ "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.63.5", "", { "os": "linux", "cpu": "none" }, "sha512-C5CmDPQBtvjVo8cgQsBs+w6WB0JLkiixhgi6hVLV11hERWdn/p0XcPU2OUcZzac9BPOFq7SbaHFa8r3SWEysCQ=="],
+
+ "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.63.5", "", { "os": "linux", "cpu": "s390x" }, "sha512-lHVQHJFKsuuxLMi3MQO9XVL8Tje3JR82CzB+QDKC5NWBcsIWuwsn9uIM5e3lBhI+fF1/s63qnyYqsg65+8rV/w=="],
+
+ "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.63.5", "", { "os": "linux", "cpu": "x64" }, "sha512-3W9bTFcQNJn71cSJVM9RKIiZOy8DO/XLDii8Uv/Pm6WKqDRj7JV3ZfuXIEfyuy5LXpIzAbB/1M4Ukp9GKNa7nA=="],
+
+ "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.63.5", "", { "os": "linux", "cpu": "x64" }, "sha512-VDC7rRJlee/scpki96GZ27Omf6yU87s1YXwVTpjE5841faVlDYYT565rgfmoR1U0sqL7z5ivQSDjcsF6VRXyBA=="],
+
+ "@rollup/rollup-openbsd-x64": ["@rollup/rollup-openbsd-x64@4.63.5", "", { "os": "openbsd", "cpu": "x64" }, "sha512-z86Ok2p4pTdv5xqCKZsTooO7yBEiaJR/HzU3Wx8RmWsPoLppnMKROhJusQob8B3IE1ghC343kUW9rC2r+Wf3ig=="],
+
+ "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.63.5", "", { "os": "none", "cpu": "arm64" }, "sha512-IzQmj+xXwQFGhMAMKMQVXkMwMZN3TqkJgAE0nSsqvVwWWciP4AIPMmWRqOQ2GfX7TUDZr+xqGFcBS36CRPGw0g=="],
+
+ "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.63.5", "", { "os": "win32", "cpu": "arm64" }, "sha512-F6qpTaPc9bwBH85kjy0/BLmLSW1uv7AoOXCoRIkg2arlgCYlWYcAbiMkvZuAcaWk9TpCRG//okznLAqLGshkMw=="],
+
+ "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.63.5", "", { "os": "win32", "cpu": "ia32" }, "sha512-igoDsTFhhwECBeGbUuLeIk7t8Y1apa+cs6mDWpx2EZ0ch7oEQgzHbFUXN9euoHekCAQzXdXApAGkV6jznS7tWw=="],
+
+ "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.63.5", "", { "os": "win32", "cpu": "x64" }, "sha512-U3teMeMbXFmaM5D+OTJpsOXd+wV/qftIeYF9kBKL4v73641qyJmoXFtA28DQLsnmlyayEsTe72xpLHrArq6vHw=="],
+
+ "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.63.5", "", { "os": "win32", "cpu": "x64" }, "sha512-ypfC34F3RKXvCXBglGqGMsUSMKlgwd1HX9AOAlx9RoZZ6GaI42YHVeKpzg3JG+wpBUJYTG+NNZhqbDWL8tBZkw=="],
+
+ "@sinclair/typebox": ["@sinclair/typebox@0.27.12", "", {}, "sha512-hhyNJ+nbR6ZR7pToHvllEFun9TL0sbL+tk/ON75lo+Xas054uez98qRbsuNt7MBCyZKK4+8Yli/OAGZhmfBZ/g=="],
+
+ "@types/estree": ["@types/estree@1.0.9", "", {}, "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg=="],
+
+ "@types/geojson": ["@types/geojson@7946.0.16", "", {}, "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg=="],
+
+ "@types/istanbul-lib-coverage": ["@types/istanbul-lib-coverage@2.0.6", "", {}, "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w=="],
+
+ "@types/istanbul-lib-report": ["@types/istanbul-lib-report@3.0.3", "", { "dependencies": { "@types/istanbul-lib-coverage": "*" } }, "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA=="],
+
+ "@types/istanbul-reports": ["@types/istanbul-reports@3.0.4", "", { "dependencies": { "@types/istanbul-lib-report": "*" } }, "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ=="],
+
+ "@types/leaflet": ["@types/leaflet@1.9.22", "", { "dependencies": { "@types/geojson": "*" } }, "sha512-h3lhECYEKDasG7LFHu+GiHqAvsgLuQvlJvVZzJDGONo3sEL+wUOqSFLnwkZlK0qVxnxbuGFW8iBlJNYs5wgndA=="],
+
+ "@types/node": ["@types/node@26.6.3", "", { "dependencies": { "undici-types": "~8.9.0" } }, "sha512-dsqMQQoeTLqu9wynDD00q573mNzso3IdQOAfHRJqLCcmCFPoGo9A1bDpUcv/9tnKpErQWv9uKeGfl37EIS02Yg=="],
+
+ "@types/yargs": ["@types/yargs@17.0.35", "", { "dependencies": { "@types/yargs-parser": "*" } }, "sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg=="],
+
+ "@types/yargs-parser": ["@types/yargs-parser@21.0.3", "", {}, "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ=="],
+
+ "@typescript/typescript-aix-ppc64": ["@typescript/typescript-aix-ppc64@7.0.2", "", { "os": "aix", "cpu": "ppc64" }, "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ=="],
+
+ "@typescript/typescript-darwin-arm64": ["@typescript/typescript-darwin-arm64@7.0.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA=="],
+
+ "@typescript/typescript-darwin-x64": ["@typescript/typescript-darwin-x64@7.0.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA=="],
+
+ "@typescript/typescript-freebsd-arm64": ["@typescript/typescript-freebsd-arm64@7.0.2", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ=="],
+
+ "@typescript/typescript-freebsd-x64": ["@typescript/typescript-freebsd-x64@7.0.2", "", { "os": "freebsd", "cpu": "x64" }, "sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw=="],
+
+ "@typescript/typescript-linux-arm": ["@typescript/typescript-linux-arm@7.0.2", "", { "os": "linux", "cpu": "arm" }, "sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ=="],
+
+ "@typescript/typescript-linux-arm64": ["@typescript/typescript-linux-arm64@7.0.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ=="],
+
+ "@typescript/typescript-linux-loong64": ["@typescript/typescript-linux-loong64@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ=="],
+
+ "@typescript/typescript-linux-mips64el": ["@typescript/typescript-linux-mips64el@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA=="],
+
+ "@typescript/typescript-linux-ppc64": ["@typescript/typescript-linux-ppc64@7.0.2", "", { "os": "linux", "cpu": "ppc64" }, "sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA=="],
+
+ "@typescript/typescript-linux-riscv64": ["@typescript/typescript-linux-riscv64@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ=="],
+
+ "@typescript/typescript-linux-s390x": ["@typescript/typescript-linux-s390x@7.0.2", "", { "os": "linux", "cpu": "s390x" }, "sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw=="],
+
+ "@typescript/typescript-linux-x64": ["@typescript/typescript-linux-x64@7.0.2", "", { "os": "linux", "cpu": "x64" }, "sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A=="],
+
+ "@typescript/typescript-netbsd-arm64": ["@typescript/typescript-netbsd-arm64@7.0.2", "", { "os": "none", "cpu": "arm64" }, "sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA=="],
+
+ "@typescript/typescript-netbsd-x64": ["@typescript/typescript-netbsd-x64@7.0.2", "", { "os": "none", "cpu": "x64" }, "sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA=="],
+
+ "@typescript/typescript-openbsd-arm64": ["@typescript/typescript-openbsd-arm64@7.0.2", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ=="],
+
+ "@typescript/typescript-openbsd-x64": ["@typescript/typescript-openbsd-x64@7.0.2", "", { "os": "openbsd", "cpu": "x64" }, "sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg=="],
+
+ "@typescript/typescript-sunos-x64": ["@typescript/typescript-sunos-x64@7.0.2", "", { "os": "sunos", "cpu": "x64" }, "sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g=="],
+
+ "@typescript/typescript-win32-arm64": ["@typescript/typescript-win32-arm64@7.0.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ=="],
+
+ "@typescript/typescript-win32-x64": ["@typescript/typescript-win32-x64@7.0.2", "", { "os": "win32", "cpu": "x64" }, "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g=="],
+
+ "@vitejs/plugin-vue": ["@vitejs/plugin-vue@5.2.4", "", { "peerDependencies": { "vite": "^5.0.0 || ^6.0.0", "vue": "^3.2.25" } }, "sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA=="],
+
+ "@volar/language-core": ["@volar/language-core@2.4.28", "", { "dependencies": { "@volar/source-map": "2.4.28" } }, "sha512-w4qhIJ8ZSitgLAkVay6AbcnC7gP3glYM3fYwKV3srj8m494E3xtrCv6E+bWviiK/8hs6e6t1ij1s2Endql7vzQ=="],
+
+ "@volar/source-map": ["@volar/source-map@2.4.28", "", {}, "sha512-yX2BDBqJkRXfKw8my8VarTyjv48QwxdJtvRgUpNE5erCsgEUdI2DsLbpa+rOQVAJYshY99szEcRDmyHbF10ggQ=="],
+
+ "@volar/typescript": ["@volar/typescript@2.4.28", "", { "dependencies": { "@volar/language-core": "2.4.28", "path-browserify": "^1.0.1", "vscode-uri": "^3.0.8" } }, "sha512-Ja6yvWrbis2QtN4ClAKreeUZPVYMARDYZl9LMEv1iQ1QdepB6wn0jTRxA9MftYmYa4DQ4k/DaSZpFPUfxl8giw=="],
+
+ "@vue/compiler-core": ["@vue/compiler-core@3.5.43", "", { "dependencies": { "@babel/parser": "^7.29.8", "@vue/shared": "3.5.43", "entities": "^7.0.1", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "sha512-zdiLhnbe1QQqgDT8xZMpNmyqZ3qlI+/Q/FHQco57Kwl/b05HhCzN6eVGN9QU9rbga4CrS0H5SYY8VGHZCt/1Hg=="],
+
+ "@vue/compiler-dom": ["@vue/compiler-dom@3.5.43", "", { "dependencies": { "@vue/compiler-core": "3.5.43", "@vue/shared": "3.5.43" } }, "sha512-PEZoAk3NQmsn/ejMzSOCyTYqwGqczrWm70PuhBKjjv1+TCoQAaO/zOqNwjV+honlNstT5ILxtc+8r8UUfj+iEQ=="],
+
+ "@vue/compiler-sfc": ["@vue/compiler-sfc@3.5.43", "", { "dependencies": { "@babel/parser": "^7.29.8", "@vue/compiler-core": "3.5.43", "@vue/compiler-dom": "3.5.43", "@vue/compiler-ssr": "3.5.43", "@vue/shared": "3.5.43", "estree-walker": "^2.0.2", "magic-string": "^0.30.21", "postcss": "^8.5.28", "source-map-js": "^1.2.1" } }, "sha512-FCbrG3XNCRl+js3huuKx4IVHBLTvMkJhVepjbxSPu1gn4yWLaYtGNQdjJGZaMytXB6qb76qQDDmDSLy/vkmleQ=="],
+
+ "@vue/compiler-ssr": ["@vue/compiler-ssr@3.5.43", "", { "dependencies": { "@vue/compiler-dom": "3.5.43", "@vue/shared": "3.5.43" } }, "sha512-GF62orf7KiJX9RqrHNGrYBudsQGD0OhJ5nDs90O8UiDuS40+YMYomiXu6w6EuvtXuRDc3MSNis3EaaSKAVSWpg=="],
+
+ "@vue/language-core": ["@vue/language-core@3.3.11", "", { "dependencies": { "@volar/language-core": "2.4.28", "@vue/compiler-dom": "^3.5.0", "@vue/shared": "^3.5.0", "alien-signals": "^3.2.1", "muggle-string": "^0.4.1", "path-browserify": "^1.0.1", "picomatch": "^4.0.4" } }, "sha512-QJmpliwAVpC/OxubIByPAhNzsQPRc8/gxlN2qnVzVfIMjMDz/9RnXRFoetjz5yEgXVXyp4LqhXq3V53PjmNzFw=="],
+
+ "@vue/reactivity": ["@vue/reactivity@3.5.43", "", { "dependencies": { "@vue/shared": "3.5.43" } }, "sha512-G/c9GyOZNI2jVaaS6OX1EF1SSFSv7H0ERqNTl4+DTFMlZmB5eVAB53aLQNam/7NL2NPtaDD7RdVrzf8uJzMuOA=="],
+
+ "@vue/runtime-core": ["@vue/runtime-core@3.5.43", "", { "dependencies": { "@vue/reactivity": "3.5.43", "@vue/shared": "3.5.43" } }, "sha512-hU6U6VnVhBGQDpvlnnDlIB8ZGJBiOcgk2lh/0InltHiz3D8oSkluvuvY+do1G2H3+udeKFsmaBlgVYP7gXQzEw=="],
+
+ "@vue/runtime-dom": ["@vue/runtime-dom@3.5.43", "", { "dependencies": { "@vue/reactivity": "3.5.43", "@vue/runtime-core": "3.5.43", "@vue/shared": "3.5.43", "csstype": "^3.2.3" } }, "sha512-Bb2Jc0YjjJdMt1SJmb9b2L/IWd3I8lIT9x9eS/xvvP9CiVgna0ffua74xKRmt4/uSJ+0r4iN8ex1jrqkhQGWQw=="],
+
+ "@vue/server-renderer": ["@vue/server-renderer@3.5.43", "", { "dependencies": { "@vue/compiler-ssr": "3.5.43", "@vue/runtime-dom": "3.5.43", "@vue/shared": "3.5.43" } }, "sha512-l2Ygjv9NehV94PSBxNWsAHC0j/eIIKbn92mBuWXAPGLnn6HfJ6MH5ubsd+Nk0YoZ5FRuxWI1P2VSoh+dbPQhCQ=="],
+
+ "@vue/shared": ["@vue/shared@3.5.43", "", {}, "sha512-uksS7YGMR5NZyr4JNq0Rp+QyLns0ueaz20KwzIPW9R0LH1Vnt4E+XUM29PNseEbf1www2gOuhuDi5AKOIXag9Q=="],
+
+ "@vuetify/loader-shared": ["@vuetify/loader-shared@2.1.2", "", { "dependencies": { "upath": "^2.0.1" }, "peerDependencies": { "vue": "^3.0.0", "vuetify": ">=3" } }, "sha512-X+1jBLmXHkpQEnC0vyOb4rtX2QSkBiFhaFXz8yhQqN2A4vQ6k2nChxN4Ol7VAY5KoqMdFoRMnmNdp/1qYXDQig=="],
+
+ "accepts": ["accepts@2.0.0", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="],
+
+ "acorn": ["acorn@8.18.0", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ=="],
+
+ "agent-base": ["agent-base@7.1.4", "", {}, "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ=="],
+
+ "alasql": ["alasql@4.19.1", "", { "dependencies": { "cross-fetch": "4.1.0", "yargs": "16" }, "optionalDependencies": { "react-native-fs": "^2.20.0" }, "bin": { "alasql": "bin/alasql-cli.js" } }, "sha512-SyI0oN/IU31/Lv8q4xmTo4Oo+sWKgTM9bDvJ+7SVdAh/tf100ppF/UqZKlDjeKyr+/JfWSFGft14HmQpXzYLOg=="],
+
+ "alien-signals": ["alien-signals@3.2.1", "", {}, "sha512-I8FjmltrfnDFoZedi5CG8DghVYNhzb/Ijluz7tCSJH0xpd0484Kowhbb1XDYOxfJpU1p5wnM2X54dA+IfGyD1g=="],
+
+ "anser": ["anser@1.4.10", "", {}, "sha512-hCv9AqTQ8ycjpSd3upOJd7vFwW1JaoYQ7tpham03GJ1ca8/65rqn0RpaWpItOAd6ylW9wAw6luXYPJIyPFVOww=="],
+
+ "ansi-regex": ["ansi-regex@5.0.1", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="],
+
+ "ansi-styles": ["ansi-styles@5.2.0", "", {}, "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA=="],
+
+ "asap": ["asap@2.0.6", "", {}, "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA=="],
+
+ "babel-plugin-syntax-hermes-parser": ["babel-plugin-syntax-hermes-parser@0.36.1", "", { "dependencies": { "hermes-parser": "0.36.1" } }, "sha512-ycduwJbvdvIMmVvlAZqGggS+pm5Eu4Bk9pcV9Sm2Z4PJNRVsKkv0g7vHj+LeuC1gHTeF67sJXFOq61IlqCa2hA=="],
+
+ "base-64": ["base-64@0.1.0", "", {}, "sha512-Y5gU45svrR5tI2Vt/X9GPd3L0HNIKzGu202EjxrXMpuc2V2CiKgemAbUUsqYmZJvPtCXoUKjNZwBJzsNScUbXA=="],
+
+ "base64-js": ["base64-js@1.5.1", "", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="],
+
+ "baseline-browser-mapping": ["baseline-browser-mapping@2.11.26", "", { "bin": { "baseline-browser-mapping": "dist/cli.cjs" } }, "sha512-GLQdD3y6UF8iVuMJl5fHgE4jdn/ua7n+toKfLgNlg3BqQtOZjpy68T8Tup8/wGWZCDlm7KMg7tPb4MPn7oN0TQ=="],
+
+ "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="],
+
+ "browserslist": ["browserslist@4.29.1", "", { "dependencies": { "baseline-browser-mapping": "^2.11.25", "caniuse-lite": "^1.0.30001810", "electron-to-chromium": "^1.5.438", "node-releases": "^2.0.57", "update-browserslist-db": "^1.3.3" }, "bin": { "browserslist": "cli.js" } }, "sha512-AUdjuRyCNGUYtqpqfTmWyM4fXay8yIQhmLnvYe/THMGfT9B/34X7xQd3ifKxwyNPPpowVBjLb+64BN9Rn1mizw=="],
+
+ "bser": ["bser@2.1.1", "", { "dependencies": { "node-int64": "^0.4.0" } }, "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ=="],
+
+ "buffer-from": ["buffer-from@1.1.2", "", {}, "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="],
+
+ "camelcase": ["camelcase@6.3.0", "", {}, "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA=="],
+
+ "caniuse-lite": ["caniuse-lite@1.0.30001812", "", {}, "sha512-qN+QNNBr93TCmFrmte0bBCjSDMuRvt78VlHT99qIGPszm4QsqCX8lnyWUFkHi8B7ZBAPq8SH+UqyXNy/odMdng=="],
+
+ "chalk": ["chalk@4.1.2", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="],
+
+ "chokidar": ["chokidar@5.0.0", "", { "dependencies": { "readdirp": "^5.0.0" } }, "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw=="],
+
+ "chrome-launcher": ["chrome-launcher@0.15.2", "", { "dependencies": { "@types/node": "*", "escape-string-regexp": "^4.0.0", "is-wsl": "^2.2.0", "lighthouse-logger": "^1.0.0" }, "bin": { "print-chrome-path": "bin/print-chrome-path.js" } }, "sha512-zdLEwNo3aUVzIhKhTtXfxhdvZhUghrnmkvcAq2NoDd+LeOHKf03H5jwZ8T/STsAlzyALkBVK552iaG1fGf1xVQ=="],
+
+ "chromium-edge-launcher": ["chromium-edge-launcher@0.3.0", "", { "dependencies": { "@types/node": "*", "escape-string-regexp": "^4.0.0", "is-wsl": "^2.2.0", "lighthouse-logger": "^1.0.0", "mkdirp": "^1.0.4" } }, "sha512-p03azHlGjtyRvFEee3cyvtsRYdniSkwjkzmM/KmVnqT5d7QkkwpJBhis/zCLMYdQMVJ5tt140TBNqqrZPaWeFA=="],
+
+ "ci-info": ["ci-info@3.9.0", "", {}, "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ=="],
+
+ "cliui": ["cliui@7.0.4", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^7.0.0" } }, "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ=="],
+
+ "color-convert": ["color-convert@2.0.1", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="],
+
+ "color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="],
+
+ "commander": ["commander@2.20.3", "", {}, "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="],
+
+ "connect": ["connect@3.7.0", "", { "dependencies": { "debug": "2.6.9", "finalhandler": "1.1.2", "parseurl": "~1.3.3", "utils-merge": "1.0.1" } }, "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ=="],
+
+ "content-type": ["content-type@2.1.0", "", {}, "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag=="],
+
+ "convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="],
+
+ "cross-fetch": ["cross-fetch@4.1.0", "", { "dependencies": { "node-fetch": "^2.7.0" } }, "sha512-uKm5PU+MHTootlWEY+mZ4vvXoCn4fLQxT9dSc1sXVMSFkINTJVN8cAQROpwcKm8bJ/c7rgZVIBWzH5T78sNZZw=="],
+
+ "cross-spawn": ["cross-spawn@7.0.6", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="],
+
+ "csstype": ["csstype@3.2.3", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="],
+
+ "dayjs": ["dayjs@1.11.23", "", {}, "sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ=="],
+
+ "debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" }, "peerDependencies": { "supports-color": "*" }, "optionalPeers": ["supports-color"] }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="],
+
+ "depd": ["depd@2.0.0", "", {}, "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw=="],
+
+ "destroy": ["destroy@1.2.0", "", {}, "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg=="],
+
+ "detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="],
+
+ "ee-first": ["ee-first@1.1.1", "", {}, "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="],
+
+ "electron-to-chromium": ["electron-to-chromium@1.5.439", "", {}, "sha512-qu6QIPXhsb+CRcAiTMNjR4A1y/7tCYKkKjr5CZXRVih6qkDf79peZ2BpEU3qoDBNCRrcy3Mra3X9nG5oruuA7Q=="],
+
+ "emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],
+
+ "encodeurl": ["encodeurl@2.0.0", "", {}, "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg=="],
+
+ "entities": ["entities@7.0.1", "", {}, "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA=="],
+
+ "error-stack-parser": ["error-stack-parser@2.1.4", "", { "dependencies": { "stackframe": "^1.3.4" } }, "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ=="],
+
+ "esbuild": ["esbuild@0.25.12", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.12", "@esbuild/android-arm": "0.25.12", "@esbuild/android-arm64": "0.25.12", "@esbuild/android-x64": "0.25.12", "@esbuild/darwin-arm64": "0.25.12", "@esbuild/darwin-x64": "0.25.12", "@esbuild/freebsd-arm64": "0.25.12", "@esbuild/freebsd-x64": "0.25.12", "@esbuild/linux-arm": "0.25.12", "@esbuild/linux-arm64": "0.25.12", "@esbuild/linux-ia32": "0.25.12", "@esbuild/linux-loong64": "0.25.12", "@esbuild/linux-mips64el": "0.25.12", "@esbuild/linux-ppc64": "0.25.12", "@esbuild/linux-riscv64": "0.25.12", "@esbuild/linux-s390x": "0.25.12", "@esbuild/linux-x64": "0.25.12", "@esbuild/netbsd-arm64": "0.25.12", "@esbuild/netbsd-x64": "0.25.12", "@esbuild/openbsd-arm64": "0.25.12", "@esbuild/openbsd-x64": "0.25.12", "@esbuild/openharmony-arm64": "0.25.12", "@esbuild/sunos-x64": "0.25.12", "@esbuild/win32-arm64": "0.25.12", "@esbuild/win32-ia32": "0.25.12", "@esbuild/win32-x64": "0.25.12" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg=="],
+
+ "escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="],
+
+ "escape-html": ["escape-html@1.0.3", "", {}, "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="],
+
+ "escape-string-regexp": ["escape-string-regexp@4.0.0", "", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="],
+
+ "estree-walker": ["estree-walker@2.0.2", "", {}, "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="],
+
+ "etag": ["etag@1.8.1", "", {}, "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="],
+
+ "exponential-backoff": ["exponential-backoff@3.1.3", "", {}, "sha512-ZgEeZXj30q+I0EN+CbSSpIyPaJ5HVQD18Z1m+u1FXbAeT94mr1zw50q4q6jiiC447Nl/YTcIYSAftiGqetwXCA=="],
+
+ "fb-dotslash": ["fb-dotslash@0.5.8", "", { "bin": { "dotslash": "bin/dotslash" } }, "sha512-XHYLKk9J4BupDxi9bSEhkfss0m+Vr9ChTrjhf9l2iw3jB5C7BnY4GVPoMcqbrTutsKJso6yj2nAB6BI/F2oZaA=="],
+
+ "fb-watchman": ["fb-watchman@2.0.2", "", { "dependencies": { "bser": "2.1.1" } }, "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA=="],
+
+ "fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
+
+ "fill-range": ["fill-range@7.1.1", "", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="],
+
+ "finalhandler": ["finalhandler@1.1.2", "", { "dependencies": { "debug": "2.6.9", "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "on-finished": "~2.3.0", "parseurl": "~1.3.3", "statuses": "~1.5.0", "unpipe": "~1.0.0" } }, "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA=="],
+
+ "flow-enums-runtime": ["flow-enums-runtime@0.0.6", "", {}, "sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw=="],
+
+ "flow-estree": ["flow-estree@0.331.0", "", {}, "sha512-FVLYkSL/ITb/QXBEQvNWPjPooRGswuUtGOwrH+puSlMDneNkxy640+FZsk/TfKL+b7Wbw/Fg9FTUv2bMQDpj2w=="],
+
+ "flow-parser": ["flow-parser@0.331.0", "", { "dependencies": { "flow-estree": "0.331.0" } }, "sha512-vEZcHIlnKeN8JSVtYFczj8sWJfHIJOkz+YG00O/oul/Bete+t1ZhTi+O6JRRLFYvGW+yJkZ0YgL16iStnbkUqQ=="],
+
+ "fresh": ["fresh@0.5.2", "", {}, "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q=="],
+
+ "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],
+
+ "gensync": ["gensync@1.0.0-beta.2", "", {}, "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="],
+
+ "get-caller-file": ["get-caller-file@2.0.5", "", {}, "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="],
+
+ "graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="],
+
+ "has-flag": ["has-flag@4.0.0", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="],
+
+ "hermes-compiler": ["hermes-compiler@250829098.0.17", "", {}, "sha512-qG1PXzTEtriF6oQLZF3vyHhSMxOdW5h2TqqLri0rdpstPustd2fSvRZQMVAPdlhgFwBfYnj3OUZtiO6LjYsEFw=="],
+
+ "hermes-estree": ["hermes-estree@0.36.1", "", {}, "sha512-guv1nQ6IJ7S83NRFPWc3SA7IBZrdNC9kapwOq6uXvF4wP+sDCgjzQbKPCoyYmoyZRzztF/n/c36l/rccCZSiCw=="],
+
+ "hermes-parser": ["hermes-parser@0.36.1", "", { "dependencies": { "hermes-estree": "0.36.1" } }, "sha512-GApNk4zLHi2UWoWZZkx7LNCOSzLSc5lB55pZ/PhK7ycFeg7u5LcF88p/WbpIi1XUDtE0MpHE3uRR3u3KB7TjSQ=="],
+
+ "http-errors": ["http-errors@2.0.1", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="],
+
+ "https-proxy-agent": ["https-proxy-agent@7.0.6", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="],
+
+ "immutable": ["immutable@5.1.9", "", {}, "sha512-m8nVez3rwrgmWxtLMt1ZYXB2Lv7OKYn/disyxAlSDYAlKSlFoPPfIAmAM/M5xqL4m4C/wAPw7S2/CNaUii1Hxg=="],
+
+ "inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
+
+ "invariant": ["invariant@2.2.4", "", { "dependencies": { "loose-envify": "^1.0.0" } }, "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA=="],
+
+ "is-docker": ["is-docker@2.2.1", "", { "bin": { "is-docker": "cli.js" } }, "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ=="],
+
+ "is-extglob": ["is-extglob@2.1.1", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="],
+
+ "is-fullwidth-code-point": ["is-fullwidth-code-point@3.0.0", "", {}, "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="],
+
+ "is-glob": ["is-glob@4.0.3", "", { "dependencies": { "is-extglob": "^2.1.1" } }, "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg=="],
+
+ "is-number": ["is-number@7.0.0", "", {}, "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="],
+
+ "is-wsl": ["is-wsl@2.2.0", "", { "dependencies": { "is-docker": "^2.0.0" } }, "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww=="],
+
+ "isexe": ["isexe@2.0.0", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="],
+
+ "jest-get-type": ["jest-get-type@29.6.3", "", {}, "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw=="],
+
+ "jest-util": ["jest-util@29.7.0", "", { "dependencies": { "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", "ci-info": "^3.2.0", "graceful-fs": "^4.2.9", "picomatch": "^2.2.3" } }, "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA=="],
+
+ "jest-validate": ["jest-validate@29.7.0", "", { "dependencies": { "@jest/types": "^29.6.3", "camelcase": "^6.2.0", "chalk": "^4.0.0", "jest-get-type": "^29.6.3", "leven": "^3.1.0", "pretty-format": "^29.7.0" } }, "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw=="],
+
+ "jest-worker": ["jest-worker@29.7.0", "", { "dependencies": { "@types/node": "*", "jest-util": "^29.7.0", "merge-stream": "^2.0.0", "supports-color": "^8.0.0" } }, "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw=="],
+
+ "js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="],
+
+ "jsc-safe-url": ["jsc-safe-url@0.2.4", "", {}, "sha512-0wM3YBWtYePOjfyXQH5MWQ8H7sdk5EXSwZvmSLKk2RboVQ2Bu239jycHDz5J/8Blf3K0Qnoy2b6xD+z10MFB+Q=="],
+
+ "jsesc": ["jsesc@3.1.0", "", { "bin": { "jsesc": "bin/jsesc" } }, "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA=="],
+
+ "json5": ["json5@2.2.3", "", { "bin": { "json5": "lib/cli.js" } }, "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="],
+
+ "leaflet": ["leaflet@1.9.4", "", {}, "sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA=="],
+
+ "leven": ["leven@3.1.0", "", {}, "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A=="],
+
+ "lighthouse-logger": ["lighthouse-logger@1.4.2", "", { "dependencies": { "debug": "^2.6.9", "marky": "^1.2.2" } }, "sha512-gPWxznF6TKmUHrOQjlVo2UbaL2EJ71mb2CCeRs/2qBpi4L/g4LUVc9+3lKQ6DTUZwJswfM7ainGrLO1+fOqa2g=="],
+
+ "lodash.throttle": ["lodash.throttle@4.1.1", "", {}, "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ=="],
+
+ "loose-envify": ["loose-envify@1.4.0", "", { "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, "bin": { "loose-envify": "cli.js" } }, "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q=="],
+
+ "lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="],
+
+ "magic-string": ["magic-string@0.30.21", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="],
+
+ "marky": ["marky@1.3.0", "", {}, "sha512-ocnPZQLNpvbedwTy9kNrQEsknEfgvcLMvOtz3sFeWApDq1MXH1TqkCIx58xlpESsfwQOnuBO9beyQuNGzVvuhQ=="],
+
+ "memoize-one": ["memoize-one@5.2.1", "", {}, "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q=="],
+
+ "merge-stream": ["merge-stream@2.0.0", "", {}, "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="],
+
+ "metro": ["metro@0.87.1", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/core": "^7.25.2", "@babel/generator": "^7.29.1", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/traverse": "^7.29.0", "@babel/types": "^7.29.0", "accepts": "^2.0.0", "connect": "^3.6.5", "debug": "^4.4.0", "error-stack-parser": "^2.0.6", "flow-enums-runtime": "^0.0.6", "flow-parser": "0.331.0", "graceful-fs": "^4.2.4", "invariant": "^2.2.4", "jest-worker": "^29.7.0", "jsc-safe-url": "^0.2.2", "lodash.throttle": "^4.1.1", "metro-babel-transformer": "0.87.1", "metro-cache": "0.87.1", "metro-cache-key": "0.87.1", "metro-config": "0.87.1", "metro-core": "0.87.1", "metro-file-map": "0.87.1", "metro-resolver": "0.87.1", "metro-runtime": "0.87.1", "metro-source-map": "0.87.1", "metro-symbolicate": "0.87.1", "metro-transform-plugins": "0.87.1", "metro-transform-worker": "0.87.1", "mime-types": "^3.0.1", "nullthrows": "^1.1.1", "serialize-error": "^2.1.0", "source-map": "^0.5.6", "throat": "^5.0.0", "ws": "^7.5.10", "yargs": "^17.6.2" }, "bin": { "metro": "src/cli.js" } }, "sha512-1oyLU9elM7hPAsKIqKooEekwxiuWr27+MZBhUROPhzcbXhMDxK64GPF/hCXwBZVp1F89ODavCrBmJtLx9WtBoQ=="],
+
+ "metro-babel-transformer": ["metro-babel-transformer@0.87.1", "", { "dependencies": { "@babel/core": "^7.25.2", "flow-enums-runtime": "^0.0.6", "flow-parser": "0.331.0", "metro-cache-key": "0.87.1", "nullthrows": "^1.1.1" } }, "sha512-orvRIGpb0yK1yMbk5YP3dhVKjmoxUkRB9fdltGJxNppEqus/1tFpNuf9KnGFR3Qjg0izoUrJ4z6WgoBvdkXPrA=="],
+
+ "metro-cache": ["metro-cache@0.87.1", "", { "dependencies": { "exponential-backoff": "^3.1.1", "flow-enums-runtime": "^0.0.6", "https-proxy-agent": "^7.0.5", "metro-core": "0.87.1" } }, "sha512-juNPaj0Xi5tkLp8imXqvbSnEIijwKG36m7OiFFVJMqEkiURwAjkMFVek3/xpix1+LVQqO7kjVp3PvuvIM61mKQ=="],
+
+ "metro-cache-key": ["metro-cache-key@0.87.1", "", { "dependencies": { "flow-enums-runtime": "^0.0.6" } }, "sha512-scqVVPMA2c+RVO12I3wyMDp5xCkRPLsyrcG4Qc3xfU5JR0EW/0sz2tjty+5UjMUtG09uiM1KYQ8HjWg7OQXHtw=="],
+
+ "metro-config": ["metro-config@0.87.1", "", { "dependencies": { "connect": "^3.6.5", "flow-enums-runtime": "^0.0.6", "jest-validate": "^29.7.0", "metro": "0.87.1", "metro-cache": "0.87.1", "metro-core": "0.87.1", "metro-runtime": "0.87.1" } }, "sha512-NmkDlc/qZAdo5gTkVTuO2AKE/khemRKRH5IA+SKfqUBJigI5GqZ5TOXhmEokhlkAqzjt8dyzKhzI6FHvXoXaTQ=="],
+
+ "metro-core": ["metro-core@0.87.1", "", { "dependencies": { "flow-enums-runtime": "^0.0.6", "lodash.throttle": "^4.1.1", "metro-resolver": "0.87.1" } }, "sha512-xizzky/4+c/Mkznege8OW05j7bSdM39VPoEps61Se4+hf32UQujmbvLvIE9+UnP6kNEPVomk0Fw8NsBK9iRQmw=="],
+
+ "metro-file-map": ["metro-file-map@0.87.1", "", { "dependencies": { "debug": "^4.4.0", "fb-watchman": "^2.0.0", "flow-enums-runtime": "^0.0.6", "graceful-fs": "^4.2.4", "invariant": "^2.2.4", "jest-worker": "^29.7.0", "micromatch": "^4.0.4", "nullthrows": "^1.1.1" } }, "sha512-9sPuNCojC3pS4vj+ZPY7FXmHGpdJeckXuKXQrDAfJvZc60AF8owRFTkI8XdwlwrmPIB2w++KraK9FMEXvC4wJw=="],
+
+ "metro-minify-terser": ["metro-minify-terser@0.87.1", "", { "dependencies": { "flow-enums-runtime": "^0.0.6", "terser": "^5.15.0" } }, "sha512-YK4k1oO1wV48hfE+Nbw2rJCnAgeabzrgT/xH5ha5n9gbK4p3HYFC898cERUiyTl9vRh58CNTiXRc88f7y6PfKg=="],
+
+ "metro-resolver": ["metro-resolver@0.87.1", "", { "dependencies": { "flow-enums-runtime": "^0.0.6" } }, "sha512-FXH/brY69wT6sPxaSW8BhMmDGD/6irmBr/cL4rUi+VWwqR3pbvdcfUOfyjcHucgQ7pe5IW3xJY21eHKLVKNumQ=="],
+
+ "metro-runtime": ["metro-runtime@0.87.1", "", { "dependencies": { "@babel/runtime": "^7.25.0", "flow-enums-runtime": "^0.0.6" } }, "sha512-kjeuSvInsM6OzBjkCQsWxnkrKZFMKtnkCl38oXWRI9lDGs2L9hGs9Tak9sQYJ9h3gtDujneB7wZio+irgqJKDw=="],
+
+ "metro-source-map": ["metro-source-map@0.87.1", "", { "dependencies": { "@babel/traverse": "^7.29.0", "@babel/types": "^7.29.0", "flow-enums-runtime": "^0.0.6", "invariant": "^2.2.4", "metro-symbolicate": "0.87.1", "nullthrows": "^1.1.1", "ob1": "0.87.1", "source-map": "^0.5.6", "vlq": "^1.0.0" } }, "sha512-Bqpm0PBGdy53pigIJb4HRF7QxD2pUOdgSmVh/4AWbP635kSCv+Y6ltVxUZgSnzS/QbSmzyCGijmRPlXMj2/qHw=="],
+
+ "metro-symbolicate": ["metro-symbolicate@0.87.1", "", { "dependencies": { "flow-enums-runtime": "^0.0.6", "invariant": "^2.2.4", "metro-source-map": "0.87.1", "nullthrows": "^1.1.1", "source-map": "^0.5.6", "vlq": "^1.0.0" }, "bin": { "metro-symbolicate": "src/index.js" } }, "sha512-rcGvwabrg0lbXGRGRKl14PY3My3+dkno2jZYhdJEuH2DmjTtTkV5bYwgto4JtV/Lbe+sXE6GO1UGg654430uow=="],
+
+ "metro-transform-plugins": ["metro-transform-plugins@0.87.1", "", { "dependencies": { "@babel/core": "^7.25.2", "@babel/generator": "^7.29.1", "@babel/template": "^7.28.6", "@babel/traverse": "^7.29.0", "flow-enums-runtime": "^0.0.6", "nullthrows": "^1.1.1" } }, "sha512-qMiJ/x+VfqumFJJSefKS6nj8uojzC29b2/aK8vlMuFABIqGjDucICEOXd2Yt6k/XMFAgAcaJvShUOT0HLyYaPw=="],
+
+ "metro-transform-worker": ["metro-transform-worker@0.87.1", "", { "dependencies": { "@babel/core": "^7.25.2", "@babel/generator": "^7.29.1", "@babel/parser": "^7.29.0", "@babel/types": "^7.29.0", "flow-enums-runtime": "^0.0.6", "metro": "0.87.1", "metro-babel-transformer": "0.87.1", "metro-cache": "0.87.1", "metro-cache-key": "0.87.1", "metro-minify-terser": "0.87.1", "metro-source-map": "0.87.1", "metro-transform-plugins": "0.87.1", "nullthrows": "^1.1.1" } }, "sha512-VOzs3OV405FuOLYdAhqA2wsn1F9lvueDVxMDLvCKaQ44U+yknIqphJ9eMjjsGwLDZiJq9sW3DMLhjD27JxQgqQ=="],
+
+ "micromatch": ["micromatch@4.0.8", "", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="],
+
+ "mime": ["mime@1.6.0", "", { "bin": { "mime": "cli.js" } }, "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="],
+
+ "mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],
+
+ "mime-types": ["mime-types@3.0.2", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],
+
+ "mkdirp": ["mkdirp@1.0.4", "", { "bin": { "mkdirp": "bin/cmd.js" } }, "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="],
+
+ "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
+
+ "muggle-string": ["muggle-string@0.4.1", "", {}, "sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ=="],
+
+ "nanoid": ["nanoid@3.3.19", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug=="],
+
+ "negotiator": ["negotiator@1.1.0", "", { "dependencies": { "content-type": "^2.1.0" } }, "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg=="],
+
+ "node-addon-api": ["node-addon-api@7.1.1", "", {}, "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ=="],
+
+ "node-fetch": ["node-fetch@2.7.0", "", { "dependencies": { "whatwg-url": "^5.0.0" }, "peerDependencies": { "encoding": "^0.1.0" }, "optionalPeers": ["encoding"] }, "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A=="],
+
+ "node-int64": ["node-int64@0.4.0", "", {}, "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw=="],
+
+ "node-releases": ["node-releases@2.0.57", "", {}, "sha512-kQK9LGGFiHtrWiNhZtA7Qbw17AQz+dmsEKODRIVTXA9+e5MS/2gZEBhYJt13GrAz5/IOZKddH/0Z3TP/Zgo+yw=="],
+
+ "nullthrows": ["nullthrows@1.1.1", "", {}, "sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw=="],
+
+ "ob1": ["ob1@0.87.1", "", { "dependencies": { "flow-enums-runtime": "^0.0.6" } }, "sha512-i8iA8uij0g1YQzS8uOJPSRCgwDjO9warIHUAu1Fqj877Wc3wlfxDYBioYWgKTBF2+URVJttyDWSEpmd99nlvtQ=="],
+
+ "on-finished": ["on-finished@2.3.0", "", { "dependencies": { "ee-first": "1.1.1" } }, "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww=="],
+
+ "open": ["open@7.4.2", "", { "dependencies": { "is-docker": "^2.0.0", "is-wsl": "^2.1.1" } }, "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q=="],
+
+ "p-comuns": ["p-comuns@git+https://git2.idz.one/publico/_comuns.git#314cd46534d3c4d2e01f47290bc8908fe47b0e11", { "peerDependencies": { "dayjs": "^1.11.18", "uuid": "^11.1.0", "zod": "4.4.3" } }, "314cd46534d3c4d2e01f47290bc8908fe47b0e11"],
+
+ "p-respostas": ["p-respostas@git+https://git2.idz.one/publico/_respostas.git#387b928e7fc43d287e3f22d2f209f8712fac5368", { "peerDependencies": { "p-comuns": "git+https://git2.idz.one/publico/_comuns.git", "zod": "4.4.3" } }, "387b928e7fc43d287e3f22d2f209f8712fac5368"],
+
+ "parseurl": ["parseurl@1.3.3", "", {}, "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="],
+
+ "path-browserify": ["path-browserify@1.0.1", "", {}, "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g=="],
+
+ "path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="],
+
+ "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
+
+ "picomatch": ["picomatch@4.0.7", "", {}, "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA=="],
+
+ "postcss": ["postcss@8.5.28", "", { "dependencies": { "nanoid": "^3.3.18", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A=="],
+
+ "pretty-format": ["pretty-format@29.7.0", "", { "dependencies": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", "react-is": "^18.0.0" } }, "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ=="],
+
+ "promise": ["promise@8.3.0", "", { "dependencies": { "asap": "~2.0.6" } }, "sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg=="],
+
+ "range-parser": ["range-parser@1.2.1", "", {}, "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="],
+
+ "react": ["react@19.3.0", "", {}, "sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog=="],
+
+ "react-devtools-core": ["react-devtools-core@6.1.5", "", { "dependencies": { "shell-quote": "^1.6.1", "ws": "^7" } }, "sha512-ePrwPfxAnB+7hgnEr8vpKxL9cmnp7F322t8oqcPshbIQQhDKgFDW4tjhF2wjVbdXF9O/nyuy3sQWd9JGpiLPvA=="],
+
+ "react-is": ["react-is@18.3.1", "", {}, "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg=="],
+
+ "react-native": ["react-native@0.87.1", "", { "dependencies": { "@react-native/asset-utils": "0.87.1", "@react-native/codegen": "0.87.1", "@react-native/community-cli-plugin": "0.87.1", "@react-native/gradle-plugin": "0.87.1", "@react-native/normalize-colors": "0.87.1", "@react-native/virtualized-lists": "0.87.1", "anser": "^1.4.9", "ansi-regex": "^5.0.0", "babel-plugin-syntax-hermes-parser": "0.36.1", "base64-js": "^1.5.1", "commander": "^12.0.0", "flow-enums-runtime": "^0.0.6", "hermes-compiler": "250829098.0.17", "invariant": "^2.2.4", "memoize-one": "^5.0.0", "metro-runtime": "^0.87.0", "metro-source-map": "^0.87.0", "nullthrows": "^1.1.1", "pretty-format": "^29.7.0", "promise": "^8.3.0", "react-devtools-core": "^6.1.5", "react-refresh": "^0.14.0", "regenerator-runtime": "^0.13.2", "scheduler": "0.27.0", "semver": "^7.1.3", "stacktrace-parser": "^0.1.10", "tinyglobby": "^0.2.15", "whatwg-fetch": "^3.0.0", "ws": "^7.5.10", "yargs": "^17.6.2" }, "peerDependencies": { "@types/react": "^19.1.1", "react": "^19.2.3" }, "optionalPeers": ["@types/react"], "bin": { "react-native": "cli.js" } }, "sha512-DJKG6ANoD7BtrE4z9DewiSD7/RxCX73lK5Pu49aUr85P3333Dm2roTiP0rRjQNDZdVizHSOmstWfwF/o9EjCRA=="],
+
+ "react-native-fs": ["react-native-fs@2.20.0", "", { "dependencies": { "base-64": "^0.1.0", "utf8": "^3.0.0" }, "peerDependencies": { "react-native": "*", "react-native-windows": "*" }, "optionalPeers": ["react-native-windows"] }, "sha512-VkTBzs7fIDUiy/XajOSNk0XazFE9l+QlMAce7lGuebZcag5CnjszB+u4BdqzwaQOdcYb5wsJIsqq4kxInIRpJQ=="],
+
+ "react-refresh": ["react-refresh@0.14.2", "", {}, "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA=="],
+
+ "readdirp": ["readdirp@5.1.1", "", {}, "sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA=="],
+
+ "regenerator-runtime": ["regenerator-runtime@0.13.11", "", {}, "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg=="],
+
+ "require-directory": ["require-directory@2.1.1", "", {}, "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q=="],
+
+ "rollup": ["rollup@4.63.5", "", { "dependencies": { "@types/estree": "1.0.9" }, "optionalDependencies": { "@napi-rs/lzma-linux-x64-gnu": "1.5.1", "@rollup/rollup-android-arm-eabi": "4.63.5", "@rollup/rollup-android-arm64": "4.63.5", "@rollup/rollup-darwin-arm64": "4.63.5", "@rollup/rollup-darwin-x64": "4.63.5", "@rollup/rollup-freebsd-arm64": "4.63.5", "@rollup/rollup-freebsd-x64": "4.63.5", "@rollup/rollup-linux-arm-gnueabihf": "4.63.5", "@rollup/rollup-linux-arm-musleabihf": "4.63.5", "@rollup/rollup-linux-arm64-gnu": "4.63.5", "@rollup/rollup-linux-arm64-musl": "4.63.5", "@rollup/rollup-linux-loong64-gnu": "4.63.5", "@rollup/rollup-linux-loong64-musl": "4.63.5", "@rollup/rollup-linux-ppc64-gnu": "4.63.5", "@rollup/rollup-linux-ppc64-musl": "4.63.5", "@rollup/rollup-linux-riscv64-gnu": "4.63.5", "@rollup/rollup-linux-riscv64-musl": "4.63.5", "@rollup/rollup-linux-s390x-gnu": "4.63.5", "@rollup/rollup-linux-x64-gnu": "4.63.5", "@rollup/rollup-linux-x64-musl": "4.63.5", "@rollup/rollup-openbsd-x64": "4.63.5", "@rollup/rollup-openharmony-arm64": "4.63.5", "@rollup/rollup-win32-arm64-msvc": "4.63.5", "@rollup/rollup-win32-ia32-msvc": "4.63.5", "@rollup/rollup-win32-x64-gnu": "4.63.5", "@rollup/rollup-win32-x64-msvc": "4.63.5", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-KRWwmNLlPw5M7HcdYfm15oBv9n9LPtjzpzCIxS/phwqvPyxHSoKX6Y2YU3pxSPfy0CLquVgsx/j/hBi6OvH1Nw=="],
+
+ "sass": ["sass@1.105.0", "", { "dependencies": { "chokidar": "^5.0.0", "immutable": "^5.1.5", "source-map-js": ">=0.6.2 <2.0.0" }, "optionalDependencies": { "@parcel/watcher": "^2.4.1" }, "bin": { "sass": "sass.js" } }, "sha512-4EjSuRTyG8M4yRXXY1PT9OUV5zz23xBxJkbIAprohKHqf6HOU4MCpE3U3vAC+iO1gxobBjESNbcj8rYAQZWnyA=="],
+
+ "scheduler": ["scheduler@0.27.0", "", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],
+
+ "semver": ["semver@7.8.5", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="],
+
+ "send": ["send@0.19.2", "", { "dependencies": { "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "~0.5.2", "http-errors": "~2.0.1", "mime": "1.6.0", "ms": "2.1.3", "on-finished": "~2.4.1", "range-parser": "~1.2.1", "statuses": "~2.0.2" } }, "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg=="],
+
+ "serialize-error": ["serialize-error@2.1.0", "", {}, "sha512-ghgmKt5o4Tly5yEG/UJp8qTd0AN7Xalw4XBtDEKP655B699qMEtra1WlXeE6WIvdEG481JvRxULKsInq/iNysw=="],
+
+ "serve-static": ["serve-static@1.16.3", "", { "dependencies": { "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "parseurl": "~1.3.3", "send": "~0.19.1" } }, "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA=="],
+
+ "setprototypeof": ["setprototypeof@1.2.0", "", {}, "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="],
+
+ "shebang-command": ["shebang-command@2.0.0", "", { "dependencies": { "shebang-regex": "^3.0.0" } }, "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="],
+
+ "shebang-regex": ["shebang-regex@3.0.0", "", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="],
+
+ "shell-quote": ["shell-quote@1.10.0", "", {}, "sha512-w1aiOKwKuRgtwAReIIj89puqg+I7GvX4IbLrvmhXbzQsj1+Zwi4VO3+fa6ZF91TWSjIxoEkKnMeHcLEODK5ZXA=="],
+
+ "source-map": ["source-map@0.6.1", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],
+
+ "source-map-js": ["source-map-js@1.2.1", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="],
+
+ "source-map-support": ["source-map-support@0.5.21", "", { "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" } }, "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w=="],
+
+ "stackframe": ["stackframe@1.3.4", "", {}, "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw=="],
+
+ "stacktrace-parser": ["stacktrace-parser@0.1.11", "", { "dependencies": { "type-fest": "^0.7.1" } }, "sha512-WjlahMgHmCJpqzU8bIBy4qtsZdU9lRlcZE3Lvyej6t4tuOuv1vk57OW3MBrj6hXBFx/nNoC9MPMTcr5YA7NQbg=="],
+
+ "statuses": ["statuses@1.5.0", "", {}, "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA=="],
+
+ "string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],
+
+ "strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],
+
+ "supports-color": ["supports-color@8.1.1", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q=="],
+
+ "terser": ["terser@5.51.2", "", { "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.15.0", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, "bin": { "terser": "bin/terser" } }, "sha512-bWnjSNscmuI+GJze6ZupnHP8G/cTcsJF+bXCeQknk2SHQsgbNJnLrqiH9jZ2W4STPVXH2mDKKRX3iwPhc9Cn/Q=="],
+
+ "throat": ["throat@5.0.0", "", {}, "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA=="],
+
+ "tinyglobby": ["tinyglobby@0.2.17", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g=="],
+
+ "to-regex-range": ["to-regex-range@5.0.1", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="],
+
+ "toidentifier": ["toidentifier@1.0.1", "", {}, "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="],
+
+ "tr46": ["tr46@0.0.3", "", {}, "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="],
+
+ "type-fest": ["type-fest@0.7.1", "", {}, "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg=="],
+
+ "typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="],
+
+ "undici-types": ["undici-types@8.9.0", "", {}, "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg=="],
+
+ "unpipe": ["unpipe@1.0.0", "", {}, "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="],
+
+ "upath": ["upath@2.0.1", "", {}, "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w=="],
+
+ "update-browserslist-db": ["update-browserslist-db@1.3.3", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-pJ2sYawQS0R/WI928Gj5GlPhTGzbMelq0+4INtSYNDV9ErKJcX6xjGWkoG/VnB3dpUm00zALaqkrUD77pO5TDQ=="],
+
+ "utf8": ["utf8@3.0.0", "", {}, "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ=="],
+
+ "utils-merge": ["utils-merge@1.0.1", "", {}, "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA=="],
+
+ "uuid": ["uuid@13.0.2", "", { "bin": { "uuid": "dist-node/bin/uuid" } }, "sha512-vzi9uRZ926x4XV73S/4qQaTwPXM2JBj6/6lI/byHH1jOpCzb0zDbfytgA9LcN/hzb2l7WQSQnxITOVx5un/wGw=="],
+
+ "vite": ["vite@6.4.3", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", "picomatch": "^4.0.2", "postcss": "^8.5.3", "rollup": "^4.34.9", "tinyglobby": "^0.2.13" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A=="],
+
+ "vite-plugin-css-injected-by-js": ["vite-plugin-css-injected-by-js@3.5.2", "", { "peerDependencies": { "vite": ">2.0.0-0" } }, "sha512-2MpU/Y+SCZyWUB6ua3HbJCrgnF0KACAsmzOQt1UvRVJCGF6S8xdA3ZUhWcWdM9ivG4I5az8PnQmwwrkC2CAQrQ=="],
+
+ "vite-plugin-vuetify": ["vite-plugin-vuetify@2.1.3", "", { "dependencies": { "@vuetify/loader-shared": "^2.1.2", "debug": "^4.3.3", "upath": "^2.0.1" }, "peerDependencies": { "vite": ">=5", "vue": "^3.0.0", "vuetify": ">=3" } }, "sha512-Q4SC/4TqbNvaZIFb9YsfBqkGlYHbJJJ6uU3CnRBZqLUF3s5eCMVZAaV4GkTbehIH/bhSj42lMXztOwc71u6rVw=="],
+
+ "vlq": ["vlq@1.0.1", "", {}, "sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w=="],
+
+ "vscode-uri": ["vscode-uri@3.2.0", "", {}, "sha512-m2gXo3bn0G1kT9InzMf07fTbqMbGtyckj3bH5ktLO+1Ssv+yiATZ4dhwaQv9UZWxJh6E9IFGnQyjgWVDWVBDrg=="],
+
+ "vue": ["vue@3.5.43", "", { "dependencies": { "@vue/compiler-dom": "3.5.43", "@vue/compiler-sfc": "3.5.43", "@vue/runtime-dom": "3.5.43", "@vue/server-renderer": "3.5.43", "@vue/shared": "3.5.43" }, "peerDependencies": { "typescript": "*" }, "optionalPeers": ["typescript"] }, "sha512-o5qZoksdnjIKvW1srZ3ab7pcDNYAerBjRe54D0LBLfRdCYFrSgBHVXokMas35czQc0//lmx4/tuY4ZNQ+Rf2Ng=="],
+
+ "vue-tsc": ["vue-tsc@3.3.11", "", { "dependencies": { "@volar/typescript": "2.4.28", "@vue/language-core": "3.3.11" }, "peerDependencies": { "typescript": ">=5.0.0" }, "bin": { "vue-tsc": "bin/vue-tsc.js" } }, "sha512-gOb0B9rtU2+f1dszwPqSH5kAieIF9ReeLhD3kSRNHv5WZZUQz/JdVXW0RTdqhNTMlQkqKzrTTviqKr/4FYZraQ=="],
+
+ "vuetify": ["vuetify@3.13.5", "", { "peerDependencies": { "typescript": ">=4.7", "vite-plugin-vuetify": ">=2.1.0", "vue": "^3.5.0", "webpack-plugin-vuetify": ">=3.1.0" }, "optionalPeers": ["typescript", "vite-plugin-vuetify", "webpack-plugin-vuetify"] }, "sha512-1PKESHKgyIj6BfjVbpF1bLWvKIBOvyDqIcP6C0R173fNZDr4jyXH7ssigAZvfqV5nRmVS/N9sGtY/IekGQ9TSQ=="],
+
+ "webidl-conversions": ["webidl-conversions@3.0.1", "", {}, "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="],
+
+ "whatwg-fetch": ["whatwg-fetch@3.6.20", "", {}, "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg=="],
+
+ "whatwg-url": ["whatwg-url@5.0.0", "", { "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw=="],
+
+ "which": ["which@2.0.2", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="],
+
+ "wrap-ansi": ["wrap-ansi@7.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="],
+
+ "ws": ["ws@7.5.13", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": "^5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-rsKI6xDBFVf4r/x8XyChGK04QR/XHroxs/jUcoWvtEZM8TPU/X/uIY9B1CsSzYws9ZJb/6bbBu7dPhFW00CAoA=="],
+
+ "y18n": ["y18n@5.0.8", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="],
+
+ "yallist": ["yallist@3.1.1", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="],
+
+ "yargs": ["yargs@16.2.2", "", { "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.0", "y18n": "^5.0.5", "yargs-parser": "^20.2.2" } }, "sha512-Nt9ZJjXTv5R8MHbqby/wXQ6Gi0Bb3TcYZkR1bzuL4yB2OxWPkXknz513gEF0GoA6tn00UpbPvERW8rzCuWCA6w=="],
+
+ "yargs-parser": ["yargs-parser@20.2.9", "", {}, "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w=="],
+
+ "zod": ["zod@4.4.3", "", {}, "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ=="],
+
+ "@babel/core/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
+
+ "@babel/helper-compilation-targets/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
+
+ "@react-native/codegen/yargs": ["yargs@17.7.3", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g=="],
+
+ "chalk/ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="],
+
+ "chalk/supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],
+
+ "connect/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="],
+
+ "finalhandler/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="],
+
+ "finalhandler/encodeurl": ["encodeurl@1.0.2", "", {}, "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w=="],
+
+ "http-errors/statuses": ["statuses@2.0.2", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="],
+
+ "jest-util/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="],
+
+ "lighthouse-logger/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="],
+
+ "metro/source-map": ["source-map@0.5.7", "", {}, "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ=="],
+
+ "metro/yargs": ["yargs@17.7.3", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g=="],
+
+ "metro-source-map/source-map": ["source-map@0.5.7", "", {}, "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ=="],
+
+ "metro-symbolicate/source-map": ["source-map@0.5.7", "", {}, "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ=="],
+
+ "micromatch/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="],
+
+ "react-native/commander": ["commander@12.1.0", "", {}, "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA=="],
+
+ "react-native/yargs": ["yargs@17.7.3", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g=="],
+
+ "send/debug": ["debug@2.6.9", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="],
+
+ "send/on-finished": ["on-finished@2.4.1", "", { "dependencies": { "ee-first": "1.1.1" } }, "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg=="],
+
+ "send/statuses": ["statuses@2.0.2", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="],
+
+ "wrap-ansi/ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="],
+
+ "@react-native/codegen/yargs/cliui": ["cliui@8.0.1", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="],
+
+ "@react-native/codegen/yargs/yargs-parser": ["yargs-parser@21.1.1", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],
+
+ "connect/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="],
+
+ "finalhandler/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="],
+
+ "lighthouse-logger/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="],
+
+ "metro/yargs/cliui": ["cliui@8.0.1", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="],
+
+ "metro/yargs/yargs-parser": ["yargs-parser@21.1.1", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],
+
+ "react-native/yargs/cliui": ["cliui@8.0.1", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="],
+
+ "react-native/yargs/yargs-parser": ["yargs-parser@21.1.1", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],
+
+ "send/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="],
+ }
+}
diff --git a/dist/eli-vue.es.js b/dist/eli-vue.es.js
index 54ce74e..2e255b9 100644
--- a/dist/eli-vue.es.js
+++ b/dist/eli-vue.es.js
@@ -1,18 +1,18 @@
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@font-face{font-family:Google Sans;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}@font-face{font-family:Google Sans;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-Italic-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}:root{--eli-font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;--v-font-family: var(--eli-font-family)}html,body{font-family:var(--eli-font-family)}:where([class^=eli-],[class*=" eli-"]){font-family:var(--eli-font-family);--v-font-family: var(--eli-font-family)}button,input,select,textarea{font-family:inherit}:root{--cor-eli-primaria-bg: #EEF3D0;--cor-eli-primaria-zebra: #F6F9E8;--cor-eli-primaria-suave: #BFC99C;--cor-eli-primaria-header: #ADCC44;--cor-eli-primaria-clara: #D4E290;--cor-eli-primaria-media: #ADCC44;--cor-eli-primaria-acao: #8AAF00;--cor-eli-primaria: #688C00;--cor-eli-primaria-escura: #4A6500;--cor-eli-primaria-texto: #2E3F00;--cor-eli-alerta-bg: #FAF3DF;--cor-eli-alerta-clara: #F5DC8A;--cor-eli-alerta: #DDB847;--cor-eli-alerta-forte: #8C6A00;--cor-eli-fundo: #F2F3EE;--cor-eli-borda: #D5D8CC;--cor-eli-borda-forte: #B5BAA8;--cor-eli-neutro: #5E6553;--cor-eli-neutro-escuro: #3E4436;--cor-eli-superficie: #FFFFFF;--cor-eli-sucesso: #2E7D32;--cor-eli-sucesso-bg: #E8F5E9;--cor-eli-erro: #C62828;--cor-eli-erro-bg: #FFEBEE;--cor-eli-info: #1565C0;--cor-eli-info-bg: #E3F2FD}.eli-badge .v-badge__badge,.eli-badge .v-badge__content{border-radius:var(--eli-badge-radius)!important}.eli-cartao{border-radius:12px}.eli-cartao__titulo{display:flex;align-items:center;justify-content:space-between;gap:12px}.eli-cartao__titulo-texto{min-width:0}.eli-cartao__conteudo{padding-top:8px}.eli-cartao__acoes{padding-top:0}.eli-cartao--cancelado{opacity:.85}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.eli-coordenadas{width:100%;display:flex;flex-direction:column;gap:8px}.eli-coordenadas__mapa-container{width:100%;border-radius:8px;overflow:hidden;border:1px solid rgba(var(--v-border-color),var(--v-border-opacity));position:relative}.eli-coordenadas__mapa-container .leaflet-container{width:100%;height:100%;z-index:0}.eli-coordenadas__campos{display:flex;gap:12px;align-items:center}.eli-coordenadas__campo{flex:1}.eli-dh{position:relative;width:100%;font-family:var(--eli-font-family, "Google Sans", system-ui, sans-serif)}.eli-dh__campo{display:flex;align-items:center;gap:8px;padding:0 14px;height:56px;border:1.5px solid var(--cor-eli-borda, #D5D8CC);border-radius:8px;background:var(--cor-eli-superficie, #fff);cursor:pointer;transition:border-color .18s,box-shadow .18s;-webkit-user-select:none;user-select:none;position:relative}.eli-dh__campo:hover:not(.eli-dh__campo--desabilitado){border-color:var(--cor-eli-primaria-media, #ADCC44)}.eli-dh__campo--focado{border-color:var(--cor-eli-primaria, #688C00);box-shadow:0 0 0 3px color-mix(in srgb,var(--cor-eli-primaria, #688C00) 14%,transparent);outline:none}.eli-dh__campo--erro{border-color:var(--cor-eli-erro, #C62828);box-shadow:0 0 0 3px color-mix(in srgb,var(--cor-eli-erro, #C62828) 12%,transparent)}.eli-dh__campo--desabilitado{background:var(--cor-eli-fundo, #F2F3EE);cursor:not-allowed;opacity:.6}.eli-dh__icone-btn{display:flex;align-items:center;justify-content:center;padding:0;border:none;background:none;cursor:pointer;color:var(--cor-eli-neutro, #5E6553);transition:color .18s;border-radius:4px;flex-shrink:0}.eli-dh__icone-btn:hover:not(:disabled){color:var(--cor-eli-primaria, #688C00)}.eli-dh__icone{width:20px;height:20px}.eli-dh__conteudo{flex:1;display:flex;flex-direction:column;min-width:0;gap:1px}.eli-dh__rotulo{font-size:11px;font-weight:600;color:var(--cor-eli-neutro, #5E6553);line-height:1.2;letter-spacing:.02em;text-transform:uppercase;transition:color .18s;cursor:pointer}.eli-dh__campo--focado .eli-dh__rotulo{color:var(--cor-eli-primaria, #688C00)}.eli-dh__campo--erro .eli-dh__rotulo{color:var(--cor-eli-erro, #C62828)}.eli-dh__input{width:100%;border:none;background:transparent;outline:none;font-size:15px;font-weight:500;font-family:inherit;color:var(--cor-eli-neutro-escuro, #3E4436);padding:0;margin:0;line-height:1.2}.eli-dh__input::placeholder{color:var(--cor-eli-borda-forte, #B5BAA8);font-weight:400;opacity:1}.eli-dh__input:disabled{cursor:not-allowed;color:var(--cor-eli-neutro, #5E6553)}.eli-dh__limpar{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:none;border-radius:50%;cursor:pointer;color:var(--cor-eli-borda-forte, #B5BAA8);transition:color .15s,background .15s;padding:0}.eli-dh__limpar:hover{color:var(--cor-eli-erro, #C62828);background:var(--cor-eli-erro-bg, #FFEBEE)}.eli-dh__mensagem{margin-top:4px;padding:0 14px;font-size:12px;line-height:1.4}.eli-dh__mensagem--erro{color:var(--cor-eli-erro, #C62828)}.eli-dh__mensagem--dica{color:var(--cor-eli-neutro, #5E6553)}.eli-dh__popover{position:fixed;z-index:99999;background:var(--cor-eli-superficie, #fff);border:1.5px solid var(--cor-eli-borda, #D5D8CC);border-radius:14px;box-shadow:0 4px 6px -1px #0000000f,0 10px 30px -4px #0000001f;overflow:hidden;min-width:300px;transform-origin:top left}.eli-dh-pop-enter-active,.eli-dh-pop-leave-active{transition:opacity .16s ease,transform .16s ease}.eli-dh-pop-enter-from,.eli-dh-pop-leave-to{opacity:0;transform:translateY(-6px) scale(.97)}.eli-dh__cal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;background:linear-gradient(135deg,var(--cor-eli-primaria, #688C00) 0%,var(--cor-eli-primaria-acao, #8AAF00) 100%)}.eli-dh__cal-nav{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:#ffffff2e;border-radius:8px;cursor:pointer;color:#fff;transition:background .15s;padding:0}.eli-dh__cal-nav:hover{background:#ffffff4d}.eli-dh__cal-nav svg{width:18px;height:18px}.eli-dh__cal-titulo{display:flex;flex-direction:column;align-items:center;gap:2px}.eli-dh__seletores{display:flex;align-items:center;gap:6px}.eli-dh__select{border:none;background:#ffffff24;color:#fff;font-family:inherit;font-size:14px;font-weight:700;padding:4px 8px;border-radius:6px;cursor:pointer;outline:none;transition:background .15s;-moz-appearance:none;appearance:none;-webkit-appearance:none}.eli-dh__select:hover{background:#ffffff42}.eli-dh__select option{background:var(--cor-eli-superficie, #fff);color:var(--cor-eli-neutro-escuro, #3E4436);font-weight:600}.eli-dh__cal-body{padding:12px 14px 14px}.eli-dh__cal-semana{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:6px}.eli-dh__cal-dia-sem{display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:var(--cor-eli-neutro, #5E6553);text-transform:uppercase;letter-spacing:.04em;height:28px}.eli-dh__cal-grade{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.eli-dh__cal-dia{display:flex;align-items:center;justify-content:center;height:36px;border:none;border-radius:8px;background:none;font-size:13px;font-weight:500;color:var(--cor-eli-neutro-escuro, #3E4436);cursor:pointer;transition:background .12s,color .12s;padding:0;font-family:inherit}.eli-dh__cal-dia:hover:not(:disabled):not(.eli-dh__cal-dia--fora):not(.eli-dh__cal-dia--selecionado){background:var(--cor-eli-primaria-bg, #EEF3D0);color:var(--cor-eli-primaria, #688C00)}.eli-dh__cal-dia--fora{color:var(--cor-eli-borda-forte, #B5BAA8);cursor:default}.eli-dh__cal-dia--hoje{color:var(--cor-eli-primaria, #688C00);font-weight:700;position:relative}.eli-dh__cal-dia--hoje:after{content:"";position:absolute;bottom:4px;left:50%;transform:translate(-50%);width:4px;height:4px;border-radius:50%;background:var(--cor-eli-primaria, #688C00)}.eli-dh__cal-dia--selecionado{background:var(--cor-eli-primaria, #688C00);color:#fff;font-weight:700}.eli-dh__cal-dia--selecionado.eli-dh__cal-dia--hoje:after{background:#fff}.eli-dh__cal-dia--desabilitado{opacity:.32;cursor:not-allowed}.eli-dh__hora-secao{border-top:1px solid var(--cor-eli-borda, #D5D8CC);padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--cor-eli-fundo-suave, #F8F9F5)}.eli-dh__hora-rotulo{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--cor-eli-neutro-escuro, #3E4436)}.eli-dh__hora-icone{width:16px;height:16px;color:var(--cor-eli-primaria, #688C00);flex-shrink:0}.eli-dh__hora-campos{display:flex;align-items:center;gap:6px}.eli-dh__hora-select{height:32px;padding:2px 6px;border:1.5px solid var(--cor-eli-borda, #D5D8CC);border-radius:6px;background:var(--cor-eli-superficie, #fff);text-align:center;font-size:13px;font-weight:600;font-family:inherit;color:var(--cor-eli-neutro-escuro, #3E4436);cursor:pointer;outline:none;transition:border-color .15s,box-shadow .15s}.eli-dh__hora-select:focus{border-color:var(--cor-eli-primaria, #688C00);box-shadow:0 0 0 2px color-mix(in srgb,var(--cor-eli-primaria, #688C00) 14%,transparent)}.eli-dh__hora-select option{background:var(--cor-eli-superficie, #fff);color:var(--cor-eli-neutro-escuro, #3E4436);font-weight:600}.eli-dh__hora-sep{font-size:16px;font-weight:700;color:var(--cor-eli-neutro, #5E6553);line-height:1}.eli-dh__btn-agora{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 10px;border:1px solid var(--cor-eli-primaria, #688C00);border-radius:6px;background:color-mix(in srgb,var(--cor-eli-primaria, #688C00) 10%,transparent);color:var(--cor-eli-primaria, #688C00);font-size:12px;font-weight:700;font-family:inherit;cursor:pointer;transition:background .15s,color .15s;white-space:nowrap}.eli-dh__btn-agora:hover{background:var(--cor-eli-primaria, #688C00);color:#fff}.eli-dh__rodape{padding:10px 14px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--cor-eli-borda, #D5D8CC)}.eli-dh__rodape-acoes{display:flex;align-items:center;gap:8px;margin-left:auto}.eli-dh__btn{display:inline-flex;align-items:center;gap:5px;padding:7px 16px;border:none;border-radius:8px;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer;transition:background .14s,opacity .14s}.eli-dh__btn--cancelar{background:var(--cor-eli-fundo, #F2F3EE);color:var(--cor-eli-neutro, #5E6553)}.eli-dh__btn--cancelar:hover{background:var(--cor-eli-borda, #D5D8CC)}.eli-dh__btn--confirmar{background:var(--cor-eli-primaria, #688C00);color:#fff}.eli-dh__btn--confirmar:hover{background:var(--cor-eli-primaria-escura, #4A6500)}.eli-entrada__prefixo,.eli-entrada__sufixo{opacity:.75;font-size:.9em;white-space:nowrap}.eli-entrada__prefixo{margin-right:6px}.eli-entrada__sufixo{margin-left:6px}.eli-tabela__acoes-cabecalho{display:inline-flex;gap:8px;flex-wrap:wrap}.eli-tabela__acoes-cabecalho-botao{display:inline-flex;align-items:center;gap:6px;height:var(--eli-tabela-cabecalho-controle-altura);padding:0 14px;border-radius:var(--eli-tabela-cabecalho-controle-radius);border:none;background:var(--cor-eli-primaria-bg);color:var(--cor-eli-primaria-escura);font-size:.875rem;font-weight:500;line-height:1;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-cabecalho-botao:hover,.eli-tabela__acoes-cabecalho-botao:focus-visible{background:var(--cor-eli-primaria-clara)}.eli-tabela__acoes-cabecalho-botao:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela__acoes-cabecalho-icone{display:inline-block}.eli-tabela__acoes-cabecalho-rotulo{line-height:1}.eli-tabela__acoes-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-toggle-icone{display:block}.eli-tabela__acoes-toggle:hover,.eli-tabela__acoes-toggle:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__acoes-toggle:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela__acoes-toggle:disabled{cursor:default;color:#94a3b8cc;background:transparent}.eli-tabela__acoes-menu{min-width:180px;padding:6px 0;margin:0;list-style:none;background:var(--cor-eli-superficie);border:1px solid rgba(15,23,42,.08);border-radius:10px;box-shadow:0 12px 30px #0f172a2e;z-index:1000}.eli-tabela__acoes-item{margin:0}.eli-tabela__acoes-item-botao{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:transparent;font-size:.9rem;cursor:pointer;transition:background-color .2s ease}.eli-tabela__acoes-item-botao:hover,.eli-tabela__acoes-item-botao:focus-visible{background-color:#0f172a0f}.eli-tabela__acoes-item-botao:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.eli-tabela__acoes-item-icone{flex-shrink:0}.eli-tabela__acoes-item-texto{flex:1;text-align:left}.eli-tabela__th--expander,.eli-tabela__td--expander{width:42px;padding:6px 8px;text-align:center;vertical-align:middle}.eli-tabela__expander-botao{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__expander-botao:hover,.eli-tabela__expander-botao:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__expander-botao:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela__expander-botao--ativo{background-color:#0f172a0f;color:#0f172af2}.eli-tabela__td--detalhes{padding:12px}.eli-tabela__tr--detalhes .eli-tabela__td{border-bottom:1px solid rgba(0,0,0,.08)}.eli-tabela__detalhes{display:grid;gap:10px;padding-left:4px}.eli-tabela__detalhe{display:grid;grid-template-columns:180px 1fr;gap:10px;align-items:start}.eli-tabela__detalhe-rotulo{font-weight:600;color:#0f172ad9}.eli-tabela__detalhe-valor{min-width:0}@media(max-width:720px){.eli-tabela__detalhe{grid-template-columns:1fr}}.eli-tabela__th--selecao,.eli-tabela__td--selecao{width:48px;min-width:48px;max-width:48px;text-align:center;padding:0 8px;vertical-align:middle}.eli-tabela__checkbox{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:15px;height:15px;cursor:pointer;border:2px solid rgba(0,0,0,.54);border-radius:2px;margin:0;vertical-align:middle;position:relative;transition:all .2s ease-in-out;background-color:transparent;outline:none}.eli-tabela__checkbox:hover{border-color:#000000de}.eli-tabela__checkbox:checked,.eli-tabela__checkbox:indeterminate{background-color:var(--cor-eli-primaria);border-color:var(--cor-eli-primaria)}.eli-tabela__checkbox:checked:after{content:"";position:absolute;top:0;left:4px;width:4px;height:9px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.eli-tabela__checkbox:indeterminate:after{content:"";position:absolute;top:5px;left:2px;width:8px;height:2px;background-color:#fff;border-radius:1px}.eli-tabela__checkbox:focus-visible{box-shadow:0 0 0 2px var(--cor-eli-primaria-clara)}.eli-tabela{width:100%}.eli-tabela__table-wrapper{width:100%;overflow-x:auto}.eli-tabela__td--estados{padding:0}.eli-tabela__estados-inline{border:none;border-radius:0}.eli-tabela__table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid rgba(0,0,0,.12);border-radius:12px;overflow:visible}.eli-tabela__table thead tr:first-child th:first-child{border-top-left-radius:11px}.eli-tabela__table thead tr:first-child th:last-child{border-top-right-radius:11px}.eli-tabela__table tbody tr:last-child td:first-child{border-bottom-left-radius:11px}.eli-tabela__table tbody tr:last-child td:last-child{border-bottom-right-radius:11px}.eli-tabela__tbody{overflow:visible}.eli-tabela__tbody .eli-tabela__tr .eli-tabela__td{background:var(--cor-eli-superficie, #ffffff)}.eli-tabela__tbody .eli-tabela__tr--zebra .eli-tabela__td{background:var(--cor-eli-primaria-zebra, #F6F9E8)}.eli-tabela__th,.eli-tabela__td{padding:10px 12px;border-bottom:1px solid var(--cor-eli-borda);vertical-align:top}.eli-tabela__th{text-align:left;font-weight:600;font-size:.82rem;letter-spacing:.02em;text-transform:uppercase;color:var(--cor-eli-neutro-escuro, #3E4436);background:var(--cor-eli-primaria-suave, #BFC99C);border-bottom:2px solid var(--cor-eli-primaria-bg, #EEF3D0)}.eli-tabela__th--ordenavel{padding:0}.eli-tabela__th--ordenavel .eli-tabela__th-botao{padding:10px 12px}.eli-tabela__th-botao{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;background:transparent;border:none;font:inherit;color:inherit;cursor:pointer;text-align:left;transition:color .2s ease}.eli-tabela__th-botao:hover,.eli-tabela__th-botao:focus-visible{color:var(--cor-eli-primaria-texto, #2E3F00)}.eli-tabela__th-botao:focus-visible{outline:2px solid var(--cor-eli-primaria, #688C00);outline-offset:2px}.eli-tabela__th-botao--ativo{color:var(--cor-eli-primaria-texto, #2E3F00)}.eli-tabela__th-texto{flex:1;min-width:0;white-space:nowrap}.eli-tabela__th-icone{flex-shrink:0}.eli-tabela__th-icone--oculto{opacity:0}.eli-tabela__tr:last-child .eli-tabela__td{border-bottom:none}.eli-tabela__td--clicavel{cursor:pointer}.eli-tabela__td--clicavel:hover{background:#00000008}.eli-tabela--erro{display:flex;align-items:flex-start;gap:10px;border:1px solid rgba(220,53,69,.35);border-radius:12px;padding:12px}.eli-tabela--carregando{display:flex;align-items:center;gap:10px;border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__erro-titulo{font-weight:700;margin-bottom:4px}.eli-tabela__erro-mensagem{opacity:.9}.eli-tabela--vazio{display:flex;align-items:center;gap:10px;border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__estado-icone{flex-shrink:0;color:#0f172a73}.eli-tabela__estado-icone--erro{color:var(--cor-eli-erro)}.eli-tabela__estado-icone--spin{animation:eli-tabela-spin 1s linear infinite}@keyframes eli-tabela-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.eli-tabela__th--acoes{text-align:right;white-space:nowrap}.eli-tabela__td--acoes{white-space:nowrap;overflow:visible}.eli-tabela__acoes-container{display:flex;justify-content:flex-end;position:relative;z-index:1}.eli-tabela__acoes-container--aberto{z-index:200}.eli-tabela__rodape{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;flex-wrap:wrap}.eli-tabela__paginacao{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:0;flex-wrap:wrap}.eli-tabela__acoes-inferiores{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}.eli-tabela__cabecalho{width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:12px;flex-wrap:wrap;--eli-tabela-cabecalho-controle-altura: 34px;--eli-tabela-cabecalho-controle-radius: 8px}.eli-tabela__celula-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.eli-tabela__celula-tag{cursor:default}.eli-tabela__celula-tag-icone{margin-right:6px}.eli-tabela__texto-truncado{display:inline-block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.eli-tabela__celula-link{all:unset;display:inline;color:#2563eb;cursor:pointer;text-decoration:underline;text-decoration-color:var(--cor-eli-primaria-clara);text-underline-offset:2px}.eli-tabela__celula-link:hover{color:#1d4ed8;text-decoration-color:#1d4ed8bf}.eli-tabela__celula-link:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px;border-radius:4px}.eli-tabela__busca{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.eli-tabela__busca-input-wrapper{display:inline-flex;align-items:stretch;border-radius:var(--eli-tabela-cabecalho-controle-radius, 8px);border:1px solid rgba(15,23,42,.15);overflow:hidden;background:var(--cor-eli-superficie);height:var(--eli-tabela-cabecalho-controle-altura, 34px)}.eli-tabela__busca-input{height:100%;padding:0 12px;border:none;outline:none;font-size:.875rem;color:#0f172ad9}.eli-tabela__busca-input::-webkit-search-cancel-button,.eli-tabela__busca-input::-webkit-search-decoration{-webkit-appearance:none}.eli-tabela__busca-input::placeholder{color:var(--cor-eli-neutro)}.eli-tabela__busca-botao{display:inline-flex;align-items:center;justify-content:center;border:none;background:var(--cor-eli-primaria-bg);color:var(--cor-eli-primaria-escura);height:100%;padding:0 12px;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__busca-botao-icone{display:block}.eli-tabela__busca-botao:hover,.eli-tabela__busca-botao:focus-visible{background:var(--cor-eli-primaria-clara);color:var(--cor-eli-primaria-escura)}.eli-tabela__busca-botao:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela__busca-grupo{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.eli-tabela__filtro-icone-container{position:relative;display:inline-flex;align-items:center}.eli-tabela__filtro-badge{position:absolute;top:-7px;right:-9px;min-width:16px;height:16px;padding:0 4px;border-radius:9999px;background:var(--cor-eli-erro, #dc3545);color:#fff;font-size:.65rem;font-weight:700;line-height:16px;text-align:center;pointer-events:none;box-shadow:0 1px 3px #0003}.eli-tabela-modal-colunas__item{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:8px;border:1px solid var(--cor-eli-borda);background:var(--cor-eli-superficie);cursor:grab;-webkit-user-select:none;user-select:none;transition:box-shadow .15s ease,opacity .15s ease,border-color .15s ease}.eli-tabela-modal-colunas__item+.eli-tabela-modal-colunas__item{margin-top:6px}.eli-tabela-modal-colunas__item:hover{border-color:var(--cor-eli-borda-forte);box-shadow:0 2px 8px #0f172a14}.eli-tabela-modal-colunas__item:active{cursor:grabbing}.eli-tabela-modal-colunas__item--invisivel{opacity:.72}.eli-tabela-modal-colunas__item--arrastando{opacity:.15;border-style:dashed;border-color:var(--cor-eli-primaria-media)}.eli-tabela-modal-colunas__item-handle{color:var(--cor-eli-borda-forte);flex-shrink:0;transition:color .15s ease}.eli-tabela-modal-colunas__item:hover .eli-tabela-modal-colunas__item-handle{color:var(--cor-eli-neutro)}.eli-tabela-modal-colunas__item-texto{flex:1;min-width:0;font-size:.875rem;color:var(--cor-eli-neutro-escuro);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eli-tabela-modal-colunas__item-badge-icone{flex-shrink:0}.eli-tabela-modal-colunas__item-badge-icone--visivel{color:var(--cor-eli-primaria-acao)}.eli-tabela-modal-colunas__item-badge-icone--invisivel{color:var(--cor-eli-borda-forte)}.eli-tabela-modal-colunas__vazio{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px 12px;text-align:center;font-size:.8rem;color:var(--cor-eli-neutro);line-height:1.5}.eli-tabela-modal-colunas__vazio-icone{color:var(--cor-eli-borda-forte)}.eli-tabela-modal-colunas__vazio-icone--ok{color:var(--cor-eli-primaria-acao)}.list-move,.list-enter-active,.list-leave-active{transition:all .25s cubic-bezier(.4,0,.2,1)}.list-enter-from,.list-leave-to{opacity:0;transform:scale(.95)}.list-leave-active{position:absolute;width:calc(100% - 16px)}.eli-tabela-modal-colunas__footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--cor-eli-borda);background:var(--cor-eli-fundo)}.eli-tabela-modal-colunas__botao{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 16px;border-radius:8px;border:1px solid var(--cor-eli-borda);background:var(--cor-eli-superficie);cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s ease,border-color .2s ease,color .2s ease}.eli-tabela-modal-colunas__botao--sec{color:var(--cor-eli-neutro-escuro)}.eli-tabela-modal-colunas__botao--sec:hover,.eli-tabela-modal-colunas__botao--sec:focus-visible{background:var(--cor-eli-fundo);border-color:var(--cor-eli-borda-forte)}.eli-tabela-modal-colunas__botao--sec:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela-modal-colunas__botao--prim{border:none;background:var(--cor-eli-primaria);color:#fff}.eli-tabela-modal-colunas__botao--prim:hover,.eli-tabela-modal-colunas__botao--prim:focus-visible{background:var(--cor-eli-primaria-escura)}.eli-tabela-modal-colunas__botao--prim:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}@media(max-width:720px){.eli-tabela-modal-colunas__conteudo{grid-template-columns:1fr}.eli-tabela-modal-colunas__coluna+.eli-tabela-modal-colunas__coluna{border-left:none;border-top:1px solid var(--cor-eli-borda)}}.eli-tabela-modal-colunas__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-colunas__modal{width:min(820px,100%);background:var(--cor-eli-superficie);border-radius:16px;border:1px solid var(--cor-eli-borda);box-shadow:0 24px 64px #0f172a38;overflow:hidden;display:flex;flex-direction:column}.eli-tabela-modal-colunas__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--cor-eli-borda);background:var(--cor-eli-primaria-header, #ADCC44)}.eli-tabela-modal-colunas__header-info{display:flex;align-items:center;gap:8px}.eli-tabela-modal-colunas__header-icone{color:var(--cor-eli-primaria-escura);flex-shrink:0}.eli-tabela-modal-colunas__titulo{font-size:.95rem;font-weight:600;color:var(--cor-eli-primaria-texto);margin:0}.eli-tabela-modal-colunas__fechar{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;border:none;background:transparent;cursor:pointer;color:var(--cor-eli-primaria-escura);transition:background .2s ease}.eli-tabela-modal-colunas__fechar:hover,.eli-tabela-modal-colunas__fechar:focus-visible{background:#0f172a1a}.eli-tabela-modal-colunas__fechar:focus-visible{outline:2px solid var(--cor-eli-primaria);outline-offset:2px}.eli-tabela-modal-colunas__instrucao{display:flex;align-items:center;gap:6px;padding:8px 16px;background:var(--cor-eli-fundo);border-bottom:1px solid var(--cor-eli-borda);font-size:.78rem;color:var(--cor-eli-neutro);line-height:1.4}.eli-tabela-modal-colunas__instrucao-icone{flex-shrink:0;color:var(--cor-eli-borda-forte)}.eli-tabela-modal-colunas__conteudo{display:grid;grid-template-columns:1fr 1fr;gap:0;flex:1}.eli-tabela-modal-colunas__coluna{display:flex;flex-direction:column;padding:12px}.eli-tabela-modal-colunas__coluna+.eli-tabela-modal-colunas__coluna{border-left:1px solid var(--cor-eli-borda)}.eli-tabela-modal-colunas__coluna-cabecalho{display:flex;align-items:center;gap:6px;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:6px 10px;border-radius:8px;margin-bottom:8px}.eli-tabela-modal-colunas__coluna-cabecalho--visiveis{color:var(--cor-eli-primaria-escura);background:var(--cor-eli-primaria-bg)}.eli-tabela-modal-colunas__coluna-cabecalho--invisiveis{color:var(--cor-eli-neutro-escuro);background:var(--cor-eli-fundo)}.eli-tabela-modal-colunas__coluna-contador{margin-left:auto;font-size:.72rem;font-weight:700;padding:1px 7px;border-radius:9999px;background:#0f172a14;color:inherit}.eli-tabela-modal-colunas__lista{flex:1;min-height:220px;border:1.5px dashed var(--cor-eli-borda);border-radius:10px;padding:8px;position:relative;overflow:hidden;transition:border-color .2s ease,background .2s ease}.eli-tabela-modal-colunas__lista--visiveis{background:#688c0005}.eli-tabela-modal-colunas__lista--invisiveis{background:var(--cor-eli-fundo)}.eli-tabela-modal-filtro__formula-container{display:flex;flex-direction:row;align-items:center;gap:8px;margin-left:auto}.eli-tabela-modal-filtro__formula-label{font-size:.82rem;font-weight:500;color:#0f172a8c;white-space:nowrap;flex-shrink:0}.eli-tabela-modal-filtro__formula-ajuda{position:relative;display:inline-flex;align-items:center;color:#0f172a59;cursor:help;transition:color .15s}.eli-tabela-modal-filtro__formula-ajuda:hover,.eli-tabela-modal-filtro__formula-ajuda:focus-visible{color:var(--cor-eli-primaria);outline:none}.eli-tabela-modal-filtro__formula-ajuda:hover .eli-tabela-modal-filtro__formula-tooltip,.eli-tabela-modal-filtro__formula-ajuda:focus-visible .eli-tabela-modal-filtro__formula-tooltip{opacity:1;pointer-events:auto;transform:translateY(0)}.eli-tabela-modal-filtro__formula-tooltip{position:absolute;bottom:calc(100% + 10px);right:0;width:280px;background:#0f172a;color:#e2e8f0;border-radius:10px;padding:14px 16px;font-size:.8rem;line-height:1.55;z-index:100;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease;box-shadow:0 8px 30px #00000059}.eli-tabela-modal-filtro__formula-tooltip:after{content:"";position:absolute;top:100%;right:6px;border:6px solid transparent;border-top-color:#0f172a}.eli-tabela-modal-filtro__formula-tooltip strong{font-size:.82rem;color:var(--cor-eli-fundo);display:block;margin-bottom:6px}.eli-tabela-modal-filtro__formula-tooltip p{margin:6px 0 4px;color:#94a3b8}.eli-tabela-modal-filtro__formula-tooltip ul{margin:4px 0 8px 14px;padding:0}.eli-tabela-modal-filtro__formula-tooltip li{margin-bottom:3px;color:#cbd5e1}.eli-tabela-modal-filtro__formula-tooltip code{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;color:#7dd3fc;font-size:.78rem;background:#ffffff12;border-radius:4px;padding:1px 4px}.eli-tabela-modal-filtro__formula-input{width:220px;height:36px;border-radius:10px;border:1px solid rgba(15,23,42,.12);padding:0 10px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.85rem;background:var(--cor-eli-fundo);transition:border-color .15s,background .15s;box-sizing:border-box}.eli-tabela-modal-filtro__formula-input:focus{outline:none;border-color:var(--cor-eli-primaria);background:#fff}.eli-tabela-modal-filtro__formula-tooltip-nota{margin-top:8px;opacity:.75}.eli-tabela-modal-filtro__footer{display:flex;align-items:center;gap:8px;padding:14px 20px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__footer-spacer{flex:1}.eli-tabela-modal-filtro__botao{display:inline-flex;align-items:center;gap:5px;height:36px;padding:0 16px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.875rem;font-weight:500;transition:background .15s,color .15s,border-color .15s}.eli-tabela-modal-filtro__botao:disabled{opacity:.45;cursor:not-allowed}.eli-tabela-modal-filtro__botao--sec:hover:not(:disabled),.eli-tabela-modal-filtro__botao--sec:focus-visible{background:#0f172a0d}.eli-tabela-modal-filtro__botao--prim{border:none;background:var(--cor-eli-primaria);color:#fff}.eli-tabela-modal-filtro__botao--prim:hover:not(:disabled),.eli-tabela-modal-filtro__botao--prim:focus-visible{background:var(--cor-eli-primaria-escura)}.eli-tabela-modal-filtro__botao--perigo{color:#dc2626d9;border-color:#dc26262e;background:#fff}.eli-tabela-modal-filtro__botao--perigo:hover:not(:disabled),.eli-tabela-modal-filtro__botao--perigo:focus-visible{background:#ef44440f;border-color:#dc26264d;color:#dc2626}@media(max-width:600px){.eli-tabela-modal-filtro__lista{grid-template-columns:1fr}.eli-tabela-modal-filtro__rodape-filtros{flex-direction:column;align-items:stretch}.eli-tabela-modal-filtro__acoes{flex-wrap:wrap}}.eli-tabela-modal-filtro-enter-active,.eli-tabela-modal-filtro-leave-active{transition:opacity .2s ease}.eli-tabela-modal-filtro-enter-active .eli-tabela-modal-filtro__modal,.eli-tabela-modal-filtro-leave-active .eli-tabela-modal-filtro__modal{transition:transform .2s ease,opacity .2s ease}.eli-tabela-modal-filtro-enter-from,.eli-tabela-modal-filtro-leave-to{opacity:0}.eli-tabela-modal-filtro-enter-from .eli-tabela-modal-filtro__modal,.eli-tabela-modal-filtro-leave-to .eli-tabela-modal-filtro__modal{transform:scale(.96);opacity:0}.eli-tabela-modal-filtro__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-filtro__modal{width:min(980px,100%);background:#fff;border-radius:14px;border:1px solid rgba(15,23,42,.1);box-shadow:0 18px 60px #0f172a40;overflow:hidden}.eli-tabela-modal-filtro__header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__header-titulo{display:flex;align-items:center;gap:10px}.eli-tabela-modal-filtro__titulo{font-size:1rem;font-weight:600;margin:0;color:#0f172ae6}.eli-tabela-modal-filtro__header-icone{color:var(--cor-eli-primaria);flex-shrink:0}.eli-tabela-modal-filtro__contador{font-size:.75rem;font-weight:500;color:var(--cor-eli-primaria);background:var(--cor-eli-primaria-bg);padding:2px 8px;border-radius:10px;letter-spacing:.01em}.eli-tabela-modal-filtro__fechar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;color:#0f172a8c;transition:background .15s,color .15s}.eli-tabela-modal-filtro__fechar:hover,.eli-tabela-modal-filtro__fechar:focus-visible{background:#0f172a0f;color:#0f172ae6}.eli-tabela-modal-filtro__conteudo{padding:20px}.eli-tabela-modal-filtro__vazio{opacity:.65;font-size:.85rem;padding:12px 0 4px}.eli-tabela-modal-filtro__estado-vazio{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 16px;color:#0f172a59;border:1px dashed rgba(15,23,42,.12);border-radius:10px;background:#0f172a04}.eli-tabela-modal-filtro__estado-vazio span{font-size:.85rem;font-weight:500}.eli-tabela-modal-filtro__lista{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.eli-tabela-modal-filtro__linha{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid rgba(15,23,42,.08);border-radius:10px;background:#0f172a04;transition:border-color .15s}.eli-tabela-modal-filtro__linha:hover{border-color:var(--cor-eli-primaria-clara)}.eli-tabela-modal-filtro__linha-header{display:flex;align-items:center;gap:8px}.eli-tabela-modal-filtro__rotulo-filtro{font-size:.82rem;font-weight:500;color:#0f172aa6;flex:1;min-width:0}.eli-tabela-modal-filtro__id-badge{display:inline-flex;align-items:center;justify-content:center;width:32px;height:24px;border-radius:6px;background:var(--cor-eli-primaria-bg);color:var(--cor-eli-primaria);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.72rem;font-weight:600;letter-spacing:.01em;cursor:default;-webkit-user-select:none;user-select:none;flex-shrink:0}.eli-tabela-modal-filtro__entrada{min-width:0}.eli-tabela-modal-filtro__remover{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;border:none;background:transparent;cursor:pointer;color:#0f172a59;transition:background .15s,color .15s;margin-left:auto;flex-shrink:0}.eli-tabela-modal-filtro__remover:hover,.eli-tabela-modal-filtro__remover:focus-visible{background:#ef444414;color:#dc2626e6;border-color:#ef444433}.eli-tabela-modal-filtro__rodape-filtros{margin-top:14px;padding-top:14px;border-top:1px solid rgba(15,23,42,.07);display:flex;gap:12px;align-items:flex-end}.eli-tabela-modal-filtro__acoes{display:flex;gap:8px;align-items:center;flex-shrink:0}.eli-tabela-modal-filtro__select{height:36px;border-radius:10px;border:1px solid rgba(15,23,42,.12);padding:0 10px;background:#fff;font-size:.875rem;color:#0f172ad9;transition:border-color .15s}.eli-tabela-modal-filtro__select:focus{outline:none;border-color:var(--cor-eli-primaria)}.eli-tabela__paginacao{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;flex-wrap:wrap}.eli-tabela__pagina-botao{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 14px;border-radius:9999px;border:1px solid rgba(15,23,42,.12);background:var(--cor-eli-superficie);font-size:.875rem;font-weight:500;color:#0f172ad1;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.eli-tabela__pagina-botao:hover,.eli-tabela__pagina-botao:focus-visible{background-color:var(--cor-eli-primaria-bg);border-color:var(--cor-eli-primaria-clara);color:var(--cor-eli-primaria-escura)}.eli-tabela__pagina-botao:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela__pagina-botao:disabled{cursor:default;opacity:.5;background:#94a3b814;border-color:#94a3b82e;color:#475569bf}.eli-tabela__pagina-botao--ativo{background:var(--cor-eli-primaria-bg);border-color:var(--cor-eli-primaria);color:var(--cor-eli-primaria-escura)}.eli-tabela__pagina-ellipsis{display:inline-flex;align-items:center;justify-content:center;width:32px;color:var(--cor-eli-neutro);font-size:.9rem}.eli-tabela__acao-inferior{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:8px;border:1px solid var(--cor-eli-primaria);background:var(--cor-eli-superficie);color:var(--cor-eli-primaria);font-size:.875rem;font-weight:500;line-height:1;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acao-inferior:hover,.eli-tabela__acao-inferior:focus-visible{background-color:var(--cor-eli-primaria-bg)}.eli-tabela__acao-inferior:focus-visible{outline:2px solid var(--cor-eli-primaria);outline-offset:2px}.eli-fb-painel{position:fixed;bottom:68px;right:24px;z-index:99999;width:360px;background:#fff;border-radius:14px;box-shadow:0 12px 40px #00000026,0 2px 8px #00000014;overflow:hidden;animation:eliFbSlideUp .25s ease;font-family:Inter,Segoe UI,system-ui,sans-serif}.eli-fb-painel-header{background:linear-gradient(135deg,#c62828,#e53935);color:#fff;padding:14px 18px;display:flex;align-items:center;justify-content:space-between}.eli-fb-painel-header h3{margin:0;font-size:14px;font-weight:700;letter-spacing:.02em}.eli-fb-painel-fechar{background:#ffffff26;border:none;color:#fff;width:28px;height:28px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px;transition:background .15s}.eli-fb-painel-fechar:hover{background:#ffffff4d}.eli-fb-painel-corpo{padding:16px 18px}.eli-fb-el-info{background:#f5f5f5;border-radius:8px;padding:10px 12px;margin-bottom:14px;font-size:11px;color:#616161;line-height:1.6}.eli-fb-el-info code{background:#e0e0e0;padding:1px 5px;border-radius:3px;font-size:10.5px;font-family:SFMono-Regular,Consolas,monospace;color:#333}.eli-fb-el-info strong{color:#424242}.eli-fb-textarea{width:100%;min-height:80px;max-height:160px;border:1.5px solid #E0E0E0;border-radius:8px;padding:10px 12px;font-size:13px;font-family:Inter,Segoe UI,system-ui,sans-serif;resize:vertical;outline:none;transition:border-color .15s;color:#333;box-sizing:border-box}.eli-fb-textarea:focus{border-color:#c62828;box-shadow:0 0 0 3px #c6282814}.eli-fb-textarea::placeholder{color:#bdbdbd}.eli-fb-painel-acoes{display:flex;gap:8px;margin-top:12px;justify-content:flex-end}.eli-fb-btn-salvar{background:linear-gradient(135deg,#c62828,#e53935);color:#fff;border:none;border-radius:8px;padding:8px 18px;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s}.eli-fb-btn-salvar:hover{transform:translateY(-1px);box-shadow:0 3px 10px #c628284d}.eli-fb-btn-salvar:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.eli-fb-btn-cancelar{background:#f5f5f5;color:#616161;border:1px solid #E0E0E0;border-radius:8px;padding:8px 14px;font-size:13px;font-weight:500;cursor:pointer;transition:background .15s}.eli-fb-btn-cancelar:hover{background:#eee}.eli-feedback-fab{position:fixed;bottom:24px;right:24px;z-index:99999;display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-family:Inter,Segoe UI,system-ui,sans-serif}.eli-fb-botao-principal{width:34px;height:34px;border-radius:50%;border:none;background:linear-gradient(135deg,#c62828,#e53935);color:#fff;font-size:14px;cursor:pointer;box-shadow:0 2px 8px #c6282859,0 1px 3px #0000001f;transition:all .2s ease;display:flex;align-items:center;justify-content:center;position:relative}.eli-fb-botao-principal:hover{transform:scale(1.08);box-shadow:0 6px 20px #c6282873,0 2px 6px #00000026}.eli-fb-botao-principal:active{transform:scale(.95)}.eli-fb-badge{position:absolute;top:-5px;right:-5px;background:#1565c0;color:#fff;font-size:9px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 3px;line-height:1;box-shadow:0 1px 4px #0003}.eli-fb-acoes{display:flex;flex-direction:column;align-items:flex-end;gap:6px;animation:eliFbSlideUp .2s ease}.eli-fb-botao-ico{width:34px;height:34px;border-radius:50%;border:none;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease;box-shadow:0 2px 8px #00000026}.eli-fb-botao-ico:hover{transform:scale(1.1);box-shadow:0 3px 12px #00000038}.eli-fb-botao-exportar{background:#1565c0;color:#fff}.eli-fb-botao-feedback{background:linear-gradient(135deg,#c62828,#e53935);color:#fff}.eli-fb-botao-copiar{background:#2e7d32;color:#fff}.eli-fb-botao-limpar{background:#424242;color:#fff}.eli-fb-tooltip-selecao{position:absolute;bottom:14px;right:64px;background:linear-gradient(135deg,#c62828,#b71c1c);color:#fff;padding:8px 14px;border-radius:10px;font-size:12px;font-weight:500;white-space:nowrap;display:flex;flex-direction:column;gap:2px;box-shadow:0 4px 16px #c6282859;animation:eliFbSlideUp .2s ease;pointer-events:none}.eli-fb-tooltip-selecao:after{content:"";position:absolute;right:-6px;top:50%;transform:translateY(-50%);border:6px solid transparent;border-left-color:#b71c1c;border-right:none}.eli-fb-tooltip-esc{font-size:10px;opacity:.7}.eli-fb-tooltip-esc kbd{background:#fff3;border-radius:3px;padding:1px 5px;font-size:10px;font-weight:700;font-family:inherit}@keyframes eliFbSlideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes eliFbSlideDown{0%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
-import { defineComponent as te, openBlock as $, createBlock as ie, mergeProps as Ee, withCtx as de, renderSlot as lt, computed as D, resolveComponent as Q, createVNode as F, createElementVNode as p, createTextVNode as ae, toDisplayString as V, createCommentVNode as K, ref as L, watch as ze, onMounted as nt, onBeforeUnmount as St, createElementBlock as k, normalizeStyle as ut, nextTick as _r, Teleport as yr, Transition as ga, withModifiers as me, withKeys as It, Fragment as ge, renderList as $e, normalizeClass as Me, createStaticVNode as Fm, createSlots as Lm, inject as Rm, h as mr, resolveDynamicComponent as Ve, normalizeProps as Bm, withDirectives as dn, vModelText as kr, TransitionGroup as zo, vModelSelect as Vm } from "vue";
-import { VBtn as fr } from "vuetify/components/VBtn";
-import { VBadge as Jm } from "vuetify/components/VBadge";
-import { VCard as ha, VCardTitle as $a, VCardText as ba, VCardActions as _a } from "vuetify/components/VCard";
-import { VSwitch as qm, VTextarea as Gm, VAutocomplete as ya, VChip as Wm } from "vuetify/components";
-import { VSwitch as Km } from "vuetify/components/VSwitch";
+import { defineComponent as te, openBlock as $, createBlock as ie, mergeProps as Ee, withCtx as de, renderSlot as lt, computed as D, resolveComponent as Q, createVNode as F, createElementVNode as p, createTextVNode as ae, toDisplayString as J, createCommentVNode as K, ref as L, watch as ze, onMounted as rt, onBeforeUnmount as St, createElementBlock as k, normalizeStyle as ut, nextTick as kr, Teleport as Sr, Transition as ha, withModifiers as me, withKeys as It, Fragment as ge, renderList as $e, normalizeClass as Me, createStaticVNode as Lm, createSlots as Rm, inject as Bm, h as vr, resolveDynamicComponent as Ve, normalizeProps as Vm, withDirectives as mn, vModelText as Ir, TransitionGroup as Oo, vModelSelect as Jm } from "vue";
+import { VBtn as pr } from "vuetify/components/VBtn";
+import { VBadge as qm } from "vuetify/components/VBadge";
+import { VCard as ba, VCardTitle as $a, VCardText as _a, VCardActions as ya } from "vuetify/components/VCard";
+import { VSwitch as Wm, VTextarea as Gm, VAutocomplete as ka, VChip as Km } from "vuetify/components";
+import { VSwitch as Xm } from "vuetify/components/VSwitch";
import Fe from "leaflet";
-import { VIcon as Do } from "vuetify/components/VIcon";
-import { VTextField as mn } from "vuetify/components/VTextField";
-import { VTextarea as Xm } from "vuetify/components/VTextarea";
-import { VAutocomplete as ka } from "vuetify/components/VAutocomplete";
-import { VChip as Hm } from "vuetify/components/VChip";
-import { VContainer as Ym } from "vuetify/components/VGrid";
-const Qm = te({
+import { VIcon as jo } from "vuetify/components/VIcon";
+import { VTextField as fn } from "vuetify/components/VTextField";
+import { VTextarea as Hm } from "vuetify/components/VTextarea";
+import { VAutocomplete as Sa } from "vuetify/components/VAutocomplete";
+import { VChip as Ym } from "vuetify/components/VChip";
+import { VContainer as Qm } from "vuetify/components/VGrid";
+const ef = te({
name: "EliBotao",
inheritAttrs: !1,
props: {
@@ -43,8 +43,8 @@ const Qm = te({
r[o] = t;
return r;
};
-function ef(e, n, r, o, t, i) {
- return $(), ie(fr, Ee({
+function tf(e, n, r, o, t, i) {
+ return $(), ie(pr, Ee({
color: e.color,
variant: e.variant,
size: e.size,
@@ -57,10 +57,10 @@ function ef(e, n, r, o, t, i) {
_: 3
}, 16, ["color", "variant", "size", "disabled", "loading"]);
}
-const Sa = /* @__PURE__ */ ne(Qm, [["render", ef]]), Oo = {
+const Ia = /* @__PURE__ */ ne(ef, [["render", tf]]), Eo = {
suave: "4px",
pill: "10px"
-}, tf = te({
+}, nf = te({
name: "EliBadge",
inheritAttrs: !1,
props: {
@@ -99,14 +99,14 @@ const Sa = /* @__PURE__ */ ne(Qm, [["render", ef]]), Oo = {
}
},
setup(e) {
- const n = D(() => e.radius in Oo ? Oo[e.radius] : e.radius), r = D(() => e.dot || e.badge !== void 0 ? e.visible : !1), o = D(() => ({
+ const n = D(() => e.radius in Eo ? Eo[e.radius] : e.radius), r = D(() => e.dot || e.badge !== void 0 ? e.visible : !1), o = D(() => ({
"--eli-badge-radius": n.value
}));
return { showBadge: r, badgeStyle: o };
}
});
-function nf(e, n, r, o, t, i) {
- return e.showBadge ? ($(), ie(Jm, Ee({
+function rf(e, n, r, o, t, i) {
+ return e.showBadge ? ($(), ie(qm, Ee({
key: 0,
color: e.color
}, e.$attrs, {
@@ -124,9 +124,9 @@ function nf(e, n, r, o, t, i) {
_: 3
}, 16, ["color", "location", "offset-x", "offset-y", "dot", "content", "style"])) : lt(e.$slots, "default", {}, void 0, void 0, 1);
}
-const Sr = /* @__PURE__ */ ne(tf, [["render", nf]]), rf = te({
+const wr = /* @__PURE__ */ ne(nf, [["render", rf]]), of = te({
name: "EliCartao",
- components: { EliBadge: Sr },
+ components: { EliBadge: wr },
inheritAttrs: !1,
props: {
/** Título de fallback caso o slot `titulo` não seja usado. */
@@ -175,22 +175,22 @@ const Sr = /* @__PURE__ */ ne(tf, [["render", nf]]), rf = te({
onClick: i
};
}
-}), of = { class: "eli-cartao__titulo-texto" }, af = { class: "eli-cartao__status" };
-function lf(e, n, r, o, t, i) {
+}), af = { class: "eli-cartao__titulo-texto" }, lf = { class: "eli-cartao__status" };
+function uf(e, n, r, o, t, i) {
const a = Q("EliBadge");
- return $(), ie(ha, Ee({
+ return $(), ie(ba, Ee({
class: ["eli-cartao", e.classeStatus],
variant: e.variant
}, e.$attrs), {
default: de(() => [
F($a, { class: "eli-cartao__titulo" }, {
default: de(() => [
- p("div", of, [
+ p("div", af, [
lt(e.$slots, "titulo", {}, () => [
- ae(V(e.titulo), 1)
+ ae(J(e.titulo), 1)
])
]),
- p("div", af, [
+ p("div", lf, [
F(a, {
badge: e.rotuloStatus,
radius: "pill",
@@ -205,13 +205,13 @@ function lf(e, n, r, o, t, i) {
]),
_: 3
}),
- F(ba, { class: "eli-cartao__conteudo" }, {
+ F(_a, { class: "eli-cartao__conteudo" }, {
default: de(() => [
lt(e.$slots, "default")
]),
_: 3
}),
- e.$slots.acoes ? ($(), ie(_a, {
+ e.$slots.acoes ? ($(), ie(ya, {
key: 0,
class: "eli-cartao__acoes"
}, {
@@ -224,9 +224,9 @@ function lf(e, n, r, o, t, i) {
_: 3
}, 16, ["variant", "class"]);
}
-const uf = /* @__PURE__ */ ne(rf, [["render", lf]]), sf = te({
+const sf = /* @__PURE__ */ ne(of, [["render", uf]]), cf = te({
name: "EliEntradaConfirmacao",
- components: { VSwitch: qm },
+ components: { VSwitch: Wm },
inheritAttrs: !1,
props: {
value: {
@@ -258,9 +258,9 @@ const uf = /* @__PURE__ */ ne(rf, [["render", lf]]), sf = te({
return { attrs: n, emit: r, localValue: o, rotuloExibido: t };
}
});
-function cf(e, n, r, o, t, i) {
+function df(e, n, r, o, t, i) {
var a, l, s, u;
- return $(), ie(Km, Ee({
+ return $(), ie(Xm, Ee({
modelValue: e.localValue,
"onUpdate:modelValue": n[0] || (n[0] = (d) => e.localValue = d),
label: e.rotuloExibido,
@@ -273,20 +273,20 @@ function cf(e, n, r, o, t, i) {
onBlur: n[2] || (n[2] = () => e.emit("blur"))
}), null, 16, ["modelValue", "label", "color", "disabled", "density"]);
}
-const df = /* @__PURE__ */ ne(sf, [["render", cf]]), Ia = "https://paiol.idz.one/geo", mf = 7, ff = 10, vf = 13, jo = /* @__PURE__ */ new Map();
-async function wa(e) {
- const n = jo.get(e);
+const mf = /* @__PURE__ */ ne(cf, [["render", df]]), wa = "https://paiol.idz.one/geo", ff = 7, vf = 10, pf = 13, Uo = /* @__PURE__ */ new Map();
+async function za(e) {
+ const n = Uo.get(e);
if (n) return n;
try {
const r = await fetch(e);
if (!r.ok) return null;
const o = await r.json();
- return jo.set(e, o), o;
+ return Uo.set(e, o), o;
} catch {
return null;
}
}
-function pf() {
+function gf() {
return {
color: "#1565C0",
weight: 1.5,
@@ -295,7 +295,7 @@ function pf() {
dashArray: "4 4"
};
}
-function gf() {
+function hf() {
return {
color: "#78909C",
weight: 0.8,
@@ -303,17 +303,17 @@ function gf() {
fillOpacity: 0.03
};
}
-function hf(e) {
- return e >= vf ? "municipios_uhd" : e >= ff ? "municipios_hd" : "municipios";
+function bf(e) {
+ return e >= pf ? "municipios_uhd" : e >= vf ? "municipios_hd" : "municipios";
}
function $f(e, n) {
- !n.estados && !n.municipios || bf(e, n);
+ !n.estados && !n.municipios || _f(e, n);
}
-async function bf(e, n) {
- const r = await wa(`${Ia}/estados.geojson`);
+async function _f(e, n) {
+ const r = await za(`${wa}/estados.geojson`);
if (!r) return;
const o = [], t = Fe.geoJSON(r, {
- style: pf,
+ style: gf,
onEachFeature: (i, a) => {
var s;
const l = String(((s = i.properties) == null ? void 0 : s.codarea) ?? "");
@@ -323,9 +323,9 @@ async function bf(e, n) {
});
}
});
- n.estados && t.addTo(e), n.municipios && _f(e, o);
+ n.estados && t.addTo(e), n.municipios && yf(e, o);
}
-function _f(e, n) {
+function yf(e, n) {
const r = {
municipios: Fe.layerGroup(),
municipios_hd: Fe.layerGroup(),
@@ -338,45 +338,45 @@ function _f(e, n) {
let t = null;
const i = () => {
const a = e.getZoom();
- if (a < mf) {
+ if (a < ff) {
t && e.hasLayer(r[t]) && e.removeLayer(r[t]), t = null;
return;
}
- const l = hf(a);
+ const l = bf(a);
l !== t && (t && e.hasLayer(r[t]) && e.removeLayer(r[t]), r[l].addTo(e), t = l);
const s = e.getBounds();
for (const u of n)
- o[l].has(u.codigo) || s.intersects(u.bounds) && (o[l].add(u.codigo), yf(l, u.codigo, r[l]));
+ o[l].has(u.codigo) || s.intersects(u.bounds) && (o[l].add(u.codigo), kf(l, u.codigo, r[l]));
};
e.on("moveend", i), e.on("zoomend", i), i();
}
-async function yf(e, n, r) {
- const o = await wa(`${Ia}/${e}/${n}.geojson`);
- o && r.addLayer(Fe.geoJSON(o, { style: gf }));
+async function kf(e, n, r) {
+ const o = await za(`${wa}/${e}/${n}.geojson`);
+ o && r.addLayer(Fe.geoJSON(o, { style: hf }));
}
const rn = {
latitude: -15.7801,
longitude: -47.9292
-}, kf = 4, Sf = 300;
-function If(e, n) {
+}, Sf = 4, If = 300;
+function wf(e, n) {
return e >= -90 && e <= 90 && n >= -180 && n <= 180;
}
-function Eo(e) {
+function xo(e) {
return e.toFixed(6).replace(".", ",");
}
-function Uo(e) {
+function To(e) {
if (typeof e == "number") return Number.isNaN(e) ? null : e;
const n = e.replace(",", "."), r = Number.parseFloat(n);
return Number.isNaN(r) ? null : r;
}
-async function xo() {
+async function Ao() {
try {
- return await wf();
- } catch {
return await zf();
+ } catch {
+ return await Df();
}
}
-function wf() {
+function zf() {
return new Promise((e, n) => {
if (!navigator.geolocation) return n(new Error("Geolocation indisponível"));
navigator.geolocation.getCurrentPosition(
@@ -386,40 +386,40 @@ function wf() {
);
});
}
-async function zf() {
+async function Df() {
const e = await fetch("https://ipapi.co/json/");
if (!e.ok) throw new Error(`GeoIP falhou: ${e.status}`);
const n = await e.json();
return { latitude: n.latitude, longitude: n.longitude };
}
-function Df({ value: e, opcoes: n, emit: r, mapaRef: o }) {
+function Of({ value: e, opcoes: n, emit: r, mapaRef: o }) {
const t = L(!1);
let i = null, a = null;
const l = D(() => {
var b;
- return ((b = n()) == null ? void 0 : b.alturaMapa) ?? Sf;
+ return ((b = n()) == null ? void 0 : b.alturaMapa) ?? If;
}), s = D(() => {
var b;
- return ((b = n()) == null ? void 0 : b.zoom) ?? kf;
+ return ((b = n()) == null ? void 0 : b.zoom) ?? Sf;
}), u = D(() => {
var b;
return !!((b = n()) != null && b.apenasLeitura);
}), d = D(() => e() != null), c = D(() => {
const b = e();
- return b ? Eo(b.latitude) : "";
+ return b ? xo(b.latitude) : "";
}), m = D(() => {
const b = e();
- return b ? Eo(b.longitude) : "";
+ return b ? xo(b.longitude) : "";
});
function f(b, _) {
- if (!If(b, _)) return;
- const I = {
+ if (!wf(b, _)) return;
+ const S = {
formato: "decimal",
datum: "EPSG:4326",
latitude: Number.parseFloat(b.toFixed(6)),
longitude: Number.parseFloat(_.toFixed(6))
};
- r("update:value", I), r("input", I), r("change", I);
+ r("update:value", S), r("input", S), r("change", S);
}
function h() {
r("update:value", null), r("input", null), r("change", null), g();
@@ -430,19 +430,19 @@ function Df({ value: e, opcoes: n, emit: r, mapaRef: o }) {
function x(b, _) {
i && (a = Fe.marker([b, _], { draggable: !u.value }).addTo(i), a.on("dragend", () => {
if (!a) return;
- const I = a.getLatLng();
- f(I.lat, I.lng);
+ const S = a.getLatLng();
+ f(S.lat, S.lng);
}), i.setView([b, _], i.getZoom()));
}
- function j(b) {
- var I;
- const _ = Uo(b);
- _ !== null && f(_, ((I = e()) == null ? void 0 : I.longitude) ?? rn.longitude);
+ function O(b) {
+ var S;
+ const _ = To(b);
+ _ !== null && f(_, ((S = e()) == null ? void 0 : S.longitude) ?? rn.longitude);
}
function w(b) {
- var I;
- const _ = Uo(b);
- _ !== null && f(((I = e()) == null ? void 0 : I.latitude) ?? rn.latitude, _);
+ var S;
+ const _ = To(b);
+ _ !== null && f(((S = e()) == null ? void 0 : S.latitude) ?? rn.latitude, _);
}
function C(b, _) {
if (!i) return;
@@ -450,45 +450,45 @@ function Df({ value: e, opcoes: n, emit: r, mapaRef: o }) {
x(b, _);
return;
}
- const I = a.getLatLng();
- I.lat === b && I.lng === _ || (a.setLatLng([b, _]), i.setView([b, _], i.getZoom()));
+ const S = a.getLatLng();
+ S.lat === b && S.lng === _ || (a.setLatLng([b, _]), i.setView([b, _], i.getZoom()));
}
async function P() {
t.value = !0;
try {
- const b = await xo();
+ const b = await Ao();
f(b.latitude, b.longitude);
} finally {
t.value = !1;
}
}
async function Z() {
- var O;
+ var j;
if (!o.value) return;
const b = e(), _ = b != null;
- let I, J, z = s.value;
+ let S, B, z = s.value;
if (_)
- I = b.latitude, J = b.longitude, z = Math.max(z, 13);
+ S = b.latitude, B = b.longitude, z = Math.max(z, 13);
else
try {
- const E = await xo();
- I = E.latitude, J = E.longitude, z = 13;
+ const E = await Ao();
+ S = E.latitude, B = E.longitude, z = 13;
} catch {
- I = rn.latitude, J = rn.longitude;
+ S = rn.latitude, B = rn.longitude;
}
- i = Fe.map(o.value).setView([I, J], z);
+ i = Fe.map(o.value).setView([S, B], z);
const M = Fe.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
attribution: "© OpenStreetMap",
maxZoom: 19
- }), _e = Fe.tileLayer(
+ }), he = Fe.tileLayer(
"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
{ attribution: "© Esri", maxZoom: 19 }
);
- M.addTo(i), Fe.control.layers({ Mapa: M, Satélite: _e }).addTo(i), _ && x(b.latitude, b.longitude), i.on("click", (E) => {
+ M.addTo(i), Fe.control.layers({ Mapa: M, Satélite: he }).addTo(i), _ && x(b.latitude, b.longitude), i.on("click", (E) => {
u.value || f(E.latlng.lat, E.latlng.lng);
});
- const je = (O = n()) == null ? void 0 : O.camadas;
- je && $f(i, je);
+ const De = (j = n()) == null ? void 0 : j.camadas;
+ De && $f(i, De);
}
return ze(
e,
@@ -500,7 +500,7 @@ function Df({ value: e, opcoes: n, emit: r, mapaRef: o }) {
C(b.latitude, b.longitude);
},
{ deep: !0 }
- ), nt(() => {
+ ), rt(() => {
if (Z(), o.value) {
const b = new ResizeObserver(() => i == null ? void 0 : i.invalidateSize());
b.observe(o.value), St(() => b.disconnect());
@@ -513,13 +513,13 @@ function Df({ value: e, opcoes: n, emit: r, mapaRef: o }) {
possuiValor: d,
latDisplay: c,
lngDisplay: m,
- onLatChange: j,
+ onLatChange: O,
onLngChange: w,
usarMinhaLocalizacao: P,
limpar: h
};
}
-const Of = te({
+const jf = te({
name: "EliEntradaCoordenadas",
inheritAttrs: !1,
props: {
@@ -540,7 +540,7 @@ const Of = te({
blur: () => !0
},
setup(e, { attrs: n, emit: r }) {
- const o = L(null), t = Df({
+ const o = L(null), t = Of({
value: () => e.value,
opcoes: () => e.opcoes,
emit: r,
@@ -548,26 +548,26 @@ const Of = te({
});
return { attrs: n, mapaRef: o, ...t };
}
-}), jf = { class: "eli-coordenadas" }, Ef = {
+}), Ef = { class: "eli-coordenadas" }, Uf = {
key: 0,
class: "v-label",
style: { "margin-bottom": "4px" }
-}, Uf = {
+}, xf = {
ref: "mapaRef",
style: { width: "100%", height: "100%" }
-}, xf = { class: "eli-coordenadas__campos" };
-function Tf(e, n, r, o, t, i) {
+}, Tf = { class: "eli-coordenadas__campos" };
+function Af(e, n, r, o, t, i) {
var a, l, s, u, d;
- return $(), k("div", jf, [
- (a = e.opcoes) != null && a.rotulo ? ($(), k("div", Ef, V(e.opcoes.rotulo), 1)) : K("", !0),
+ return $(), k("div", Ef, [
+ (a = e.opcoes) != null && a.rotulo ? ($(), k("div", Uf, J(e.opcoes.rotulo), 1)) : K("", !0),
p("div", {
class: "eli-coordenadas__mapa-container",
style: ut({ height: `${e.alturaEfetiva}px` })
}, [
- p("div", Uf, null, 512)
+ p("div", xf, null, 512)
], 4),
- p("div", xf, [
- F(mn, Ee({
+ p("div", Tf, [
+ F(fn, Ee({
"model-value": e.latDisplay,
label: "Latitude",
type: "text",
@@ -578,7 +578,7 @@ function Tf(e, n, r, o, t, i) {
class: "eli-coordenadas__campo",
"hide-details": ""
}, e.attrs, { "onUpdate:modelValue": e.onLatChange }), null, 16, ["model-value", "readonly", "onUpdate:modelValue"]),
- F(mn, Ee({
+ F(fn, Ee({
"model-value": e.lngDisplay,
label: "Longitude",
type: "text",
@@ -589,7 +589,7 @@ function Tf(e, n, r, o, t, i) {
class: "eli-coordenadas__campo",
"hide-details": ""
}, e.attrs, { "onUpdate:modelValue": e.onLngChange }), null, 16, ["model-value", "readonly", "onUpdate:modelValue"]),
- F(fr, {
+ F(pr, {
icon: "",
variant: "tonal",
color: "primary",
@@ -600,7 +600,7 @@ function Tf(e, n, r, o, t, i) {
onClick: e.usarMinhaLocalizacao
}, {
default: de(() => [
- F(Do, null, {
+ F(jo, null, {
default: de(() => [...n[0] || (n[0] = [
ae("mdi-crosshairs-gps", -1)
])]),
@@ -609,7 +609,7 @@ function Tf(e, n, r, o, t, i) {
]),
_: 1
}, 8, ["loading", "disabled", "onClick"]),
- e.possuiValor && !((d = e.opcoes) != null && d.apenasLeitura) ? ($(), ie(fr, {
+ e.possuiValor && !((d = e.opcoes) != null && d.apenasLeitura) ? ($(), ie(pr, {
key: 0,
icon: "",
variant: "tonal",
@@ -619,7 +619,7 @@ function Tf(e, n, r, o, t, i) {
onClick: e.limpar
}, {
default: de(() => [
- F(Do, null, {
+ F(jo, null, {
default: de(() => [...n[1] || (n[1] = [
ae("mdi-close", -1)
])]),
@@ -631,65 +631,65 @@ function Tf(e, n, r, o, t, i) {
])
]);
}
-const Af = /* @__PURE__ */ ne(Of, [["render", Tf]]);
-function za(e) {
+const Nf = /* @__PURE__ */ ne(jf, [["render", Af]]);
+function Da(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
-var un = { exports: {} }, Nf = un.exports, To;
-function Da() {
- return To || (To = 1, (function(e, n) {
+var sn = { exports: {} }, Pf = sn.exports, No;
+function Oa() {
+ return No || (No = 1, (function(e, n) {
(function(r, o) {
e.exports = o();
- })(Nf, (function() {
- var r = 1e3, o = 6e4, t = 36e5, i = "millisecond", a = "second", l = "minute", s = "hour", u = "day", d = "week", c = "month", m = "quarter", f = "year", h = "date", g = "Invalid Date", x = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, j = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, w = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(O) {
- var E = ["th", "st", "nd", "rd"], U = O % 100;
- return "[" + O + (E[(U - 20) % 10] || E[U] || E[0]) + "]";
- } }, C = function(O, E, U) {
- var N = String(O);
- return !N || N.length >= E ? O : "" + Array(E + 1 - N.length).join(U) + O;
- }, P = { s: C, z: function(O) {
- var E = -O.utcOffset(), U = Math.abs(E), N = Math.floor(U / 60), T = U % 60;
+ })(Pf, (function() {
+ var r = 1e3, o = 6e4, t = 36e5, i = "millisecond", a = "second", l = "minute", s = "hour", u = "day", d = "week", c = "month", m = "quarter", f = "year", h = "date", g = "Invalid Date", x = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, w = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(j) {
+ var E = ["th", "st", "nd", "rd"], U = j % 100;
+ return "[" + j + (E[(U - 20) % 10] || E[U] || E[0]) + "]";
+ } }, C = function(j, E, U) {
+ var N = String(j);
+ return !N || N.length >= E ? j : "" + Array(E + 1 - N.length).join(U) + j;
+ }, P = { s: C, z: function(j) {
+ var E = -j.utcOffset(), U = Math.abs(E), N = Math.floor(U / 60), T = U % 60;
return (E <= 0 ? "+" : "-") + C(N, 2, "0") + ":" + C(T, 2, "0");
- }, m: function O(E, U) {
- if (E.date() < U.date()) return -O(U, E);
- var N = 12 * (U.year() - E.year()) + (U.month() - E.month()), T = E.clone().add(N, c), q = U - T < 0, W = E.clone().add(N + (q ? -1 : 1), c);
- return +(-(N + (U - T) / (q ? T - W : W - T)) || 0);
- }, a: function(O) {
- return O < 0 ? Math.ceil(O) || 0 : Math.floor(O);
- }, p: function(O) {
- return { M: c, y: f, w: d, d: u, D: h, h: s, m: l, s: a, ms: i, Q: m }[O] || String(O || "").toLowerCase().replace(/s$/, "");
- }, u: function(O) {
- return O === void 0;
+ }, m: function j(E, U) {
+ if (E.date() < U.date()) return -j(U, E);
+ var N = 12 * (U.year() - E.year()) + (U.month() - E.month()), T = E.clone().add(N, c), q = U - T < 0, G = E.clone().add(N + (q ? -1 : 1), c);
+ return +(-(N + (U - T) / (q ? T - G : G - T)) || 0);
+ }, a: function(j) {
+ return j < 0 ? Math.ceil(j) || 0 : Math.floor(j);
+ }, p: function(j) {
+ return { M: c, y: f, w: d, d: u, D: h, h: s, m: l, s: a, ms: i, Q: m }[j] || String(j || "").toLowerCase().replace(/s$/, "");
+ }, u: function(j) {
+ return j === void 0;
} }, Z = "en", b = {};
b[Z] = w;
- var _ = "$isDayjsObject", I = function(O) {
- return O instanceof _e || !(!O || !O[_]);
- }, J = function O(E, U, N) {
+ var _ = "$isDayjsObject", S = function(j) {
+ return j instanceof he || !(!j || !j[_]);
+ }, B = function j(E, U, N) {
var T;
if (!E) return Z;
if (typeof E == "string") {
var q = E.toLowerCase();
b[q] && (T = q), U && (b[q] = U, T = q);
- var W = E.split("-");
- if (!T && W.length > 1) return O(W[0]);
+ var G = E.split("-");
+ if (!T && G.length > 1) return j(G[0]);
} else {
var ee = E.name;
b[ee] = E, T = ee;
}
return !N && T && (Z = T), T || !N && Z;
- }, z = function(O, E) {
- if (I(O)) return O.clone();
+ }, z = function(j, E) {
+ if (S(j)) return j.clone();
var U = typeof E == "object" ? E : {};
- return U.date = O, U.args = arguments, new _e(U);
+ return U.date = j, U.args = arguments, new he(U);
}, M = P;
- M.l = J, M.i = I, M.w = function(O, E) {
- return z(O, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
+ M.l = B, M.i = S, M.w = function(j, E) {
+ return z(j, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
};
- var _e = (function() {
- function O(U) {
- this.$L = J(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[_] = !0;
+ var he = (function() {
+ function j(U) {
+ this.$L = B(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[_] = !0;
}
- var E = O.prototype;
+ var E = j.prototype;
return E.parse = function(U) {
this.$d = (function(N) {
var T = N.date, q = N.utc;
@@ -697,10 +697,10 @@ function Da() {
if (M.u(T)) return /* @__PURE__ */ new Date();
if (T instanceof Date) return new Date(T);
if (typeof T == "string" && !/Z$/i.test(T)) {
- var W = T.match(x);
- if (W) {
- var ee = W[2] - 1 || 0, oe = (W[7] || "0").substring(0, 3);
- return q ? new Date(Date.UTC(W[1], ee, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, oe)) : new Date(W[1], ee, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, oe);
+ var G = T.match(x);
+ if (G) {
+ var ee = G[2] - 1 || 0, oe = (G[7] || "0").substring(0, 3);
+ return q ? new Date(Date.UTC(G[1], ee, G[3] || 1, G[4] || 0, G[5] || 0, G[6] || 0, oe)) : new Date(G[1], ee, G[3] || 1, G[4] || 0, G[5] || 0, G[6] || 0, oe);
}
}
return new Date(T);
@@ -726,19 +726,19 @@ function Da() {
}, E.valueOf = function() {
return this.$d.getTime();
}, E.startOf = function(U, N) {
- var T = this, q = !!M.u(N) || N, W = M.p(U), ee = function(ke, Se) {
+ var T = this, q = !!M.u(N) || N, G = M.p(U), ee = function(ke, Se) {
var qe = M.w(T.$u ? Date.UTC(T.$y, Se, ke) : new Date(T.$y, Se, ke), T);
return q ? qe : qe.endOf(u);
}, oe = function(ke, Se) {
return M.w(T.toDate()[ke].apply(T.toDate("s"), (q ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Se)), T);
}, ve = this.$W, pe = this.$M, ye = this.$D, Ze = "set" + (this.$u ? "UTC" : "");
- switch (W) {
+ switch (G) {
case f:
return q ? ee(1, 0) : ee(31, 11);
case c:
return q ? ee(1, pe) : ee(0, pe + 1);
case d:
- var G = this.$locale().weekStart || 0, re = (ve < G ? ve + 7 : ve) - G;
+ var W = this.$locale().weekStart || 0, re = (ve < W ? ve + 7 : ve) - W;
return ee(q ? ye - re : ye + (6 - re), pe);
case u:
case h:
@@ -755,7 +755,7 @@ function Da() {
}, E.endOf = function(U) {
return this.startOf(U, !1);
}, E.$set = function(U, N) {
- var T, q = M.p(U), W = "set" + (this.$u ? "UTC" : ""), ee = (T = {}, T[u] = W + "Date", T[h] = W + "Date", T[c] = W + "Month", T[f] = W + "FullYear", T[s] = W + "Hours", T[l] = W + "Minutes", T[a] = W + "Seconds", T[i] = W + "Milliseconds", T)[q], oe = q === u ? this.$D + (N - this.$W) : N;
+ var T, q = M.p(U), G = "set" + (this.$u ? "UTC" : ""), ee = (T = {}, T[u] = G + "Date", T[h] = G + "Date", T[c] = G + "Month", T[f] = G + "FullYear", T[s] = G + "Hours", T[l] = G + "Minutes", T[a] = G + "Seconds", T[i] = G + "Milliseconds", T)[q], oe = q === u ? this.$D + (N - this.$W) : N;
if (q === c || q === f) {
var ve = this.clone().set(h, 1);
ve.$d[ee](oe), ve.init(), this.$d = ve.set(h, Math.min(this.$D, ve.daysInMonth())).$d;
@@ -768,22 +768,22 @@ function Da() {
}, E.add = function(U, N) {
var T, q = this;
U = Number(U);
- var W = M.p(N), ee = function(pe) {
+ var G = M.p(N), ee = function(pe) {
var ye = z(q);
return M.w(ye.date(ye.date() + Math.round(pe * U)), q);
};
- if (W === c) return this.set(c, this.$M + U);
- if (W === f) return this.set(f, this.$y + U);
- if (W === u) return ee(1);
- if (W === d) return ee(7);
- var oe = (T = {}, T[l] = o, T[s] = t, T[a] = r, T)[W] || 1, ve = this.$d.getTime() + U * oe;
+ if (G === c) return this.set(c, this.$M + U);
+ if (G === f) return this.set(f, this.$y + U);
+ if (G === u) return ee(1);
+ if (G === d) return ee(7);
+ var oe = (T = {}, T[l] = o, T[s] = t, T[a] = r, T)[G] || 1, ve = this.$d.getTime() + U * oe;
return M.w(ve, this);
}, E.subtract = function(U, N) {
return this.add(-1 * U, N);
}, E.format = function(U) {
var N = this, T = this.$locale();
if (!this.isValid()) return T.invalidDate || g;
- var q = U || "YYYY-MM-DDTHH:mm:ssZ", W = M.z(this), ee = this.$H, oe = this.$m, ve = this.$M, pe = T.weekdays, ye = T.months, Ze = T.meridiem, G = function(Se, qe, _t, nn) {
+ var q = U || "YYYY-MM-DDTHH:mm:ssZ", G = M.z(this), ee = this.$H, oe = this.$m, ve = this.$M, pe = T.weekdays, ye = T.months, Ze = T.meridiem, W = function(Se, qe, _t, nn) {
return Se && (Se[qe] || Se(N, q)) || _t[qe].slice(0, nn);
}, re = function(Se) {
return M.s(ee % 12 || 12, Se, "0");
@@ -791,7 +791,7 @@ function Da() {
var nn = Se < 12 ? "AM" : "PM";
return _t ? nn.toLowerCase() : nn;
};
- return q.replace(j, (function(Se, qe) {
+ return q.replace(O, (function(Se, qe) {
return qe || (function(_t) {
switch (_t) {
case "YY":
@@ -803,9 +803,9 @@ function Da() {
case "MM":
return M.s(ve + 1, 2, "0");
case "MMM":
- return G(T.monthsShort, ve, ye, 3);
+ return W(T.monthsShort, ve, ye, 3);
case "MMMM":
- return G(ye, ve);
+ return W(ye, ve);
case "D":
return N.$D;
case "DD":
@@ -813,9 +813,9 @@ function Da() {
case "d":
return String(N.$W);
case "dd":
- return G(T.weekdaysMin, N.$W, pe, 2);
+ return W(T.weekdaysMin, N.$W, pe, 2);
case "ddd":
- return G(T.weekdaysShort, N.$W, pe, 3);
+ return W(T.weekdaysShort, N.$W, pe, 3);
case "dddd":
return pe[N.$W];
case "H":
@@ -841,16 +841,16 @@ function Da() {
case "SSS":
return M.s(N.$ms, 3, "0");
case "Z":
- return W;
+ return G;
}
return null;
- })(Se) || W.replace(":", "");
+ })(Se) || G.replace(":", "");
}));
}, E.utcOffset = function() {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
}, E.diff = function(U, N, T) {
- var q, W = this, ee = M.p(N), oe = z(U), ve = (oe.utcOffset() - this.utcOffset()) * o, pe = this - oe, ye = function() {
- return M.m(W, oe);
+ var q, G = this, ee = M.p(N), oe = z(U), ve = (oe.utcOffset() - this.utcOffset()) * o, pe = this - oe, ye = function() {
+ return M.m(G, oe);
};
switch (ee) {
case f:
@@ -887,7 +887,7 @@ function Da() {
return b[this.$L];
}, E.locale = function(U, N) {
if (!U) return this.$L;
- var T = this.clone(), q = J(U, N, !0);
+ var T = this.clone(), q = B(U, N, !0);
return q && (T.$L = q), T;
}, E.clone = function() {
return M.w(this.$d, this);
@@ -899,24 +899,24 @@ function Da() {
return this.$d.toISOString();
}, E.toString = function() {
return this.$d.toUTCString();
- }, O;
- })(), je = _e.prototype;
- return z.prototype = je, [["$ms", i], ["$s", a], ["$m", l], ["$H", s], ["$W", u], ["$M", c], ["$y", f], ["$D", h]].forEach((function(O) {
- je[O[1]] = function(E) {
- return this.$g(E, O[0], O[1]);
+ }, j;
+ })(), De = he.prototype;
+ return z.prototype = De, [["$ms", i], ["$s", a], ["$m", l], ["$H", s], ["$W", u], ["$M", c], ["$y", f], ["$D", h]].forEach((function(j) {
+ De[j[1]] = function(E) {
+ return this.$g(E, j[0], j[1]);
};
- })), z.extend = function(O, E) {
- return O.$i || (O(E, _e, z), O.$i = !0), z;
- }, z.locale = J, z.isDayjs = I, z.unix = function(O) {
- return z(1e3 * O);
+ })), z.extend = function(j, E) {
+ return j.$i || (j(E, he, z), j.$i = !0), z;
+ }, z.locale = B, z.isDayjs = S, z.unix = function(j) {
+ return z(1e3 * j);
}, z.en = b[Z], z.Ls = b, z.p = {}, z;
}));
- })(un)), un.exports;
+ })(sn)), sn.exports;
}
-var Pf = Da();
-const be = /* @__PURE__ */ za(Pf), Cf = Array.from({ length: 24 }, (e, n) => String(n).padStart(2, "0")), Zf = Array.from({ length: 60 }, (e, n) => String(n).padStart(2, "0"));
-function Mf(e, n, r, o) {
- const t = e.startOf("month"), i = e.endOf("month"), a = be(), l = r ? be(r).startOf("day") : null, s = o ? be(o).startOf("day") : null, u = [];
+var Cf = Oa();
+const _e = /* @__PURE__ */ Da(Cf), Zf = Array.from({ length: 24 }, (e, n) => String(n).padStart(2, "0")), Mf = Array.from({ length: 60 }, (e, n) => String(n).padStart(2, "0"));
+function Ff(e, n, r, o) {
+ const t = e.startOf("month"), i = e.endOf("month"), a = _e(), l = r ? _e(r).startOf("day") : null, s = o ? _e(o).startOf("day") : null, u = [];
for (let c = t.day() - 1; c >= 0; c--) {
const m = t.subtract(c + 1, "day");
u.push({
@@ -951,34 +951,34 @@ function Mf(e, n, r, o) {
}
return u;
}
-function Ir(e, n) {
+function zr(e, n) {
if (!e) return "";
- const r = be(e);
+ const r = _e(e);
return r.isValid() ? n === "data" ? r.format("DD/MM/YYYY") : r.format("DD/MM/YYYY HH:mm") : "";
}
-function Ff(e, n) {
+function Lf(e, n) {
const r = e.replace(/\D/g, "");
if (!r) return "";
const o = r.slice(0, 2), t = r.slice(2, 4), i = r.slice(4, 8), a = r.slice(8, 10), l = r.slice(10, 12);
let s = o;
return t && (s += `/${t}`), i && (s += `/${i}`), n === "dataHora" && (a && (s += ` ${a}`), l && (s += `:${l}`)), s;
}
-function Lf(e, n, r) {
+function Rf(e, n, r) {
const o = e.replace(/\D/g, "");
if (o.length < 8) return null;
const t = Number.parseInt(o.slice(0, 2), 10), i = Number.parseInt(o.slice(2, 4), 10), a = Number.parseInt(o.slice(4, 8), 10);
if (i < 1 || i > 12 || t < 1 || t > 31 || a < 1900 || a > 2100) return null;
let l = 0, s = 0;
n === "dataHora" && (o.length >= 10 ? l = Math.min(23, Number.parseInt(o.slice(8, 10), 10) || 0) : r && (l = Number.parseInt(r.hora, 10) || 0), o.length >= 12 ? s = Math.min(59, Number.parseInt(o.slice(10, 12), 10) || 0) : r && (s = Number.parseInt(r.minuto, 10) || 0));
- const u = `${a}-${String(i).padStart(2, "0")}-${String(t).padStart(2, "0")}T${String(l).padStart(2, "0")}:${String(s).padStart(2, "0")}:00`, d = be(u);
+ const u = `${a}-${String(i).padStart(2, "0")}-${String(t).padStart(2, "0")}T${String(l).padStart(2, "0")}:${String(s).padStart(2, "0")}:00`, d = _e(u);
return d.isValid() ? d.format() : null;
}
-var sn = { exports: {} }, Rf = sn.exports, Ao;
-function Bf() {
- return Ao || (Ao = 1, (function(e, n) {
+var cn = { exports: {} }, Bf = cn.exports, Po;
+function Vf() {
+ return Po || (Po = 1, (function(e, n) {
(function(r, o) {
- e.exports = o(Da());
- })(Rf, (function(r) {
+ e.exports = o(Oa());
+ })(Bf, (function(r) {
function o(a) {
return a && typeof a == "object" && "default" in a ? a : { default: a };
}
@@ -987,10 +987,10 @@ function Bf() {
}, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY [às] HH:mm", LLLL: "dddd, D [de] MMMM [de] YYYY [às] HH:mm" }, relativeTime: { future: "em %s", past: "há %s", s: "poucos segundos", m: "um minuto", mm: "%d minutos", h: "uma hora", hh: "%d horas", d: "um dia", dd: "%d dias", M: "um mês", MM: "%d meses", y: "um ano", yy: "%d anos" } };
return t.default.locale(i, null, !0), i;
}));
- })(sn)), sn.exports;
+ })(cn)), cn.exports;
}
-Bf();
-function Vf({
+Vf();
+function Jf({
modoEfetivo: e,
valor: n,
horaTemp: r,
@@ -1000,12 +1000,12 @@ function Vf({
}) {
const a = L(""), l = L(!1);
function s(c) {
- const m = c.target.value, f = Ff(m, e.value);
+ const m = c.target.value, f = Lf(m, e.value);
if (a.value = f, c.target.value = f, !f) {
t(null);
return;
}
- const h = Lf(f, e.value, {
+ const h = Rf(f, e.value, {
hora: r.value,
minuto: o.value
});
@@ -1022,7 +1022,7 @@ function Vf({
l.value = !0, i("foco"), i("focus");
}
function d() {
- l.value = !1, n.value ? a.value = Ir(n.value, e.value) : a.value = "", i("desfoco"), i("blur");
+ l.value = !1, n.value ? a.value = zr(n.value, e.value) : a.value = "", i("desfoco"), i("blur");
}
return {
textoDigitado: a,
@@ -1032,7 +1032,7 @@ function Vf({
onInputBlur: d
};
}
-function Jf({ uid: e, modoEfetivo: n }) {
+function qf({ uid: e, modoEfetivo: n }) {
const r = L({});
function o() {
const a = document.getElementById(`eli-dh-campo-${e}`);
@@ -1056,10 +1056,10 @@ function Jf({ uid: e, modoEfetivo: n }) {
removerListenersPosicao: i
};
}
-const Oa = Array.from({ length: 12 }, (e, n) => {
- const r = be().month(n).format("MMMM");
+const ja = Array.from({ length: 12 }, (e, n) => {
+ const r = _e().month(n).format("MMMM");
return r.charAt(0).toUpperCase() + r.slice(1);
-}), qf = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"];
+}), Wf = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"];
function Gf({ props: e, referencia: n, diaSelecionado: r }) {
const o = D(() => {
const g = e.opcoes;
@@ -1082,12 +1082,12 @@ function Gf({ props: e, referencia: n, diaSelecionado: r }) {
), l = D(() => a.value), s = D(() => {
const g = o.value.erro ? o.value.mensagensErro : null;
return g ? Array.isArray(g) ? g : [g] : [];
- }), u = D(() => Ir(l.value, t.value)), d = D(() => Oa[n.value.month()]), c = D(() => n.value.year()), m = D(() => n.value.month()), f = D(() => {
- const g = n.value.year(), x = o.value.min ? be(o.value.min).year() : be().year() - 80, j = o.value.max ? be(o.value.max).year() : be().year() + 20, w = [];
- for (let C = Math.min(x, g); C <= Math.max(j, g); C++) w.push(C);
+ }), u = D(() => zr(l.value, t.value)), d = D(() => ja[n.value.month()]), c = D(() => n.value.year()), m = D(() => n.value.month()), f = D(() => {
+ const g = n.value.year(), x = o.value.min ? _e(o.value.min).year() : _e().year() - 80, O = o.value.max ? _e(o.value.max).year() : _e().year() + 20, w = [];
+ for (let C = Math.min(x, g); C <= Math.max(O, g); C++) w.push(C);
return w;
}), h = D(
- () => Mf(
+ () => Ff(
n.value,
r.value,
o.value.min,
@@ -1109,10 +1109,10 @@ function Gf({ props: e, referencia: n, diaSelecionado: r }) {
celulas: h
};
}
-be.locale("pt-br");
-let Wf = 0;
-function Kf(e, n) {
- const r = ++Wf, o = L(!1), t = L(be()), i = L(null), a = L("00"), l = L("00"), {
+_e.locale("pt-br");
+let Kf = 0;
+function Xf(e, n) {
+ const r = ++Kf, o = L(!1), t = L(_e()), i = L(null), a = L("00"), l = L("00"), {
opcoesEfetivas: s,
modoEfetivo: u,
desabilitadoEfetivo: d,
@@ -1122,103 +1122,103 @@ function Kf(e, n) {
valorFormatado: h,
nomeMesAtual: g,
anoAtual: x,
- mesAtual: j,
+ mesAtual: O,
listaAnos: w,
celulas: C
- } = Gf({ props: e, referencia: t, diaSelecionado: i }), { estiloPopover: P, calcularPosicao: Z, adicionarListenersPosicao: b, removerListenersPosicao: _ } = Jf({ uid: r, modoEfetivo: u });
- function I(G) {
+ } = Gf({ props: e, referencia: t, diaSelecionado: i }), { estiloPopover: P, calcularPosicao: Z, adicionarListenersPosicao: b, removerListenersPosicao: _ } = qf({ uid: r, modoEfetivo: u });
+ function S(W) {
["update:value", "input", "change", "update:modelValue", "alterar"].forEach((re) => {
- n(re, G);
+ n(re, W);
});
}
- const { textoDigitado: J, focado: z, onTextInput: M, onInputFocus: _e, onInputBlur: je } = Vf({
+ const { textoDigitado: B, focado: z, onTextInput: M, onInputFocus: he, onInputBlur: De } = Jf({
modoEfetivo: u,
valor: m,
horaTemp: a,
minutoTemp: l,
- emitirValor: I,
+ emitirValor: S,
emit: n
});
ze(
c,
- (G) => {
- if (G) {
- const re = be(G);
+ (W) => {
+ if (W) {
+ const re = _e(W);
if (re.isValid()) {
- i.value = re.startOf("day"), t.value = re.startOf("month"), a.value = re.format("HH"), l.value = re.format("mm"), z.value || (J.value = Ir(G, u.value));
+ i.value = re.startOf("day"), t.value = re.startOf("month"), a.value = re.format("HH"), l.value = re.format("mm"), z.value || (B.value = zr(W, u.value));
return;
}
}
- i.value = null, a.value = "00", l.value = "00", z.value || (J.value = "");
+ i.value = null, a.value = "00", l.value = "00", z.value || (B.value = "");
},
{ immediate: !0 }
);
- function O() {
- d.value || o.value || (o.value = !0, Z(), n("foco"), n("focus"), _r(Z), b());
+ function j() {
+ d.value || o.value || (o.value = !0, Z(), n("foco"), n("focus"), kr(Z), b());
}
function E() {
- d.value || (o.value ? U() : O());
+ d.value || (o.value ? U() : j());
}
function U() {
o.value && (o.value = !1, _(), n("desfoco"), n("blur"));
}
- function N(G) {
- t.value = t.value.add(G, "month");
+ function N(W) {
+ t.value = t.value.add(W, "month");
}
- function T(G) {
- t.value = t.value.month(G);
+ function T(W) {
+ t.value = t.value.month(W);
}
- function q(G) {
- t.value = t.value.year(G);
+ function q(W) {
+ t.value = t.value.year(W);
}
- function W(G) {
- if (!G.desabilitado)
- if (i.value = G.data.startOf("day"), u.value === "data")
+ function G(W) {
+ if (!W.desabilitado)
+ if (i.value = W.data.startOf("day"), u.value === "data")
pe();
else {
const re = Number.parseInt(a.value, 10) || 0, ke = Number.parseInt(l.value, 10) || 0;
- I(i.value.hour(re).minute(ke).second(0).format());
+ S(i.value.hour(re).minute(ke).second(0).format());
}
}
function ee() {
- const G = be();
- i.value = G.startOf("day"), t.value = G.startOf("month"), a.value = G.format("HH"), l.value = G.format("mm");
- const re = u.value === "data" ? G.startOf("day") : G.second(0);
- I(re.format()), u.value === "data" && U();
+ const W = _e();
+ i.value = W.startOf("day"), t.value = W.startOf("month"), a.value = W.format("HH"), l.value = W.format("mm");
+ const re = u.value === "data" ? W.startOf("day") : W.second(0);
+ S(re.format()), u.value === "data" && U();
}
- function oe(G) {
- if (a.value = G, i.value) {
- const re = Number.parseInt(G, 10) || 0, ke = Number.parseInt(l.value, 10) || 0;
- I(i.value.hour(re).minute(ke).second(0).format());
+ function oe(W) {
+ if (a.value = W, i.value) {
+ const re = Number.parseInt(W, 10) || 0, ke = Number.parseInt(l.value, 10) || 0;
+ S(i.value.hour(re).minute(ke).second(0).format());
}
}
- function ve(G) {
- if (l.value = G, i.value) {
- const re = Number.parseInt(a.value, 10) || 0, ke = Number.parseInt(G, 10) || 0;
- I(i.value.hour(re).minute(ke).second(0).format());
+ function ve(W) {
+ if (l.value = W, i.value) {
+ const re = Number.parseInt(a.value, 10) || 0, ke = Number.parseInt(W, 10) || 0;
+ S(i.value.hour(re).minute(ke).second(0).format());
}
}
function pe() {
if (!i.value) return;
- const G = Number.parseInt(a.value, 10) || 0, re = Number.parseInt(l.value, 10) || 0, ke = u.value === "data" ? i.value.startOf("day") : i.value.hour(G).minute(re).second(0);
- I(ke.format()), U();
+ const W = Number.parseInt(a.value, 10) || 0, re = Number.parseInt(l.value, 10) || 0, ke = u.value === "data" ? i.value.startOf("day") : i.value.hour(W).minute(re).second(0);
+ S(ke.format()), U();
}
function ye() {
- J.value = "", I(null);
+ B.value = "", S(null);
}
- function Ze(G) {
+ function Ze(W) {
var ke, Se;
if (!o.value) return;
- const re = G.target;
+ const re = W.target;
!((ke = document.getElementById(`eli-dh-campo-${r}`)) != null && ke.contains(re)) && !((Se = document.getElementById(`eli-dh-popover-${r}`)) != null && Se.contains(re)) && U();
}
- return nt(() => document.addEventListener("click", Ze, !0)), St(() => {
+ return rt(() => document.addEventListener("click", Ze, !0)), St(() => {
document.removeEventListener("click", Ze, !0), _();
}), {
uid: r,
aberto: o,
focado: z,
- textoDigitado: J,
+ textoDigitado: B,
estiloPopover: P,
referencia: t,
diaSelecionado: i,
@@ -1232,27 +1232,27 @@ function Kf(e, n) {
mensagensVisiveis: f,
nomeMesAtual: g,
anoAtual: x,
- mesAtual: j,
+ mesAtual: O,
listaAnos: w,
mudarMes: T,
mudarAno: q,
celulas: C,
- abrirSeHabilitado: O,
+ abrirSeHabilitado: j,
alternarPopover: E,
fechar: U,
navegarMes: N,
- selecionarDia: W,
+ selecionarDia: G,
definirAgora: ee,
confirmar: pe,
limpar: ye,
onTextInput: M,
- onInputFocus: _e,
- onInputBlur: je,
+ onInputFocus: he,
+ onInputBlur: De,
atualizarHoraTemp: oe,
atualizarMinutoTemp: ve
};
}
-const Xf = te({
+const Hf = te({
name: "EliDhCalendario",
props: {
uid: { type: Number, required: !0 },
@@ -1294,29 +1294,29 @@ const Xf = te({
n("update:minutoTemp", a.target.value);
}
return {
- diasSemana: qf,
- MESES: Oa,
- OPCOES_HORAS: Cf,
- OPCOES_MINUTOS: Zf,
+ diasSemana: Wf,
+ MESES: ja,
+ OPCOES_HORAS: Zf,
+ OPCOES_MINUTOS: Mf,
onMesSelectChange: r,
onAnoSelectChange: o,
onHoraSelectChange: t,
onMinutoSelectChange: i
};
}
-}), Hf = ["id", "aria-label"], Yf = { class: "eli-dh__cal-header" }, Qf = { class: "eli-dh__cal-titulo" }, ev = { class: "eli-dh__seletores" }, tv = ["value"], nv = ["value"], rv = ["value"], iv = ["value"], ov = { class: "eli-dh__cal-body" }, av = {
+}), Yf = ["id", "aria-label"], Qf = { class: "eli-dh__cal-header" }, ev = { class: "eli-dh__cal-titulo" }, tv = { class: "eli-dh__seletores" }, nv = ["value"], rv = ["value"], iv = ["value"], ov = ["value"], av = { class: "eli-dh__cal-body" }, lv = {
class: "eli-dh__cal-semana",
role: "row"
-}, lv = {
+}, uv = {
class: "eli-dh__cal-grade",
role: "grid"
-}, uv = ["disabled", "tabindex", "aria-selected", "aria-label", "onClick"], sv = {
+}, sv = ["disabled", "tabindex", "aria-selected", "aria-label", "onClick"], cv = {
key: 0,
class: "eli-dh__hora-secao"
-}, cv = { class: "eli-dh__hora-campos" }, dv = ["value", "aria-label"], mv = ["value"], fv = ["value", "aria-label"], vv = ["value"], pv = { class: "eli-dh__rodape" }, gv = { class: "eli-dh__rodape-acoes" }, hv = ["disabled"];
+}, dv = { class: "eli-dh__hora-campos" }, mv = ["value", "aria-label"], fv = ["value"], vv = ["value", "aria-label"], pv = ["value"], gv = { class: "eli-dh__rodape" }, hv = { class: "eli-dh__rodape-acoes" }, bv = ["disabled"];
function $v(e, n, r, o, t, i) {
- return $(), ie(yr, { to: "body" }, [
- F(ga, { name: "eli-dh-pop" }, {
+ return $(), ie(Sr, { to: "body" }, [
+ F(ha, { name: "eli-dh-pop" }, {
default: de(() => [
e.aberto ? ($(), k("div", {
key: 0,
@@ -1329,7 +1329,7 @@ function $v(e, n, r, o, t, i) {
onMousedown: n[14] || (n[14] = me(() => {
}, ["stop"]))
}, [
- p("div", Yf, [
+ p("div", Qf, [
p("button", {
class: "eli-dh__cal-nav",
type: "button",
@@ -1349,8 +1349,8 @@ function $v(e, n, r, o, t, i) {
p("polyline", { points: "15 18 9 12 15 6" })
], -1)
])]),
- p("div", Qf, [
- p("div", ev, [
+ p("div", ev, [
+ p("div", tv, [
p("select", {
value: e.mesAtual,
class: "eli-dh__select",
@@ -1360,8 +1360,8 @@ function $v(e, n, r, o, t, i) {
($(!0), k(ge, null, $e(e.MESES, (a, l) => ($(), k("option", {
key: l,
value: l
- }, V(a), 9, nv))), 128))
- ], 40, tv),
+ }, J(a), 9, rv))), 128))
+ ], 40, nv),
p("select", {
value: e.anoAtual,
class: "eli-dh__select",
@@ -1371,8 +1371,8 @@ function $v(e, n, r, o, t, i) {
($(!0), k(ge, null, $e(e.listaAnos, (a) => ($(), k("option", {
key: a,
value: a
- }, V(a), 9, iv))), 128))
- ], 40, rv)
+ }, J(a), 9, ov))), 128))
+ ], 40, iv)
])
]),
p("button", {
@@ -1395,15 +1395,15 @@ function $v(e, n, r, o, t, i) {
], -1)
])])
]),
- p("div", ov, [
- p("div", av, [
+ p("div", av, [
+ p("div", lv, [
($(!0), k(ge, null, $e(e.diasSemana, (a) => ($(), k("div", {
key: a,
class: "eli-dh__cal-dia-sem",
role: "columnheader"
- }, V(a), 1))), 128))
+ }, J(a), 1))), 128))
]),
- p("div", lv, [
+ p("div", uv, [
($(!0), k(ge, null, $e(e.celulas, (a, l) => ($(), k("button", {
key: l,
class: Me(["eli-dh__cal-dia", {
@@ -1419,10 +1419,10 @@ function $v(e, n, r, o, t, i) {
"aria-label": `${a.dia} de ${e.nomeMesAtual} de ${e.anoAtual}`,
onClick: (s) => e.$emit("selecionarDia", a),
onDblclick: n[4] || (n[4] = (s) => e.$emit("confirmar"))
- }, V(a.dia), 43, uv))), 128))
+ }, J(a.dia), 43, sv))), 128))
])
]),
- e.modo === "dataHora" ? ($(), k("div", sv, [
+ e.modo === "dataHora" ? ($(), k("div", cv, [
n[18] || (n[18] = p("div", { class: "eli-dh__hora-rotulo" }, [
p("svg", {
class: "eli-dh__hora-icone",
@@ -1443,7 +1443,7 @@ function $v(e, n, r, o, t, i) {
]),
p("span", null, "Horário:")
], -1)),
- p("div", cv, [
+ p("div", dv, [
p("select", {
value: e.horaTemp,
class: "eli-dh__hora-select",
@@ -1455,8 +1455,8 @@ function $v(e, n, r, o, t, i) {
($(!0), k(ge, null, $e(e.OPCOES_HORAS, (a) => ($(), k("option", {
key: a,
value: a
- }, V(a) + "h", 9, mv))), 128))
- ], 40, dv),
+ }, J(a) + "h", 9, fv))), 128))
+ ], 40, mv),
n[17] || (n[17] = p("span", {
class: "eli-dh__hora-sep",
"aria-hidden": "true"
@@ -1472,8 +1472,8 @@ function $v(e, n, r, o, t, i) {
($(!0), k(ge, null, $e(e.OPCOES_MINUTOS, (a) => ($(), k("option", {
key: a,
value: a
- }, V(a) + "m", 9, vv))), 128))
- ], 40, fv),
+ }, J(a) + "m", 9, pv))), 128))
+ ], 40, vv),
p("button", {
class: "eli-dh__btn-agora",
type: "button",
@@ -1482,7 +1482,7 @@ function $v(e, n, r, o, t, i) {
}, " Agora ")
])
])) : K("", !0),
- p("div", pv, [
+ p("div", gv, [
e.modo === "data" ? ($(), k("button", {
key: 0,
class: "eli-dh__btn-agora",
@@ -1490,7 +1490,7 @@ function $v(e, n, r, o, t, i) {
title: "Definir para a data de hoje",
onClick: n[10] || (n[10] = (a) => e.$emit("definirAgora"))
}, " Hoje ")) : K("", !0),
- p("div", gv, [
+ p("div", hv, [
p("button", {
class: "eli-dh__btn eli-dh__btn--cancelar",
type: "button",
@@ -1501,18 +1501,18 @@ function $v(e, n, r, o, t, i) {
type: "button",
disabled: !e.diaSelecionado,
onClick: n[12] || (n[12] = (a) => e.$emit("confirmar"))
- }, "✓ Confirmar", 8, hv)
+ }, "✓ Confirmar", 8, bv)
])
])
- ], 44, Hf)) : K("", !0)
+ ], 44, Yf)) : K("", !0)
]),
_: 1
})
]);
}
-const bv = /* @__PURE__ */ ne(Xf, [["render", $v]]), _v = te({
+const _v = /* @__PURE__ */ ne(Hf, [["render", $v]]), yv = te({
name: "EliEntradaDataHora",
- components: { Calendario: bv },
+ components: { Calendario: _v },
inheritAttrs: !1,
props: {
value: { type: String, default: void 0 },
@@ -1548,19 +1548,19 @@ const bv = /* @__PURE__ */ ne(Xf, [["render", $v]]), _v = te({
blur: () => !0
},
setup(e, { emit: n }) {
- return Kf(e, (o, t) => n(o, t));
+ return Xf(e, (o, t) => n(o, t));
}
-}), yv = { class: "eli-dh" }, kv = ["id"], Sv = ["title", "disabled"], Iv = { class: "eli-dh__conteudo" }, wv = ["for"], zv = ["id", "value", "placeholder", "disabled", "readonly", "aria-expanded", "aria-label"], Dv = ["aria-label"], Ov = {
+}), kv = { class: "eli-dh" }, Sv = ["id"], Iv = ["title", "disabled"], wv = { class: "eli-dh__conteudo" }, zv = ["for"], Dv = ["id", "value", "placeholder", "disabled", "readonly", "aria-expanded", "aria-label"], Ov = ["aria-label"], jv = {
key: 0,
class: "eli-dh__mensagem eli-dh__mensagem--erro",
role: "alert"
-}, jv = {
+}, Ev = {
key: 1,
class: "eli-dh__mensagem eli-dh__mensagem--dica"
};
-function Ev(e, n, r, o, t, i) {
+function Uv(e, n, r, o, t, i) {
const a = Q("Calendario");
- return $(), k("div", yv, [
+ return $(), k("div", kv, [
p("div", {
id: `eli-dh-campo-${e.uid}`,
class: Me(["eli-dh__campo", {
@@ -1578,13 +1578,13 @@ function Ev(e, n, r, o, t, i) {
disabled: e.desabilitadoEfetivo,
onClick: n[0] || (n[0] = me((...l) => e.alternarPopover && e.alternarPopover(...l), ["stop"]))
}, [...n[9] || (n[9] = [
- Fm('', 1)
- ])], 8, Sv),
- p("div", Iv, [
+ Lm('', 1)
+ ])], 8, Iv),
+ p("div", wv, [
p("label", {
for: `eli-dh-input-${e.uid}`,
class: "eli-dh__rotulo"
- }, V(e.opcoesEfetivas.rotulo), 9, wv),
+ }, J(e.opcoesEfetivas.rotulo), 9, zv),
p("input", {
id: `eli-dh-input-${e.uid}`,
class: "eli-dh__input",
@@ -1605,7 +1605,7 @@ function Ev(e, n, r, o, t, i) {
n[5] || (n[5] = It(me((...l) => e.abrirSeHabilitado && e.abrirSeHabilitado(...l), ["prevent"]), ["down"])),
n[6] || (n[6] = It((...l) => e.fechar && e.fechar(...l), ["escape"]))
]
- }, null, 40, zv)
+ }, null, 40, Dv)
]),
e.opcoesEfetivas.limpavel && e.valor && !e.desabilitadoEfetivo ? ($(), k("button", {
key: 0,
@@ -1638,9 +1638,9 @@ function Ev(e, n, r, o, t, i) {
y2: "18"
})
], -1)
- ])], 8, Dv)) : K("", !0)
- ], 10, kv),
- e.mensagensVisiveis.length ? ($(), k("div", Ov, V(e.mensagensVisiveis[0]), 1)) : e.opcoesEfetivas.dica && (e.opcoesEfetivas.dicaPersistente || e.aberto || e.focado) ? ($(), k("div", jv, V(e.opcoesEfetivas.dica), 1)) : K("", !0),
+ ])], 8, Ov)) : K("", !0)
+ ], 10, Sv),
+ e.mensagensVisiveis.length ? ($(), k("div", jv, J(e.mensagensVisiveis[0]), 1)) : e.opcoesEfetivas.dica && (e.opcoesEfetivas.dicaPersistente || e.aberto || e.focado) ? ($(), k("div", Ev, J(e.opcoesEfetivas.dica), 1)) : K("", !0),
F(a, {
uid: e.uid,
aberto: e.aberto,
@@ -1667,8 +1667,8 @@ function Ev(e, n, r, o, t, i) {
}, null, 8, ["uid", "aberto", "estilo-popover", "rotulo", "modo", "nome-mes-atual", "ano-atual", "mes-atual", "lista-anos", "celulas", "dia-selecionado", "hora-temp", "minuto-temp", "onFechar", "onConfirmar", "onNavegarMes", "onSelecionarDia", "onMudarMes", "onMudarAno", "onUpdate:horaTemp", "onUpdate:minutoTemp", "onDefinirAgora"])
]);
}
-const ja = /* @__PURE__ */ ne(_v, [["render", Ev]]);
-function Uv(e) {
+const Ea = /* @__PURE__ */ ne(yv, [["render", Uv]]);
+function xv(e) {
if (!Number.isFinite(e) || e <= 0 || e >= 1) return 0;
const n = e.toString();
if (n.includes("e-")) {
@@ -1678,25 +1678,25 @@ function Uv(e) {
const r = n.indexOf(".");
return r === -1 ? 0 : n.slice(r + 1).replace(/0+$/, "").length;
}
-function xv(e) {
+function Tv(e) {
const n = (e ?? "").trim().replace(/,/g, ".");
if (!n) return null;
const r = Number(n);
return Number.isNaN(r) ? null : r;
}
-function cr(e, n) {
+function dr(e, n) {
return e == null ? "" : n === null ? String(e).replace(/\./g, ",") : Number(e).toFixed(Math.max(0, n)).replace(/\./g, ",");
}
-function No(e) {
+function Co(e) {
return (e ?? "").replace(/\D+/g, "");
}
-function Tv(e) {
+function Av(e) {
const n = (e ?? "").replace(/[^0-9.,]+/g, ""), r = n.match(/[.,]/);
if (!r) return n;
const o = r[0], t = n.indexOf(o), i = n.slice(0, t).replace(/[.,]/g, ""), a = n.slice(t + 1).replace(/[.,]/g, "");
return `${i.length ? i : "0"}${o}${a}`;
}
-function Av(e, n) {
+function Nv(e, n) {
if (n === null) return e;
if (n <= 0) return e.replace(/[.,]/g, "");
const r = e.match(/[.,]/);
@@ -1704,13 +1704,13 @@ function Av(e, n) {
const o = r[0], t = e.indexOf(o), i = e.slice(0, t), a = e.slice(t + 1);
return `${i}${o}${a.slice(0, n)}`;
}
-function Nv(e) {
+function Pv(e) {
const n = e.match(/^(\d+)[.,]$/);
if (!n) return null;
const r = Number(n[1]);
return Number.isNaN(r) ? null : r;
}
-const Pv = te({
+const Cv = te({
name: "EliEntradaNumero",
inheritAttrs: !1,
props: {
@@ -1736,7 +1736,7 @@ const Pv = te({
const o = D(() => {
var d;
const u = (d = e.opcoes) == null ? void 0 : d.precisao;
- return u == null ? null : Uv(u);
+ return u == null ? null : xv(u);
}), t = D(() => o.value === 0), i = D(() => {
const u = o.value;
return u !== null && u > 0;
@@ -1744,30 +1744,30 @@ const Pv = te({
ze(
() => e.value,
(u) => {
- u !== l.value && (a.value = cr(u, o.value), l.value = u);
+ u !== l.value && (a.value = dr(u, o.value), l.value = u);
},
{ immediate: !0 }
);
function s(u) {
if (i.value) {
- const f = o.value ?? 0, h = No(u), g = h ? Number(h) : 0, x = 10 ** f, j = h ? g / x : null, w = j === null ? null : j;
- l.value = w, r("update:value", w), r("input", w), r("change", w), a.value = cr(w, f);
+ const f = o.value ?? 0, h = Co(u), g = h ? Number(h) : 0, x = 10 ** f, O = h ? g / x : null, w = O === null ? null : O;
+ l.value = w, r("update:value", w), r("input", w), r("change", w), a.value = dr(w, f);
return;
}
- const d = t.value ? No(u) : Tv(u), c = t.value ? d : Av(d, o.value);
+ const d = t.value ? Co(u) : Av(u), c = t.value ? d : Nv(d, o.value);
let m = null;
if (c) {
- const h = (t.value ? null : Nv(c)) ?? xv(c);
+ const h = (t.value ? null : Pv(c)) ?? Tv(c);
m = h === null ? null : h;
}
- l.value = m, r("update:value", m), r("input", m), r("change", m), o.value === null && c ? a.value = c.replace(/\./g, ",") : a.value = cr(m, o.value);
+ l.value = m, r("update:value", m), r("input", m), r("change", m), o.value === null && c ? a.value = c.replace(/\./g, ",") : a.value = dr(m, o.value);
}
return { attrs: n, emit: r, displayValue: a, isInteiro: t, onUpdateModelValue: s };
}
-}), Cv = { class: "eli-entrada__prefixo" }, Zv = { class: "eli-entrada__sufixo" };
-function Mv(e, n, r, o, t, i) {
+}), Zv = { class: "eli-entrada__prefixo" }, Mv = { class: "eli-entrada__sufixo" };
+function Fv(e, n, r, o, t, i) {
var a, l, s, u, d;
- return $(), ie(mn, Ee({
+ return $(), ie(fn, Ee({
"model-value": e.displayValue,
label: (a = e.opcoes) == null ? void 0 : a.rotulo,
placeholder: (l = e.opcoes) == null ? void 0 : l.placeholder,
@@ -1779,24 +1779,24 @@ function Mv(e, n, r, o, t, i) {
"onUpdate:modelValue": e.onUpdateModelValue,
onFocus: n[0] || (n[0] = () => e.emit("focus")),
onBlur: n[1] || (n[1] = () => e.emit("blur"))
- }), Lm({ _: 2 }, [
+ }), Rm({ _: 2 }, [
(u = e.opcoes) != null && u.prefixo ? {
name: "prepend-inner",
fn: de(() => [
- p("span", Cv, V(e.opcoes.prefixo), 1)
+ p("span", Zv, J(e.opcoes.prefixo), 1)
]),
key: "0"
} : void 0,
(d = e.opcoes) != null && d.sufixo ? {
name: "append-inner",
fn: de(() => [
- p("span", Zv, V(e.opcoes.sufixo), 1)
+ p("span", Mv, J(e.opcoes.sufixo), 1)
]),
key: "1"
} : void 0
]), 1040, ["model-value", "label", "placeholder", "type", "inputmode", "pattern", "readonly", "onUpdate:modelValue"]);
}
-const Ea = /* @__PURE__ */ ne(Pv, [["render", Mv]]), Fv = te({
+const Ua = /* @__PURE__ */ ne(Cv, [["render", Fv]]), Lv = te({
name: "EliEntradaParagrafo",
components: { VTextarea: Gm },
inheritAttrs: !1,
@@ -1827,9 +1827,9 @@ const Ea = /* @__PURE__ */ ne(Pv, [["render", Mv]]), Fv = te({
return { attrs: n, emit: r, localValue: o };
}
});
-function Lv(e, n, r, o, t, i) {
- var a, l, s, u, d, c, m, f, h, g, x, j, w;
- return $(), ie(Xm, Ee({
+function Rv(e, n, r, o, t, i) {
+ var a, l, s, u, d, c, m, f, h, g, x, O, w;
+ return $(), ie(Hm, Ee({
modelValue: e.localValue,
"onUpdate:modelValue": n[0] || (n[0] = (C) => e.localValue = C),
label: (a = e.opcoes) == null ? void 0 : a.rotulo,
@@ -1843,7 +1843,7 @@ function Lv(e, n, r, o, t, i) {
hint: (h = e.opcoes) == null ? void 0 : h.dica,
"persistent-hint": !!((g = e.opcoes) != null && g.dicaPersistente),
density: ((x = e.opcoes) == null ? void 0 : x.densidade) ?? "comfortable",
- variant: ((j = e.opcoes) == null ? void 0 : j.variante) ?? "outlined",
+ variant: ((O = e.opcoes) == null ? void 0 : O.variante) ?? "outlined",
readonly: !!((w = e.opcoes) != null && w.apenasLeitura),
"auto-grow": ""
}, e.attrs, {
@@ -1851,16 +1851,16 @@ function Lv(e, n, r, o, t, i) {
onBlur: n[2] || (n[2] = () => e.emit("blur"))
}), null, 16, ["modelValue", "label", "placeholder", "rows", "counter", "maxlength", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant", "readonly"]);
}
-const Ua = /* @__PURE__ */ ne(Fv, [["render", Lv]]);
-function Po(e) {
+const xa = /* @__PURE__ */ ne(Lv, [["render", Rv]]);
+function Zo(e) {
return e.normalize("NFD").replace(new RegExp("\\p{Diacritic}", "gu"), "").toLowerCase();
}
-function xa(e, n) {
- return n ? Po(e).includes(Po(n)) : !0;
+function Ta(e, n) {
+ return n ? Zo(e).includes(Zo(n)) : !0;
}
-const Rv = te({
+const Bv = te({
name: "EliEntradaSelecao",
- components: { VAutocomplete: ya },
+ components: { VAutocomplete: ka },
inheritAttrs: !1,
props: {
value: {
@@ -1900,7 +1900,7 @@ const Rv = te({
() => {
a();
}
- ), nt(() => {
+ ), rt(() => {
a();
}), ze(
o,
@@ -1915,12 +1915,12 @@ const Rv = te({
if (!(!s || s.length === 0))
return (d) => ({ disabled: s.includes(d.chave) });
});
- return { attrs: n, emit: r, localValue: i, itens: o, carregando: t, itemProps: l, filtroSelecao: xa };
+ return { attrs: n, emit: r, localValue: i, itens: o, carregando: t, itemProps: l, filtroSelecao: Ta };
}
});
-function Bv(e, n, r, o, t, i) {
+function Vv(e, n, r, o, t, i) {
var a, l, s, u, d, c, m, f, h, g;
- return $(), ie(ka, Ee({
+ return $(), ie(Sa, Ee({
modelValue: e.localValue,
"onUpdate:modelValue": n[0] || (n[0] = (x) => e.localValue = x),
label: (a = e.opcoes) == null ? void 0 : a.rotulo,
@@ -1948,9 +1948,9 @@ function Bv(e, n, r, o, t, i) {
onBlur: n[2] || (n[2] = () => e.emit("blur"))
}), null, 16, ["modelValue", "label", "placeholder", "items", "item-props", "loading", "disabled", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant", "readonly", "custom-filter"]);
}
-const Ta = /* @__PURE__ */ ne(Rv, [["render", Bv]]), Vv = te({
+const Aa = /* @__PURE__ */ ne(Bv, [["render", Vv]]), Jv = te({
name: "EliEntradaSelecaoMultipla",
- components: { VAutocomplete: ya },
+ components: { VAutocomplete: ka },
inheritAttrs: !1,
props: {
value: {
@@ -1991,7 +1991,7 @@ const Ta = /* @__PURE__ */ ne(Rv, [["render", Bv]]), Vv = te({
() => {
a();
}
- ), nt(() => {
+ ), rt(() => {
a();
});
const l = D(() => {
@@ -2000,12 +2000,12 @@ const Ta = /* @__PURE__ */ ne(Rv, [["render", Bv]]), Vv = te({
if (!(!s || s.length === 0))
return (d) => ({ disabled: s.includes(d.chave) });
});
- return { attrs: n, emit: r, localValue: i, itens: o, carregando: t, itemProps: l, filtroSelecao: xa };
+ return { attrs: n, emit: r, localValue: i, itens: o, carregando: t, itemProps: l, filtroSelecao: Ta };
}
});
-function Jv(e, n, r, o, t, i) {
+function qv(e, n, r, o, t, i) {
var a, l, s, u, d, c, m, f, h, g;
- return $(), ie(ka, Ee({
+ return $(), ie(Sa, Ee({
modelValue: e.localValue,
"onUpdate:modelValue": n[0] || (n[0] = (x) => e.localValue = x),
label: (a = e.opcoes) == null ? void 0 : a.rotulo,
@@ -2035,29 +2035,29 @@ function Jv(e, n, r, o, t, i) {
onBlur: n[2] || (n[2] = () => e.emit("blur"))
}), null, 16, ["modelValue", "label", "placeholder", "items", "item-props", "loading", "disabled", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant", "custom-filter", "readonly"]);
}
-const Aa = /* @__PURE__ */ ne(Vv, [["render", Jv]]);
-function qv(e) {
- return e.replace(/\D+/g, "");
-}
-function Gv(e) {
- const n = qv(e);
- return n ? n.replace(/^(\d{5})(\d)/, "$1-$2").slice(0, 9) : "";
-}
+const Na = /* @__PURE__ */ ne(Jv, [["render", qv]]);
function Wv(e) {
return e.replace(/\D+/g, "");
}
-function Kv(e) {
+function Gv(e) {
const n = Wv(e);
- return n.length <= 11 ? n.replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d{1,2})$/, "$1-$2").slice(0, 14) : n.replace(/^(\d{2})(\d)/, "$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1/$2").replace(/(\d{4})(\d)/, "$1-$2").slice(0, 18);
+ return n ? n.replace(/^(\d{5})(\d)/, "$1-$2").slice(0, 9) : "";
}
-function Xv(e) {
+function Kv(e) {
return e.replace(/\D+/g, "");
}
+function Xv(e) {
+ const n = Kv(e);
+ return n.length <= 11 ? n.replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d{1,2})$/, "$1-$2").slice(0, 14) : n.replace(/^(\d{2})(\d)/, "$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1/$2").replace(/(\d{4})(\d)/, "$1-$2").slice(0, 18);
+}
function Hv(e) {
- const n = Xv(e);
+ return e.replace(/\D+/g, "");
+}
+function Yv(e) {
+ const n = Hv(e);
return n ? n.length <= 10 ? n.replace(/^(\d{2})(\d)/, "($1) $2").replace(/(\d{4})(\d)/, "$1-$2").slice(0, 14) : n.replace(/^(\d{2})(\d)/, "($1) $2").replace(/(\d{5})(\d)/, "$1-$2").slice(0, 15) : "";
}
-const Yv = te({
+const Qv = te({
name: "EliEntradaTexto",
inheritAttrs: !1,
props: {
@@ -2095,9 +2095,9 @@ const Yv = te({
function l(u) {
switch (o.value) {
case "telefone":
- return Hv(u);
+ return Yv(u);
case "cpfCnpj":
- return Kv(u);
+ return Xv(u);
case "cep":
return Gv(u);
default:
@@ -2111,9 +2111,9 @@ const Yv = te({
return { attrs: n, emit: r, localValue: t, inputHtmlType: i, inputMode: a, onInput: s };
}
});
-function Qv(e, n, r, o, t, i) {
+function ep(e, n, r, o, t, i) {
var a, l, s, u, d;
- return $(), ie(mn, Ee({
+ return $(), ie(fn, Ee({
modelValue: e.localValue,
"onUpdate:modelValue": n[0] || (n[0] = (c) => e.localValue = c),
type: e.inputHtmlType,
@@ -2129,55 +2129,14 @@ function Qv(e, n, r, o, t, i) {
onInput: e.onInput
}), null, 16, ["modelValue", "type", "inputmode", "label", "placeholder", "counter", "maxlength", "readonly", "onInput"]);
}
-const wr = /* @__PURE__ */ ne(Yv, [["render", Qv]]);
+const Dr = /* @__PURE__ */ ne(Qv, [["render", ep]]);
/**
- * @license @lucide/vue v1.28.0 - ISC
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const Co = (e) => e === "";
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const ep = (...e) => e.filter((n, r, o) => !!n && n.trim() !== "" && o.indexOf(n) === r).join(" ").trim();
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const Zo = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const tp = (e) => e.replace(
- /^([A-Z])|[\s-_]+(\w)/g,
- (n, r, o) => o ? o.toUpperCase() : r.toLowerCase()
-);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const np = (e) => {
- const n = tp(e);
- return n.charAt(0).toUpperCase() + n.slice(1);
-};
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-var ot = {
+const He = {
xmlns: "http://www.w3.org/2000/svg",
width: 24,
height: 24,
@@ -2189,310 +2148,485 @@ var ot = {
"stroke-linejoin": "round"
};
/**
- * @license @lucide/vue v1.28.0 - ISC
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const rp = /* @__PURE__ */ Symbol("lucide-icons");
-function ip() {
- return Rm(rp, {});
+const Mo = (...e) => e.filter((n, r, o) => !!n && n.trim() !== "" && o.indexOf(n) === r).join(" ").trim();
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+function mr(e) {
+ return e != null;
+}
+function tp(e, n = {}) {
+ var m, f;
+ const r = n.attributeNames ?? {}, o = (h) => r[h] ?? h, t = e.size ?? e.width ?? He.width, i = e.size ?? e.height ?? He.height, a = ((m = e.aliases) == null ? void 0 : m.filter((h) => typeof h == "string" && h.trim() !== "").map((h) => `lucide-${h}`)) ?? [], l = [...e.name ? [`lucide-${e.name}`] : [], ...a], s = ((f = n.className) == null ? void 0 : f.split(" ").filter(Boolean)) ?? [], u = n.includeDefaultClasses === !1 ? Mo(...s) : Mo("lucide", ...l, ...s), d = n.absoluteStrokeWidth ? Number(n.strokeWidth ?? He["stroke-width"]) * Number(e.size ?? e.width ?? He.width) / Number(n.size ?? n.width ?? He.width) : n.strokeWidth ?? He["stroke-width"];
+ return [
+ "svg",
+ {
+ ...Object.entries(He).reduce((h, [g, x]) => (h[o(g)] = x, h), {}),
+ ..."color" in n && n.color && {
+ [o("stroke")]: n.color
+ },
+ ..."size" in n && mr(n.size) && {
+ [o("width")]: n.size,
+ [o("height")]: n.size
+ },
+ ..."width" in n && mr(n.width) && {
+ [o("width")]: n.width
+ },
+ ..."height" in n && mr(n.height) && {
+ [o("height")]: n.height
+ },
+ [o("stroke-width")]: d,
+ ...u && {
+ [o("class")]: u
+ },
+ [o("viewBox")]: `0 0 ${t} ${i}`,
+ ...n.hasA11yProp === !1 ? {
+ [o("aria-hidden")]: "true"
+ } : {},
+ ..."attributes" in n && n.attributes
+ },
+ e.node.map((h) => {
+ const [g, x, O] = h, w = n.nonScalingStroke ? { [o("vector-effect")]: "non-scaling-stroke", ...x } : x;
+ return O ? [g, w, O] : [g, w];
+ })
+ ];
}
/**
- * @license @lucide/vue v1.28.0 - ISC
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const op = ({
+const np = (e) => {
+ for (const n in e)
+ if (n.startsWith("aria-") || n === "role" || n === "title")
+ return !0;
+ return !1;
+};
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const on = (e) => e === "";
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const rp = (e) => e == null ? void 0 : e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const ip = /* @__PURE__ */ Symbol("lucide-icons");
+function op() {
+ return Bm(ip, {});
+}
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const ap = ({
name: e,
iconNode: n,
"icon-node": r,
- absoluteStrokeWidth: o,
- "absolute-stroke-width": t,
- strokeWidth: i,
- "stroke-width": a,
- size: l,
- color: s,
- ...u
-}, { slots: d }) => {
+ icon: o = {
+ name: e && rp(e),
+ node: n ?? r ?? [],
+ size: 24,
+ aliases: []
+ },
+ absoluteStrokeWidth: t,
+ "absolute-stroke-width": i,
+ nonScalingStroke: a,
+ "non-scaling-stroke": l,
+ strokeWidth: s,
+ "stroke-width": u,
+ size: d,
+ width: c = d,
+ height: m = d,
+ color: f,
+ ...h
+}, { slots: g }) => {
+ var M;
const {
- size: c,
- color: m,
- strokeWidth: f = 2,
- absoluteStrokeWidth: h = !1,
- class: g = ""
- } = ip(), x = D(() => {
- const j = Co(o) || Co(t) || o === !0 || t === !0 || h === !0, w = i || a || f || ot["stroke-width"];
- return j ? Number(w) * 24 / Number(l ?? c ?? ot.width) : w;
+ size: x,
+ color: O,
+ strokeWidth: w = 2,
+ absoluteStrokeWidth: C = !1,
+ nonScalingStroke: P = !1,
+ class: Z = ""
+ } = op(), b = on(t) || on(i) || t === !0 || i === !0 || C === !0, _ = on(a) || on(l) || a === !0 || l === !0 || P === !0;
+ delete h.class;
+ const S = (M = g.default) == null ? void 0 : M.call(g), [, B, z = []] = tp(o, {
+ color: f ?? O,
+ width: c ?? d ?? x,
+ height: m ?? d ?? x,
+ strokeWidth: s ?? u ?? w,
+ absoluteStrokeWidth: b,
+ nonScalingStroke: _,
+ className: Z,
+ hasA11yProp: S != null && S.length > 0 || np(h),
+ attributes: h
});
- return mr(
- "svg",
- {
- ...ot,
- ...u,
- width: l ?? c ?? ot.width,
- height: l ?? c ?? ot.height,
- stroke: s ?? m ?? ot.stroke,
- "stroke-width": x.value,
- class: ep(
- "lucide",
- g,
- ...e ? [`lucide-${Zo(np(e))}-icon`, `lucide-${Zo(e)}`] : ["lucide-icon"]
- )
- },
- [
- ...(n ?? r ?? []).map((j) => mr(...j)),
- ...d.default ? [d.default()] : []
- ]
- );
+ return vr("svg", B, [
+ ...z.map(([he, De]) => vr(he, De)),
+ ...S ?? []
+ ]);
};
/**
- * @license @lucide/vue v1.28.0 - ISC
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const he = (e, n) => (r, { slots: o, attrs: t }) => mr(
- op,
- {
- ...t,
- ...r,
- iconNode: n,
- name: e
- },
- o.default ? { default: o.default } : void 0
-);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const ap = [
- ["path", { d: "M12 5v14", key: "s699le" }],
- ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
-], Mo = he("arrow-down", ap);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const lp = [
- ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
- ["path", { d: "M12 19V5", key: "x0mq9r" }]
-], Fo = he("arrow-up", lp);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const up = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], sp = he("check", up);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const cp = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Lo = he("chevron-down", cp);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const dp = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Ro = he("chevron-right", dp);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const mp = [
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
- ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
- ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
-], fp = he("circle-alert", mp);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const vp = [
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
- ["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
- ["path", { d: "M12 17h.01", key: "p32p05" }]
-], pp = he("circle-question-mark", vp);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const gp = [
- ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
- ["path", { d: "M12 3v18", key: "108xh3" }]
-], hp = he("columns-2", gp);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const $p = [
- ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
- ["path", { d: "M9 3v18", key: "fh3hqa" }],
- ["path", { d: "M15 3v18", key: "14nvp0" }]
-], bp = he("columns-3", $p);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const _p = [
- ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
- ["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
- ["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
-], yp = he("ellipsis-vertical", _p);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const kp = [
- [
- "path",
+function be(e, n = []) {
+ const r = typeof e == "string" ? {
+ name: e,
+ node: n
+ } : e;
+ return (o, { slots: t }) => vr(
+ ap,
{
- d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
- key: "ct8e1f"
- }
- ],
- ["path", { d: "M14.084 14.158a3 3 0 0 1-4.242-4.242", key: "151rxh" }],
- [
- "path",
- {
- d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",
- key: "13bj9a"
- }
- ],
- ["path", { d: "m2 2 20 20", key: "1ooewy" }]
-], Sp = he("eye-off", kp);
+ ...o,
+ icon: r
+ },
+ t.default ? { default: t.default } : void 0
+ );
+}
/**
- * @license @lucide/vue v1.28.0 - ISC
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const Ip = [
- [
- "path",
- {
- d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
- key: "1nclc0"
- }
- ],
- ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
-], wp = he("eye", Ip);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const zp = [
- [
- "path",
- {
- d: "M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",
- key: "sc7q7i"
- }
+const lp = {
+ name: "arrow-down",
+ size: 24,
+ node: [
+ ["path", { d: "M12 5v14", key: "s699le" }],
+ ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
]
-], Na = he("funnel", zp);
+}, Fo = be(lp);
/**
- * @license @lucide/vue v1.28.0 - ISC
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const Dp = [
- ["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
- ["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
- ["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
- ["circle", { cx: "15", cy: "12", r: "1", key: "1tmaij" }],
- ["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
- ["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
-], Op = he("grip-vertical", Dp);
-/**
- * @license @lucide/vue v1.28.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const jp = [
- ["polyline", { points: "22 12 16 12 14 15 10 15 8 12 2 12", key: "o97t9d" }],
- [
- "path",
- {
- d: "M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",
- key: "oot6mr"
- }
+const up = {
+ name: "arrow-up",
+ size: 24,
+ node: [
+ ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
+ ["path", { d: "M12 19V5", key: "x0mq9r" }]
]
-], Ep = he("inbox", jp);
+}, Lo = be(up);
/**
- * @license @lucide/vue v1.28.0 - ISC
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const Up = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], xp = he("loader-circle", Up);
+const sp = {
+ name: "check",
+ size: 24,
+ node: [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]
+}, cp = be(sp);
/**
- * @license @lucide/vue v1.28.0 - ISC
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const Tp = [
- ["path", { d: "M5 12h14", key: "1ays0h" }],
- ["path", { d: "M12 5v14", key: "s699le" }]
-], Ap = he("plus", Tp);
+const dp = {
+ name: "chevron-down",
+ size: 24,
+ node: [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]]
+}, Ro = be(dp);
/**
- * @license @lucide/vue v1.28.0 - ISC
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const Np = [
- ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
- ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
-], Pp = he("search", Np);
+const mp = {
+ name: "chevron-right",
+ size: 24,
+ node: [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]]
+}, Bo = be(mp);
/**
- * @license @lucide/vue v1.28.0 - ISC
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const Cp = [
- ["path", { d: "M10 11v6", key: "nco0om" }],
- ["path", { d: "M14 11v6", key: "outv1u" }],
- ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
- ["path", { d: "M3 6h18", key: "d0wm0j" }],
- ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
-], Zp = he("trash-2", Cp);
+const fp = {
+ name: "circle-alert",
+ size: 24,
+ node: [
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
+ ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
+ ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
+ ],
+ aliases: ["alert-circle"]
+}, vp = be(fp);
/**
- * @license @lucide/vue v1.28.0 - ISC
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const Mp = [
- ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
- ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
-], Pa = he("x", Mp), Fp = te({
+const pp = {
+ name: "circle-question-mark",
+ size: 24,
+ node: [
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
+ ["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
+ ["path", { d: "M12 17h.01", key: "p32p05" }]
+ ],
+ aliases: ["help-circle", "circle-help"]
+}, gp = be(pp);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const hp = {
+ name: "columns-2",
+ size: 24,
+ node: [
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
+ ["path", { d: "M12 3v18", key: "108xh3" }]
+ ],
+ aliases: ["columns"]
+}, bp = be(hp);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const $p = {
+ name: "columns-3",
+ size: 24,
+ node: [
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
+ ["path", { d: "M9 3v18", key: "fh3hqa" }],
+ ["path", { d: "M15 3v18", key: "14nvp0" }]
+ ],
+ aliases: ["panels-left-right"]
+}, _p = be($p);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const yp = {
+ name: "ellipsis-vertical",
+ size: 24,
+ node: [
+ ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
+ ["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
+ ["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
+ ],
+ aliases: ["more-vertical"]
+}, kp = be(yp);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const Sp = {
+ name: "eye-off",
+ size: 24,
+ node: [
+ [
+ "path",
+ {
+ d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
+ key: "ct8e1f"
+ }
+ ],
+ ["path", { d: "M14.084 14.158a3 3 0 0 1-4.242-4.242", key: "151rxh" }],
+ [
+ "path",
+ {
+ d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",
+ key: "13bj9a"
+ }
+ ],
+ ["path", { d: "m2 2 20 20", key: "1ooewy" }]
+ ]
+}, Ip = be(Sp);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const wp = {
+ name: "eye",
+ size: 24,
+ node: [
+ [
+ "path",
+ {
+ d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
+ key: "1nclc0"
+ }
+ ],
+ ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
+ ]
+}, zp = be(wp);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const Dp = {
+ name: "funnel",
+ size: 24,
+ node: [
+ [
+ "path",
+ {
+ d: "M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",
+ key: "sc7q7i"
+ }
+ ]
+ ],
+ aliases: ["filter"]
+}, Pa = be(Dp);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const Op = {
+ name: "grip-vertical",
+ size: 24,
+ node: [
+ ["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
+ ["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
+ ["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
+ ["circle", { cx: "15", cy: "12", r: "1", key: "1tmaij" }],
+ ["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
+ ["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
+ ]
+}, jp = be(Op);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const Ep = {
+ name: "inbox",
+ size: 24,
+ node: [
+ ["polyline", { points: "22 12 16 12 14 15 10 15 8 12 2 12", key: "o97t9d" }],
+ [
+ "path",
+ {
+ d: "M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",
+ key: "oot6mr"
+ }
+ ]
+ ]
+}, Up = be(Ep);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const xp = {
+ name: "loader-circle",
+ size: 24,
+ node: [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]],
+ aliases: ["loader-2"]
+}, Tp = be(xp);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const Ap = {
+ name: "plus",
+ size: 24,
+ node: [
+ ["path", { d: "M5 12h14", key: "1ays0h" }],
+ ["path", { d: "M12 5v14", key: "s699le" }]
+ ]
+}, Np = be(Ap);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const Pp = {
+ name: "search",
+ size: 24,
+ node: [
+ ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
+ ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
+ ]
+}, Cp = be(Pp);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const Zp = {
+ name: "trash",
+ size: 24,
+ node: [
+ ["path", { d: "M10 11v6", key: "nco0om" }],
+ ["path", { d: "M14 11v6", key: "outv1u" }],
+ ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
+ ["path", { d: "M3 6h18", key: "d0wm0j" }],
+ ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
+ ],
+ aliases: ["trash-2"]
+}, Mp = be(Zp);
+/**
+ * @license @lucide/vue v1.48.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */
+const Fp = {
+ name: "x",
+ size: 24,
+ node: [
+ ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
+ ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
+ ]
+}, Ca = be(Fp), Lp = te({
name: "EliTabelaCelulaComponente",
props: {
dados: {
@@ -2501,7 +2635,7 @@ const Mp = [
},
setup(e) {
const n = L(void 0);
- return nt(async () => {
+ return rt(async () => {
var o;
if (!((o = e.dados) != null && o.props)) return;
const r = e.dados.props();
@@ -2509,17 +2643,17 @@ const Mp = [
}), { propsResolvidas: n };
}
});
-function Lp(e, n, r, o, t, i) {
+function Rp(e, n, r, o, t, i) {
var a;
- return e.propsResolvidas ? ($(), ie(Ve((a = e.dados) == null ? void 0 : a.componente), Bm(Ee({ key: 0 }, e.propsResolvidas)), null, 16)) : K("", !0);
+ return e.propsResolvidas ? ($(), ie(Ve((a = e.dados) == null ? void 0 : a.componente), Vm(Ee({ key: 0 }, e.propsResolvidas)), null, 16)) : K("", !0);
}
-const Rp = /* @__PURE__ */ ne(Fp, [["render", Lp]]);
-var cn = { exports: {} }, Bp = cn.exports, Bo;
-function Vp() {
- return Bo || (Bo = 1, (function(e, n) {
+const Bp = /* @__PURE__ */ ne(Lp, [["render", Rp]]);
+var dn = { exports: {} }, Vp = dn.exports, Vo;
+function Jp() {
+ return Vo || (Vo = 1, (function(e, n) {
(function(r, o) {
e.exports = o();
- })(Bp, (function() {
+ })(Vp, (function() {
return function(r, o, t) {
r = r || {};
var i = o.prototype, a = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
@@ -2527,20 +2661,20 @@ function Vp() {
return i.fromToBase(u, d, c, m);
}
t.en.relativeTime = a, i.fromToBase = function(u, d, c, m, f) {
- for (var h, g, x, j = c.$locale().relativeTime || a, w = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], C = w.length, P = 0; P < C; P += 1) {
+ for (var h, g, x, O = c.$locale().relativeTime || a, w = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], C = w.length, P = 0; P < C; P += 1) {
var Z = w[P];
Z.d && (h = m ? t(u).diff(c, Z.d, !0) : c.diff(u, Z.d, !0));
var b = (r.rounding || Math.round)(Math.abs(h));
if (x = h > 0, b <= Z.r || !Z.r) {
b <= 1 && P > 0 && (Z = w[P - 1]);
- var _ = j[Z.l];
+ var _ = O[Z.l];
f && (b = f("" + b)), g = typeof _ == "string" ? _.replace("%d", b) : _(b, d, Z.l, x);
break;
}
}
if (d) return g;
- var I = x ? j.future : j.past;
- return typeof I == "function" ? I(g) : I.replace("%s", g);
+ var S = x ? O.future : O.past;
+ return typeof S == "function" ? S(g) : S.replace("%s", g);
}, i.to = function(u, d) {
return l(u, d, this, !0);
}, i.from = function(u, d) {
@@ -2556,12 +2690,12 @@ function Vp() {
};
};
}));
- })(cn)), cn.exports;
+ })(dn)), dn.exports;
}
-var Jp = Vp();
-const qp = /* @__PURE__ */ za(Jp);
-be.extend(qp);
-be.locale("pt-br");
+var qp = Jp();
+const Wp = /* @__PURE__ */ Da(qp);
+_e.extend(Wp);
+_e.locale("pt-br");
const Gp = te({
name: "EliTabelaCelulaData",
props: {
@@ -2576,20 +2710,20 @@ const Gp = te({
const r = (t = e.dados) == null ? void 0 : t.valor;
if (!r) return "";
const o = ((i = e.dados) == null ? void 0 : i.formato) ?? "data";
- return o === "relativo" ? be(r).fromNow() : o === "data_hora" ? be(r).format("DD/MM/YYYY HH:mm") : be(r).format("DD/MM/YYYY");
+ return o === "relativo" ? _e(r).fromNow() : o === "data_hora" ? _e(r).format("DD/MM/YYYY HH:mm") : _e(r).format("DD/MM/YYYY");
}) };
}
-}), Wp = { key: 1 };
-function Kp(e, n, r, o, t, i) {
+}), Kp = { key: 1 };
+function Xp(e, n, r, o, t, i) {
var a;
return (a = e.dados) != null && a.acao ? ($(), k("button", {
key: 0,
type: "button",
class: "eli-tabela__celula-link",
onClick: n[0] || (n[0] = me((l) => e.dados.acao(), ["stop", "prevent"]))
- }, V(e.textoData), 1)) : ($(), k("span", Wp, V(e.textoData), 1));
+ }, J(e.textoData), 1)) : ($(), k("span", Kp, J(e.textoData), 1));
}
-const Xp = /* @__PURE__ */ ne(Gp, [["render", Kp]]), Hp = te({
+const Hp = /* @__PURE__ */ ne(Gp, [["render", Xp]]), Yp = te({
name: "EliTabelaCelulaNumero",
components: {},
props: {
@@ -2604,30 +2738,30 @@ const Xp = /* @__PURE__ */ ne(Gp, [["render", Kp]]), Hp = te({
return `${i}${r}${a}`;
}) };
}
-}), Yp = { key: 1 };
-function Qp(e, n, r, o, t, i) {
+}), Qp = { key: 1 };
+function eg(e, n, r, o, t, i) {
var a;
return (a = e.dados) != null && a.acao ? ($(), k("button", {
key: 0,
type: "button",
class: "eli-tabela__celula-link",
onClick: n[0] || (n[0] = me((l) => e.dados.acao(), ["stop", "prevent"]))
- }, V(e.textoNumero), 1)) : ($(), k("span", Yp, V(e.textoNumero), 1));
+ }, J(e.textoNumero), 1)) : ($(), k("span", Qp, J(e.textoNumero), 1));
}
-const eg = /* @__PURE__ */ ne(Hp, [["render", Qp]]), tg = te({
+const tg = /* @__PURE__ */ ne(Yp, [["render", eg]]), ng = te({
name: "EliTabelaCelulaTags",
- components: { VChip: Wm },
+ components: { VChip: Km },
props: {
dados: {
type: Object,
required: !1
}
}
-}), ng = { class: "eli-tabela__celula-tags" };
-function rg(e, n, r, o, t, i) {
+}), rg = { class: "eli-tabela__celula-tags" };
+function ig(e, n, r, o, t, i) {
var a;
- return $(), k("div", ng, [
- ($(!0), k(ge, null, $e(((a = e.dados) == null ? void 0 : a.opcoes) ?? [], (l, s) => ($(), ie(Hm, {
+ return $(), k("div", rg, [
+ ($(!0), k(ge, null, $e(((a = e.dados) == null ? void 0 : a.opcoes) ?? [], (l, s) => ($(), ie(Ym, {
key: s,
class: "eli-tabela__celula-tag",
size: "small",
@@ -2645,13 +2779,13 @@ function rg(e, n, r, o, t, i) {
class: "eli-tabela__celula-tag-icone",
size: 14
})) : K("", !0),
- p("span", null, V(l.rotulo), 1)
+ p("span", null, J(l.rotulo), 1)
]),
_: 2
}, 1032, ["color", "clickable", "onClick"]))), 128))
]);
}
-const ig = /* @__PURE__ */ ne(tg, [["render", rg]]), og = te({
+const og = /* @__PURE__ */ ne(ng, [["render", ig]]), ag = te({
name: "EliTabelaCelulaTextoSimples",
components: {},
props: {
@@ -2663,25 +2797,25 @@ const ig = /* @__PURE__ */ ne(tg, [["render", rg]]), og = te({
return {};
},
methods: {}
-}), ag = { key: 1 };
-function lg(e, n, r, o, t, i) {
+}), lg = { key: 1 };
+function ug(e, n, r, o, t, i) {
var a, l, s;
return (a = e.dados) != null && a.acao ? ($(), k("button", {
key: 0,
type: "button",
class: "eli-tabela__celula-link",
onClick: n[0] || (n[0] = me((u) => e.dados.acao(), ["stop", "prevent"]))
- }, V((l = e.dados) == null ? void 0 : l.texto), 1)) : ($(), k("span", ag, V((s = e.dados) == null ? void 0 : s.texto), 1));
+ }, J((l = e.dados) == null ? void 0 : l.texto), 1)) : ($(), k("span", lg, J((s = e.dados) == null ? void 0 : s.texto), 1));
}
-const ug = /* @__PURE__ */ ne(og, [["render", lg]]), sg = te({
+const sg = /* @__PURE__ */ ne(ag, [["render", ug]]), cg = te({
name: "EliTabelaCelulaTextoTruncado",
props: {
dados: {
type: Object
}
}
-}), cg = ["title"], dg = ["title"];
-function mg(e, n, r, o, t, i) {
+}), dg = ["title"], mg = ["title"];
+function fg(e, n, r, o, t, i) {
var a, l, s, u, d;
return (a = e.dados) != null && a.acao ? ($(), k("button", {
key: 0,
@@ -2692,20 +2826,20 @@ function mg(e, n, r, o, t, i) {
var m, f;
return (f = (m = e.dados) == null ? void 0 : m.acao) == null ? void 0 : f.call(m);
}, ["stop", "prevent"]))
- }, V((s = e.dados) == null ? void 0 : s.texto), 9, cg)) : ($(), k("span", {
+ }, J((s = e.dados) == null ? void 0 : s.texto), 9, dg)) : ($(), k("span", {
key: 1,
class: "eli-tabela__texto-truncado",
title: (u = e.dados) == null ? void 0 : u.texto
- }, V((d = e.dados) == null ? void 0 : d.texto), 9, dg));
+ }, J((d = e.dados) == null ? void 0 : d.texto), 9, mg));
}
-const fg = /* @__PURE__ */ ne(sg, [["render", mg]]), vg = {
- textoSimples: ug,
- textoTruncado: fg,
- numero: eg,
- tags: ig,
- data: Xp,
- componente: Rp
-}, pg = te({
+const vg = /* @__PURE__ */ ne(cg, [["render", fg]]), pg = {
+ textoSimples: sg,
+ textoTruncado: vg,
+ numero: tg,
+ tags: og,
+ data: Hp,
+ componente: Bp
+}, gg = te({
name: "EliTabelaCelula",
props: {
celula: {
@@ -2715,16 +2849,16 @@ const fg = /* @__PURE__ */ ne(sg, [["render", mg]]), vg = {
}
},
setup(e) {
- const n = D(() => e.celula[0]), r = D(() => e.celula[1]), o = D(() => vg[n.value]), t = D(() => r.value);
+ const n = D(() => e.celula[0]), r = D(() => e.celula[1]), o = D(() => pg[n.value]), t = D(() => r.value);
return { Componente: o, dadosParaComponente: t };
}
});
-function gg(e, n, r, o, t, i) {
+function hg(e, n, r, o, t, i) {
return $(), ie(Ve(e.Componente), { dados: e.dadosParaComponente }, null, 8, ["dados"]);
}
-const Ca = /* @__PURE__ */ ne(pg, [["render", gg]]), hg = te({
+const Za = /* @__PURE__ */ ne(gg, [["render", hg]]), bg = te({
name: "EliTabelaDetalhesLinha",
- components: { EliTabelaCelula: Ca },
+ components: { EliTabelaCelula: Za },
props: {
linha: {
type: [Object, String, Number, Array],
@@ -2736,16 +2870,16 @@ const Ca = /* @__PURE__ */ ne(pg, [["render", gg]]), hg = te({
required: !0
}
}
-}), $g = { class: "eli-tabela__detalhes" }, bg = { class: "eli-tabela__detalhe-rotulo" }, _g = { class: "eli-tabela__detalhe-valor" };
-function yg(e, n, r, o, t, i) {
+}), $g = { class: "eli-tabela__detalhes" }, _g = { class: "eli-tabela__detalhe-rotulo" }, yg = { class: "eli-tabela__detalhe-valor" };
+function kg(e, n, r, o, t, i) {
const a = Q("EliTabelaCelula");
return $(), k("div", $g, [
($(!0), k(ge, null, $e(e.colunasInvisiveis, (l, s) => ($(), k("div", {
key: `det-${s}-${l.rotulo}`,
class: "eli-tabela__detalhe"
}, [
- p("div", bg, V(l.rotulo), 1),
- p("div", _g, [
+ p("div", _g, J(l.rotulo), 1),
+ p("div", yg, [
F(a, {
celula: l.celula(e.linha)
}, null, 8, ["celula"])
@@ -2753,14 +2887,14 @@ function yg(e, n, r, o, t, i) {
]))), 128))
]);
}
-const kg = /* @__PURE__ */ ne(hg, [["render", yg]]), Sg = te({
+const Sg = /* @__PURE__ */ ne(bg, [["render", kg]]), Ig = te({
name: "EliTabelaBody",
components: {
- EliTabelaCelula: Ca,
- EliTabelaDetalhesLinha: kg,
- MoreVertical: yp,
- ChevronRight: Ro,
- ChevronDown: Lo
+ EliTabelaCelula: Za,
+ EliTabelaDetalhesLinha: Sg,
+ MoreVertical: kp,
+ ChevronRight: Bo,
+ ChevronDown: Ro
},
props: {
colunas: {
@@ -2820,14 +2954,14 @@ const kg = /* @__PURE__ */ ne(hg, [["render", yg]]), Sg = te({
},
setup() {
return {
- ChevronRight: Ro,
- ChevronDown: Lo
+ ChevronRight: Bo,
+ ChevronDown: Ro
};
}
-}), Ig = { class: "eli-tabela__tbody" }, wg = ["aria-expanded", "aria-label", "title", "onClick"], zg = ["checked", "onChange"], Dg = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label", "title", "onClick"], Og = ["colspan"];
-function jg(e, n, r, o, t, i) {
+}), wg = { class: "eli-tabela__tbody" }, zg = ["aria-expanded", "aria-label", "title", "onClick"], Dg = ["checked", "onChange"], Og = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label", "title", "onClick"], jg = ["colspan"];
+function Eg(e, n, r, o, t, i) {
const a = Q("EliTabelaCelula"), l = Q("MoreVertical"), s = Q("EliTabelaDetalhesLinha");
- return $(), k("tbody", Ig, [
+ return $(), k("tbody", wg, [
($(!0), k(ge, null, $e(e.linhas, (u, d) => {
var c, m, f, h, g, x;
return $(), k(ge, {
@@ -2846,7 +2980,7 @@ function jg(e, n, r, o, t, i) {
"aria-expanded": (m = e.linhasExpandidas) != null && m[d] ? "true" : "false",
"aria-label": (f = e.linhasExpandidas) != null && f[d] ? "Ocultar colunas ocultas" : "Mostrar colunas ocultas",
title: (h = e.linhasExpandidas) != null && h[d] ? "Ocultar detalhes" : "Mostrar detalhes",
- onClick: me((j) => e.alternarLinhaExpandida(d), ["stop"])
+ onClick: me((O) => e.alternarLinhaExpandida(d), ["stop"])
}, [
($(), ie(Ve((g = e.linhasExpandidas) != null && g[d] ? e.ChevronDown : e.ChevronRight), {
class: "eli-tabela__expander-icone",
@@ -2854,7 +2988,7 @@ function jg(e, n, r, o, t, i) {
"stroke-width": 2,
"aria-hidden": "true"
}))
- ], 10, wg)
+ ], 10, zg)
])) : K("", !0),
e.mostrarSelecao ? ($(), k("td", {
class: "eli-tabela__td eli-tabela__td--selecao",
@@ -2864,18 +2998,18 @@ function jg(e, n, r, o, t, i) {
type: "checkbox",
class: "eli-tabela__checkbox",
checked: e.isSelecionado(u),
- onChange: (j) => e.alternarSelecao(u),
+ onChange: (O) => e.alternarSelecao(u),
onClick: n[0] || (n[0] = me(() => {
}, ["stop"])),
"aria-label": "Selecionar linha"
- }, null, 40, zg)
+ }, null, 40, Dg)
])) : K("", !0),
- ($(!0), k(ge, null, $e(e.colunas, (j, w) => ($(), k("td", {
+ ($(!0), k(ge, null, $e(e.colunas, (O, w) => ($(), k("td", {
key: `td-${d}-${w}`,
class: "eli-tabela__td"
}, [
F(a, {
- celula: j.celula(u)
+ celula: O.celula(u)
}, null, 8, ["celula"])
]))), 128)),
e.temAcoes ? ($(), k("td", {
@@ -2895,14 +3029,14 @@ function jg(e, n, r, o, t, i) {
"aria-controls": e.possuiAcoes(d) ? `eli-tabela-acoes-menu-${d}` : void 0,
"aria-label": e.possuiAcoes(d) ? "Ações da linha" : "Nenhuma ação disponível",
title: e.possuiAcoes(d) ? "Ações" : "Nenhuma ação disponível",
- onClick: me((j) => e.toggleMenu(d, j), ["stop"])
+ onClick: me((O) => e.toggleMenu(d, O), ["stop"])
}, [
F(l, {
class: "eli-tabela__acoes-toggle-icone",
size: 18,
"stroke-width": 2
})
- ], 8, Dg)
+ ], 8, Og)
], 2)
])) : K("", !0)
], 2),
@@ -2918,15 +3052,15 @@ function jg(e, n, r, o, t, i) {
linha: u,
colunasInvisiveis: e.colunasInvisiveis
}, null, 8, ["linha", "colunasInvisiveis"])
- ], 8, Og)
+ ], 8, jg)
], 2)) : K("", !0)
], 64);
}), 128))
]);
}
-const Eg = /* @__PURE__ */ ne(Sg, [["render", jg]]), Ug = te({
+const Ug = /* @__PURE__ */ ne(Ig, [["render", Eg]]), xg = te({
name: "EliTabelaCaixaDeBusca",
- components: { Search: Pp },
+ components: { Search: Cp },
props: {
modelo: {
type: String,
@@ -2952,12 +3086,12 @@ const Eg = /* @__PURE__ */ ne(Sg, [["render", jg]]), Ug = te({
}
return { texto: r, emitirBusca: o };
}
-}), xg = { class: "eli-tabela__busca" }, Tg = { class: "eli-tabela__busca-input-wrapper" };
-function Ag(e, n, r, o, t, i) {
+}), Tg = { class: "eli-tabela__busca" }, Ag = { class: "eli-tabela__busca-input-wrapper" };
+function Ng(e, n, r, o, t, i) {
const a = Q("Search");
- return $(), k("div", xg, [
- p("div", Tg, [
- dn(p("input", {
+ return $(), k("div", Tg, [
+ p("div", Ag, [
+ mn(p("input", {
id: "eli-tabela-busca",
"onUpdate:modelValue": n[0] || (n[0] = (l) => e.texto = l),
type: "search",
@@ -2965,7 +3099,7 @@ function Ag(e, n, r, o, t, i) {
placeholder: "Digite termos para filtrar",
onKeyup: n[1] || (n[1] = It((...l) => e.emitirBusca && e.emitirBusca(...l), ["enter"]))
}, null, 544), [
- [kr, e.texto]
+ [Ir, e.texto]
]),
p("button", {
type: "button",
@@ -2984,9 +3118,9 @@ function Ag(e, n, r, o, t, i) {
])
]);
}
-const Ng = /* @__PURE__ */ ne(Ug, [["render", Ag]]), Pg = te({
+const Pg = /* @__PURE__ */ ne(xg, [["render", Ng]]), Cg = te({
name: "EliTabelaCabecalho",
- components: { Columns3: bp, EliTabelaCaixaDeBusca: Ng, Filter: Na },
+ components: { Columns3: _p, EliTabelaCaixaDeBusca: Pg, Filter: Pa },
props: {
exibirBusca: {
type: Boolean,
@@ -3050,20 +3184,20 @@ ${s.map((u) => `• ${u}`).join(`
}
return { temAcoesCabecalho: r, tooltipFiltro: o, emitBuscar: t, emitColunas: i, emitFiltroAvancado: a };
}
-}), Cg = { class: "eli-tabela__cabecalho" }, Zg = {
+}), Zg = { class: "eli-tabela__cabecalho" }, Mg = {
key: 0,
class: "eli-tabela__busca-grupo"
-}, Mg = ["title"], Fg = { class: "eli-tabela__filtro-icone-container" }, Lg = {
+}, Fg = ["title"], Lg = { class: "eli-tabela__filtro-icone-container" }, Rg = {
key: 0,
class: "eli-tabela__filtro-badge"
-}, Rg = {
+}, Bg = {
key: 1,
class: "eli-tabela__acoes-cabecalho"
-}, Bg = ["onClick"], Vg = { class: "eli-tabela__acoes-cabecalho-rotulo" };
-function Jg(e, n, r, o, t, i) {
+}, Vg = ["onClick"], Jg = { class: "eli-tabela__acoes-cabecalho-rotulo" };
+function qg(e, n, r, o, t, i) {
const a = Q("Columns3"), l = Q("Filter"), s = Q("EliTabelaCaixaDeBusca");
- return $(), k("div", Cg, [
- e.exibirBusca ? ($(), k("div", Zg, [
+ return $(), k("div", Zg, [
+ e.exibirBusca ? ($(), k("div", Mg, [
e.exibirBotaoColunas ? ($(), k("button", {
key: 0,
type: "button",
@@ -3083,21 +3217,21 @@ function Jg(e, n, r, o, t, i) {
title: e.tooltipFiltro,
onClick: n[1] || (n[1] = (...u) => e.emitFiltroAvancado && e.emitFiltroAvancado(...u))
}, [
- p("span", Fg, [
+ p("span", Lg, [
F(l, {
size: 15,
"stroke-width": 2
}),
- e.filtrosAtivosResumo.quantidade > 0 ? ($(), k("span", Lg, V(e.filtrosAtivosResumo.quantidade), 1)) : K("", !0)
+ e.filtrosAtivosResumo.quantidade > 0 ? ($(), k("span", Rg, J(e.filtrosAtivosResumo.quantidade), 1)) : K("", !0)
]),
n[3] || (n[3] = ae(" Filtro ", -1))
- ], 8, Mg)) : K("", !0),
+ ], 8, Fg)) : K("", !0),
F(s, {
modelo: e.valorBusca,
onBuscar: e.emitBuscar
}, null, 8, ["modelo", "onBuscar"])
])) : K("", !0),
- e.temAcoesCabecalho ? ($(), k("div", Rg, [
+ e.temAcoesCabecalho ? ($(), k("div", Bg, [
($(!0), k(ge, null, $e(e.acoesCabecalho, (u, d) => ($(), k("button", {
key: `${u.rotulo}-${d}`,
type: "button",
@@ -3111,14 +3245,14 @@ function Jg(e, n, r, o, t, i) {
size: 16,
"stroke-width": 2
})) : K("", !0),
- p("span", Vg, V(u.rotulo), 1)
- ], 12, Bg))), 128))
+ p("span", Jg, J(u.rotulo), 1)
+ ], 12, Vg))), 128))
])) : K("", !0)
]);
}
-const qg = /* @__PURE__ */ ne(Pg, [["render", Jg]]), Gg = te({
+const Wg = /* @__PURE__ */ ne(Cg, [["render", qg]]), Gg = te({
name: "EliTabelaEstados",
- components: { AlertCircle: fp, Inbox: Ep, LoaderCircle: xp },
+ components: { AlertCircle: vp, Inbox: Up, LoaderCircle: Tp },
props: {
carregando: {
type: Boolean,
@@ -3134,28 +3268,28 @@ const qg = /* @__PURE__ */ ne(Pg, [["render", Jg]]), Gg = te({
default: void 0
}
}
-}), Wg = {
+}), Kg = {
key: 0,
class: "eli-tabela eli-tabela--carregando",
"aria-busy": "true"
-}, Kg = {
+}, Xg = {
key: 1,
class: "eli-tabela eli-tabela--erro",
role: "alert"
-}, Xg = { class: "eli-tabela__erro-mensagem" }, Hg = {
+}, Hg = { class: "eli-tabela__erro-mensagem" }, Yg = {
key: 2,
class: "eli-tabela eli-tabela--vazio"
};
-function Yg(e, n, r, o, t, i) {
+function Qg(e, n, r, o, t, i) {
const a = Q("LoaderCircle"), l = Q("AlertCircle"), s = Q("Inbox");
- return e.carregando ? ($(), k("div", Wg, [
+ return e.carregando ? ($(), k("div", Kg, [
F(a, {
class: "eli-tabela__estado-icone eli-tabela__estado-icone--spin",
size: 22,
"stroke-width": 2
}),
n[0] || (n[0] = p("span", null, "Carregando…", -1))
- ])) : e.erro ? ($(), k("div", Kg, [
+ ])) : e.erro ? ($(), k("div", Xg, [
F(l, {
class: "eli-tabela__estado-icone eli-tabela__estado-icone--erro",
size: 18,
@@ -3163,20 +3297,20 @@ function Yg(e, n, r, o, t, i) {
}),
p("div", null, [
n[1] || (n[1] = p("div", { class: "eli-tabela__erro-titulo" }, "Erro", -1)),
- p("div", Xg, V(e.erro), 1)
+ p("div", Hg, J(e.erro), 1)
])
- ])) : ($(), k("div", Hg, [
+ ])) : ($(), k("div", Yg, [
F(s, {
class: "eli-tabela__estado-icone",
size: 22,
"stroke-width": 1.5
}),
- p("span", null, V(e.mensagemVazio ?? "Nenhum registro encontrado."), 1)
+ p("span", null, J(e.mensagemVazio ?? "Nenhum registro encontrado."), 1)
]));
}
-const Qg = /* @__PURE__ */ ne(Gg, [["render", Yg]]), eh = te({
+const eh = /* @__PURE__ */ ne(Gg, [["render", Qg]]), th = te({
name: "EliTabelaHead",
- components: { ArrowUp: Fo, ArrowDown: Mo },
+ components: { ArrowUp: Lo, ArrowDown: Fo },
props: {
colunas: {
// biome-ignore lint/suspicious/noExplicitAny: dynamic column
@@ -3226,34 +3360,34 @@ const Qg = /* @__PURE__ */ ne(Gg, [["render", Yg]]), eh = te({
n("alternarOrdenacao", t);
}
return {
- ArrowUp: Fo,
- ArrowDown: Mo,
+ ArrowUp: Lo,
+ ArrowDown: Fo,
isOrdenavel: r,
emitAlternarOrdenacao: o
};
}
-}), th = { class: "eli-tabela__thead" }, nh = { class: "eli-tabela__tr eli-tabela__tr--header" }, rh = {
+}), nh = { class: "eli-tabela__thead" }, rh = { class: "eli-tabela__tr eli-tabela__tr--header" }, ih = {
key: 0,
class: "eli-tabela__th eli-tabela__th--expander",
scope: "col"
-}, ih = {
+}, oh = {
key: 1,
class: "eli-tabela__th eli-tabela__th--selecao",
scope: "col"
-}, oh = ["checked", "indeterminate"], ah = ["onClick"], lh = { class: "eli-tabela__th-texto" }, uh = {
+}, ah = ["checked", "indeterminate"], lh = ["onClick"], uh = { class: "eli-tabela__th-texto" }, sh = {
key: 1,
class: "eli-tabela__th-label"
-}, sh = {
+}, ch = {
key: 2,
class: "eli-tabela__th eli-tabela__th--acoes",
scope: "col"
};
-function ch(e, n, r, o, t, i) {
+function dh(e, n, r, o, t, i) {
const a = Q("ArrowUp");
- return $(), k("thead", th, [
- p("tr", nh, [
- e.temColunasInvisiveis ? ($(), k("th", rh)) : K("", !0),
- e.mostrarSelecao ? ($(), k("th", ih, [
+ return $(), k("thead", nh, [
+ p("tr", rh, [
+ e.temColunasInvisiveis ? ($(), k("th", ih)) : K("", !0),
+ e.mostrarSelecao ? ($(), k("th", oh, [
p("input", {
type: "checkbox",
class: "eli-tabela__checkbox",
@@ -3261,7 +3395,7 @@ function ch(e, n, r, o, t, i) {
indeterminate: e.algunsSelecionados,
onChange: n[0] || (n[0] = (l) => e.$emit("alternar-selecao-todos")),
"aria-label": "Selecionar todos os itens da página"
- }, null, 40, oh)
+ }, null, 40, ah)
])) : K("", !0),
($(!0), k(ge, null, $e(e.colunas, (l, s) => ($(), k("th", {
key: `th-${s}`,
@@ -3276,7 +3410,7 @@ function ch(e, n, r, o, t, i) {
]]),
onClick: (u) => e.emitAlternarOrdenacao(String(l.coluna_ordem))
}, [
- p("span", lh, V(l.rotulo), 1),
+ p("span", uh, J(l.rotulo), 1),
e.colunaOrdenacao === String(l.coluna_ordem) ? ($(), ie(Ve(e.direcaoOrdenacao === "asc" ? e.ArrowUp : e.ArrowDown), {
key: 0,
class: "eli-tabela__th-icone",
@@ -3290,13 +3424,13 @@ function ch(e, n, r, o, t, i) {
"stroke-width": 2,
"aria-hidden": "true"
}))
- ], 10, ah)) : ($(), k("span", uh, V(l.rotulo), 1))
+ ], 10, lh)) : ($(), k("span", sh, J(l.rotulo), 1))
], 2))), 128)),
- e.temAcoes ? ($(), k("th", sh, " Ações ")) : K("", !0)
+ e.temAcoes ? ($(), k("th", ch, " Ações ")) : K("", !0)
])
]);
}
-const dh = /* @__PURE__ */ ne(eh, [["render", ch]]), mh = te({
+const mh = /* @__PURE__ */ ne(th, [["render", dh]]), fh = te({
name: "EliTabelaMenuAcoes",
props: {
menuAberto: {
@@ -3331,10 +3465,10 @@ const dh = /* @__PURE__ */ ne(eh, [["render", ch]]), mh = te({
}
return { menuEl: r, possuiAcoes: o, emitExecutar: t };
}
-}), fh = { class: "eli-teleport-container" }, vh = ["id", "aria-labelledby"], ph = ["aria-label", "title", "onClick"], gh = { class: "eli-tabela__acoes-item-texto" };
-function hh(e, n, r, o, t, i) {
- return $(), k("div", fh, [
- ($(), ie(yr, { to: "body" }, [
+}), vh = { class: "eli-teleport-container" }, ph = ["id", "aria-labelledby"], gh = ["aria-label", "title", "onClick"], hh = { class: "eli-tabela__acoes-item-texto" };
+function bh(e, n, r, o, t, i) {
+ return $(), k("div", vh, [
+ ($(), ie(Sr, { to: "body" }, [
e.menuAberto !== null && e.possuiAcoes ? ($(), k("ul", {
key: 0,
id: `eli-tabela-acoes-menu-${e.menuAberto}`,
@@ -3368,15 +3502,15 @@ function hh(e, n, r, o, t, i) {
size: 16,
"stroke-width": 2
})),
- p("span", gh, V(a.acao.rotulo), 1)
- ], 12, ph)
+ p("span", hh, J(a.acao.rotulo), 1)
+ ], 12, gh)
]))), 128))
- ], 12, vh)) : K("", !0)
+ ], 12, ph)) : K("", !0)
]))
]);
}
-const $h = /* @__PURE__ */ ne(mh, [["render", hh]]);
-function bh({
+const $h = /* @__PURE__ */ ne(fh, [["render", bh]]);
+function _h({
aberto: e,
rotulosColunas: n,
configInicial: r,
@@ -3387,8 +3521,8 @@ function bh({
var P, Z;
const m = n.value, f = (((P = r.value.visiveis) == null ? void 0 : P.length) ?? 0) > 0 || (((Z = r.value.invisiveis) == null ? void 0 : Z.length) ?? 0) > 0, h = new Set(
o.value.filter((b) => b.visivel === !1).map((b) => b.rotulo)
- ), g = f ? new Set(r.value.invisiveis ?? []) : h, x = m.filter((b) => !g.has(b)), j = r.value.visiveis ?? [], w = new Set(x), C = [];
- for (const b of j)
+ ), g = f ? new Set(r.value.invisiveis ?? []) : h, x = m.filter((b) => !g.has(b)), O = r.value.visiveis ?? [], w = new Set(x), C = [];
+ for (const b of O)
w.has(b) && C.push(b);
for (const b of x)
C.includes(b) || C.push(b);
@@ -3410,9 +3544,9 @@ function bh({
function d(m, f) {
const h = a.value;
if (!h || h === m) return;
- const g = t.value.indexOf(h), x = i.value.indexOf(h), j = g >= 0 ? "visiveis" : x >= 0 ? "invisiveis" : null;
- if (!j) return;
- const w = j === "visiveis" ? t.value : i.value, C = f === "visiveis" ? t.value : i.value, P = w.indexOf(h), Z = C.indexOf(m);
+ const g = t.value.indexOf(h), x = i.value.indexOf(h), O = g >= 0 ? "visiveis" : x >= 0 ? "invisiveis" : null;
+ if (!O) return;
+ const w = O === "visiveis" ? t.value : i.value, C = f === "visiveis" ? t.value : i.value, P = w.indexOf(h), Z = C.indexOf(m);
w.splice(P, 1), C.splice(Z, 0, h);
}
function c(m) {
@@ -3433,9 +3567,9 @@ function bh({
onDragOverLista: c
};
}
-const _h = te({
+const yh = te({
name: "EliTabelaModalColunas",
- components: { Columns2: hp, Eye: wp, EyeOff: Sp, GripVertical: Op, X: Pa, Check: sp },
+ components: { Columns2: bp, Eye: zp, EyeOff: Ip, GripVertical: jp, X: Ca, Check: cp },
props: {
aberto: { type: Boolean, required: !0 },
rotulosColunas: { type: Array, required: !0 },
@@ -3455,7 +3589,7 @@ const _h = te({
}
},
setup(e, { emit: n }) {
- const r = bh({
+ const r = _h({
aberto: D(() => e.aberto),
rotulosColunas: D(() => e.rotulosColunas),
configInicial: D(() => e.configInicial),
@@ -3476,30 +3610,30 @@ const _h = te({
emitSalvar: t
};
}
-}), yh = {
+}), kh = {
class: "eli-tabela-modal-colunas__modal",
role: "dialog",
"aria-modal": "true",
"aria-labelledby": "eli-modal-colunas-titulo"
-}, kh = { class: "eli-tabela-modal-colunas__header" }, Sh = { class: "eli-tabela-modal-colunas__header-info" }, Ih = { class: "eli-tabela-modal-colunas__instrucao" }, wh = { class: "eli-tabela-modal-colunas__conteudo" }, zh = { class: "eli-tabela-modal-colunas__coluna" }, Dh = { class: "eli-tabela-modal-colunas__coluna-cabecalho eli-tabela-modal-colunas__coluna-cabecalho--visiveis" }, Oh = { class: "eli-tabela-modal-colunas__coluna-contador" }, jh = ["title", "onDragstart", "onDragover"], Eh = { class: "eli-tabela-modal-colunas__item-texto" }, Uh = {
+}, Sh = { class: "eli-tabela-modal-colunas__header" }, Ih = { class: "eli-tabela-modal-colunas__header-info" }, wh = { class: "eli-tabela-modal-colunas__instrucao" }, zh = { class: "eli-tabela-modal-colunas__conteudo" }, Dh = { class: "eli-tabela-modal-colunas__coluna" }, Oh = { class: "eli-tabela-modal-colunas__coluna-cabecalho eli-tabela-modal-colunas__coluna-cabecalho--visiveis" }, jh = { class: "eli-tabela-modal-colunas__coluna-contador" }, Eh = ["title", "onDragstart", "onDragover"], Uh = { class: "eli-tabela-modal-colunas__item-texto" }, xh = {
key: "vazio-visiveis",
class: "eli-tabela-modal-colunas__vazio"
-}, xh = { class: "eli-tabela-modal-colunas__coluna" }, Th = { class: "eli-tabela-modal-colunas__coluna-cabecalho eli-tabela-modal-colunas__coluna-cabecalho--invisiveis" }, Ah = { class: "eli-tabela-modal-colunas__coluna-contador" }, Nh = ["title", "onDragstart", "onDragover"], Ph = { class: "eli-tabela-modal-colunas__item-texto" }, Ch = {
+}, Th = { class: "eli-tabela-modal-colunas__coluna" }, Ah = { class: "eli-tabela-modal-colunas__coluna-cabecalho eli-tabela-modal-colunas__coluna-cabecalho--invisiveis" }, Nh = { class: "eli-tabela-modal-colunas__coluna-contador" }, Ph = ["title", "onDragstart", "onDragover"], Ch = { class: "eli-tabela-modal-colunas__item-texto" }, Zh = {
key: "vazio-invisiveis",
class: "eli-tabela-modal-colunas__vazio"
-}, Zh = { class: "eli-tabela-modal-colunas__footer" };
-function Mh(e, n, r, o, t, i) {
+}, Mh = { class: "eli-tabela-modal-colunas__footer" };
+function Fh(e, n, r, o, t, i) {
const a = Q("Columns2"), l = Q("X"), s = Q("GripVertical"), u = Q("Eye"), d = Q("EyeOff"), c = Q("Check");
- return $(), ie(yr, { to: "body" }, [
+ return $(), ie(Sr, { to: "body" }, [
e.aberto ? ($(), k("div", {
key: 0,
class: "eli-tabela-modal-colunas__overlay",
role: "presentation",
onClick: n[9] || (n[9] = me((...m) => e.emitFechar && e.emitFechar(...m), ["self"]))
}, [
- p("div", yh, [
- p("header", kh, [
- p("div", Sh, [
+ p("div", kh, [
+ p("header", Sh, [
+ p("div", Ih, [
F(a, {
size: 18,
"stroke-width": 2,
@@ -3522,7 +3656,7 @@ function Mh(e, n, r, o, t, i) {
})
])
]),
- p("div", Ih, [
+ p("div", wh, [
F(s, {
size: 14,
"stroke-width": 2,
@@ -3530,17 +3664,17 @@ function Mh(e, n, r, o, t, i) {
}),
n[11] || (n[11] = ae(" Arraste para reordenar ou mover entre as listas ", -1))
]),
- p("div", wh, [
- p("div", zh, [
- p("div", Dh, [
+ p("div", zh, [
+ p("div", Dh, [
+ p("div", Oh, [
F(u, {
size: 14,
"stroke-width": 2
}),
n[12] || (n[12] = p("span", null, "Visíveis", -1)),
- p("span", Oh, V(e.visiveisLocal.length), 1)
+ p("span", jh, J(e.visiveisLocal.length), 1)
]),
- F(zo, {
+ F(Oo, {
name: "list",
tag: "div",
class: "eli-tabela-modal-colunas__lista eli-tabela-modal-colunas__lista--visiveis",
@@ -3566,15 +3700,15 @@ function Mh(e, n, r, o, t, i) {
class: "eli-tabela-modal-colunas__item-handle",
"aria-hidden": "true"
}),
- p("span", Eh, V(m), 1),
+ p("span", Uh, J(m), 1),
F(u, {
size: 13,
"stroke-width": 2,
class: "eli-tabela-modal-colunas__item-badge-icone eli-tabela-modal-colunas__item-badge-icone--visivel",
"aria-hidden": "true"
})
- ], 42, jh))), 128)),
- e.visiveisLocal.length === 0 ? ($(), k("div", Uh, [
+ ], 42, Eh))), 128)),
+ e.visiveisLocal.length === 0 ? ($(), k("div", xh, [
F(d, {
size: 28,
"stroke-width": 1.5,
@@ -3590,16 +3724,16 @@ function Mh(e, n, r, o, t, i) {
_: 1
}, 8, ["onDrop"])
]),
- p("div", xh, [
- p("div", Th, [
+ p("div", Th, [
+ p("div", Ah, [
F(d, {
size: 14,
"stroke-width": 2
}),
n[14] || (n[14] = p("span", null, "Ocultas", -1)),
- p("span", Ah, V(e.invisiveisLocal.length), 1)
+ p("span", Nh, J(e.invisiveisLocal.length), 1)
]),
- F(zo, {
+ F(Oo, {
name: "list",
tag: "div",
class: "eli-tabela-modal-colunas__lista eli-tabela-modal-colunas__lista--invisiveis",
@@ -3625,15 +3759,15 @@ function Mh(e, n, r, o, t, i) {
class: "eli-tabela-modal-colunas__item-handle",
"aria-hidden": "true"
}),
- p("span", Ph, V(m), 1),
+ p("span", Ch, J(m), 1),
F(d, {
size: 13,
"stroke-width": 2,
class: "eli-tabela-modal-colunas__item-badge-icone eli-tabela-modal-colunas__item-badge-icone--invisivel",
"aria-hidden": "true"
})
- ], 42, Nh))), 128)),
- e.invisiveisLocal.length === 0 ? ($(), k("div", Ch, [
+ ], 42, Ph))), 128)),
+ e.invisiveisLocal.length === 0 ? ($(), k("div", Zh, [
F(u, {
size: 28,
"stroke-width": 1.5,
@@ -3646,7 +3780,7 @@ function Mh(e, n, r, o, t, i) {
}, 8, ["onDrop"])
])
]),
- p("footer", Zh, [
+ p("footer", Mh, [
p("button", {
type: "button",
class: "eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--sec",
@@ -3674,40 +3808,40 @@ function Mh(e, n, r, o, t, i) {
])) : K("", !0)
]);
}
-const Fh = /* @__PURE__ */ ne(_h, [["render", Mh]]);
-function Vo(e) {
+const Lh = /* @__PURE__ */ ne(yh, [["render", Fh]]);
+function Jo(e) {
return e.rotulo;
}
-function Lh({
+function Rh({
aberto: e,
filtrosBase: n,
modelo: r,
modeloFormula: o,
emit: t
}) {
- const i = L([]), a = L(""), l = L(""), s = D(() => i.value.map((_, I) => `{c${I + 1}}`).join(" E "));
+ const i = L([]), a = L(""), l = L(""), s = D(() => i.value.map((_, S) => `{c${S + 1}}`).join(" E "));
function u(_) {
- let I = _;
- return i.value.forEach((J, z) => {
- I = I.replace(new RegExp(`\\{${J.chave}\\}`, "g"), `{c${z + 1}}`);
- }), I;
+ let S = _;
+ return i.value.forEach((B, z) => {
+ S = S.replace(new RegExp(`\\{${B.chave}\\}`, "g"), `{c${z + 1}}`);
+ }), S;
}
function d(_) {
- var J;
- let I = _;
+ var B;
+ let S = _;
for (let z = i.value.length; z >= 1; z--) {
- const M = (J = i.value[z - 1]) == null ? void 0 : J.chave;
- M && (I = I.replace(new RegExp(`\\{c${z}\\}`, "g"), `{${M}}`));
+ const M = (B = i.value[z - 1]) == null ? void 0 : B.chave;
+ M && (S = S.replace(new RegExp(`\\{c${z}\\}`, "g"), `{${M}}`));
}
- return I;
+ return S;
}
const c = D(() => (n.value ?? []).map((_) => String(_.chave))), m = D(() => {
- const _ = new Set(i.value.map((I) => String(I.chave)));
- return (n.value ?? []).filter((I) => !_.has(String(I.chave)));
+ const _ = new Set(i.value.map((S) => String(S.chave)));
+ return (n.value ?? []).filter((S) => !_.has(String(S.chave)));
});
function f(_) {
- const I = _ == null ? void 0 : _[0];
- return I === "numero" ? Ea : I === "dataHora" ? ja : I === "selecao" ? Ta : I === "selecaoMultipla" ? Aa : I === "paragrafo" ? Ua : I === "confirmacao" ? df : wr;
+ const S = _ == null ? void 0 : _[0];
+ return S === "numero" ? Ua : S === "dataHora" ? Ea : S === "selecao" ? Aa : S === "selecaoMultipla" ? Na : S === "paragrafo" ? xa : S === "confirmacao" ? mf : Dr;
}
function h(_) {
return { ...typeof (_ == null ? void 0 : _[1]) == "object" && _[1] !== null ? { ..._[1] } : {}, rotulo: "" };
@@ -3716,14 +3850,14 @@ function Lh({
return (_ == null ? void 0 : _[0]) === "numero" || (_ == null ? void 0 : _[0]) === "dataHora" || (_ == null ? void 0 : _[0]) === "selecao" ? null : (_ == null ? void 0 : _[0]) === "selecaoMultipla" ? [] : (_ == null ? void 0 : _[0]) === "confirmacao" ? !1 : "";
}
function x() {
- const _ = n.value ?? [], I = Array.isArray(r.value) ? r.value : [];
- i.value = I.map((J) => {
- if (!J || typeof J != "object") return null;
- const z = J, M = _.find((E) => String(E.chave) === String(z.chave)) ?? _[0];
+ const _ = n.value ?? [], S = Array.isArray(r.value) ? r.value : [];
+ i.value = S.map((B) => {
+ if (!B || typeof B != "object") return null;
+ const z = B, M = _.find((E) => String(E.chave) === String(z.chave)) ?? _[0];
if (!M) return null;
- const _e = M.entrada ?? z.entrada, je = String(M.chave ?? z.chave), O = z.valor ?? g(_e);
- return { chave: je, entrada: _e, valor: O };
- }).filter(Boolean), i.value = i.value.filter((J) => c.value.includes(String(J.chave))), o.value ? l.value = u(o.value) : l.value = s.value;
+ const he = M.entrada ?? z.entrada, De = String(M.chave ?? z.chave), j = z.valor ?? g(he);
+ return { chave: De, entrada: he, valor: j };
+ }).filter(Boolean), i.value = i.value.filter((B) => c.value.includes(String(B.chave))), o.value ? l.value = u(o.value) : l.value = s.value;
}
ze(
() => [e.value, n.value, r.value],
@@ -3732,12 +3866,12 @@ function Lh({
},
{ deep: !0, immediate: !0 }
);
- function j() {
+ function O() {
if (!a.value) return;
const _ = (n.value ?? []).find(
- (I) => String(I.chave) === String(a.value)
+ (S) => String(S.chave) === String(a.value)
);
- _ && (i.value.some((I) => String(I.chave) === String(_.chave)) || (i.value.push({
+ _ && (i.value.some((S) => String(S.chave) === String(_.chave)) || (i.value.push({
chave: String(_.chave),
entrada: _.entrada,
valor: g(_.entrada)
@@ -3756,13 +3890,13 @@ function Lh({
const _ = d(l.value);
t(
"salvar",
- i.value.map((I) => ({ chave: I.chave, valor: I.valor })),
+ i.value.map((S) => ({ chave: S.chave, valor: S.valor })),
_
);
}
function b(_) {
- const I = (n.value ?? []).find((J) => String(J.chave) === _);
- return I ? Vo(I) : _;
+ const S = (n.value ?? []).find((B) => String(B.chave) === _);
+ return S ? Jo(S) : _;
}
return {
linhas: i,
@@ -3772,18 +3906,18 @@ function Lh({
formulaGerada: s,
componenteEntrada: f,
opcoesEntrada: h,
- adicionar: j,
+ adicionar: O,
remover: w,
emitFechar: C,
emitSalvar: Z,
emitLimpar: P,
- rotuloDoFiltro: Vo,
+ rotuloDoFiltro: Jo,
rotuloDoFiltroAtivo: b
};
}
-const Rh = te({
+const Bh = te({
name: "EliTabelaModalFiltroAvancado",
- components: { CircleHelp: pp, Filter: Na, Plus: Ap, Trash2: Zp, X: Pa },
+ components: { CircleHelp: gp, Filter: Pa, Plus: Np, Trash2: Mp, X: Ca },
props: {
aberto: { type: Boolean, required: !0 },
filtrosBase: { type: Array, required: !0 },
@@ -3801,7 +3935,7 @@ const Rh = te({
salvar: (e, n) => !0
},
setup(e, { emit: n }) {
- return Lh({
+ return Rh({
aberto: D(() => e.aberto),
filtrosBase: D(() => e.filtrosBase),
modelo: D(() => e.modelo),
@@ -3809,34 +3943,34 @@ const Rh = te({
emit: n
});
}
-}), Bh = {
+}), Vh = {
class: "eli-tabela-modal-filtro__modal",
role: "dialog",
"aria-modal": "true",
"aria-label": "Filtro avançado"
-}, Vh = { class: "eli-tabela-modal-filtro__header" }, Jh = { class: "eli-tabela-modal-filtro__header-titulo" }, qh = {
+}, Jh = { class: "eli-tabela-modal-filtro__header" }, qh = { class: "eli-tabela-modal-filtro__header-titulo" }, Wh = {
key: 0,
class: "eli-tabela-modal-filtro__contador"
-}, Gh = { class: "eli-tabela-modal-filtro__conteudo" }, Wh = {
+}, Gh = { class: "eli-tabela-modal-filtro__conteudo" }, Kh = {
key: 0,
class: "eli-tabela-modal-filtro__vazio"
-}, Kh = { key: 1 }, Xh = {
+}, Xh = { key: 1 }, Hh = {
key: 0,
class: "eli-tabela-modal-filtro__lista"
-}, Hh = { class: "eli-tabela-modal-filtro__linha-header" }, Yh = ["title"], Qh = { class: "eli-tabela-modal-filtro__rotulo-filtro" }, e$ = ["onClick"], t$ = { class: "eli-tabela-modal-filtro__entrada" }, n$ = {
+}, Yh = { class: "eli-tabela-modal-filtro__linha-header" }, Qh = ["title"], eb = { class: "eli-tabela-modal-filtro__rotulo-filtro" }, tb = ["onClick"], nb = { class: "eli-tabela-modal-filtro__entrada" }, rb = {
key: 1,
class: "eli-tabela-modal-filtro__estado-vazio"
-}, r$ = { class: "eli-tabela-modal-filtro__rodape-filtros" }, i$ = { class: "eli-tabela-modal-filtro__acoes" }, o$ = ["disabled"], a$ = ["value"], l$ = ["disabled"], u$ = {
+}, ib = { class: "eli-tabela-modal-filtro__rodape-filtros" }, ob = { class: "eli-tabela-modal-filtro__acoes" }, ab = ["disabled"], lb = ["value"], ub = ["disabled"], sb = {
key: 0,
class: "eli-tabela-modal-filtro__formula-container"
-}, s$ = ["placeholder"], c$ = {
+}, cb = ["placeholder"], db = {
class: "eli-tabela-modal-filtro__formula-ajuda",
tabindex: "0",
"aria-label": "Ajuda sobre fórmulas"
-}, d$ = { class: "eli-tabela-modal-filtro__footer" }, m$ = ["disabled"];
-function f$(e, n, r, o, t, i) {
+}, mb = { class: "eli-tabela-modal-filtro__footer" }, fb = ["disabled"];
+function vb(e, n, r, o, t, i) {
const a = Q("Filter"), l = Q("X"), s = Q("Trash2"), u = Q("Plus"), d = Q("CircleHelp");
- return $(), ie(ga, { name: "eli-tabela-modal-filtro" }, {
+ return $(), ie(ha, { name: "eli-tabela-modal-filtro" }, {
default: de(() => [
e.aberto ? ($(), k("div", {
key: 0,
@@ -3844,16 +3978,16 @@ function f$(e, n, r, o, t, i) {
role: "presentation",
onClick: n[7] || (n[7] = me((...c) => e.emitFechar && e.emitFechar(...c), ["self"]))
}, [
- p("div", Bh, [
- p("header", Vh, [
- p("div", Jh, [
+ p("div", Vh, [
+ p("header", Jh, [
+ p("div", qh, [
F(a, {
class: "eli-tabela-modal-filtro__header-icone",
size: 18,
"stroke-width": 2
}),
n[8] || (n[8] = p("h3", { class: "eli-tabela-modal-filtro__titulo" }, "Filtro avançado", -1)),
- e.linhas.length ? ($(), k("span", qh, V(e.linhas.length) + " " + V(e.linhas.length === 1 ? "filtro" : "filtros"), 1)) : K("", !0)
+ e.linhas.length ? ($(), k("span", Wh, J(e.linhas.length) + " " + J(e.linhas.length === 1 ? "filtro" : "filtros"), 1)) : K("", !0)
]),
p("button", {
type: "button",
@@ -3868,18 +4002,18 @@ function f$(e, n, r, o, t, i) {
])
]),
p("div", Gh, [
- e.filtrosBase.length ? ($(), k("div", Kh, [
- e.linhas.length ? ($(), k("div", Xh, [
+ e.filtrosBase.length ? ($(), k("div", Xh, [
+ e.linhas.length ? ($(), k("div", Hh, [
($(!0), k(ge, null, $e(e.linhas, (c, m) => ($(), k("div", {
key: String(c.chave),
class: "eli-tabela-modal-filtro__linha"
}, [
- p("div", Hh, [
+ p("div", Yh, [
p("span", {
class: "eli-tabela-modal-filtro__id-badge",
title: `Identificador na fórmula: {c${m + 1}}`
- }, " c" + V(m + 1), 9, Yh),
- p("span", Qh, V(e.rotuloDoFiltroAtivo(c.chave)), 1),
+ }, " c" + J(m + 1), 9, Qh),
+ p("span", eb, J(e.rotuloDoFiltroAtivo(c.chave)), 1),
p("button", {
type: "button",
class: "eli-tabela-modal-filtro__remover",
@@ -3891,25 +4025,25 @@ function f$(e, n, r, o, t, i) {
size: 14,
"stroke-width": 2
})
- ], 8, e$)
+ ], 8, tb)
]),
- p("div", t$, [
+ p("div", nb, [
($(), ie(Ve(e.componenteEntrada(c.entrada)), Ee({ ref_for: !0 }, { value: c.valor, opcoes: e.opcoesEntrada(c.entrada), density: "compact" }, {
"onUpdate:value": (f) => c.valor = f,
onInput: (f) => c.valor = f
}), null, 16, ["onUpdate:value", "onInput"]))
])
]))), 128))
- ])) : ($(), k("div", n$, [
+ ])) : ($(), k("div", rb, [
F(a, {
size: 32,
"stroke-width": 1.5
}),
n[9] || (n[9] = p("span", null, "Selecione um filtro abaixo para começar", -1))
])),
- p("div", r$, [
- p("div", i$, [
- dn(p("select", {
+ p("div", ib, [
+ p("div", ob, [
+ mn(p("select", {
"onUpdate:modelValue": n[1] || (n[1] = (c) => e.chaveParaAdicionar = c),
class: "eli-tabela-modal-filtro__select",
disabled: !e.opcoesParaAdicionar.length
@@ -3921,9 +4055,9 @@ function f$(e, n, r, o, t, i) {
($(!0), k(ge, null, $e(e.opcoesParaAdicionar, (c) => ($(), k("option", {
key: String(c.chave),
value: String(c.chave)
- }, V(e.rotuloDoFiltro(c)), 9, a$))), 128))
- ], 8, o$), [
- [Vm, e.chaveParaAdicionar]
+ }, J(e.rotuloDoFiltro(c)), 9, lb))), 128))
+ ], 8, ab), [
+ [Jm, e.chaveParaAdicionar]
]),
p("button", {
type: "button",
@@ -3936,19 +4070,19 @@ function f$(e, n, r, o, t, i) {
"stroke-width": 2.5
}),
n[11] || (n[11] = ae(" Adicionar ", -1))
- ], 8, l$)
+ ], 8, ub)
]),
- e.linhas.length >= 2 ? ($(), k("div", u$, [
+ e.linhas.length >= 2 ? ($(), k("div", sb, [
n[13] || (n[13] = p("label", { class: "eli-tabela-modal-filtro__formula-label" }, "Fórmula", -1)),
- dn(p("input", {
+ mn(p("input", {
"onUpdate:modelValue": n[3] || (n[3] = (c) => e.formulaCustomizada = c),
type: "text",
class: "eli-tabela-modal-filtro__formula-input",
placeholder: "Ex: " + e.formulaGerada
- }, null, 8, s$), [
- [kr, e.formulaCustomizada]
+ }, null, 8, cb), [
+ [Ir, e.formulaCustomizada]
]),
- p("span", c$, [
+ p("span", db, [
F(d, {
size: 15,
"stroke-width": 2
@@ -3994,15 +4128,15 @@ function f$(e, n, r, o, t, i) {
])
])) : K("", !0)
])
- ])) : ($(), k("div", Wh, " Nenhum filtro configurado na tabela. "))
+ ])) : ($(), k("div", Kh, " Nenhum filtro configurado na tabela. "))
]),
- p("footer", d$, [
+ p("footer", mb, [
p("button", {
type: "button",
class: "eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--perigo",
disabled: !e.linhas.length,
onClick: n[4] || (n[4] = (...c) => e.emitLimpar && e.emitLimpar(...c))
- }, " Limpar ", 8, m$),
+ }, " Limpar ", 8, fb),
n[14] || (n[14] = p("div", { class: "eli-tabela-modal-filtro__footer-spacer" }, null, -1)),
p("button", {
type: "button",
@@ -4021,7 +4155,7 @@ function f$(e, n, r, o, t, i) {
_: 1
});
}
-const v$ = /* @__PURE__ */ ne(Rh, [["render", f$]]), p$ = te({
+const pb = /* @__PURE__ */ ne(Bh, [["render", vb]]), gb = te({
name: "EliTabelaPaginacao",
props: {
pagina: {
@@ -4072,11 +4206,11 @@ const v$ = /* @__PURE__ */ ne(Rh, [["render", f$]]), p$ = te({
return m;
}
const g = Math.max(3, c - 2);
- let x = Math.max(2, d - Math.floor(g / 2)), j = x + g - 1;
- j >= u && (j = u - 1, x = j - g + 1), f(1), x > 2 && h();
- for (let w = x; w <= j; w += 1)
+ let x = Math.max(2, d - Math.floor(g / 2)), O = x + g - 1;
+ O >= u && (O = u - 1, x = O - g + 1), f(1), x > 2 && h();
+ for (let w = x; w <= O; w += 1)
f(w);
- return j < u - 1 && h(), f(u), m;
+ return O < u - 1 && h(), f(u), m;
});
function t(u) {
if (!u)
@@ -4094,23 +4228,23 @@ const v$ = /* @__PURE__ */ ne(Rh, [["render", f$]]), p$ = te({
totalPaginasExibidas: s
};
}
-}), g$ = { class: "eli-tabela__rodape" }, h$ = {
+}), hb = { class: "eli-tabela__rodape" }, bb = {
key: 0,
class: "eli-tabela__acoes-inferiores",
style: { "margin-right": "auto" }
-}, $$ = ["onClick"], b$ = { class: "eli-tabela__acoes-cabecalho-rotulo" }, _$ = {
+}, $b = ["onClick"], _b = { class: "eli-tabela__acoes-cabecalho-rotulo" }, yb = {
key: 1,
class: "eli-tabela__paginacao",
role: "navigation",
"aria-label": "Paginação de resultados"
-}, y$ = ["disabled"], k$ = {
+}, kb = ["disabled"], Sb = {
key: 0,
class: "eli-tabela__pagina-ellipsis",
"aria-hidden": "true"
-}, S$ = ["disabled", "aria-current", "aria-label", "onClick"], I$ = ["disabled"];
-function w$(e, n, r, o, t, i) {
- return $(), k("div", g$, [
- e.acoes.length > 0 ? ($(), k("div", h$, [
+}, Ib = ["disabled", "aria-current", "aria-label", "onClick"], wb = ["disabled"];
+function zb(e, n, r, o, t, i) {
+ return $(), k("div", hb, [
+ e.acoes.length > 0 ? ($(), k("div", bb, [
($(!0), k(ge, null, $e(e.acoes, (a, l) => ($(), k("button", {
key: `${a.rotulo}-${l}`,
type: "button",
@@ -4124,21 +4258,21 @@ function w$(e, n, r, o, t, i) {
size: 16,
"stroke-width": 2
})) : K("", !0),
- p("span", b$, V(a.rotulo), 1)
- ], 12, $$))), 128))
+ p("span", _b, J(a.rotulo), 1)
+ ], 12, $b))), 128))
])) : K("", !0),
- e.totalPaginasExibidas > 1 ? ($(), k("nav", _$, [
+ e.totalPaginasExibidas > 1 ? ($(), k("nav", yb, [
p("button", {
type: "button",
class: "eli-tabela__pagina-botao",
disabled: e.anteriorDesabilitado,
"aria-label": "Página anterior",
onClick: n[0] || (n[0] = (a) => e.irParaPagina(e.paginaAtual - 1))
- }, " << ", 8, y$),
+ }, " << ", 8, kb),
($(!0), k(ge, null, $e(e.botoes, (a, l) => ($(), k(ge, {
key: `${a.label}-${l}`
}, [
- a.ehEllipsis ? ($(), k("span", k$, V(a.label), 1)) : ($(), k("button", {
+ a.ehEllipsis ? ($(), k("span", Sb, J(a.label), 1)) : ($(), k("button", {
key: 1,
type: "button",
class: Me(["eli-tabela__pagina-botao", a.ativo ? "eli-tabela__pagina-botao--ativo" : void 0]),
@@ -4146,7 +4280,7 @@ function w$(e, n, r, o, t, i) {
"aria-current": a.ativo ? "page" : void 0,
"aria-label": `Ir para página ${a.label}`,
onClick: (s) => e.irParaPagina(a.pagina)
- }, V(a.label), 11, S$))
+ }, J(a.label), 11, Ib))
], 64))), 128)),
p("button", {
type: "button",
@@ -4154,44 +4288,44 @@ function w$(e, n, r, o, t, i) {
disabled: e.proximaDesabilitada,
"aria-label": "Próxima página",
onClick: n[1] || (n[1] = (a) => e.irParaPagina(e.paginaAtual + 1))
- }, " >> ", 8, I$)
+ }, " >> ", 8, wb)
])) : K("", !0)
]);
}
-const z$ = /* @__PURE__ */ ne(p$, [["render", w$]]), D$ = "eli:tabela";
-function Za(e) {
- return `${D$}:${e}:colunas`;
-}
+const Db = /* @__PURE__ */ ne(gb, [["render", zb]]), Ob = "eli:tabela";
function Ma(e) {
+ return `${Ob}:${e}:colunas`;
+}
+function Fa(e) {
if (!e || typeof e != "object")
return { visiveis: [], invisiveis: [] };
const n = e, r = Array.isArray(n.visiveis) ? n.visiveis.filter((t) => typeof t == "string") : [], o = Array.isArray(n.invisiveis) ? n.invisiveis.filter((t) => typeof t == "string") : [];
return { visiveis: r, invisiveis: o };
}
-function Fa(e) {
+function La(e) {
try {
- const n = window.localStorage.getItem(Za(e));
- return n ? Ma(JSON.parse(n)) : { visiveis: [], invisiveis: [] };
+ const n = window.localStorage.getItem(Ma(e));
+ return n ? Fa(JSON.parse(n)) : { visiveis: [], invisiveis: [] };
} catch {
return { visiveis: [], invisiveis: [] };
}
}
-function O$(e, n) {
+function jb(e, n) {
try {
window.localStorage.setItem(
- Za(e),
- JSON.stringify(Ma(n))
+ Ma(e),
+ JSON.stringify(Fa(n))
);
} catch {
}
}
-function zr(e) {
+function Or(e) {
return `eli_tabela:${e}:filtro_avancado`;
}
-function La(e) {
+function Ra(e) {
const n = { linhas: [], formula: "" };
try {
- const r = localStorage.getItem(zr(e));
+ const r = localStorage.getItem(Or(e));
if (!r) return n;
const o = JSON.parse(r);
return Array.isArray(o) ? { linhas: o, formula: "" } : o && typeof o == "object" ? {
@@ -4202,38 +4336,38 @@ function La(e) {
return n;
}
}
-function j$(e, n) {
+function Eb(e, n) {
try {
- localStorage.setItem(zr(e), JSON.stringify(n ?? { linhas: [] }));
+ localStorage.setItem(Or(e), JSON.stringify(n ?? { linhas: [] }));
} catch {
}
}
-function E$(e) {
+function Ub(e) {
try {
- localStorage.removeItem(zr(e));
+ localStorage.removeItem(Or(e));
} catch {
}
}
-function U$(e, n) {
- const r = L(!1), o = L(Fa(e.tabela.nome)), t = L({}), i = D(() => e.tabela.colunas.map((h) => h.rotulo)), a = D(() => {
+function xb(e, n) {
+ const r = L(!1), o = L(La(e.tabela.nome)), t = L({}), i = D(() => e.tabela.colunas.map((h) => h.rotulo)), a = D(() => {
var Z, b;
- const h = e.tabela.colunas, x = (((Z = o.value.visiveis) == null ? void 0 : Z.length) ?? 0) > 0 || (((b = o.value.invisiveis) == null ? void 0 : b.length) ?? 0) > 0 ? o.value.invisiveis ?? [] : h.filter((_) => _.visivel === !1).map((_) => _.rotulo), j = new Set(x), w = h.filter((_) => j.has(_.rotulo)), C = /* @__PURE__ */ new Map();
+ const h = e.tabela.colunas, x = (((Z = o.value.visiveis) == null ? void 0 : Z.length) ?? 0) > 0 || (((b = o.value.invisiveis) == null ? void 0 : b.length) ?? 0) > 0 ? o.value.invisiveis ?? [] : h.filter((_) => _.visivel === !1).map((_) => _.rotulo), O = new Set(x), w = h.filter((_) => O.has(_.rotulo)), C = /* @__PURE__ */ new Map();
for (const _ of w)
C.has(_.rotulo) || C.set(_.rotulo, _);
const P = [];
for (const _ of x) {
- const I = C.get(_);
- I && P.push(I);
+ const S = C.get(_);
+ S && P.push(S);
}
for (const _ of w)
P.includes(_) || P.push(_);
return P;
}), l = D(() => a.value.length > 0), s = D(() => {
- var I, J;
- const h = e.tabela.colunas, g = i.value, x = (((I = o.value.visiveis) == null ? void 0 : I.length) ?? 0) > 0 || (((J = o.value.invisiveis) == null ? void 0 : J.length) ?? 0) > 0, j = x ? o.value.invisiveis ?? [] : (
+ var S, B;
+ const h = e.tabela.colunas, g = i.value, x = (((S = o.value.visiveis) == null ? void 0 : S.length) ?? 0) > 0 || (((B = o.value.invisiveis) == null ? void 0 : B.length) ?? 0) > 0, O = x ? o.value.invisiveis ?? [] : (
// biome-ignore lint/suspicious/noExplicitAny: dynamic column
e.tabela.colunas.filter((z) => z.visivel === !1).map((z) => z.rotulo)
- ), w = new Set(j), C = g.filter((z) => !w.has(z)), P = new Set(C), Z = x ? o.value.visiveis ?? [] : [], b = [];
+ ), w = new Set(O), C = g.filter((z) => !w.has(z)), P = new Set(C), Z = x ? o.value.visiveis ?? [] : [], b = [];
for (const z of Z)
P.has(z) && b.push(z);
for (const z of C)
@@ -4252,7 +4386,7 @@ function U$(e, n) {
r.value = !1;
}
function m(h) {
- o.value = h, O$(e.tabela.nome, h), r.value = !1, t.value = {};
+ o.value = h, jb(e.tabela.nome, h), r.value = !1, t.value = {};
}
function f(h) {
const g = !!t.value[h];
@@ -4273,22 +4407,22 @@ function U$(e, n) {
alternarLinhaExpandida: f
};
}
-var Ra = ((e) => (e[e.sucesso = 200] = "sucesso", e[e.erroConhecido = 400] = "erroConhecido", e[e.erroPermissao = 401] = "erroPermissao", e[e.erroNaoEncontrado = 404] = "erroNaoEncontrado", e[e.erroDesconhecido = 500] = "erroDesconhecido", e[e.tempoEsgotado = 504] = "tempoEsgotado", e))(Ra || {});
-function x$(e, n, r, o, t) {
+var Ba = ((e) => (e[e.sucesso = 200] = "sucesso", e[e.erroConhecido = 400] = "erroConhecido", e[e.erroPermissao = 401] = "erroPermissao", e[e.erroNaoEncontrado = 404] = "erroNaoEncontrado", e[e.erroDesconhecido = 500] = "erroDesconhecido", e[e.tempoEsgotado = 504] = "tempoEsgotado", e))(Ba || {});
+function Tb(e, n, r, o, t) {
const a = L(!1), l = L(null), s = L([]), u = L(0), d = L([]), c = L(null), m = L("asc"), f = D(() => e.tabela), h = D(() => {
- const O = e.tabela.registros_por_consulta;
- return typeof O == "number" && O > 0 ? Math.floor(O) : 10;
+ const j = e.tabela.registros_por_consulta;
+ return typeof j == "number" && j > 0 ? Math.floor(j) : 10;
}), g = D(() => {
- const O = h.value;
- if (!O || O <= 0) return 1;
+ const j = h.value;
+ if (!j || j <= 0) return 1;
const E = u.value ?? 0;
- return E ? Math.max(1, Math.ceil(E / O)) : 1;
- }), x = D(() => s.value ?? []), j = D(() => u.value ?? 0), w = D(() => (e.tabela.acoesLinha ?? []).length > 0), C = D(() => !!e.tabela.mostrarCaixaDeBusca), P = D(
- () => (e.tabela.acoesTabela ?? []).filter((O) => O.posicao === "superior")
+ return E ? Math.max(1, Math.ceil(E / j)) : 1;
+ }), x = D(() => s.value ?? []), O = D(() => u.value ?? 0), w = D(() => (e.tabela.acoesLinha ?? []).length > 0), C = D(() => !!e.tabela.mostrarCaixaDeBusca), P = D(
+ () => (e.tabela.acoesTabela ?? []).filter((j) => j.posicao === "superior")
), Z = D(
- () => (e.tabela.acoesTabela ?? []).filter((O) => O.posicao === "inferior")
- ), b = D(() => P.value.length > 0), _ = D(() => Z.value.length > 0), I = D(() => {
- const O = Math.max(1, h.value), U = { offSet: (r.value - 1) * O, limit: O }, N = (o.value ?? "").trim();
+ () => (e.tabela.acoesTabela ?? []).filter((j) => j.posicao === "inferior")
+ ), b = D(() => P.value.length > 0), _ = D(() => Z.value.length > 0), S = D(() => {
+ const j = Math.max(1, h.value), U = { offSet: (r.value - 1) * j, limit: j }, N = (o.value ?? "").trim();
if (N)
U.texto_busca = N;
else {
@@ -4304,24 +4438,24 @@ function x$(e, n, r, o, t) {
editarLista: async (T) => (s.value = T, T)
};
});
- let J = 0;
+ let B = 0;
async function z() {
var E, U;
- const O = ++J;
+ const j = ++B;
a.value = !0, l.value = null;
try {
d.value = [], t.value = {};
- const N = Math.max(1, h.value), q = { offSet: (r.value - 1) * N, limit: N }, W = (o.value ?? "").trim();
- if (W)
- q.texto_busca = W;
+ const N = Math.max(1, h.value), q = { offSet: (r.value - 1) * N, limit: N }, G = (o.value ?? "").trim();
+ if (G)
+ q.texto_busca = G;
else {
- const G = n.value;
- G.length && (q.filtros = G);
+ const W = n.value;
+ W.length && (q.filtros = W);
}
c.value && (q.coluna_ordem = c.value, q.direcao_ordem = m.value);
const ee = await e.tabela.consulta(q);
- if (O !== J) return;
- if (ee.cod !== Ra.sucesso) {
+ if (j !== B) return;
+ if (ee.cod !== Ba.sucesso) {
s.value = [], u.value = 0, l.value = ee.mensagem;
return;
}
@@ -4336,17 +4470,17 @@ function x$(e, n, r, o, t) {
}
d.value = oe.map(
() => ye.map(
- (G) => G.exibir === void 0 ? !0 : typeof G.exibir == "boolean" ? G.exibir : !1
+ (W) => W.exibir === void 0 ? !0 : typeof W.exibir == "boolean" ? W.exibir : !1
)
);
const Ze = await Promise.all(
oe.map(
- (G) => Promise.all(
+ (W) => Promise.all(
ye.map(async (re) => {
if (re.exibir === void 0) return !0;
if (typeof re.exibir == "boolean") return re.exibir;
try {
- return !!await Promise.resolve(re.exibir(G));
+ return !!await Promise.resolve(re.exibir(W));
} catch {
return !1;
}
@@ -4354,38 +4488,38 @@ function x$(e, n, r, o, t) {
)
)
);
- O === J && (d.value = Ze);
+ j === B && (d.value = Ze);
} catch (N) {
- if (console.error("[EliTabela] Erro capturado em carregar():", N), O !== J) return;
+ if (console.error("[EliTabela] Erro capturado em carregar():", N), j !== B) return;
s.value = [], u.value = 0, l.value = N instanceof Error ? N.message : "Erro ao carregar dados.";
} finally {
- O === J && (a.value = !1);
+ j === B && (a.value = !1);
}
}
- function M(O) {
- if (O) {
- if (c.value === O) {
+ function M(j) {
+ if (j) {
+ if (c.value === j) {
m.value = m.value === "asc" ? "desc" : "asc", z();
return;
}
- c.value = O, m.value = "asc", r.value !== 1 ? r.value = 1 : z();
+ c.value = j, m.value = "asc", r.value !== 1 ? r.value = 1 : z();
}
}
- function _e(O) {
- o.value !== O && (o.value = O, r.value !== 1 ? r.value = 1 : z());
+ function he(j) {
+ o.value !== j && (o.value = j, r.value !== 1 ? r.value = 1 : z());
}
- function je(O) {
- const E = Math.min(Math.max(1, O), g.value);
+ function De(j) {
+ const E = Math.min(Math.max(1, j), g.value);
E !== r.value && (r.value = E);
}
- return ze(r, (O, E) => {
- O !== E && z();
+ return ze(r, (j, E) => {
+ j !== E && z();
}), ze(s, () => {
t.value = {};
}), ze(
() => e.tabela.mostrarCaixaDeBusca,
- (O) => {
- !O && o.value && (o.value = "", r.value !== 1 ? r.value = 1 : z());
+ (j) => {
+ !j && o.value && (o.value = "", r.value !== 1 ? r.value = 1 : z());
}
), ze(
() => e.tabela.registros_por_consulta,
@@ -4400,7 +4534,7 @@ function x$(e, n, r, o, t) {
linhas: s,
linhasPaginadas: x,
quantidade: u,
- quantidadeFiltrada: j,
+ quantidadeFiltrada: O,
acoesVisiveis: d,
colunaOrdenacao: c,
direcaoOrdenacao: m,
@@ -4412,32 +4546,32 @@ function x$(e, n, r, o, t) {
acoesInferiores: Z,
temAcoesSuperiores: b,
temAcoesInferiores: _,
- parametrosConsultaAtuais: I,
+ parametrosConsultaAtuais: S,
carregar: z,
alternarOrdenacao: M,
- atualizarBusca: _e,
- irParaPagina: je
+ atualizarBusca: he,
+ irParaPagina: De
};
}
-function T$(e, n, r, o) {
- const t = La(e.tabela.nome), i = L(t.linhas), a = L(t.formula ?? ""), l = L(!1), s = D(() => (e.tabela.filtroAvancado ?? []).length > 0), u = D(() => {
- const j = e.tabela.filtroAvancado ?? [], w = (i.value ?? []).filter((b) => b && b.chave !== void 0);
+function Ab(e, n, r, o) {
+ const t = Ra(e.tabela.nome), i = L(t.linhas), a = L(t.formula ?? ""), l = L(!1), s = D(() => (e.tabela.filtroAvancado ?? []).length > 0), u = D(() => {
+ const O = e.tabela.filtroAvancado ?? [], w = (i.value ?? []).filter((b) => b && b.chave !== void 0);
if (w.length === 0) return [];
const C = w.map((b) => {
- const _ = j.find((J) => String(J.chave) === String(b.chave));
+ const _ = O.find((B) => String(B.chave) === String(b.chave));
if (!_) return null;
- const I = _.filtro(b.valor);
- return I ? { chave: b.chave, condicao: I } : null;
+ const S = _.filtro(b.valor);
+ return S ? { chave: b.chave, condicao: S } : null;
}).filter((b) => b !== null);
if (C.length === 0) return [];
if (a.value && C.length > 1) {
const b = [];
let _ = a.value;
- return C.forEach(({ chave: I }, J) => {
- _ = _.replace(new RegExp(`\\{${I}\\}`, "g"), `{c${J + 1}}`);
- }), C.forEach(({ condicao: I }, J) => {
- const z = `{c${J + 1}}`;
- b.push({ ...I, id: z });
+ return C.forEach(({ chave: S }, B) => {
+ _ = _.replace(new RegExp(`\\{${S}\\}`, "g"), `{c${B + 1}}`);
+ }), C.forEach(({ condicao: S }, B) => {
+ const z = `{c${B + 1}}`;
+ b.push({ ...S, id: z });
}), [{ condicoes: b, formula: _ }];
}
const P = C.map(
@@ -4455,10 +4589,10 @@ function T$(e, n, r, o) {
l.value = !1;
}
function m() {
- i.value = [], a.value = "", E$(e.tabela.nome), l.value = !1, r.value = "", n.value !== 1 ? n.value = 1 : o();
+ i.value = [], a.value = "", Ub(e.tabela.nome), l.value = !1, r.value = "", n.value !== 1 ? n.value = 1 : o();
}
- function f(j, w) {
- i.value = j ?? [], a.value = w ?? "", j$(e.tabela.nome, {
+ function f(O, w) {
+ i.value = O ?? [], a.value = w ?? "", Eb(e.tabela.nome, {
linhas: i.value,
formula: a.value
}), l.value = !1, r.value = "", n.value !== 1 ? n.value = 1 : o();
@@ -4474,8 +4608,8 @@ function T$(e, n, r, o) {
in: "em",
"∩": "possui"
};
- function g(j, w) {
- const [C, P] = Array.isArray(j) ? j : [j, {}];
+ function g(O, w) {
+ const [C, P] = Array.isArray(O) ? O : [O, {}];
if (C === "confirmacao") {
const Z = P || {};
return w === !0 ? Z.rotuloAtivo || "Sim" : w === !1 ? Z.rotuloInativo || "Não" : String(w);
@@ -4485,10 +4619,10 @@ function T$(e, n, r, o) {
const Z = P.itens();
if (Array.isArray(Z)) {
const b = (_) => {
- const I = Z.find(
- (J) => String(J.chave) === String(_)
+ const S = Z.find(
+ (B) => String(B.chave) === String(_)
);
- return I ? I.rotulo : _;
+ return S ? S.rotulo : _;
};
return Array.isArray(w) ? w.map((_) => b(String(_))).join(", ") : b(String(w));
}
@@ -4497,14 +4631,14 @@ function T$(e, n, r, o) {
return Array.isArray(w) ? w.map(String).join(", ") : String(w);
}
const x = D(() => {
- const j = e.tabela.filtroAvancado ?? [], w = (i.value ?? []).filter((P) => P && P.chave !== void 0), C = [];
+ const O = e.tabela.filtroAvancado ?? [], w = (i.value ?? []).filter((P) => P && P.chave !== void 0), C = [];
for (const P of w) {
- const Z = j.find((b) => String(b.chave) === String(P.chave));
+ const Z = O.find((b) => String(b.chave) === String(P.chave));
if (Z) {
const b = Z.filtro(P.valor);
if (b) {
- const _ = h[b.operador] || b.operador, I = g(Z.entrada, b.valor);
- C.push(`${Z.rotulo} ${_} "${I}"`);
+ const _ = h[b.operador] || b.operador, S = g(Z.entrada, b.valor);
+ C.push(`${Z.rotulo} ${_} "${S}"`);
}
}
}
@@ -4523,11 +4657,11 @@ function T$(e, n, r, o) {
salvarFiltrosAvancados: f
};
}
-function A$(e, n) {
+function Nb(e, n) {
const r = L(null), o = L(null), t = L({ top: 0, left: 0 });
function i(d) {
- var j, w, C, P;
- const c = d.getBoundingClientRect(), m = 8, f = ((w = (j = o.value) == null ? void 0 : j.menuEl) == null ? void 0 : w.offsetHeight) ?? 0, h = ((P = (C = o.value) == null ? void 0 : C.menuEl) == null ? void 0 : P.offsetWidth) ?? 180;
+ var O, w, C, P;
+ const c = d.getBoundingClientRect(), m = 8, f = ((w = (O = o.value) == null ? void 0 : O.menuEl) == null ? void 0 : w.offsetHeight) ?? 0, h = ((P = (C = o.value) == null ? void 0 : C.menuEl) == null ? void 0 : P.offsetWidth) ?? 180;
let g = c.bottom + m;
const x = c.right - h;
f && g + f > window.innerHeight - m && (g = c.top - m - f), t.value = {
@@ -4559,13 +4693,13 @@ function A$(e, n) {
}
r.value = d;
const m = (c == null ? void 0 : c.currentTarget) ?? null;
- m && (i(m), _r(() => {
+ m && (i(m), kr(() => {
r.value !== null && i(m);
}));
}
- return nt(() => document.addEventListener("click", a)), St(() => document.removeEventListener("click", a)), { menuAberto: r, menuPopup: o, menuPopupPos: t, possuiAcoes: s, toggleMenu: u, acoesDisponiveisPorLinha: l };
+ return rt(() => document.addEventListener("click", a)), St(() => document.removeEventListener("click", a)), { menuAberto: r, menuPopup: o, menuPopupPos: t, possuiAcoes: s, toggleMenu: u, acoesDisponiveisPorLinha: l };
}
-function N$(e, n, r) {
+function Pb(e, n, r) {
const o = D(() => !!e.tabela.mostrar_selecao), t = D(() => e.tabela.chave_selecao);
function i(c) {
return t.value && c && typeof c == "object" ? c[t.value] : c;
@@ -4601,11 +4735,11 @@ function N$(e, n, r) {
alternarSelecaoTodos: d
};
}
-function P$(e, n) {
+function Cb(e, n) {
const r = L(1), o = L("");
let t = async () => {
};
- const a = T$(e, r, o, () => t()), l = L(!1), s = U$(e, l), u = x$(
+ const a = Ab(e, r, o, () => t()), l = L(!1), s = xb(e, l), u = Tb(
e,
a.filtrosAvancadosAtivos,
r,
@@ -4615,15 +4749,15 @@ function P$(e, n) {
t = u.carregar, l.value = u.temAcoes.value, ze(u.temAcoes, (m) => {
l.value = m;
});
- const d = N$(e, n, u.linhasPaginadas), c = A$(e, u.acoesVisiveis);
+ const d = Pb(e, n, u.linhasPaginadas), c = Nb(e, u.acoesVisiveis);
return ze(
() => e.tabela,
() => {
- c.menuAberto.value = null, u.colunaOrdenacao.value = null, u.direcaoOrdenacao.value = "asc", o.value = "", s.modalColunasAberto.value = !1, a.modalFiltroAberto.value = !1, s.configColunas.value = Fa(e.tabela.nome);
- const m = La(e.tabela.nome);
+ c.menuAberto.value = null, u.colunaOrdenacao.value = null, u.direcaoOrdenacao.value = "asc", o.value = "", s.modalColunasAberto.value = !1, a.modalFiltroAberto.value = !1, s.configColunas.value = La(e.tabela.nome);
+ const m = Ra(e.tabela.nome);
a.filtrosUi.value = m.linhas, s.linhasExpandidas.value = {}, r.value !== 1 ? r.value = 1 : u.carregar();
}
- ), nt(() => void u.carregar()), {
+ ), rt(() => void u.carregar()), {
...u,
...a,
...d,
@@ -4638,18 +4772,18 @@ function P$(e, n) {
valorBusca: o
};
}
-const C$ = te({
+const Zb = te({
name: "EliTabela",
inheritAttrs: !1,
components: {
- EliTabelaCabecalho: qg,
- EliTabelaEstados: Qg,
- EliTabelaHead: dh,
- EliTabelaBody: Eg,
+ EliTabelaCabecalho: Wg,
+ EliTabelaEstados: eh,
+ EliTabelaHead: mh,
+ EliTabelaBody: Ug,
EliTabelaMenuAcoes: $h,
- EliTabelaPaginacao: z$,
- EliTabelaModalColunas: Fh,
- EliTabelaModalFiltroAvancado: v$
+ EliTabelaPaginacao: Db,
+ EliTabelaModalColunas: Lh,
+ EliTabelaModalFiltroAvancado: pb
},
props: {
/** Configuração principal da tabela (colunas, consulta e ações) */
@@ -4671,12 +4805,12 @@ const C$ = te({
},
emits: ["update:selecionados"],
setup(e, { emit: n }) {
- return P$(e, n);
+ return Cb(e, n);
}
-}), Z$ = { class: "eli-tabela" }, M$ = { class: "eli-tabela__table-wrapper" }, F$ = { class: "eli-tabela__table" }, L$ = { key: 0 }, R$ = ["colspan"];
-function B$(e, n, r, o, t, i) {
+}), Mb = { class: "eli-tabela" }, Fb = { class: "eli-tabela__table-wrapper" }, Lb = { class: "eli-tabela__table" }, Rb = { key: 0 }, Bb = ["colspan"];
+function Vb(e, n, r, o, t, i) {
const a = Q("EliTabelaCabecalho"), l = Q("EliTabelaModalColunas"), s = Q("EliTabelaModalFiltroAvancado"), u = Q("EliTabelaHead"), d = Q("EliTabelaEstados"), c = Q("EliTabelaBody"), m = Q("EliTabelaMenuAcoes"), f = Q("EliTabelaPaginacao");
- return $(), k("div", Z$, [
+ return $(), k("div", Mb, [
e.exibirBusca || e.temAcoesSuperiores ? ($(), ie(a, {
key: 0,
exibirBusca: e.exibirBusca,
@@ -4706,8 +4840,8 @@ function B$(e, n, r, o, t, i) {
onLimpar: e.limparFiltrosAvancados,
onSalvar: e.salvarFiltrosAvancados
}, null, 8, ["aberto", "filtrosBase", "modelo", "modeloFormula", "onFechar", "onLimpar", "onSalvar"]),
- p("div", M$, [
- p("table", F$, [
+ p("div", Fb, [
+ p("table", Lb, [
F(u, {
colunas: e.colunasEfetivas,
temAcoes: e.temAcoes,
@@ -4720,7 +4854,7 @@ function B$(e, n, r, o, t, i) {
onAlternarOrdenacao: e.alternarOrdenacao,
onAlternarSelecaoTodos: e.alternarSelecaoTodos
}, null, 8, ["colunas", "temAcoes", "temColunasInvisiveis", "colunaOrdenacao", "direcaoOrdenacao", "mostrarSelecao", "todosSelecionados", "algunsSelecionados", "onAlternarOrdenacao", "onAlternarSelecaoTodos"]),
- e.carregando || e.erro || !e.linhas.length ? ($(), k("tbody", L$, [
+ e.carregando || e.erro || !e.linhas.length ? ($(), k("tbody", Rb, [
p("tr", null, [
p("td", {
colspan: e.totalColunas,
@@ -4732,7 +4866,7 @@ function B$(e, n, r, o, t, i) {
mensagemVazio: e.tabela.mensagemVazio,
class: "eli-tabela__estados-inline"
}, null, 8, ["carregando", "erro", "mensagemVazio"])
- ], 8, R$)
+ ], 8, Bb)
])
])) : ($(), ie(c, {
key: 1,
@@ -4773,8 +4907,8 @@ function B$(e, n, r, o, t, i) {
}, null, 8, ["pagina", "totalPaginas", "maximoBotoes", "acoes", "parametrosConsulta", "onAlterar"])) : K("", !0)
]);
}
-const V$ = /* @__PURE__ */ ne(C$, [["render", B$]]), MS = (e, n) => [e, n];
-function J$(e, n) {
+const Jb = /* @__PURE__ */ ne(Zb, [["render", Vb]]), FS = (e, n) => [e, n];
+function qb(e, n) {
const r = [
`## Elemento: ${e.seletor}`,
"",
@@ -4789,7 +4923,7 @@ function J$(e, n) {
return e.textoVisivel && r.push(`- **Texto visível:** "${e.textoVisivel}"`), r.join(`
`);
}
-function q$(e) {
+function Wb(e) {
const n = [
"# Relatório de Feedback de Interface",
"",
@@ -4811,7 +4945,7 @@ function q$(e) {
return n.join(`
`);
}
-function G$(e) {
+function Gb(e) {
const n = {};
for (const a of Array.from(e.attributes))
a.name.startsWith("data-") && (n[a.name] = a.value);
@@ -4832,15 +4966,15 @@ function G$(e) {
caminhoDom: o.join(" > ")
};
}
-const dr = "eli-feedback-items";
-function W$() {
+const fr = "eli-feedback-items";
+function Kb() {
return `fb-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 7)}`;
}
-function K$() {
+function Xb() {
const e = L("inativo"), n = L(null), r = L(""), o = L(null), t = L(!1), i = L(!1);
function a() {
try {
- const z = localStorage.getItem(dr);
+ const z = localStorage.getItem(fr);
return z ? JSON.parse(z) : [];
} catch {
return [];
@@ -4848,7 +4982,7 @@ function K$() {
}
const l = L(a()), s = D(() => l.value.length);
function u() {
- localStorage.setItem(dr, JSON.stringify(l.value));
+ localStorage.setItem(fr, JSON.stringify(l.value));
}
let d = null;
function c() {
@@ -4882,29 +5016,29 @@ function K$() {
M.closest("#eli-feedback-widget") || M.id === "eli-feedback-overlay" || (o.value = M, f(M));
}
function g() {
- document.removeEventListener("mousemove", h, !0), document.removeEventListener("click", x, !0), document.removeEventListener("keydown", j, !0), document.body.style.cursor = "", d && (d.style.display = "none");
+ document.removeEventListener("mousemove", h, !0), document.removeEventListener("click", x, !0), document.removeEventListener("keydown", O, !0), document.body.style.cursor = "", d && (d.style.display = "none");
}
function x(z) {
z.preventDefault(), z.stopPropagation(), z.stopImmediatePropagation();
const M = z.target;
if (M.closest("#eli-feedback-widget") || M.id === "eli-feedback-overlay") return;
- const _e = G$(M), je = e.value;
- if (g(), je === "selecionando-copiar") {
- const O = J$(_e, window.location.href);
- navigator.clipboard.writeText(O).then(() => {
+ const he = Gb(M), De = e.value;
+ if (g(), De === "selecionando-copiar") {
+ const j = qb(he, window.location.href);
+ navigator.clipboard.writeText(j).then(() => {
i.value = !0, setTimeout(() => {
i.value = !1;
}, 1500);
}).catch(() => {
}), e.value = "inativo", m();
} else
- n.value = _e, e.value = "comentando";
+ n.value = he, e.value = "comentando";
}
- function j(z) {
+ function O(z) {
z.key === "Escape" && Z();
}
function w() {
- n.value = null, r.value = "", t.value = !1, c(), document.body.style.cursor = "crosshair", document.addEventListener("mousemove", h, !0), document.addEventListener("click", x, !0), document.addEventListener("keydown", j, !0);
+ n.value = null, r.value = "", t.value = !1, c(), document.body.style.cursor = "crosshair", document.addEventListener("mousemove", h, !0), document.addEventListener("click", x, !0), document.addEventListener("keydown", O, !0);
}
function C() {
e.value = "selecionando", w();
@@ -4918,7 +5052,7 @@ function K$() {
function b() {
if (!n.value || !r.value.trim()) return;
const z = {
- id: W$(),
+ id: Kb(),
criadoEm: (/* @__PURE__ */ new Date()).toISOString(),
elemento: n.value,
comentario: r.value.trim(),
@@ -4928,13 +5062,13 @@ function K$() {
}
function _() {
if (!l.value.length) return;
- const z = q$(l.value), M = new Blob([z], { type: "text/markdown;charset=utf-8" }), _e = URL.createObjectURL(M);
- window.open(_e, "_blank");
+ const z = Wb(l.value), M = new Blob([z], { type: "text/markdown;charset=utf-8" }), he = URL.createObjectURL(M);
+ window.open(he, "_blank");
}
- function I() {
- l.value = [], localStorage.removeItem(dr);
+ function S() {
+ l.value = [], localStorage.removeItem(fr);
}
- function J(z) {
+ function B(z) {
l.value = l.value.filter((M) => M.id !== z), u();
}
return St(() => {
@@ -4952,11 +5086,11 @@ function K$() {
cancelarSelecao: Z,
salvarFeedback: b,
exportarMarkdown: _,
- limparTodos: I,
- removerItem: J
+ limparTodos: S,
+ removerItem: B
};
}
-const X$ = te({
+const Hb = te({
name: "EliFeedbackWidget",
setup() {
const e = L(null), n = L(!1), {
@@ -4972,7 +5106,7 @@ const X$ = te({
salvarFeedback: c,
exportarMarkdown: m,
limparTodos: f
- } = K$();
+ } = Xb();
function h() {
r.value !== "inativo" ? (d(), n.value = !1) : n.value = !n.value;
}
@@ -4982,12 +5116,12 @@ const X$ = te({
function x() {
n.value = !1, u();
}
- function j() {
+ function O() {
f(), n.value = !1;
}
return ze(r, async (w) => {
var C;
- w === "comentando" && (await _r(), (C = e.value) == null || C.focus());
+ w === "comentando" && (await kr(), (C = e.value) == null || C.focus());
}), {
textareaRef: e,
expandido: n,
@@ -5003,28 +5137,28 @@ const X$ = te({
cancelarSelecao: d,
salvarFeedback: c,
exportarMarkdown: m,
- confirmarLimpeza: j
+ confirmarLimpeza: O
};
}
-}), H$ = {
+}), Yb = {
id: "eli-feedback-widget",
class: "eli-feedback-fab"
-}, Y$ = {
+}, Qb = {
key: 0,
class: "eli-fb-acoes"
-}, Q$ = ["title"], eb = { key: 0 }, tb = { key: 1 }, nb = {
+}, e$ = ["title"], t$ = { key: 0 }, n$ = { key: 1 }, r$ = {
key: 2,
class: "eli-fb-badge"
-}, rb = {
+}, i$ = {
key: 1,
class: "eli-fb-tooltip-selecao"
-}, ib = { key: 0 }, ob = { key: 1 }, ab = {
+}, o$ = { key: 0 }, a$ = { key: 1 }, l$ = {
key: 2,
class: "eli-fb-painel"
-}, lb = { class: "eli-fb-painel-header" }, ub = { class: "eli-fb-painel-corpo" }, sb = { class: "eli-fb-el-info" }, cb = { key: 0 }, db = { key: 1 }, mb = { key: 2 }, fb = { class: "eli-fb-painel-acoes" }, vb = ["disabled"];
-function pb(e, n, r, o, t, i) {
- return $(), k("div", H$, [
- e.expandido && e.modo === "inativo" ? ($(), k("div", Y$, [
+}, u$ = { class: "eli-fb-painel-header" }, s$ = { class: "eli-fb-painel-corpo" }, c$ = { class: "eli-fb-el-info" }, d$ = { key: 0 }, m$ = { key: 1 }, f$ = { key: 2 }, v$ = { class: "eli-fb-painel-acoes" }, p$ = ["disabled"];
+function g$(e, n, r, o, t, i) {
+ return $(), k("div", Yb, [
+ e.expandido && e.modo === "inativo" ? ($(), k("div", Qb, [
p("button", {
class: "eli-fb-botao-ico eli-fb-botao-feedback",
title: "Adicionar feedback com comentário",
@@ -5034,13 +5168,13 @@ function pb(e, n, r, o, t, i) {
class: "eli-fb-botao-ico eli-fb-botao-copiar",
title: "Selecionar elemento e copiar dados",
onClick: n[1] || (n[1] = (...a) => e.aoIniciarCopia && e.aoIniciarCopia(...a))
- }, V(e.copiouElemento ? "✅" : "📋"), 1),
+ }, J(e.copiouElemento ? "✅" : "📋"), 1),
e.totalItens > 0 ? ($(), k("button", {
key: 0,
class: "eli-fb-botao-ico eli-fb-botao-exportar",
title: `Visualizar ${e.totalItens} feedback(s) em nova aba`,
onClick: n[2] || (n[2] = (...a) => e.exportarMarkdown && e.exportarMarkdown(...a))
- }, " 📄 ", 8, Q$)) : K("", !0),
+ }, " 📄 ", 8, e$)) : K("", !0),
e.totalItens > 0 ? ($(), k("button", {
key: 1,
class: "eli-fb-botao-ico eli-fb-botao-limpar",
@@ -5053,65 +5187,65 @@ function pb(e, n, r, o, t, i) {
title: "Ferramentas de feedback",
onClick: n[4] || (n[4] = (...a) => e.aoClicarFab && e.aoClicarFab(...a))
}, [
- e.modo === "inativo" && !e.expandido ? ($(), k("span", eb, "🐛")) : ($(), k("span", tb, "✕")),
- e.totalItens > 0 && e.modo === "inativo" && !e.expandido ? ($(), k("span", nb, V(e.totalItens), 1)) : K("", !0)
+ e.modo === "inativo" && !e.expandido ? ($(), k("span", t$, "🐛")) : ($(), k("span", n$, "✕")),
+ e.totalItens > 0 && e.modo === "inativo" && !e.expandido ? ($(), k("span", r$, J(e.totalItens), 1)) : K("", !0)
]),
- e.modo === "selecionando" || e.modo === "selecionando-copiar" ? ($(), k("div", rb, [
- e.modo === "selecionando" ? ($(), k("span", ib, "🎯 Clique no elemento")) : ($(), k("span", ob, "📋 Clique para copiar")),
+ e.modo === "selecionando" || e.modo === "selecionando-copiar" ? ($(), k("div", i$, [
+ e.modo === "selecionando" ? ($(), k("span", o$, "🎯 Clique no elemento")) : ($(), k("span", a$, "📋 Clique para copiar")),
n[10] || (n[10] = p("span", { class: "eli-fb-tooltip-esc" }, [
p("kbd", null, "ESC"),
ae(" cancela")
], -1))
])) : K("", !0),
- e.modo === "comentando" && e.elementoSelecionado ? ($(), k("div", ab, [
- p("div", lb, [
+ e.modo === "comentando" && e.elementoSelecionado ? ($(), k("div", l$, [
+ p("div", u$, [
n[11] || (n[11] = p("h3", null, "💬 Adicionar Feedback", -1)),
p("button", {
class: "eli-fb-painel-fechar",
onClick: n[5] || (n[5] = (...a) => e.cancelarSelecao && e.cancelarSelecao(...a))
}, "✕")
]),
- p("div", ub, [
- p("div", sb, [
+ p("div", s$, [
+ p("div", c$, [
p("div", null, [
n[12] || (n[12] = p("strong", null, "Seletor:", -1)),
n[13] || (n[13] = ae()),
- p("code", null, V(e.elementoSelecionado.seletor), 1)
+ p("code", null, J(e.elementoSelecionado.seletor), 1)
]),
p("div", null, [
n[14] || (n[14] = p("strong", null, "Tag:", -1)),
n[15] || (n[15] = ae()),
- p("code", null, "<" + V(e.elementoSelecionado.tag) + ">", 1)
+ p("code", null, "<" + J(e.elementoSelecionado.tag) + ">", 1)
]),
- e.elementoSelecionado.id ? ($(), k("div", cb, [
+ e.elementoSelecionado.id ? ($(), k("div", d$, [
n[16] || (n[16] = p("strong", null, "ID:", -1)),
n[17] || (n[17] = ae()),
- p("code", null, V(e.elementoSelecionado.id), 1)
+ p("code", null, J(e.elementoSelecionado.id), 1)
])) : K("", !0),
- e.elementoSelecionado.classes.length ? ($(), k("div", db, [
+ e.elementoSelecionado.classes.length ? ($(), k("div", m$, [
n[18] || (n[18] = p("strong", null, "Classes:", -1)),
- p("code", null, V(e.elementoSelecionado.classes.join(", ")), 1)
+ p("code", null, J(e.elementoSelecionado.classes.join(", ")), 1)
])) : K("", !0),
p("div", null, [
n[19] || (n[19] = p("strong", null, "Caminho:", -1)),
n[20] || (n[20] = ae()),
- p("code", null, V(e.elementoSelecionado.caminhoDom), 1)
+ p("code", null, J(e.elementoSelecionado.caminhoDom), 1)
]),
- e.elementoSelecionado.textoVisivel ? ($(), k("div", mb, [
+ e.elementoSelecionado.textoVisivel ? ($(), k("div", f$, [
n[21] || (n[21] = p("strong", null, "Texto:", -1)),
- ae(' "' + V(e.elementoSelecionado.textoVisivel) + '" ', 1)
+ ae(' "' + J(e.elementoSelecionado.textoVisivel) + '" ', 1)
])) : K("", !0)
]),
- dn(p("textarea", {
+ mn(p("textarea", {
ref: "textareaRef",
"onUpdate:modelValue": n[6] || (n[6] = (a) => e.comentario = a),
class: "eli-fb-textarea",
placeholder: "Descreva o problema, sugestão ou observação...",
onKeydown: n[7] || (n[7] = It(me((...a) => e.salvarFeedback && e.salvarFeedback(...a), ["ctrl"]), ["enter"]))
}, null, 544), [
- [kr, e.comentario]
+ [Ir, e.comentario]
]),
- p("div", fb, [
+ p("div", v$, [
p("button", {
class: "eli-fb-btn-cancelar",
onClick: n[8] || (n[8] = (...a) => e.cancelarSelecao && e.cancelarSelecao(...a))
@@ -5120,18 +5254,18 @@ function pb(e, n, r, o, t, i) {
class: "eli-fb-btn-salvar",
disabled: !e.comentario.trim(),
onClick: n[9] || (n[9] = (...a) => e.salvarFeedback && e.salvarFeedback(...a))
- }, " Salvar ✓ ", 8, vb)
+ }, " Salvar ✓ ", 8, p$)
])
])
])) : K("", !0)
]);
}
-const gb = /* @__PURE__ */ ne(X$, [["render", pb]]), hb = te({
+const h$ = /* @__PURE__ */ ne(Hb, [["render", g$]]), b$ = te({
name: "EliOlaMundo",
components: {
- EliBotao: Sa,
- EliBadge: Sr,
- EliEntradaTexto: wr
+ EliBotao: Ia,
+ EliBadge: wr,
+ EliEntradaTexto: Dr
},
setup() {
const e = L(""), n = L(""), r = L(""), o = L(""), t = L("");
@@ -5143,12 +5277,12 @@ const gb = /* @__PURE__ */ ne(X$, [["render", pb]]), hb = te({
cep: n
};
}
-}), $b = { class: "grid-example" };
-function bb(e, n, r, o, t, i) {
+}), $$ = { class: "grid-example" };
+function _$(e, n, r, o, t, i) {
const a = Q("EliBadge"), l = Q("EliEntradaTexto"), s = Q("EliBotao");
- return $(), ie(Ym, null, {
+ return $(), ie(Qm, null, {
default: de(() => [
- F(ha, {
+ F(ba, {
class: "mx-auto",
max_width: "400"
}, {
@@ -5168,10 +5302,10 @@ function bb(e, n, r, o, t, i) {
]),
_: 1
}),
- F(ba, null, {
+ F(_a, null, {
default: de(() => [
n[6] || (n[6] = ae(" Este é um componente de exemplo integrado com Vuetify. ", -1)),
- p("div", $b, [
+ p("div", $$, [
F(l, {
value: e.nome,
"onUpdate:value": n[0] || (n[0] = (u) => e.nome = u),
@@ -5202,7 +5336,7 @@ function bb(e, n, r, o, t, i) {
]),
_: 1
}),
- F(_a, null, {
+ F(ya, null, {
default: de(() => [
F(s, {
color: "primary",
@@ -5224,9 +5358,9 @@ function bb(e, n, r, o, t, i) {
_: 1
});
}
-const _b = /* @__PURE__ */ ne(hb, [["render", bb]]);
-var Jo;
-const Ba = /* @__PURE__ */ Object.freeze({
+const y$ = /* @__PURE__ */ ne(b$, [["render", _$]]);
+var qo;
+const Va = /* @__PURE__ */ Object.freeze({
status: "aborted"
});
function v(e, n, r) {
@@ -5266,43 +5400,43 @@ function v(e, n, r) {
}
}), Object.defineProperty(a, "name", { value: e }), a;
}
-const Va = Symbol("zod_brand");
-class Ye extends Error {
+const Ja = Symbol("zod_brand");
+class Qe extends Error {
constructor() {
super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
}
}
-class _n extends Error {
+class yn extends Error {
constructor(n) {
super(`Encountered unidirectional transform during encode: ${n}`), this.name = "ZodEncodeError";
}
}
-(Jo = globalThis).__zod_globalConfig ?? (Jo.__zod_globalConfig = {});
+(qo = globalThis).__zod_globalConfig ?? (qo.__zod_globalConfig = {});
const wt = globalThis.__zod_globalConfig;
function Ie(e) {
return e && Object.assign(wt, e), wt;
}
-function yb(e) {
+function k$(e) {
return e;
}
-function kb(e) {
+function S$(e) {
return e;
}
-function Sb(e) {
+function I$(e) {
}
-function Ib(e) {
+function w$(e) {
throw new Error("Unexpected value in exhaustive check");
}
-function wb(e) {
+function z$(e) {
}
-function Dr(e) {
+function jr(e) {
const n = Object.values(e).filter((o) => typeof o == "number");
return Object.entries(e).filter(([o, t]) => n.indexOf(+o) === -1).map(([o, t]) => t);
}
-function S(e, n = "|") {
+function I(e, n = "|") {
return e.map((r) => R(r)).join(n);
}
-function fn(e, n) {
+function vn(e, n) {
return typeof n == "bigint" ? n.toString() : n;
}
function Ut(e) {
@@ -5315,24 +5449,24 @@ function Ut(e) {
}
};
}
-function rt(e) {
+function it(e) {
return e == null;
}
-function yn(e) {
+function kn(e) {
const n = e.startsWith("^") ? 1 : 0, r = e.endsWith("$") ? e.length - 1 : e.length;
return e.slice(n, r);
}
-function Ja(e, n) {
+function qa(e, n) {
const r = e / n, o = Math.round(r), t = Number.EPSILON * Math.max(Math.abs(r), 1);
return Math.abs(r - o) < t ? 0 : r - o;
}
-const qo = /* @__PURE__ */ Symbol("evaluating");
+const Wo = /* @__PURE__ */ Symbol("evaluating");
function Y(e, n, r) {
let o;
Object.defineProperty(e, n, {
get() {
- if (o !== qo)
- return o === void 0 && (o = qo, o = r()), o;
+ if (o !== Wo)
+ return o === void 0 && (o = Wo, o = r()), o;
},
set(t) {
Object.defineProperty(e, n, {
@@ -5343,7 +5477,7 @@ function Y(e, n, r) {
configurable: !0
});
}
-function zb(e) {
+function D$(e) {
return Object.create(Object.getPrototypeOf(e), Object.getOwnPropertyDescriptors(e));
}
function Xe(e, n, r) {
@@ -5362,13 +5496,13 @@ function Re(...e) {
}
return Object.defineProperties({}, n);
}
-function Db(e) {
+function O$(e) {
return Re(e._zod.def);
}
-function Ob(e, n) {
+function j$(e, n) {
return n ? n.reduce((r, o) => r == null ? void 0 : r[o], e) : e;
}
-function jb(e) {
+function E$(e) {
const n = Object.keys(e), r = n.map((o) => e[o]);
return Promise.all(r).then((o) => {
const t = {};
@@ -5377,20 +5511,20 @@ function jb(e) {
return t;
});
}
-function Eb(e = 10) {
+function U$(e = 10) {
const n = "abcdefghijklmnopqrstuvwxyz";
let r = "";
for (let o = 0; o < e; o++)
r += n[Math.floor(Math.random() * n.length)];
return r;
}
-function vr(e) {
+function gr(e) {
return JSON.stringify(e);
}
-function qa(e) {
+function Wa(e) {
return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
}
-const Or = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
+const Er = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
};
function st(e) {
return typeof e == "object" && e !== null && !Array.isArray(e);
@@ -5406,7 +5540,7 @@ const Ga = /* @__PURE__ */ Ut(() => {
return !1;
}
});
-function Qe(e) {
+function et(e) {
if (st(e) === !1)
return !1;
const n = e.constructor;
@@ -5415,16 +5549,16 @@ function Qe(e) {
const r = n.prototype;
return !(st(r) === !1 || Object.prototype.hasOwnProperty.call(r, "isPrototypeOf") === !1);
}
-function kn(e) {
- return Qe(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
+function Sn(e) {
+ return et(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
}
-function Ub(e) {
+function x$(e) {
let n = 0;
for (const r in e)
Object.prototype.hasOwnProperty.call(e, r) && n++;
return n;
}
-const xb = (e) => {
+const T$ = (e) => {
const n = typeof e;
switch (n) {
case "undefined":
@@ -5446,7 +5580,7 @@ const xb = (e) => {
default:
throw new Error(`Unknown data type: ${n}`);
}
-}, vn = /* @__PURE__ */ new Set(["string", "number", "symbol"]), Wa = /* @__PURE__ */ new Set([
+}, pn = /* @__PURE__ */ new Set(["string", "number", "symbol"]), Ka = /* @__PURE__ */ new Set([
"string",
"number",
"bigint",
@@ -5474,7 +5608,7 @@ function y(e) {
}
return delete n.message, typeof n.error == "string" ? { ...n, error: () => n.error } : n;
}
-function Tb(e) {
+function A$(e) {
let n;
return new Proxy({}, {
get(r, o, t) {
@@ -5503,20 +5637,20 @@ function Tb(e) {
function R(e) {
return typeof e == "bigint" ? e.toString() + "n" : typeof e == "string" ? `"${e}"` : `${e}`;
}
-function Ka(e) {
+function Xa(e) {
return Object.keys(e).filter((n) => e[n]._zod.optin === "optional" && e[n]._zod.optout === "optional");
}
-const Xa = {
+const Ha = {
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]
-}, Ha = {
+}, Ya = {
int64: [/* @__PURE__ */ BigInt("-9223372036854775808"), /* @__PURE__ */ BigInt("9223372036854775807")],
uint64: [/* @__PURE__ */ BigInt(0), /* @__PURE__ */ BigInt("18446744073709551615")]
};
-function Ya(e, n) {
+function Qa(e, n) {
const r = e._zod.def, o = r.checks;
if (o && o.length > 0)
throw new Error(".pick() cannot be used on object schemas containing refinements");
@@ -5534,7 +5668,7 @@ function Ya(e, n) {
});
return Ce(e, i);
}
-function Qa(e, n) {
+function el(e, n) {
const r = e._zod.def, o = r.checks;
if (o && o.length > 0)
throw new Error(".omit() cannot be used on object schemas containing refinements");
@@ -5552,8 +5686,8 @@ function Qa(e, n) {
});
return Ce(e, i);
}
-function el(e, n) {
- if (!Qe(n))
+function tl(e, n) {
+ if (!et(n))
throw new Error("Invalid input to extend: expected a plain object");
const r = e._zod.def.checks;
if (r && r.length > 0) {
@@ -5570,8 +5704,8 @@ function el(e, n) {
});
return Ce(e, t);
}
-function tl(e, n) {
- if (!Qe(n))
+function nl(e, n) {
+ if (!et(n))
throw new Error("Invalid input to safeExtend: expected a plain object");
const r = Re(e._zod.def, {
get shape() {
@@ -5581,7 +5715,7 @@ function tl(e, n) {
});
return Ce(e, r);
}
-function nl(e, n) {
+function rl(e, n) {
var o;
if ((o = e._zod.def.checks) != null && o.length)
throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
@@ -5597,7 +5731,7 @@ function nl(e, n) {
});
return Ce(e, r);
}
-function rl(e, n, r) {
+function il(e, n, r) {
const t = n._zod.def.checks;
if (t && t.length > 0)
throw new Error(".partial() cannot be used on object schemas containing refinements");
@@ -5625,7 +5759,7 @@ function rl(e, n, r) {
});
return Ce(n, a);
}
-function il(e, n, r) {
+function ol(e, n, r) {
const o = Re(n._zod.def, {
get shape() {
const t = n._zod.def.shape, i = { ...t };
@@ -5649,7 +5783,7 @@ function il(e, n, r) {
});
return Ce(n, o);
}
-function He(e, n = 0) {
+function Ye(e, n = 0) {
var r;
if (e.aborted === !0)
return !0;
@@ -5658,7 +5792,7 @@ function He(e, n = 0) {
return !0;
return !1;
}
-function ol(e, n = 0) {
+function al(e, n = 0) {
var r;
if (e.aborted === !0)
return !0;
@@ -5681,13 +5815,13 @@ function Ue(e, n, r) {
const o = e.message ? e.message : kt((d = (u = (s = e.inst) == null ? void 0 : s._zod.def) == null ? void 0 : u.error) == null ? void 0 : d.call(u, e)) ?? kt((c = n == null ? void 0 : n.error) == null ? void 0 : c.call(n, e)) ?? kt((m = r.customError) == null ? void 0 : m.call(r, e)) ?? kt((f = r.localeError) == null ? void 0 : f.call(r, e)) ?? "Invalid input", { inst: t, continue: i, input: a, ...l } = e;
return l.path ?? (l.path = []), l.message = o, n != null && n.reportInput && (l.input = a), l;
}
-function Sn(e) {
+function In(e) {
return e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof File ? "file" : "unknown";
}
-function In(e) {
+function wn(e) {
return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
}
-function B(e) {
+function V(e) {
const n = typeof e;
switch (n) {
case "number":
@@ -5713,29 +5847,29 @@ function ct(...e) {
inst: o
} : { ...n };
}
-function Ab(e) {
+function N$(e) {
return Object.entries(e).filter(([n, r]) => Number.isNaN(Number.parseInt(n, 10))).map((n) => n[1]);
}
-function al(e) {
+function ll(e) {
const n = atob(e), r = new Uint8Array(n.length);
for (let o = 0; o < n.length; o++)
r[o] = n.charCodeAt(o);
return r;
}
-function ll(e) {
+function ul(e) {
let n = "";
for (let r = 0; r < e.length; r++)
n += String.fromCharCode(e[r]);
return btoa(n);
}
-function Nb(e) {
+function P$(e) {
const n = e.replace(/-/g, "+").replace(/_/g, "/"), r = "=".repeat((4 - n.length % 4) % 4);
- return al(n + r);
+ return ll(n + r);
}
-function Pb(e) {
- return ll(e).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");
+function C$(e) {
+ return ul(e).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");
}
-function Cb(e) {
+function Z$(e) {
const n = e.replace(/^0x/, "");
if (n.length % 2 !== 0)
throw new Error("Invalid hex string length");
@@ -5744,97 +5878,97 @@ function Cb(e) {
r[o / 2] = Number.parseInt(n.slice(o, o + 2), 16);
return r;
}
-function Zb(e) {
+function M$(e) {
return Array.from(e).map((n) => n.toString(16).padStart(2, "0")).join("");
}
-class Mb {
+class F$ {
constructor(...n) {
}
}
-const ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+const sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
- BIGINT_FORMAT_RANGES: Ha,
- Class: Mb,
- NUMBER_FORMAT_RANGES: Xa,
- aborted: He,
+ BIGINT_FORMAT_RANGES: Ya,
+ Class: F$,
+ NUMBER_FORMAT_RANGES: Ha,
+ aborted: Ye,
allowsEval: Ga,
- assert: wb,
- assertEqual: yb,
- assertIs: Sb,
- assertNever: Ib,
- assertNotEqual: kb,
+ assert: z$,
+ assertEqual: k$,
+ assertIs: I$,
+ assertNever: w$,
+ assertNotEqual: S$,
assignProp: Xe,
- base64ToUint8Array: al,
- base64urlToUint8Array: Nb,
+ base64ToUint8Array: ll,
+ base64urlToUint8Array: P$,
cached: Ut,
- captureStackTrace: Or,
- cleanEnum: Ab,
- cleanRegex: yn,
+ captureStackTrace: Er,
+ cleanEnum: N$,
+ cleanRegex: kn,
clone: Ce,
- cloneDef: Db,
- createTransparentProxy: Tb,
+ cloneDef: O$,
+ createTransparentProxy: A$,
defineLazy: Y,
- esc: vr,
+ esc: gr,
escapeRegex: Be,
- explicitlyAborted: ol,
- extend: el,
+ explicitlyAborted: al,
+ extend: tl,
finalizeIssue: Ue,
- floatSafeRemainder: Ja,
- getElementAtPath: Ob,
- getEnumValues: Dr,
- getLengthableOrigin: In,
- getParsedType: xb,
- getSizableOrigin: Sn,
- hexToUint8Array: Cb,
+ floatSafeRemainder: qa,
+ getElementAtPath: j$,
+ getEnumValues: jr,
+ getLengthableOrigin: wn,
+ getParsedType: T$,
+ getSizableOrigin: In,
+ hexToUint8Array: Z$,
isObject: st,
- isPlainObject: Qe,
+ isPlainObject: et,
issue: ct,
- joinValues: S,
- jsonStringifyReplacer: fn,
- merge: nl,
+ joinValues: I,
+ jsonStringifyReplacer: vn,
+ merge: rl,
mergeDefs: Re,
normalizeParams: y,
- nullish: rt,
- numKeys: Ub,
- objectClone: zb,
- omit: Qa,
- optionalKeys: Ka,
- parsedType: B,
- partial: rl,
- pick: Ya,
+ nullish: it,
+ numKeys: x$,
+ objectClone: D$,
+ omit: el,
+ optionalKeys: Xa,
+ parsedType: V,
+ partial: il,
+ pick: Qa,
prefixIssues: Ae,
- primitiveTypes: Wa,
- promiseAllObject: jb,
- propertyKeyTypes: vn,
- randomString: Eb,
- required: il,
- safeExtend: tl,
- shallowClone: kn,
- slugify: qa,
+ primitiveTypes: Ka,
+ promiseAllObject: E$,
+ propertyKeyTypes: pn,
+ randomString: U$,
+ required: ol,
+ safeExtend: nl,
+ shallowClone: Sn,
+ slugify: Wa,
stringifyPrimitive: R,
- uint8ArrayToBase64: ll,
- uint8ArrayToBase64url: Pb,
- uint8ArrayToHex: Zb,
+ uint8ArrayToBase64: ul,
+ uint8ArrayToBase64url: C$,
+ uint8ArrayToHex: M$,
unwrapMessage: kt
-}, Symbol.toStringTag, { value: "Module" })), sl = (e, n) => {
+}, Symbol.toStringTag, { value: "Module" })), cl = (e, n) => {
e.name = "$ZodError", Object.defineProperty(e, "_zod", {
value: e._zod,
enumerable: !1
}), Object.defineProperty(e, "issues", {
value: n,
enumerable: !1
- }), e.message = JSON.stringify(n, fn, 2), Object.defineProperty(e, "toString", {
+ }), e.message = JSON.stringify(n, vn, 2), Object.defineProperty(e, "toString", {
value: () => e.message,
enumerable: !1
});
-}, jr = v("$ZodError", sl), xe = v("$ZodError", sl, { Parent: Error });
-function Er(e, n = (r) => r.message) {
+}, Ur = v("$ZodError", cl), xe = v("$ZodError", cl, { Parent: Error });
+function xr(e, n = (r) => r.message) {
const r = {}, o = [];
for (const t of e.issues)
t.path.length > 0 ? (r[t.path[0]] = r[t.path[0]] || [], r[t.path[0]].push(n(t))) : o.push(n(t));
return { formErrors: o, fieldErrors: r };
}
-function Ur(e, n = (r) => r.message) {
+function Tr(e, n = (r) => r.message) {
const r = { _errors: [] }, o = (t, i = []) => {
for (const a of t.issues)
if (a.code === "invalid_union" && a.errors.length)
@@ -5858,7 +5992,7 @@ function Ur(e, n = (r) => r.message) {
};
return o(e), r;
}
-function cl(e, n = (r) => r.message) {
+function dl(e, n = (r) => r.message) {
const r = { errors: [] }, o = (t, i = []) => {
var a, l;
for (const s of t.issues)
@@ -5883,166 +6017,166 @@ function cl(e, n = (r) => r.message) {
};
return o(e), r;
}
-function dl(e) {
+function ml(e) {
const n = [], r = e.map((o) => typeof o == "object" ? o.key : o);
for (const o of r)
typeof o == "number" ? n.push(`[${o}]`) : typeof o == "symbol" ? n.push(`[${JSON.stringify(String(o))}]`) : /[^\w$]/.test(o) ? n.push(`[${JSON.stringify(o)}]`) : (n.length && n.push("."), n.push(o));
return n.join("");
}
-function ml(e) {
+function fl(e) {
var o;
const n = [], r = [...e.issues].sort((t, i) => (t.path ?? []).length - (i.path ?? []).length);
for (const t of r)
- n.push(`✖ ${t.message}`), (o = t.path) != null && o.length && n.push(` → at ${dl(t.path)}`);
+ n.push(`✖ ${t.message}`), (o = t.path) != null && o.length && n.push(` → at ${ml(t.path)}`);
return n.join(`
`);
}
const xt = (e) => (n, r, o, t) => {
const i = o ? { ...o, async: !1 } : { async: !1 }, a = n._zod.run({ value: r, issues: [] }, i);
if (a instanceof Promise)
- throw new Ye();
+ throw new Qe();
if (a.issues.length) {
const l = new ((t == null ? void 0 : t.Err) ?? e)(a.issues.map((s) => Ue(s, i, Ie())));
- throw Or(l, t == null ? void 0 : t.callee), l;
+ throw Er(l, t == null ? void 0 : t.callee), l;
}
return a.value;
-}, pr = /* @__PURE__ */ xt(xe), Tt = (e) => async (n, r, o, t) => {
+}, hr = /* @__PURE__ */ xt(xe), Tt = (e) => async (n, r, o, t) => {
const i = o ? { ...o, async: !0 } : { async: !0 };
let a = n._zod.run({ value: r, issues: [] }, i);
if (a instanceof Promise && (a = await a), a.issues.length) {
const l = new ((t == null ? void 0 : t.Err) ?? e)(a.issues.map((s) => Ue(s, i, Ie())));
- throw Or(l, t == null ? void 0 : t.callee), l;
+ throw Er(l, t == null ? void 0 : t.callee), l;
}
return a.value;
-}, gr = /* @__PURE__ */ Tt(xe), At = (e) => (n, r, o) => {
+}, br = /* @__PURE__ */ Tt(xe), At = (e) => (n, r, o) => {
const t = o ? { ...o, async: !1 } : { async: !1 }, i = n._zod.run({ value: r, issues: [] }, t);
if (i instanceof Promise)
- throw new Ye();
+ throw new Qe();
return i.issues.length ? {
success: !1,
- error: new (e ?? jr)(i.issues.map((a) => Ue(a, t, Ie())))
+ error: new (e ?? Ur)(i.issues.map((a) => Ue(a, t, Ie())))
} : { success: !0, data: i.value };
-}, fl = /* @__PURE__ */ At(xe), Nt = (e) => async (n, r, o) => {
+}, vl = /* @__PURE__ */ At(xe), Nt = (e) => async (n, r, o) => {
const t = o ? { ...o, async: !0 } : { async: !0 };
let i = n._zod.run({ value: r, issues: [] }, t);
return i instanceof Promise && (i = await i), i.issues.length ? {
success: !1,
error: new e(i.issues.map((a) => Ue(a, t, Ie())))
} : { success: !0, data: i.value };
-}, vl = /* @__PURE__ */ Nt(xe), xr = (e) => (n, r, o) => {
+}, pl = /* @__PURE__ */ Nt(xe), Ar = (e) => (n, r, o) => {
const t = o ? { ...o, direction: "backward" } : { direction: "backward" };
return xt(e)(n, r, t);
-}, Fb = /* @__PURE__ */ xr(xe), Tr = (e) => (n, r, o) => xt(e)(n, r, o), Lb = /* @__PURE__ */ Tr(xe), Ar = (e) => async (n, r, o) => {
+}, L$ = /* @__PURE__ */ Ar(xe), Nr = (e) => (n, r, o) => xt(e)(n, r, o), R$ = /* @__PURE__ */ Nr(xe), Pr = (e) => async (n, r, o) => {
const t = o ? { ...o, direction: "backward" } : { direction: "backward" };
return Tt(e)(n, r, t);
-}, Rb = /* @__PURE__ */ Ar(xe), Nr = (e) => async (n, r, o) => Tt(e)(n, r, o), Bb = /* @__PURE__ */ Nr(xe), Pr = (e) => (n, r, o) => {
+}, B$ = /* @__PURE__ */ Pr(xe), Cr = (e) => async (n, r, o) => Tt(e)(n, r, o), V$ = /* @__PURE__ */ Cr(xe), Zr = (e) => (n, r, o) => {
const t = o ? { ...o, direction: "backward" } : { direction: "backward" };
return At(e)(n, r, t);
-}, Vb = /* @__PURE__ */ Pr(xe), Cr = (e) => (n, r, o) => At(e)(n, r, o), Jb = /* @__PURE__ */ Cr(xe), Zr = (e) => async (n, r, o) => {
+}, J$ = /* @__PURE__ */ Zr(xe), Mr = (e) => (n, r, o) => At(e)(n, r, o), q$ = /* @__PURE__ */ Mr(xe), Fr = (e) => async (n, r, o) => {
const t = o ? { ...o, direction: "backward" } : { direction: "backward" };
return Nt(e)(n, r, t);
-}, qb = /* @__PURE__ */ Zr(xe), Mr = (e) => async (n, r, o) => Nt(e)(n, r, o), Gb = /* @__PURE__ */ Mr(xe), pl = /^[cC][0-9a-z]{6,}$/, gl = /^[0-9a-z]+$/, hl = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, $l = /^[0-9a-vA-V]{20}$/, bl = /^[A-Za-z0-9]{27}$/, _l = /^[a-zA-Z0-9_-]{21}$/, yl = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Wb = /^[-+]?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)?)??$/, kl = /^([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})$/, dt = (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)$/, Kb = /* @__PURE__ */ dt(4), Xb = /* @__PURE__ */ dt(6), Hb = /* @__PURE__ */ dt(7), Sl = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Yb = /^[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])?)*$/, Qb = /^(([^<>()\[\]\\.,;:\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,}))$/, Il = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u, e_ = Il, t_ = /^[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])?)*$/, n_ = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
-function wl() {
- return new RegExp(n_, "u");
+}, W$ = /* @__PURE__ */ Fr(xe), Lr = (e) => async (n, r, o) => Nt(e)(n, r, o), G$ = /* @__PURE__ */ Lr(xe), gl = /^[cC][0-9a-z]{6,}$/, hl = /^[0-9a-z]+$/, bl = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, $l = /^[0-9a-vA-V]{20}$/, _l = /^[A-Za-z0-9]{27}$/, yl = /^[a-zA-Z0-9_-]{21}$/, kl = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, K$ = /^[-+]?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)?)??$/, Sl = /^([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})$/, dt = (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)$/, X$ = /* @__PURE__ */ dt(4), H$ = /* @__PURE__ */ dt(6), Y$ = /* @__PURE__ */ dt(7), Il = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Q$ = /^[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])?)*$/, e_ = /^(([^<>()\[\]\\.,;:\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,}))$/, wl = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u, t_ = wl, n_ = /^[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])?)*$/, r_ = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
+function zl() {
+ return new RegExp(r_, "u");
}
-const zl = /^(?:(?: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])$/, Dl = /^(([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}|:))$/, Ol = (e) => {
+const Dl = /^(?:(?: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])$/, Ol = /^(([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}|:))$/, jl = (e) => {
const n = Be(e ?? ":");
return new RegExp(`^(?:[0-9A-F]{2}${n}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${n}){5}[0-9a-f]{2}$`);
-}, jl = /^((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])$/, El = /^(([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])$/, Ul = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, Fr = /^[A-Za-z0-9_-]*$/, xl = /^(?=.{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])?)*\.?$/, Tl = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/, Lr = /^https?$/, Al = /^\+[1-9]\d{6,14}$/, Nl = "(?:(?:\\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])))", Pl = /* @__PURE__ */ new RegExp(`^${Nl}$`);
-function Cl(e) {
+}, El = /^((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])$/, Ul = /^(([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])$/, xl = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, Rr = /^[A-Za-z0-9_-]*$/, Tl = /^(?=.{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])?)*\.?$/, Al = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/, Br = /^https?$/, Nl = /^\+[1-9]\d{6,14}$/, Pl = "(?:(?:\\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])))", Cl = /* @__PURE__ */ new RegExp(`^${Pl}$`);
+function Zl(e) {
const n = "(?:[01]\\d|2[0-3]):[0-5]\\d";
return typeof e.precision == "number" ? e.precision === -1 ? `${n}` : e.precision === 0 ? `${n}:[0-5]\\d` : `${n}:[0-5]\\d\\.\\d{${e.precision}}` : `${n}(?::[0-5]\\d(?:\\.\\d+)?)?`;
}
-function Zl(e) {
- return new RegExp(`^${Cl(e)}$`);
-}
function Ml(e) {
- const n = Cl({ precision: e.precision }), r = ["Z"];
+ return new RegExp(`^${Zl(e)}$`);
+}
+function Fl(e) {
+ const n = Zl({ precision: e.precision }), r = ["Z"];
e.local && r.push(""), e.offset && r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");
const o = `${n}(?:${r.join("|")})`;
- return new RegExp(`^${Nl}T(?:${o})$`);
+ return new RegExp(`^${Pl}T(?:${o})$`);
}
-const Fl = (e) => {
+const Ll = (e) => {
const n = e ? `[\\s\\S]{${(e == null ? void 0 : e.minimum) ?? 0},${(e == null ? void 0 : e.maximum) ?? ""}}` : "[\\s\\S]*";
return new RegExp(`^${n}$`);
-}, Ll = /^-?\d+n?$/, Rl = /^-?\d+$/, Rr = /^-?\d+(?:\.\d+)?$/, Bl = /^(?:true|false)$/i, Vl = /^null$/i, Jl = /^undefined$/i, ql = /^[^A-Z]*$/, Gl = /^[^a-z]*$/, Wl = /^[0-9a-fA-F]*$/;
+}, Rl = /^-?\d+n?$/, Bl = /^-?\d+$/, Vr = /^-?\d+(?:\.\d+)?$/, Vl = /^(?:true|false)$/i, Jl = /^null$/i, ql = /^undefined$/i, Wl = /^[^A-Z]*$/, Gl = /^[^a-z]*$/, Kl = /^[0-9a-fA-F]*$/;
function Pt(e, n) {
return new RegExp(`^[A-Za-z0-9+/]{${e}}${n}$`);
}
function Ct(e) {
return new RegExp(`^[A-Za-z0-9_-]{${e}}$`);
}
-const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PURE__ */ Ct(22), a_ = /^[0-9a-fA-F]{40}$/, l_ = /* @__PURE__ */ Pt(27, "="), u_ = /* @__PURE__ */ Ct(27), s_ = /^[0-9a-fA-F]{64}$/, c_ = /* @__PURE__ */ Pt(43, "="), d_ = /* @__PURE__ */ Ct(43), m_ = /^[0-9a-fA-F]{96}$/, f_ = /* @__PURE__ */ Pt(64, ""), v_ = /* @__PURE__ */ Ct(64), p_ = /^[0-9a-fA-F]{128}$/, g_ = /* @__PURE__ */ Pt(86, "=="), h_ = /* @__PURE__ */ Ct(86), Br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+const i_ = /^[0-9a-fA-F]{32}$/, o_ = /* @__PURE__ */ Pt(22, "=="), a_ = /* @__PURE__ */ Ct(22), l_ = /^[0-9a-fA-F]{40}$/, u_ = /* @__PURE__ */ Pt(27, "="), s_ = /* @__PURE__ */ Ct(27), c_ = /^[0-9a-fA-F]{64}$/, d_ = /* @__PURE__ */ Pt(43, "="), m_ = /* @__PURE__ */ Ct(43), f_ = /^[0-9a-fA-F]{96}$/, v_ = /* @__PURE__ */ Pt(64, ""), p_ = /* @__PURE__ */ Ct(64), g_ = /^[0-9a-fA-F]{128}$/, h_ = /* @__PURE__ */ Pt(86, "=="), b_ = /* @__PURE__ */ Ct(86), Jr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
- base64: Ul,
- base64url: Fr,
- bigint: Ll,
- boolean: Bl,
- browserEmail: t_,
- cidrv4: jl,
- cidrv6: El,
- cuid: pl,
- cuid2: gl,
- date: Pl,
- datetime: Ml,
- domain: Tl,
- duration: yl,
- e164: Al,
- email: Sl,
- emoji: wl,
- extendedDuration: Wb,
- guid: kl,
- hex: Wl,
- hostname: xl,
- html5Email: Yb,
- httpProtocol: Lr,
- idnEmail: e_,
- integer: Rl,
- ipv4: zl,
- ipv6: Dl,
- ksuid: bl,
- lowercase: ql,
- mac: Ol,
- md5_base64: i_,
- md5_base64url: o_,
- md5_hex: r_,
- nanoid: _l,
- null: Vl,
- number: Rr,
- rfc5322Email: Qb,
- sha1_base64: l_,
- sha1_base64url: u_,
- sha1_hex: a_,
- sha256_base64: c_,
- sha256_base64url: d_,
- sha256_hex: s_,
- sha384_base64: f_,
- sha384_base64url: v_,
- sha384_hex: m_,
- sha512_base64: g_,
- sha512_base64url: h_,
- sha512_hex: p_,
- string: Fl,
- time: Zl,
- ulid: hl,
- undefined: Jl,
- unicodeEmail: Il,
+ base64: xl,
+ base64url: Rr,
+ bigint: Rl,
+ boolean: Vl,
+ browserEmail: n_,
+ cidrv4: El,
+ cidrv6: Ul,
+ cuid: gl,
+ cuid2: hl,
+ date: Cl,
+ datetime: Fl,
+ domain: Al,
+ duration: kl,
+ e164: Nl,
+ email: Il,
+ emoji: zl,
+ extendedDuration: K$,
+ guid: Sl,
+ hex: Kl,
+ hostname: Tl,
+ html5Email: Q$,
+ httpProtocol: Br,
+ idnEmail: t_,
+ integer: Bl,
+ ipv4: Dl,
+ ipv6: Ol,
+ ksuid: _l,
+ lowercase: Wl,
+ mac: jl,
+ md5_base64: o_,
+ md5_base64url: a_,
+ md5_hex: i_,
+ nanoid: yl,
+ null: Jl,
+ number: Vr,
+ rfc5322Email: e_,
+ sha1_base64: u_,
+ sha1_base64url: s_,
+ sha1_hex: l_,
+ sha256_base64: d_,
+ sha256_base64url: m_,
+ sha256_hex: c_,
+ sha384_base64: v_,
+ sha384_base64url: p_,
+ sha384_hex: f_,
+ sha512_base64: h_,
+ sha512_base64url: b_,
+ sha512_hex: g_,
+ string: Ll,
+ time: Ml,
+ ulid: bl,
+ undefined: ql,
+ unicodeEmail: wl,
uppercase: Gl,
uuid: dt,
- uuid4: Kb,
- uuid6: Xb,
- uuid7: Hb,
+ uuid4: X$,
+ uuid6: H$,
+ uuid7: Y$,
xid: $l
}, Symbol.toStringTag, { value: "Module" })), fe = /* @__PURE__ */ v("$ZodCheck", (e, n) => {
var r;
e._zod ?? (e._zod = {}), e._zod.def = n, (r = e._zod).onattach ?? (r.onattach = []);
-}), Kl = {
+}), Xl = {
number: "number",
bigint: "bigint",
object: "date"
-}, Vr = /* @__PURE__ */ v("$ZodCheckLessThan", (e, n) => {
+}, qr = /* @__PURE__ */ v("$ZodCheckLessThan", (e, n) => {
fe.init(e, n);
- const r = Kl[typeof n.value];
+ const r = Xl[typeof n.value];
e._zod.onattach.push((o) => {
const t = o._zod.bag, i = (n.inclusive ? t.maximum : t.exclusiveMaximum) ?? Number.POSITIVE_INFINITY;
n.value < i && (n.inclusive ? t.maximum = n.value : t.exclusiveMaximum = n.value);
@@ -6057,9 +6191,9 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), Jr = /* @__PURE__ */ v("$ZodCheckGreaterThan", (e, n) => {
+}), Wr = /* @__PURE__ */ v("$ZodCheckGreaterThan", (e, n) => {
fe.init(e, n);
- const r = Kl[typeof n.value];
+ const r = Xl[typeof n.value];
e._zod.onattach.push((o) => {
const t = o._zod.bag, i = (n.inclusive ? t.minimum : t.exclusiveMinimum) ?? Number.NEGATIVE_INFINITY;
n.value > i && (n.inclusive ? t.minimum = n.value : t.exclusiveMinimum = n.value);
@@ -6074,14 +6208,14 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), Xl = /* @__PURE__ */ v("$ZodCheckMultipleOf", (e, n) => {
+}), Hl = /* @__PURE__ */ v("$ZodCheckMultipleOf", (e, n) => {
fe.init(e, n), e._zod.onattach.push((r) => {
var o;
(o = r._zod.bag).multipleOf ?? (o.multipleOf = n.value);
}), e._zod.check = (r) => {
if (typeof r.value != typeof n.value)
throw new Error("Cannot mix number and bigint in multiple_of check.");
- (typeof r.value == "bigint" ? r.value % n.value === BigInt(0) : Ja(r.value, n.value) === 0) || r.issues.push({
+ (typeof r.value == "bigint" ? r.value % n.value === BigInt(0) : qa(r.value, n.value) === 0) || r.issues.push({
origin: typeof r.value,
code: "not_multiple_of",
divisor: n.value,
@@ -6090,13 +6224,13 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), Hl = /* @__PURE__ */ v("$ZodCheckNumberFormat", (e, n) => {
+}), Yl = /* @__PURE__ */ v("$ZodCheckNumberFormat", (e, n) => {
var a;
fe.init(e, n), n.format = n.format || "float64";
- const r = (a = n.format) == null ? void 0 : a.includes("int"), o = r ? "int" : "number", [t, i] = Xa[n.format];
+ const r = (a = n.format) == null ? void 0 : a.includes("int"), o = r ? "int" : "number", [t, i] = Ha[n.format];
e._zod.onattach.push((l) => {
const s = l._zod.bag;
- s.format = n.format, s.minimum = t, s.maximum = i, r && (s.pattern = Rl);
+ s.format = n.format, s.minimum = t, s.maximum = i, r && (s.pattern = Bl);
}), e._zod.check = (l) => {
const s = l.value;
if (r) {
@@ -6152,9 +6286,9 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), Yl = /* @__PURE__ */ v("$ZodCheckBigIntFormat", (e, n) => {
+}), Ql = /* @__PURE__ */ v("$ZodCheckBigIntFormat", (e, n) => {
fe.init(e, n);
- const [r, o] = Ha[n.format];
+ const [r, o] = Ya[n.format];
e._zod.onattach.push((t) => {
const i = t._zod.bag;
i.format = n.format, i.minimum = r, i.maximum = o;
@@ -6178,18 +6312,18 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), Ql = /* @__PURE__ */ v("$ZodCheckMaxSize", (e, n) => {
+}), eu = /* @__PURE__ */ v("$ZodCheckMaxSize", (e, n) => {
var r;
fe.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => {
const t = o.value;
- return !rt(t) && t.size !== void 0;
+ return !it(t) && t.size !== void 0;
}), e._zod.onattach.push((o) => {
const t = o._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
n.maximum < t && (o._zod.bag.maximum = n.maximum);
}), e._zod.check = (o) => {
const t = o.value;
t.size <= n.maximum || o.issues.push({
- origin: Sn(t),
+ origin: In(t),
code: "too_big",
maximum: n.maximum,
inclusive: !0,
@@ -6198,18 +6332,18 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), eu = /* @__PURE__ */ v("$ZodCheckMinSize", (e, n) => {
+}), tu = /* @__PURE__ */ v("$ZodCheckMinSize", (e, n) => {
var r;
fe.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => {
const t = o.value;
- return !rt(t) && t.size !== void 0;
+ return !it(t) && t.size !== void 0;
}), e._zod.onattach.push((o) => {
const t = o._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
n.minimum > t && (o._zod.bag.minimum = n.minimum);
}), e._zod.check = (o) => {
const t = o.value;
t.size >= n.minimum || o.issues.push({
- origin: Sn(t),
+ origin: In(t),
code: "too_small",
minimum: n.minimum,
inclusive: !0,
@@ -6218,11 +6352,11 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), tu = /* @__PURE__ */ v("$ZodCheckSizeEquals", (e, n) => {
+}), nu = /* @__PURE__ */ v("$ZodCheckSizeEquals", (e, n) => {
var r;
fe.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => {
const t = o.value;
- return !rt(t) && t.size !== void 0;
+ return !it(t) && t.size !== void 0;
}), e._zod.onattach.push((o) => {
const t = o._zod.bag;
t.minimum = n.size, t.maximum = n.size, t.size = n.size;
@@ -6232,7 +6366,7 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
return;
const a = i > n.size;
o.issues.push({
- origin: Sn(t),
+ origin: In(t),
...a ? { code: "too_big", maximum: n.size } : { code: "too_small", minimum: n.size },
inclusive: !0,
exact: !0,
@@ -6241,11 +6375,11 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), nu = /* @__PURE__ */ v("$ZodCheckMaxLength", (e, n) => {
+}), ru = /* @__PURE__ */ v("$ZodCheckMaxLength", (e, n) => {
var r;
fe.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => {
const t = o.value;
- return !rt(t) && t.length !== void 0;
+ return !it(t) && t.length !== void 0;
}), e._zod.onattach.push((o) => {
const t = o._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
n.maximum < t && (o._zod.bag.maximum = n.maximum);
@@ -6253,7 +6387,7 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
const t = o.value;
if (t.length <= n.maximum)
return;
- const a = In(t);
+ const a = wn(t);
o.issues.push({
origin: a,
code: "too_big",
@@ -6264,11 +6398,11 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), ru = /* @__PURE__ */ v("$ZodCheckMinLength", (e, n) => {
+}), iu = /* @__PURE__ */ v("$ZodCheckMinLength", (e, n) => {
var r;
fe.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => {
const t = o.value;
- return !rt(t) && t.length !== void 0;
+ return !it(t) && t.length !== void 0;
}), e._zod.onattach.push((o) => {
const t = o._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
n.minimum > t && (o._zod.bag.minimum = n.minimum);
@@ -6276,7 +6410,7 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
const t = o.value;
if (t.length >= n.minimum)
return;
- const a = In(t);
+ const a = wn(t);
o.issues.push({
origin: a,
code: "too_small",
@@ -6287,11 +6421,11 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), iu = /* @__PURE__ */ v("$ZodCheckLengthEquals", (e, n) => {
+}), ou = /* @__PURE__ */ v("$ZodCheckLengthEquals", (e, n) => {
var r;
fe.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => {
const t = o.value;
- return !rt(t) && t.length !== void 0;
+ return !it(t) && t.length !== void 0;
}), e._zod.onattach.push((o) => {
const t = o._zod.bag;
t.minimum = n.length, t.maximum = n.length, t.length = n.length;
@@ -6299,7 +6433,7 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
const t = o.value, i = t.length;
if (i === n.length)
return;
- const a = In(t), l = i > n.length;
+ const a = wn(t), l = i > n.length;
o.issues.push({
origin: a,
...l ? { code: "too_big", maximum: n.length } : { code: "too_small", minimum: n.length },
@@ -6327,7 +6461,7 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
});
}) : (o = e._zod).check ?? (o.check = () => {
});
-}), ou = /* @__PURE__ */ v("$ZodCheckRegex", (e, n) => {
+}), au = /* @__PURE__ */ v("$ZodCheckRegex", (e, n) => {
Zt.init(e, n), e._zod.check = (r) => {
n.pattern.lastIndex = 0, !n.pattern.test(r.value) && r.issues.push({
origin: "string",
@@ -6339,11 +6473,11 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), au = /* @__PURE__ */ v("$ZodCheckLowerCase", (e, n) => {
- n.pattern ?? (n.pattern = ql), Zt.init(e, n);
-}), lu = /* @__PURE__ */ v("$ZodCheckUpperCase", (e, n) => {
+}), lu = /* @__PURE__ */ v("$ZodCheckLowerCase", (e, n) => {
+ n.pattern ?? (n.pattern = Wl), Zt.init(e, n);
+}), uu = /* @__PURE__ */ v("$ZodCheckUpperCase", (e, n) => {
n.pattern ?? (n.pattern = Gl), Zt.init(e, n);
-}), uu = /* @__PURE__ */ v("$ZodCheckIncludes", (e, n) => {
+}), su = /* @__PURE__ */ v("$ZodCheckIncludes", (e, n) => {
fe.init(e, n);
const r = Be(n.includes), o = new RegExp(typeof n.position == "number" ? `^.{${n.position}}${r}` : r);
n.pattern = o, e._zod.onattach.push((t) => {
@@ -6360,7 +6494,7 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), su = /* @__PURE__ */ v("$ZodCheckStartsWith", (e, n) => {
+}), cu = /* @__PURE__ */ v("$ZodCheckStartsWith", (e, n) => {
fe.init(e, n);
const r = new RegExp(`^${Be(n.prefix)}.*`);
n.pattern ?? (n.pattern = r), e._zod.onattach.push((o) => {
@@ -6377,7 +6511,7 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
continue: !n.abort
});
};
-}), cu = /* @__PURE__ */ v("$ZodCheckEndsWith", (e, n) => {
+}), du = /* @__PURE__ */ v("$ZodCheckEndsWith", (e, n) => {
fe.init(e, n);
const r = new RegExp(`.*${Be(n.suffix)}$`);
n.pattern ?? (n.pattern = r), e._zod.onattach.push((o) => {
@@ -6398,7 +6532,7 @@ const r_ = /^[0-9a-fA-F]{32}$/, i_ = /* @__PURE__ */ Pt(22, "=="), o_ = /* @__PU
function Go(e, n, r) {
e.issues.length && n.issues.push(...Ae(r, e.issues));
}
-const du = /* @__PURE__ */ v("$ZodCheckProperty", (e, n) => {
+const mu = /* @__PURE__ */ v("$ZodCheckProperty", (e, n) => {
fe.init(e, n), e._zod.check = (r) => {
const o = n.schema._zod.run({
value: r.value[n.property],
@@ -6408,7 +6542,7 @@ const du = /* @__PURE__ */ v("$ZodCheckProperty", (e, n) => {
return o.then((t) => Go(t, r, n.property));
Go(o, r, n.property);
};
-}), mu = /* @__PURE__ */ v("$ZodCheckMimeType", (e, n) => {
+}), fu = /* @__PURE__ */ v("$ZodCheckMimeType", (e, n) => {
fe.init(e, n);
const r = new Set(n.mime);
e._zod.onattach.push((o) => {
@@ -6422,12 +6556,12 @@ const du = /* @__PURE__ */ v("$ZodCheckProperty", (e, n) => {
continue: !n.abort
});
};
-}), fu = /* @__PURE__ */ v("$ZodCheckOverwrite", (e, n) => {
+}), vu = /* @__PURE__ */ v("$ZodCheckOverwrite", (e, n) => {
fe.init(e, n), e._zod.check = (r) => {
r.value = n.tx(r.value);
};
});
-class vu {
+class pu {
constructor(n = []) {
this.content = [], this.indent = 0, this && (this.args = n);
}
@@ -6450,14 +6584,14 @@ class vu {
`));
}
}
-const pu = {
+const gu = {
major: 4,
minor: 4,
patch: 3
}, X = /* @__PURE__ */ v("$ZodType", (e, n) => {
var t;
var r;
- e ?? (e = {}), e._zod.def = n, e._zod.bag = e._zod.bag || {}, e._zod.version = pu;
+ e ?? (e = {}), e._zod.def = n, e._zod.bag = e._zod.bag || {}, e._zod.version = gu;
const o = [...e._zod.def.checks ?? []];
e._zod.traits.has("$ZodCheck") && o.unshift(e);
for (const i of o)
@@ -6469,34 +6603,34 @@ const pu = {
});
else {
const i = (l, s, u) => {
- let d = He(l), c;
+ let d = Ye(l), c;
for (const m of s) {
if (m._zod.def.when) {
- if (ol(l) || !m._zod.def.when(l))
+ if (al(l) || !m._zod.def.when(l))
continue;
} else if (d)
continue;
const f = l.issues.length, h = m._zod.check(l);
if (h instanceof Promise && (u == null ? void 0 : u.async) === !1)
- throw new Ye();
+ throw new Qe();
if (c || h instanceof Promise)
c = (c ?? Promise.resolve()).then(async () => {
- await h, l.issues.length !== f && (d || (d = He(l, f)));
+ await h, l.issues.length !== f && (d || (d = Ye(l, f)));
});
else {
if (l.issues.length === f)
continue;
- d || (d = He(l, f));
+ d || (d = Ye(l, f));
}
}
return c ? c.then(() => l) : l;
}, a = (l, s, u) => {
- if (He(l))
+ if (Ye(l))
return l.aborted = !0, l;
const d = i(s, o, u);
if (d instanceof Promise) {
if (u.async === !1)
- throw new Ye();
+ throw new Qe();
return d.then((c) => e._zod.parse(c, u));
}
return e._zod.parse(d, u);
@@ -6511,7 +6645,7 @@ const pu = {
const u = e._zod.parse(l, s);
if (u instanceof Promise) {
if (s.async === !1)
- throw new Ye();
+ throw new Qe();
return u.then((d) => i(d, o, s));
}
return i(u, o, s);
@@ -6521,10 +6655,10 @@ const pu = {
validate: (i) => {
var a;
try {
- const l = fl(e, i);
+ const l = vl(e, i);
return l.success ? { value: l.data } : { issues: (a = l.error) == null ? void 0 : a.issues };
} catch {
- return vl(e, i).then((s) => {
+ return pl(e, i).then((s) => {
var u;
return s.success ? { value: s.data } : { issues: (u = s.error) == null ? void 0 : u.issues };
});
@@ -6535,7 +6669,7 @@ const pu = {
}));
}), Mt = /* @__PURE__ */ v("$ZodString", (e, n) => {
var r;
- X.init(e, n), e._zod.pattern = [...((r = e == null ? void 0 : e._zod.bag) == null ? void 0 : r.patterns) ?? []].pop() ?? Fl(e._zod.bag), e._zod.parse = (o, t) => {
+ X.init(e, n), e._zod.pattern = [...((r = e == null ? void 0 : e._zod.bag) == null ? void 0 : r.patterns) ?? []].pop() ?? Ll(e._zod.bag), e._zod.parse = (o, t) => {
if (n.coerce)
try {
o.value = String(o.value);
@@ -6550,9 +6684,9 @@ const pu = {
};
}), ue = /* @__PURE__ */ v("$ZodStringFormat", (e, n) => {
Zt.init(e, n), Mt.init(e, n);
-}), gu = /* @__PURE__ */ v("$ZodGUID", (e, n) => {
- n.pattern ?? (n.pattern = kl), ue.init(e, n);
-}), hu = /* @__PURE__ */ v("$ZodUUID", (e, n) => {
+}), hu = /* @__PURE__ */ v("$ZodGUID", (e, n) => {
+ n.pattern ?? (n.pattern = Sl), ue.init(e, n);
+}), bu = /* @__PURE__ */ v("$ZodUUID", (e, n) => {
if (n.version) {
const o = {
v1: 1,
@@ -6571,13 +6705,13 @@ const pu = {
n.pattern ?? (n.pattern = dt());
ue.init(e, n);
}), $u = /* @__PURE__ */ v("$ZodEmail", (e, n) => {
- n.pattern ?? (n.pattern = Sl), ue.init(e, n);
-}), bu = /* @__PURE__ */ v("$ZodURL", (e, n) => {
+ n.pattern ?? (n.pattern = Il), ue.init(e, n);
+}), _u = /* @__PURE__ */ v("$ZodURL", (e, n) => {
ue.init(e, n), e._zod.check = (r) => {
var o;
try {
const t = r.value.trim();
- if (!n.normalize && ((o = n.protocol) == null ? void 0 : o.source) === Lr.source && !/^https?:\/\//i.test(t)) {
+ if (!n.normalize && ((o = n.protocol) == null ? void 0 : o.source) === Br.source && !/^https?:\/\//i.test(t)) {
r.issues.push({
code: "invalid_format",
format: "url",
@@ -6617,32 +6751,32 @@ const pu = {
});
}
};
-}), _u = /* @__PURE__ */ v("$ZodEmoji", (e, n) => {
- n.pattern ?? (n.pattern = wl()), ue.init(e, n);
-}), yu = /* @__PURE__ */ v("$ZodNanoID", (e, n) => {
- n.pattern ?? (n.pattern = _l), ue.init(e, n);
-}), ku = /* @__PURE__ */ v("$ZodCUID", (e, n) => {
- n.pattern ?? (n.pattern = pl), ue.init(e, n);
-}), Su = /* @__PURE__ */ v("$ZodCUID2", (e, n) => {
- n.pattern ?? (n.pattern = gl), ue.init(e, n);
-}), Iu = /* @__PURE__ */ v("$ZodULID", (e, n) => {
- n.pattern ?? (n.pattern = hl), ue.init(e, n);
-}), wu = /* @__PURE__ */ v("$ZodXID", (e, n) => {
- n.pattern ?? (n.pattern = $l), ue.init(e, n);
-}), zu = /* @__PURE__ */ v("$ZodKSUID", (e, n) => {
- n.pattern ?? (n.pattern = bl), ue.init(e, n);
-}), Du = /* @__PURE__ */ v("$ZodISODateTime", (e, n) => {
- n.pattern ?? (n.pattern = Ml(n)), ue.init(e, n);
-}), Ou = /* @__PURE__ */ v("$ZodISODate", (e, n) => {
- n.pattern ?? (n.pattern = Pl), ue.init(e, n);
-}), ju = /* @__PURE__ */ v("$ZodISOTime", (e, n) => {
- n.pattern ?? (n.pattern = Zl(n)), ue.init(e, n);
-}), Eu = /* @__PURE__ */ v("$ZodISODuration", (e, n) => {
+}), yu = /* @__PURE__ */ v("$ZodEmoji", (e, n) => {
+ n.pattern ?? (n.pattern = zl()), ue.init(e, n);
+}), ku = /* @__PURE__ */ v("$ZodNanoID", (e, n) => {
n.pattern ?? (n.pattern = yl), ue.init(e, n);
-}), Uu = /* @__PURE__ */ v("$ZodIPv4", (e, n) => {
- n.pattern ?? (n.pattern = zl), ue.init(e, n), e._zod.bag.format = "ipv4";
-}), xu = /* @__PURE__ */ v("$ZodIPv6", (e, n) => {
- n.pattern ?? (n.pattern = Dl), ue.init(e, n), e._zod.bag.format = "ipv6", e._zod.check = (r) => {
+}), Su = /* @__PURE__ */ v("$ZodCUID", (e, n) => {
+ n.pattern ?? (n.pattern = gl), ue.init(e, n);
+}), Iu = /* @__PURE__ */ v("$ZodCUID2", (e, n) => {
+ n.pattern ?? (n.pattern = hl), ue.init(e, n);
+}), wu = /* @__PURE__ */ v("$ZodULID", (e, n) => {
+ n.pattern ?? (n.pattern = bl), ue.init(e, n);
+}), zu = /* @__PURE__ */ v("$ZodXID", (e, n) => {
+ n.pattern ?? (n.pattern = $l), ue.init(e, n);
+}), Du = /* @__PURE__ */ v("$ZodKSUID", (e, n) => {
+ n.pattern ?? (n.pattern = _l), ue.init(e, n);
+}), Ou = /* @__PURE__ */ v("$ZodISODateTime", (e, n) => {
+ n.pattern ?? (n.pattern = Fl(n)), ue.init(e, n);
+}), ju = /* @__PURE__ */ v("$ZodISODate", (e, n) => {
+ n.pattern ?? (n.pattern = Cl), ue.init(e, n);
+}), Eu = /* @__PURE__ */ v("$ZodISOTime", (e, n) => {
+ n.pattern ?? (n.pattern = Ml(n)), ue.init(e, n);
+}), Uu = /* @__PURE__ */ v("$ZodISODuration", (e, n) => {
+ n.pattern ?? (n.pattern = kl), ue.init(e, n);
+}), xu = /* @__PURE__ */ v("$ZodIPv4", (e, n) => {
+ n.pattern ?? (n.pattern = Dl), ue.init(e, n), e._zod.bag.format = "ipv4";
+}), Tu = /* @__PURE__ */ v("$ZodIPv6", (e, n) => {
+ n.pattern ?? (n.pattern = Ol), ue.init(e, n), e._zod.bag.format = "ipv6", e._zod.check = (r) => {
try {
new URL(`http://[${r.value}]`);
} catch {
@@ -6655,12 +6789,12 @@ const pu = {
});
}
};
-}), Tu = /* @__PURE__ */ v("$ZodMAC", (e, n) => {
- n.pattern ?? (n.pattern = Ol(n.delimiter)), ue.init(e, n), e._zod.bag.format = "mac";
-}), Au = /* @__PURE__ */ v("$ZodCIDRv4", (e, n) => {
- n.pattern ?? (n.pattern = jl), ue.init(e, n);
-}), Nu = /* @__PURE__ */ v("$ZodCIDRv6", (e, n) => {
- n.pattern ?? (n.pattern = El), ue.init(e, n), e._zod.check = (r) => {
+}), Au = /* @__PURE__ */ v("$ZodMAC", (e, n) => {
+ n.pattern ?? (n.pattern = jl(n.delimiter)), ue.init(e, n), e._zod.bag.format = "mac";
+}), Nu = /* @__PURE__ */ v("$ZodCIDRv4", (e, n) => {
+ n.pattern ?? (n.pattern = El), ue.init(e, n);
+}), Pu = /* @__PURE__ */ v("$ZodCIDRv6", (e, n) => {
+ n.pattern ?? (n.pattern = Ul), ue.init(e, n), e._zod.check = (r) => {
const o = r.value.split("/");
try {
if (o.length !== 2)
@@ -6685,7 +6819,7 @@ const pu = {
}
};
});
-function qr(e) {
+function Gr(e) {
if (e === "")
return !0;
if (/\s/.test(e) || e.length % 4 !== 0)
@@ -6696,9 +6830,9 @@ function qr(e) {
return !1;
}
}
-const Pu = /* @__PURE__ */ v("$ZodBase64", (e, n) => {
- n.pattern ?? (n.pattern = Ul), ue.init(e, n), e._zod.bag.contentEncoding = "base64", e._zod.check = (r) => {
- qr(r.value) || r.issues.push({
+const Cu = /* @__PURE__ */ v("$ZodBase64", (e, n) => {
+ n.pattern ?? (n.pattern = xl), ue.init(e, n), e._zod.bag.contentEncoding = "base64", e._zod.check = (r) => {
+ Gr(r.value) || r.issues.push({
code: "invalid_format",
format: "base64",
input: r.value,
@@ -6707,15 +6841,15 @@ const Pu = /* @__PURE__ */ v("$ZodBase64", (e, n) => {
});
};
});
-function Cu(e) {
- if (!Fr.test(e))
+function Zu(e) {
+ if (!Rr.test(e))
return !1;
const n = e.replace(/[-_]/g, (o) => o === "-" ? "+" : "/"), r = n.padEnd(Math.ceil(n.length / 4) * 4, "=");
- return qr(r);
+ return Gr(r);
}
-const Zu = /* @__PURE__ */ v("$ZodBase64URL", (e, n) => {
- n.pattern ?? (n.pattern = Fr), ue.init(e, n), e._zod.bag.contentEncoding = "base64url", e._zod.check = (r) => {
- Cu(r.value) || r.issues.push({
+const Mu = /* @__PURE__ */ v("$ZodBase64URL", (e, n) => {
+ n.pattern ?? (n.pattern = Rr), ue.init(e, n), e._zod.bag.contentEncoding = "base64url", e._zod.check = (r) => {
+ Zu(r.value) || r.issues.push({
code: "invalid_format",
format: "base64url",
input: r.value,
@@ -6723,10 +6857,10 @@ const Zu = /* @__PURE__ */ v("$ZodBase64URL", (e, n) => {
continue: !n.abort
});
};
-}), Mu = /* @__PURE__ */ v("$ZodE164", (e, n) => {
- n.pattern ?? (n.pattern = Al), ue.init(e, n);
+}), Fu = /* @__PURE__ */ v("$ZodE164", (e, n) => {
+ n.pattern ?? (n.pattern = Nl), ue.init(e, n);
});
-function Fu(e, n = null) {
+function Lu(e, n = null) {
try {
const r = e.split(".");
if (r.length !== 3)
@@ -6740,9 +6874,9 @@ function Fu(e, n = null) {
return !1;
}
}
-const Lu = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
+const Ru = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
ue.init(e, n), e._zod.check = (r) => {
- Fu(r.value, n.alg) || r.issues.push({
+ Lu(r.value, n.alg) || r.issues.push({
code: "invalid_format",
format: "jwt",
input: r.value,
@@ -6750,7 +6884,7 @@ const Lu = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
continue: !n.abort
});
};
-}), Ru = /* @__PURE__ */ v("$ZodCustomStringFormat", (e, n) => {
+}), Bu = /* @__PURE__ */ v("$ZodCustomStringFormat", (e, n) => {
ue.init(e, n), e._zod.check = (r) => {
n.fn(r.value) || r.issues.push({
code: "invalid_format",
@@ -6760,8 +6894,8 @@ const Lu = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
continue: !n.abort
});
};
-}), Gr = /* @__PURE__ */ v("$ZodNumber", (e, n) => {
- X.init(e, n), e._zod.pattern = e._zod.bag.pattern ?? Rr, e._zod.parse = (r, o) => {
+}), Kr = /* @__PURE__ */ v("$ZodNumber", (e, n) => {
+ X.init(e, n), e._zod.pattern = e._zod.bag.pattern ?? Vr, e._zod.parse = (r, o) => {
if (n.coerce)
try {
r.value = Number(r.value);
@@ -6779,10 +6913,10 @@ const Lu = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
...i ? { received: i } : {}
}), r;
};
-}), Bu = /* @__PURE__ */ v("$ZodNumberFormat", (e, n) => {
- Hl.init(e, n), Gr.init(e, n);
-}), Wr = /* @__PURE__ */ v("$ZodBoolean", (e, n) => {
- X.init(e, n), e._zod.pattern = Bl, e._zod.parse = (r, o) => {
+}), Vu = /* @__PURE__ */ v("$ZodNumberFormat", (e, n) => {
+ Yl.init(e, n), Kr.init(e, n);
+}), Xr = /* @__PURE__ */ v("$ZodBoolean", (e, n) => {
+ X.init(e, n), e._zod.pattern = Vl, e._zod.parse = (r, o) => {
if (n.coerce)
try {
r.value = !!r.value;
@@ -6796,8 +6930,8 @@ const Lu = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
inst: e
}), r;
};
-}), Kr = /* @__PURE__ */ v("$ZodBigInt", (e, n) => {
- X.init(e, n), e._zod.pattern = Ll, e._zod.parse = (r, o) => {
+}), Hr = /* @__PURE__ */ v("$ZodBigInt", (e, n) => {
+ X.init(e, n), e._zod.pattern = Rl, e._zod.parse = (r, o) => {
if (n.coerce)
try {
r.value = BigInt(r.value);
@@ -6810,9 +6944,9 @@ const Lu = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
inst: e
}), r;
};
-}), Vu = /* @__PURE__ */ v("$ZodBigIntFormat", (e, n) => {
- Yl.init(e, n), Kr.init(e, n);
-}), Ju = /* @__PURE__ */ v("$ZodSymbol", (e, n) => {
+}), Ju = /* @__PURE__ */ v("$ZodBigIntFormat", (e, n) => {
+ Ql.init(e, n), Hr.init(e, n);
+}), qu = /* @__PURE__ */ v("$ZodSymbol", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => {
const t = r.value;
return typeof t == "symbol" || r.issues.push({
@@ -6822,8 +6956,8 @@ const Lu = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
inst: e
}), r;
};
-}), qu = /* @__PURE__ */ v("$ZodUndefined", (e, n) => {
- X.init(e, n), e._zod.pattern = Jl, e._zod.values = /* @__PURE__ */ new Set([void 0]), e._zod.parse = (r, o) => {
+}), Wu = /* @__PURE__ */ v("$ZodUndefined", (e, n) => {
+ X.init(e, n), e._zod.pattern = ql, e._zod.values = /* @__PURE__ */ new Set([void 0]), e._zod.parse = (r, o) => {
const t = r.value;
return typeof t > "u" || r.issues.push({
expected: "undefined",
@@ -6833,7 +6967,7 @@ const Lu = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
}), r;
};
}), Gu = /* @__PURE__ */ v("$ZodNull", (e, n) => {
- X.init(e, n), e._zod.pattern = Vl, e._zod.values = /* @__PURE__ */ new Set([null]), e._zod.parse = (r, o) => {
+ X.init(e, n), e._zod.pattern = Jl, e._zod.values = /* @__PURE__ */ new Set([null]), e._zod.parse = (r, o) => {
const t = r.value;
return t === null || r.issues.push({
expected: "null",
@@ -6842,18 +6976,18 @@ const Lu = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
inst: e
}), r;
};
-}), Wu = /* @__PURE__ */ v("$ZodAny", (e, n) => {
+}), Ku = /* @__PURE__ */ v("$ZodAny", (e, n) => {
X.init(e, n), e._zod.parse = (r) => r;
-}), Ku = /* @__PURE__ */ v("$ZodUnknown", (e, n) => {
+}), Xu = /* @__PURE__ */ v("$ZodUnknown", (e, n) => {
X.init(e, n), e._zod.parse = (r) => r;
-}), Xu = /* @__PURE__ */ v("$ZodNever", (e, n) => {
+}), Hu = /* @__PURE__ */ v("$ZodNever", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => (r.issues.push({
expected: "never",
code: "invalid_type",
input: r.value,
inst: e
}), r);
-}), Hu = /* @__PURE__ */ v("$ZodVoid", (e, n) => {
+}), Yu = /* @__PURE__ */ v("$ZodVoid", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => {
const t = r.value;
return typeof t > "u" || r.issues.push({
@@ -6863,7 +6997,7 @@ const Lu = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
inst: e
}), r;
};
-}), Yu = /* @__PURE__ */ v("$ZodDate", (e, n) => {
+}), Qu = /* @__PURE__ */ v("$ZodDate", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => {
if (n.coerce)
try {
@@ -6880,10 +7014,10 @@ const Lu = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
}), r;
};
});
-function Wo(e, n, r) {
+function Ko(e, n, r) {
e.issues.length && n.issues.push(...Ae(r, e.issues)), n.value[r] = e.value;
}
-const Qu = /* @__PURE__ */ v("$ZodArray", (e, n) => {
+const es = /* @__PURE__ */ v("$ZodArray", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => {
const t = r.value;
if (!Array.isArray(t))
@@ -6900,12 +7034,12 @@ const Qu = /* @__PURE__ */ v("$ZodArray", (e, n) => {
value: l,
issues: []
}, o);
- s instanceof Promise ? i.push(s.then((u) => Wo(u, r, a))) : Wo(s, r, a);
+ s instanceof Promise ? i.push(s.then((u) => Ko(u, r, a))) : Ko(s, r, a);
}
return i.length ? Promise.all(i).then(() => r) : r;
};
});
-function pn(e, n, r, o, t, i) {
+function gn(e, n, r, o, t, i) {
const a = r in o;
if (e.issues.length) {
if (t && i && !a)
@@ -6923,13 +7057,13 @@ function pn(e, n, r, o, t, i) {
}
e.value === void 0 ? a && (n.value[r] = void 0) : n.value[r] = e.value;
}
-function es(e) {
+function ts(e) {
var o, t, i, a;
const n = Object.keys(e.shape);
for (const l of n)
if (!((a = (i = (t = (o = e.shape) == null ? void 0 : o[l]) == null ? void 0 : t._zod) == null ? void 0 : i.traits) != null && a.has("$ZodType")))
throw new Error(`Invalid element at key "${l}": expected a Zod schema`);
- const r = Ka(e.shape);
+ const r = Xa(e.shape);
return {
...e,
keys: n,
@@ -6938,7 +7072,7 @@ function es(e) {
optionalKeys: new Set(r)
};
}
-function ts(e, n, r, o, t, i) {
+function ns(e, n, r, o, t, i) {
const a = [], l = t.keySet, s = t.catchall._zod, u = s.def.type, d = s.optin === "optional", c = s.optout === "optional";
for (const m in n) {
if (m === "__proto__" || l.has(m))
@@ -6948,7 +7082,7 @@ function ts(e, n, r, o, t, i) {
continue;
}
const f = s.run({ value: n[m], issues: [] }, o);
- f instanceof Promise ? e.push(f.then((h) => pn(h, r, m, n, d, c))) : pn(f, r, m, n, d, c);
+ f instanceof Promise ? e.push(f.then((h) => gn(h, r, m, n, d, c))) : gn(f, r, m, n, d, c);
}
return a.length && r.issues.push({
code: "unrecognized_keys",
@@ -6957,7 +7091,7 @@ function ts(e, n, r, o, t, i) {
inst: i
}), e.length ? Promise.all(e).then(() => r) : r;
}
-const ns = /* @__PURE__ */ v("$ZodObject", (e, n) => {
+const rs = /* @__PURE__ */ v("$ZodObject", (e, n) => {
X.init(e, n);
const r = Object.getOwnPropertyDescriptor(n, "shape");
if (!(r != null && r.get)) {
@@ -6971,7 +7105,7 @@ const ns = /* @__PURE__ */ v("$ZodObject", (e, n) => {
}
});
}
- const o = Ut(() => es(n));
+ const o = Ut(() => ts(n));
Y(e._zod, "propValues", () => {
const l = n.shape, s = {};
for (const u in l) {
@@ -7000,27 +7134,27 @@ const ns = /* @__PURE__ */ v("$ZodObject", (e, n) => {
const d = [], c = a.shape;
for (const m of a.keys) {
const f = c[m], h = f._zod.optin === "optional", g = f._zod.optout === "optional", x = f._zod.run({ value: u[m], issues: [] }, s);
- x instanceof Promise ? d.push(x.then((j) => pn(j, l, m, u, h, g))) : pn(x, l, m, u, h, g);
+ x instanceof Promise ? d.push(x.then((O) => gn(O, l, m, u, h, g))) : gn(x, l, m, u, h, g);
}
- return i ? ts(d, u, l, s, o.value, e) : d.length ? Promise.all(d).then(() => l) : l;
+ return i ? ns(d, u, l, s, o.value, e) : d.length ? Promise.all(d).then(() => l) : l;
};
-}), rs = /* @__PURE__ */ v("$ZodObjectJIT", (e, n) => {
- ns.init(e, n);
- const r = e._zod.parse, o = Ut(() => es(n)), t = (m) => {
+}), is = /* @__PURE__ */ v("$ZodObjectJIT", (e, n) => {
+ rs.init(e, n);
+ const r = e._zod.parse, o = Ut(() => ts(n)), t = (m) => {
var C, P;
- const f = new vu(["shape", "payload", "ctx"]), h = o.value, g = (Z) => {
- const b = vr(Z);
+ const f = new pu(["shape", "payload", "ctx"]), h = o.value, g = (Z) => {
+ const b = gr(Z);
return `shape[${b}]._zod.run({ value: input[${b}], issues: [] }, ctx)`;
};
f.write("const input = payload.value;");
const x = /* @__PURE__ */ Object.create(null);
- let j = 0;
+ let O = 0;
for (const Z of h.keys)
- x[Z] = `key_${j++}`;
+ x[Z] = `key_${O++}`;
f.write("const newResult = {};");
for (const Z of h.keys) {
- const b = x[Z], _ = vr(Z), I = m[Z], J = ((C = I == null ? void 0 : I._zod) == null ? void 0 : C.optin) === "optional", z = ((P = I == null ? void 0 : I._zod) == null ? void 0 : P.optout) === "optional";
- f.write(`const ${b} = ${g(Z)};`), J && z ? f.write(`
+ const b = x[Z], _ = gr(Z), S = m[Z], B = ((C = S == null ? void 0 : S._zod) == null ? void 0 : C.optin) === "optional", z = ((P = S == null ? void 0 : S._zod) == null ? void 0 : P.optout) === "optional";
+ f.write(`const ${b} = ${g(Z)};`), B && z ? f.write(`
if (${b}.issues.length) {
if (${_} in input) {
payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
@@ -7038,7 +7172,7 @@ const ns = /* @__PURE__ */ v("$ZodObject", (e, n) => {
newResult[${_}] = ${b}.value;
}
- `) : J ? f.write(`
+ `) : B ? f.write(`
if (${b}.issues.length) {
payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
...iss,
@@ -7091,7 +7225,7 @@ const ns = /* @__PURE__ */ v("$ZodObject", (e, n) => {
e._zod.parse = (m, f) => {
c ?? (c = o.value);
const h = m.value;
- return a(h) ? l && u && (f == null ? void 0 : f.async) === !1 && f.jitless !== !0 ? (i || (i = t(n.shape)), m = i(m, f), d ? ts([], h, m, f, c, e) : m) : r(m, f) : (m.issues.push({
+ return a(h) ? l && u && (f == null ? void 0 : f.async) === !1 && f.jitless !== !0 ? (i || (i = t(n.shape)), m = i(m, f), d ? ns([], h, m, f, c, e) : m) : r(m, f) : (m.issues.push({
expected: "object",
code: "invalid_type",
input: h,
@@ -7099,11 +7233,11 @@ const ns = /* @__PURE__ */ v("$ZodObject", (e, n) => {
}), m);
};
});
-function Ko(e, n, r, o) {
+function Xo(e, n, r, o) {
for (const i of e)
if (i.issues.length === 0)
return n.value = i.value, n;
- const t = e.filter((i) => !He(i));
+ const t = e.filter((i) => !Ye(i));
return t.length === 1 ? (n.value = t[0].value, t[0]) : (n.issues.push({
code: "invalid_union",
input: n.value,
@@ -7111,14 +7245,14 @@ function Ko(e, n, r, o) {
errors: e.map((i) => i.issues.map((a) => Ue(a, o, Ie())))
}), n);
}
-const wn = /* @__PURE__ */ v("$ZodUnion", (e, n) => {
+const zn = /* @__PURE__ */ v("$ZodUnion", (e, n) => {
X.init(e, n), Y(e._zod, "optin", () => n.options.some((o) => o._zod.optin === "optional") ? "optional" : void 0), Y(e._zod, "optout", () => n.options.some((o) => o._zod.optout === "optional") ? "optional" : void 0), Y(e._zod, "values", () => {
if (n.options.every((o) => o._zod.values))
return new Set(n.options.flatMap((o) => Array.from(o._zod.values)));
}), Y(e._zod, "pattern", () => {
if (n.options.every((o) => o._zod.pattern)) {
const o = n.options.map((t) => t._zod.pattern);
- return new RegExp(`^(${o.map((t) => yn(t.source)).join("|")})$`);
+ return new RegExp(`^(${o.map((t) => kn(t.source)).join("|")})$`);
}
});
const r = n.options.length === 1 ? n.options[0]._zod.run : null;
@@ -7140,10 +7274,10 @@ const wn = /* @__PURE__ */ v("$ZodUnion", (e, n) => {
a.push(s);
}
}
- return i ? Promise.all(a).then((l) => Ko(l, o, e, t)) : Ko(a, o, e, t);
+ return i ? Promise.all(a).then((l) => Xo(l, o, e, t)) : Xo(a, o, e, t);
};
});
-function Xo(e, n, r, o) {
+function Ho(e, n, r, o) {
const t = e.filter((i) => i.issues.length === 0);
return t.length === 1 ? (n.value = t[0].value, n) : (t.length === 0 ? n.issues.push({
code: "invalid_union",
@@ -7158,8 +7292,8 @@ function Xo(e, n, r, o) {
inclusive: !1
}), n);
}
-const is = /* @__PURE__ */ v("$ZodXor", (e, n) => {
- wn.init(e, n), n.inclusive = !1;
+const os = /* @__PURE__ */ v("$ZodXor", (e, n) => {
+ zn.init(e, n), n.inclusive = !1;
const r = n.options.length === 1 ? n.options[0]._zod.run : null;
e._zod.parse = (o, t) => {
if (r)
@@ -7173,10 +7307,10 @@ const is = /* @__PURE__ */ v("$ZodXor", (e, n) => {
}, t);
s instanceof Promise ? (a.push(s), i = !0) : a.push(s);
}
- return i ? Promise.all(a).then((l) => Xo(l, o, e, t)) : Xo(a, o, e, t);
+ return i ? Promise.all(a).then((l) => Ho(l, o, e, t)) : Ho(a, o, e, t);
};
-}), os = /* @__PURE__ */ v("$ZodDiscriminatedUnion", (e, n) => {
- n.inclusive = !1, wn.init(e, n);
+}), as = /* @__PURE__ */ v("$ZodDiscriminatedUnion", (e, n) => {
+ n.inclusive = !1, zn.init(e, n);
const r = e._zod.parse;
Y(e._zod, "propValues", () => {
const t = {};
@@ -7228,21 +7362,21 @@ const is = /* @__PURE__ */ v("$ZodXor", (e, n) => {
inst: e
}), t);
};
-}), as = /* @__PURE__ */ v("$ZodIntersection", (e, n) => {
+}), ls = /* @__PURE__ */ v("$ZodIntersection", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => {
const t = r.value, i = n.left._zod.run({ value: t, issues: [] }, o), a = n.right._zod.run({ value: t, issues: [] }, o);
- return i instanceof Promise || a instanceof Promise ? Promise.all([i, a]).then(([s, u]) => Ho(r, s, u)) : Ho(r, i, a);
+ return i instanceof Promise || a instanceof Promise ? Promise.all([i, a]).then(([s, u]) => Yo(r, s, u)) : Yo(r, i, a);
};
});
-function hr(e, n) {
+function $r(e, n) {
if (e === n)
return { valid: !0, data: e };
if (e instanceof Date && n instanceof Date && +e == +n)
return { valid: !0, data: e };
- if (Qe(e) && Qe(n)) {
+ if (et(e) && et(n)) {
const r = Object.keys(n), o = Object.keys(e).filter((i) => r.indexOf(i) !== -1), t = { ...e, ...n };
for (const i of o) {
- const a = hr(e[i], n[i]);
+ const a = $r(e[i], n[i]);
if (!a.valid)
return {
valid: !1,
@@ -7257,7 +7391,7 @@ function hr(e, n) {
return { valid: !1, mergeErrorPath: [] };
const r = [];
for (let o = 0; o < e.length; o++) {
- const t = e[o], i = n[o], a = hr(t, i);
+ const t = e[o], i = n[o], a = $r(t, i);
if (!a.valid)
return {
valid: !1,
@@ -7269,7 +7403,7 @@ function hr(e, n) {
}
return { valid: !1, mergeErrorPath: [] };
}
-function Ho(e, n, r) {
+function Yo(e, n, r) {
const o = /* @__PURE__ */ new Map();
let t;
for (const l of n.issues)
@@ -7286,14 +7420,14 @@ function Ho(e, n, r) {
else
e.issues.push(l);
const i = [...o].filter(([, l]) => l.l && l.r).map(([l]) => l);
- if (i.length && t && e.issues.push({ ...t, keys: i }), He(e))
+ if (i.length && t && e.issues.push({ ...t, keys: i }), Ye(e))
return e;
- const a = hr(n.value, r.value);
+ const a = $r(n.value, r.value);
if (!a.valid)
throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);
return e.value = a.data, e;
}
-const Xr = /* @__PURE__ */ v("$ZodTuple", (e, n) => {
+const Yr = /* @__PURE__ */ v("$ZodTuple", (e, n) => {
X.init(e, n);
const r = n.items;
e._zod.parse = (o, t) => {
@@ -7306,7 +7440,7 @@ const Xr = /* @__PURE__ */ v("$ZodTuple", (e, n) => {
code: "invalid_type"
}), o;
o.value = [];
- const a = [], l = Yo(r, "optin"), s = Yo(r, "optout");
+ const a = [], l = Qo(r, "optin"), s = Qo(r, "optout");
if (!n.rest) {
if (i.length < l)
return o.issues.push({
@@ -7339,22 +7473,22 @@ const Xr = /* @__PURE__ */ v("$ZodTuple", (e, n) => {
for (const m of c) {
d++;
const f = n.rest._zod.run({ value: m, issues: [] }, t);
- f instanceof Promise ? a.push(f.then((h) => Qo(h, o, d))) : Qo(f, o, d);
+ f instanceof Promise ? a.push(f.then((h) => ea(h, o, d))) : ea(f, o, d);
}
}
- return a.length ? Promise.all(a).then(() => ea(u, o, r, i, s)) : ea(u, o, r, i, s);
+ return a.length ? Promise.all(a).then(() => ta(u, o, r, i, s)) : ta(u, o, r, i, s);
};
});
-function Yo(e, n) {
+function Qo(e, n) {
for (let r = e.length - 1; r >= 0; r--)
if (e[r]._zod[n] !== "optional")
return r + 1;
return 0;
}
-function Qo(e, n, r) {
+function ea(e, n, r) {
e.issues.length && n.issues.push(...Ae(r, e.issues)), n.value[r] = e.value;
}
-function ea(e, n, r, o, t) {
+function ta(e, n, r, o, t) {
for (let i = 0; i < r.length; i++) {
const a = e[i], l = i < o.length;
if (a.issues.length) {
@@ -7370,10 +7504,10 @@ function ea(e, n, r, o, t) {
n.value.length = i;
return n;
}
-const ls = /* @__PURE__ */ v("$ZodRecord", (e, n) => {
+const us = /* @__PURE__ */ v("$ZodRecord", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => {
const t = r.value;
- if (!Qe(t))
+ if (!et(t))
return r.issues.push({
expected: "record",
code: "invalid_type",
@@ -7423,7 +7557,7 @@ const ls = /* @__PURE__ */ v("$ZodRecord", (e, n) => {
let s = n.keyType._zod.run({ value: l, issues: [] }, o);
if (s instanceof Promise)
throw new Error("Async schemas not supported in object keys currently");
- if (typeof l == "string" && Rr.test(l) && s.issues.length) {
+ if (typeof l == "string" && Vr.test(l) && s.issues.length) {
const c = n.keyType._zod.run({ value: Number(l), issues: [] }, o);
if (c instanceof Promise)
throw new Error("Async schemas not supported in object keys currently");
@@ -7448,7 +7582,7 @@ const ls = /* @__PURE__ */ v("$ZodRecord", (e, n) => {
}
return i.length ? Promise.all(i).then(() => r) : r;
};
-}), us = /* @__PURE__ */ v("$ZodMap", (e, n) => {
+}), ss = /* @__PURE__ */ v("$ZodMap", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => {
const t = r.value;
if (!(t instanceof Map))
@@ -7463,20 +7597,20 @@ const ls = /* @__PURE__ */ v("$ZodRecord", (e, n) => {
for (const [a, l] of t) {
const s = n.keyType._zod.run({ value: a, issues: [] }, o), u = n.valueType._zod.run({ value: l, issues: [] }, o);
s instanceof Promise || u instanceof Promise ? i.push(Promise.all([s, u]).then(([d, c]) => {
- ta(d, c, r, a, t, e, o);
- })) : ta(s, u, r, a, t, e, o);
+ na(d, c, r, a, t, e, o);
+ })) : na(s, u, r, a, t, e, o);
}
return i.length ? Promise.all(i).then(() => r) : r;
};
});
-function ta(e, n, r, o, t, i, a) {
- e.issues.length && (vn.has(typeof o) ? r.issues.push(...Ae(o, e.issues)) : r.issues.push({
+function na(e, n, r, o, t, i, a) {
+ e.issues.length && (pn.has(typeof o) ? r.issues.push(...Ae(o, e.issues)) : r.issues.push({
code: "invalid_key",
origin: "map",
input: t,
inst: i,
issues: e.issues.map((l) => Ue(l, a, Ie()))
- })), n.issues.length && (vn.has(typeof o) ? r.issues.push(...Ae(o, n.issues)) : r.issues.push({
+ })), n.issues.length && (pn.has(typeof o) ? r.issues.push(...Ae(o, n.issues)) : r.issues.push({
origin: "map",
code: "invalid_element",
input: t,
@@ -7485,7 +7619,7 @@ function ta(e, n, r, o, t, i, a) {
issues: n.issues.map((l) => Ue(l, a, Ie()))
})), r.value.set(e.value, n.value);
}
-const ss = /* @__PURE__ */ v("$ZodSet", (e, n) => {
+const cs = /* @__PURE__ */ v("$ZodSet", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => {
const t = r.value;
if (!(t instanceof Set))
@@ -7499,18 +7633,18 @@ const ss = /* @__PURE__ */ v("$ZodSet", (e, n) => {
r.value = /* @__PURE__ */ new Set();
for (const a of t) {
const l = n.valueType._zod.run({ value: a, issues: [] }, o);
- l instanceof Promise ? i.push(l.then((s) => na(s, r))) : na(l, r);
+ l instanceof Promise ? i.push(l.then((s) => ra(s, r))) : ra(l, r);
}
return i.length ? Promise.all(i).then(() => r) : r;
};
});
-function na(e, n) {
+function ra(e, n) {
e.issues.length && n.issues.push(...e.issues), n.value.add(e.value);
}
-const cs = /* @__PURE__ */ v("$ZodEnum", (e, n) => {
+const ds = /* @__PURE__ */ v("$ZodEnum", (e, n) => {
X.init(e, n);
- const r = Dr(n.entries), o = new Set(r);
- e._zod.values = o, e._zod.pattern = new RegExp(`^(${r.filter((t) => vn.has(typeof t)).map((t) => typeof t == "string" ? Be(t) : t.toString()).join("|")})$`), e._zod.parse = (t, i) => {
+ const r = jr(n.entries), o = new Set(r);
+ e._zod.values = o, e._zod.pattern = new RegExp(`^(${r.filter((t) => pn.has(typeof t)).map((t) => typeof t == "string" ? Be(t) : t.toString()).join("|")})$`), e._zod.parse = (t, i) => {
const a = t.value;
return o.has(a) || t.issues.push({
code: "invalid_value",
@@ -7519,7 +7653,7 @@ const cs = /* @__PURE__ */ v("$ZodEnum", (e, n) => {
inst: e
}), t;
};
-}), ds = /* @__PURE__ */ v("$ZodLiteral", (e, n) => {
+}), ms = /* @__PURE__ */ v("$ZodLiteral", (e, n) => {
if (X.init(e, n), n.values.length === 0)
throw new Error("Cannot create literal schema with no valid values");
const r = new Set(n.values);
@@ -7532,7 +7666,7 @@ const cs = /* @__PURE__ */ v("$ZodEnum", (e, n) => {
inst: e
}), o;
};
-}), ms = /* @__PURE__ */ v("$ZodFile", (e, n) => {
+}), fs = /* @__PURE__ */ v("$ZodFile", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => {
const t = r.value;
return t instanceof File || r.issues.push({
@@ -7542,53 +7676,53 @@ const cs = /* @__PURE__ */ v("$ZodEnum", (e, n) => {
inst: e
}), r;
};
-}), fs = /* @__PURE__ */ v("$ZodTransform", (e, n) => {
+}), vs = /* @__PURE__ */ v("$ZodTransform", (e, n) => {
X.init(e, n), e._zod.optin = "optional", e._zod.parse = (r, o) => {
if (o.direction === "backward")
- throw new _n(e.constructor.name);
+ throw new yn(e.constructor.name);
const t = n.transform(r.value, r);
if (o.async)
return (t instanceof Promise ? t : Promise.resolve(t)).then((a) => (r.value = a, r.fallback = !0, r));
if (t instanceof Promise)
- throw new Ye();
+ throw new Qe();
return r.value = t, r.fallback = !0, r;
};
});
-function ra(e, n) {
+function ia(e, n) {
return n === void 0 && (e.issues.length || e.fallback) ? { issues: [], value: void 0 } : e;
}
-const Hr = /* @__PURE__ */ v("$ZodOptional", (e, n) => {
+const Qr = /* @__PURE__ */ v("$ZodOptional", (e, n) => {
X.init(e, n), e._zod.optin = "optional", e._zod.optout = "optional", Y(e._zod, "values", () => n.innerType._zod.values ? /* @__PURE__ */ new Set([...n.innerType._zod.values, void 0]) : void 0), Y(e._zod, "pattern", () => {
const r = n.innerType._zod.pattern;
- return r ? new RegExp(`^(${yn(r.source)})?$`) : void 0;
+ return r ? new RegExp(`^(${kn(r.source)})?$`) : void 0;
}), e._zod.parse = (r, o) => {
if (n.innerType._zod.optin === "optional") {
const t = r.value, i = n.innerType._zod.run(r, o);
- return i instanceof Promise ? i.then((a) => ra(a, t)) : ra(i, t);
+ return i instanceof Promise ? i.then((a) => ia(a, t)) : ia(i, t);
}
return r.value === void 0 ? r : n.innerType._zod.run(r, o);
};
-}), vs = /* @__PURE__ */ v("$ZodExactOptional", (e, n) => {
- Hr.init(e, n), Y(e._zod, "values", () => n.innerType._zod.values), Y(e._zod, "pattern", () => n.innerType._zod.pattern), e._zod.parse = (r, o) => n.innerType._zod.run(r, o);
-}), ps = /* @__PURE__ */ v("$ZodNullable", (e, n) => {
+}), ps = /* @__PURE__ */ v("$ZodExactOptional", (e, n) => {
+ Qr.init(e, n), Y(e._zod, "values", () => n.innerType._zod.values), Y(e._zod, "pattern", () => n.innerType._zod.pattern), e._zod.parse = (r, o) => n.innerType._zod.run(r, o);
+}), gs = /* @__PURE__ */ v("$ZodNullable", (e, n) => {
X.init(e, n), Y(e._zod, "optin", () => n.innerType._zod.optin), Y(e._zod, "optout", () => n.innerType._zod.optout), Y(e._zod, "pattern", () => {
const r = n.innerType._zod.pattern;
- return r ? new RegExp(`^(${yn(r.source)}|null)$`) : void 0;
+ return r ? new RegExp(`^(${kn(r.source)}|null)$`) : void 0;
}), Y(e._zod, "values", () => n.innerType._zod.values ? /* @__PURE__ */ new Set([...n.innerType._zod.values, null]) : void 0), e._zod.parse = (r, o) => r.value === null ? r : n.innerType._zod.run(r, o);
-}), gs = /* @__PURE__ */ v("$ZodDefault", (e, n) => {
+}), hs = /* @__PURE__ */ v("$ZodDefault", (e, n) => {
X.init(e, n), e._zod.optin = "optional", Y(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (r, o) => {
if (o.direction === "backward")
return n.innerType._zod.run(r, o);
if (r.value === void 0)
return r.value = n.defaultValue, r;
const t = n.innerType._zod.run(r, o);
- return t instanceof Promise ? t.then((i) => ia(i, n)) : ia(t, n);
+ return t instanceof Promise ? t.then((i) => oa(i, n)) : oa(t, n);
};
});
-function ia(e, n) {
+function oa(e, n) {
return e.value === void 0 && (e.value = n.defaultValue), e;
}
-const hs = /* @__PURE__ */ v("$ZodPrefault", (e, n) => {
+const bs = /* @__PURE__ */ v("$ZodPrefault", (e, n) => {
X.init(e, n), e._zod.optin = "optional", Y(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (r, o) => (o.direction === "backward" || r.value === void 0 && (r.value = n.defaultValue), n.innerType._zod.run(r, o));
}), $s = /* @__PURE__ */ v("$ZodNonOptional", (e, n) => {
X.init(e, n), Y(e._zod, "values", () => {
@@ -7596,10 +7730,10 @@ const hs = /* @__PURE__ */ v("$ZodPrefault", (e, n) => {
return r ? new Set([...r].filter((o) => o !== void 0)) : void 0;
}), e._zod.parse = (r, o) => {
const t = n.innerType._zod.run(r, o);
- return t instanceof Promise ? t.then((i) => oa(i, e)) : oa(t, e);
+ return t instanceof Promise ? t.then((i) => aa(i, e)) : aa(t, e);
};
});
-function oa(e, n) {
+function aa(e, n) {
return !e.issues.length && e.value === void 0 && e.issues.push({
code: "invalid_type",
expected: "nonoptional",
@@ -7607,14 +7741,14 @@ function oa(e, n) {
inst: n
}), e;
}
-const bs = /* @__PURE__ */ v("$ZodSuccess", (e, n) => {
+const _s = /* @__PURE__ */ v("$ZodSuccess", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => {
if (o.direction === "backward")
- throw new _n("ZodSuccess");
+ throw new yn("ZodSuccess");
const t = n.innerType._zod.run(r, o);
return t instanceof Promise ? t.then((i) => (r.value = i.issues.length === 0, r)) : (r.value = t.issues.length === 0, r);
};
-}), _s = /* @__PURE__ */ v("$ZodCatch", (e, n) => {
+}), ys = /* @__PURE__ */ v("$ZodCatch", (e, n) => {
X.init(e, n), e._zod.optin = "optional", Y(e._zod, "optout", () => n.innerType._zod.optout), Y(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (r, o) => {
if (o.direction === "backward")
return n.innerType._zod.run(r, o);
@@ -7633,54 +7767,54 @@ const bs = /* @__PURE__ */ v("$ZodSuccess", (e, n) => {
input: r.value
}), r.issues = [], r.fallback = !0), r);
};
-}), ys = /* @__PURE__ */ v("$ZodNaN", (e, n) => {
+}), ks = /* @__PURE__ */ v("$ZodNaN", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => ((typeof r.value != "number" || !Number.isNaN(r.value)) && r.issues.push({
input: r.value,
inst: e,
expected: "nan",
code: "invalid_type"
}), r);
-}), Yr = /* @__PURE__ */ v("$ZodPipe", (e, n) => {
+}), ei = /* @__PURE__ */ v("$ZodPipe", (e, n) => {
X.init(e, n), Y(e._zod, "values", () => n.in._zod.values), Y(e._zod, "optin", () => n.in._zod.optin), Y(e._zod, "optout", () => n.out._zod.optout), Y(e._zod, "propValues", () => n.in._zod.propValues), e._zod.parse = (r, o) => {
if (o.direction === "backward") {
const i = n.out._zod.run(r, o);
- return i instanceof Promise ? i.then((a) => on(a, n.in, o)) : on(i, n.in, o);
+ return i instanceof Promise ? i.then((a) => an(a, n.in, o)) : an(i, n.in, o);
}
const t = n.in._zod.run(r, o);
- return t instanceof Promise ? t.then((i) => on(i, n.out, o)) : on(t, n.out, o);
- };
-});
-function on(e, n, r) {
- return e.issues.length ? (e.aborted = !0, e) : n._zod.run({ value: e.value, issues: e.issues, fallback: e.fallback }, r);
-}
-const Qr = /* @__PURE__ */ v("$ZodCodec", (e, n) => {
- X.init(e, n), Y(e._zod, "values", () => n.in._zod.values), Y(e._zod, "optin", () => n.in._zod.optin), Y(e._zod, "optout", () => n.out._zod.optout), Y(e._zod, "propValues", () => n.in._zod.propValues), e._zod.parse = (r, o) => {
- if ((o.direction || "forward") === "forward") {
- const i = n.in._zod.run(r, o);
- return i instanceof Promise ? i.then((a) => an(a, n, o)) : an(i, n, o);
- } else {
- const i = n.out._zod.run(r, o);
- return i instanceof Promise ? i.then((a) => an(a, n, o)) : an(i, n, o);
- }
+ return t instanceof Promise ? t.then((i) => an(i, n.out, o)) : an(t, n.out, o);
};
});
function an(e, n, r) {
+ return e.issues.length ? (e.aborted = !0, e) : n._zod.run({ value: e.value, issues: e.issues, fallback: e.fallback }, r);
+}
+const ti = /* @__PURE__ */ v("$ZodCodec", (e, n) => {
+ X.init(e, n), Y(e._zod, "values", () => n.in._zod.values), Y(e._zod, "optin", () => n.in._zod.optin), Y(e._zod, "optout", () => n.out._zod.optout), Y(e._zod, "propValues", () => n.in._zod.propValues), e._zod.parse = (r, o) => {
+ if ((o.direction || "forward") === "forward") {
+ const i = n.in._zod.run(r, o);
+ return i instanceof Promise ? i.then((a) => ln(a, n, o)) : ln(i, n, o);
+ } else {
+ const i = n.out._zod.run(r, o);
+ return i instanceof Promise ? i.then((a) => ln(a, n, o)) : ln(i, n, o);
+ }
+ };
+});
+function ln(e, n, r) {
if (e.issues.length)
return e.aborted = !0, e;
if ((r.direction || "forward") === "forward") {
const t = n.transform(e.value, e);
- return t instanceof Promise ? t.then((i) => ln(e, i, n.out, r)) : ln(e, t, n.out, r);
+ return t instanceof Promise ? t.then((i) => un(e, i, n.out, r)) : un(e, t, n.out, r);
} else {
const t = n.reverseTransform(e.value, e);
- return t instanceof Promise ? t.then((i) => ln(e, i, n.in, r)) : ln(e, t, n.in, r);
+ return t instanceof Promise ? t.then((i) => un(e, i, n.in, r)) : un(e, t, n.in, r);
}
}
-function ln(e, n, r, o) {
+function un(e, n, r, o) {
return e.issues.length ? (e.aborted = !0, e) : r._zod.run({ value: n, issues: e.issues }, o);
}
-const ks = /* @__PURE__ */ v("$ZodPreprocess", (e, n) => {
- Yr.init(e, n);
-}), Ss = /* @__PURE__ */ v("$ZodReadonly", (e, n) => {
+const Ss = /* @__PURE__ */ v("$ZodPreprocess", (e, n) => {
+ ei.init(e, n);
+}), Is = /* @__PURE__ */ v("$ZodReadonly", (e, n) => {
X.init(e, n), Y(e._zod, "propValues", () => n.innerType._zod.propValues), Y(e._zod, "values", () => n.innerType._zod.values), Y(e._zod, "optin", () => {
var r, o;
return (o = (r = n.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optin;
@@ -7691,13 +7825,13 @@ const ks = /* @__PURE__ */ v("$ZodPreprocess", (e, n) => {
if (o.direction === "backward")
return n.innerType._zod.run(r, o);
const t = n.innerType._zod.run(r, o);
- return t instanceof Promise ? t.then(aa) : aa(t);
+ return t instanceof Promise ? t.then(la) : la(t);
};
});
-function aa(e) {
+function la(e) {
return e.value = Object.freeze(e.value), e;
}
-const Is = /* @__PURE__ */ v("$ZodTemplateLiteral", (e, n) => {
+const ws = /* @__PURE__ */ v("$ZodTemplateLiteral", (e, n) => {
X.init(e, n);
const r = [];
for (const o of n.parts)
@@ -7709,7 +7843,7 @@ const Is = /* @__PURE__ */ v("$ZodTemplateLiteral", (e, n) => {
throw new Error(`Invalid template literal part: ${o._zod.traits}`);
const i = t.startsWith("^") ? 1 : 0, a = t.endsWith("$") ? t.length - 1 : t.length;
r.push(t.slice(i, a));
- } else if (o === null || Wa.has(typeof o))
+ } else if (o === null || Ka.has(typeof o))
r.push(Be(`${o}`));
else
throw new Error(`Invalid template literal part: ${o}`);
@@ -7725,19 +7859,19 @@ const Is = /* @__PURE__ */ v("$ZodTemplateLiteral", (e, n) => {
format: n.format ?? "template_literal",
pattern: e._zod.pattern.source
}), o);
-}), ws = /* @__PURE__ */ v("$ZodFunction", (e, n) => (X.init(e, n), e._def = n, e._zod.def = n, e.implement = (r) => {
+}), zs = /* @__PURE__ */ v("$ZodFunction", (e, n) => (X.init(e, n), e._def = n, e._zod.def = n, e.implement = (r) => {
if (typeof r != "function")
throw new Error("implement() must be called with a function");
return function(...o) {
- const t = e._def.input ? pr(e._def.input, o) : o, i = Reflect.apply(r, this, t);
- return e._def.output ? pr(e._def.output, i) : i;
+ const t = e._def.input ? hr(e._def.input, o) : o, i = Reflect.apply(r, this, t);
+ return e._def.output ? hr(e._def.output, i) : i;
};
}, e.implementAsync = (r) => {
if (typeof r != "function")
throw new Error("implementAsync() must be called with a function");
return async function(...o) {
- const t = e._def.input ? await gr(e._def.input, o) : o, i = await Reflect.apply(r, this, t);
- return e._def.output ? await gr(e._def.output, i) : i;
+ const t = e._def.input ? await br(e._def.input, o) : o, i = await Reflect.apply(r, this, t);
+ return e._def.output ? await br(e._def.output, i) : i;
};
}, e._zod.parse = (r, o) => typeof r.value != "function" ? (r.issues.push({
code: "invalid_type",
@@ -7748,7 +7882,7 @@ const Is = /* @__PURE__ */ v("$ZodTemplateLiteral", (e, n) => {
const o = e.constructor;
return Array.isArray(r[0]) ? new o({
type: "function",
- input: new Xr({
+ input: new Yr({
type: "tuple",
items: r[0],
rest: r[1]
@@ -7766,9 +7900,9 @@ const Is = /* @__PURE__ */ v("$ZodTemplateLiteral", (e, n) => {
input: e._def.input,
output: r
});
-}, e)), zs = /* @__PURE__ */ v("$ZodPromise", (e, n) => {
+}, e)), Ds = /* @__PURE__ */ v("$ZodPromise", (e, n) => {
X.init(e, n), e._zod.parse = (r, o) => Promise.resolve(r.value).then((t) => n.innerType._zod.run({ value: t, issues: [] }, o));
-}), Ds = /* @__PURE__ */ v("$ZodLazy", (e, n) => {
+}), Os = /* @__PURE__ */ v("$ZodLazy", (e, n) => {
X.init(e, n), Y(e._zod, "innerType", () => {
const r = n;
return r._cachedInner || (r._cachedInner = n.getter()), r._cachedInner;
@@ -7785,15 +7919,15 @@ const Is = /* @__PURE__ */ v("$ZodTemplateLiteral", (e, n) => {
var r, o;
return ((o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optout) ?? void 0;
}), e._zod.parse = (r, o) => e._zod.innerType._zod.run(r, o);
-}), Os = /* @__PURE__ */ v("$ZodCustom", (e, n) => {
+}), js = /* @__PURE__ */ v("$ZodCustom", (e, n) => {
fe.init(e, n), X.init(e, n), e._zod.parse = (r, o) => r, e._zod.check = (r) => {
const o = r.value, t = n.fn(o);
if (t instanceof Promise)
- return t.then((i) => la(i, r, o, e));
- la(t, r, o, e);
+ return t.then((i) => ua(i, r, o, e));
+ ua(t, r, o, e);
};
});
-function la(e, n, r, o) {
+function ua(e, n, r, o) {
if (!e) {
const t = {
code: "custom",
@@ -7853,11 +7987,11 @@ const $_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `مدخلات غير مقبولة: يفترض إدخال instanceof ${t.expected}، ولكن تم إدخال ${l}` : `مدخلات غير مقبولة: يفترض إدخال ${i}، ولكن تم إدخال ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `مدخلات غير مقبولة: يفترض إدخال ${R(t.values[0])}` : `اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `مدخلات غير مقبولة: يفترض إدخال ${R(t.values[0])}` : `اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? ` أكبر من اللازم: يفترض أن تكون ${t.origin ?? "القيمة"} ${i} ${t.maximum.toString()} ${a.unit ?? "عنصر"}` : `أكبر من اللازم: يفترض أن تكون ${t.origin ?? "القيمة"} ${i} ${t.maximum.toString()}`;
@@ -7873,7 +8007,7 @@ const $_ = () => {
case "not_multiple_of":
return `رقم غير مقبول: يجب أن يكون من مضاعفات ${t.divisor}`;
case "unrecognized_keys":
- return `معرف${t.keys.length > 1 ? "ات" : ""} غريب${t.keys.length > 1 ? "ة" : ""}: ${S(t.keys, "، ")}`;
+ return `معرف${t.keys.length > 1 ? "ات" : ""} غريب${t.keys.length > 1 ? "ة" : ""}: ${I(t.keys, "، ")}`;
case "invalid_key":
return `معرف غير مقبول في ${t.origin}`;
case "invalid_union":
@@ -7885,12 +8019,12 @@ const $_ = () => {
}
};
};
-function b_() {
+function __() {
return {
localeError: $_()
};
}
-const __ = () => {
+const y_ = () => {
const e = {
string: { unit: "simvol", verb: "olmalıdır" },
file: { unit: "bayt", verb: "olmalıdır" },
@@ -7935,11 +8069,11 @@ const __ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Yanlış dəyər: gözlənilən instanceof ${t.expected}, daxil olan ${l}` : `Yanlış dəyər: gözlənilən ${i}, daxil olan ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Yanlış dəyər: gözlənilən ${R(t.values[0])}` : `Yanlış seçim: aşağıdakılardan biri olmalıdır: ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Yanlış dəyər: gözlənilən ${R(t.values[0])}` : `Yanlış seçim: aşağıdakılardan biri olmalıdır: ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Çox böyük: gözlənilən ${t.origin ?? "dəyər"} ${i}${t.maximum.toString()} ${a.unit ?? "element"}` : `Çox böyük: gözlənilən ${t.origin ?? "dəyər"} ${i}${t.maximum.toString()}`;
@@ -7955,7 +8089,7 @@ const __ = () => {
case "not_multiple_of":
return `Yanlış ədəd: ${t.divisor} ilə bölünə bilən olmalıdır`;
case "unrecognized_keys":
- return `Tanınmayan açar${t.keys.length > 1 ? "lar" : ""}: ${S(t.keys, ", ")}`;
+ return `Tanınmayan açar${t.keys.length > 1 ? "lar" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `${t.origin} daxilində yanlış açar`;
case "invalid_union":
@@ -7967,16 +8101,16 @@ const __ = () => {
}
};
};
-function y_() {
+function k_() {
return {
- localeError: __()
+ localeError: y_()
};
}
-function ua(e, n, r, o) {
+function sa(e, n, r, o) {
const t = Math.abs(e), i = t % 10, a = t % 100;
return a >= 11 && a <= 19 ? o : i === 1 ? n : i >= 2 && i <= 4 ? r : o;
}
-const k_ = () => {
+const S_ = () => {
const e = {
string: {
unit: {
@@ -8051,15 +8185,15 @@ const k_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Няправільны ўвод: чакаўся instanceof ${t.expected}, атрымана ${l}` : `Няправільны ўвод: чакаўся ${i}, атрымана ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Няправільны ўвод: чакалася ${R(t.values[0])}` : `Няправільны варыянт: чакаўся адзін з ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Няправільны ўвод: чакалася ${R(t.values[0])}` : `Няправільны варыянт: чакаўся адзін з ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
if (a) {
- const l = Number(t.maximum), s = ua(l, a.unit.one, a.unit.few, a.unit.many);
+ const l = Number(t.maximum), s = sa(l, a.unit.one, a.unit.few, a.unit.many);
return `Занадта вялікі: чакалася, што ${t.origin ?? "значэнне"} павінна ${a.verb} ${i}${t.maximum.toString()} ${s}`;
}
return `Занадта вялікі: чакалася, што ${t.origin ?? "значэнне"} павінна быць ${i}${t.maximum.toString()}`;
@@ -8067,7 +8201,7 @@ const k_ = () => {
case "too_small": {
const i = t.inclusive ? ">=" : ">", a = n(t.origin);
if (a) {
- const l = Number(t.minimum), s = ua(l, a.unit.one, a.unit.few, a.unit.many);
+ const l = Number(t.minimum), s = sa(l, a.unit.one, a.unit.few, a.unit.many);
return `Занадта малы: чакалася, што ${t.origin} павінна ${a.verb} ${i}${t.minimum.toString()} ${s}`;
}
return `Занадта малы: чакалася, што ${t.origin} павінна быць ${i}${t.minimum.toString()}`;
@@ -8079,7 +8213,7 @@ const k_ = () => {
case "not_multiple_of":
return `Няправільны лік: павінен быць кратным ${t.divisor}`;
case "unrecognized_keys":
- return `Нераспазнаны ${t.keys.length > 1 ? "ключы" : "ключ"}: ${S(t.keys, ", ")}`;
+ return `Нераспазнаны ${t.keys.length > 1 ? "ключы" : "ключ"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Няправільны ключ у ${t.origin}`;
case "invalid_union":
@@ -8091,12 +8225,12 @@ const k_ = () => {
}
};
};
-function S_() {
+function I_() {
return {
- localeError: k_()
+ localeError: S_()
};
}
-const I_ = () => {
+const w_ = () => {
const e = {
string: { unit: "символа", verb: "да съдържа" },
file: { unit: "байта", verb: "да съдържа" },
@@ -8143,11 +8277,11 @@ const I_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Невалиден вход: очакван instanceof ${t.expected}, получен ${l}` : `Невалиден вход: очакван ${i}, получен ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Невалиден вход: очакван ${R(t.values[0])}` : `Невалидна опция: очаквано едно от ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Невалиден вход: очакван ${R(t.values[0])}` : `Невалидна опция: очаквано едно от ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Твърде голямо: очаква се ${t.origin ?? "стойност"} да съдържа ${i}${t.maximum.toString()} ${a.unit ?? "елемента"}` : `Твърде голямо: очаква се ${t.origin ?? "стойност"} да бъде ${i}${t.maximum.toString()}`;
@@ -8172,7 +8306,7 @@ const I_ = () => {
case "not_multiple_of":
return `Невалидно число: трябва да бъде кратно на ${t.divisor}`;
case "unrecognized_keys":
- return `Неразпознат${t.keys.length > 1 ? "и" : ""} ключ${t.keys.length > 1 ? "ове" : ""}: ${S(t.keys, ", ")}`;
+ return `Неразпознат${t.keys.length > 1 ? "и" : ""} ключ${t.keys.length > 1 ? "ове" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Невалиден ключ в ${t.origin}`;
case "invalid_union":
@@ -8184,12 +8318,12 @@ const I_ = () => {
}
};
};
-function w_() {
+function z_() {
return {
- localeError: I_()
+ localeError: w_()
};
}
-const z_ = () => {
+const D_ = () => {
const e = {
string: { unit: "caràcters", verb: "contenir" },
file: { unit: "bytes", verb: "contenir" },
@@ -8234,11 +8368,11 @@ const z_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Tipus invàlid: s'esperava instanceof ${t.expected}, s'ha rebut ${l}` : `Tipus invàlid: s'esperava ${i}, s'ha rebut ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Valor invàlid: s'esperava ${R(t.values[0])}` : `Opció invàlida: s'esperava una de ${S(t.values, " o ")}`;
+ return t.values.length === 1 ? `Valor invàlid: s'esperava ${R(t.values[0])}` : `Opció invàlida: s'esperava una de ${I(t.values, " o ")}`;
case "too_big": {
const i = t.inclusive ? "com a màxim" : "menys de", a = n(t.origin);
return a ? `Massa gran: s'esperava que ${t.origin ?? "el valor"} contingués ${i} ${t.maximum.toString()} ${a.unit ?? "elements"}` : `Massa gran: s'esperava que ${t.origin ?? "el valor"} fos ${i} ${t.maximum.toString()}`;
@@ -8254,7 +8388,7 @@ const z_ = () => {
case "not_multiple_of":
return `Número invàlid: ha de ser múltiple de ${t.divisor}`;
case "unrecognized_keys":
- return `Clau${t.keys.length > 1 ? "s" : ""} no reconeguda${t.keys.length > 1 ? "s" : ""}: ${S(t.keys, ", ")}`;
+ return `Clau${t.keys.length > 1 ? "s" : ""} no reconeguda${t.keys.length > 1 ? "s" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Clau invàlida a ${t.origin}`;
case "invalid_union":
@@ -8267,12 +8401,12 @@ const z_ = () => {
}
};
};
-function D_() {
+function O_() {
return {
- localeError: z_()
+ localeError: D_()
};
}
-const O_ = () => {
+const j_ = () => {
const e = {
string: { unit: "znaků", verb: "mít" },
file: { unit: "bajtů", verb: "mít" },
@@ -8321,11 +8455,11 @@ const O_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Neplatný vstup: očekáváno instanceof ${t.expected}, obdrženo ${l}` : `Neplatný vstup: očekáváno ${i}, obdrženo ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Neplatný vstup: očekáváno ${R(t.values[0])}` : `Neplatná možnost: očekávána jedna z hodnot ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Neplatný vstup: očekáváno ${R(t.values[0])}` : `Neplatná možnost: očekávána jedna z hodnot ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Hodnota je příliš velká: ${t.origin ?? "hodnota"} musí mít ${i}${t.maximum.toString()} ${a.unit ?? "prvků"}` : `Hodnota je příliš velká: ${t.origin ?? "hodnota"} musí být ${i}${t.maximum.toString()}`;
@@ -8341,7 +8475,7 @@ const O_ = () => {
case "not_multiple_of":
return `Neplatné číslo: musí být násobkem ${t.divisor}`;
case "unrecognized_keys":
- return `Neznámé klíče: ${S(t.keys, ", ")}`;
+ return `Neznámé klíče: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Neplatný klíč v ${t.origin}`;
case "invalid_union":
@@ -8353,12 +8487,12 @@ const O_ = () => {
}
};
};
-function j_() {
+function E_() {
return {
- localeError: O_()
+ localeError: j_()
};
}
-const E_ = () => {
+const U_ = () => {
const e = {
string: { unit: "tegn", verb: "havde" },
file: { unit: "bytes", verb: "havde" },
@@ -8410,11 +8544,11 @@ const E_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Ugyldigt input: forventede instanceof ${t.expected}, fik ${l}` : `Ugyldigt input: forventede ${i}, fik ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Ugyldig værdi: forventede ${R(t.values[0])}` : `Ugyldigt valg: forventede en af følgende ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Ugyldig værdi: forventede ${R(t.values[0])}` : `Ugyldigt valg: forventede en af følgende ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin), l = o[t.origin] ?? t.origin;
return a ? `For stor: forventede ${l ?? "value"} ${a.verb} ${i} ${t.maximum.toString()} ${a.unit ?? "elementer"}` : `For stor: forventede ${l ?? "value"} havde ${i} ${t.maximum.toString()}`;
@@ -8430,7 +8564,7 @@ const E_ = () => {
case "not_multiple_of":
return `Ugyldigt tal: skal være deleligt med ${t.divisor}`;
case "unrecognized_keys":
- return `${t.keys.length > 1 ? "Ukendte nøgler" : "Ukendt nøgle"}: ${S(t.keys, ", ")}`;
+ return `${t.keys.length > 1 ? "Ukendte nøgler" : "Ukendt nøgle"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Ugyldig nøgle i ${t.origin}`;
case "invalid_union":
@@ -8442,12 +8576,12 @@ const E_ = () => {
}
};
};
-function U_() {
+function x_() {
return {
- localeError: E_()
+ localeError: U_()
};
}
-const x_ = () => {
+const T_ = () => {
const e = {
string: { unit: "Zeichen", verb: "zu haben" },
file: { unit: "Bytes", verb: "zu haben" },
@@ -8494,11 +8628,11 @@ const x_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Ungültige Eingabe: erwartet instanceof ${t.expected}, erhalten ${l}` : `Ungültige Eingabe: erwartet ${i}, erhalten ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Ungültige Eingabe: erwartet ${R(t.values[0])}` : `Ungültige Option: erwartet eine von ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Ungültige Eingabe: erwartet ${R(t.values[0])}` : `Ungültige Option: erwartet eine von ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Zu groß: erwartet, dass ${t.origin ?? "Wert"} ${i}${t.maximum.toString()} ${a.unit ?? "Elemente"} hat` : `Zu groß: erwartet, dass ${t.origin ?? "Wert"} ${i}${t.maximum.toString()} ist`;
@@ -8514,7 +8648,7 @@ const x_ = () => {
case "not_multiple_of":
return `Ungültige Zahl: muss ein Vielfaches von ${t.divisor} sein`;
case "unrecognized_keys":
- return `${t.keys.length > 1 ? "Unbekannte Schlüssel" : "Unbekannter Schlüssel"}: ${S(t.keys, ", ")}`;
+ return `${t.keys.length > 1 ? "Unbekannte Schlüssel" : "Unbekannter Schlüssel"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Ungültiger Schlüssel in ${t.origin}`;
case "invalid_union":
@@ -8526,12 +8660,12 @@ const x_ = () => {
}
};
};
-function T_() {
+function A_() {
return {
- localeError: x_()
+ localeError: T_()
};
}
-const A_ = () => {
+const N_ = () => {
const e = {
string: { unit: "χαρακτήρες", verb: "να έχει" },
file: { unit: "bytes", verb: "να έχει" },
@@ -8578,11 +8712,11 @@ const A_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return typeof t.expected == "string" && /^[A-Z]/.test(t.expected) ? `Μη έγκυρη είσοδος: αναμενόταν instanceof ${t.expected}, λήφθηκε ${l}` : `Μη έγκυρη είσοδος: αναμενόταν ${i}, λήφθηκε ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Μη έγκυρη είσοδος: αναμενόταν ${R(t.values[0])}` : `Μη έγκυρη επιλογή: αναμενόταν ένα από ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Μη έγκυρη είσοδος: αναμενόταν ${R(t.values[0])}` : `Μη έγκυρη επιλογή: αναμενόταν ένα από ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Πολύ μεγάλο: αναμενόταν ${t.origin ?? "τιμή"} να έχει ${i}${t.maximum.toString()} ${a.unit ?? "στοιχεία"}` : `Πολύ μεγάλο: αναμενόταν ${t.origin ?? "τιμή"} να είναι ${i}${t.maximum.toString()}`;
@@ -8598,7 +8732,7 @@ const A_ = () => {
case "not_multiple_of":
return `Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${t.divisor}`;
case "unrecognized_keys":
- return `Άγνωστ${t.keys.length > 1 ? "α" : "ο"} κλειδ${t.keys.length > 1 ? "ιά" : "ί"}: ${S(t.keys, ", ")}`;
+ return `Άγνωστ${t.keys.length > 1 ? "α" : "ο"} κλειδ${t.keys.length > 1 ? "ιά" : "ί"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Μη έγκυρο κλειδί στο ${t.origin}`;
case "invalid_union":
@@ -8610,12 +8744,12 @@ const A_ = () => {
}
};
};
-function N_() {
+function P_() {
return {
- localeError: A_()
+ localeError: N_()
};
}
-const P_ = () => {
+const C_ = () => {
const e = {
string: { unit: "characters", verb: "to have" },
file: { unit: "bytes", verb: "to have" },
@@ -8664,11 +8798,11 @@ const P_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return `Invalid input: expected ${i}, received ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Invalid input: expected ${R(t.values[0])}` : `Invalid option: expected one of ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Invalid input: expected ${R(t.values[0])}` : `Invalid option: expected one of ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Too big: expected ${t.origin ?? "value"} to have ${i}${t.maximum.toString()} ${a.unit ?? "elements"}` : `Too big: expected ${t.origin ?? "value"} to be ${i}${t.maximum.toString()}`;
@@ -8684,7 +8818,7 @@ const P_ = () => {
case "not_multiple_of":
return `Invalid number: must be a multiple of ${t.divisor}`;
case "unrecognized_keys":
- return `Unrecognized key${t.keys.length > 1 ? "s" : ""}: ${S(t.keys, ", ")}`;
+ return `Unrecognized key${t.keys.length > 1 ? "s" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Invalid key in ${t.origin}`;
case "invalid_union":
@@ -8696,12 +8830,12 @@ const P_ = () => {
}
};
};
-function js() {
+function Es() {
return {
- localeError: P_()
+ localeError: C_()
};
}
-const C_ = () => {
+const Z_ = () => {
const e = {
string: { unit: "karaktrojn", verb: "havi" },
file: { unit: "bajtojn", verb: "havi" },
@@ -8749,11 +8883,11 @@ const C_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Nevalida enigo: atendiĝis instanceof ${t.expected}, riceviĝis ${l}` : `Nevalida enigo: atendiĝis ${i}, riceviĝis ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Nevalida enigo: atendiĝis ${R(t.values[0])}` : `Nevalida opcio: atendiĝis unu el ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Nevalida enigo: atendiĝis ${R(t.values[0])}` : `Nevalida opcio: atendiĝis unu el ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Tro granda: atendiĝis ke ${t.origin ?? "valoro"} havu ${i}${t.maximum.toString()} ${a.unit ?? "elementojn"}` : `Tro granda: atendiĝis ke ${t.origin ?? "valoro"} havu ${i}${t.maximum.toString()}`;
@@ -8769,7 +8903,7 @@ const C_ = () => {
case "not_multiple_of":
return `Nevalida nombro: devas esti oblo de ${t.divisor}`;
case "unrecognized_keys":
- return `Nekonata${t.keys.length > 1 ? "j" : ""} ŝlosilo${t.keys.length > 1 ? "j" : ""}: ${S(t.keys, ", ")}`;
+ return `Nekonata${t.keys.length > 1 ? "j" : ""} ŝlosilo${t.keys.length > 1 ? "j" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Nevalida ŝlosilo en ${t.origin}`;
case "invalid_union":
@@ -8781,12 +8915,12 @@ const C_ = () => {
}
};
};
-function Z_() {
+function M_() {
return {
- localeError: C_()
+ localeError: Z_()
};
}
-const M_ = () => {
+const F_ = () => {
const e = {
string: { unit: "caracteres", verb: "tener" },
file: { unit: "bytes", verb: "tener" },
@@ -8855,11 +8989,11 @@ const M_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Entrada inválida: se esperaba instanceof ${t.expected}, recibido ${l}` : `Entrada inválida: se esperaba ${i}, recibido ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Entrada inválida: se esperaba ${R(t.values[0])}` : `Opción inválida: se esperaba una de ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Entrada inválida: se esperaba ${R(t.values[0])}` : `Opción inválida: se esperaba una de ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin), l = o[t.origin] ?? t.origin;
return a ? `Demasiado grande: se esperaba que ${l ?? "valor"} tuviera ${i}${t.maximum.toString()} ${a.unit ?? "elementos"}` : `Demasiado grande: se esperaba que ${l ?? "valor"} fuera ${i}${t.maximum.toString()}`;
@@ -8875,7 +9009,7 @@ const M_ = () => {
case "not_multiple_of":
return `Número inválido: debe ser múltiplo de ${t.divisor}`;
case "unrecognized_keys":
- return `Llave${t.keys.length > 1 ? "s" : ""} desconocida${t.keys.length > 1 ? "s" : ""}: ${S(t.keys, ", ")}`;
+ return `Llave${t.keys.length > 1 ? "s" : ""} desconocida${t.keys.length > 1 ? "s" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Llave inválida en ${o[t.origin] ?? t.origin}`;
case "invalid_union":
@@ -8887,12 +9021,12 @@ const M_ = () => {
}
};
};
-function F_() {
+function L_() {
return {
- localeError: M_()
+ localeError: F_()
};
}
-const L_ = () => {
+const R_ = () => {
const e = {
string: { unit: "کاراکتر", verb: "داشته باشد" },
file: { unit: "بایت", verb: "داشته باشد" },
@@ -8939,11 +9073,11 @@ const L_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `ورودی نامعتبر: میبایست instanceof ${t.expected} میبود، ${l} دریافت شد` : `ورودی نامعتبر: میبایست ${i} میبود، ${l} دریافت شد`;
}
case "invalid_value":
- return t.values.length === 1 ? `ورودی نامعتبر: میبایست ${R(t.values[0])} میبود` : `گزینه نامعتبر: میبایست یکی از ${S(t.values, "|")} میبود`;
+ return t.values.length === 1 ? `ورودی نامعتبر: میبایست ${R(t.values[0])} میبود` : `گزینه نامعتبر: میبایست یکی از ${I(t.values, "|")} میبود`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `خیلی بزرگ: ${t.origin ?? "مقدار"} باید ${i}${t.maximum.toString()} ${a.unit ?? "عنصر"} باشد` : `خیلی بزرگ: ${t.origin ?? "مقدار"} باید ${i}${t.maximum.toString()} باشد`;
@@ -8959,7 +9093,7 @@ const L_ = () => {
case "not_multiple_of":
return `عدد نامعتبر: باید مضرب ${t.divisor} باشد`;
case "unrecognized_keys":
- return `کلید${t.keys.length > 1 ? "های" : ""} ناشناس: ${S(t.keys, ", ")}`;
+ return `کلید${t.keys.length > 1 ? "های" : ""} ناشناس: ${I(t.keys, ", ")}`;
case "invalid_key":
return `کلید ناشناس در ${t.origin}`;
case "invalid_union":
@@ -8971,12 +9105,12 @@ const L_ = () => {
}
};
};
-function R_() {
+function B_() {
return {
- localeError: L_()
+ localeError: R_()
};
}
-const B_ = () => {
+const V_ = () => {
const e = {
string: { unit: "merkkiä", subject: "merkkijonon" },
file: { unit: "tavua", subject: "tiedoston" },
@@ -9025,11 +9159,11 @@ const B_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Virheellinen tyyppi: odotettiin instanceof ${t.expected}, oli ${l}` : `Virheellinen tyyppi: odotettiin ${i}, oli ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Virheellinen syöte: täytyy olla ${R(t.values[0])}` : `Virheellinen valinta: täytyy olla yksi seuraavista: ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Virheellinen syöte: täytyy olla ${R(t.values[0])}` : `Virheellinen valinta: täytyy olla yksi seuraavista: ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Liian suuri: ${a.subject} täytyy olla ${i}${t.maximum.toString()} ${a.unit}`.trim() : `Liian suuri: arvon täytyy olla ${i}${t.maximum.toString()}`;
@@ -9045,7 +9179,7 @@ const B_ = () => {
case "not_multiple_of":
return `Virheellinen luku: täytyy olla luvun ${t.divisor} monikerta`;
case "unrecognized_keys":
- return `${t.keys.length > 1 ? "Tuntemattomat avaimet" : "Tuntematon avain"}: ${S(t.keys, ", ")}`;
+ return `${t.keys.length > 1 ? "Tuntemattomat avaimet" : "Tuntematon avain"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return "Virheellinen avain tietueessa";
case "invalid_union":
@@ -9057,12 +9191,12 @@ const B_ = () => {
}
};
};
-function V_() {
+function J_() {
return {
- localeError: B_()
+ localeError: V_()
};
}
-const J_ = () => {
+const q_ = () => {
const e = {
string: { unit: "caractères", verb: "avoir" },
file: { unit: "octets", verb: "avoir" },
@@ -9127,11 +9261,11 @@ const J_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Entrée invalide : instanceof ${t.expected} attendu, ${l} reçu` : `Entrée invalide : ${i} attendu, ${l} reçu`;
}
case "invalid_value":
- return t.values.length === 1 ? `Entrée invalide : ${R(t.values[0])} attendu` : `Option invalide : une valeur parmi ${S(t.values, "|")} attendue`;
+ return t.values.length === 1 ? `Entrée invalide : ${R(t.values[0])} attendu` : `Option invalide : une valeur parmi ${I(t.values, "|")} attendue`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Trop grand : ${o[t.origin] ?? "valeur"} doit ${a.verb} ${i}${t.maximum.toString()} ${a.unit ?? "élément(s)"}` : `Trop grand : ${o[t.origin] ?? "valeur"} doit être ${i}${t.maximum.toString()}`;
@@ -9147,7 +9281,7 @@ const J_ = () => {
case "not_multiple_of":
return `Nombre invalide : doit être un multiple de ${t.divisor}`;
case "unrecognized_keys":
- return `Clé${t.keys.length > 1 ? "s" : ""} non reconnue${t.keys.length > 1 ? "s" : ""} : ${S(t.keys, ", ")}`;
+ return `Clé${t.keys.length > 1 ? "s" : ""} non reconnue${t.keys.length > 1 ? "s" : ""} : ${I(t.keys, ", ")}`;
case "invalid_key":
return `Clé invalide dans ${t.origin}`;
case "invalid_union":
@@ -9159,9 +9293,9 @@ const J_ = () => {
}
};
};
-function q_() {
+function W_() {
return {
- localeError: J_()
+ localeError: q_()
};
}
const G_ = () => {
@@ -9209,11 +9343,11 @@ const G_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Entrée invalide : attendu instanceof ${t.expected}, reçu ${l}` : `Entrée invalide : attendu ${i}, reçu ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Entrée invalide : attendu ${R(t.values[0])}` : `Option invalide : attendu l'une des valeurs suivantes ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Entrée invalide : attendu ${R(t.values[0])}` : `Option invalide : attendu l'une des valeurs suivantes ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "≤" : "<", a = n(t.origin);
return a ? `Trop grand : attendu que ${t.origin ?? "la valeur"} ait ${i}${t.maximum.toString()} ${a.unit}` : `Trop grand : attendu que ${t.origin ?? "la valeur"} soit ${i}${t.maximum.toString()}`;
@@ -9229,7 +9363,7 @@ const G_ = () => {
case "not_multiple_of":
return `Nombre invalide : doit être un multiple de ${t.divisor}`;
case "unrecognized_keys":
- return `Clé${t.keys.length > 1 ? "s" : ""} non reconnue${t.keys.length > 1 ? "s" : ""} : ${S(t.keys, ", ")}`;
+ return `Clé${t.keys.length > 1 ? "s" : ""} non reconnue${t.keys.length > 1 ? "s" : ""} : ${I(t.keys, ", ")}`;
case "invalid_key":
return `Clé invalide dans ${t.origin}`;
case "invalid_union":
@@ -9241,12 +9375,12 @@ const G_ = () => {
}
};
};
-function W_() {
+function K_() {
return {
localeError: G_()
};
}
-const K_ = () => {
+const X_ = () => {
const e = {
string: { label: "מחרוזת", gender: "f" },
number: { label: "מספר", gender: "m" },
@@ -9317,7 +9451,7 @@ const K_ = () => {
var d;
switch (u.code) {
case "invalid_type": {
- const c = u.expected, m = s[c ?? ""] ?? o(c), f = B(u.input), h = s[f] ?? ((d = e[f]) == null ? void 0 : d.label) ?? f;
+ const c = u.expected, m = s[c ?? ""] ?? o(c), f = V(u.input), h = s[f] ?? ((d = e[f]) == null ? void 0 : d.label) ?? f;
return /^[A-Z]/.test(u.expected) ? `קלט לא תקין: צריך להיות instanceof ${u.expected}, התקבל ${h}` : `קלט לא תקין: צריך להיות ${m}, התקבל ${h}`;
}
case "invalid_value": {
@@ -9355,8 +9489,8 @@ const K_ = () => {
if (u.origin === "array" || u.origin === "set") {
const g = u.origin === "set" ? "צריכה" : "צריך";
if (u.minimum === 1 && u.inclusive) {
- const j = (u.origin === "set", "לפחות פריט אחד");
- return `קטן מדי: ${m} ${g} להכיל ${j}`;
+ const O = (u.origin === "set", "לפחות פריט אחד");
+ return `קטן מדי: ${m} ${g} להכיל ${O}`;
}
const x = u.inclusive ? `${u.minimum} ${(c == null ? void 0 : c.unit) ?? ""} או יותר` : `יותר מ-${u.minimum} ${(c == null ? void 0 : c.unit) ?? ""}`;
return `קטן מדי: ${m} ${g} להכיל ${x}`.trim();
@@ -9380,7 +9514,7 @@ const K_ = () => {
case "not_multiple_of":
return `מספר לא תקין: חייב להיות מכפלה של ${u.divisor}`;
case "unrecognized_keys":
- return `מפתח${u.keys.length > 1 ? "ות" : ""} לא מזוה${u.keys.length > 1 ? "ים" : "ה"}: ${S(u.keys, ", ")}`;
+ return `מפתח${u.keys.length > 1 ? "ות" : ""} לא מזוה${u.keys.length > 1 ? "ים" : "ה"}: ${I(u.keys, ", ")}`;
case "invalid_key":
return "שדה לא תקין באובייקט";
case "invalid_union":
@@ -9392,12 +9526,12 @@ const K_ = () => {
}
};
};
-function X_() {
+function H_() {
return {
- localeError: K_()
+ localeError: X_()
};
}
-const H_ = () => {
+const Y_ = () => {
const e = {
string: { unit: "znakova", verb: "imati" },
file: { unit: "bajtova", verb: "imati" },
@@ -9456,11 +9590,11 @@ const H_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Neispravan unos: očekuje se instanceof ${t.expected}, a primljeno je ${l}` : `Neispravan unos: očekuje se ${i}, a primljeno je ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Neispravna vrijednost: očekivano ${R(t.values[0])}` : `Neispravna opcija: očekivano jedno od ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Neispravna vrijednost: očekivano ${R(t.values[0])}` : `Neispravna opcija: očekivano jedno od ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin), l = o[t.origin] ?? t.origin;
return a ? `Preveliko: očekivano da ${l ?? "vrijednost"} ima ${i}${t.maximum.toString()} ${a.unit ?? "elemenata"}` : `Preveliko: očekivano da ${l ?? "vrijednost"} bude ${i}${t.maximum.toString()}`;
@@ -9476,7 +9610,7 @@ const H_ = () => {
case "not_multiple_of":
return `Neispravan broj: mora biti višekratnik od ${t.divisor}`;
case "unrecognized_keys":
- return `Neprepoznat${t.keys.length > 1 ? "i ključevi" : " ključ"}: ${S(t.keys, ", ")}`;
+ return `Neprepoznat${t.keys.length > 1 ? "i ključevi" : " ključ"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Neispravan ključ u ${o[t.origin] ?? t.origin}`;
case "invalid_union":
@@ -9488,12 +9622,12 @@ const H_ = () => {
}
};
};
-function Y_() {
+function Q_() {
return {
- localeError: H_()
+ localeError: Y_()
};
}
-const Q_ = () => {
+const ey = () => {
const e = {
string: { unit: "karakter", verb: "legyen" },
file: { unit: "byte", verb: "legyen" },
@@ -9540,11 +9674,11 @@ const Q_ = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Érvénytelen bemenet: a várt érték instanceof ${t.expected}, a kapott érték ${l}` : `Érvénytelen bemenet: a várt érték ${i}, a kapott érték ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Érvénytelen bemenet: a várt érték ${R(t.values[0])}` : `Érvénytelen opció: valamelyik érték várt ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Érvénytelen bemenet: a várt érték ${R(t.values[0])}` : `Érvénytelen opció: valamelyik érték várt ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Túl nagy: ${t.origin ?? "érték"} mérete túl nagy ${i}${t.maximum.toString()} ${a.unit ?? "elem"}` : `Túl nagy: a bemeneti érték ${t.origin ?? "érték"} túl nagy: ${i}${t.maximum.toString()}`;
@@ -9560,7 +9694,7 @@ const Q_ = () => {
case "not_multiple_of":
return `Érvénytelen szám: ${t.divisor} többszörösének kell lennie`;
case "unrecognized_keys":
- return `Ismeretlen kulcs${t.keys.length > 1 ? "s" : ""}: ${S(t.keys, ", ")}`;
+ return `Ismeretlen kulcs${t.keys.length > 1 ? "s" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Érvénytelen kulcs ${t.origin}`;
case "invalid_union":
@@ -9572,12 +9706,12 @@ const Q_ = () => {
}
};
};
-function ey() {
+function ty() {
return {
- localeError: Q_()
+ localeError: ey()
};
}
-function sa(e, n, r) {
+function ca(e, n, r) {
return Math.abs(e) === 1 ? n : r;
}
function at(e) {
@@ -9586,7 +9720,7 @@ function at(e) {
const n = ["ա", "ե", "ը", "ի", "ո", "ու", "օ"], r = e[e.length - 1];
return e + (n.includes(r) ? "ն" : "ը");
}
-const ty = () => {
+const ny = () => {
const e = {
string: {
unit: {
@@ -9657,15 +9791,15 @@ const ty = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Սխալ մուտքագրում․ սպասվում էր instanceof ${t.expected}, ստացվել է ${l}` : `Սխալ մուտքագրում․ սպասվում էր ${i}, ստացվել է ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Սխալ մուտքագրում․ սպասվում էր ${R(t.values[1])}` : `Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Սխալ մուտքագրում․ սպասվում էր ${R(t.values[1])}` : `Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
if (a) {
- const l = Number(t.maximum), s = sa(l, a.unit.one, a.unit.many);
+ const l = Number(t.maximum), s = ca(l, a.unit.one, a.unit.many);
return `Չափազանց մեծ արժեք․ սպասվում է, որ ${at(t.origin ?? "արժեք")} կունենա ${i}${t.maximum.toString()} ${s}`;
}
return `Չափազանց մեծ արժեք․ սպասվում է, որ ${at(t.origin ?? "արժեք")} լինի ${i}${t.maximum.toString()}`;
@@ -9673,7 +9807,7 @@ const ty = () => {
case "too_small": {
const i = t.inclusive ? ">=" : ">", a = n(t.origin);
if (a) {
- const l = Number(t.minimum), s = sa(l, a.unit.one, a.unit.many);
+ const l = Number(t.minimum), s = ca(l, a.unit.one, a.unit.many);
return `Չափազանց փոքր արժեք․ սպասվում է, որ ${at(t.origin)} կունենա ${i}${t.minimum.toString()} ${s}`;
}
return `Չափազանց փոքր արժեք․ սպասվում է, որ ${at(t.origin)} լինի ${i}${t.minimum.toString()}`;
@@ -9685,7 +9819,7 @@ const ty = () => {
case "not_multiple_of":
return `Սխալ թիվ․ պետք է բազմապատիկ լինի ${t.divisor}-ի`;
case "unrecognized_keys":
- return `Չճանաչված բանալի${t.keys.length > 1 ? "ներ" : ""}. ${S(t.keys, ", ")}`;
+ return `Չճանաչված բանալի${t.keys.length > 1 ? "ներ" : ""}. ${I(t.keys, ", ")}`;
case "invalid_key":
return `Սխալ բանալի ${at(t.origin)}-ում`;
case "invalid_union":
@@ -9697,12 +9831,12 @@ const ty = () => {
}
};
};
-function ny() {
+function ry() {
return {
- localeError: ty()
+ localeError: ny()
};
}
-const ry = () => {
+const iy = () => {
const e = {
string: { unit: "karakter", verb: "memiliki" },
file: { unit: "byte", verb: "memiliki" },
@@ -9747,11 +9881,11 @@ const ry = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Input tidak valid: diharapkan instanceof ${t.expected}, diterima ${l}` : `Input tidak valid: diharapkan ${i}, diterima ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Input tidak valid: diharapkan ${R(t.values[0])}` : `Pilihan tidak valid: diharapkan salah satu dari ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Input tidak valid: diharapkan ${R(t.values[0])}` : `Pilihan tidak valid: diharapkan salah satu dari ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Terlalu besar: diharapkan ${t.origin ?? "value"} memiliki ${i}${t.maximum.toString()} ${a.unit ?? "elemen"}` : `Terlalu besar: diharapkan ${t.origin ?? "value"} menjadi ${i}${t.maximum.toString()}`;
@@ -9767,7 +9901,7 @@ const ry = () => {
case "not_multiple_of":
return `Angka tidak valid: harus kelipatan dari ${t.divisor}`;
case "unrecognized_keys":
- return `Kunci tidak dikenali ${t.keys.length > 1 ? "s" : ""}: ${S(t.keys, ", ")}`;
+ return `Kunci tidak dikenali ${t.keys.length > 1 ? "s" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Kunci tidak valid di ${t.origin}`;
case "invalid_union":
@@ -9779,12 +9913,12 @@ const ry = () => {
}
};
};
-function iy() {
+function oy() {
return {
- localeError: ry()
+ localeError: iy()
};
}
-const oy = () => {
+const ay = () => {
const e = {
string: { unit: "stafi", verb: "að hafa" },
file: { unit: "bæti", verb: "að hafa" },
@@ -9831,11 +9965,11 @@ const oy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Rangt gildi: Þú slóst inn ${l} þar sem á að vera instanceof ${t.expected}` : `Rangt gildi: Þú slóst inn ${l} þar sem á að vera ${i}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Rangt gildi: gert ráð fyrir ${R(t.values[0])}` : `Ógilt val: má vera eitt af eftirfarandi ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Rangt gildi: gert ráð fyrir ${R(t.values[0])}` : `Ógilt val: má vera eitt af eftirfarandi ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Of stórt: gert er ráð fyrir að ${t.origin ?? "gildi"} hafi ${i}${t.maximum.toString()} ${a.unit ?? "hluti"}` : `Of stórt: gert er ráð fyrir að ${t.origin ?? "gildi"} sé ${i}${t.maximum.toString()}`;
@@ -9851,7 +9985,7 @@ const oy = () => {
case "not_multiple_of":
return `Röng tala: verður að vera margfeldi af ${t.divisor}`;
case "unrecognized_keys":
- return `Óþekkt ${t.keys.length > 1 ? "ir lyklar" : "ur lykill"}: ${S(t.keys, ", ")}`;
+ return `Óþekkt ${t.keys.length > 1 ? "ir lyklar" : "ur lykill"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Rangur lykill í ${t.origin}`;
case "invalid_union":
@@ -9863,12 +9997,12 @@ const oy = () => {
}
};
};
-function ay() {
+function ly() {
return {
- localeError: oy()
+ localeError: ay()
};
}
-const ly = () => {
+const uy = () => {
const e = {
string: { unit: "caratteri", verb: "avere" },
file: { unit: "byte", verb: "avere" },
@@ -9915,11 +10049,11 @@ const ly = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Input non valido: atteso instanceof ${t.expected}, ricevuto ${l}` : `Input non valido: atteso ${i}, ricevuto ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Input non valido: atteso ${R(t.values[0])}` : `Opzione non valida: atteso uno tra ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Input non valido: atteso ${R(t.values[0])}` : `Opzione non valida: atteso uno tra ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Troppo grande: ${t.origin ?? "valore"} deve avere ${i}${t.maximum.toString()} ${a.unit ?? "elementi"}` : `Troppo grande: ${t.origin ?? "valore"} deve essere ${i}${t.maximum.toString()}`;
@@ -9935,7 +10069,7 @@ const ly = () => {
case "not_multiple_of":
return `Numero non valido: deve essere un multiplo di ${t.divisor}`;
case "unrecognized_keys":
- return `Chiav${t.keys.length > 1 ? "i" : "e"} non riconosciut${t.keys.length > 1 ? "e" : "a"}: ${S(t.keys, ", ")}`;
+ return `Chiav${t.keys.length > 1 ? "i" : "e"} non riconosciut${t.keys.length > 1 ? "e" : "a"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Chiave non valida in ${t.origin}`;
case "invalid_union":
@@ -9947,12 +10081,12 @@ const ly = () => {
}
};
};
-function uy() {
+function sy() {
return {
- localeError: ly()
+ localeError: uy()
};
}
-const sy = () => {
+const cy = () => {
const e = {
string: { unit: "文字", verb: "である" },
file: { unit: "バイト", verb: "である" },
@@ -9999,11 +10133,11 @@ const sy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `無効な入力: instanceof ${t.expected}が期待されましたが、${l}が入力されました` : `無効な入力: ${i}が期待されましたが、${l}が入力されました`;
}
case "invalid_value":
- return t.values.length === 1 ? `無効な入力: ${R(t.values[0])}が期待されました` : `無効な選択: ${S(t.values, "、")}のいずれかである必要があります`;
+ return t.values.length === 1 ? `無効な入力: ${R(t.values[0])}が期待されました` : `無効な選択: ${I(t.values, "、")}のいずれかである必要があります`;
case "too_big": {
const i = t.inclusive ? "以下である" : "より小さい", a = n(t.origin);
return a ? `大きすぎる値: ${t.origin ?? "値"}は${t.maximum.toString()}${a.unit ?? "要素"}${i}必要があります` : `大きすぎる値: ${t.origin ?? "値"}は${t.maximum.toString()}${i}必要があります`;
@@ -10019,7 +10153,7 @@ const sy = () => {
case "not_multiple_of":
return `無効な数値: ${t.divisor}の倍数である必要があります`;
case "unrecognized_keys":
- return `認識されていないキー${t.keys.length > 1 ? "群" : ""}: ${S(t.keys, "、")}`;
+ return `認識されていないキー${t.keys.length > 1 ? "群" : ""}: ${I(t.keys, "、")}`;
case "invalid_key":
return `${t.origin}内の無効なキー`;
case "invalid_union":
@@ -10031,12 +10165,12 @@ const sy = () => {
}
};
};
-function cy() {
+function dy() {
return {
- localeError: sy()
+ localeError: cy()
};
}
-const dy = () => {
+const my = () => {
const e = {
string: { unit: "სიმბოლო", verb: "უნდა შეიცავდეს" },
file: { unit: "ბაიტი", verb: "უნდა შეიცავდეს" },
@@ -10086,11 +10220,11 @@ const dy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `არასწორი შეყვანა: მოსალოდნელი instanceof ${t.expected}, მიღებული ${l}` : `არასწორი შეყვანა: მოსალოდნელი ${i}, მიღებული ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `არასწორი შეყვანა: მოსალოდნელი ${R(t.values[0])}` : `არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${S(t.values, "|")}-დან`;
+ return t.values.length === 1 ? `არასწორი შეყვანა: მოსალოდნელი ${R(t.values[0])}` : `არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${I(t.values, "|")}-დან`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `ზედმეტად დიდი: მოსალოდნელი ${t.origin ?? "მნიშვნელობა"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit}` : `ზედმეტად დიდი: მოსალოდნელი ${t.origin ?? "მნიშვნელობა"} იყოს ${i}${t.maximum.toString()}`;
@@ -10106,7 +10240,7 @@ const dy = () => {
case "not_multiple_of":
return `არასწორი რიცხვი: უნდა იყოს ${t.divisor}-ის ჯერადი`;
case "unrecognized_keys":
- return `უცნობი გასაღებ${t.keys.length > 1 ? "ები" : "ი"}: ${S(t.keys, ", ")}`;
+ return `უცნობი გასაღებ${t.keys.length > 1 ? "ები" : "ი"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `არასწორი გასაღები ${t.origin}-ში`;
case "invalid_union":
@@ -10118,12 +10252,12 @@ const dy = () => {
}
};
};
-function my() {
+function fy() {
return {
- localeError: dy()
+ localeError: my()
};
}
-const fy = () => {
+const vy = () => {
const e = {
string: { unit: "តួអក្សរ", verb: "គួរមាន" },
file: { unit: "បៃ", verb: "គួរមាន" },
@@ -10171,11 +10305,11 @@ const fy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${t.expected} ប៉ុន្តែទទួលបាន ${l}` : `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${i} ប៉ុន្តែទទួលបាន ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${R(t.values[0])}` : `ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${R(t.values[0])}` : `ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `ធំពេក៖ ត្រូវការ ${t.origin ?? "តម្លៃ"} ${i} ${t.maximum.toString()} ${a.unit ?? "ធាតុ"}` : `ធំពេក៖ ត្រូវការ ${t.origin ?? "តម្លៃ"} ${i} ${t.maximum.toString()}`;
@@ -10191,7 +10325,7 @@ const fy = () => {
case "not_multiple_of":
return `លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${t.divisor}`;
case "unrecognized_keys":
- return `រកឃើញសោមិនស្គាល់៖ ${S(t.keys, ", ")}`;
+ return `រកឃើញសោមិនស្គាល់៖ ${I(t.keys, ", ")}`;
case "invalid_key":
return `សោមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;
case "invalid_union":
@@ -10203,15 +10337,15 @@ const fy = () => {
}
};
};
-function Es() {
+function Us() {
return {
- localeError: fy()
+ localeError: vy()
};
}
-function vy() {
- return Es();
+function py() {
+ return Us();
}
-const py = () => {
+const gy = () => {
const e = {
string: { unit: "문자", verb: "to have" },
file: { unit: "바이트", verb: "to have" },
@@ -10256,11 +10390,11 @@ const py = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `잘못된 입력: 예상 타입은 instanceof ${t.expected}, 받은 타입은 ${l}입니다` : `잘못된 입력: 예상 타입은 ${i}, 받은 타입은 ${l}입니다`;
}
case "invalid_value":
- return t.values.length === 1 ? `잘못된 입력: 값은 ${R(t.values[0])} 이어야 합니다` : `잘못된 옵션: ${S(t.values, "또는 ")} 중 하나여야 합니다`;
+ return t.values.length === 1 ? `잘못된 입력: 값은 ${R(t.values[0])} 이어야 합니다` : `잘못된 옵션: ${I(t.values, "또는 ")} 중 하나여야 합니다`;
case "too_big": {
const i = t.inclusive ? "이하" : "미만", a = i === "미만" ? "이어야 합니다" : "여야 합니다", l = n(t.origin), s = (l == null ? void 0 : l.unit) ?? "요소";
return l ? `${t.origin ?? "값"}이 너무 큽니다: ${t.maximum.toString()}${s} ${i}${a}` : `${t.origin ?? "값"}이 너무 큽니다: ${t.maximum.toString()} ${i}${a}`;
@@ -10276,7 +10410,7 @@ const py = () => {
case "not_multiple_of":
return `잘못된 숫자: ${t.divisor}의 배수여야 합니다`;
case "unrecognized_keys":
- return `인식할 수 없는 키: ${S(t.keys, ", ")}`;
+ return `인식할 수 없는 키: ${I(t.keys, ", ")}`;
case "invalid_key":
return `잘못된 키: ${t.origin}`;
case "invalid_union":
@@ -10288,17 +10422,17 @@ const py = () => {
}
};
};
-function gy() {
+function hy() {
return {
- localeError: py()
+ localeError: gy()
};
}
const yt = (e) => e.charAt(0).toUpperCase() + e.slice(1);
-function ca(e) {
+function da(e) {
const n = Math.abs(e), r = n % 10, o = n % 100;
return o >= 11 && o <= 19 || r === 0 ? "many" : r === 1 ? "one" : "few";
}
-const hy = () => {
+const by = () => {
const e = {
string: {
unit: {
@@ -10421,20 +10555,20 @@ const hy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Gautas tipas ${l}, o tikėtasi - instanceof ${t.expected}` : `Gautas tipas ${l}, o tikėtasi - ${i}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Privalo būti ${R(t.values[0])}` : `Privalo būti vienas iš ${S(t.values, "|")} pasirinkimų`;
+ return t.values.length === 1 ? `Privalo būti ${R(t.values[0])}` : `Privalo būti vienas iš ${I(t.values, "|")} pasirinkimų`;
case "too_big": {
- const i = o[t.origin] ?? t.origin, a = n(t.origin, ca(Number(t.maximum)), t.inclusive ?? !1, "smaller");
+ const i = o[t.origin] ?? t.origin, a = n(t.origin, da(Number(t.maximum)), t.inclusive ?? !1, "smaller");
if (a != null && a.verb)
return `${yt(i ?? t.origin ?? "reikšmė")} ${a.verb} ${t.maximum.toString()} ${a.unit ?? "elementų"}`;
const l = t.inclusive ? "ne didesnis kaip" : "mažesnis kaip";
return `${yt(i ?? t.origin ?? "reikšmė")} turi būti ${l} ${t.maximum.toString()} ${a == null ? void 0 : a.unit}`;
}
case "too_small": {
- const i = o[t.origin] ?? t.origin, a = n(t.origin, ca(Number(t.minimum)), t.inclusive ?? !1, "bigger");
+ const i = o[t.origin] ?? t.origin, a = n(t.origin, da(Number(t.minimum)), t.inclusive ?? !1, "bigger");
if (a != null && a.verb)
return `${yt(i ?? t.origin ?? "reikšmė")} ${a.verb} ${t.minimum.toString()} ${a.unit ?? "elementų"}`;
const l = t.inclusive ? "ne mažesnis kaip" : "didesnis kaip";
@@ -10447,7 +10581,7 @@ const hy = () => {
case "not_multiple_of":
return `Skaičius privalo būti ${t.divisor} kartotinis.`;
case "unrecognized_keys":
- return `Neatpažint${t.keys.length > 1 ? "i" : "as"} rakt${t.keys.length > 1 ? "ai" : "as"}: ${S(t.keys, ", ")}`;
+ return `Neatpažint${t.keys.length > 1 ? "i" : "as"} rakt${t.keys.length > 1 ? "ai" : "as"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return "Rastas klaidingas raktas";
case "invalid_union":
@@ -10463,10 +10597,10 @@ const hy = () => {
};
function $y() {
return {
- localeError: hy()
+ localeError: by()
};
}
-const by = () => {
+const _y = () => {
const e = {
string: { unit: "знаци", verb: "да имаат" },
file: { unit: "бајти", verb: "да имаат" },
@@ -10513,11 +10647,11 @@ const by = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Грешен внес: се очекува instanceof ${t.expected}, примено ${l}` : `Грешен внес: се очекува ${i}, примено ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Invalid input: expected ${R(t.values[0])}` : `Грешана опција: се очекува една ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Invalid input: expected ${R(t.values[0])}` : `Грешана опција: се очекува една ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Премногу голем: се очекува ${t.origin ?? "вредноста"} да има ${i}${t.maximum.toString()} ${a.unit ?? "елементи"}` : `Премногу голем: се очекува ${t.origin ?? "вредноста"} да биде ${i}${t.maximum.toString()}`;
@@ -10533,7 +10667,7 @@ const by = () => {
case "not_multiple_of":
return `Грешен број: мора да биде делив со ${t.divisor}`;
case "unrecognized_keys":
- return `${t.keys.length > 1 ? "Непрепознаени клучеви" : "Непрепознаен клуч"}: ${S(t.keys, ", ")}`;
+ return `${t.keys.length > 1 ? "Непрепознаени клучеви" : "Непрепознаен клуч"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Грешен клуч во ${t.origin}`;
case "invalid_union":
@@ -10545,12 +10679,12 @@ const by = () => {
}
};
};
-function _y() {
+function yy() {
return {
- localeError: by()
+ localeError: _y()
};
}
-const yy = () => {
+const ky = () => {
const e = {
string: { unit: "aksara", verb: "mempunyai" },
file: { unit: "bait", verb: "mempunyai" },
@@ -10596,11 +10730,11 @@ const yy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Input tidak sah: dijangka instanceof ${t.expected}, diterima ${l}` : `Input tidak sah: dijangka ${i}, diterima ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Input tidak sah: dijangka ${R(t.values[0])}` : `Pilihan tidak sah: dijangka salah satu daripada ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Input tidak sah: dijangka ${R(t.values[0])}` : `Pilihan tidak sah: dijangka salah satu daripada ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Terlalu besar: dijangka ${t.origin ?? "nilai"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit ?? "elemen"}` : `Terlalu besar: dijangka ${t.origin ?? "nilai"} adalah ${i}${t.maximum.toString()}`;
@@ -10616,7 +10750,7 @@ const yy = () => {
case "not_multiple_of":
return `Nombor tidak sah: perlu gandaan ${t.divisor}`;
case "unrecognized_keys":
- return `Kunci tidak dikenali: ${S(t.keys, ", ")}`;
+ return `Kunci tidak dikenali: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Kunci tidak sah dalam ${t.origin}`;
case "invalid_union":
@@ -10628,12 +10762,12 @@ const yy = () => {
}
};
};
-function ky() {
+function Sy() {
return {
- localeError: yy()
+ localeError: ky()
};
}
-const Sy = () => {
+const Iy = () => {
const e = {
string: { unit: "tekens", verb: "heeft" },
file: { unit: "bytes", verb: "heeft" },
@@ -10679,11 +10813,11 @@ const Sy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Ongeldige invoer: verwacht instanceof ${t.expected}, ontving ${l}` : `Ongeldige invoer: verwacht ${i}, ontving ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Ongeldige invoer: verwacht ${R(t.values[0])}` : `Ongeldige optie: verwacht één van ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Ongeldige invoer: verwacht ${R(t.values[0])}` : `Ongeldige optie: verwacht één van ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin), l = t.origin === "date" ? "laat" : t.origin === "string" ? "lang" : "groot";
return a ? `Te ${l}: verwacht dat ${t.origin ?? "waarde"} ${i}${t.maximum.toString()} ${a.unit ?? "elementen"} ${a.verb}` : `Te ${l}: verwacht dat ${t.origin ?? "waarde"} ${i}${t.maximum.toString()} is`;
@@ -10699,7 +10833,7 @@ const Sy = () => {
case "not_multiple_of":
return `Ongeldig getal: moet een veelvoud van ${t.divisor} zijn`;
case "unrecognized_keys":
- return `Onbekende key${t.keys.length > 1 ? "s" : ""}: ${S(t.keys, ", ")}`;
+ return `Onbekende key${t.keys.length > 1 ? "s" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Ongeldige key in ${t.origin}`;
case "invalid_union":
@@ -10711,12 +10845,12 @@ const Sy = () => {
}
};
};
-function Iy() {
+function wy() {
return {
- localeError: Sy()
+ localeError: Iy()
};
}
-const wy = () => {
+const zy = () => {
const e = {
string: { unit: "tegn", verb: "å ha" },
file: { unit: "bytes", verb: "å ha" },
@@ -10763,11 +10897,11 @@ const wy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Ugyldig input: forventet instanceof ${t.expected}, fikk ${l}` : `Ugyldig input: forventet ${i}, fikk ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Ugyldig verdi: forventet ${R(t.values[0])}` : `Ugyldig valg: forventet en av ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Ugyldig verdi: forventet ${R(t.values[0])}` : `Ugyldig valg: forventet en av ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `For stor(t): forventet ${t.origin ?? "value"} til å ha ${i}${t.maximum.toString()} ${a.unit ?? "elementer"}` : `For stor(t): forventet ${t.origin ?? "value"} til å ha ${i}${t.maximum.toString()}`;
@@ -10783,7 +10917,7 @@ const wy = () => {
case "not_multiple_of":
return `Ugyldig tall: må være et multiplum av ${t.divisor}`;
case "unrecognized_keys":
- return `${t.keys.length > 1 ? "Ukjente nøkler" : "Ukjent nøkkel"}: ${S(t.keys, ", ")}`;
+ return `${t.keys.length > 1 ? "Ukjente nøkler" : "Ukjent nøkkel"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Ugyldig nøkkel i ${t.origin}`;
case "invalid_union":
@@ -10795,12 +10929,12 @@ const wy = () => {
}
};
};
-function zy() {
+function Dy() {
return {
- localeError: wy()
+ localeError: zy()
};
}
-const Dy = () => {
+const Oy = () => {
const e = {
string: { unit: "harf", verb: "olmalıdır" },
file: { unit: "bayt", verb: "olmalıdır" },
@@ -10848,11 +10982,11 @@ const Dy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Fâsit giren: umulan instanceof ${t.expected}, alınan ${l}` : `Fâsit giren: umulan ${i}, alınan ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Fâsit giren: umulan ${R(t.values[0])}` : `Fâsit tercih: mûteberler ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Fâsit giren: umulan ${R(t.values[0])}` : `Fâsit tercih: mûteberler ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Fazla büyük: ${t.origin ?? "value"}, ${i}${t.maximum.toString()} ${a.unit ?? "elements"} sahip olmalıydı.` : `Fazla büyük: ${t.origin ?? "value"}, ${i}${t.maximum.toString()} olmalıydı.`;
@@ -10868,7 +11002,7 @@ const Dy = () => {
case "not_multiple_of":
return `Fâsit sayı: ${t.divisor} katı olmalıydı.`;
case "unrecognized_keys":
- return `Tanınmayan anahtar ${t.keys.length > 1 ? "s" : ""}: ${S(t.keys, ", ")}`;
+ return `Tanınmayan anahtar ${t.keys.length > 1 ? "s" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `${t.origin} için tanınmayan anahtar var.`;
case "invalid_union":
@@ -10880,12 +11014,12 @@ const Dy = () => {
}
};
};
-function Oy() {
+function jy() {
return {
- localeError: Dy()
+ localeError: Oy()
};
}
-const jy = () => {
+const Ey = () => {
const e = {
string: { unit: "توکي", verb: "ولري" },
file: { unit: "بایټس", verb: "ولري" },
@@ -10932,11 +11066,11 @@ const jy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `ناسم ورودي: باید instanceof ${t.expected} وای, مګر ${l} ترلاسه شو` : `ناسم ورودي: باید ${i} وای, مګر ${l} ترلاسه شو`;
}
case "invalid_value":
- return t.values.length === 1 ? `ناسم ورودي: باید ${R(t.values[0])} وای` : `ناسم انتخاب: باید یو له ${S(t.values, "|")} څخه وای`;
+ return t.values.length === 1 ? `ناسم ورودي: باید ${R(t.values[0])} وای` : `ناسم انتخاب: باید یو له ${I(t.values, "|")} څخه وای`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `ډیر لوی: ${t.origin ?? "ارزښت"} باید ${i}${t.maximum.toString()} ${a.unit ?? "عنصرونه"} ولري` : `ډیر لوی: ${t.origin ?? "ارزښت"} باید ${i}${t.maximum.toString()} وي`;
@@ -10952,7 +11086,7 @@ const jy = () => {
case "not_multiple_of":
return `ناسم عدد: باید د ${t.divisor} مضرب وي`;
case "unrecognized_keys":
- return `ناسم ${t.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${S(t.keys, ", ")}`;
+ return `ناسم ${t.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `ناسم کلیډ په ${t.origin} کې`;
case "invalid_union":
@@ -10964,12 +11098,12 @@ const jy = () => {
}
};
};
-function Ey() {
+function Uy() {
return {
- localeError: jy()
+ localeError: Ey()
};
}
-const Uy = () => {
+const xy = () => {
const e = {
string: { unit: "znaków", verb: "mieć" },
file: { unit: "bajtów", verb: "mieć" },
@@ -11016,11 +11150,11 @@ const Uy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Nieprawidłowe dane wejściowe: oczekiwano instanceof ${t.expected}, otrzymano ${l}` : `Nieprawidłowe dane wejściowe: oczekiwano ${i}, otrzymano ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Nieprawidłowe dane wejściowe: oczekiwano ${R(t.values[0])}` : `Nieprawidłowa opcja: oczekiwano jednej z wartości ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Nieprawidłowe dane wejściowe: oczekiwano ${R(t.values[0])}` : `Nieprawidłowa opcja: oczekiwano jednej z wartości ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Za duża wartość: oczekiwano, że ${t.origin ?? "wartość"} będzie mieć ${i}${t.maximum.toString()} ${a.unit ?? "elementów"}` : `Zbyt duż(y/a/e): oczekiwano, że ${t.origin ?? "wartość"} będzie wynosić ${i}${t.maximum.toString()}`;
@@ -11036,7 +11170,7 @@ const Uy = () => {
case "not_multiple_of":
return `Nieprawidłowa liczba: musi być wielokrotnością ${t.divisor}`;
case "unrecognized_keys":
- return `Nierozpoznane klucze${t.keys.length > 1 ? "s" : ""}: ${S(t.keys, ", ")}`;
+ return `Nierozpoznane klucze${t.keys.length > 1 ? "s" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Nieprawidłowy klucz w ${t.origin}`;
case "invalid_union":
@@ -11048,12 +11182,12 @@ const Uy = () => {
}
};
};
-function xy() {
+function Ty() {
return {
- localeError: Uy()
+ localeError: xy()
};
}
-const Ty = () => {
+const Ay = () => {
const e = {
string: { unit: "caracteres", verb: "ter" },
file: { unit: "bytes", verb: "ter" },
@@ -11100,11 +11234,11 @@ const Ty = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Tipo inválido: esperado instanceof ${t.expected}, recebido ${l}` : `Tipo inválido: esperado ${i}, recebido ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Entrada inválida: esperado ${R(t.values[0])}` : `Opção inválida: esperada uma das ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Entrada inválida: esperado ${R(t.values[0])}` : `Opção inválida: esperada uma das ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Muito grande: esperado que ${t.origin ?? "valor"} tivesse ${i}${t.maximum.toString()} ${a.unit ?? "elementos"}` : `Muito grande: esperado que ${t.origin ?? "valor"} fosse ${i}${t.maximum.toString()}`;
@@ -11120,7 +11254,7 @@ const Ty = () => {
case "not_multiple_of":
return `Número inválido: deve ser múltiplo de ${t.divisor}`;
case "unrecognized_keys":
- return `Chave${t.keys.length > 1 ? "s" : ""} desconhecida${t.keys.length > 1 ? "s" : ""}: ${S(t.keys, ", ")}`;
+ return `Chave${t.keys.length > 1 ? "s" : ""} desconhecida${t.keys.length > 1 ? "s" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Chave inválida em ${t.origin}`;
case "invalid_union":
@@ -11132,12 +11266,12 @@ const Ty = () => {
}
};
};
-function Ay() {
+function Ny() {
return {
- localeError: Ty()
+ localeError: Ay()
};
}
-const Ny = () => {
+const Py = () => {
const e = {
string: { unit: "caractere", verb: "să aibă" },
file: { unit: "octeți", verb: "să aibă" },
@@ -11197,11 +11331,11 @@ const Ny = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return `Intrare invalidă: așteptat ${i}, primit ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Intrare invalidă: așteptat ${R(t.values[0])}` : `Opțiune invalidă: așteptat una dintre ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Intrare invalidă: așteptat ${R(t.values[0])}` : `Opțiune invalidă: așteptat una dintre ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Prea mare: așteptat ca ${t.origin ?? "valoarea"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit ?? "elemente"}` : `Prea mare: așteptat ca ${t.origin ?? "valoarea"} să fie ${i}${t.maximum.toString()}`;
@@ -11217,7 +11351,7 @@ const Ny = () => {
case "not_multiple_of":
return `Număr invalid: trebuie să fie multiplu de ${t.divisor}`;
case "unrecognized_keys":
- return `Chei nerecunoscute: ${S(t.keys, ", ")}`;
+ return `Chei nerecunoscute: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Cheie invalidă în ${t.origin}`;
case "invalid_union":
@@ -11229,16 +11363,16 @@ const Ny = () => {
}
};
};
-function Py() {
+function Cy() {
return {
- localeError: Ny()
+ localeError: Py()
};
}
-function da(e, n, r, o) {
+function ma(e, n, r, o) {
const t = Math.abs(e), i = t % 10, a = t % 100;
return a >= 11 && a <= 19 ? o : i === 1 ? n : i >= 2 && i <= 4 ? r : o;
}
-const Cy = () => {
+const Zy = () => {
const e = {
string: {
unit: {
@@ -11313,15 +11447,15 @@ const Cy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Неверный ввод: ожидалось instanceof ${t.expected}, получено ${l}` : `Неверный ввод: ожидалось ${i}, получено ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Неверный ввод: ожидалось ${R(t.values[0])}` : `Неверный вариант: ожидалось одно из ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Неверный ввод: ожидалось ${R(t.values[0])}` : `Неверный вариант: ожидалось одно из ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
if (a) {
- const l = Number(t.maximum), s = da(l, a.unit.one, a.unit.few, a.unit.many);
+ const l = Number(t.maximum), s = ma(l, a.unit.one, a.unit.few, a.unit.many);
return `Слишком большое значение: ожидалось, что ${t.origin ?? "значение"} будет иметь ${i}${t.maximum.toString()} ${s}`;
}
return `Слишком большое значение: ожидалось, что ${t.origin ?? "значение"} будет ${i}${t.maximum.toString()}`;
@@ -11329,7 +11463,7 @@ const Cy = () => {
case "too_small": {
const i = t.inclusive ? ">=" : ">", a = n(t.origin);
if (a) {
- const l = Number(t.minimum), s = da(l, a.unit.one, a.unit.few, a.unit.many);
+ const l = Number(t.minimum), s = ma(l, a.unit.one, a.unit.few, a.unit.many);
return `Слишком маленькое значение: ожидалось, что ${t.origin} будет иметь ${i}${t.minimum.toString()} ${s}`;
}
return `Слишком маленькое значение: ожидалось, что ${t.origin} будет ${i}${t.minimum.toString()}`;
@@ -11341,7 +11475,7 @@ const Cy = () => {
case "not_multiple_of":
return `Неверное число: должно быть кратным ${t.divisor}`;
case "unrecognized_keys":
- return `Нераспознанн${t.keys.length > 1 ? "ые" : "ый"} ключ${t.keys.length > 1 ? "и" : ""}: ${S(t.keys, ", ")}`;
+ return `Нераспознанн${t.keys.length > 1 ? "ые" : "ый"} ключ${t.keys.length > 1 ? "и" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Неверный ключ в ${t.origin}`;
case "invalid_union":
@@ -11353,12 +11487,12 @@ const Cy = () => {
}
};
};
-function Zy() {
+function My() {
return {
- localeError: Cy()
+ localeError: Zy()
};
}
-const My = () => {
+const Fy = () => {
const e = {
string: { unit: "znakov", verb: "imeti" },
file: { unit: "bajtov", verb: "imeti" },
@@ -11405,11 +11539,11 @@ const My = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Neveljaven vnos: pričakovano instanceof ${t.expected}, prejeto ${l}` : `Neveljaven vnos: pričakovano ${i}, prejeto ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Neveljaven vnos: pričakovano ${R(t.values[0])}` : `Neveljavna možnost: pričakovano eno izmed ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Neveljaven vnos: pričakovano ${R(t.values[0])}` : `Neveljavna možnost: pričakovano eno izmed ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Preveliko: pričakovano, da bo ${t.origin ?? "vrednost"} imelo ${i}${t.maximum.toString()} ${a.unit ?? "elementov"}` : `Preveliko: pričakovano, da bo ${t.origin ?? "vrednost"} ${i}${t.maximum.toString()}`;
@@ -11425,7 +11559,7 @@ const My = () => {
case "not_multiple_of":
return `Neveljavno število: mora biti večkratnik ${t.divisor}`;
case "unrecognized_keys":
- return `Neprepoznan${t.keys.length > 1 ? "i ključi" : " ključ"}: ${S(t.keys, ", ")}`;
+ return `Neprepoznan${t.keys.length > 1 ? "i ključi" : " ključ"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Neveljaven ključ v ${t.origin}`;
case "invalid_union":
@@ -11437,12 +11571,12 @@ const My = () => {
}
};
};
-function Fy() {
+function Ly() {
return {
- localeError: My()
+ localeError: Fy()
};
}
-const Ly = () => {
+const Ry = () => {
const e = {
string: { unit: "tecken", verb: "att ha" },
file: { unit: "bytes", verb: "att ha" },
@@ -11489,11 +11623,11 @@ const Ly = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Ogiltig inmatning: förväntat instanceof ${t.expected}, fick ${l}` : `Ogiltig inmatning: förväntat ${i}, fick ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Ogiltig inmatning: förväntat ${R(t.values[0])}` : `Ogiltigt val: förväntade en av ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Ogiltig inmatning: förväntat ${R(t.values[0])}` : `Ogiltigt val: förväntade en av ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `För stor(t): förväntade ${t.origin ?? "värdet"} att ha ${i}${t.maximum.toString()} ${a.unit ?? "element"}` : `För stor(t): förväntat ${t.origin ?? "värdet"} att ha ${i}${t.maximum.toString()}`;
@@ -11509,7 +11643,7 @@ const Ly = () => {
case "not_multiple_of":
return `Ogiltigt tal: måste vara en multipel av ${t.divisor}`;
case "unrecognized_keys":
- return `${t.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${S(t.keys, ", ")}`;
+ return `${t.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Ogiltig nyckel i ${t.origin ?? "värdet"}`;
case "invalid_union":
@@ -11521,12 +11655,12 @@ const Ly = () => {
}
};
};
-function Ry() {
+function By() {
return {
- localeError: Ly()
+ localeError: Ry()
};
}
-const By = () => {
+const Vy = () => {
const e = {
string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
file: { unit: "பைட்டுகள்", verb: "கொண்டிருக்க வேண்டும்" },
@@ -11574,11 +11708,11 @@ const By = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${t.expected}, பெறப்பட்டது ${l}` : `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${i}, பெறப்பட்டது ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${R(t.values[0])}` : `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${S(t.values, "|")} இல் ஒன்று`;
+ return t.values.length === 1 ? `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${R(t.values[0])}` : `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${I(t.values, "|")} இல் ஒன்று`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin ?? "மதிப்பு"} ${i}${t.maximum.toString()} ${a.unit ?? "உறுப்புகள்"} ஆக இருக்க வேண்டும்` : `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin ?? "மதிப்பு"} ${i}${t.maximum.toString()} ஆக இருக்க வேண்டும்`;
@@ -11594,7 +11728,7 @@ const By = () => {
case "not_multiple_of":
return `தவறான எண்: ${t.divisor} இன் பலமாக இருக்க வேண்டும்`;
case "unrecognized_keys":
- return `அடையாளம் தெரியாத விசை${t.keys.length > 1 ? "கள்" : ""}: ${S(t.keys, ", ")}`;
+ return `அடையாளம் தெரியாத விசை${t.keys.length > 1 ? "கள்" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `${t.origin} இல் தவறான விசை`;
case "invalid_union":
@@ -11606,12 +11740,12 @@ const By = () => {
}
};
};
-function Vy() {
+function Jy() {
return {
- localeError: By()
+ localeError: Vy()
};
}
-const Jy = () => {
+const qy = () => {
const e = {
string: { unit: "ตัวอักษร", verb: "ควรมี" },
file: { unit: "ไบต์", verb: "ควรมี" },
@@ -11659,11 +11793,11 @@ const Jy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${t.expected} แต่ได้รับ ${l}` : `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${i} แต่ได้รับ ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `ค่าไม่ถูกต้อง: ควรเป็น ${R(t.values[0])}` : `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `ค่าไม่ถูกต้อง: ควรเป็น ${R(t.values[0])}` : `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "ไม่เกิน" : "น้อยกว่า", a = n(t.origin);
return a ? `เกินกำหนด: ${t.origin ?? "ค่า"} ควรมี${i} ${t.maximum.toString()} ${a.unit ?? "รายการ"}` : `เกินกำหนด: ${t.origin ?? "ค่า"} ควรมี${i} ${t.maximum.toString()}`;
@@ -11679,7 +11813,7 @@ const Jy = () => {
case "not_multiple_of":
return `ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${t.divisor} ได้ลงตัว`;
case "unrecognized_keys":
- return `พบคีย์ที่ไม่รู้จัก: ${S(t.keys, ", ")}`;
+ return `พบคีย์ที่ไม่รู้จัก: ${I(t.keys, ", ")}`;
case "invalid_key":
return `คีย์ไม่ถูกต้องใน ${t.origin}`;
case "invalid_union":
@@ -11691,9 +11825,9 @@ const Jy = () => {
}
};
};
-function qy() {
+function Wy() {
return {
- localeError: Jy()
+ localeError: qy()
};
}
const Gy = () => {
@@ -11741,11 +11875,11 @@ const Gy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Geçersiz değer: beklenen instanceof ${t.expected}, alınan ${l}` : `Geçersiz değer: beklenen ${i}, alınan ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Geçersiz değer: beklenen ${R(t.values[0])}` : `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Geçersiz değer: beklenen ${R(t.values[0])}` : `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Çok büyük: beklenen ${t.origin ?? "değer"} ${i}${t.maximum.toString()} ${a.unit ?? "öğe"}` : `Çok büyük: beklenen ${t.origin ?? "değer"} ${i}${t.maximum.toString()}`;
@@ -11761,7 +11895,7 @@ const Gy = () => {
case "not_multiple_of":
return `Geçersiz sayı: ${t.divisor} ile tam bölünebilmeli`;
case "unrecognized_keys":
- return `Tanınmayan anahtar${t.keys.length > 1 ? "lar" : ""}: ${S(t.keys, ", ")}`;
+ return `Tanınmayan anahtar${t.keys.length > 1 ? "lar" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `${t.origin} içinde geçersiz anahtar`;
case "invalid_union":
@@ -11773,12 +11907,12 @@ const Gy = () => {
}
};
};
-function Wy() {
+function Ky() {
return {
localeError: Gy()
};
}
-const Ky = () => {
+const Xy = () => {
const e = {
string: { unit: "символів", verb: "матиме" },
file: { unit: "байтів", verb: "матиме" },
@@ -11825,11 +11959,11 @@ const Ky = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Неправильні вхідні дані: очікується instanceof ${t.expected}, отримано ${l}` : `Неправильні вхідні дані: очікується ${i}, отримано ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Неправильні вхідні дані: очікується ${R(t.values[0])}` : `Неправильна опція: очікується одне з ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Неправильні вхідні дані: очікується ${R(t.values[0])}` : `Неправильна опція: очікується одне з ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Занадто велике: очікується, що ${t.origin ?? "значення"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit ?? "елементів"}` : `Занадто велике: очікується, що ${t.origin ?? "значення"} буде ${i}${t.maximum.toString()}`;
@@ -11845,7 +11979,7 @@ const Ky = () => {
case "not_multiple_of":
return `Неправильне число: повинно бути кратним ${t.divisor}`;
case "unrecognized_keys":
- return `Нерозпізнаний ключ${t.keys.length > 1 ? "і" : ""}: ${S(t.keys, ", ")}`;
+ return `Нерозпізнаний ключ${t.keys.length > 1 ? "і" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Неправильний ключ у ${t.origin}`;
case "invalid_union":
@@ -11857,15 +11991,15 @@ const Ky = () => {
}
};
};
-function Us() {
+function xs() {
return {
- localeError: Ky()
+ localeError: Xy()
};
}
-function Xy() {
- return Us();
+function Hy() {
+ return xs();
}
-const Hy = () => {
+const Yy = () => {
const e = {
string: { unit: "حروف", verb: "ہونا" },
file: { unit: "بائٹس", verb: "ہونا" },
@@ -11913,11 +12047,11 @@ const Hy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `غلط ان پٹ: instanceof ${t.expected} متوقع تھا، ${l} موصول ہوا` : `غلط ان پٹ: ${i} متوقع تھا، ${l} موصول ہوا`;
}
case "invalid_value":
- return t.values.length === 1 ? `غلط ان پٹ: ${R(t.values[0])} متوقع تھا` : `غلط آپشن: ${S(t.values, "|")} میں سے ایک متوقع تھا`;
+ return t.values.length === 1 ? `غلط ان پٹ: ${R(t.values[0])} متوقع تھا` : `غلط آپشن: ${I(t.values, "|")} میں سے ایک متوقع تھا`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `بہت بڑا: ${t.origin ?? "ویلیو"} کے ${i}${t.maximum.toString()} ${a.unit ?? "عناصر"} ہونے متوقع تھے` : `بہت بڑا: ${t.origin ?? "ویلیو"} کا ${i}${t.maximum.toString()} ہونا متوقع تھا`;
@@ -11933,7 +12067,7 @@ const Hy = () => {
case "not_multiple_of":
return `غلط نمبر: ${t.divisor} کا مضاعف ہونا چاہیے`;
case "unrecognized_keys":
- return `غیر تسلیم شدہ کی${t.keys.length > 1 ? "ز" : ""}: ${S(t.keys, "، ")}`;
+ return `غیر تسلیم شدہ کی${t.keys.length > 1 ? "ز" : ""}: ${I(t.keys, "، ")}`;
case "invalid_key":
return `${t.origin} میں غلط کی`;
case "invalid_union":
@@ -11945,12 +12079,12 @@ const Hy = () => {
}
};
};
-function Yy() {
+function Qy() {
return {
- localeError: Hy()
+ localeError: Yy()
};
}
-const Qy = () => {
+const ek = () => {
const e = {
string: { unit: "belgi", verb: "bo‘lishi kerak" },
file: { unit: "bayt", verb: "bo‘lishi kerak" },
@@ -11999,11 +12133,11 @@ const Qy = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Noto‘g‘ri kirish: kutilgan instanceof ${t.expected}, qabul qilingan ${l}` : `Noto‘g‘ri kirish: kutilgan ${i}, qabul qilingan ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Noto‘g‘ri kirish: kutilgan ${R(t.values[0])}` : `Noto‘g‘ri variant: quyidagilardan biri kutilgan ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Noto‘g‘ri kirish: kutilgan ${R(t.values[0])}` : `Noto‘g‘ri variant: quyidagilardan biri kutilgan ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Juda katta: kutilgan ${t.origin ?? "qiymat"} ${i}${t.maximum.toString()} ${a.unit} ${a.verb}` : `Juda katta: kutilgan ${t.origin ?? "qiymat"} ${i}${t.maximum.toString()}`;
@@ -12019,7 +12153,7 @@ const Qy = () => {
case "not_multiple_of":
return `Noto‘g‘ri raqam: ${t.divisor} ning karralisi bo‘lishi kerak`;
case "unrecognized_keys":
- return `Noma’lum kalit${t.keys.length > 1 ? "lar" : ""}: ${S(t.keys, ", ")}`;
+ return `Noma’lum kalit${t.keys.length > 1 ? "lar" : ""}: ${I(t.keys, ", ")}`;
case "invalid_key":
return `${t.origin} dagi kalit noto‘g‘ri`;
case "invalid_union":
@@ -12031,12 +12165,12 @@ const Qy = () => {
}
};
};
-function ek() {
+function tk() {
return {
- localeError: Qy()
+ localeError: ek()
};
}
-const tk = () => {
+const nk = () => {
const e = {
string: { unit: "ký tự", verb: "có" },
file: { unit: "byte", verb: "có" },
@@ -12083,11 +12217,11 @@ const tk = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Đầu vào không hợp lệ: mong đợi instanceof ${t.expected}, nhận được ${l}` : `Đầu vào không hợp lệ: mong đợi ${i}, nhận được ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Đầu vào không hợp lệ: mong đợi ${R(t.values[0])}` : `Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Đầu vào không hợp lệ: mong đợi ${R(t.values[0])}` : `Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Quá lớn: mong đợi ${t.origin ?? "giá trị"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit ?? "phần tử"}` : `Quá lớn: mong đợi ${t.origin ?? "giá trị"} ${i}${t.maximum.toString()}`;
@@ -12103,7 +12237,7 @@ const tk = () => {
case "not_multiple_of":
return `Số không hợp lệ: phải là bội số của ${t.divisor}`;
case "unrecognized_keys":
- return `Khóa không được nhận dạng: ${S(t.keys, ", ")}`;
+ return `Khóa không được nhận dạng: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Khóa không hợp lệ trong ${t.origin}`;
case "invalid_union":
@@ -12115,12 +12249,12 @@ const tk = () => {
}
};
};
-function nk() {
+function rk() {
return {
- localeError: tk()
+ localeError: nk()
};
}
-const rk = () => {
+const ik = () => {
const e = {
string: { unit: "字符", verb: "包含" },
file: { unit: "字节", verb: "包含" },
@@ -12168,11 +12302,11 @@ const rk = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `无效输入:期望 instanceof ${t.expected},实际接收 ${l}` : `无效输入:期望 ${i},实际接收 ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `无效输入:期望 ${R(t.values[0])}` : `无效选项:期望以下之一 ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `无效输入:期望 ${R(t.values[0])}` : `无效选项:期望以下之一 ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `数值过大:期望 ${t.origin ?? "值"} ${i}${t.maximum.toString()} ${a.unit ?? "个元素"}` : `数值过大:期望 ${t.origin ?? "值"} ${i}${t.maximum.toString()}`;
@@ -12188,7 +12322,7 @@ const rk = () => {
case "not_multiple_of":
return `无效数字:必须是 ${t.divisor} 的倍数`;
case "unrecognized_keys":
- return `出现未知的键(key): ${S(t.keys, ", ")}`;
+ return `出现未知的键(key): ${I(t.keys, ", ")}`;
case "invalid_key":
return `${t.origin} 中的键(key)无效`;
case "invalid_union":
@@ -12200,12 +12334,12 @@ const rk = () => {
}
};
};
-function ik() {
+function ok() {
return {
- localeError: rk()
+ localeError: ik()
};
}
-const ok = () => {
+const ak = () => {
const e = {
string: { unit: "字元", verb: "擁有" },
file: { unit: "位元組", verb: "擁有" },
@@ -12250,11 +12384,11 @@ const ok = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `無效的輸入值:預期為 instanceof ${t.expected},但收到 ${l}` : `無效的輸入值:預期為 ${i},但收到 ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `無效的輸入值:預期為 ${R(t.values[0])}` : `無效的選項:預期為以下其中之一 ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `無效的輸入值:預期為 ${R(t.values[0])}` : `無效的選項:預期為以下其中之一 ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `數值過大:預期 ${t.origin ?? "值"} 應為 ${i}${t.maximum.toString()} ${a.unit ?? "個元素"}` : `數值過大:預期 ${t.origin ?? "值"} 應為 ${i}${t.maximum.toString()}`;
@@ -12270,7 +12404,7 @@ const ok = () => {
case "not_multiple_of":
return `無效的數字:必須為 ${t.divisor} 的倍數`;
case "unrecognized_keys":
- return `無法識別的鍵值${t.keys.length > 1 ? "們" : ""}:${S(t.keys, "、")}`;
+ return `無法識別的鍵值${t.keys.length > 1 ? "們" : ""}:${I(t.keys, "、")}`;
case "invalid_key":
return `${t.origin} 中有無效的鍵值`;
case "invalid_union":
@@ -12282,12 +12416,12 @@ const ok = () => {
}
};
};
-function ak() {
+function lk() {
return {
- localeError: ok()
+ localeError: ak()
};
}
-const lk = () => {
+const uk = () => {
const e = {
string: { unit: "àmi", verb: "ní" },
file: { unit: "bytes", verb: "ní" },
@@ -12334,11 +12468,11 @@ const lk = () => {
return (t) => {
switch (t.code) {
case "invalid_type": {
- const i = o[t.expected] ?? t.expected, a = B(t.input), l = o[a] ?? a;
+ const i = o[t.expected] ?? t.expected, a = V(t.input), l = o[a] ?? a;
return /^[A-Z]/.test(t.expected) ? `Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${t.expected}, àmọ̀ a rí ${l}` : `Ìbáwọlé aṣìṣe: a ní láti fi ${i}, àmọ̀ a rí ${l}`;
}
case "invalid_value":
- return t.values.length === 1 ? `Ìbáwọlé aṣìṣe: a ní láti fi ${R(t.values[0])}` : `Àṣàyàn aṣìṣe: yan ọ̀kan lára ${S(t.values, "|")}`;
+ return t.values.length === 1 ? `Ìbáwọlé aṣìṣe: a ní láti fi ${R(t.values[0])}` : `Àṣàyàn aṣìṣe: yan ọ̀kan lára ${I(t.values, "|")}`;
case "too_big": {
const i = t.inclusive ? "<=" : "<", a = n(t.origin);
return a ? `Tó pọ̀ jù: a ní láti jẹ́ pé ${t.origin ?? "iye"} ${a.verb} ${i}${t.maximum} ${a.unit}` : `Tó pọ̀ jù: a ní láti jẹ́ ${i}${t.maximum}`;
@@ -12354,7 +12488,7 @@ const lk = () => {
case "not_multiple_of":
return `Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${t.divisor}`;
case "unrecognized_keys":
- return `Bọtìnì àìmọ̀: ${S(t.keys, ", ")}`;
+ return `Bọtìnì àìmọ̀: ${I(t.keys, ", ")}`;
case "invalid_key":
return `Bọtìnì aṣìṣe nínú ${t.origin}`;
case "invalid_union":
@@ -12366,69 +12500,69 @@ const lk = () => {
}
};
};
-function uk() {
+function sk() {
return {
- localeError: lk()
+ localeError: uk()
};
}
-const xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+const Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
- ar: b_,
- az: y_,
- be: S_,
- bg: w_,
- ca: D_,
- cs: j_,
- da: U_,
- de: T_,
- el: N_,
- en: js,
- eo: Z_,
- es: F_,
- fa: R_,
- fi: V_,
- fr: q_,
- frCA: W_,
- he: X_,
- hr: Y_,
- hu: ey,
- hy: ny,
- id: iy,
- is: ay,
- it: uy,
- ja: cy,
- ka: my,
- kh: vy,
- km: Es,
- ko: gy,
+ ar: __,
+ az: k_,
+ be: I_,
+ bg: z_,
+ ca: O_,
+ cs: E_,
+ da: x_,
+ de: A_,
+ el: P_,
+ en: Es,
+ eo: M_,
+ es: L_,
+ fa: B_,
+ fi: J_,
+ fr: W_,
+ frCA: K_,
+ he: H_,
+ hr: Q_,
+ hu: ty,
+ hy: ry,
+ id: oy,
+ is: ly,
+ it: sy,
+ ja: dy,
+ ka: fy,
+ kh: py,
+ km: Us,
+ ko: hy,
lt: $y,
- mk: _y,
- ms: ky,
- nl: Iy,
- no: zy,
- ota: Oy,
- pl: xy,
- ps: Ey,
- pt: Ay,
- ro: Py,
- ru: Zy,
- sl: Fy,
- sv: Ry,
- ta: Vy,
- th: qy,
- tr: Wy,
- ua: Xy,
- uk: Us,
- ur: Yy,
- uz: ek,
- vi: nk,
- yo: uk,
- zhCN: ik,
- zhTW: ak
+ mk: yy,
+ ms: Sy,
+ nl: wy,
+ no: Dy,
+ ota: jy,
+ pl: Ty,
+ ps: Uy,
+ pt: Ny,
+ ro: Cy,
+ ru: My,
+ sl: Ly,
+ sv: By,
+ ta: Jy,
+ th: Wy,
+ tr: Ky,
+ ua: Hy,
+ uk: xs,
+ ur: Qy,
+ uz: tk,
+ vi: rk,
+ yo: sk,
+ zhCN: ok,
+ zhTW: lk
}, Symbol.toStringTag, { value: "Module" }));
-var ma;
-const Ts = Symbol("ZodOutput"), As = Symbol("ZodInput");
-class Ns {
+var fa;
+const As = Symbol("ZodOutput"), Ns = Symbol("ZodInput");
+class Ps {
constructor() {
this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
}
@@ -12457,20 +12591,20 @@ class Ns {
return this._map.has(n);
}
}
-function ei() {
- return new Ns();
+function ni() {
+ return new Ps();
}
-(ma = globalThis).__zod_globalRegistry ?? (ma.__zod_globalRegistry = ei());
+(fa = globalThis).__zod_globalRegistry ?? (fa.__zod_globalRegistry = ni());
const Ne = globalThis.__zod_globalRegistry;
// @__NO_SIDE_EFFECTS__
-function Ps(e, n) {
+function Cs(e, n) {
return new e({
type: "string",
...y(n)
});
}
// @__NO_SIDE_EFFECTS__
-function Cs(e, n) {
+function Zs(e, n) {
return new e({
type: "string",
coerce: !0,
@@ -12478,7 +12612,7 @@ function Cs(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function ti(e, n) {
+function ri(e, n) {
return new e({
type: "string",
format: "email",
@@ -12488,7 +12622,7 @@ function ti(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function gn(e, n) {
+function hn(e, n) {
return new e({
type: "string",
format: "guid",
@@ -12498,39 +12632,39 @@ function gn(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function ni(e, n) {
- return new e({
- type: "string",
- format: "uuid",
- check: "string_format",
- abort: !1,
- ...y(n)
- });
-}
-// @__NO_SIDE_EFFECTS__
-function ri(e, n) {
- return new e({
- type: "string",
- format: "uuid",
- check: "string_format",
- abort: !1,
- version: "v4",
- ...y(n)
- });
-}
-// @__NO_SIDE_EFFECTS__
function ii(e, n) {
return new e({
type: "string",
format: "uuid",
check: "string_format",
abort: !1,
- version: "v6",
...y(n)
});
}
// @__NO_SIDE_EFFECTS__
function oi(e, n) {
+ return new e({
+ type: "string",
+ format: "uuid",
+ check: "string_format",
+ abort: !1,
+ version: "v4",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function ai(e, n) {
+ return new e({
+ type: "string",
+ format: "uuid",
+ check: "string_format",
+ abort: !1,
+ version: "v6",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function li(e, n) {
return new e({
type: "string",
format: "uuid",
@@ -12541,7 +12675,7 @@ function oi(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function zn(e, n) {
+function Dn(e, n) {
return new e({
type: "string",
format: "url",
@@ -12551,7 +12685,7 @@ function zn(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function ai(e, n) {
+function ui(e, n) {
return new e({
type: "string",
format: "emoji",
@@ -12561,7 +12695,7 @@ function ai(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function li(e, n) {
+function si(e, n) {
return new e({
type: "string",
format: "nanoid",
@@ -12571,7 +12705,7 @@ function li(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function ui(e, n) {
+function ci(e, n) {
return new e({
type: "string",
format: "cuid",
@@ -12581,7 +12715,7 @@ function ui(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function si(e, n) {
+function di(e, n) {
return new e({
type: "string",
format: "cuid2",
@@ -12591,7 +12725,7 @@ function si(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function ci(e, n) {
+function mi(e, n) {
return new e({
type: "string",
format: "ulid",
@@ -12601,7 +12735,7 @@ function ci(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function di(e, n) {
+function fi(e, n) {
return new e({
type: "string",
format: "xid",
@@ -12611,7 +12745,7 @@ function di(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function mi(e, n) {
+function vi(e, n) {
return new e({
type: "string",
format: "ksuid",
@@ -12621,7 +12755,7 @@ function mi(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function fi(e, n) {
+function pi(e, n) {
return new e({
type: "string",
format: "ipv4",
@@ -12631,7 +12765,7 @@ function fi(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function vi(e, n) {
+function gi(e, n) {
return new e({
type: "string",
format: "ipv6",
@@ -12641,7 +12775,7 @@ function vi(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Zs(e, n) {
+function Ms(e, n) {
return new e({
type: "string",
format: "mac",
@@ -12651,7 +12785,7 @@ function Zs(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function pi(e, n) {
+function hi(e, n) {
return new e({
type: "string",
format: "cidrv4",
@@ -12661,7 +12795,7 @@ function pi(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function gi(e, n) {
+function bi(e, n) {
return new e({
type: "string",
format: "cidrv6",
@@ -12671,7 +12805,7 @@ function gi(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function hi(e, n) {
+function $i(e, n) {
return new e({
type: "string",
format: "base64",
@@ -12681,7 +12815,7 @@ function hi(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function $i(e, n) {
+function _i(e, n) {
return new e({
type: "string",
format: "base64url",
@@ -12691,7 +12825,7 @@ function $i(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function bi(e, n) {
+function yi(e, n) {
return new e({
type: "string",
format: "e164",
@@ -12701,7 +12835,7 @@ function bi(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function _i(e, n) {
+function ki(e, n) {
return new e({
type: "string",
format: "jwt",
@@ -12710,7 +12844,7 @@ function _i(e, n) {
...y(n)
});
}
-const Ms = {
+const Fs = {
Any: null,
Minute: -1,
Second: 0,
@@ -12718,7 +12852,7 @@ const Ms = {
Microsecond: 6
};
// @__NO_SIDE_EFFECTS__
-function Fs(e, n) {
+function Ls(e, n) {
return new e({
type: "string",
format: "datetime",
@@ -12730,7 +12864,7 @@ function Fs(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Ls(e, n) {
+function Rs(e, n) {
return new e({
type: "string",
format: "date",
@@ -12739,7 +12873,7 @@ function Ls(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Rs(e, n) {
+function Bs(e, n) {
return new e({
type: "string",
format: "time",
@@ -12749,7 +12883,7 @@ function Rs(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Bs(e, n) {
+function Vs(e, n) {
return new e({
type: "string",
format: "duration",
@@ -12758,7 +12892,7 @@ function Bs(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Vs(e, n) {
+function Js(e, n) {
return new e({
type: "number",
checks: [],
@@ -12766,7 +12900,7 @@ function Vs(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Js(e, n) {
+function qs(e, n) {
return new e({
type: "number",
coerce: !0,
@@ -12775,7 +12909,7 @@ function Js(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function qs(e, n) {
+function Ws(e, n) {
return new e({
type: "number",
check: "number_format",
@@ -12795,7 +12929,7 @@ function Gs(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Ws(e, n) {
+function Ks(e, n) {
return new e({
type: "number",
check: "number_format",
@@ -12805,7 +12939,7 @@ function Ws(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Ks(e, n) {
+function Xs(e, n) {
return new e({
type: "number",
check: "number_format",
@@ -12815,7 +12949,7 @@ function Ks(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Xs(e, n) {
+function Hs(e, n) {
return new e({
type: "number",
check: "number_format",
@@ -12825,24 +12959,17 @@ function Xs(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Hs(e, n) {
- return new e({
- type: "boolean",
- ...y(n)
- });
-}
-// @__NO_SIDE_EFFECTS__
function Ys(e, n) {
return new e({
type: "boolean",
- coerce: !0,
...y(n)
});
}
// @__NO_SIDE_EFFECTS__
function Qs(e, n) {
return new e({
- type: "bigint",
+ type: "boolean",
+ coerce: !0,
...y(n)
});
}
@@ -12850,7 +12977,6 @@ function Qs(e, n) {
function ec(e, n) {
return new e({
type: "bigint",
- coerce: !0,
...y(n)
});
}
@@ -12858,9 +12984,7 @@ function ec(e, n) {
function tc(e, n) {
return new e({
type: "bigint",
- check: "bigint_format",
- abort: !1,
- format: "int64",
+ coerce: !0,
...y(n)
});
}
@@ -12870,61 +12994,64 @@ function nc(e, n) {
type: "bigint",
check: "bigint_format",
abort: !1,
- format: "uint64",
+ format: "int64",
...y(n)
});
}
// @__NO_SIDE_EFFECTS__
function rc(e, n) {
return new e({
- type: "symbol",
+ type: "bigint",
+ check: "bigint_format",
+ abort: !1,
+ format: "uint64",
...y(n)
});
}
// @__NO_SIDE_EFFECTS__
function ic(e, n) {
return new e({
- type: "undefined",
+ type: "symbol",
...y(n)
});
}
// @__NO_SIDE_EFFECTS__
function oc(e, n) {
+ return new e({
+ type: "undefined",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function ac(e, n) {
return new e({
type: "null",
...y(n)
});
}
// @__NO_SIDE_EFFECTS__
-function ac(e) {
+function lc(e) {
return new e({
type: "any"
});
}
// @__NO_SIDE_EFFECTS__
-function lc(e) {
+function uc(e) {
return new e({
type: "unknown"
});
}
// @__NO_SIDE_EFFECTS__
-function uc(e, n) {
+function sc(e, n) {
return new e({
type: "never",
...y(n)
});
}
// @__NO_SIDE_EFFECTS__
-function sc(e, n) {
- return new e({
- type: "void",
- ...y(n)
- });
-}
-// @__NO_SIDE_EFFECTS__
function cc(e, n) {
return new e({
- type: "date",
+ type: "void",
...y(n)
});
}
@@ -12932,20 +13059,27 @@ function cc(e, n) {
function dc(e, n) {
return new e({
type: "date",
- coerce: !0,
...y(n)
});
}
// @__NO_SIDE_EFFECTS__
function mc(e, n) {
+ return new e({
+ type: "date",
+ coerce: !0,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function fc(e, n) {
return new e({
type: "nan",
...y(n)
});
}
// @__NO_SIDE_EFFECTS__
-function Ge(e, n) {
- return new Vr({
+function We(e, n) {
+ return new qr({
check: "less_than",
...y(n),
value: e,
@@ -12954,7 +13088,7 @@ function Ge(e, n) {
}
// @__NO_SIDE_EFFECTS__
function Pe(e, n) {
- return new Vr({
+ return new qr({
check: "less_than",
...y(n),
value: e,
@@ -12962,8 +13096,8 @@ function Pe(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function We(e, n) {
- return new Jr({
+function Ge(e, n) {
+ return new Wr({
check: "greater_than",
...y(n),
value: e,
@@ -12971,8 +13105,8 @@ function We(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Oe(e, n) {
- return new Jr({
+function je(e, n) {
+ return new Wr({
check: "greater_than",
...y(n),
value: e,
@@ -12980,32 +13114,32 @@ function Oe(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function yi(e) {
- return /* @__PURE__ */ We(0, e);
-}
-// @__NO_SIDE_EFFECTS__
-function ki(e) {
+function Si(e) {
return /* @__PURE__ */ Ge(0, e);
}
// @__NO_SIDE_EFFECTS__
-function Si(e) {
+function Ii(e) {
+ return /* @__PURE__ */ We(0, e);
+}
+// @__NO_SIDE_EFFECTS__
+function wi(e) {
return /* @__PURE__ */ Pe(0, e);
}
// @__NO_SIDE_EFFECTS__
-function Ii(e) {
- return /* @__PURE__ */ Oe(0, e);
+function zi(e) {
+ return /* @__PURE__ */ je(0, e);
}
// @__NO_SIDE_EFFECTS__
function mt(e, n) {
- return new Xl({
+ return new Hl({
check: "multiple_of",
...y(n),
value: e
});
}
// @__NO_SIDE_EFFECTS__
-function $t(e, n) {
- return new Ql({
+function bt(e, n) {
+ return new eu({
check: "max_size",
...y(n),
maximum: e
@@ -13013,7 +13147,7 @@ function $t(e, n) {
}
// @__NO_SIDE_EFFECTS__
function Ke(e, n) {
- return new eu({
+ return new tu({
check: "min_size",
...y(n),
minimum: e
@@ -13021,7 +13155,7 @@ function Ke(e, n) {
}
// @__NO_SIDE_EFFECTS__
function Ft(e, n) {
- return new tu({
+ return new nu({
check: "size_equals",
...y(n),
size: e
@@ -13029,15 +13163,15 @@ function Ft(e, n) {
}
// @__NO_SIDE_EFFECTS__
function Lt(e, n) {
- return new nu({
+ return new ru({
check: "max_length",
...y(n),
maximum: e
});
}
// @__NO_SIDE_EFFECTS__
-function et(e, n) {
- return new ru({
+function tt(e, n) {
+ return new iu({
check: "min_length",
...y(n),
minimum: e
@@ -13045,15 +13179,15 @@ function et(e, n) {
}
// @__NO_SIDE_EFFECTS__
function Rt(e, n) {
- return new iu({
+ return new ou({
check: "length_equals",
...y(n),
length: e
});
}
// @__NO_SIDE_EFFECTS__
-function Dn(e, n) {
- return new ou({
+function On(e, n) {
+ return new au({
check: "string_format",
format: "regex",
...y(n),
@@ -13061,24 +13195,24 @@ function Dn(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function On(e) {
- return new au({
+function jn(e) {
+ return new lu({
check: "string_format",
format: "lowercase",
...y(e)
});
}
// @__NO_SIDE_EFFECTS__
-function jn(e) {
- return new lu({
+function En(e) {
+ return new uu({
check: "string_format",
format: "uppercase",
...y(e)
});
}
// @__NO_SIDE_EFFECTS__
-function En(e, n) {
- return new uu({
+function Un(e, n) {
+ return new su({
check: "string_format",
format: "includes",
...y(n),
@@ -13086,8 +13220,8 @@ function En(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function Un(e, n) {
- return new su({
+function xn(e, n) {
+ return new cu({
check: "string_format",
format: "starts_with",
...y(n),
@@ -13095,8 +13229,8 @@ function Un(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function xn(e, n) {
- return new cu({
+function Tn(e, n) {
+ return new du({
check: "string_format",
format: "ends_with",
...y(n),
@@ -13104,8 +13238,8 @@ function xn(e, n) {
});
}
// @__NO_SIDE_EFFECTS__
-function wi(e, n, r) {
- return new du({
+function Di(e, n, r) {
+ return new mu({
check: "property",
property: e,
schema: n,
@@ -13113,8 +13247,8 @@ function wi(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function Tn(e, n) {
- return new mu({
+function An(e, n) {
+ return new fu({
check: "mime_type",
mime: e,
...y(n)
@@ -13122,33 +13256,33 @@ function Tn(e, n) {
}
// @__NO_SIDE_EFFECTS__
function Je(e) {
- return new fu({
+ return new vu({
check: "overwrite",
tx: e
});
}
// @__NO_SIDE_EFFECTS__
-function An(e) {
+function Nn(e) {
return /* @__PURE__ */ Je((n) => n.normalize(e));
}
// @__NO_SIDE_EFFECTS__
-function Nn() {
+function Pn() {
return /* @__PURE__ */ Je((e) => e.trim());
}
// @__NO_SIDE_EFFECTS__
-function Pn() {
+function Cn() {
return /* @__PURE__ */ Je((e) => e.toLowerCase());
}
// @__NO_SIDE_EFFECTS__
-function Cn() {
+function Zn() {
return /* @__PURE__ */ Je((e) => e.toUpperCase());
}
// @__NO_SIDE_EFFECTS__
-function Zn() {
- return /* @__PURE__ */ Je((e) => qa(e));
+function Mn() {
+ return /* @__PURE__ */ Je((e) => Wa(e));
}
// @__NO_SIDE_EFFECTS__
-function fc(e, n, r) {
+function vc(e, n, r) {
return new e({
type: "array",
element: n,
@@ -13159,14 +13293,14 @@ function fc(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function sk(e, n, r) {
+function ck(e, n, r) {
return new e({
type: "union",
options: n,
...y(r)
});
}
-function ck(e, n, r) {
+function dk(e, n, r) {
return new e({
type: "union",
options: n,
@@ -13175,7 +13309,7 @@ function ck(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function dk(e, n, r, o) {
+function mk(e, n, r, o) {
return new e({
type: "union",
options: r,
@@ -13184,7 +13318,7 @@ function dk(e, n, r, o) {
});
}
// @__NO_SIDE_EFFECTS__
-function mk(e, n, r) {
+function fk(e, n, r) {
return new e({
type: "intersection",
left: n,
@@ -13192,7 +13326,7 @@ function mk(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function fk(e, n, r, o) {
+function vk(e, n, r, o) {
const t = r instanceof X, i = t ? o : r, a = t ? r : null;
return new e({
type: "tuple",
@@ -13202,7 +13336,7 @@ function fk(e, n, r, o) {
});
}
// @__NO_SIDE_EFFECTS__
-function vk(e, n, r, o) {
+function pk(e, n, r, o) {
return new e({
type: "record",
keyType: n,
@@ -13211,7 +13345,7 @@ function vk(e, n, r, o) {
});
}
// @__NO_SIDE_EFFECTS__
-function pk(e, n, r, o) {
+function gk(e, n, r, o) {
return new e({
type: "map",
keyType: n,
@@ -13220,7 +13354,7 @@ function pk(e, n, r, o) {
});
}
// @__NO_SIDE_EFFECTS__
-function gk(e, n, r) {
+function hk(e, n, r) {
return new e({
type: "set",
valueType: n,
@@ -13228,7 +13362,7 @@ function gk(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function hk(e, n, r) {
+function bk(e, n, r) {
const o = Array.isArray(n) ? Object.fromEntries(n.map((t) => [t, t])) : n;
return new e({
type: "enum",
@@ -13245,7 +13379,7 @@ function $k(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function bk(e, n, r) {
+function _k(e, n, r) {
return new e({
type: "literal",
values: Array.isArray(n) ? n : [n],
@@ -13253,45 +13387,45 @@ function bk(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function vc(e, n) {
+function pc(e, n) {
return new e({
type: "file",
...y(n)
});
}
// @__NO_SIDE_EFFECTS__
-function _k(e, n) {
+function yk(e, n) {
return new e({
type: "transform",
transform: n
});
}
// @__NO_SIDE_EFFECTS__
-function yk(e, n) {
+function kk(e, n) {
return new e({
type: "optional",
innerType: n
});
}
// @__NO_SIDE_EFFECTS__
-function kk(e, n) {
+function Sk(e, n) {
return new e({
type: "nullable",
innerType: n
});
}
// @__NO_SIDE_EFFECTS__
-function Sk(e, n, r) {
+function Ik(e, n, r) {
return new e({
type: "default",
innerType: n,
get defaultValue() {
- return typeof r == "function" ? r() : kn(r);
+ return typeof r == "function" ? r() : Sn(r);
}
});
}
// @__NO_SIDE_EFFECTS__
-function Ik(e, n, r) {
+function wk(e, n, r) {
return new e({
type: "nonoptional",
innerType: n,
@@ -13299,14 +13433,14 @@ function Ik(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function wk(e, n) {
+function zk(e, n) {
return new e({
type: "success",
innerType: n
});
}
// @__NO_SIDE_EFFECTS__
-function zk(e, n, r) {
+function Dk(e, n, r) {
return new e({
type: "catch",
innerType: n,
@@ -13314,7 +13448,7 @@ function zk(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function Dk(e, n, r) {
+function Ok(e, n, r) {
return new e({
type: "pipe",
in: n,
@@ -13322,14 +13456,14 @@ function Dk(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function Ok(e, n) {
+function jk(e, n) {
return new e({
type: "readonly",
innerType: n
});
}
// @__NO_SIDE_EFFECTS__
-function jk(e, n, r) {
+function Ek(e, n, r) {
return new e({
type: "template_literal",
parts: n,
@@ -13337,21 +13471,21 @@ function jk(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function Ek(e, n) {
+function Uk(e, n) {
return new e({
type: "lazy",
getter: n
});
}
// @__NO_SIDE_EFFECTS__
-function Uk(e, n) {
+function xk(e, n) {
return new e({
type: "promise",
innerType: n
});
}
// @__NO_SIDE_EFFECTS__
-function pc(e, n, r) {
+function gc(e, n, r) {
const o = y(r);
return o.abort ?? (o.abort = !0), new e({
type: "custom",
@@ -13361,7 +13495,7 @@ function pc(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function gc(e, n, r) {
+function hc(e, n, r) {
return new e({
type: "custom",
check: "custom",
@@ -13370,7 +13504,7 @@ function gc(e, n, r) {
});
}
// @__NO_SIDE_EFFECTS__
-function hc(e, n) {
+function bc(e, n) {
const r = /* @__PURE__ */ $c((o) => (o.addIssue = (t) => {
if (typeof t == "string")
o.issues.push(ct(t, o.value, r._zod.def));
@@ -13390,7 +13524,7 @@ function $c(e, n) {
return r._zod.check = e, r;
}
// @__NO_SIDE_EFFECTS__
-function bc(e) {
+function _c(e) {
const n = new fe({ check: "describe" });
return n._zod.onattach = [
(r) => {
@@ -13401,7 +13535,7 @@ function bc(e) {
}, n;
}
// @__NO_SIDE_EFFECTS__
-function _c(e) {
+function yc(e) {
const n = new fe({ check: "meta" });
return n._zod.onattach = [
(r) => {
@@ -13412,11 +13546,11 @@ function _c(e) {
}, n;
}
// @__NO_SIDE_EFFECTS__
-function yc(e, n) {
+function kc(e, n) {
const r = y(n);
let o = r.truthy ?? ["true", "1", "yes", "on", "y", "enabled"], t = r.falsy ?? ["false", "0", "no", "off", "n", "disabled"];
r.case !== "sensitive" && (o = o.map((f) => typeof f == "string" ? f.toLowerCase() : f), t = t.map((f) => typeof f == "string" ? f.toLowerCase() : f));
- const i = new Set(o), a = new Set(t), l = e.Codec ?? Qr, s = e.Boolean ?? Wr, u = e.String ?? Mt, d = new u({ type: "string", error: r.error }), c = new s({ type: "boolean", error: r.error }), m = new l({
+ const i = new Set(o), a = new Set(t), l = e.Codec ?? ti, s = e.Boolean ?? Xr, u = e.String ?? Mt, d = new u({ type: "string", error: r.error }), c = new s({ type: "boolean", error: r.error }), m = new l({
type: "pipe",
in: d,
out: c,
@@ -13494,7 +13628,7 @@ function le(e, n, r = { path: [], schemaPath: [] }) {
f && (a.ref || (a.ref = f), le(f, n, m), n.seen.get(f).isParent = !0);
}
const s = n.metadataRegistry.get(e);
- return s && Object.assign(a.schema, s), n.io === "input" && De(e) && (delete a.schema.examples, delete a.schema.default), n.io === "input" && "_prefault" in a.schema && ((o = a.schema).default ?? (o.default = a.schema._prefault)), delete a.schema._prefault, n.seen.get(e).schema;
+ return s && Object.assign(a.schema, s), n.io === "input" && Oe(e) && (delete a.schema.examples, delete a.schema.default), n.io === "input" && "_prefault" in a.schema && ((o = a.schema).default ?? (o.default = a.schema._prefault)), delete a.schema._prefault, n.seen.get(e).schema;
}
function vt(e, n) {
var a, l, s, u;
@@ -13515,11 +13649,11 @@ function vt(e, n) {
var g;
const c = e.target === "draft-2020-12" ? "$defs" : "definitions";
if (e.external) {
- const x = (g = e.external.registry.get(d[0])) == null ? void 0 : g.id, j = e.external.uri ?? ((C) => C);
+ const x = (g = e.external.registry.get(d[0])) == null ? void 0 : g.id, O = e.external.uri ?? ((C) => C);
if (x)
- return { ref: j(x) };
+ return { ref: O(x) };
const w = d[1].defId ?? d[1].schema.id ?? `schema${e.counter++}`;
- return d[1].defId = w, { defId: w, ref: `${j("__shared")}#/${c}/${w}` };
+ return d[1].defId = w, { defId: w, ref: `${O("__shared")}#/${c}/${w}` };
}
if (d[1] === r)
return { ref: "#" };
@@ -13582,21 +13716,21 @@ function pt(e, n) {
const f = m.def ?? m.schema, h = { ...f }, g = m.ref;
if (m.ref = null, g) {
o(g);
- const j = e.seen.get(g), w = j.schema;
+ const O = e.seen.get(g), w = O.schema;
if (w.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (f.allOf = f.allOf ?? [], f.allOf.push(w)) : Object.assign(f, w), Object.assign(f, h), c._zod.parent === g)
for (const P in f)
P === "$ref" || P === "allOf" || P in h || delete f[P];
- if (w.$ref && j.def)
+ if (w.$ref && O.def)
for (const P in f)
- P === "$ref" || P === "allOf" || P in j.def && JSON.stringify(f[P]) === JSON.stringify(j.def[P]) && delete f[P];
+ P === "$ref" || P === "allOf" || P in O.def && JSON.stringify(f[P]) === JSON.stringify(O.def[P]) && delete f[P];
}
const x = c._zod.parent;
if (x && x !== g) {
o(x);
- const j = e.seen.get(x);
- if (j != null && j.schema.$ref && (f.$ref = j.schema.$ref, j.def))
+ const O = e.seen.get(x);
+ if (O != null && O.schema.$ref && (f.$ref = O.schema.$ref, O.def))
for (const w in f)
- w === "$ref" || w === "allOf" || w in j.def && JSON.stringify(f[w]) === JSON.stringify(j.def[w]) && delete f[w];
+ w === "$ref" || w === "allOf" || w in O.def && JSON.stringify(f[w]) === JSON.stringify(O.def[w]) && delete f[w];
}
e.override({
zodSchema: c,
@@ -13639,7 +13773,7 @@ function pt(e, n) {
throw new Error("Error converting schema to JSON.");
}
}
-function De(e, n) {
+function Oe(e, n) {
const r = n ?? { seen: /* @__PURE__ */ new Set() };
if (r.seen.has(e))
return !1;
@@ -13648,57 +13782,57 @@ function De(e, n) {
if (o.type === "transform")
return !0;
if (o.type === "array")
- return De(o.element, r);
+ return Oe(o.element, r);
if (o.type === "set")
- return De(o.valueType, r);
+ return Oe(o.valueType, r);
if (o.type === "lazy")
- return De(o.getter(), r);
+ return Oe(o.getter(), r);
if (o.type === "promise" || o.type === "optional" || o.type === "nonoptional" || o.type === "nullable" || o.type === "readonly" || o.type === "default" || o.type === "prefault")
- return De(o.innerType, r);
+ return Oe(o.innerType, r);
if (o.type === "intersection")
- return De(o.left, r) || De(o.right, r);
+ return Oe(o.left, r) || Oe(o.right, r);
if (o.type === "record" || o.type === "map")
- return De(o.keyType, r) || De(o.valueType, r);
+ return Oe(o.keyType, r) || Oe(o.valueType, r);
if (o.type === "pipe")
- return e._zod.traits.has("$ZodCodec") ? !0 : De(o.in, r) || De(o.out, r);
+ return e._zod.traits.has("$ZodCodec") ? !0 : Oe(o.in, r) || Oe(o.out, r);
if (o.type === "object") {
for (const t in o.shape)
- if (De(o.shape[t], r))
+ if (Oe(o.shape[t], r))
return !0;
return !1;
}
if (o.type === "union") {
for (const t of o.options)
- if (De(t, r))
+ if (Oe(t, r))
return !0;
return !1;
}
if (o.type === "tuple") {
for (const t of o.items)
- if (De(t, r))
+ if (Oe(t, r))
return !0;
- return !!(o.rest && De(o.rest, r));
+ return !!(o.rest && Oe(o.rest, r));
}
return !1;
}
-const kc = (e, n = {}) => (r) => {
+const Sc = (e, n = {}) => (r) => {
const o = ft({ ...r, processors: n });
return le(e, o), vt(o, e), pt(o, e);
}, zt = (e, n, r = {}) => (o) => {
const { libraryOptions: t, target: i } = o ?? {}, a = ft({ ...t ?? {}, target: i, io: n, processors: r });
return le(e, a), vt(a, e), pt(a, e);
-}, xk = {
+}, Tk = {
guid: "uuid",
url: "uri",
datetime: "date-time",
json_string: "json-string",
regex: ""
// do not set
-}, Sc = (e, n, r, o) => {
+}, Ic = (e, n, r, o) => {
const t = r;
t.type = "string";
const { minimum: i, maximum: a, format: l, patterns: s, contentEncoding: u } = e._zod.bag;
- if (typeof i == "number" && (t.minLength = i), typeof a == "number" && (t.maxLength = a), l && (t.format = xk[l] ?? l, t.format === "" && delete t.format, l === "time" && delete t.format), u && (t.contentEncoding = u), s && s.size > 0) {
+ if (typeof i == "number" && (t.minLength = i), typeof a == "number" && (t.maxLength = a), l && (t.format = Tk[l] ?? l, t.format === "" && delete t.format, l === "time" && delete t.format), u && (t.contentEncoding = u), s && s.size > 0) {
const d = [...s];
d.length === 1 ? t.pattern = d[0].source : d.length > 1 && (t.allOf = [
...d.map((c) => ({
@@ -13707,38 +13841,38 @@ const kc = (e, n = {}) => (r) => {
}))
]);
}
-}, Ic = (e, n, r, o) => {
+}, wc = (e, n, r, o) => {
const t = r, { minimum: i, maximum: a, format: l, multipleOf: s, exclusiveMaximum: u, exclusiveMinimum: d } = e._zod.bag;
typeof l == "string" && l.includes("int") ? t.type = "integer" : t.type = "number";
const c = typeof d == "number" && d >= (i ?? Number.NEGATIVE_INFINITY), m = typeof u == "number" && u <= (a ?? Number.POSITIVE_INFINITY), f = n.target === "draft-04" || n.target === "openapi-3.0";
c ? f ? (t.minimum = d, t.exclusiveMinimum = !0) : t.exclusiveMinimum = d : typeof i == "number" && (t.minimum = i), m ? f ? (t.maximum = u, t.exclusiveMaximum = !0) : t.exclusiveMaximum = u : typeof a == "number" && (t.maximum = a), typeof s == "number" && (t.multipleOf = s);
-}, wc = (e, n, r, o) => {
- r.type = "boolean";
}, zc = (e, n, r, o) => {
- if (n.unrepresentable === "throw")
- throw new Error("BigInt cannot be represented in JSON Schema");
+ r.type = "boolean";
}, Dc = (e, n, r, o) => {
if (n.unrepresentable === "throw")
- throw new Error("Symbols cannot be represented in JSON Schema");
+ throw new Error("BigInt cannot be represented in JSON Schema");
}, Oc = (e, n, r, o) => {
- n.target === "openapi-3.0" ? (r.type = "string", r.nullable = !0, r.enum = [null]) : r.type = "null";
-}, jc = (e, n, r, o) => {
if (n.unrepresentable === "throw")
- throw new Error("Undefined cannot be represented in JSON Schema");
+ throw new Error("Symbols cannot be represented in JSON Schema");
+}, jc = (e, n, r, o) => {
+ n.target === "openapi-3.0" ? (r.type = "string", r.nullable = !0, r.enum = [null]) : r.type = "null";
}, Ec = (e, n, r, o) => {
if (n.unrepresentable === "throw")
- throw new Error("Void cannot be represented in JSON Schema");
+ throw new Error("Undefined cannot be represented in JSON Schema");
}, Uc = (e, n, r, o) => {
- r.not = {};
+ if (n.unrepresentable === "throw")
+ throw new Error("Void cannot be represented in JSON Schema");
}, xc = (e, n, r, o) => {
+ r.not = {};
}, Tc = (e, n, r, o) => {
}, Ac = (e, n, r, o) => {
+}, Nc = (e, n, r, o) => {
if (n.unrepresentable === "throw")
throw new Error("Date cannot be represented in JSON Schema");
-}, Nc = (e, n, r, o) => {
- const t = e._zod.def, i = Dr(t.entries);
- i.every((a) => typeof a == "number") && (r.type = "number"), i.every((a) => typeof a == "string") && (r.type = "string"), r.enum = i;
}, Pc = (e, n, r, o) => {
+ const t = e._zod.def, i = jr(t.entries);
+ i.every((a) => typeof a == "number") && (r.type = "number"), i.every((a) => typeof a == "string") && (r.type = "string"), r.enum = i;
+}, Cc = (e, n, r, o) => {
const t = e._zod.def, i = [];
for (const a of t.values)
if (a === void 0) {
@@ -13755,39 +13889,39 @@ const kc = (e, n = {}) => (r) => {
r.type = a === null ? "null" : typeof a, n.target === "draft-04" || n.target === "openapi-3.0" ? r.enum = [a] : r.const = a;
} else
i.every((a) => typeof a == "number") && (r.type = "number"), i.every((a) => typeof a == "string") && (r.type = "string"), i.every((a) => typeof a == "boolean") && (r.type = "boolean"), i.every((a) => a === null) && (r.type = "null"), r.enum = i;
-}, Cc = (e, n, r, o) => {
+}, Zc = (e, n, r, o) => {
if (n.unrepresentable === "throw")
throw new Error("NaN cannot be represented in JSON Schema");
-}, Zc = (e, n, r, o) => {
+}, Mc = (e, n, r, o) => {
const t = r, i = e._zod.pattern;
if (!i)
throw new Error("Pattern not found in template literal");
t.type = "string", t.pattern = i.source;
-}, Mc = (e, n, r, o) => {
+}, Fc = (e, n, r, o) => {
const t = r, i = {
type: "string",
format: "binary",
contentEncoding: "binary"
}, { minimum: a, maximum: l, mime: s } = e._zod.bag;
a !== void 0 && (i.minLength = a), l !== void 0 && (i.maxLength = l), s ? s.length === 1 ? (i.contentMediaType = s[0], Object.assign(t, i)) : (Object.assign(t, i), t.anyOf = s.map((u) => ({ contentMediaType: u }))) : Object.assign(t, i);
-}, Fc = (e, n, r, o) => {
- r.type = "boolean";
}, Lc = (e, n, r, o) => {
- if (n.unrepresentable === "throw")
- throw new Error("Custom types cannot be represented in JSON Schema");
+ r.type = "boolean";
}, Rc = (e, n, r, o) => {
if (n.unrepresentable === "throw")
- throw new Error("Function types cannot be represented in JSON Schema");
+ throw new Error("Custom types cannot be represented in JSON Schema");
}, Bc = (e, n, r, o) => {
if (n.unrepresentable === "throw")
- throw new Error("Transforms cannot be represented in JSON Schema");
+ throw new Error("Function types cannot be represented in JSON Schema");
}, Vc = (e, n, r, o) => {
if (n.unrepresentable === "throw")
- throw new Error("Map cannot be represented in JSON Schema");
+ throw new Error("Transforms cannot be represented in JSON Schema");
}, Jc = (e, n, r, o) => {
if (n.unrepresentable === "throw")
- throw new Error("Set cannot be represented in JSON Schema");
+ throw new Error("Map cannot be represented in JSON Schema");
}, qc = (e, n, r, o) => {
+ if (n.unrepresentable === "throw")
+ throw new Error("Set cannot be represented in JSON Schema");
+}, Wc = (e, n, r, o) => {
const t = r, i = e._zod.def, { minimum: a, maximum: l } = e._zod.bag;
typeof a == "number" && (t.minItems = a), typeof l == "number" && (t.maxItems = l), t.type = "array", t.items = le(i.element, n, {
...o,
@@ -13811,13 +13945,13 @@ const kc = (e, n = {}) => (r) => {
...o,
path: [...o.path, "additionalProperties"]
})) : n.io === "output" && (t.additionalProperties = !1);
-}, zi = (e, n, r, o) => {
+}, Oi = (e, n, r, o) => {
const t = e._zod.def, i = t.inclusive === !1, a = t.options.map((l, s) => le(l, n, {
...o,
path: [...o.path, i ? "oneOf" : "anyOf", s]
}));
i ? r.oneOf = a : r.anyOf = a;
-}, Wc = (e, n, r, o) => {
+}, Kc = (e, n, r, o) => {
const t = e._zod.def, i = le(t.left, n, {
...o,
path: [...o.path, "allOf", 0]
@@ -13829,7 +13963,7 @@ const kc = (e, n = {}) => (r) => {
...l(a) ? a.allOf : [a]
];
r.allOf = s;
-}, Kc = (e, n, r, o) => {
+}, Xc = (e, n, r, o) => {
const t = r, i = e._zod.def;
t.type = "array";
const a = n.target === "draft-2020-12" ? "prefixItems" : "items", l = n.target === "draft-2020-12" || n.target === "openapi-3.0" ? "items" : "additionalItems", s = i.items.map((m, f) => le(m, n, {
@@ -13844,7 +13978,7 @@ const kc = (e, n = {}) => (r) => {
}, u && t.items.anyOf.push(u), t.minItems = s.length, u || (t.maxItems = s.length)) : (t.items = s, u && (t.additionalItems = u));
const { minimum: d, maximum: c } = e._zod.bag;
typeof d == "number" && (t.minItems = d), typeof c == "number" && (t.maxItems = c);
-}, Xc = (e, n, r, o) => {
+}, Hc = (e, n, r, o) => {
const t = r, i = e._zod.def;
t.type = "object";
const a = i.keyType, l = a._zod.bag, s = l == null ? void 0 : l.patterns;
@@ -13869,25 +14003,25 @@ const kc = (e, n = {}) => (r) => {
const d = [...u].filter((c) => typeof c == "string" || typeof c == "number");
d.length > 0 && (t.required = d);
}
-}, Hc = (e, n, r, o) => {
+}, Yc = (e, n, r, o) => {
const t = e._zod.def, i = le(t.innerType, n, o), a = n.seen.get(e);
n.target === "openapi-3.0" ? (a.ref = t.innerType, r.nullable = !0) : r.anyOf = [i, { type: "null" }];
-}, Yc = (e, n, r, o) => {
- const t = e._zod.def;
- le(t.innerType, n, o);
- const i = n.seen.get(e);
- i.ref = t.innerType;
}, Qc = (e, n, r, o) => {
const t = e._zod.def;
le(t.innerType, n, o);
const i = n.seen.get(e);
- i.ref = t.innerType, r.default = JSON.parse(JSON.stringify(t.defaultValue));
+ i.ref = t.innerType;
}, ed = (e, n, r, o) => {
const t = e._zod.def;
le(t.innerType, n, o);
const i = n.seen.get(e);
- i.ref = t.innerType, n.io === "input" && (r._prefault = JSON.parse(JSON.stringify(t.defaultValue)));
+ i.ref = t.innerType, r.default = JSON.parse(JSON.stringify(t.defaultValue));
}, td = (e, n, r, o) => {
+ const t = e._zod.def;
+ le(t.innerType, n, o);
+ const i = n.seen.get(e);
+ i.ref = t.innerType, n.io === "input" && (r._prefault = JSON.parse(JSON.stringify(t.defaultValue)));
+}, nd = (e, n, r, o) => {
const t = e._zod.def;
le(t.innerType, n, o);
const i = n.seen.get(e);
@@ -13899,75 +14033,75 @@ const kc = (e, n = {}) => (r) => {
throw new Error("Dynamic catch values are not supported in JSON Schema");
}
r.default = a;
-}, nd = (e, n, r, o) => {
+}, rd = (e, n, r, o) => {
const t = e._zod.def, i = t.in._zod.traits.has("$ZodTransform"), a = n.io === "input" ? i ? t.out : t.in : t.out;
le(a, n, o);
const l = n.seen.get(e);
l.ref = a;
-}, rd = (e, n, r, o) => {
- const t = e._zod.def;
- le(t.innerType, n, o);
- const i = n.seen.get(e);
- i.ref = t.innerType, r.readOnly = !0;
}, id = (e, n, r, o) => {
const t = e._zod.def;
le(t.innerType, n, o);
const i = n.seen.get(e);
- i.ref = t.innerType;
-}, Di = (e, n, r, o) => {
+ i.ref = t.innerType, r.readOnly = !0;
+}, od = (e, n, r, o) => {
const t = e._zod.def;
le(t.innerType, n, o);
const i = n.seen.get(e);
i.ref = t.innerType;
-}, od = (e, n, r, o) => {
+}, ji = (e, n, r, o) => {
+ const t = e._zod.def;
+ le(t.innerType, n, o);
+ const i = n.seen.get(e);
+ i.ref = t.innerType;
+}, ad = (e, n, r, o) => {
const t = e._zod.innerType;
le(t, n, o);
const i = n.seen.get(e);
i.ref = t;
-}, $r = {
- string: Sc,
- number: Ic,
- boolean: wc,
- bigint: zc,
- symbol: Dc,
- null: Oc,
- undefined: jc,
- void: Ec,
- never: Uc,
- any: xc,
- unknown: Tc,
- date: Ac,
- enum: Nc,
- literal: Pc,
- nan: Cc,
- template_literal: Zc,
- file: Mc,
- success: Fc,
- custom: Lc,
- function: Rc,
- transform: Bc,
- map: Vc,
- set: Jc,
- array: qc,
+}, _r = {
+ string: Ic,
+ number: wc,
+ boolean: zc,
+ bigint: Dc,
+ symbol: Oc,
+ null: jc,
+ undefined: Ec,
+ void: Uc,
+ never: xc,
+ any: Tc,
+ unknown: Ac,
+ date: Nc,
+ enum: Pc,
+ literal: Cc,
+ nan: Zc,
+ template_literal: Mc,
+ file: Fc,
+ success: Lc,
+ custom: Rc,
+ function: Bc,
+ transform: Vc,
+ map: Jc,
+ set: qc,
+ array: Wc,
object: Gc,
- union: zi,
- intersection: Wc,
- tuple: Kc,
- record: Xc,
- nullable: Hc,
- nonoptional: Yc,
- default: Qc,
- prefault: ed,
- catch: td,
- pipe: nd,
- readonly: rd,
- promise: id,
- optional: Di,
- lazy: od
+ union: Oi,
+ intersection: Kc,
+ tuple: Xc,
+ record: Hc,
+ nullable: Yc,
+ nonoptional: Qc,
+ default: ed,
+ prefault: td,
+ catch: nd,
+ pipe: rd,
+ readonly: id,
+ promise: od,
+ optional: ji,
+ lazy: ad
};
-function ad(e, n) {
+function ld(e, n) {
if ("_idmap" in e) {
- const o = e, t = ft({ ...n, processors: $r }), i = {};
+ const o = e, t = ft({ ...n, processors: _r }), i = {};
for (const s of o._idmap.entries()) {
const [u, d] = s;
le(d, t);
@@ -13990,10 +14124,10 @@ function ad(e, n) {
}
return { schemas: a };
}
- const r = ft({ ...n, processors: $r });
+ const r = ft({ ...n, processors: _r });
return le(e, r), vt(r, e), pt(r, e);
}
-class Tk {
+class Ak {
/** @deprecated Access via ctx instead */
get metadataRegistry() {
return this.ctx.metadataRegistry;
@@ -14028,7 +14162,7 @@ class Tk {
constructor(n) {
let r = (n == null ? void 0 : n.target) ?? "draft-2020-12";
r === "draft-4" && (r = "draft-04"), r === "draft-7" && (r = "draft-07"), this.ctx = ft({
- processors: $r,
+ processors: _r,
target: r,
...(n == null ? void 0 : n.metadata) && { metadata: n.metadata },
...(n == null ? void 0 : n.unrepresentable) && { unrepresentable: n.unrepresentable },
@@ -14053,368 +14187,368 @@ class Tk {
return i;
}
}
-const Ak = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+const Nk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null
-}, Symbol.toStringTag, { value: "Module" })), Nk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+}, Symbol.toStringTag, { value: "Module" })), Pk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
- $ZodAny: Wu,
- $ZodArray: Qu,
- $ZodAsyncError: Ye,
- $ZodBase64: Pu,
- $ZodBase64URL: Zu,
- $ZodBigInt: Kr,
- $ZodBigIntFormat: Vu,
- $ZodBoolean: Wr,
- $ZodCIDRv4: Au,
- $ZodCIDRv6: Nu,
- $ZodCUID: ku,
- $ZodCUID2: Su,
- $ZodCatch: _s,
+ $ZodAny: Ku,
+ $ZodArray: es,
+ $ZodAsyncError: Qe,
+ $ZodBase64: Cu,
+ $ZodBase64URL: Mu,
+ $ZodBigInt: Hr,
+ $ZodBigIntFormat: Ju,
+ $ZodBoolean: Xr,
+ $ZodCIDRv4: Nu,
+ $ZodCIDRv6: Pu,
+ $ZodCUID: Su,
+ $ZodCUID2: Iu,
+ $ZodCatch: ys,
$ZodCheck: fe,
- $ZodCheckBigIntFormat: Yl,
- $ZodCheckEndsWith: cu,
- $ZodCheckGreaterThan: Jr,
- $ZodCheckIncludes: uu,
- $ZodCheckLengthEquals: iu,
- $ZodCheckLessThan: Vr,
- $ZodCheckLowerCase: au,
- $ZodCheckMaxLength: nu,
- $ZodCheckMaxSize: Ql,
- $ZodCheckMimeType: mu,
- $ZodCheckMinLength: ru,
- $ZodCheckMinSize: eu,
- $ZodCheckMultipleOf: Xl,
- $ZodCheckNumberFormat: Hl,
- $ZodCheckOverwrite: fu,
- $ZodCheckProperty: du,
- $ZodCheckRegex: ou,
- $ZodCheckSizeEquals: tu,
- $ZodCheckStartsWith: su,
+ $ZodCheckBigIntFormat: Ql,
+ $ZodCheckEndsWith: du,
+ $ZodCheckGreaterThan: Wr,
+ $ZodCheckIncludes: su,
+ $ZodCheckLengthEquals: ou,
+ $ZodCheckLessThan: qr,
+ $ZodCheckLowerCase: lu,
+ $ZodCheckMaxLength: ru,
+ $ZodCheckMaxSize: eu,
+ $ZodCheckMimeType: fu,
+ $ZodCheckMinLength: iu,
+ $ZodCheckMinSize: tu,
+ $ZodCheckMultipleOf: Hl,
+ $ZodCheckNumberFormat: Yl,
+ $ZodCheckOverwrite: vu,
+ $ZodCheckProperty: mu,
+ $ZodCheckRegex: au,
+ $ZodCheckSizeEquals: nu,
+ $ZodCheckStartsWith: cu,
$ZodCheckStringFormat: Zt,
- $ZodCheckUpperCase: lu,
- $ZodCodec: Qr,
- $ZodCustom: Os,
- $ZodCustomStringFormat: Ru,
- $ZodDate: Yu,
- $ZodDefault: gs,
- $ZodDiscriminatedUnion: os,
- $ZodE164: Mu,
+ $ZodCheckUpperCase: uu,
+ $ZodCodec: ti,
+ $ZodCustom: js,
+ $ZodCustomStringFormat: Bu,
+ $ZodDate: Qu,
+ $ZodDefault: hs,
+ $ZodDiscriminatedUnion: as,
+ $ZodE164: Fu,
$ZodEmail: $u,
- $ZodEmoji: _u,
- $ZodEncodeError: _n,
- $ZodEnum: cs,
- $ZodError: jr,
- $ZodExactOptional: vs,
- $ZodFile: ms,
- $ZodFunction: ws,
- $ZodGUID: gu,
- $ZodIPv4: Uu,
- $ZodIPv6: xu,
- $ZodISODate: Ou,
- $ZodISODateTime: Du,
- $ZodISODuration: Eu,
- $ZodISOTime: ju,
- $ZodIntersection: as,
- $ZodJWT: Lu,
- $ZodKSUID: zu,
- $ZodLazy: Ds,
- $ZodLiteral: ds,
- $ZodMAC: Tu,
- $ZodMap: us,
- $ZodNaN: ys,
- $ZodNanoID: yu,
- $ZodNever: Xu,
+ $ZodEmoji: yu,
+ $ZodEncodeError: yn,
+ $ZodEnum: ds,
+ $ZodError: Ur,
+ $ZodExactOptional: ps,
+ $ZodFile: fs,
+ $ZodFunction: zs,
+ $ZodGUID: hu,
+ $ZodIPv4: xu,
+ $ZodIPv6: Tu,
+ $ZodISODate: ju,
+ $ZodISODateTime: Ou,
+ $ZodISODuration: Uu,
+ $ZodISOTime: Eu,
+ $ZodIntersection: ls,
+ $ZodJWT: Ru,
+ $ZodKSUID: Du,
+ $ZodLazy: Os,
+ $ZodLiteral: ms,
+ $ZodMAC: Au,
+ $ZodMap: ss,
+ $ZodNaN: ks,
+ $ZodNanoID: ku,
+ $ZodNever: Hu,
$ZodNonOptional: $s,
$ZodNull: Gu,
- $ZodNullable: ps,
- $ZodNumber: Gr,
- $ZodNumberFormat: Bu,
- $ZodObject: ns,
- $ZodObjectJIT: rs,
- $ZodOptional: Hr,
- $ZodPipe: Yr,
- $ZodPrefault: hs,
- $ZodPreprocess: ks,
- $ZodPromise: zs,
- $ZodReadonly: Ss,
+ $ZodNullable: gs,
+ $ZodNumber: Kr,
+ $ZodNumberFormat: Vu,
+ $ZodObject: rs,
+ $ZodObjectJIT: is,
+ $ZodOptional: Qr,
+ $ZodPipe: ei,
+ $ZodPrefault: bs,
+ $ZodPreprocess: Ss,
+ $ZodPromise: Ds,
+ $ZodReadonly: Is,
$ZodRealError: xe,
- $ZodRecord: ls,
- $ZodRegistry: Ns,
- $ZodSet: ss,
+ $ZodRecord: us,
+ $ZodRegistry: Ps,
+ $ZodSet: cs,
$ZodString: Mt,
$ZodStringFormat: ue,
- $ZodSuccess: bs,
- $ZodSymbol: Ju,
- $ZodTemplateLiteral: Is,
- $ZodTransform: fs,
- $ZodTuple: Xr,
+ $ZodSuccess: _s,
+ $ZodSymbol: qu,
+ $ZodTemplateLiteral: ws,
+ $ZodTransform: vs,
+ $ZodTuple: Yr,
$ZodType: X,
- $ZodULID: Iu,
- $ZodURL: bu,
- $ZodUUID: hu,
- $ZodUndefined: qu,
- $ZodUnion: wn,
- $ZodUnknown: Ku,
- $ZodVoid: Hu,
- $ZodXID: wu,
- $ZodXor: is,
- $brand: Va,
+ $ZodULID: wu,
+ $ZodURL: _u,
+ $ZodUUID: bu,
+ $ZodUndefined: Wu,
+ $ZodUnion: zn,
+ $ZodUnknown: Xu,
+ $ZodVoid: Yu,
+ $ZodXID: zu,
+ $ZodXor: os,
+ $brand: Ja,
$constructor: v,
- $input: As,
- $output: Ts,
- Doc: vu,
- JSONSchema: Ak,
- JSONSchemaGenerator: Tk,
- NEVER: Ba,
- TimePrecision: Ms,
- _any: ac,
- _array: fc,
- _base64: hi,
- _base64url: $i,
- _bigint: Qs,
- _boolean: Hs,
- _catch: zk,
+ $input: Ns,
+ $output: As,
+ Doc: pu,
+ JSONSchema: Nk,
+ JSONSchemaGenerator: Ak,
+ NEVER: Va,
+ TimePrecision: Fs,
+ _any: lc,
+ _array: vc,
+ _base64: $i,
+ _base64url: _i,
+ _bigint: ec,
+ _boolean: Ys,
+ _catch: Dk,
_check: $c,
- _cidrv4: pi,
- _cidrv6: gi,
- _coercedBigint: ec,
- _coercedBoolean: Ys,
- _coercedDate: dc,
- _coercedNumber: Js,
- _coercedString: Cs,
- _cuid: ui,
- _cuid2: si,
- _custom: pc,
- _date: cc,
- _decode: Tr,
- _decodeAsync: Nr,
- _default: Sk,
- _discriminatedUnion: dk,
- _e164: bi,
- _email: ti,
- _emoji: ai,
- _encode: xr,
- _encodeAsync: Ar,
- _endsWith: xn,
- _enum: hk,
- _file: vc,
+ _cidrv4: hi,
+ _cidrv6: bi,
+ _coercedBigint: tc,
+ _coercedBoolean: Qs,
+ _coercedDate: mc,
+ _coercedNumber: qs,
+ _coercedString: Zs,
+ _cuid: ci,
+ _cuid2: di,
+ _custom: gc,
+ _date: dc,
+ _decode: Nr,
+ _decodeAsync: Cr,
+ _default: Ik,
+ _discriminatedUnion: mk,
+ _e164: yi,
+ _email: ri,
+ _emoji: ui,
+ _encode: Ar,
+ _encodeAsync: Pr,
+ _endsWith: Tn,
+ _enum: bk,
+ _file: pc,
_float32: Gs,
- _float64: Ws,
- _gt: We,
- _gte: Oe,
- _guid: gn,
- _includes: En,
- _int: qs,
- _int32: Ks,
- _int64: tc,
- _intersection: mk,
- _ipv4: fi,
- _ipv6: vi,
- _isoDate: Ls,
- _isoDateTime: Fs,
- _isoDuration: Bs,
- _isoTime: Rs,
- _jwt: _i,
- _ksuid: mi,
- _lazy: Ek,
+ _float64: Ks,
+ _gt: Ge,
+ _gte: je,
+ _guid: hn,
+ _includes: Un,
+ _int: Ws,
+ _int32: Xs,
+ _int64: nc,
+ _intersection: fk,
+ _ipv4: pi,
+ _ipv6: gi,
+ _isoDate: Rs,
+ _isoDateTime: Ls,
+ _isoDuration: Vs,
+ _isoTime: Bs,
+ _jwt: ki,
+ _ksuid: vi,
+ _lazy: Uk,
_length: Rt,
- _literal: bk,
- _lowercase: On,
- _lt: Ge,
+ _literal: _k,
+ _lowercase: jn,
+ _lt: We,
_lte: Pe,
- _mac: Zs,
- _map: pk,
+ _mac: Ms,
+ _map: gk,
_max: Pe,
_maxLength: Lt,
- _maxSize: $t,
- _mime: Tn,
- _min: Oe,
- _minLength: et,
+ _maxSize: bt,
+ _mime: An,
+ _min: je,
+ _minLength: tt,
_minSize: Ke,
_multipleOf: mt,
- _nan: mc,
- _nanoid: li,
+ _nan: fc,
+ _nanoid: si,
_nativeEnum: $k,
- _negative: ki,
- _never: uc,
- _nonnegative: Ii,
- _nonoptional: Ik,
- _nonpositive: Si,
- _normalize: An,
- _null: oc,
- _nullable: kk,
- _number: Vs,
- _optional: yk,
+ _negative: Ii,
+ _never: sc,
+ _nonnegative: zi,
+ _nonoptional: wk,
+ _nonpositive: wi,
+ _normalize: Nn,
+ _null: ac,
+ _nullable: Sk,
+ _number: Js,
+ _optional: kk,
_overwrite: Je,
_parse: xt,
_parseAsync: Tt,
- _pipe: Dk,
- _positive: yi,
- _promise: Uk,
- _property: wi,
- _readonly: Ok,
- _record: vk,
- _refine: gc,
- _regex: Dn,
- _safeDecode: Cr,
- _safeDecodeAsync: Mr,
- _safeEncode: Pr,
- _safeEncodeAsync: Zr,
+ _pipe: Ok,
+ _positive: Si,
+ _promise: xk,
+ _property: Di,
+ _readonly: jk,
+ _record: pk,
+ _refine: hc,
+ _regex: On,
+ _safeDecode: Mr,
+ _safeDecodeAsync: Lr,
+ _safeEncode: Zr,
+ _safeEncodeAsync: Fr,
_safeParse: At,
_safeParseAsync: Nt,
- _set: gk,
+ _set: hk,
_size: Ft,
- _slugify: Zn,
- _startsWith: Un,
- _string: Ps,
+ _slugify: Mn,
+ _startsWith: xn,
+ _string: Cs,
_stringFormat: Bt,
- _stringbool: yc,
- _success: wk,
- _superRefine: hc,
- _symbol: rc,
- _templateLiteral: jk,
- _toLowerCase: Pn,
- _toUpperCase: Cn,
- _transform: _k,
- _trim: Nn,
- _tuple: fk,
- _uint32: Xs,
- _uint64: nc,
- _ulid: ci,
- _undefined: ic,
- _union: sk,
- _unknown: lc,
- _uppercase: jn,
- _url: zn,
- _uuid: ni,
- _uuidv4: ri,
- _uuidv6: ii,
- _uuidv7: oi,
- _void: sc,
- _xid: di,
- _xor: ck,
+ _stringbool: kc,
+ _success: zk,
+ _superRefine: bc,
+ _symbol: ic,
+ _templateLiteral: Ek,
+ _toLowerCase: Cn,
+ _toUpperCase: Zn,
+ _transform: yk,
+ _trim: Pn,
+ _tuple: vk,
+ _uint32: Hs,
+ _uint64: rc,
+ _ulid: mi,
+ _undefined: oc,
+ _union: ck,
+ _unknown: uc,
+ _uppercase: En,
+ _url: Dn,
+ _uuid: ii,
+ _uuidv4: oi,
+ _uuidv6: ai,
+ _uuidv7: li,
+ _void: cc,
+ _xid: fi,
+ _xor: dk,
clone: Ce,
config: Ie,
createStandardJSONSchemaMethod: zt,
- createToJSONSchemaMethod: kc,
- decode: Lb,
- decodeAsync: Bb,
- describe: bc,
- encode: Fb,
- encodeAsync: Rb,
+ createToJSONSchemaMethod: Sc,
+ decode: R$,
+ decodeAsync: V$,
+ describe: _c,
+ encode: L$,
+ encodeAsync: B$,
extractDefs: vt,
finalize: pt,
- flattenError: Er,
- formatError: Ur,
+ flattenError: xr,
+ formatError: Tr,
globalConfig: wt,
globalRegistry: Ne,
initializeContext: ft,
- isValidBase64: qr,
- isValidBase64URL: Cu,
- isValidJWT: Fu,
- locales: xs,
- meta: _c,
- parse: pr,
- parseAsync: gr,
- prettifyError: ml,
+ isValidBase64: Gr,
+ isValidBase64URL: Zu,
+ isValidJWT: Lu,
+ locales: Ts,
+ meta: yc,
+ parse: hr,
+ parseAsync: br,
+ prettifyError: fl,
process: le,
- regexes: Br,
- registry: ei,
- safeDecode: Jb,
- safeDecodeAsync: Gb,
- safeEncode: Vb,
- safeEncodeAsync: qb,
- safeParse: fl,
- safeParseAsync: vl,
- toDotPath: dl,
- toJSONSchema: ad,
- treeifyError: cl,
- util: ul,
- version: pu
-}, Symbol.toStringTag, { value: "Module" })), Pk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+ regexes: Jr,
+ registry: ni,
+ safeDecode: q$,
+ safeDecodeAsync: G$,
+ safeEncode: J$,
+ safeEncodeAsync: W$,
+ safeParse: vl,
+ safeParseAsync: pl,
+ toDotPath: ml,
+ toJSONSchema: ld,
+ treeifyError: dl,
+ util: sl,
+ version: gu
+}, Symbol.toStringTag, { value: "Module" })), Ck = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
- endsWith: xn,
- gt: We,
- gte: Oe,
- includes: En,
+ endsWith: Tn,
+ gt: Ge,
+ gte: je,
+ includes: Un,
length: Rt,
- lowercase: On,
- lt: Ge,
+ lowercase: jn,
+ lt: We,
lte: Pe,
maxLength: Lt,
- maxSize: $t,
- mime: Tn,
- minLength: et,
+ maxSize: bt,
+ mime: An,
+ minLength: tt,
minSize: Ke,
multipleOf: mt,
- negative: ki,
- nonnegative: Ii,
- nonpositive: Si,
- normalize: An,
+ negative: Ii,
+ nonnegative: zi,
+ nonpositive: wi,
+ normalize: Nn,
overwrite: Je,
- positive: yi,
- property: wi,
- regex: Dn,
+ positive: Si,
+ property: Di,
+ regex: On,
size: Ft,
- slugify: Zn,
- startsWith: Un,
- toLowerCase: Pn,
- toUpperCase: Cn,
- trim: Nn,
- uppercase: jn
-}, Symbol.toStringTag, { value: "Module" })), Oi = /* @__PURE__ */ v("ZodISODateTime", (e, n) => {
- Du.init(e, n), se.init(e, n);
-});
-function ld(e) {
- return /* @__PURE__ */ Fs(Oi, e);
-}
-const ji = /* @__PURE__ */ v("ZodISODate", (e, n) => {
+ slugify: Mn,
+ startsWith: xn,
+ toLowerCase: Cn,
+ toUpperCase: Zn,
+ trim: Pn,
+ uppercase: En
+}, Symbol.toStringTag, { value: "Module" })), Ei = /* @__PURE__ */ v("ZodISODateTime", (e, n) => {
Ou.init(e, n), se.init(e, n);
});
function ud(e) {
- return /* @__PURE__ */ Ls(ji, e);
+ return /* @__PURE__ */ Ls(Ei, e);
}
-const Ei = /* @__PURE__ */ v("ZodISOTime", (e, n) => {
+const Ui = /* @__PURE__ */ v("ZodISODate", (e, n) => {
ju.init(e, n), se.init(e, n);
});
function sd(e) {
- return /* @__PURE__ */ Rs(Ei, e);
+ return /* @__PURE__ */ Rs(Ui, e);
}
-const Ui = /* @__PURE__ */ v("ZodISODuration", (e, n) => {
+const xi = /* @__PURE__ */ v("ZodISOTime", (e, n) => {
Eu.init(e, n), se.init(e, n);
});
function cd(e) {
- return /* @__PURE__ */ Bs(Ui, e);
+ return /* @__PURE__ */ Bs(xi, e);
}
-const dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+const Ti = /* @__PURE__ */ v("ZodISODuration", (e, n) => {
+ Uu.init(e, n), se.init(e, n);
+});
+function dd(e) {
+ return /* @__PURE__ */ Vs(Ti, e);
+}
+const md = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
- ZodISODate: ji,
- ZodISODateTime: Oi,
- ZodISODuration: Ui,
- ZodISOTime: Ei,
- date: ud,
- datetime: ld,
- duration: cd,
- time: sd
-}, Symbol.toStringTag, { value: "Module" })), md = (e, n) => {
- jr.init(e, n), e.name = "ZodError", Object.defineProperties(e, {
+ ZodISODate: Ui,
+ ZodISODateTime: Ei,
+ ZodISODuration: Ti,
+ ZodISOTime: xi,
+ date: sd,
+ datetime: ud,
+ duration: dd,
+ time: cd
+}, Symbol.toStringTag, { value: "Module" })), fd = (e, n) => {
+ Ur.init(e, n), e.name = "ZodError", Object.defineProperties(e, {
format: {
- value: (r) => Ur(e, r)
+ value: (r) => Tr(e, r)
// enumerable: false,
},
flatten: {
- value: (r) => Er(e, r)
+ value: (r) => xr(e, r)
// enumerable: false,
},
addIssue: {
value: (r) => {
- e.issues.push(r), e.message = JSON.stringify(e.issues, fn, 2);
+ e.issues.push(r), e.message = JSON.stringify(e.issues, vn, 2);
}
// enumerable: false,
},
addIssues: {
value: (r) => {
- e.issues.push(...r), e.message = JSON.stringify(e.issues, fn, 2);
+ e.issues.push(...r), e.message = JSON.stringify(e.issues, vn, 2);
}
// enumerable: false,
},
@@ -14425,13 +14559,13 @@ const dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
// enumerable: false,
}
});
-}, Ck = /* @__PURE__ */ v("ZodError", md), Te = /* @__PURE__ */ v("ZodError", md, {
+}, Zk = /* @__PURE__ */ v("ZodError", fd), Te = /* @__PURE__ */ v("ZodError", fd, {
Parent: Error
-}), fd = /* @__PURE__ */ xt(Te), vd = /* @__PURE__ */ Tt(Te), pd = /* @__PURE__ */ At(Te), gd = /* @__PURE__ */ Nt(Te), hd = /* @__PURE__ */ xr(Te), $d = /* @__PURE__ */ Tr(Te), bd = /* @__PURE__ */ Ar(Te), _d = /* @__PURE__ */ Nr(Te), yd = /* @__PURE__ */ Pr(Te), kd = /* @__PURE__ */ Cr(Te), Sd = /* @__PURE__ */ Zr(Te), Id = /* @__PURE__ */ Mr(Te), fa = /* @__PURE__ */ new WeakMap();
+}), vd = /* @__PURE__ */ xt(Te), pd = /* @__PURE__ */ Tt(Te), gd = /* @__PURE__ */ At(Te), hd = /* @__PURE__ */ Nt(Te), bd = /* @__PURE__ */ Ar(Te), $d = /* @__PURE__ */ Nr(Te), _d = /* @__PURE__ */ Pr(Te), yd = /* @__PURE__ */ Cr(Te), kd = /* @__PURE__ */ Zr(Te), Sd = /* @__PURE__ */ Mr(Te), Id = /* @__PURE__ */ Fr(Te), wd = /* @__PURE__ */ Lr(Te), va = /* @__PURE__ */ new WeakMap();
function Vt(e, n, r) {
const o = Object.getPrototypeOf(e);
- let t = fa.get(o);
- if (t || (t = /* @__PURE__ */ new Set(), fa.set(o, t)), !t.has(n)) {
+ let t = va.get(o);
+ if (t || (t = /* @__PURE__ */ new Set(), va.set(o, t)), !t.has(n)) {
t.add(n);
for (const i in r) {
const a = r[i];
@@ -14464,7 +14598,7 @@ const H = /* @__PURE__ */ v("ZodType", (e, n) => (X.init(e, n), Object.assign(e[
input: zt(e, "input"),
output: zt(e, "output")
}
-}), e.toJSONSchema = kc(e, {}), e.def = n, e.type = n.type, Object.defineProperty(e, "_def", { value: n }), e.parse = (r, o) => fd(e, r, o, { callee: e.parse }), e.safeParse = (r, o) => pd(e, r, o), e.parseAsync = async (r, o) => vd(e, r, o, { callee: e.parseAsync }), e.safeParseAsync = async (r, o) => gd(e, r, o), e.spa = e.safeParseAsync, e.encode = (r, o) => hd(e, r, o), e.decode = (r, o) => $d(e, r, o), e.encodeAsync = async (r, o) => bd(e, r, o), e.decodeAsync = async (r, o) => _d(e, r, o), e.safeEncode = (r, o) => yd(e, r, o), e.safeDecode = (r, o) => kd(e, r, o), e.safeEncodeAsync = async (r, o) => Sd(e, r, o), e.safeDecodeAsync = async (r, o) => Id(e, r, o), Vt(e, "ZodType", {
+}), e.toJSONSchema = Sc(e, {}), e.def = n, e.type = n.type, Object.defineProperty(e, "_def", { value: n }), e.parse = (r, o) => vd(e, r, o, { callee: e.parse }), e.safeParse = (r, o) => gd(e, r, o), e.parseAsync = async (r, o) => pd(e, r, o, { callee: e.parseAsync }), e.safeParseAsync = async (r, o) => hd(e, r, o), e.spa = e.safeParseAsync, e.encode = (r, o) => bd(e, r, o), e.decode = (r, o) => $d(e, r, o), e.encodeAsync = async (r, o) => _d(e, r, o), e.decodeAsync = async (r, o) => yd(e, r, o), e.safeEncode = (r, o) => kd(e, r, o), e.safeDecode = (r, o) => Sd(e, r, o), e.safeEncodeAsync = async (r, o) => Id(e, r, o), e.safeDecodeAsync = async (r, o) => wd(e, r, o), Vt(e, "ZodType", {
check(...r) {
const o = this.def;
return this.clone(Re(o, {
@@ -14487,10 +14621,10 @@ const H = /* @__PURE__ */ v("ZodType", (e, n) => (X.init(e, n), Object.assign(e[
return r.add(this, o), this;
},
refine(r, o) {
- return this.check(So(r, o));
+ return this.check(wo(r, o));
},
superRefine(r, o) {
- return this.check(Io(r, o));
+ return this.check(zo(r, o));
},
overwrite(r) {
return this.check(/* @__PURE__ */ Je(r));
@@ -14499,7 +14633,7 @@ const H = /* @__PURE__ */ v("ZodType", (e, n) => (X.init(e, n), Object.assign(e[
return jt(this);
},
exactOptional() {
- return ro(this);
+ return oo(this);
},
nullable() {
return Et(this);
@@ -14508,34 +14642,34 @@ const H = /* @__PURE__ */ v("ZodType", (e, n) => (X.init(e, n), Object.assign(e[
return jt(Et(this));
},
nonoptional(r) {
- return so(this, r);
+ return mo(this, r);
},
array() {
return Xt(this);
},
or(r) {
- return or([this, r]);
+ return ar([this, r]);
},
and(r) {
- return Gi(this, r);
+ return Ki(this, r);
},
transform(r) {
- return $n(this, lr(r));
+ return $n(this, ur(r));
},
default(r) {
- return ao(this, r);
- },
- prefault(r) {
return uo(this, r);
},
+ prefault(r) {
+ return co(this, r);
+ },
catch(r) {
- return fo(this, r);
+ return po(this, r);
},
pipe(r) {
return $n(this, r);
},
readonly() {
- return ho(this);
+ return $o(this);
},
describe(r) {
const o = this.clone();
@@ -14562,24 +14696,24 @@ const H = /* @__PURE__ */ v("ZodType", (e, n) => (X.init(e, n), Object.assign(e[
return (r = Ne.get(e)) == null ? void 0 : r.description;
},
configurable: !0
-}), e)), Mn = /* @__PURE__ */ v("_ZodString", (e, n) => {
- Mt.init(e, n), H.init(e, n), e._zod.processJSONSchema = (o, t, i) => Sc(e, o, t);
+}), e)), Fn = /* @__PURE__ */ v("_ZodString", (e, n) => {
+ Mt.init(e, n), H.init(e, n), e._zod.processJSONSchema = (o, t, i) => Ic(e, o, t);
const r = e._zod.bag;
e.format = r.format ?? null, e.minLength = r.minimum ?? null, e.maxLength = r.maximum ?? null, Vt(e, "_ZodString", {
regex(...o) {
- return this.check(/* @__PURE__ */ Dn(...o));
+ return this.check(/* @__PURE__ */ On(...o));
},
includes(...o) {
- return this.check(/* @__PURE__ */ En(...o));
- },
- startsWith(...o) {
return this.check(/* @__PURE__ */ Un(...o));
},
- endsWith(...o) {
+ startsWith(...o) {
return this.check(/* @__PURE__ */ xn(...o));
},
+ endsWith(...o) {
+ return this.check(/* @__PURE__ */ Tn(...o));
+ },
min(...o) {
- return this.check(/* @__PURE__ */ et(...o));
+ return this.check(/* @__PURE__ */ tt(...o));
},
max(...o) {
return this.check(/* @__PURE__ */ Lt(...o));
@@ -14588,205 +14722,205 @@ const H = /* @__PURE__ */ v("ZodType", (e, n) => (X.init(e, n), Object.assign(e[
return this.check(/* @__PURE__ */ Rt(...o));
},
nonempty(...o) {
- return this.check(/* @__PURE__ */ et(1, ...o));
+ return this.check(/* @__PURE__ */ tt(1, ...o));
},
lowercase(o) {
- return this.check(/* @__PURE__ */ On(o));
- },
- uppercase(o) {
return this.check(/* @__PURE__ */ jn(o));
},
+ uppercase(o) {
+ return this.check(/* @__PURE__ */ En(o));
+ },
trim() {
- return this.check(/* @__PURE__ */ Nn());
- },
- normalize(...o) {
- return this.check(/* @__PURE__ */ An(...o));
- },
- toLowerCase() {
return this.check(/* @__PURE__ */ Pn());
},
- toUpperCase() {
+ normalize(...o) {
+ return this.check(/* @__PURE__ */ Nn(...o));
+ },
+ toLowerCase() {
return this.check(/* @__PURE__ */ Cn());
},
- slugify() {
+ toUpperCase() {
return this.check(/* @__PURE__ */ Zn());
+ },
+ slugify() {
+ return this.check(/* @__PURE__ */ Mn());
}
});
}), Jt = /* @__PURE__ */ v("ZodString", (e, n) => {
- Mt.init(e, n), Mn.init(e, n), e.email = (r) => e.check(/* @__PURE__ */ ti(Fn, r)), e.url = (r) => e.check(/* @__PURE__ */ zn(qt, r)), e.jwt = (r) => e.check(/* @__PURE__ */ _i(tr, r)), e.emoji = (r) => e.check(/* @__PURE__ */ ai(Ln, r)), e.guid = (r) => e.check(/* @__PURE__ */ gn(Ot, r)), e.uuid = (r) => e.check(/* @__PURE__ */ ni(Le, r)), e.uuidv4 = (r) => e.check(/* @__PURE__ */ ri(Le, r)), e.uuidv6 = (r) => e.check(/* @__PURE__ */ ii(Le, r)), e.uuidv7 = (r) => e.check(/* @__PURE__ */ oi(Le, r)), e.nanoid = (r) => e.check(/* @__PURE__ */ li(Rn, r)), e.guid = (r) => e.check(/* @__PURE__ */ gn(Ot, r)), e.cuid = (r) => e.check(/* @__PURE__ */ ui(Bn, r)), e.cuid2 = (r) => e.check(/* @__PURE__ */ si(Vn, r)), e.ulid = (r) => e.check(/* @__PURE__ */ ci(Jn, r)), e.base64 = (r) => e.check(/* @__PURE__ */ hi(Yn, r)), e.base64url = (r) => e.check(/* @__PURE__ */ $i(Qn, r)), e.xid = (r) => e.check(/* @__PURE__ */ di(qn, r)), e.ksuid = (r) => e.check(/* @__PURE__ */ mi(Gn, r)), e.ipv4 = (r) => e.check(/* @__PURE__ */ fi(Wn, r)), e.ipv6 = (r) => e.check(/* @__PURE__ */ vi(Kn, r)), e.cidrv4 = (r) => e.check(/* @__PURE__ */ pi(Xn, r)), e.cidrv6 = (r) => e.check(/* @__PURE__ */ gi(Hn, r)), e.e164 = (r) => e.check(/* @__PURE__ */ bi(er, r)), e.datetime = (r) => e.check(ld(r)), e.date = (r) => e.check(ud(r)), e.time = (r) => e.check(sd(r)), e.duration = (r) => e.check(cd(r));
+ Mt.init(e, n), Fn.init(e, n), e.email = (r) => e.check(/* @__PURE__ */ ri(Ln, r)), e.url = (r) => e.check(/* @__PURE__ */ Dn(qt, r)), e.jwt = (r) => e.check(/* @__PURE__ */ ki(nr, r)), e.emoji = (r) => e.check(/* @__PURE__ */ ui(Rn, r)), e.guid = (r) => e.check(/* @__PURE__ */ hn(Ot, r)), e.uuid = (r) => e.check(/* @__PURE__ */ ii(Le, r)), e.uuidv4 = (r) => e.check(/* @__PURE__ */ oi(Le, r)), e.uuidv6 = (r) => e.check(/* @__PURE__ */ ai(Le, r)), e.uuidv7 = (r) => e.check(/* @__PURE__ */ li(Le, r)), e.nanoid = (r) => e.check(/* @__PURE__ */ si(Bn, r)), e.guid = (r) => e.check(/* @__PURE__ */ hn(Ot, r)), e.cuid = (r) => e.check(/* @__PURE__ */ ci(Vn, r)), e.cuid2 = (r) => e.check(/* @__PURE__ */ di(Jn, r)), e.ulid = (r) => e.check(/* @__PURE__ */ mi(qn, r)), e.base64 = (r) => e.check(/* @__PURE__ */ $i(Qn, r)), e.base64url = (r) => e.check(/* @__PURE__ */ _i(er, r)), e.xid = (r) => e.check(/* @__PURE__ */ fi(Wn, r)), e.ksuid = (r) => e.check(/* @__PURE__ */ vi(Gn, r)), e.ipv4 = (r) => e.check(/* @__PURE__ */ pi(Kn, r)), e.ipv6 = (r) => e.check(/* @__PURE__ */ gi(Xn, r)), e.cidrv4 = (r) => e.check(/* @__PURE__ */ hi(Hn, r)), e.cidrv6 = (r) => e.check(/* @__PURE__ */ bi(Yn, r)), e.e164 = (r) => e.check(/* @__PURE__ */ yi(tr, r)), e.datetime = (r) => e.check(ud(r)), e.date = (r) => e.check(sd(r)), e.time = (r) => e.check(cd(r)), e.duration = (r) => e.check(dd(r));
});
function Dt(e) {
- return /* @__PURE__ */ Ps(Jt, e);
+ return /* @__PURE__ */ Cs(Jt, e);
}
const se = /* @__PURE__ */ v("ZodStringFormat", (e, n) => {
- ue.init(e, n), Mn.init(e, n);
-}), Fn = /* @__PURE__ */ v("ZodEmail", (e, n) => {
+ ue.init(e, n), Fn.init(e, n);
+}), Ln = /* @__PURE__ */ v("ZodEmail", (e, n) => {
$u.init(e, n), se.init(e, n);
});
-function wd(e) {
- return /* @__PURE__ */ ti(Fn, e);
+function zd(e) {
+ return /* @__PURE__ */ ri(Ln, e);
}
const Ot = /* @__PURE__ */ v("ZodGUID", (e, n) => {
- gu.init(e, n), se.init(e, n);
-});
-function zd(e) {
- return /* @__PURE__ */ gn(Ot, e);
-}
-const Le = /* @__PURE__ */ v("ZodUUID", (e, n) => {
hu.init(e, n), se.init(e, n);
});
function Dd(e) {
- return /* @__PURE__ */ ni(Le, e);
+ return /* @__PURE__ */ hn(Ot, e);
}
-function Od(e) {
- return /* @__PURE__ */ ri(Le, e);
-}
-function jd(e) {
- return /* @__PURE__ */ ii(Le, e);
-}
-function Ed(e) {
- return /* @__PURE__ */ oi(Le, e);
-}
-const qt = /* @__PURE__ */ v("ZodURL", (e, n) => {
+const Le = /* @__PURE__ */ v("ZodUUID", (e, n) => {
bu.init(e, n), se.init(e, n);
});
-function Ud(e) {
- return /* @__PURE__ */ zn(qt, e);
+function Od(e) {
+ return /* @__PURE__ */ ii(Le, e);
}
+function jd(e) {
+ return /* @__PURE__ */ oi(Le, e);
+}
+function Ed(e) {
+ return /* @__PURE__ */ ai(Le, e);
+}
+function Ud(e) {
+ return /* @__PURE__ */ li(Le, e);
+}
+const qt = /* @__PURE__ */ v("ZodURL", (e, n) => {
+ _u.init(e, n), se.init(e, n);
+});
function xd(e) {
- return /* @__PURE__ */ zn(qt, {
- protocol: Lr,
- hostname: Tl,
+ return /* @__PURE__ */ Dn(qt, e);
+}
+function Td(e) {
+ return /* @__PURE__ */ Dn(qt, {
+ protocol: Br,
+ hostname: Al,
...y(e)
});
}
-const Ln = /* @__PURE__ */ v("ZodEmoji", (e, n) => {
- _u.init(e, n), se.init(e, n);
-});
-function Td(e) {
- return /* @__PURE__ */ ai(Ln, e);
-}
-const Rn = /* @__PURE__ */ v("ZodNanoID", (e, n) => {
+const Rn = /* @__PURE__ */ v("ZodEmoji", (e, n) => {
yu.init(e, n), se.init(e, n);
});
function Ad(e) {
- return /* @__PURE__ */ li(Rn, e);
+ return /* @__PURE__ */ ui(Rn, e);
}
-const Bn = /* @__PURE__ */ v("ZodCUID", (e, n) => {
+const Bn = /* @__PURE__ */ v("ZodNanoID", (e, n) => {
ku.init(e, n), se.init(e, n);
});
function Nd(e) {
- return /* @__PURE__ */ ui(Bn, e);
+ return /* @__PURE__ */ si(Bn, e);
}
-const Vn = /* @__PURE__ */ v("ZodCUID2", (e, n) => {
+const Vn = /* @__PURE__ */ v("ZodCUID", (e, n) => {
Su.init(e, n), se.init(e, n);
});
function Pd(e) {
- return /* @__PURE__ */ si(Vn, e);
+ return /* @__PURE__ */ ci(Vn, e);
}
-const Jn = /* @__PURE__ */ v("ZodULID", (e, n) => {
+const Jn = /* @__PURE__ */ v("ZodCUID2", (e, n) => {
Iu.init(e, n), se.init(e, n);
});
function Cd(e) {
- return /* @__PURE__ */ ci(Jn, e);
+ return /* @__PURE__ */ di(Jn, e);
}
-const qn = /* @__PURE__ */ v("ZodXID", (e, n) => {
+const qn = /* @__PURE__ */ v("ZodULID", (e, n) => {
wu.init(e, n), se.init(e, n);
});
function Zd(e) {
- return /* @__PURE__ */ di(qn, e);
+ return /* @__PURE__ */ mi(qn, e);
}
-const Gn = /* @__PURE__ */ v("ZodKSUID", (e, n) => {
+const Wn = /* @__PURE__ */ v("ZodXID", (e, n) => {
zu.init(e, n), se.init(e, n);
});
function Md(e) {
- return /* @__PURE__ */ mi(Gn, e);
-}
-const Wn = /* @__PURE__ */ v("ZodIPv4", (e, n) => {
- Uu.init(e, n), se.init(e, n);
-});
-function Fd(e) {
return /* @__PURE__ */ fi(Wn, e);
}
-const xi = /* @__PURE__ */ v("ZodMAC", (e, n) => {
- Tu.init(e, n), se.init(e, n);
+const Gn = /* @__PURE__ */ v("ZodKSUID", (e, n) => {
+ Du.init(e, n), se.init(e, n);
});
-function Ld(e) {
- return /* @__PURE__ */ Zs(xi, e);
+function Fd(e) {
+ return /* @__PURE__ */ vi(Gn, e);
}
-const Kn = /* @__PURE__ */ v("ZodIPv6", (e, n) => {
+const Kn = /* @__PURE__ */ v("ZodIPv4", (e, n) => {
xu.init(e, n), se.init(e, n);
});
-function Rd(e) {
- return /* @__PURE__ */ vi(Kn, e);
+function Ld(e) {
+ return /* @__PURE__ */ pi(Kn, e);
}
-const Xn = /* @__PURE__ */ v("ZodCIDRv4", (e, n) => {
+const Ai = /* @__PURE__ */ v("ZodMAC", (e, n) => {
Au.init(e, n), se.init(e, n);
});
-function Bd(e) {
- return /* @__PURE__ */ pi(Xn, e);
+function Rd(e) {
+ return /* @__PURE__ */ Ms(Ai, e);
}
-const Hn = /* @__PURE__ */ v("ZodCIDRv6", (e, n) => {
+const Xn = /* @__PURE__ */ v("ZodIPv6", (e, n) => {
+ Tu.init(e, n), se.init(e, n);
+});
+function Bd(e) {
+ return /* @__PURE__ */ gi(Xn, e);
+}
+const Hn = /* @__PURE__ */ v("ZodCIDRv4", (e, n) => {
Nu.init(e, n), se.init(e, n);
});
function Vd(e) {
- return /* @__PURE__ */ gi(Hn, e);
+ return /* @__PURE__ */ hi(Hn, e);
}
-const Yn = /* @__PURE__ */ v("ZodBase64", (e, n) => {
+const Yn = /* @__PURE__ */ v("ZodCIDRv6", (e, n) => {
Pu.init(e, n), se.init(e, n);
});
function Jd(e) {
- return /* @__PURE__ */ hi(Yn, e);
+ return /* @__PURE__ */ bi(Yn, e);
}
-const Qn = /* @__PURE__ */ v("ZodBase64URL", (e, n) => {
- Zu.init(e, n), se.init(e, n);
+const Qn = /* @__PURE__ */ v("ZodBase64", (e, n) => {
+ Cu.init(e, n), se.init(e, n);
});
function qd(e) {
return /* @__PURE__ */ $i(Qn, e);
}
-const er = /* @__PURE__ */ v("ZodE164", (e, n) => {
+const er = /* @__PURE__ */ v("ZodBase64URL", (e, n) => {
Mu.init(e, n), se.init(e, n);
});
-function Gd(e) {
- return /* @__PURE__ */ bi(er, e);
-}
-const tr = /* @__PURE__ */ v("ZodJWT", (e, n) => {
- Lu.init(e, n), se.init(e, n);
-});
function Wd(e) {
- return /* @__PURE__ */ _i(tr, e);
+ return /* @__PURE__ */ _i(er, e);
}
-const bt = /* @__PURE__ */ v("ZodCustomStringFormat", (e, n) => {
+const tr = /* @__PURE__ */ v("ZodE164", (e, n) => {
+ Fu.init(e, n), se.init(e, n);
+});
+function Gd(e) {
+ return /* @__PURE__ */ yi(tr, e);
+}
+const nr = /* @__PURE__ */ v("ZodJWT", (e, n) => {
Ru.init(e, n), se.init(e, n);
});
-function Kd(e, n, r = {}) {
- return /* @__PURE__ */ Bt(bt, e, n, r);
+function Kd(e) {
+ return /* @__PURE__ */ ki(nr, e);
}
-function Xd(e) {
- return /* @__PURE__ */ Bt(bt, "hostname", xl, e);
+const $t = /* @__PURE__ */ v("ZodCustomStringFormat", (e, n) => {
+ Bu.init(e, n), se.init(e, n);
+});
+function Xd(e, n, r = {}) {
+ return /* @__PURE__ */ Bt($t, e, n, r);
}
function Hd(e) {
- return /* @__PURE__ */ Bt(bt, "hex", Wl, e);
+ return /* @__PURE__ */ Bt($t, "hostname", Tl, e);
}
-function Yd(e, n) {
- const r = (n == null ? void 0 : n.enc) ?? "hex", o = `${e}_${r}`, t = Br[o];
+function Yd(e) {
+ return /* @__PURE__ */ Bt($t, "hex", Kl, e);
+}
+function Qd(e, n) {
+ const r = (n == null ? void 0 : n.enc) ?? "hex", o = `${e}_${r}`, t = Jr[o];
if (!t)
throw new Error(`Unrecognized hash format: ${o}`);
- return /* @__PURE__ */ Bt(bt, o, t, n);
+ return /* @__PURE__ */ Bt($t, o, t, n);
}
-const Gt = /* @__PURE__ */ v("ZodNumber", (e, n) => {
- Gr.init(e, n), H.init(e, n), e._zod.processJSONSchema = (o, t, i) => Ic(e, o, t), Vt(e, "ZodNumber", {
+const Wt = /* @__PURE__ */ v("ZodNumber", (e, n) => {
+ Kr.init(e, n), H.init(e, n), e._zod.processJSONSchema = (o, t, i) => wc(e, o, t), Vt(e, "ZodNumber", {
gt(o, t) {
- return this.check(/* @__PURE__ */ We(o, t));
+ return this.check(/* @__PURE__ */ Ge(o, t));
},
gte(o, t) {
- return this.check(/* @__PURE__ */ Oe(o, t));
+ return this.check(/* @__PURE__ */ je(o, t));
},
min(o, t) {
- return this.check(/* @__PURE__ */ Oe(o, t));
+ return this.check(/* @__PURE__ */ je(o, t));
},
lt(o, t) {
- return this.check(/* @__PURE__ */ Ge(o, t));
+ return this.check(/* @__PURE__ */ We(o, t));
},
lte(o, t) {
return this.check(/* @__PURE__ */ Pe(o, t));
@@ -14795,19 +14929,19 @@ const Gt = /* @__PURE__ */ v("ZodNumber", (e, n) => {
return this.check(/* @__PURE__ */ Pe(o, t));
},
int(o) {
- return this.check(hn(o));
+ return this.check(bn(o));
},
safe(o) {
- return this.check(hn(o));
+ return this.check(bn(o));
},
positive(o) {
- return this.check(/* @__PURE__ */ We(0, o));
+ return this.check(/* @__PURE__ */ Ge(0, o));
},
nonnegative(o) {
- return this.check(/* @__PURE__ */ Oe(0, o));
+ return this.check(/* @__PURE__ */ je(0, o));
},
negative(o) {
- return this.check(/* @__PURE__ */ Ge(0, o));
+ return this.check(/* @__PURE__ */ We(0, o));
},
nonpositive(o) {
return this.check(/* @__PURE__ */ Pe(0, o));
@@ -14825,107 +14959,107 @@ const Gt = /* @__PURE__ */ v("ZodNumber", (e, n) => {
const r = e._zod.bag;
e.minValue = Math.max(r.minimum ?? Number.NEGATIVE_INFINITY, r.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null, e.maxValue = Math.min(r.maximum ?? Number.POSITIVE_INFINITY, r.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null, e.isInt = (r.format ?? "").includes("int") || Number.isSafeInteger(r.multipleOf ?? 0.5), e.isFinite = !0, e.format = r.format ?? null;
});
-function Ti(e) {
- return /* @__PURE__ */ Vs(Gt, e);
+function Ni(e) {
+ return /* @__PURE__ */ Js(Wt, e);
}
-const it = /* @__PURE__ */ v("ZodNumberFormat", (e, n) => {
- Bu.init(e, n), Gt.init(e, n);
+const ot = /* @__PURE__ */ v("ZodNumberFormat", (e, n) => {
+ Vu.init(e, n), Wt.init(e, n);
});
-function hn(e) {
- return /* @__PURE__ */ qs(it, e);
-}
-function Qd(e) {
- return /* @__PURE__ */ Gs(it, e);
+function bn(e) {
+ return /* @__PURE__ */ Ws(ot, e);
}
function em(e) {
- return /* @__PURE__ */ Ws(it, e);
+ return /* @__PURE__ */ Gs(ot, e);
}
function tm(e) {
- return /* @__PURE__ */ Ks(it, e);
+ return /* @__PURE__ */ Ks(ot, e);
}
function nm(e) {
- return /* @__PURE__ */ Xs(it, e);
+ return /* @__PURE__ */ Xs(ot, e);
}
-const Wt = /* @__PURE__ */ v("ZodBoolean", (e, n) => {
- Wr.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => wc(e, r, o);
+function rm(e) {
+ return /* @__PURE__ */ Hs(ot, e);
+}
+const Gt = /* @__PURE__ */ v("ZodBoolean", (e, n) => {
+ Xr.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => zc(e, r, o);
});
-function Ai(e) {
- return /* @__PURE__ */ Hs(Wt, e);
+function Pi(e) {
+ return /* @__PURE__ */ Ys(Gt, e);
}
const Kt = /* @__PURE__ */ v("ZodBigInt", (e, n) => {
- Kr.init(e, n), H.init(e, n), e._zod.processJSONSchema = (o, t, i) => zc(e, o), e.gte = (o, t) => e.check(/* @__PURE__ */ Oe(o, t)), e.min = (o, t) => e.check(/* @__PURE__ */ Oe(o, t)), e.gt = (o, t) => e.check(/* @__PURE__ */ We(o, t)), e.gte = (o, t) => e.check(/* @__PURE__ */ Oe(o, t)), e.min = (o, t) => e.check(/* @__PURE__ */ Oe(o, t)), e.lt = (o, t) => e.check(/* @__PURE__ */ Ge(o, t)), e.lte = (o, t) => e.check(/* @__PURE__ */ Pe(o, t)), e.max = (o, t) => e.check(/* @__PURE__ */ Pe(o, t)), e.positive = (o) => e.check(/* @__PURE__ */ We(BigInt(0), o)), e.negative = (o) => e.check(/* @__PURE__ */ Ge(BigInt(0), o)), e.nonpositive = (o) => e.check(/* @__PURE__ */ Pe(BigInt(0), o)), e.nonnegative = (o) => e.check(/* @__PURE__ */ Oe(BigInt(0), o)), e.multipleOf = (o, t) => e.check(/* @__PURE__ */ mt(o, t));
+ Hr.init(e, n), H.init(e, n), e._zod.processJSONSchema = (o, t, i) => Dc(e, o), e.gte = (o, t) => e.check(/* @__PURE__ */ je(o, t)), e.min = (o, t) => e.check(/* @__PURE__ */ je(o, t)), e.gt = (o, t) => e.check(/* @__PURE__ */ Ge(o, t)), e.gte = (o, t) => e.check(/* @__PURE__ */ je(o, t)), e.min = (o, t) => e.check(/* @__PURE__ */ je(o, t)), e.lt = (o, t) => e.check(/* @__PURE__ */ We(o, t)), e.lte = (o, t) => e.check(/* @__PURE__ */ Pe(o, t)), e.max = (o, t) => e.check(/* @__PURE__ */ Pe(o, t)), e.positive = (o) => e.check(/* @__PURE__ */ Ge(BigInt(0), o)), e.negative = (o) => e.check(/* @__PURE__ */ We(BigInt(0), o)), e.nonpositive = (o) => e.check(/* @__PURE__ */ Pe(BigInt(0), o)), e.nonnegative = (o) => e.check(/* @__PURE__ */ je(BigInt(0), o)), e.multipleOf = (o, t) => e.check(/* @__PURE__ */ mt(o, t));
const r = e._zod.bag;
e.minValue = r.minimum ?? null, e.maxValue = r.maximum ?? null, e.format = r.format ?? null;
});
-function rm(e) {
- return /* @__PURE__ */ Qs(Kt, e);
-}
-const nr = /* @__PURE__ */ v("ZodBigIntFormat", (e, n) => {
- Vu.init(e, n), Kt.init(e, n);
-});
function im(e) {
- return /* @__PURE__ */ tc(nr, e);
+ return /* @__PURE__ */ ec(Kt, e);
}
-function om(e) {
- return /* @__PURE__ */ nc(nr, e);
-}
-const Ni = /* @__PURE__ */ v("ZodSymbol", (e, n) => {
- Ju.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Dc(e, r);
+const rr = /* @__PURE__ */ v("ZodBigIntFormat", (e, n) => {
+ Ju.init(e, n), Kt.init(e, n);
});
-function am(e) {
- return /* @__PURE__ */ rc(Ni, e);
+function om(e) {
+ return /* @__PURE__ */ nc(rr, e);
}
-const Pi = /* @__PURE__ */ v("ZodUndefined", (e, n) => {
- qu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => jc(e, r);
+function am(e) {
+ return /* @__PURE__ */ rc(rr, e);
+}
+const Ci = /* @__PURE__ */ v("ZodSymbol", (e, n) => {
+ qu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Oc(e, r);
});
function lm(e) {
- return /* @__PURE__ */ ic(Pi, e);
+ return /* @__PURE__ */ ic(Ci, e);
}
-const Ci = /* @__PURE__ */ v("ZodNull", (e, n) => {
- Gu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Oc(e, r, o);
+const Zi = /* @__PURE__ */ v("ZodUndefined", (e, n) => {
+ Wu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ec(e, r);
});
-function Zi(e) {
- return /* @__PURE__ */ oc(Ci, e);
+function um(e) {
+ return /* @__PURE__ */ oc(Zi, e);
}
-const Mi = /* @__PURE__ */ v("ZodAny", (e, n) => {
- Wu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => xc();
+const Mi = /* @__PURE__ */ v("ZodNull", (e, n) => {
+ Gu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => jc(e, r, o);
});
-function um() {
- return /* @__PURE__ */ ac(Mi);
+function Fi(e) {
+ return /* @__PURE__ */ ac(Mi, e);
}
-const Fi = /* @__PURE__ */ v("ZodUnknown", (e, n) => {
+const Li = /* @__PURE__ */ v("ZodAny", (e, n) => {
Ku.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Tc();
});
-function tt() {
- return /* @__PURE__ */ lc(Fi);
+function sm() {
+ return /* @__PURE__ */ lc(Li);
}
-const Li = /* @__PURE__ */ v("ZodNever", (e, n) => {
- Xu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Uc(e, r, o);
+const Ri = /* @__PURE__ */ v("ZodUnknown", (e, n) => {
+ Xu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ac();
});
-function rr(e) {
- return /* @__PURE__ */ uc(Li, e);
+function nt() {
+ return /* @__PURE__ */ uc(Ri);
}
-const Ri = /* @__PURE__ */ v("ZodVoid", (e, n) => {
- Hu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ec(e, r);
+const Bi = /* @__PURE__ */ v("ZodNever", (e, n) => {
+ Hu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => xc(e, r, o);
});
-function sm(e) {
- return /* @__PURE__ */ sc(Ri, e);
+function ir(e) {
+ return /* @__PURE__ */ sc(Bi, e);
}
-const ir = /* @__PURE__ */ v("ZodDate", (e, n) => {
- Yu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (o, t, i) => Ac(e, o), e.min = (o, t) => e.check(/* @__PURE__ */ Oe(o, t)), e.max = (o, t) => e.check(/* @__PURE__ */ Pe(o, t));
+const Vi = /* @__PURE__ */ v("ZodVoid", (e, n) => {
+ Yu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Uc(e, r);
+});
+function cm(e) {
+ return /* @__PURE__ */ cc(Vi, e);
+}
+const or = /* @__PURE__ */ v("ZodDate", (e, n) => {
+ Qu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (o, t, i) => Nc(e, o), e.min = (o, t) => e.check(/* @__PURE__ */ je(o, t)), e.max = (o, t) => e.check(/* @__PURE__ */ Pe(o, t));
const r = e._zod.bag;
e.minDate = r.minimum ? new Date(r.minimum) : null, e.maxDate = r.maximum ? new Date(r.maximum) : null;
});
-function cm(e) {
- return /* @__PURE__ */ cc(ir, e);
+function dm(e) {
+ return /* @__PURE__ */ dc(or, e);
}
-const Bi = /* @__PURE__ */ v("ZodArray", (e, n) => {
- Qu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => qc(e, r, o, t), e.element = n.element, Vt(e, "ZodArray", {
+const Ji = /* @__PURE__ */ v("ZodArray", (e, n) => {
+ es.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Wc(e, r, o, t), e.element = n.element, Vt(e, "ZodArray", {
min(r, o) {
- return this.check(/* @__PURE__ */ et(r, o));
+ return this.check(/* @__PURE__ */ tt(r, o));
},
nonempty(r) {
- return this.check(/* @__PURE__ */ et(1, r));
+ return this.check(/* @__PURE__ */ tt(1, r));
},
max(r, o) {
return this.check(/* @__PURE__ */ Lt(r, o));
@@ -14939,56 +15073,56 @@ const Bi = /* @__PURE__ */ v("ZodArray", (e, n) => {
});
});
function Xt(e, n) {
- return /* @__PURE__ */ fc(Bi, e, n);
+ return /* @__PURE__ */ vc(Ji, e, n);
}
-function dm(e) {
+function mm(e) {
const n = e._zod.def.shape;
- return ar(Object.keys(n));
+ return lr(Object.keys(n));
}
const Ht = /* @__PURE__ */ v("ZodObject", (e, n) => {
- rs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Gc(e, r, o, t), Y(e, "shape", () => n.shape), Vt(e, "ZodObject", {
+ is.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Gc(e, r, o, t), Y(e, "shape", () => n.shape), Vt(e, "ZodObject", {
keyof() {
- return ar(Object.keys(this._zod.def.shape));
+ return lr(Object.keys(this._zod.def.shape));
},
catchall(r) {
return this.clone({ ...this._zod.def, catchall: r });
},
passthrough() {
- return this.clone({ ...this._zod.def, catchall: tt() });
+ return this.clone({ ...this._zod.def, catchall: nt() });
},
loose() {
- return this.clone({ ...this._zod.def, catchall: tt() });
+ return this.clone({ ...this._zod.def, catchall: nt() });
},
strict() {
- return this.clone({ ...this._zod.def, catchall: rr() });
+ return this.clone({ ...this._zod.def, catchall: ir() });
},
strip() {
return this.clone({ ...this._zod.def, catchall: void 0 });
},
extend(r) {
- return el(this, r);
- },
- safeExtend(r) {
return tl(this, r);
},
- merge(r) {
+ safeExtend(r) {
return nl(this, r);
},
- pick(r) {
- return Ya(this, r);
+ merge(r) {
+ return rl(this, r);
},
- omit(r) {
+ pick(r) {
return Qa(this, r);
},
+ omit(r) {
+ return el(this, r);
+ },
partial(...r) {
- return rl(ur, this, r[0]);
+ return il(sr, this, r[0]);
},
required(...r) {
- return il(sr, this, r[0]);
+ return ol(cr, this, r[0]);
}
});
});
-function mm(e, n) {
+function fm(e, n) {
const r = {
type: "object",
shape: e ?? {},
@@ -14996,73 +15130,73 @@ function mm(e, n) {
};
return new Ht(r);
}
-function fm(e, n) {
- return new Ht({
- type: "object",
- shape: e,
- catchall: rr(),
- ...y(n)
- });
-}
function vm(e, n) {
return new Ht({
type: "object",
shape: e,
- catchall: tt(),
+ catchall: ir(),
+ ...y(n)
+ });
+}
+function pm(e, n) {
+ return new Ht({
+ type: "object",
+ shape: e,
+ catchall: nt(),
...y(n)
});
}
const Yt = /* @__PURE__ */ v("ZodUnion", (e, n) => {
- wn.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => zi(e, r, o, t), e.options = n.options;
+ zn.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Oi(e, r, o, t), e.options = n.options;
});
-function or(e, n) {
+function ar(e, n) {
return new Yt({
type: "union",
options: e,
...y(n)
});
}
-const Vi = /* @__PURE__ */ v("ZodXor", (e, n) => {
- Yt.init(e, n), is.init(e, n), e._zod.processJSONSchema = (r, o, t) => zi(e, r, o, t), e.options = n.options;
+const qi = /* @__PURE__ */ v("ZodXor", (e, n) => {
+ Yt.init(e, n), os.init(e, n), e._zod.processJSONSchema = (r, o, t) => Oi(e, r, o, t), e.options = n.options;
});
-function pm(e, n) {
- return new Vi({
+function gm(e, n) {
+ return new qi({
type: "union",
options: e,
inclusive: !1,
...y(n)
});
}
-const Ji = /* @__PURE__ */ v("ZodDiscriminatedUnion", (e, n) => {
- Yt.init(e, n), os.init(e, n);
+const Wi = /* @__PURE__ */ v("ZodDiscriminatedUnion", (e, n) => {
+ Yt.init(e, n), as.init(e, n);
});
-function gm(e, n, r) {
- return new Ji({
+function hm(e, n, r) {
+ return new Wi({
type: "union",
options: n,
discriminator: e,
...y(r)
});
}
-const qi = /* @__PURE__ */ v("ZodIntersection", (e, n) => {
- as.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Wc(e, r, o, t);
+const Gi = /* @__PURE__ */ v("ZodIntersection", (e, n) => {
+ ls.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Kc(e, r, o, t);
});
-function Gi(e, n) {
- return new qi({
+function Ki(e, n) {
+ return new Gi({
type: "intersection",
left: e,
right: n
});
}
-const Wi = /* @__PURE__ */ v("ZodTuple", (e, n) => {
- Xr.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Kc(e, r, o, t), e.rest = (r) => e.clone({
+const Xi = /* @__PURE__ */ v("ZodTuple", (e, n) => {
+ Yr.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Xc(e, r, o, t), e.rest = (r) => e.clone({
...e._zod.def,
rest: r
});
});
-function Ki(e, n, r) {
+function Hi(e, n, r) {
const o = n instanceof X, t = o ? r : n, i = o ? n : null;
- return new Wi({
+ return new Xi({
type: "tuple",
items: e,
rest: i,
@@ -15070,9 +15204,9 @@ function Ki(e, n, r) {
});
}
const gt = /* @__PURE__ */ v("ZodRecord", (e, n) => {
- ls.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Xc(e, r, o, t), e.keyType = n.keyType, e.valueType = n.valueType;
+ us.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Hc(e, r, o, t), e.keyType = n.keyType, e.valueType = n.valueType;
});
-function Xi(e, n, r) {
+function Yi(e, n, r) {
return !n || !n._zod ? new gt({
type: "record",
keyType: Dt(),
@@ -15085,7 +15219,7 @@ function Xi(e, n, r) {
...y(r)
});
}
-function hm(e, n, r) {
+function bm(e, n, r) {
const o = Ce(e);
return o._zod.values = void 0, new gt({
type: "record",
@@ -15103,29 +15237,29 @@ function $m(e, n, r) {
...y(r)
});
}
-const Hi = /* @__PURE__ */ v("ZodMap", (e, n) => {
- us.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Vc(e, r), e.keyType = n.keyType, e.valueType = n.valueType, e.min = (...r) => e.check(/* @__PURE__ */ Ke(...r)), e.nonempty = (r) => e.check(/* @__PURE__ */ Ke(1, r)), e.max = (...r) => e.check(/* @__PURE__ */ $t(...r)), e.size = (...r) => e.check(/* @__PURE__ */ Ft(...r));
+const Qi = /* @__PURE__ */ v("ZodMap", (e, n) => {
+ ss.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Jc(e, r), e.keyType = n.keyType, e.valueType = n.valueType, e.min = (...r) => e.check(/* @__PURE__ */ Ke(...r)), e.nonempty = (r) => e.check(/* @__PURE__ */ Ke(1, r)), e.max = (...r) => e.check(/* @__PURE__ */ bt(...r)), e.size = (...r) => e.check(/* @__PURE__ */ Ft(...r));
});
-function bm(e, n, r) {
- return new Hi({
+function _m(e, n, r) {
+ return new Qi({
type: "map",
keyType: e,
valueType: n,
...y(r)
});
}
-const Yi = /* @__PURE__ */ v("ZodSet", (e, n) => {
- ss.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Jc(e, r), e.min = (...r) => e.check(/* @__PURE__ */ Ke(...r)), e.nonempty = (r) => e.check(/* @__PURE__ */ Ke(1, r)), e.max = (...r) => e.check(/* @__PURE__ */ $t(...r)), e.size = (...r) => e.check(/* @__PURE__ */ Ft(...r));
+const eo = /* @__PURE__ */ v("ZodSet", (e, n) => {
+ cs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => qc(e, r), e.min = (...r) => e.check(/* @__PURE__ */ Ke(...r)), e.nonempty = (r) => e.check(/* @__PURE__ */ Ke(1, r)), e.max = (...r) => e.check(/* @__PURE__ */ bt(...r)), e.size = (...r) => e.check(/* @__PURE__ */ Ft(...r));
});
-function _m(e, n) {
- return new Yi({
+function ym(e, n) {
+ return new eo({
type: "set",
valueType: e,
...y(n)
});
}
const ht = /* @__PURE__ */ v("ZodEnum", (e, n) => {
- cs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (o, t, i) => Nc(e, o, t), e.enum = n.entries, e.options = Object.values(n.entries);
+ ds.init(e, n), H.init(e, n), e._zod.processJSONSchema = (o, t, i) => Pc(e, o, t), e.enum = n.entries, e.options = Object.values(n.entries);
const r = new Set(Object.keys(n.entries));
e.extract = (o, t) => {
const i = {};
@@ -15155,7 +15289,7 @@ const ht = /* @__PURE__ */ v("ZodEnum", (e, n) => {
});
};
});
-function ar(e, n) {
+function lr(e, n) {
const r = Array.isArray(e) ? Object.fromEntries(e.map((o) => [o, o])) : e;
return new ht({
type: "enum",
@@ -15163,15 +15297,15 @@ function ar(e, n) {
...y(n)
});
}
-function ym(e, n) {
+function km(e, n) {
return new ht({
type: "enum",
entries: e,
...y(n)
});
}
-const Qi = /* @__PURE__ */ v("ZodLiteral", (e, n) => {
- ds.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Pc(e, r, o), e.values = new Set(n.values), Object.defineProperty(e, "value", {
+const to = /* @__PURE__ */ v("ZodLiteral", (e, n) => {
+ ms.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Cc(e, r, o), e.values = new Set(n.values), Object.defineProperty(e, "value", {
get() {
if (n.values.length > 1)
throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
@@ -15179,23 +15313,23 @@ const Qi = /* @__PURE__ */ v("ZodLiteral", (e, n) => {
}
});
});
-function km(e, n) {
- return new Qi({
+function Sm(e, n) {
+ return new to({
type: "literal",
values: Array.isArray(e) ? e : [e],
...y(n)
});
}
-const eo = /* @__PURE__ */ v("ZodFile", (e, n) => {
- ms.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Mc(e, r, o), e.min = (r, o) => e.check(/* @__PURE__ */ Ke(r, o)), e.max = (r, o) => e.check(/* @__PURE__ */ $t(r, o)), e.mime = (r, o) => e.check(/* @__PURE__ */ Tn(Array.isArray(r) ? r : [r], o));
+const no = /* @__PURE__ */ v("ZodFile", (e, n) => {
+ fs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Fc(e, r, o), e.min = (r, o) => e.check(/* @__PURE__ */ Ke(r, o)), e.max = (r, o) => e.check(/* @__PURE__ */ bt(r, o)), e.mime = (r, o) => e.check(/* @__PURE__ */ An(Array.isArray(r) ? r : [r], o));
});
-function Sm(e) {
- return /* @__PURE__ */ vc(eo, e);
+function Im(e) {
+ return /* @__PURE__ */ pc(no, e);
}
-const to = /* @__PURE__ */ v("ZodTransform", (e, n) => {
- fs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Bc(e, r), e._zod.parse = (r, o) => {
+const ro = /* @__PURE__ */ v("ZodTransform", (e, n) => {
+ vs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Vc(e, r), e._zod.parse = (r, o) => {
if (o.direction === "backward")
- throw new _n(e.constructor.name);
+ throw new yn(e.constructor.name);
r.addIssue = (i) => {
if (typeof i == "string")
r.issues.push(ct(i, r.value, n));
@@ -15208,103 +15342,103 @@ const to = /* @__PURE__ */ v("ZodTransform", (e, n) => {
return t instanceof Promise ? t.then((i) => (r.value = i, r.fallback = !0, r)) : (r.value = t, r.fallback = !0, r);
};
});
-function lr(e) {
- return new to({
+function ur(e) {
+ return new ro({
type: "transform",
transform: e
});
}
-const ur = /* @__PURE__ */ v("ZodOptional", (e, n) => {
- Hr.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Di(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
+const sr = /* @__PURE__ */ v("ZodOptional", (e, n) => {
+ Qr.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => ji(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
});
function jt(e) {
- return new ur({
+ return new sr({
type: "optional",
innerType: e
});
}
-const no = /* @__PURE__ */ v("ZodExactOptional", (e, n) => {
- vs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Di(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
+const io = /* @__PURE__ */ v("ZodExactOptional", (e, n) => {
+ ps.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => ji(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
});
-function ro(e) {
- return new no({
+function oo(e) {
+ return new io({
type: "optional",
innerType: e
});
}
-const io = /* @__PURE__ */ v("ZodNullable", (e, n) => {
- ps.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Hc(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
+const ao = /* @__PURE__ */ v("ZodNullable", (e, n) => {
+ gs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Yc(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
});
function Et(e) {
- return new io({
+ return new ao({
type: "nullable",
innerType: e
});
}
-function Im(e) {
+function wm(e) {
return jt(Et(e));
}
-const oo = /* @__PURE__ */ v("ZodDefault", (e, n) => {
- gs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Qc(e, r, o, t), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
-});
-function ao(e, n) {
- return new oo({
- type: "default",
- innerType: e,
- get defaultValue() {
- return typeof n == "function" ? n() : kn(n);
- }
- });
-}
-const lo = /* @__PURE__ */ v("ZodPrefault", (e, n) => {
- hs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => ed(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
+const lo = /* @__PURE__ */ v("ZodDefault", (e, n) => {
+ hs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => ed(e, r, o, t), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
});
function uo(e, n) {
return new lo({
- type: "prefault",
+ type: "default",
innerType: e,
get defaultValue() {
- return typeof n == "function" ? n() : kn(n);
+ return typeof n == "function" ? n() : Sn(n);
}
});
}
-const sr = /* @__PURE__ */ v("ZodNonOptional", (e, n) => {
- $s.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Yc(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
+const so = /* @__PURE__ */ v("ZodPrefault", (e, n) => {
+ bs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => td(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
});
-function so(e, n) {
- return new sr({
+function co(e, n) {
+ return new so({
+ type: "prefault",
+ innerType: e,
+ get defaultValue() {
+ return typeof n == "function" ? n() : Sn(n);
+ }
+ });
+}
+const cr = /* @__PURE__ */ v("ZodNonOptional", (e, n) => {
+ $s.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Qc(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
+});
+function mo(e, n) {
+ return new cr({
type: "nonoptional",
innerType: e,
...y(n)
});
}
-const co = /* @__PURE__ */ v("ZodSuccess", (e, n) => {
- bs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Fc(e, r, o), e.unwrap = () => e._zod.def.innerType;
+const fo = /* @__PURE__ */ v("ZodSuccess", (e, n) => {
+ _s.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Lc(e, r, o), e.unwrap = () => e._zod.def.innerType;
});
-function wm(e) {
- return new co({
+function zm(e) {
+ return new fo({
type: "success",
innerType: e
});
}
-const mo = /* @__PURE__ */ v("ZodCatch", (e, n) => {
- _s.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => td(e, r, o, t), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
+const vo = /* @__PURE__ */ v("ZodCatch", (e, n) => {
+ ys.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => nd(e, r, o, t), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
});
-function fo(e, n) {
- return new mo({
+function po(e, n) {
+ return new vo({
type: "catch",
innerType: e,
catchValue: typeof n == "function" ? n : () => n
});
}
-const vo = /* @__PURE__ */ v("ZodNaN", (e, n) => {
- ys.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Cc(e, r);
+const go = /* @__PURE__ */ v("ZodNaN", (e, n) => {
+ ks.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Zc(e, r);
});
-function zm(e) {
- return /* @__PURE__ */ mc(vo, e);
+function Dm(e) {
+ return /* @__PURE__ */ fc(go, e);
}
const Qt = /* @__PURE__ */ v("ZodPipe", (e, n) => {
- Yr.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => nd(e, r, o, t), e.in = n.in, e.out = n.out;
+ ei.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => rd(e, r, o, t), e.in = n.in, e.out = n.out;
});
function $n(e, n) {
return new Qt({
@@ -15315,9 +15449,9 @@ function $n(e, n) {
});
}
const en = /* @__PURE__ */ v("ZodCodec", (e, n) => {
- Qt.init(e, n), Qr.init(e, n);
+ Qt.init(e, n), ti.init(e, n);
});
-function Dm(e, n, r) {
+function Om(e, n, r) {
return new en({
type: "pipe",
in: e,
@@ -15326,7 +15460,7 @@ function Dm(e, n, r) {
reverseTransform: r.encode
});
}
-function Om(e) {
+function jm(e) {
const n = e._zod.def;
return new en({
type: "pipe",
@@ -15336,76 +15470,76 @@ function Om(e) {
reverseTransform: n.transform
});
}
-const po = /* @__PURE__ */ v("ZodPreprocess", (e, n) => {
- Qt.init(e, n), ks.init(e, n);
-}), go = /* @__PURE__ */ v("ZodReadonly", (e, n) => {
- Ss.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => rd(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
+const ho = /* @__PURE__ */ v("ZodPreprocess", (e, n) => {
+ Qt.init(e, n), Ss.init(e, n);
+}), bo = /* @__PURE__ */ v("ZodReadonly", (e, n) => {
+ Is.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => id(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
});
-function ho(e) {
- return new go({
+function $o(e) {
+ return new bo({
type: "readonly",
innerType: e
});
}
-const $o = /* @__PURE__ */ v("ZodTemplateLiteral", (e, n) => {
- Is.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Zc(e, r, o);
+const _o = /* @__PURE__ */ v("ZodTemplateLiteral", (e, n) => {
+ ws.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Mc(e, r, o);
});
-function jm(e, n) {
- return new $o({
+function Em(e, n) {
+ return new _o({
type: "template_literal",
parts: e,
...y(n)
});
}
-const bo = /* @__PURE__ */ v("ZodLazy", (e, n) => {
- Ds.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => od(e, r, o, t), e.unwrap = () => e._zod.def.getter();
+const yo = /* @__PURE__ */ v("ZodLazy", (e, n) => {
+ Os.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => ad(e, r, o, t), e.unwrap = () => e._zod.def.getter();
});
-function _o(e) {
- return new bo({
+function ko(e) {
+ return new yo({
type: "lazy",
getter: e
});
}
-const yo = /* @__PURE__ */ v("ZodPromise", (e, n) => {
- zs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => id(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
+const So = /* @__PURE__ */ v("ZodPromise", (e, n) => {
+ Ds.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => od(e, r, o, t), e.unwrap = () => e._zod.def.innerType;
});
-function Em(e) {
- return new yo({
+function Um(e) {
+ return new So({
type: "promise",
innerType: e
});
}
-const ko = /* @__PURE__ */ v("ZodFunction", (e, n) => {
- ws.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Rc(e, r);
+const Io = /* @__PURE__ */ v("ZodFunction", (e, n) => {
+ zs.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Bc(e, r);
});
-function bn(e) {
- return new ko({
+function _n(e) {
+ return new Io({
type: "function",
- input: Array.isArray(e == null ? void 0 : e.input) ? Ki(e == null ? void 0 : e.input) : (e == null ? void 0 : e.input) ?? Xt(tt()),
- output: (e == null ? void 0 : e.output) ?? tt()
+ input: Array.isArray(e == null ? void 0 : e.input) ? Hi(e == null ? void 0 : e.input) : (e == null ? void 0 : e.input) ?? Xt(nt()),
+ output: (e == null ? void 0 : e.output) ?? nt()
});
}
const tn = /* @__PURE__ */ v("ZodCustom", (e, n) => {
- Os.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Lc(e, r);
+ js.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Rc(e, r);
});
-function Um(e) {
+function xm(e) {
const n = new fe({
check: "custom"
// ...util.normalizeParams(params),
});
return n._zod.check = e, n;
}
-function xm(e, n) {
- return /* @__PURE__ */ pc(tn, e ?? (() => !0), n);
+function Tm(e, n) {
+ return /* @__PURE__ */ gc(tn, e ?? (() => !0), n);
}
-function So(e, n = {}) {
- return /* @__PURE__ */ gc(tn, e, n);
+function wo(e, n = {}) {
+ return /* @__PURE__ */ hc(tn, e, n);
}
-function Io(e, n) {
- return /* @__PURE__ */ hc(e, n);
+function zo(e, n) {
+ return /* @__PURE__ */ bc(e, n);
}
-const Tm = bc, Am = _c;
-function Nm(e, n = {}) {
+const Am = _c, Nm = yc;
+function Pm(e, n = {}) {
const r = new tn({
type: "custom",
check: "custom",
@@ -15423,191 +15557,191 @@ function Nm(e, n = {}) {
});
}, r;
}
-const Pm = (...e) => /* @__PURE__ */ yc({
+const Cm = (...e) => /* @__PURE__ */ kc({
Codec: en,
- Boolean: Wt,
+ Boolean: Gt,
String: Jt
}, ...e);
-function Cm(e) {
- const n = _o(() => or([Dt(e), Ti(), Ai(), Zi(), Xt(n), Xi(Dt(), n)]));
+function Zm(e) {
+ const n = ko(() => ar([Dt(e), Ni(), Pi(), Fi(), Xt(n), Yi(Dt(), n)]));
return n;
}
-function Zm(e, n) {
- return new po({
+function Mm(e, n) {
+ return new ho({
type: "pipe",
- in: lr(e),
+ in: ur(e),
out: n
});
}
-const Zk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+const Mk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
- ZodAny: Mi,
- ZodArray: Bi,
- ZodBase64: Yn,
- ZodBase64URL: Qn,
+ ZodAny: Li,
+ ZodArray: Ji,
+ ZodBase64: Qn,
+ ZodBase64URL: er,
ZodBigInt: Kt,
- ZodBigIntFormat: nr,
- ZodBoolean: Wt,
- ZodCIDRv4: Xn,
- ZodCIDRv6: Hn,
- ZodCUID: Bn,
- ZodCUID2: Vn,
- ZodCatch: mo,
+ ZodBigIntFormat: rr,
+ ZodBoolean: Gt,
+ ZodCIDRv4: Hn,
+ ZodCIDRv6: Yn,
+ ZodCUID: Vn,
+ ZodCUID2: Jn,
+ ZodCatch: vo,
ZodCodec: en,
ZodCustom: tn,
- ZodCustomStringFormat: bt,
- ZodDate: ir,
- ZodDefault: oo,
- ZodDiscriminatedUnion: Ji,
- ZodE164: er,
- ZodEmail: Fn,
- ZodEmoji: Ln,
+ ZodCustomStringFormat: $t,
+ ZodDate: or,
+ ZodDefault: lo,
+ ZodDiscriminatedUnion: Wi,
+ ZodE164: tr,
+ ZodEmail: Ln,
+ ZodEmoji: Rn,
ZodEnum: ht,
- ZodExactOptional: no,
- ZodFile: eo,
- ZodFunction: ko,
+ ZodExactOptional: io,
+ ZodFile: no,
+ ZodFunction: Io,
ZodGUID: Ot,
- ZodIPv4: Wn,
- ZodIPv6: Kn,
- ZodIntersection: qi,
- ZodJWT: tr,
+ ZodIPv4: Kn,
+ ZodIPv6: Xn,
+ ZodIntersection: Gi,
+ ZodJWT: nr,
ZodKSUID: Gn,
- ZodLazy: bo,
- ZodLiteral: Qi,
- ZodMAC: xi,
- ZodMap: Hi,
- ZodNaN: vo,
- ZodNanoID: Rn,
- ZodNever: Li,
- ZodNonOptional: sr,
- ZodNull: Ci,
- ZodNullable: io,
- ZodNumber: Gt,
- ZodNumberFormat: it,
+ ZodLazy: yo,
+ ZodLiteral: to,
+ ZodMAC: Ai,
+ ZodMap: Qi,
+ ZodNaN: go,
+ ZodNanoID: Bn,
+ ZodNever: Bi,
+ ZodNonOptional: cr,
+ ZodNull: Mi,
+ ZodNullable: ao,
+ ZodNumber: Wt,
+ ZodNumberFormat: ot,
ZodObject: Ht,
- ZodOptional: ur,
+ ZodOptional: sr,
ZodPipe: Qt,
- ZodPrefault: lo,
- ZodPreprocess: po,
- ZodPromise: yo,
- ZodReadonly: go,
+ ZodPrefault: so,
+ ZodPreprocess: ho,
+ ZodPromise: So,
+ ZodReadonly: bo,
ZodRecord: gt,
- ZodSet: Yi,
+ ZodSet: eo,
ZodString: Jt,
ZodStringFormat: se,
- ZodSuccess: co,
- ZodSymbol: Ni,
- ZodTemplateLiteral: $o,
- ZodTransform: to,
- ZodTuple: Wi,
+ ZodSuccess: fo,
+ ZodSymbol: Ci,
+ ZodTemplateLiteral: _o,
+ ZodTransform: ro,
+ ZodTuple: Xi,
ZodType: H,
- ZodULID: Jn,
+ ZodULID: qn,
ZodURL: qt,
ZodUUID: Le,
- ZodUndefined: Pi,
+ ZodUndefined: Zi,
ZodUnion: Yt,
- ZodUnknown: Fi,
- ZodVoid: Ri,
- ZodXID: qn,
- ZodXor: Vi,
- _ZodString: Mn,
- _default: ao,
- _function: bn,
- any: um,
+ ZodUnknown: Ri,
+ ZodVoid: Vi,
+ ZodXID: Wn,
+ ZodXor: qi,
+ _ZodString: Fn,
+ _default: uo,
+ _function: _n,
+ any: sm,
array: Xt,
- base64: Jd,
- base64url: qd,
- bigint: rm,
- boolean: Ai,
- catch: fo,
- check: Um,
- cidrv4: Bd,
- cidrv6: Vd,
- codec: Dm,
- cuid: Nd,
- cuid2: Pd,
- custom: xm,
- date: cm,
- describe: Tm,
- discriminatedUnion: gm,
+ base64: qd,
+ base64url: Wd,
+ bigint: im,
+ boolean: Pi,
+ catch: po,
+ check: xm,
+ cidrv4: Vd,
+ cidrv6: Jd,
+ codec: Om,
+ cuid: Pd,
+ cuid2: Cd,
+ custom: Tm,
+ date: dm,
+ describe: Am,
+ discriminatedUnion: hm,
e164: Gd,
- email: wd,
- emoji: Td,
- enum: ar,
- exactOptional: ro,
- file: Sm,
- float32: Qd,
- float64: em,
- function: bn,
- guid: zd,
- hash: Yd,
- hex: Hd,
- hostname: Xd,
- httpUrl: xd,
- instanceof: Nm,
- int: hn,
- int32: tm,
- int64: im,
- intersection: Gi,
- invertCodec: Om,
- ipv4: Fd,
- ipv6: Rd,
- json: Cm,
- jwt: Wd,
- keyof: dm,
- ksuid: Md,
- lazy: _o,
- literal: km,
- looseObject: vm,
+ email: zd,
+ emoji: Ad,
+ enum: lr,
+ exactOptional: oo,
+ file: Im,
+ float32: em,
+ float64: tm,
+ function: _n,
+ guid: Dd,
+ hash: Qd,
+ hex: Yd,
+ hostname: Hd,
+ httpUrl: Td,
+ instanceof: Pm,
+ int: bn,
+ int32: nm,
+ int64: om,
+ intersection: Ki,
+ invertCodec: jm,
+ ipv4: Ld,
+ ipv6: Bd,
+ json: Zm,
+ jwt: Kd,
+ keyof: mm,
+ ksuid: Fd,
+ lazy: ko,
+ literal: Sm,
+ looseObject: pm,
looseRecord: $m,
- mac: Ld,
- map: bm,
- meta: Am,
- nan: zm,
- nanoid: Ad,
- nativeEnum: ym,
- never: rr,
- nonoptional: so,
- null: Zi,
+ mac: Rd,
+ map: _m,
+ meta: Nm,
+ nan: Dm,
+ nanoid: Nd,
+ nativeEnum: km,
+ never: ir,
+ nonoptional: mo,
+ null: Fi,
nullable: Et,
- nullish: Im,
- number: Ti,
- object: mm,
+ nullish: wm,
+ number: Ni,
+ object: fm,
optional: jt,
- partialRecord: hm,
+ partialRecord: bm,
pipe: $n,
- prefault: uo,
- preprocess: Zm,
- promise: Em,
- readonly: ho,
- record: Xi,
- refine: So,
- set: _m,
- strictObject: fm,
+ prefault: co,
+ preprocess: Mm,
+ promise: Um,
+ readonly: $o,
+ record: Yi,
+ refine: wo,
+ set: ym,
+ strictObject: vm,
string: Dt,
- stringFormat: Kd,
- stringbool: Pm,
- success: wm,
- superRefine: Io,
- symbol: am,
- templateLiteral: jm,
- transform: lr,
- tuple: Ki,
- uint32: nm,
- uint64: om,
- ulid: Cd,
- undefined: lm,
- union: or,
- unknown: tt,
- url: Ud,
- uuid: Dd,
- uuidv4: Od,
- uuidv6: jd,
- uuidv7: Ed,
- void: sm,
- xid: Zd,
- xor: pm
-}, Symbol.toStringTag, { value: "Module" })), Mk = {
+ stringFormat: Xd,
+ stringbool: Cm,
+ success: zm,
+ superRefine: zo,
+ symbol: lm,
+ templateLiteral: Em,
+ transform: ur,
+ tuple: Hi,
+ uint32: rm,
+ uint64: am,
+ ulid: Zd,
+ undefined: um,
+ union: ar,
+ unknown: nt,
+ url: xd,
+ uuid: Od,
+ uuidv4: jd,
+ uuidv6: Ed,
+ uuidv7: Ud,
+ void: cm,
+ xid: Md,
+ xor: gm
+}, Symbol.toStringTag, { value: "Module" })), Fk = {
invalid_type: "invalid_type",
too_big: "too_big",
too_small: "too_small",
@@ -15620,21 +15754,21 @@ const Zk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
invalid_value: "invalid_value",
custom: "custom"
};
-function Fk(e) {
+function Lk(e) {
Ie({
customError: e
});
}
-function Lk() {
+function Rk() {
return Ie().customError;
}
-var br;
-br || (br = {});
+var yr;
+yr || (yr = {});
const A = {
- ...Zk,
- ...Pk,
- iso: dd
-}, Rk = /* @__PURE__ */ new Set([
+ ...Mk,
+ ...Ck,
+ iso: md
+}, Bk = /* @__PURE__ */ new Set([
// Schema identification
"$schema",
"$ref",
@@ -15705,11 +15839,11 @@ const A = {
"nullable",
"readOnly"
]);
-function Bk(e, n) {
+function Vk(e, n) {
const r = e.$schema;
return r === "https://json-schema.org/draft/2020-12/schema" ? "draft-2020-12" : r === "http://json-schema.org/draft-07/schema#" ? "draft-7" : r === "http://json-schema.org/draft-04/schema#" ? "draft-4" : n ?? "draft-2020-12";
}
-function Vk(e, n) {
+function Jk(e, n) {
if (!e.startsWith("#"))
throw new Error("External $ref is not supported, only local refs (#/...) are allowed");
const r = e.slice(1).split("/").filter(Boolean);
@@ -15724,7 +15858,7 @@ function Vk(e, n) {
}
throw new Error(`Reference not found: ${e}`);
}
-function Mm(e, n) {
+function Fm(e, n) {
if (e.not !== void 0) {
if (typeof e.not == "object" && Object.keys(e.not).length === 0)
return A.never();
@@ -15749,7 +15883,7 @@ function Mm(e, n) {
return n.refs.get(t);
});
n.processing.add(t);
- const i = Vk(t, n), a = we(i, n);
+ const i = Jk(t, n), a = we(i, n);
return n.refs.set(t, a), n.processing.delete(t), a;
}
if (e.enum !== void 0) {
@@ -15771,7 +15905,7 @@ function Mm(e, n) {
if (Array.isArray(r)) {
const t = r.map((i) => {
const a = { ...e, type: i };
- return Mm(a, n);
+ return Fm(a, n);
});
return t.length === 0 ? A.never() : t.length === 1 ? t[0] : A.union(t);
}
@@ -15865,7 +15999,7 @@ function Mm(e, n) {
function we(e, n) {
if (typeof e == "boolean")
return e ? A.any() : A.never();
- let r = Mm(e, n);
+ let r = Fm(e, n);
const o = e.type || e.enum !== void 0 || e.const !== void 0;
if (e.anyOf && Array.isArray(e.anyOf)) {
const l = e.anyOf.map((u) => we(u, n)), s = A.union(l);
@@ -15893,10 +16027,10 @@ function we(e, n) {
for (const l of a)
l in e && (t[l] = e[l]);
for (const l of Object.keys(e))
- Rk.has(l) || (t[l] = e[l]);
+ Bk.has(l) || (t[l] = e[l]);
return Object.keys(t).length > 0 && n.registry.add(r, t), e.description && (r = r.describe(e.description)), r;
}
-function Jk(e, n) {
+function qk(e, n) {
if (typeof e == "boolean")
return e ? A.any() : A.never();
let r;
@@ -15905,7 +16039,7 @@ function Jk(e, n) {
} catch {
throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas");
}
- const o = Bk(r, n == null ? void 0 : n.defaultTarget), t = r.$defs || r.definitions || {}, i = {
+ const o = Vk(r, n == null ? void 0 : n.defaultTarget), t = r.$defs || r.definitions || {}, i = {
version: o,
defs: t,
refs: /* @__PURE__ */ new Map(),
@@ -15915,278 +16049,278 @@ function Jk(e, n) {
};
return we(r, i);
}
-function qk(e) {
- return /* @__PURE__ */ Cs(Jt, e);
+function Wk(e) {
+ return /* @__PURE__ */ Zs(Jt, e);
}
function Gk(e) {
- return /* @__PURE__ */ Js(Gt, e);
-}
-function Wk(e) {
- return /* @__PURE__ */ Ys(Wt, e);
+ return /* @__PURE__ */ qs(Wt, e);
}
function Kk(e) {
- return /* @__PURE__ */ ec(Kt, e);
+ return /* @__PURE__ */ Qs(Gt, e);
}
function Xk(e) {
- return /* @__PURE__ */ dc(ir, e);
+ return /* @__PURE__ */ tc(Kt, e);
}
-const Hk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+function Hk(e) {
+ return /* @__PURE__ */ mc(or, e);
+}
+const Yk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
- bigint: Kk,
- boolean: Wk,
- date: Xk,
+ bigint: Xk,
+ boolean: Kk,
+ date: Hk,
number: Gk,
- string: qk
+ string: Wk
}, Symbol.toStringTag, { value: "Module" }));
-Ie(js());
+Ie(Es());
const ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
- $brand: Va,
- $input: As,
- $output: Ts,
- NEVER: Ba,
- TimePrecision: Ms,
- ZodAny: Mi,
- ZodArray: Bi,
- ZodBase64: Yn,
- ZodBase64URL: Qn,
+ $brand: Ja,
+ $input: Ns,
+ $output: As,
+ NEVER: Va,
+ TimePrecision: Fs,
+ ZodAny: Li,
+ ZodArray: Ji,
+ ZodBase64: Qn,
+ ZodBase64URL: er,
ZodBigInt: Kt,
- ZodBigIntFormat: nr,
- ZodBoolean: Wt,
- ZodCIDRv4: Xn,
- ZodCIDRv6: Hn,
- ZodCUID: Bn,
- ZodCUID2: Vn,
- ZodCatch: mo,
+ ZodBigIntFormat: rr,
+ ZodBoolean: Gt,
+ ZodCIDRv4: Hn,
+ ZodCIDRv6: Yn,
+ ZodCUID: Vn,
+ ZodCUID2: Jn,
+ ZodCatch: vo,
ZodCodec: en,
ZodCustom: tn,
- ZodCustomStringFormat: bt,
- ZodDate: ir,
- ZodDefault: oo,
- ZodDiscriminatedUnion: Ji,
- ZodE164: er,
- ZodEmail: Fn,
- ZodEmoji: Ln,
+ ZodCustomStringFormat: $t,
+ ZodDate: or,
+ ZodDefault: lo,
+ ZodDiscriminatedUnion: Wi,
+ ZodE164: tr,
+ ZodEmail: Ln,
+ ZodEmoji: Rn,
ZodEnum: ht,
- ZodError: Ck,
- ZodExactOptional: no,
- ZodFile: eo,
+ ZodError: Zk,
+ ZodExactOptional: io,
+ ZodFile: no,
get ZodFirstPartyTypeKind() {
- return br;
+ return yr;
},
- ZodFunction: ko,
+ ZodFunction: Io,
ZodGUID: Ot,
- ZodIPv4: Wn,
- ZodIPv6: Kn,
- ZodISODate: ji,
- ZodISODateTime: Oi,
- ZodISODuration: Ui,
- ZodISOTime: Ei,
- ZodIntersection: qi,
- ZodIssueCode: Mk,
- ZodJWT: tr,
+ ZodIPv4: Kn,
+ ZodIPv6: Xn,
+ ZodISODate: Ui,
+ ZodISODateTime: Ei,
+ ZodISODuration: Ti,
+ ZodISOTime: xi,
+ ZodIntersection: Gi,
+ ZodIssueCode: Fk,
+ ZodJWT: nr,
ZodKSUID: Gn,
- ZodLazy: bo,
- ZodLiteral: Qi,
- ZodMAC: xi,
- ZodMap: Hi,
- ZodNaN: vo,
- ZodNanoID: Rn,
- ZodNever: Li,
- ZodNonOptional: sr,
- ZodNull: Ci,
- ZodNullable: io,
- ZodNumber: Gt,
- ZodNumberFormat: it,
+ ZodLazy: yo,
+ ZodLiteral: to,
+ ZodMAC: Ai,
+ ZodMap: Qi,
+ ZodNaN: go,
+ ZodNanoID: Bn,
+ ZodNever: Bi,
+ ZodNonOptional: cr,
+ ZodNull: Mi,
+ ZodNullable: ao,
+ ZodNumber: Wt,
+ ZodNumberFormat: ot,
ZodObject: Ht,
- ZodOptional: ur,
+ ZodOptional: sr,
ZodPipe: Qt,
- ZodPrefault: lo,
- ZodPreprocess: po,
- ZodPromise: yo,
- ZodReadonly: go,
+ ZodPrefault: so,
+ ZodPreprocess: ho,
+ ZodPromise: So,
+ ZodReadonly: bo,
ZodRealError: Te,
ZodRecord: gt,
- ZodSet: Yi,
+ ZodSet: eo,
ZodString: Jt,
ZodStringFormat: se,
- ZodSuccess: co,
- ZodSymbol: Ni,
- ZodTemplateLiteral: $o,
- ZodTransform: to,
- ZodTuple: Wi,
+ ZodSuccess: fo,
+ ZodSymbol: Ci,
+ ZodTemplateLiteral: _o,
+ ZodTransform: ro,
+ ZodTuple: Xi,
ZodType: H,
- ZodULID: Jn,
+ ZodULID: qn,
ZodURL: qt,
ZodUUID: Le,
- ZodUndefined: Pi,
+ ZodUndefined: Zi,
ZodUnion: Yt,
- ZodUnknown: Fi,
- ZodVoid: Ri,
- ZodXID: qn,
- ZodXor: Vi,
- _ZodString: Mn,
- _default: ao,
- _function: bn,
- any: um,
+ ZodUnknown: Ri,
+ ZodVoid: Vi,
+ ZodXID: Wn,
+ ZodXor: qi,
+ _ZodString: Fn,
+ _default: uo,
+ _function: _n,
+ any: sm,
array: Xt,
- base64: Jd,
- base64url: qd,
- bigint: rm,
- boolean: Ai,
- catch: fo,
- check: Um,
- cidrv4: Bd,
- cidrv6: Vd,
+ base64: qd,
+ base64url: Wd,
+ bigint: im,
+ boolean: Pi,
+ catch: po,
+ check: xm,
+ cidrv4: Vd,
+ cidrv6: Jd,
clone: Ce,
- codec: Dm,
- coerce: Hk,
+ codec: Om,
+ coerce: Yk,
config: Ie,
- core: Nk,
- cuid: Nd,
- cuid2: Pd,
- custom: xm,
- date: cm,
+ core: Pk,
+ cuid: Pd,
+ cuid2: Cd,
+ custom: Tm,
+ date: dm,
decode: $d,
- decodeAsync: _d,
- describe: Tm,
- discriminatedUnion: gm,
+ decodeAsync: yd,
+ describe: Am,
+ discriminatedUnion: hm,
e164: Gd,
- email: wd,
- emoji: Td,
- encode: hd,
- encodeAsync: bd,
- endsWith: xn,
- enum: ar,
- exactOptional: ro,
- file: Sm,
- flattenError: Er,
- float32: Qd,
- float64: em,
- formatError: Ur,
- fromJSONSchema: Jk,
- function: bn,
- getErrorMap: Lk,
+ email: zd,
+ emoji: Ad,
+ encode: bd,
+ encodeAsync: _d,
+ endsWith: Tn,
+ enum: lr,
+ exactOptional: oo,
+ file: Im,
+ flattenError: xr,
+ float32: em,
+ float64: tm,
+ formatError: Tr,
+ fromJSONSchema: qk,
+ function: _n,
+ getErrorMap: Rk,
globalRegistry: Ne,
- gt: We,
- gte: Oe,
- guid: zd,
- hash: Yd,
- hex: Hd,
- hostname: Xd,
- httpUrl: xd,
- includes: En,
- instanceof: Nm,
- int: hn,
- int32: tm,
- int64: im,
- intersection: Gi,
- invertCodec: Om,
- ipv4: Fd,
- ipv6: Rd,
- iso: dd,
- json: Cm,
- jwt: Wd,
- keyof: dm,
- ksuid: Md,
- lazy: _o,
+ gt: Ge,
+ gte: je,
+ guid: Dd,
+ hash: Qd,
+ hex: Yd,
+ hostname: Hd,
+ httpUrl: Td,
+ includes: Un,
+ instanceof: Pm,
+ int: bn,
+ int32: nm,
+ int64: om,
+ intersection: Ki,
+ invertCodec: jm,
+ ipv4: Ld,
+ ipv6: Bd,
+ iso: md,
+ json: Zm,
+ jwt: Kd,
+ keyof: mm,
+ ksuid: Fd,
+ lazy: ko,
length: Rt,
- literal: km,
- locales: xs,
- looseObject: vm,
+ literal: Sm,
+ locales: Ts,
+ looseObject: pm,
looseRecord: $m,
- lowercase: On,
- lt: Ge,
+ lowercase: jn,
+ lt: We,
lte: Pe,
- mac: Ld,
- map: bm,
+ mac: Rd,
+ map: _m,
maxLength: Lt,
- maxSize: $t,
- meta: Am,
- mime: Tn,
- minLength: et,
+ maxSize: bt,
+ meta: Nm,
+ mime: An,
+ minLength: tt,
minSize: Ke,
multipleOf: mt,
- nan: zm,
- nanoid: Ad,
- nativeEnum: ym,
- negative: ki,
- never: rr,
- nonnegative: Ii,
- nonoptional: so,
- nonpositive: Si,
- normalize: An,
- null: Zi,
+ nan: Dm,
+ nanoid: Nd,
+ nativeEnum: km,
+ negative: Ii,
+ never: ir,
+ nonnegative: zi,
+ nonoptional: mo,
+ nonpositive: wi,
+ normalize: Nn,
+ null: Fi,
nullable: Et,
- nullish: Im,
- number: Ti,
- object: mm,
+ nullish: wm,
+ number: Ni,
+ object: fm,
optional: jt,
overwrite: Je,
- parse: fd,
- parseAsync: vd,
- partialRecord: hm,
+ parse: vd,
+ parseAsync: pd,
+ partialRecord: bm,
pipe: $n,
- positive: yi,
- prefault: uo,
- preprocess: Zm,
- prettifyError: ml,
- promise: Em,
- property: wi,
- readonly: ho,
- record: Xi,
- refine: So,
- regex: Dn,
- regexes: Br,
- registry: ei,
- safeDecode: kd,
- safeDecodeAsync: Id,
- safeEncode: yd,
- safeEncodeAsync: Sd,
- safeParse: pd,
- safeParseAsync: gd,
- set: _m,
- setErrorMap: Fk,
+ positive: Si,
+ prefault: co,
+ preprocess: Mm,
+ prettifyError: fl,
+ promise: Um,
+ property: Di,
+ readonly: $o,
+ record: Yi,
+ refine: wo,
+ regex: On,
+ regexes: Jr,
+ registry: ni,
+ safeDecode: Sd,
+ safeDecodeAsync: wd,
+ safeEncode: kd,
+ safeEncodeAsync: Id,
+ safeParse: gd,
+ safeParseAsync: hd,
+ set: ym,
+ setErrorMap: Lk,
size: Ft,
- slugify: Zn,
- startsWith: Un,
- strictObject: fm,
+ slugify: Mn,
+ startsWith: xn,
+ strictObject: vm,
string: Dt,
- stringFormat: Kd,
- stringbool: Pm,
- success: wm,
- superRefine: Io,
- symbol: am,
- templateLiteral: jm,
- toJSONSchema: ad,
- toLowerCase: Pn,
- toUpperCase: Cn,
- transform: lr,
- treeifyError: cl,
- trim: Nn,
- tuple: Ki,
- uint32: nm,
- uint64: om,
- ulid: Cd,
- undefined: lm,
- union: or,
- unknown: tt,
- uppercase: jn,
- url: Ud,
- util: ul,
- uuid: Dd,
- uuidv4: Od,
- uuidv6: jd,
- uuidv7: Ed,
- void: sm,
- xid: Zd,
- xor: pm
+ stringFormat: Xd,
+ stringbool: Cm,
+ success: zm,
+ superRefine: zo,
+ symbol: lm,
+ templateLiteral: Em,
+ toJSONSchema: ld,
+ toLowerCase: Cn,
+ toUpperCase: Zn,
+ transform: ur,
+ treeifyError: dl,
+ trim: Pn,
+ tuple: Hi,
+ uint32: rm,
+ uint64: am,
+ ulid: Zd,
+ undefined: um,
+ union: ar,
+ unknown: nt,
+ uppercase: En,
+ url: xd,
+ util: sl,
+ uuid: Od,
+ uuidv4: jd,
+ uuidv6: Ed,
+ uuidv7: Ud,
+ void: cm,
+ xid: Md,
+ xor: gm
}, Symbol.toStringTag, { value: "Module" }));
-var Yk = {};
-globalThis.cacheMemoria_cache = Yk;
-var Qk = ((e) => (e.codigo = "codigo", e.excluido = "excluido", e.data_hora_criacao = "data_hora_criacao", e.data_hora_atualizacao = "data_hora_atualizacao", e.codigo_usuario_criacao = "codigo_usuario_criacao", e.codigo_usuario_atualizacao = "codigo_usuario_atualizacao", e.versao = "versao", e))(Qk || {}), eS = ((e) => (e.token = "token", e))(eS || {}), tS = ((e) => (e.Usuario = "usuario", e.Fornecedor = "fornecedor", e))(tS || {}), nS = ((e) => (e["="] = "=", e["!="] = "!=", e[">"] = ">", e[">="] = ">=", e["<"] = "<", e["<="] = "<=", e.like = "like", e.in = "in", e.isNull = "isNull", e.notIn = "notIn", e))(nS || {}), rS = ce.enum(["=", "!=", ">", ">=", "<", "<=", "like", "in", "isNull", "notIn"]);
-ce.object({ coluna: ce.string(), valor: ce.any(), operador: rS, ou: ce.boolean().optional() });
-var iS = ((e) => (e.RASTREAMENTO = "RASTREAMENTO", e.DEPURACAO = "DEPURACAO", e.INFORMACAO = "INFORMACAO", e.AVISO = "AVISO", e.ERRO = "ERRO", e.CRITICO = "CRITICO", e))(iS || {}), oS = ce.enum([">", "<", ">=", "<=", "=", "!=", "in", "like", "∩"]), aS = /^\{[\w:]+\}$/, lS = /^\w+(\.\w+)*$/, uS = ce.string().regex(lS, "Coluna inválida").describe("nome da coluna ou caminho aninhado do jsonb"), sS = ce.object({ id: ce.string().describe("id da condição do filtro").regex(aS, "O id deve seguir o formato {identificador}"), coluna: uS, operador: oS, valor: ce.any().describe("valor de comparação") }), cS = (e) => {
+var Qk = {};
+globalThis.cacheMemoria_cache = Qk;
+var eS = ((e) => (e.codigo = "codigo", e.excluido = "excluido", e.data_hora_criacao = "data_hora_criacao", e.data_hora_atualizacao = "data_hora_atualizacao", e.codigo_usuario_criacao = "codigo_usuario_criacao", e.codigo_usuario_atualizacao = "codigo_usuario_atualizacao", e.versao = "versao", e))(eS || {}), tS = ((e) => (e.token = "token", e))(tS || {}), nS = ((e) => (e.Usuario = "usuario", e.Fornecedor = "fornecedor", e))(nS || {}), rS = ((e) => (e["="] = "=", e["!="] = "!=", e[">"] = ">", e[">="] = ">=", e["<"] = "<", e["<="] = "<=", e.like = "like", e.in = "in", e.isNull = "isNull", e.notIn = "notIn", e))(rS || {}), iS = ce.enum(["=", "!=", ">", ">=", "<", "<=", "like", "in", "isNull", "notIn"]);
+ce.object({ coluna: ce.string(), valor: ce.any(), operador: iS, ou: ce.boolean().optional() });
+var oS = ((e) => (e.RASTREAMENTO = "RASTREAMENTO", e.DEPURACAO = "DEPURACAO", e.INFORMACAO = "INFORMACAO", e.AVISO = "AVISO", e.ERRO = "ERRO", e.CRITICO = "CRITICO", e))(oS || {}), aS = ce.enum([">", "<", ">=", "<=", "=", "!=", "in", "like", "∩"]), lS = /^\{[\w:]+\}$/, uS = /^\w+(\.\w+)*$/, sS = ce.string().regex(uS, "Coluna inválida").describe("nome da coluna ou caminho aninhado do jsonb"), cS = ce.object({ id: ce.string().describe("id da condição do filtro").regex(lS, "O id deve seguir o formato {identificador}"), coluna: sS, operador: aS, valor: ce.any().describe("valor de comparação") }), dS = (e) => {
let n = (e.match(/\{[\w:]+\}|\bNAO\b|\bE\b|\bOU\b|\(|\)/g) || []).join(""), r = e.replace(/\s+/g, ""), o = n.replace(/\s+/g, "");
if (r !== o) return !1;
let t = e.replace(/\{[\w:]+\}/g, "true").replace(/\bNAO\b/g, "!").replace(/\bE\b/g, "&&").replace(/\bOU\b/g, "||");
@@ -16195,22 +16329,22 @@ var iS = ((e) => (e.RASTREAMENTO = "RASTREAMENTO", e.DEPURACAO = "DEPURACAO", e.
} catch {
return !1;
}
-}, dS = ce.object({ condicoes: ce.array(sS), formula: ce.string().refine(cS, { message: "Fórmula inválida. Use apenas referências de condições {id} ou {id:sufixo}, operadores E/OU/NAO e parênteses." }) }).superRefine((e, n) => {
+}, mS = ce.object({ condicoes: ce.array(cS), formula: ce.string().refine(dS, { message: "Fórmula inválida. Use apenas referências de condições {id} ou {id:sufixo}, operadores E/OU/NAO e parênteses." }) }).superRefine((e, n) => {
let r = new Set(e.condicoes.map((t) => t.id)), o = e.formula.match(/\{[\w:]+\}/g) || [];
for (let t of o) r.has(t) || n.addIssue({ code: "custom", path: ["formula"], message: `A referência ${t} não existe em condicoes.` });
-}), mS = (e) => dS.parse(e), FS = () => ({ criarFiltroDelta: mS }), fS = ((e) => (e["e-licencie"] = "e-licencie", e["gov.e-licencie"] = "gov.e-licencie", e))(fS || {}), vS = ((e) => (e.modelo = "000_modelo", e.vencida = "100_vencida", e.expirado = "200_expirado", e.alerta = "300_alerta", e.protocoladafora = "350_protocoladafora", e.protocolada = "400_protocolada", e.protocoladaApenas = "430_protocolada", e.protocolada_alteracao = "450_protocolada", e.prazo = "500_prazo", e.emitida = "515_emitida", e.valida = "518_valida", e.novo = "520_novo", e.recebido = "521_recebido", e.em_andamento = "530_em_andamento", e.aguardando = "530_aguardando", e.aguardandoresposta = "540_aguardandoresposta", e.suspensaotemporaria = "540_suspensaotemporaria", e.cancelada = "550_cancelada", e.execucao = "560_execucao", e.pendente = "570_pendente", e.executadafora = "600_executadafora", e.executada = "700_executada", e.naoexecutada = "701_naoexecutada", e.concluida = "730_concluida", e.respondido_negado = "740_respondido_negado", e.respondido_aceito = "741_respondido_aceito", e.atendidoparcial = "742_atendidoparcial", e.naoatendido = "743_naoatendido", e.atendido = "744_atendido", e.renovada = "760_renovada", e.finalizada = "800_finalizada", e.emitirnota = "101_emitirnota", e.faturaatrasada = "301_faturaatrasada", e.pagarfatura = "302_pagarfatura", e.aguardandoconfirmacao = "531_aguardandoconfirmacao", e.agendado = "701_agendado", e.faturapaga = "801_faturapaga", e.excluida = "999_excluida", e.requerida = "401_requerida", e.vigente = "516_vigente", e.emrenovacao = "402_emrenovacao", e.arquivada = "801_arquivada", e.aguardando_sincronizacao = "999_aguardando_sincronizacao", e.nao_conforme = "710_nao_conforme", e.conforme = "720_conforme", e.nao_aplicavel = "730_nao_aplicavel", e.parcial = "715_parcial", e))(vS || {}), pS = ((e) => (e.UN = "UN", e.KG = "KG", e.TON = "TON", e.g = "g", e["M³"] = "M³", e.Lt = "Lt", e))(pS || {});
+}), fS = (e) => mS.parse(e), LS = () => ({ criarFiltroDelta: fS }), vS = ((e) => (e["e-licencie"] = "e-licencie", e["gov.e-licencie"] = "gov.e-licencie", e))(vS || {}), pS = ((e) => (e.modelo = "000_modelo", e.vencida = "100_vencida", e.expirado = "200_expirado", e.alerta = "300_alerta", e.protocoladafora = "350_protocoladafora", e.protocolada = "400_protocolada", e.protocoladaApenas = "430_protocolada", e.protocolada_alteracao = "450_protocolada", e.prazo = "500_prazo", e.emitida = "515_emitida", e.valida = "518_valida", e.novo = "520_novo", e.recebido = "521_recebido", e.em_andamento = "530_em_andamento", e.aguardando = "530_aguardando", e.aguardandoresposta = "540_aguardandoresposta", e.suspensaotemporaria = "540_suspensaotemporaria", e.cancelada = "550_cancelada", e.execucao = "560_execucao", e.pendente = "570_pendente", e.executadafora = "600_executadafora", e.executada = "700_executada", e.naoexecutada = "701_naoexecutada", e.concluida = "730_concluida", e.respondido_negado = "740_respondido_negado", e.respondido_aceito = "741_respondido_aceito", e.atendidoparcial = "742_atendidoparcial", e.naoatendido = "743_naoatendido", e.atendido = "744_atendido", e.renovada = "760_renovada", e.finalizada = "800_finalizada", e.emitirnota = "101_emitirnota", e.faturaatrasada = "301_faturaatrasada", e.pagarfatura = "302_pagarfatura", e.aguardandoconfirmacao = "531_aguardandoconfirmacao", e.agendado = "701_agendado", e.faturapaga = "801_faturapaga", e.excluida = "999_excluida", e.requerida = "401_requerida", e.vigente = "516_vigente", e.emrenovacao = "402_emrenovacao", e.arquivada = "801_arquivada", e.aguardando_sincronizacao = "999_aguardando_sincronizacao", e.nao_conforme = "710_nao_conforme", e.conforme = "720_conforme", e.nao_aplicavel = "730_nao_aplicavel", e.parcial = "715_parcial", e))(pS || {}), gS = ((e) => (e.UN = "UN", e.KG = "KG", e.TON = "TON", e.g = "g", e["M³"] = "M³", e.Lt = "Lt", e))(gS || {});
ce.object({ formato: ce.literal("decimal").default("decimal"), datum: ce.literal("EPSG:4326").default("EPSG:4326"), latitude: ce.number(), longitude: ce.number() });
-var gS = /^\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2}$/, hS = /^[A-Z0-9]{2}\.[A-Z0-9]{3}\.[A-Z0-9]{3}\/[A-Z0-9]{4}-\d{2}$/i, $S = Number((/* @__PURE__ */ new Date()).toISOString().slice(0, 7).replace("-", "")), bS = ce.string().regex($S < 202407 ? gS : hS).describe("Documento (CNPJ) no formato XX.XXX.XXX/XXXX-XX"), _S = ce.string().regex(/^\d{3}\.\d{3}\.\d{3}-\d{2}$/).describe("Documento (CPF) no formato XXX.XXX.XXX-XX");
-_S.or(bS).describe("CPF ou CNPJ");
-var wo = (e) => {
+var hS = /^\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2}$/, bS = /^[A-Z0-9]{2}\.[A-Z0-9]{3}\.[A-Z0-9]{3}\/[A-Z0-9]{4}-\d{2}$/i, $S = Number((/* @__PURE__ */ new Date()).toISOString().slice(0, 7).replace("-", "")), _S = ce.string().regex($S < 202407 ? hS : bS).describe("Documento (CNPJ) no formato XX.XXX.XXX/XXXX-XX"), yS = ce.string().regex(/^\d{3}\.\d{3}\.\d{3}-\d{2}$/).describe("Documento (CPF) no formato XXX.XXX.XXX-XX");
+yS.or(_S).describe("CPF ou CNPJ");
+var Do = (e) => {
if (typeof e == "number" || typeof e != "string") return e;
let n = e;
return n.includes(",") && (n = n.replace(/\./g, "").replace(",", ".")), n = n.replace(/[^0-9.]/g, ""), n == "" ? null : Number(n);
};
-ce.preprocess(wo, ce.number());
-ce.preprocess(wo, ce.number().positive());
-ce.preprocess(wo, ce.number().int());
-const yS = {
+ce.preprocess(Do, ce.number());
+ce.preprocess(Do, ce.number().positive());
+ce.preprocess(Do, ce.number().int());
+const kS = {
// Escala primária
"--cor-eli-primaria-bg": "#EEF3D0",
"--cor-eli-primaria-zebra": "#F6F9E8",
@@ -16230,7 +16364,7 @@ const yS = {
"--cor-eli-neutro": "#5E6553",
"--cor-eli-neutro-escuro": "#3E4436",
"--cor-eli-superficie": "#FFFFFF"
-}, kS = {
+}, SS = {
// Escala primária
"--cor-eli-primaria-bg": "#EBF3FC",
"--cor-eli-primaria-zebra": "#F4F8FD",
@@ -16250,66 +16384,66 @@ const yS = {
"--cor-eli-neutro": "#4B5563",
"--cor-eli-neutro-escuro": "#1E293B",
"--cor-eli-superficie": "#FFFFFF"
-}, SS = {
+}, IS = {
primary: "#688C00",
"primary-dark": "#4A6500",
"primary-light": "#EEF3D0"
-}, IS = {
+}, wS = {
primary: "#007BFF",
"primary-dark": "#0056B3",
"primary-light": "#EBF3FC"
-}, va = {
- verde: yS,
- azul: kS
}, pa = {
- verde: SS,
- azul: IS
+ verde: kS,
+ azul: SS
+}, ga = {
+ verde: IS,
+ azul: wS
};
-function wS(e) {
- return va[e] ?? va.verde;
-}
-function LS(e) {
+function zS(e) {
return pa[e] ?? pa.verde;
}
-function RS(e, n) {
+function RS(e) {
+ return ga[e] ?? ga.verde;
+}
+function BS(e, n) {
var t, i;
if (typeof document > "u")
return;
- const r = (n == null ? void 0 : n.elemento) ?? document.documentElement, o = wS(e);
+ const r = (n == null ? void 0 : n.elemento) ?? document.documentElement, o = zS(e);
for (const [a, l] of Object.entries(o))
l && r.style.setProperty(a, l);
r.setAttribute("data-eli-tema", e), (i = (t = n == null ? void 0 : n.vuetify) == null ? void 0 : t.theme) != null && i.global && (n.vuetify.theme.global.name.value = e);
}
-const BS = {
+const VS = {
install(e) {
- e.component("EliOlaMundo", _b), e.component("EliBotao", Sa), e.component("EliBadge", Sr), e.component("EliCartao", uf), e.component("EliTabela", V$), e.component("EliEntradaTexto", wr), e.component("EliEntradaNumero", Ea), e.component("EliEntradaDataHora", ja), e.component("EliEntradaParagrafo", Ua), e.component("EliEntradaSelecao", Ta), e.component("EliEntradaSelecaoMultipla", Aa), e.component("EliEntradaCoordenadas", Af), e.component("EliFeedbackWidget", gb);
+ e.component("EliOlaMundo", y$), e.component("EliBotao", Ia), e.component("EliBadge", wr), e.component("EliCartao", sf), e.component("EliTabela", Jb), e.component("EliEntradaTexto", Dr), e.component("EliEntradaNumero", Ua), e.component("EliEntradaDataHora", Ea), e.component("EliEntradaParagrafo", xa), e.component("EliEntradaSelecao", Aa), e.component("EliEntradaSelecaoMultipla", Na), e.component("EliEntradaCoordenadas", Nf), e.component("EliFeedbackWidget", h$);
}
};
export {
- IS as CORES_VUETIFY_AZUL,
- SS as CORES_VUETIFY_VERDE,
- Sr as EliBadge,
- Sa as EliBotao,
- uf as EliCartao,
- df as EliEntradaConfirmacao,
- Af as EliEntradaCoordenadas,
- ja as EliEntradaDataHora,
- Ea as EliEntradaNumero,
- Ua as EliEntradaParagrafo,
- Ta as EliEntradaSelecao,
- Aa as EliEntradaSelecaoMultipla,
- wr as EliEntradaTexto,
- gb as EliFeedbackWidget,
- _b as EliOlaMundo,
- V$ as EliTabela,
- pa as MAPA_CORES_VUETIFY_TEMAS,
- va as MAPA_TOKENS_TEMAS,
- kS as TOKENS_TEMA_AZUL,
- yS as TOKENS_TEMA_VERDE,
- MS as celulaTabela,
- BS as default,
- RS as definirTemaAplicacao,
- FS as iniciarFiltroDelta,
- LS as obterCoresVuetifyTema,
- wS as obterTokensTema
+ wS as CORES_VUETIFY_AZUL,
+ IS as CORES_VUETIFY_VERDE,
+ wr as EliBadge,
+ Ia as EliBotao,
+ sf as EliCartao,
+ mf as EliEntradaConfirmacao,
+ Nf as EliEntradaCoordenadas,
+ Ea as EliEntradaDataHora,
+ Ua as EliEntradaNumero,
+ xa as EliEntradaParagrafo,
+ Aa as EliEntradaSelecao,
+ Na as EliEntradaSelecaoMultipla,
+ Dr as EliEntradaTexto,
+ h$ as EliFeedbackWidget,
+ y$ as EliOlaMundo,
+ Jb as EliTabela,
+ ga as MAPA_CORES_VUETIFY_TEMAS,
+ pa as MAPA_TOKENS_TEMAS,
+ SS as TOKENS_TEMA_AZUL,
+ kS as TOKENS_TEMA_VERDE,
+ FS as celulaTabela,
+ VS as default,
+ BS as definirTemaAplicacao,
+ LS as iniciarFiltroDelta,
+ RS as obterCoresVuetifyTema,
+ zS as obterTokensTema
};
diff --git a/dist/eli-vue.umd.js b/dist/eli-vue.umd.js
index e2926c7..0a19a7f 100644
--- a/dist/eli-vue.umd.js
+++ b/dist/eli-vue.umd.js
@@ -1,215 +1,215 @@
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@font-face{font-family:Google Sans;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}@font-face{font-family:Google Sans;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-Italic-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}:root{--eli-font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;--v-font-family: var(--eli-font-family)}html,body{font-family:var(--eli-font-family)}:where([class^=eli-],[class*=" eli-"]){font-family:var(--eli-font-family);--v-font-family: var(--eli-font-family)}button,input,select,textarea{font-family:inherit}:root{--cor-eli-primaria-bg: #EEF3D0;--cor-eli-primaria-zebra: #F6F9E8;--cor-eli-primaria-suave: #BFC99C;--cor-eli-primaria-header: #ADCC44;--cor-eli-primaria-clara: #D4E290;--cor-eli-primaria-media: #ADCC44;--cor-eli-primaria-acao: #8AAF00;--cor-eli-primaria: #688C00;--cor-eli-primaria-escura: #4A6500;--cor-eli-primaria-texto: #2E3F00;--cor-eli-alerta-bg: #FAF3DF;--cor-eli-alerta-clara: #F5DC8A;--cor-eli-alerta: #DDB847;--cor-eli-alerta-forte: #8C6A00;--cor-eli-fundo: #F2F3EE;--cor-eli-borda: #D5D8CC;--cor-eli-borda-forte: #B5BAA8;--cor-eli-neutro: #5E6553;--cor-eli-neutro-escuro: #3E4436;--cor-eli-superficie: #FFFFFF;--cor-eli-sucesso: #2E7D32;--cor-eli-sucesso-bg: #E8F5E9;--cor-eli-erro: #C62828;--cor-eli-erro-bg: #FFEBEE;--cor-eli-info: #1565C0;--cor-eli-info-bg: #E3F2FD}.eli-badge .v-badge__badge,.eli-badge .v-badge__content{border-radius:var(--eli-badge-radius)!important}.eli-cartao{border-radius:12px}.eli-cartao__titulo{display:flex;align-items:center;justify-content:space-between;gap:12px}.eli-cartao__titulo-texto{min-width:0}.eli-cartao__conteudo{padding-top:8px}.eli-cartao__acoes{padding-top:0}.eli-cartao--cancelado{opacity:.85}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.eli-coordenadas{width:100%;display:flex;flex-direction:column;gap:8px}.eli-coordenadas__mapa-container{width:100%;border-radius:8px;overflow:hidden;border:1px solid rgba(var(--v-border-color),var(--v-border-opacity));position:relative}.eli-coordenadas__mapa-container .leaflet-container{width:100%;height:100%;z-index:0}.eli-coordenadas__campos{display:flex;gap:12px;align-items:center}.eli-coordenadas__campo{flex:1}.eli-dh{position:relative;width:100%;font-family:var(--eli-font-family, "Google Sans", system-ui, sans-serif)}.eli-dh__campo{display:flex;align-items:center;gap:8px;padding:0 14px;height:56px;border:1.5px solid var(--cor-eli-borda, #D5D8CC);border-radius:8px;background:var(--cor-eli-superficie, #fff);cursor:pointer;transition:border-color .18s,box-shadow .18s;-webkit-user-select:none;user-select:none;position:relative}.eli-dh__campo:hover:not(.eli-dh__campo--desabilitado){border-color:var(--cor-eli-primaria-media, #ADCC44)}.eli-dh__campo--focado{border-color:var(--cor-eli-primaria, #688C00);box-shadow:0 0 0 3px color-mix(in srgb,var(--cor-eli-primaria, #688C00) 14%,transparent);outline:none}.eli-dh__campo--erro{border-color:var(--cor-eli-erro, #C62828);box-shadow:0 0 0 3px color-mix(in srgb,var(--cor-eli-erro, #C62828) 12%,transparent)}.eli-dh__campo--desabilitado{background:var(--cor-eli-fundo, #F2F3EE);cursor:not-allowed;opacity:.6}.eli-dh__icone-btn{display:flex;align-items:center;justify-content:center;padding:0;border:none;background:none;cursor:pointer;color:var(--cor-eli-neutro, #5E6553);transition:color .18s;border-radius:4px;flex-shrink:0}.eli-dh__icone-btn:hover:not(:disabled){color:var(--cor-eli-primaria, #688C00)}.eli-dh__icone{width:20px;height:20px}.eli-dh__conteudo{flex:1;display:flex;flex-direction:column;min-width:0;gap:1px}.eli-dh__rotulo{font-size:11px;font-weight:600;color:var(--cor-eli-neutro, #5E6553);line-height:1.2;letter-spacing:.02em;text-transform:uppercase;transition:color .18s;cursor:pointer}.eli-dh__campo--focado .eli-dh__rotulo{color:var(--cor-eli-primaria, #688C00)}.eli-dh__campo--erro .eli-dh__rotulo{color:var(--cor-eli-erro, #C62828)}.eli-dh__input{width:100%;border:none;background:transparent;outline:none;font-size:15px;font-weight:500;font-family:inherit;color:var(--cor-eli-neutro-escuro, #3E4436);padding:0;margin:0;line-height:1.2}.eli-dh__input::placeholder{color:var(--cor-eli-borda-forte, #B5BAA8);font-weight:400;opacity:1}.eli-dh__input:disabled{cursor:not-allowed;color:var(--cor-eli-neutro, #5E6553)}.eli-dh__limpar{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:none;border-radius:50%;cursor:pointer;color:var(--cor-eli-borda-forte, #B5BAA8);transition:color .15s,background .15s;padding:0}.eli-dh__limpar:hover{color:var(--cor-eli-erro, #C62828);background:var(--cor-eli-erro-bg, #FFEBEE)}.eli-dh__mensagem{margin-top:4px;padding:0 14px;font-size:12px;line-height:1.4}.eli-dh__mensagem--erro{color:var(--cor-eli-erro, #C62828)}.eli-dh__mensagem--dica{color:var(--cor-eli-neutro, #5E6553)}.eli-dh__popover{position:fixed;z-index:99999;background:var(--cor-eli-superficie, #fff);border:1.5px solid var(--cor-eli-borda, #D5D8CC);border-radius:14px;box-shadow:0 4px 6px -1px #0000000f,0 10px 30px -4px #0000001f;overflow:hidden;min-width:300px;transform-origin:top left}.eli-dh-pop-enter-active,.eli-dh-pop-leave-active{transition:opacity .16s ease,transform .16s ease}.eli-dh-pop-enter-from,.eli-dh-pop-leave-to{opacity:0;transform:translateY(-6px) scale(.97)}.eli-dh__cal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;background:linear-gradient(135deg,var(--cor-eli-primaria, #688C00) 0%,var(--cor-eli-primaria-acao, #8AAF00) 100%)}.eli-dh__cal-nav{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:#ffffff2e;border-radius:8px;cursor:pointer;color:#fff;transition:background .15s;padding:0}.eli-dh__cal-nav:hover{background:#ffffff4d}.eli-dh__cal-nav svg{width:18px;height:18px}.eli-dh__cal-titulo{display:flex;flex-direction:column;align-items:center;gap:2px}.eli-dh__seletores{display:flex;align-items:center;gap:6px}.eli-dh__select{border:none;background:#ffffff24;color:#fff;font-family:inherit;font-size:14px;font-weight:700;padding:4px 8px;border-radius:6px;cursor:pointer;outline:none;transition:background .15s;-moz-appearance:none;appearance:none;-webkit-appearance:none}.eli-dh__select:hover{background:#ffffff42}.eli-dh__select option{background:var(--cor-eli-superficie, #fff);color:var(--cor-eli-neutro-escuro, #3E4436);font-weight:600}.eli-dh__cal-body{padding:12px 14px 14px}.eli-dh__cal-semana{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:6px}.eli-dh__cal-dia-sem{display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:var(--cor-eli-neutro, #5E6553);text-transform:uppercase;letter-spacing:.04em;height:28px}.eli-dh__cal-grade{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.eli-dh__cal-dia{display:flex;align-items:center;justify-content:center;height:36px;border:none;border-radius:8px;background:none;font-size:13px;font-weight:500;color:var(--cor-eli-neutro-escuro, #3E4436);cursor:pointer;transition:background .12s,color .12s;padding:0;font-family:inherit}.eli-dh__cal-dia:hover:not(:disabled):not(.eli-dh__cal-dia--fora):not(.eli-dh__cal-dia--selecionado){background:var(--cor-eli-primaria-bg, #EEF3D0);color:var(--cor-eli-primaria, #688C00)}.eli-dh__cal-dia--fora{color:var(--cor-eli-borda-forte, #B5BAA8);cursor:default}.eli-dh__cal-dia--hoje{color:var(--cor-eli-primaria, #688C00);font-weight:700;position:relative}.eli-dh__cal-dia--hoje:after{content:"";position:absolute;bottom:4px;left:50%;transform:translate(-50%);width:4px;height:4px;border-radius:50%;background:var(--cor-eli-primaria, #688C00)}.eli-dh__cal-dia--selecionado{background:var(--cor-eli-primaria, #688C00);color:#fff;font-weight:700}.eli-dh__cal-dia--selecionado.eli-dh__cal-dia--hoje:after{background:#fff}.eli-dh__cal-dia--desabilitado{opacity:.32;cursor:not-allowed}.eli-dh__hora-secao{border-top:1px solid var(--cor-eli-borda, #D5D8CC);padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--cor-eli-fundo-suave, #F8F9F5)}.eli-dh__hora-rotulo{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--cor-eli-neutro-escuro, #3E4436)}.eli-dh__hora-icone{width:16px;height:16px;color:var(--cor-eli-primaria, #688C00);flex-shrink:0}.eli-dh__hora-campos{display:flex;align-items:center;gap:6px}.eli-dh__hora-select{height:32px;padding:2px 6px;border:1.5px solid var(--cor-eli-borda, #D5D8CC);border-radius:6px;background:var(--cor-eli-superficie, #fff);text-align:center;font-size:13px;font-weight:600;font-family:inherit;color:var(--cor-eli-neutro-escuro, #3E4436);cursor:pointer;outline:none;transition:border-color .15s,box-shadow .15s}.eli-dh__hora-select:focus{border-color:var(--cor-eli-primaria, #688C00);box-shadow:0 0 0 2px color-mix(in srgb,var(--cor-eli-primaria, #688C00) 14%,transparent)}.eli-dh__hora-select option{background:var(--cor-eli-superficie, #fff);color:var(--cor-eli-neutro-escuro, #3E4436);font-weight:600}.eli-dh__hora-sep{font-size:16px;font-weight:700;color:var(--cor-eli-neutro, #5E6553);line-height:1}.eli-dh__btn-agora{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 10px;border:1px solid var(--cor-eli-primaria, #688C00);border-radius:6px;background:color-mix(in srgb,var(--cor-eli-primaria, #688C00) 10%,transparent);color:var(--cor-eli-primaria, #688C00);font-size:12px;font-weight:700;font-family:inherit;cursor:pointer;transition:background .15s,color .15s;white-space:nowrap}.eli-dh__btn-agora:hover{background:var(--cor-eli-primaria, #688C00);color:#fff}.eli-dh__rodape{padding:10px 14px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--cor-eli-borda, #D5D8CC)}.eli-dh__rodape-acoes{display:flex;align-items:center;gap:8px;margin-left:auto}.eli-dh__btn{display:inline-flex;align-items:center;gap:5px;padding:7px 16px;border:none;border-radius:8px;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer;transition:background .14s,opacity .14s}.eli-dh__btn--cancelar{background:var(--cor-eli-fundo, #F2F3EE);color:var(--cor-eli-neutro, #5E6553)}.eli-dh__btn--cancelar:hover{background:var(--cor-eli-borda, #D5D8CC)}.eli-dh__btn--confirmar{background:var(--cor-eli-primaria, #688C00);color:#fff}.eli-dh__btn--confirmar:hover{background:var(--cor-eli-primaria-escura, #4A6500)}.eli-entrada__prefixo,.eli-entrada__sufixo{opacity:.75;font-size:.9em;white-space:nowrap}.eli-entrada__prefixo{margin-right:6px}.eli-entrada__sufixo{margin-left:6px}.eli-tabela__acoes-cabecalho{display:inline-flex;gap:8px;flex-wrap:wrap}.eli-tabela__acoes-cabecalho-botao{display:inline-flex;align-items:center;gap:6px;height:var(--eli-tabela-cabecalho-controle-altura);padding:0 14px;border-radius:var(--eli-tabela-cabecalho-controle-radius);border:none;background:var(--cor-eli-primaria-bg);color:var(--cor-eli-primaria-escura);font-size:.875rem;font-weight:500;line-height:1;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-cabecalho-botao:hover,.eli-tabela__acoes-cabecalho-botao:focus-visible{background:var(--cor-eli-primaria-clara)}.eli-tabela__acoes-cabecalho-botao:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela__acoes-cabecalho-icone{display:inline-block}.eli-tabela__acoes-cabecalho-rotulo{line-height:1}.eli-tabela__acoes-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-toggle-icone{display:block}.eli-tabela__acoes-toggle:hover,.eli-tabela__acoes-toggle:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__acoes-toggle:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela__acoes-toggle:disabled{cursor:default;color:#94a3b8cc;background:transparent}.eli-tabela__acoes-menu{min-width:180px;padding:6px 0;margin:0;list-style:none;background:var(--cor-eli-superficie);border:1px solid rgba(15,23,42,.08);border-radius:10px;box-shadow:0 12px 30px #0f172a2e;z-index:1000}.eli-tabela__acoes-item{margin:0}.eli-tabela__acoes-item-botao{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:transparent;font-size:.9rem;cursor:pointer;transition:background-color .2s ease}.eli-tabela__acoes-item-botao:hover,.eli-tabela__acoes-item-botao:focus-visible{background-color:#0f172a0f}.eli-tabela__acoes-item-botao:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.eli-tabela__acoes-item-icone{flex-shrink:0}.eli-tabela__acoes-item-texto{flex:1;text-align:left}.eli-tabela__th--expander,.eli-tabela__td--expander{width:42px;padding:6px 8px;text-align:center;vertical-align:middle}.eli-tabela__expander-botao{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__expander-botao:hover,.eli-tabela__expander-botao:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__expander-botao:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela__expander-botao--ativo{background-color:#0f172a0f;color:#0f172af2}.eli-tabela__td--detalhes{padding:12px}.eli-tabela__tr--detalhes .eli-tabela__td{border-bottom:1px solid rgba(0,0,0,.08)}.eli-tabela__detalhes{display:grid;gap:10px;padding-left:4px}.eli-tabela__detalhe{display:grid;grid-template-columns:180px 1fr;gap:10px;align-items:start}.eli-tabela__detalhe-rotulo{font-weight:600;color:#0f172ad9}.eli-tabela__detalhe-valor{min-width:0}@media(max-width:720px){.eli-tabela__detalhe{grid-template-columns:1fr}}.eli-tabela__th--selecao,.eli-tabela__td--selecao{width:48px;min-width:48px;max-width:48px;text-align:center;padding:0 8px;vertical-align:middle}.eli-tabela__checkbox{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:15px;height:15px;cursor:pointer;border:2px solid rgba(0,0,0,.54);border-radius:2px;margin:0;vertical-align:middle;position:relative;transition:all .2s ease-in-out;background-color:transparent;outline:none}.eli-tabela__checkbox:hover{border-color:#000000de}.eli-tabela__checkbox:checked,.eli-tabela__checkbox:indeterminate{background-color:var(--cor-eli-primaria);border-color:var(--cor-eli-primaria)}.eli-tabela__checkbox:checked:after{content:"";position:absolute;top:0;left:4px;width:4px;height:9px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.eli-tabela__checkbox:indeterminate:after{content:"";position:absolute;top:5px;left:2px;width:8px;height:2px;background-color:#fff;border-radius:1px}.eli-tabela__checkbox:focus-visible{box-shadow:0 0 0 2px var(--cor-eli-primaria-clara)}.eli-tabela{width:100%}.eli-tabela__table-wrapper{width:100%;overflow-x:auto}.eli-tabela__td--estados{padding:0}.eli-tabela__estados-inline{border:none;border-radius:0}.eli-tabela__table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid rgba(0,0,0,.12);border-radius:12px;overflow:visible}.eli-tabela__table thead tr:first-child th:first-child{border-top-left-radius:11px}.eli-tabela__table thead tr:first-child th:last-child{border-top-right-radius:11px}.eli-tabela__table tbody tr:last-child td:first-child{border-bottom-left-radius:11px}.eli-tabela__table tbody tr:last-child td:last-child{border-bottom-right-radius:11px}.eli-tabela__tbody{overflow:visible}.eli-tabela__tbody .eli-tabela__tr .eli-tabela__td{background:var(--cor-eli-superficie, #ffffff)}.eli-tabela__tbody .eli-tabela__tr--zebra .eli-tabela__td{background:var(--cor-eli-primaria-zebra, #F6F9E8)}.eli-tabela__th,.eli-tabela__td{padding:10px 12px;border-bottom:1px solid var(--cor-eli-borda);vertical-align:top}.eli-tabela__th{text-align:left;font-weight:600;font-size:.82rem;letter-spacing:.02em;text-transform:uppercase;color:var(--cor-eli-neutro-escuro, #3E4436);background:var(--cor-eli-primaria-suave, #BFC99C);border-bottom:2px solid var(--cor-eli-primaria-bg, #EEF3D0)}.eli-tabela__th--ordenavel{padding:0}.eli-tabela__th--ordenavel .eli-tabela__th-botao{padding:10px 12px}.eli-tabela__th-botao{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;background:transparent;border:none;font:inherit;color:inherit;cursor:pointer;text-align:left;transition:color .2s ease}.eli-tabela__th-botao:hover,.eli-tabela__th-botao:focus-visible{color:var(--cor-eli-primaria-texto, #2E3F00)}.eli-tabela__th-botao:focus-visible{outline:2px solid var(--cor-eli-primaria, #688C00);outline-offset:2px}.eli-tabela__th-botao--ativo{color:var(--cor-eli-primaria-texto, #2E3F00)}.eli-tabela__th-texto{flex:1;min-width:0;white-space:nowrap}.eli-tabela__th-icone{flex-shrink:0}.eli-tabela__th-icone--oculto{opacity:0}.eli-tabela__tr:last-child .eli-tabela__td{border-bottom:none}.eli-tabela__td--clicavel{cursor:pointer}.eli-tabela__td--clicavel:hover{background:#00000008}.eli-tabela--erro{display:flex;align-items:flex-start;gap:10px;border:1px solid rgba(220,53,69,.35);border-radius:12px;padding:12px}.eli-tabela--carregando{display:flex;align-items:center;gap:10px;border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__erro-titulo{font-weight:700;margin-bottom:4px}.eli-tabela__erro-mensagem{opacity:.9}.eli-tabela--vazio{display:flex;align-items:center;gap:10px;border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__estado-icone{flex-shrink:0;color:#0f172a73}.eli-tabela__estado-icone--erro{color:var(--cor-eli-erro)}.eli-tabela__estado-icone--spin{animation:eli-tabela-spin 1s linear infinite}@keyframes eli-tabela-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.eli-tabela__th--acoes{text-align:right;white-space:nowrap}.eli-tabela__td--acoes{white-space:nowrap;overflow:visible}.eli-tabela__acoes-container{display:flex;justify-content:flex-end;position:relative;z-index:1}.eli-tabela__acoes-container--aberto{z-index:200}.eli-tabela__rodape{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;flex-wrap:wrap}.eli-tabela__paginacao{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:0;flex-wrap:wrap}.eli-tabela__acoes-inferiores{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}.eli-tabela__cabecalho{width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:12px;flex-wrap:wrap;--eli-tabela-cabecalho-controle-altura: 34px;--eli-tabela-cabecalho-controle-radius: 8px}.eli-tabela__celula-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.eli-tabela__celula-tag{cursor:default}.eli-tabela__celula-tag-icone{margin-right:6px}.eli-tabela__texto-truncado{display:inline-block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.eli-tabela__celula-link{all:unset;display:inline;color:#2563eb;cursor:pointer;text-decoration:underline;text-decoration-color:var(--cor-eli-primaria-clara);text-underline-offset:2px}.eli-tabela__celula-link:hover{color:#1d4ed8;text-decoration-color:#1d4ed8bf}.eli-tabela__celula-link:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px;border-radius:4px}.eli-tabela__busca{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.eli-tabela__busca-input-wrapper{display:inline-flex;align-items:stretch;border-radius:var(--eli-tabela-cabecalho-controle-radius, 8px);border:1px solid rgba(15,23,42,.15);overflow:hidden;background:var(--cor-eli-superficie);height:var(--eli-tabela-cabecalho-controle-altura, 34px)}.eli-tabela__busca-input{height:100%;padding:0 12px;border:none;outline:none;font-size:.875rem;color:#0f172ad9}.eli-tabela__busca-input::-webkit-search-cancel-button,.eli-tabela__busca-input::-webkit-search-decoration{-webkit-appearance:none}.eli-tabela__busca-input::placeholder{color:var(--cor-eli-neutro)}.eli-tabela__busca-botao{display:inline-flex;align-items:center;justify-content:center;border:none;background:var(--cor-eli-primaria-bg);color:var(--cor-eli-primaria-escura);height:100%;padding:0 12px;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__busca-botao-icone{display:block}.eli-tabela__busca-botao:hover,.eli-tabela__busca-botao:focus-visible{background:var(--cor-eli-primaria-clara);color:var(--cor-eli-primaria-escura)}.eli-tabela__busca-botao:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela__busca-grupo{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.eli-tabela__filtro-icone-container{position:relative;display:inline-flex;align-items:center}.eli-tabela__filtro-badge{position:absolute;top:-7px;right:-9px;min-width:16px;height:16px;padding:0 4px;border-radius:9999px;background:var(--cor-eli-erro, #dc3545);color:#fff;font-size:.65rem;font-weight:700;line-height:16px;text-align:center;pointer-events:none;box-shadow:0 1px 3px #0003}.eli-tabela-modal-colunas__item{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:8px;border:1px solid var(--cor-eli-borda);background:var(--cor-eli-superficie);cursor:grab;-webkit-user-select:none;user-select:none;transition:box-shadow .15s ease,opacity .15s ease,border-color .15s ease}.eli-tabela-modal-colunas__item+.eli-tabela-modal-colunas__item{margin-top:6px}.eli-tabela-modal-colunas__item:hover{border-color:var(--cor-eli-borda-forte);box-shadow:0 2px 8px #0f172a14}.eli-tabela-modal-colunas__item:active{cursor:grabbing}.eli-tabela-modal-colunas__item--invisivel{opacity:.72}.eli-tabela-modal-colunas__item--arrastando{opacity:.15;border-style:dashed;border-color:var(--cor-eli-primaria-media)}.eli-tabela-modal-colunas__item-handle{color:var(--cor-eli-borda-forte);flex-shrink:0;transition:color .15s ease}.eli-tabela-modal-colunas__item:hover .eli-tabela-modal-colunas__item-handle{color:var(--cor-eli-neutro)}.eli-tabela-modal-colunas__item-texto{flex:1;min-width:0;font-size:.875rem;color:var(--cor-eli-neutro-escuro);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eli-tabela-modal-colunas__item-badge-icone{flex-shrink:0}.eli-tabela-modal-colunas__item-badge-icone--visivel{color:var(--cor-eli-primaria-acao)}.eli-tabela-modal-colunas__item-badge-icone--invisivel{color:var(--cor-eli-borda-forte)}.eli-tabela-modal-colunas__vazio{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px 12px;text-align:center;font-size:.8rem;color:var(--cor-eli-neutro);line-height:1.5}.eli-tabela-modal-colunas__vazio-icone{color:var(--cor-eli-borda-forte)}.eli-tabela-modal-colunas__vazio-icone--ok{color:var(--cor-eli-primaria-acao)}.list-move,.list-enter-active,.list-leave-active{transition:all .25s cubic-bezier(.4,0,.2,1)}.list-enter-from,.list-leave-to{opacity:0;transform:scale(.95)}.list-leave-active{position:absolute;width:calc(100% - 16px)}.eli-tabela-modal-colunas__footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--cor-eli-borda);background:var(--cor-eli-fundo)}.eli-tabela-modal-colunas__botao{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 16px;border-radius:8px;border:1px solid var(--cor-eli-borda);background:var(--cor-eli-superficie);cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s ease,border-color .2s ease,color .2s ease}.eli-tabela-modal-colunas__botao--sec{color:var(--cor-eli-neutro-escuro)}.eli-tabela-modal-colunas__botao--sec:hover,.eli-tabela-modal-colunas__botao--sec:focus-visible{background:var(--cor-eli-fundo);border-color:var(--cor-eli-borda-forte)}.eli-tabela-modal-colunas__botao--sec:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela-modal-colunas__botao--prim{border:none;background:var(--cor-eli-primaria);color:#fff}.eli-tabela-modal-colunas__botao--prim:hover,.eli-tabela-modal-colunas__botao--prim:focus-visible{background:var(--cor-eli-primaria-escura)}.eli-tabela-modal-colunas__botao--prim:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}@media(max-width:720px){.eli-tabela-modal-colunas__conteudo{grid-template-columns:1fr}.eli-tabela-modal-colunas__coluna+.eli-tabela-modal-colunas__coluna{border-left:none;border-top:1px solid var(--cor-eli-borda)}}.eli-tabela-modal-colunas__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-colunas__modal{width:min(820px,100%);background:var(--cor-eli-superficie);border-radius:16px;border:1px solid var(--cor-eli-borda);box-shadow:0 24px 64px #0f172a38;overflow:hidden;display:flex;flex-direction:column}.eli-tabela-modal-colunas__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--cor-eli-borda);background:var(--cor-eli-primaria-header, #ADCC44)}.eli-tabela-modal-colunas__header-info{display:flex;align-items:center;gap:8px}.eli-tabela-modal-colunas__header-icone{color:var(--cor-eli-primaria-escura);flex-shrink:0}.eli-tabela-modal-colunas__titulo{font-size:.95rem;font-weight:600;color:var(--cor-eli-primaria-texto);margin:0}.eli-tabela-modal-colunas__fechar{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;border:none;background:transparent;cursor:pointer;color:var(--cor-eli-primaria-escura);transition:background .2s ease}.eli-tabela-modal-colunas__fechar:hover,.eli-tabela-modal-colunas__fechar:focus-visible{background:#0f172a1a}.eli-tabela-modal-colunas__fechar:focus-visible{outline:2px solid var(--cor-eli-primaria);outline-offset:2px}.eli-tabela-modal-colunas__instrucao{display:flex;align-items:center;gap:6px;padding:8px 16px;background:var(--cor-eli-fundo);border-bottom:1px solid var(--cor-eli-borda);font-size:.78rem;color:var(--cor-eli-neutro);line-height:1.4}.eli-tabela-modal-colunas__instrucao-icone{flex-shrink:0;color:var(--cor-eli-borda-forte)}.eli-tabela-modal-colunas__conteudo{display:grid;grid-template-columns:1fr 1fr;gap:0;flex:1}.eli-tabela-modal-colunas__coluna{display:flex;flex-direction:column;padding:12px}.eli-tabela-modal-colunas__coluna+.eli-tabela-modal-colunas__coluna{border-left:1px solid var(--cor-eli-borda)}.eli-tabela-modal-colunas__coluna-cabecalho{display:flex;align-items:center;gap:6px;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:6px 10px;border-radius:8px;margin-bottom:8px}.eli-tabela-modal-colunas__coluna-cabecalho--visiveis{color:var(--cor-eli-primaria-escura);background:var(--cor-eli-primaria-bg)}.eli-tabela-modal-colunas__coluna-cabecalho--invisiveis{color:var(--cor-eli-neutro-escuro);background:var(--cor-eli-fundo)}.eli-tabela-modal-colunas__coluna-contador{margin-left:auto;font-size:.72rem;font-weight:700;padding:1px 7px;border-radius:9999px;background:#0f172a14;color:inherit}.eli-tabela-modal-colunas__lista{flex:1;min-height:220px;border:1.5px dashed var(--cor-eli-borda);border-radius:10px;padding:8px;position:relative;overflow:hidden;transition:border-color .2s ease,background .2s ease}.eli-tabela-modal-colunas__lista--visiveis{background:#688c0005}.eli-tabela-modal-colunas__lista--invisiveis{background:var(--cor-eli-fundo)}.eli-tabela-modal-filtro__formula-container{display:flex;flex-direction:row;align-items:center;gap:8px;margin-left:auto}.eli-tabela-modal-filtro__formula-label{font-size:.82rem;font-weight:500;color:#0f172a8c;white-space:nowrap;flex-shrink:0}.eli-tabela-modal-filtro__formula-ajuda{position:relative;display:inline-flex;align-items:center;color:#0f172a59;cursor:help;transition:color .15s}.eli-tabela-modal-filtro__formula-ajuda:hover,.eli-tabela-modal-filtro__formula-ajuda:focus-visible{color:var(--cor-eli-primaria);outline:none}.eli-tabela-modal-filtro__formula-ajuda:hover .eli-tabela-modal-filtro__formula-tooltip,.eli-tabela-modal-filtro__formula-ajuda:focus-visible .eli-tabela-modal-filtro__formula-tooltip{opacity:1;pointer-events:auto;transform:translateY(0)}.eli-tabela-modal-filtro__formula-tooltip{position:absolute;bottom:calc(100% + 10px);right:0;width:280px;background:#0f172a;color:#e2e8f0;border-radius:10px;padding:14px 16px;font-size:.8rem;line-height:1.55;z-index:100;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease;box-shadow:0 8px 30px #00000059}.eli-tabela-modal-filtro__formula-tooltip:after{content:"";position:absolute;top:100%;right:6px;border:6px solid transparent;border-top-color:#0f172a}.eli-tabela-modal-filtro__formula-tooltip strong{font-size:.82rem;color:var(--cor-eli-fundo);display:block;margin-bottom:6px}.eli-tabela-modal-filtro__formula-tooltip p{margin:6px 0 4px;color:#94a3b8}.eli-tabela-modal-filtro__formula-tooltip ul{margin:4px 0 8px 14px;padding:0}.eli-tabela-modal-filtro__formula-tooltip li{margin-bottom:3px;color:#cbd5e1}.eli-tabela-modal-filtro__formula-tooltip code{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;color:#7dd3fc;font-size:.78rem;background:#ffffff12;border-radius:4px;padding:1px 4px}.eli-tabela-modal-filtro__formula-input{width:220px;height:36px;border-radius:10px;border:1px solid rgba(15,23,42,.12);padding:0 10px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.85rem;background:var(--cor-eli-fundo);transition:border-color .15s,background .15s;box-sizing:border-box}.eli-tabela-modal-filtro__formula-input:focus{outline:none;border-color:var(--cor-eli-primaria);background:#fff}.eli-tabela-modal-filtro__formula-tooltip-nota{margin-top:8px;opacity:.75}.eli-tabela-modal-filtro__footer{display:flex;align-items:center;gap:8px;padding:14px 20px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__footer-spacer{flex:1}.eli-tabela-modal-filtro__botao{display:inline-flex;align-items:center;gap:5px;height:36px;padding:0 16px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.875rem;font-weight:500;transition:background .15s,color .15s,border-color .15s}.eli-tabela-modal-filtro__botao:disabled{opacity:.45;cursor:not-allowed}.eli-tabela-modal-filtro__botao--sec:hover:not(:disabled),.eli-tabela-modal-filtro__botao--sec:focus-visible{background:#0f172a0d}.eli-tabela-modal-filtro__botao--prim{border:none;background:var(--cor-eli-primaria);color:#fff}.eli-tabela-modal-filtro__botao--prim:hover:not(:disabled),.eli-tabela-modal-filtro__botao--prim:focus-visible{background:var(--cor-eli-primaria-escura)}.eli-tabela-modal-filtro__botao--perigo{color:#dc2626d9;border-color:#dc26262e;background:#fff}.eli-tabela-modal-filtro__botao--perigo:hover:not(:disabled),.eli-tabela-modal-filtro__botao--perigo:focus-visible{background:#ef44440f;border-color:#dc26264d;color:#dc2626}@media(max-width:600px){.eli-tabela-modal-filtro__lista{grid-template-columns:1fr}.eli-tabela-modal-filtro__rodape-filtros{flex-direction:column;align-items:stretch}.eli-tabela-modal-filtro__acoes{flex-wrap:wrap}}.eli-tabela-modal-filtro-enter-active,.eli-tabela-modal-filtro-leave-active{transition:opacity .2s ease}.eli-tabela-modal-filtro-enter-active .eli-tabela-modal-filtro__modal,.eli-tabela-modal-filtro-leave-active .eli-tabela-modal-filtro__modal{transition:transform .2s ease,opacity .2s ease}.eli-tabela-modal-filtro-enter-from,.eli-tabela-modal-filtro-leave-to{opacity:0}.eli-tabela-modal-filtro-enter-from .eli-tabela-modal-filtro__modal,.eli-tabela-modal-filtro-leave-to .eli-tabela-modal-filtro__modal{transform:scale(.96);opacity:0}.eli-tabela-modal-filtro__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-filtro__modal{width:min(980px,100%);background:#fff;border-radius:14px;border:1px solid rgba(15,23,42,.1);box-shadow:0 18px 60px #0f172a40;overflow:hidden}.eli-tabela-modal-filtro__header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__header-titulo{display:flex;align-items:center;gap:10px}.eli-tabela-modal-filtro__titulo{font-size:1rem;font-weight:600;margin:0;color:#0f172ae6}.eli-tabela-modal-filtro__header-icone{color:var(--cor-eli-primaria);flex-shrink:0}.eli-tabela-modal-filtro__contador{font-size:.75rem;font-weight:500;color:var(--cor-eli-primaria);background:var(--cor-eli-primaria-bg);padding:2px 8px;border-radius:10px;letter-spacing:.01em}.eli-tabela-modal-filtro__fechar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;color:#0f172a8c;transition:background .15s,color .15s}.eli-tabela-modal-filtro__fechar:hover,.eli-tabela-modal-filtro__fechar:focus-visible{background:#0f172a0f;color:#0f172ae6}.eli-tabela-modal-filtro__conteudo{padding:20px}.eli-tabela-modal-filtro__vazio{opacity:.65;font-size:.85rem;padding:12px 0 4px}.eli-tabela-modal-filtro__estado-vazio{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 16px;color:#0f172a59;border:1px dashed rgba(15,23,42,.12);border-radius:10px;background:#0f172a04}.eli-tabela-modal-filtro__estado-vazio span{font-size:.85rem;font-weight:500}.eli-tabela-modal-filtro__lista{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.eli-tabela-modal-filtro__linha{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid rgba(15,23,42,.08);border-radius:10px;background:#0f172a04;transition:border-color .15s}.eli-tabela-modal-filtro__linha:hover{border-color:var(--cor-eli-primaria-clara)}.eli-tabela-modal-filtro__linha-header{display:flex;align-items:center;gap:8px}.eli-tabela-modal-filtro__rotulo-filtro{font-size:.82rem;font-weight:500;color:#0f172aa6;flex:1;min-width:0}.eli-tabela-modal-filtro__id-badge{display:inline-flex;align-items:center;justify-content:center;width:32px;height:24px;border-radius:6px;background:var(--cor-eli-primaria-bg);color:var(--cor-eli-primaria);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.72rem;font-weight:600;letter-spacing:.01em;cursor:default;-webkit-user-select:none;user-select:none;flex-shrink:0}.eli-tabela-modal-filtro__entrada{min-width:0}.eli-tabela-modal-filtro__remover{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;border:none;background:transparent;cursor:pointer;color:#0f172a59;transition:background .15s,color .15s;margin-left:auto;flex-shrink:0}.eli-tabela-modal-filtro__remover:hover,.eli-tabela-modal-filtro__remover:focus-visible{background:#ef444414;color:#dc2626e6;border-color:#ef444433}.eli-tabela-modal-filtro__rodape-filtros{margin-top:14px;padding-top:14px;border-top:1px solid rgba(15,23,42,.07);display:flex;gap:12px;align-items:flex-end}.eli-tabela-modal-filtro__acoes{display:flex;gap:8px;align-items:center;flex-shrink:0}.eli-tabela-modal-filtro__select{height:36px;border-radius:10px;border:1px solid rgba(15,23,42,.12);padding:0 10px;background:#fff;font-size:.875rem;color:#0f172ad9;transition:border-color .15s}.eli-tabela-modal-filtro__select:focus{outline:none;border-color:var(--cor-eli-primaria)}.eli-tabela__paginacao{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;flex-wrap:wrap}.eli-tabela__pagina-botao{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 14px;border-radius:9999px;border:1px solid rgba(15,23,42,.12);background:var(--cor-eli-superficie);font-size:.875rem;font-weight:500;color:#0f172ad1;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.eli-tabela__pagina-botao:hover,.eli-tabela__pagina-botao:focus-visible{background-color:var(--cor-eli-primaria-bg);border-color:var(--cor-eli-primaria-clara);color:var(--cor-eli-primaria-escura)}.eli-tabela__pagina-botao:focus-visible{outline:2px solid var(--cor-eli-primaria-clara);outline-offset:2px}.eli-tabela__pagina-botao:disabled{cursor:default;opacity:.5;background:#94a3b814;border-color:#94a3b82e;color:#475569bf}.eli-tabela__pagina-botao--ativo{background:var(--cor-eli-primaria-bg);border-color:var(--cor-eli-primaria);color:var(--cor-eli-primaria-escura)}.eli-tabela__pagina-ellipsis{display:inline-flex;align-items:center;justify-content:center;width:32px;color:var(--cor-eli-neutro);font-size:.9rem}.eli-tabela__acao-inferior{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:8px;border:1px solid var(--cor-eli-primaria);background:var(--cor-eli-superficie);color:var(--cor-eli-primaria);font-size:.875rem;font-weight:500;line-height:1;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acao-inferior:hover,.eli-tabela__acao-inferior:focus-visible{background-color:var(--cor-eli-primaria-bg)}.eli-tabela__acao-inferior:focus-visible{outline:2px solid var(--cor-eli-primaria);outline-offset:2px}.eli-fb-painel{position:fixed;bottom:68px;right:24px;z-index:99999;width:360px;background:#fff;border-radius:14px;box-shadow:0 12px 40px #00000026,0 2px 8px #00000014;overflow:hidden;animation:eliFbSlideUp .25s ease;font-family:Inter,Segoe UI,system-ui,sans-serif}.eli-fb-painel-header{background:linear-gradient(135deg,#c62828,#e53935);color:#fff;padding:14px 18px;display:flex;align-items:center;justify-content:space-between}.eli-fb-painel-header h3{margin:0;font-size:14px;font-weight:700;letter-spacing:.02em}.eli-fb-painel-fechar{background:#ffffff26;border:none;color:#fff;width:28px;height:28px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px;transition:background .15s}.eli-fb-painel-fechar:hover{background:#ffffff4d}.eli-fb-painel-corpo{padding:16px 18px}.eli-fb-el-info{background:#f5f5f5;border-radius:8px;padding:10px 12px;margin-bottom:14px;font-size:11px;color:#616161;line-height:1.6}.eli-fb-el-info code{background:#e0e0e0;padding:1px 5px;border-radius:3px;font-size:10.5px;font-family:SFMono-Regular,Consolas,monospace;color:#333}.eli-fb-el-info strong{color:#424242}.eli-fb-textarea{width:100%;min-height:80px;max-height:160px;border:1.5px solid #E0E0E0;border-radius:8px;padding:10px 12px;font-size:13px;font-family:Inter,Segoe UI,system-ui,sans-serif;resize:vertical;outline:none;transition:border-color .15s;color:#333;box-sizing:border-box}.eli-fb-textarea:focus{border-color:#c62828;box-shadow:0 0 0 3px #c6282814}.eli-fb-textarea::placeholder{color:#bdbdbd}.eli-fb-painel-acoes{display:flex;gap:8px;margin-top:12px;justify-content:flex-end}.eli-fb-btn-salvar{background:linear-gradient(135deg,#c62828,#e53935);color:#fff;border:none;border-radius:8px;padding:8px 18px;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s}.eli-fb-btn-salvar:hover{transform:translateY(-1px);box-shadow:0 3px 10px #c628284d}.eli-fb-btn-salvar:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.eli-fb-btn-cancelar{background:#f5f5f5;color:#616161;border:1px solid #E0E0E0;border-radius:8px;padding:8px 14px;font-size:13px;font-weight:500;cursor:pointer;transition:background .15s}.eli-fb-btn-cancelar:hover{background:#eee}.eli-feedback-fab{position:fixed;bottom:24px;right:24px;z-index:99999;display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-family:Inter,Segoe UI,system-ui,sans-serif}.eli-fb-botao-principal{width:34px;height:34px;border-radius:50%;border:none;background:linear-gradient(135deg,#c62828,#e53935);color:#fff;font-size:14px;cursor:pointer;box-shadow:0 2px 8px #c6282859,0 1px 3px #0000001f;transition:all .2s ease;display:flex;align-items:center;justify-content:center;position:relative}.eli-fb-botao-principal:hover{transform:scale(1.08);box-shadow:0 6px 20px #c6282873,0 2px 6px #00000026}.eli-fb-botao-principal:active{transform:scale(.95)}.eli-fb-badge{position:absolute;top:-5px;right:-5px;background:#1565c0;color:#fff;font-size:9px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 3px;line-height:1;box-shadow:0 1px 4px #0003}.eli-fb-acoes{display:flex;flex-direction:column;align-items:flex-end;gap:6px;animation:eliFbSlideUp .2s ease}.eli-fb-botao-ico{width:34px;height:34px;border-radius:50%;border:none;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease;box-shadow:0 2px 8px #00000026}.eli-fb-botao-ico:hover{transform:scale(1.1);box-shadow:0 3px 12px #00000038}.eli-fb-botao-exportar{background:#1565c0;color:#fff}.eli-fb-botao-feedback{background:linear-gradient(135deg,#c62828,#e53935);color:#fff}.eli-fb-botao-copiar{background:#2e7d32;color:#fff}.eli-fb-botao-limpar{background:#424242;color:#fff}.eli-fb-tooltip-selecao{position:absolute;bottom:14px;right:64px;background:linear-gradient(135deg,#c62828,#b71c1c);color:#fff;padding:8px 14px;border-radius:10px;font-size:12px;font-weight:500;white-space:nowrap;display:flex;flex-direction:column;gap:2px;box-shadow:0 4px 16px #c6282859;animation:eliFbSlideUp .2s ease;pointer-events:none}.eli-fb-tooltip-selecao:after{content:"";position:absolute;right:-6px;top:50%;transform:translateY(-50%);border:6px solid transparent;border-left-color:#b71c1c;border-right:none}.eli-fb-tooltip-esc{font-size:10px;opacity:.7}.eli-fb-tooltip-esc kbd{background:#fff3;border-radius:3px;padding:1px 5px;font-size:10px;font-weight:700;font-family:inherit}@keyframes eliFbSlideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes eliFbSlideDown{0%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
-(function(L,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue"),require("vuetify/components/VBtn"),require("vuetify/components/VBadge"),require("vuetify/components/VCard"),require("vuetify/components"),require("vuetify/components/VSwitch"),require("leaflet"),require("vuetify/components/VIcon"),require("vuetify/components/VTextField"),require("vuetify/components/VTextarea"),require("vuetify/components/VAutocomplete"),require("vuetify/components/VChip"),require("vuetify/components/VGrid")):typeof define=="function"&&define.amd?define(["exports","vue","vuetify/components/VBtn","vuetify/components/VBadge","vuetify/components/VCard","vuetify/components","vuetify/components/VSwitch","leaflet","vuetify/components/VIcon","vuetify/components/VTextField","vuetify/components/VTextarea","vuetify/components/VAutocomplete","vuetify/components/VChip","vuetify/components/VGrid"],l):(L=typeof globalThis<"u"?globalThis:L||self,l(L.eli_vue={},L.Vue,L.VBtn,L.VBadge,L.VCard,L.components,L.VSwitch,L.L,L.VIcon,L.VTextField,L.VTextarea,L.VAutocomplete,L.VChip,L.VGrid))})(this,(function(L,l,Rn,$m,Ne,et,bm,Se,ci,Ut,_m,si,ym,km){"use strict";const Sm=l.defineComponent({name:"EliBotao",inheritAttrs:!1,props:{color:{type:String,default:"primary"},variant:{type:String,default:"elevated"},size:{type:String,default:"default"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}}),K=(e,n)=>{const r=e.__vccOpts||e;for(const[i,t]of n)r[i]=t;return r};function wm(e,n,r,i,t,o){return l.openBlock(),l.createBlock(Rn.VBtn,l.mergeProps({color:e.color,variant:e.variant,size:e.size,disabled:e.disabled,loading:e.loading},e.$attrs,{class:"eli-botao text-none pt-1"}),{default:l.withCtx(()=>[l.renderSlot(e.$slots,"default")]),_:3},16,["color","variant","size","disabled","loading"])}const Jn=K(Sm,[["render",wm]]),ui={suave:"4px",pill:"10px"},Im=l.defineComponent({name:"EliBadge",inheritAttrs:!1,props:{color:{type:String,default:"primary"},location:{type:String,default:"top right"},offsetX:{type:String,default:"0"},offsetY:{type:String,default:"0"},dot:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},badge:{type:[String,Number],default:void 0},radius:{type:String,default:"suave"}},setup(e){const n=l.computed(()=>e.radius in ui?ui[e.radius]:e.radius),r=l.computed(()=>e.dot||e.badge!==void 0?e.visible:!1),i=l.computed(()=>({"--eli-badge-radius":n.value}));return{showBadge:r,badgeStyle:i}}});function zm(e,n,r,i,t,o){return e.showBadge?(l.openBlock(),l.createBlock($m.VBadge,l.mergeProps({key:0,color:e.color},e.$attrs,{location:e.location,"offset-x":e.offsetX,"offset-y":e.offsetY,dot:e.dot,content:e.badge,style:e.badgeStyle,class:"eli-badge"}),{default:l.withCtx(()=>[l.renderSlot(e.$slots,"default")]),_:3},16,["color","location","offset-x","offset-y","dot","content","style"])):l.renderSlot(e.$slots,"default",{},void 0,void 0,1)}const At=K(Im,[["render",zm]]),Em=l.defineComponent({name:"EliCartao",components:{EliBadge:At},inheritAttrs:!1,props:{titulo:{type:String,default:""},status:{type:String,required:!0},variant:{type:String,default:"outlined"}},emits:{clicar:e=>!0},setup(e,{emit:n}){const r=l.computed(()=>e.status),i=l.computed(()=>{switch(e.status){case"novo":return"primary";case"rascunho":return"secondary";case"vendido":return"success";case"cancelado":return"error"}}),t=l.computed(()=>`eli-cartao--${e.status}`);function o(){n("clicar",e.status)}return{rotuloStatus:r,corStatus:i,classeStatus:t,onClick:o}}}),Nm={class:"eli-cartao__titulo-texto"},Dm={class:"eli-cartao__status"};function Om(e,n,r,i,t,o){const a=l.resolveComponent("EliBadge");return l.openBlock(),l.createBlock(Ne.VCard,l.mergeProps({class:["eli-cartao",e.classeStatus],variant:e.variant},e.$attrs),{default:l.withCtx(()=>[l.createVNode(Ne.VCardTitle,{class:"eli-cartao__titulo"},{default:l.withCtx(()=>[l.createElementVNode("div",Nm,[l.renderSlot(e.$slots,"titulo",{},()=>[l.createTextVNode(l.toDisplayString(e.titulo),1)])]),l.createElementVNode("div",Dm,[l.createVNode(a,{badge:e.rotuloStatus,radius:"pill",color:e.corStatus},{default:l.withCtx(()=>[...n[0]||(n[0]=[l.createElementVNode("span",null,null,-1)])]),_:1},8,["badge","color"])])]),_:3}),l.createVNode(Ne.VCardText,{class:"eli-cartao__conteudo"},{default:l.withCtx(()=>[l.renderSlot(e.$slots,"default")]),_:3}),e.$slots.acoes?(l.openBlock(),l.createBlock(Ne.VCardActions,{key:0,class:"eli-cartao__acoes"},{default:l.withCtx(()=>[l.renderSlot(e.$slots,"acoes")]),_:3})):l.createCommentVNode("",!0)]),_:3},16,["variant","class"])}const di=K(Em,[["render",Om]]),jm=l.defineComponent({name:"EliEntradaConfirmacao",components:{VSwitch:et.VSwitch},inheritAttrs:!1,props:{value:{type:Boolean,default:!1},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.computed({get:()=>e.value,set:o=>{r("update:value",o),r("input",o),r("change",o)}}),t=l.computed(()=>{var o,a,c;return i.value&&((o=e.opcoes)!=null&&o.rotuloAtivo)?e.opcoes.rotuloAtivo:!i.value&&((a=e.opcoes)!=null&&a.rotuloInativo)?e.opcoes.rotuloInativo:((c=e.opcoes)==null?void 0:c.rotulo)??""});return{attrs:n,emit:r,localValue:i,rotuloExibido:t}}});function Cm(e,n,r,i,t,o){var a,c,u,s;return l.openBlock(),l.createBlock(bm.VSwitch,l.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=m=>e.localValue=m),label:e.rotuloExibido,color:((a=e.opcoes)==null?void 0:a.cor)??"primary",disabled:!!((c=e.opcoes)!=null&&c.desabilitado)||!!((u=e.opcoes)!=null&&u.apenasLeitura),density:((s=e.opcoes)==null?void 0:s.densidade)??"comfortable","hide-details":""},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","color","disabled","density"])}const mi=K(jm,[["render",Cm]]),fi="https://paiol.idz.one/geo",Tm=7,xm=10,Um=13,pi=new Map;async function gi(e){const n=pi.get(e);if(n)return n;try{const r=await fetch(e);if(!r.ok)return null;const i=await r.json();return pi.set(e,i),i}catch{return null}}function Am(){return{color:"#1565C0",weight:1.5,fillColor:"#42A5F5",fillOpacity:.05,dashArray:"4 4"}}function Pm(){return{color:"#78909C",weight:.8,fillColor:"#B0BEC5",fillOpacity:.03}}function Vm(e){return e>=Um?"municipios_uhd":e>=xm?"municipios_hd":"municipios"}function Bm(e,n){!n.estados&&!n.municipios||Zm(e,n)}async function Zm(e,n){const r=await gi(`${fi}/estados.geojson`);if(!r)return;const i=[],t=Se.geoJSON(r,{style:Am,onEachFeature:(o,a)=>{var u;const c=String(((u=o.properties)==null?void 0:u.codarea)??"");c&&i.push({codigo:c,bounds:a.getBounds()})}});n.estados&&t.addTo(e),n.municipios&&Mm(e,i)}function Mm(e,n){const r={municipios:Se.layerGroup(),municipios_hd:Se.layerGroup(),municipios_uhd:Se.layerGroup()},i={municipios:new Set,municipios_hd:new Set,municipios_uhd:new Set};let t=null;const o=()=>{const a=e.getZoom();if(a=-90&&e<=90&&n>=-180&&n<=180}function vi(e){return e.toFixed(6).replace(".",",")}function hi(e){if(typeof e=="number")return Number.isNaN(e)?null:e;const n=e.replace(",","."),r=Number.parseFloat(n);return Number.isNaN(r)?null:r}async function $i(){try{return await qm()}catch{return await Gm()}}function qm(){return new Promise((e,n)=>{if(!navigator.geolocation)return n(new Error("Geolocation indisponível"));navigator.geolocation.getCurrentPosition(r=>e({latitude:r.coords.latitude,longitude:r.coords.longitude}),r=>n(r),{enableHighAccuracy:!0,timeout:1e4})})}async function Gm(){const e=await fetch("https://ipapi.co/json/");if(!e.ok)throw new Error(`GeoIP falhou: ${e.status}`);const n=await e.json();return{latitude:n.latitude,longitude:n.longitude}}function Km({value:e,opcoes:n,emit:r,mapaRef:i}){const t=l.ref(!1);let o=null,a=null;const c=l.computed(()=>{var $;return(($=n())==null?void 0:$.alturaMapa)??Rm}),u=l.computed(()=>{var $;return(($=n())==null?void 0:$.zoom)??Lm}),s=l.computed(()=>{var $;return!!(($=n())!=null&&$.apenasLeitura)}),m=l.computed(()=>e()!=null),d=l.computed(()=>{const $=e();return $?vi($.latitude):""}),f=l.computed(()=>{const $=e();return $?vi($.longitude):""});function p($,b){if(!Jm($,b))return;const k={formato:"decimal",datum:"EPSG:4326",latitude:Number.parseFloat($.toFixed(6)),longitude:Number.parseFloat(b.toFixed(6))};r("update:value",k),r("input",k),r("change",k)}function h(){r("update:value",null),r("input",null),r("change",null),v()}function v(){a&&o&&(o.removeLayer(a),a=null)}function D($,b){o&&(a=Se.marker([$,b],{draggable:!s.value}).addTo(o),a.on("dragend",()=>{if(!a)return;const k=a.getLatLng();p(k.lat,k.lng)}),o.setView([$,b],o.getZoom()))}function z($){var k;const b=hi($);b!==null&&p(b,((k=e())==null?void 0:k.longitude)??Pt.longitude)}function S($){var k;const b=hi($);b!==null&&p(((k=e())==null?void 0:k.latitude)??Pt.latitude,b)}function x($,b){if(!o)return;if(!a){D($,b);return}const k=a.getLatLng();k.lat===$&&k.lng===b||(a.setLatLng([$,b]),o.setView([$,b],o.getZoom()))}async function T(){t.value=!0;try{const $=await $i();p($.latitude,$.longitude)}finally{t.value=!1}}async function U(){var I;if(!i.value)return;const $=e(),b=$!=null;let k,B,w=u.value;if(b)k=$.latitude,B=$.longitude,w=Math.max(w,13);else try{const E=await $i();k=E.latitude,B=E.longitude,w=13}catch{k=Pt.latitude,B=Pt.longitude}o=Se.map(i.value).setView([k,B],w);const A=Se.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:"© OpenStreetMap",maxZoom:19}),ae=Se.tileLayer("https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",{attribution:"© Esri",maxZoom:19});A.addTo(o),Se.control.layers({Mapa:A,Satélite:ae}).addTo(o),b&&D($.latitude,$.longitude),o.on("click",E=>{s.value||p(E.latlng.lat,E.latlng.lng)});const he=(I=n())==null?void 0:I.camadas;he&&Bm(o,he)}return l.watch(e,$=>{if(!$){v();return}x($.latitude,$.longitude)},{deep:!0}),l.onMounted(()=>{if(U(),i.value){const $=new ResizeObserver(()=>o==null?void 0:o.invalidateSize());$.observe(i.value),l.onBeforeUnmount(()=>$.disconnect())}}),l.onBeforeUnmount(()=>{o&&(o.remove(),o=null,a=null)}),{alturaEfetiva:c,geolocalizando:t,possuiValor:m,latDisplay:d,lngDisplay:f,onLatChange:z,onLngChange:S,usarMinhaLocalizacao:T,limpar:h}}const Wm=l.defineComponent({name:"EliEntradaCoordenadas",inheritAttrs:!1,props:{value:{type:Object,default:null},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.ref(null),t=Km({value:()=>e.value,opcoes:()=>e.opcoes,emit:r,mapaRef:i});return{attrs:n,mapaRef:i,...t}}}),Xm={class:"eli-coordenadas"},Hm={key:0,class:"v-label",style:{"margin-bottom":"4px"}},Ym={ref:"mapaRef",style:{width:"100%",height:"100%"}},Qm={class:"eli-coordenadas__campos"};function ef(e,n,r,i,t,o){var a,c,u,s,m;return l.openBlock(),l.createElementBlock("div",Xm,[(a=e.opcoes)!=null&&a.rotulo?(l.openBlock(),l.createElementBlock("div",Hm,l.toDisplayString(e.opcoes.rotulo),1)):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"eli-coordenadas__mapa-container",style:l.normalizeStyle({height:`${e.alturaEfetiva}px`})},[l.createElementVNode("div",Ym,null,512)],4),l.createElementVNode("div",Qm,[l.createVNode(Ut.VTextField,l.mergeProps({"model-value":e.latDisplay,label:"Latitude",type:"text",inputmode:"decimal",readonly:!!((c=e.opcoes)!=null&&c.apenasLeitura),density:"comfortable",variant:"outlined",class:"eli-coordenadas__campo","hide-details":""},e.attrs,{"onUpdate:modelValue":e.onLatChange}),null,16,["model-value","readonly","onUpdate:modelValue"]),l.createVNode(Ut.VTextField,l.mergeProps({"model-value":e.lngDisplay,label:"Longitude",type:"text",inputmode:"decimal",readonly:!!((u=e.opcoes)!=null&&u.apenasLeitura),density:"comfortable",variant:"outlined",class:"eli-coordenadas__campo","hide-details":""},e.attrs,{"onUpdate:modelValue":e.onLngChange}),null,16,["model-value","readonly","onUpdate:modelValue"]),l.createVNode(Rn.VBtn,{icon:"",variant:"tonal",color:"primary",size:"small",title:"Usar minha localização",loading:e.geolocalizando,disabled:!!((s=e.opcoes)!=null&&s.apenasLeitura),onClick:e.usarMinhaLocalizacao},{default:l.withCtx(()=>[l.createVNode(ci.VIcon,null,{default:l.withCtx(()=>[...n[0]||(n[0]=[l.createTextVNode("mdi-crosshairs-gps",-1)])]),_:1})]),_:1},8,["loading","disabled","onClick"]),e.possuiValor&&!((m=e.opcoes)!=null&&m.apenasLeitura)?(l.openBlock(),l.createBlock(Rn.VBtn,{key:0,icon:"",variant:"tonal",color:"error",size:"small",title:"Limpar localização",onClick:e.limpar},{default:l.withCtx(()=>[l.createVNode(ci.VIcon,null,{default:l.withCtx(()=>[...n[1]||(n[1]=[l.createTextVNode("mdi-close",-1)])]),_:1})]),_:1},8,["onClick"])):l.createCommentVNode("",!0)])])}const bi=K(Wm,[["render",ef]]);function _i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vt={exports:{}},tf=Vt.exports,yi;function ki(){return yi||(yi=1,(function(e,n){(function(r,i){e.exports=i()})(tf,(function(){var r=1e3,i=6e4,t=36e5,o="millisecond",a="second",c="minute",u="hour",s="day",m="week",d="month",f="quarter",p="year",h="date",v="Invalid Date",D=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,z=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(I){var E=["th","st","nd","rd"],N=I%100;return"["+I+(E[(N-20)%10]||E[N]||E[0])+"]"}},x=function(I,E,N){var C=String(I);return!C||C.length>=E?I:""+Array(E+1-C.length).join(N)+I},T={s:x,z:function(I){var E=-I.utcOffset(),N=Math.abs(E),C=Math.floor(N/60),j=N%60;return(E<=0?"+":"-")+x(C,2,"0")+":"+x(j,2,"0")},m:function I(E,N){if(E.date()1)return I(F[0])}else{var G=E.name;$[G]=E,j=G}return!C&&j&&(U=j),j||!C&&U},w=function(I,E){if(k(I))return I.clone();var N=typeof E=="object"?E:{};return N.date=I,N.args=arguments,new ae(N)},A=T;A.l=B,A.i=k,A.w=function(I,E){return w(I,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var ae=(function(){function I(N){this.$L=B(N.locale,null,!0),this.parse(N),this.$x=this.$x||N.x||{},this[b]=!0}var E=I.prototype;return E.parse=function(N){this.$d=(function(C){var j=C.date,Z=C.utc;if(j===null)return new Date(NaN);if(A.u(j))return new Date;if(j instanceof Date)return new Date(j);if(typeof j=="string"&&!/Z$/i.test(j)){var F=j.match(D);if(F){var G=F[2]-1||0,H=(F[7]||"0").substring(0,3);return Z?new Date(Date.UTC(F[1],G,F[3]||1,F[4]||0,F[5]||0,F[6]||0,H)):new Date(F[1],G,F[3]||1,F[4]||0,F[5]||0,F[6]||0,H)}}return new Date(j)})(N),this.init()},E.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},E.$utils=function(){return A},E.isValid=function(){return this.$d.toString()!==v},E.isSame=function(N,C){var j=w(N);return this.startOf(C)<=j&&j<=this.endOf(C)},E.isAfter=function(N,C){return w(N)String(n).padStart(2,"0")),of=Array.from({length:60},(e,n)=>String(n).padStart(2,"0"));function af(e,n,r,i){const t=e.startOf("month"),o=e.endOf("month"),a=ie(),c=r?ie(r).startOf("day"):null,u=i?ie(i).startOf("day"):null,s=[];for(let d=t.day()-1;d>=0;d--){const f=t.subtract(d+1,"day");s.push({dia:f.date(),data:f,atual:!1,hoje:!1,selecionado:!1,desabilitado:!0})}for(let d=t;d.isBefore(o)||d.isSame(o,"day");d=d.add(1,"day"))s.push({dia:d.date(),data:d,atual:!0,hoje:d.isSame(a,"day"),selecionado:n!==null&&d.isSame(n,"day"),desabilitado:c!==null&&d.isBefore(c)||u!==null&&d.isAfter(u)});let m=1;for(;s.length<42;){const d=o.add(m++,"day");s.push({dia:d.date(),data:d,atual:!1,hoje:!1,selecionado:!1,desabilitado:!0})}return s}function qn(e,n){if(!e)return"";const r=ie(e);return r.isValid()?n==="data"?r.format("DD/MM/YYYY"):r.format("DD/MM/YYYY HH:mm"):""}function lf(e,n){const r=e.replace(/\D/g,"");if(!r)return"";const i=r.slice(0,2),t=r.slice(2,4),o=r.slice(4,8),a=r.slice(8,10),c=r.slice(10,12);let u=i;return t&&(u+=`/${t}`),o&&(u+=`/${o}`),n==="dataHora"&&(a&&(u+=` ${a}`),c&&(u+=`:${c}`)),u}function cf(e,n,r){const i=e.replace(/\D/g,"");if(i.length<8)return null;const t=Number.parseInt(i.slice(0,2),10),o=Number.parseInt(i.slice(2,4),10),a=Number.parseInt(i.slice(4,8),10);if(o<1||o>12||t<1||t>31||a<1900||a>2100)return null;let c=0,u=0;n==="dataHora"&&(i.length>=10?c=Math.min(23,Number.parseInt(i.slice(8,10),10)||0):r&&(c=Number.parseInt(r.hora,10)||0),i.length>=12?u=Math.min(59,Number.parseInt(i.slice(10,12),10)||0):r&&(u=Number.parseInt(r.minuto,10)||0));const s=`${a}-${String(o).padStart(2,"0")}-${String(t).padStart(2,"0")}T${String(c).padStart(2,"0")}:${String(u).padStart(2,"0")}:00`,m=ie(s);return m.isValid()?m.format():null}var Bt={exports:{}},sf=Bt.exports,Si;function uf(){return Si||(Si=1,(function(e,n){(function(r,i){e.exports=i(ki())})(sf,(function(r){function i(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var t=i(r),o={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(a){return a+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return t.default.locale(o,null,!0),o}))})(Bt)),Bt.exports}uf();function df({modoEfetivo:e,valor:n,horaTemp:r,minutoTemp:i,emitirValor:t,emit:o}){const a=l.ref(""),c=l.ref(!1);function u(d){const f=d.target.value,p=lf(f,e.value);if(a.value=p,d.target.value=p,!p){t(null);return}const h=cf(p,e.value,{hora:r.value,minuto:i.value});if(h){const v=p.replace(/\D/g,"");e.value==="dataHora"&&(v.length>=10&&(r.value=String(Math.min(23,Number.parseInt(v.slice(8,10),10)||0)).padStart(2,"0")),v.length>=12&&(i.value=String(Math.min(59,Number.parseInt(v.slice(10,12),10)||0)).padStart(2,"0"))),t(h)}}function s(){c.value=!0,o("foco"),o("focus")}function m(){c.value=!1,n.value?a.value=qn(n.value,e.value):a.value="",o("desfoco"),o("blur")}return{textoDigitado:a,focado:c,onTextInput:u,onInputFocus:s,onInputBlur:m}}function mf({uid:e,modoEfetivo:n}){const r=l.ref({});function i(){const a=document.getElementById(`eli-dh-campo-${e}`);if(!a)return;const c=a.getBoundingClientRect(),u=n.value==="dataHora"?380:320;let s=c.bottom+6;c.bottom+u>window.innerHeight&&c.top-u>0&&(s=c.top-u-6);let m=c.left;m+316>window.innerWidth-8&&(m=Math.max(8,c.right-316)),r.value={position:"fixed",top:`${s}px`,left:`${m}px`}}function t(){window.addEventListener("scroll",i,!0),window.addEventListener("resize",i)}function o(){window.removeEventListener("scroll",i,!0),window.removeEventListener("resize",i)}return{estiloPopover:r,calcularPosicao:i,adicionarListenersPosicao:t,removerListenersPosicao:o}}const wi=Array.from({length:12},(e,n)=>{const r=ie().month(n).format("MMMM");return r.charAt(0).toUpperCase()+r.slice(1)}),ff=["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"];function pf({props:e,referencia:n,diaSelecionado:r}){const i=l.computed(()=>{const v=e.opcoes;return{rotulo:(v==null?void 0:v.rotulo)??e.rotulo??"Data",placeholder:(v==null?void 0:v.placeholder)??e.placeholder??"",modo:(v==null?void 0:v.modo)??e.modo??"dataHora",limpavel:(v==null?void 0:v.limpavel)??e.limpavel,erro:(v==null?void 0:v.erro)??e.erro,mensagensErro:(v==null?void 0:v.mensagensErro)??e.mensagensErro,dica:(v==null?void 0:v.dica)??e.dica,dicaPersistente:(v==null?void 0:v.dicaPersistente)??e.dicaPersistente,densidade:(v==null?void 0:v.densidade)??e.densidade,variante:(v==null?void 0:v.variante)??e.variante,min:(v==null?void 0:v.min)??e.min,max:(v==null?void 0:v.max)??e.max}}),t=l.computed(()=>i.value.modo??"dataHora"),o=l.computed(()=>!!e.desabilitado),a=l.computed(()=>e.value!==void 0?e.value??null:e.modelValue??null),c=l.computed(()=>a.value),u=l.computed(()=>{const v=i.value.erro?i.value.mensagensErro:null;return v?Array.isArray(v)?v:[v]:[]}),s=l.computed(()=>qn(c.value,t.value)),m=l.computed(()=>wi[n.value.month()]),d=l.computed(()=>n.value.year()),f=l.computed(()=>n.value.month()),p=l.computed(()=>{const v=n.value.year(),D=i.value.min?ie(i.value.min).year():ie().year()-80,z=i.value.max?ie(i.value.max).year():ie().year()+20,S=[];for(let x=Math.min(D,v);x<=Math.max(z,v);x++)S.push(x);return S}),h=l.computed(()=>af(n.value,r.value,i.value.min,i.value.max));return{opcoesEfetivas:i,modoEfetivo:t,desabilitadoEfetivo:o,effectiveModelValue:a,valor:c,mensagensVisiveis:u,valorFormatado:s,nomeMesAtual:m,anoAtual:d,mesAtual:f,listaAnos:p,celulas:h}}ie.locale("pt-br");let gf=0;function vf(e,n){const r=++gf,i=l.ref(!1),t=l.ref(ie()),o=l.ref(null),a=l.ref("00"),c=l.ref("00"),{opcoesEfetivas:u,modoEfetivo:s,desabilitadoEfetivo:m,effectiveModelValue:d,valor:f,mensagensVisiveis:p,valorFormatado:h,nomeMesAtual:v,anoAtual:D,mesAtual:z,listaAnos:S,celulas:x}=pf({props:e,referencia:t,diaSelecionado:o}),{estiloPopover:T,calcularPosicao:U,adicionarListenersPosicao:$,removerListenersPosicao:b}=mf({uid:r,modoEfetivo:s});function k(M){["update:value","input","change","update:modelValue","alterar"].forEach(W=>{n(W,M)})}const{textoDigitado:B,focado:w,onTextInput:A,onInputFocus:ae,onInputBlur:he}=df({modoEfetivo:s,valor:f,horaTemp:a,minutoTemp:c,emitirValor:k,emit:n});l.watch(d,M=>{if(M){const W=ie(M);if(W.isValid()){o.value=W.startOf("day"),t.value=W.startOf("month"),a.value=W.format("HH"),c.value=W.format("mm"),w.value||(B.value=qn(M,s.value));return}}o.value=null,a.value="00",c.value="00",w.value||(B.value="")},{immediate:!0});function I(){m.value||i.value||(i.value=!0,U(),n("foco"),n("focus"),l.nextTick(U),$())}function E(){m.value||(i.value?N():I())}function N(){i.value&&(i.value=!1,b(),n("desfoco"),n("blur"))}function C(M){t.value=t.value.add(M,"month")}function j(M){t.value=t.value.month(M)}function Z(M){t.value=t.value.year(M)}function F(M){if(!M.desabilitado)if(o.value=M.data.startOf("day"),s.value==="data")re();else{const W=Number.parseInt(a.value,10)||0,ce=Number.parseInt(c.value,10)||0;k(o.value.hour(W).minute(ce).second(0).format())}}function G(){const M=ie();o.value=M.startOf("day"),t.value=M.startOf("month"),a.value=M.format("HH"),c.value=M.format("mm");const W=s.value==="data"?M.startOf("day"):M.second(0);k(W.format()),s.value==="data"&&N()}function H(M){if(a.value=M,o.value){const W=Number.parseInt(M,10)||0,ce=Number.parseInt(c.value,10)||0;k(o.value.hour(W).minute(ce).second(0).format())}}function ne(M){if(c.value=M,o.value){const W=Number.parseInt(a.value,10)||0,ce=Number.parseInt(M,10)||0;k(o.value.hour(W).minute(ce).second(0).format())}}function re(){if(!o.value)return;const M=Number.parseInt(a.value,10)||0,W=Number.parseInt(c.value,10)||0,ce=s.value==="data"?o.value.startOf("day"):o.value.hour(M).minute(W).second(0);k(ce.format()),N()}function le(){B.value="",k(null)}function ke(M){var ce,ue;if(!i.value)return;const W=M.target;!((ce=document.getElementById(`eli-dh-campo-${r}`))!=null&&ce.contains(W))&&!((ue=document.getElementById(`eli-dh-popover-${r}`))!=null&&ue.contains(W))&&N()}return l.onMounted(()=>document.addEventListener("click",ke,!0)),l.onBeforeUnmount(()=>{document.removeEventListener("click",ke,!0),b()}),{uid:r,aberto:i,focado:w,textoDigitado:B,estiloPopover:T,referencia:t,diaSelecionado:o,horaTemp:a,minutoTemp:c,opcoesEfetivas:u,modoEfetivo:s,desabilitadoEfetivo:m,valor:f,valorFormatado:h,mensagensVisiveis:p,nomeMesAtual:v,anoAtual:D,mesAtual:z,listaAnos:S,mudarMes:j,mudarAno:Z,celulas:x,abrirSeHabilitado:I,alternarPopover:E,fechar:N,navegarMes:C,selecionarDia:F,definirAgora:G,confirmar:re,limpar:le,onTextInput:A,onInputFocus:ae,onInputBlur:he,atualizarHoraTemp:H,atualizarMinutoTemp:ne}}const hf=l.defineComponent({name:"EliDhCalendario",props:{uid:{type:Number,required:!0},aberto:{type:Boolean,required:!0},estiloPopover:{type:Object,required:!0},rotulo:{type:String,required:!0},modo:{type:String,required:!0},nomeMesAtual:{type:String,required:!0},anoAtual:{type:Number,required:!0},mesAtual:{type:Number,required:!0},listaAnos:{type:Array,required:!0},celulas:{type:Array,required:!0},diaSelecionado:{type:Object,default:null},horaTemp:{type:String,required:!0},minutoTemp:{type:String,required:!0}},emits:{fechar:()=>!0,confirmar:()=>!0,definirAgora:()=>!0,navegarMes:e=>!0,selecionarDia:e=>!0,mudarMes:e=>!0,mudarAno:e=>!0,"update:horaTemp":e=>!0,"update:minutoTemp":e=>!0},setup(e,{emit:n}){function r(a){n("mudarMes",Number.parseInt(a.target.value,10))}function i(a){n("mudarAno",Number.parseInt(a.target.value,10))}function t(a){n("update:horaTemp",a.target.value)}function o(a){n("update:minutoTemp",a.target.value)}return{diasSemana:ff,MESES:wi,OPCOES_HORAS:rf,OPCOES_MINUTOS:of,onMesSelectChange:r,onAnoSelectChange:i,onHoraSelectChange:t,onMinutoSelectChange:o}}}),$f=["id","aria-label"],bf={class:"eli-dh__cal-header"},_f={class:"eli-dh__cal-titulo"},yf={class:"eli-dh__seletores"},kf=["value"],Sf=["value"],wf=["value"],If=["value"],zf={class:"eli-dh__cal-body"},Ef={class:"eli-dh__cal-semana",role:"row"},Nf={class:"eli-dh__cal-grade",role:"grid"},Df=["disabled","tabindex","aria-selected","aria-label","onClick"],Of={key:0,class:"eli-dh__hora-secao"},jf={class:"eli-dh__hora-campos"},Cf=["value","aria-label"],Tf=["value"],xf=["value","aria-label"],Uf=["value"],Af={class:"eli-dh__rodape"},Pf={class:"eli-dh__rodape-acoes"},Vf=["disabled"];function Bf(e,n,r,i,t,o){return l.openBlock(),l.createBlock(l.Teleport,{to:"body"},[l.createVNode(l.Transition,{name:"eli-dh-pop"},{default:l.withCtx(()=>[e.aberto?(l.openBlock(),l.createElementBlock("div",{key:0,id:`eli-dh-popover-${e.uid}`,class:"eli-dh__popover",style:l.normalizeStyle(e.estiloPopover),role:"dialog","aria-label":`Selecionar ${e.rotulo}`,onKeydown:n[13]||(n[13]=l.withKeys(a=>e.$emit("fechar"),["escape"])),onMousedown:n[14]||(n[14]=l.withModifiers(()=>{},["stop"]))},[l.createElementVNode("div",bf,[l.createElementVNode("button",{class:"eli-dh__cal-nav",type:"button",title:"Mês anterior","aria-label":"Mês anterior",onClick:n[0]||(n[0]=a=>e.$emit("navegarMes",-1))},[...n[15]||(n[15]=[l.createElementVNode("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[l.createElementVNode("polyline",{points:"15 18 9 12 15 6"})],-1)])]),l.createElementVNode("div",_f,[l.createElementVNode("div",yf,[l.createElementVNode("select",{value:e.mesAtual,class:"eli-dh__select","aria-label":"Selecionar mês",onChange:n[1]||(n[1]=(...a)=>e.onMesSelectChange&&e.onMesSelectChange(...a))},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.MESES,(a,c)=>(l.openBlock(),l.createElementBlock("option",{key:c,value:c},l.toDisplayString(a),9,Sf))),128))],40,kf),l.createElementVNode("select",{value:e.anoAtual,class:"eli-dh__select","aria-label":"Selecionar ano",onChange:n[2]||(n[2]=(...a)=>e.onAnoSelectChange&&e.onAnoSelectChange(...a))},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.listaAnos,a=>(l.openBlock(),l.createElementBlock("option",{key:a,value:a},l.toDisplayString(a),9,If))),128))],40,wf)])]),l.createElementVNode("button",{class:"eli-dh__cal-nav",type:"button",title:"Próximo mês","aria-label":"Próximo mês",onClick:n[3]||(n[3]=a=>e.$emit("navegarMes",1))},[...n[16]||(n[16]=[l.createElementVNode("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[l.createElementVNode("polyline",{points:"9 18 15 12 9 6"})],-1)])])]),l.createElementVNode("div",zf,[l.createElementVNode("div",Ef,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.diasSemana,a=>(l.openBlock(),l.createElementBlock("div",{key:a,class:"eli-dh__cal-dia-sem",role:"columnheader"},l.toDisplayString(a),1))),128))]),l.createElementVNode("div",Nf,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.celulas,(a,c)=>(l.openBlock(),l.createElementBlock("button",{key:c,class:l.normalizeClass(["eli-dh__cal-dia",{"eli-dh__cal-dia--fora":!a.atual,"eli-dh__cal-dia--hoje":a.hoje,"eli-dh__cal-dia--selecionado":a.selecionado,"eli-dh__cal-dia--desabilitado":a.desabilitado}]),type:"button",disabled:a.desabilitado,tabindex:a.selecionado?0:-1,"aria-selected":a.selecionado,"aria-label":`${a.dia} de ${e.nomeMesAtual} de ${e.anoAtual}`,onClick:u=>e.$emit("selecionarDia",a),onDblclick:n[4]||(n[4]=u=>e.$emit("confirmar"))},l.toDisplayString(a.dia),43,Df))),128))])]),e.modo==="dataHora"?(l.openBlock(),l.createElementBlock("div",Of,[n[18]||(n[18]=l.createElementVNode("div",{class:"eli-dh__hora-rotulo"},[l.createElementVNode("svg",{class:"eli-dh__hora-icone",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[l.createElementVNode("circle",{cx:"12",cy:"12",r:"10"}),l.createElementVNode("polyline",{points:"12 6 12 12 16 14"})]),l.createElementVNode("span",null,"Horário:")],-1)),l.createElementVNode("div",jf,[l.createElementVNode("select",{value:e.horaTemp,class:"eli-dh__hora-select","aria-label":`Selecionar hora de ${e.rotulo}`,onChange:n[5]||(n[5]=(...a)=>e.onHoraSelectChange&&e.onHoraSelectChange(...a)),onClick:n[6]||(n[6]=l.withModifiers(()=>{},["stop"]))},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.OPCOES_HORAS,a=>(l.openBlock(),l.createElementBlock("option",{key:a,value:a},l.toDisplayString(a)+"h",9,Tf))),128))],40,Cf),n[17]||(n[17]=l.createElementVNode("span",{class:"eli-dh__hora-sep","aria-hidden":"true"},":",-1)),l.createElementVNode("select",{value:e.minutoTemp,class:"eli-dh__hora-select","aria-label":`Selecionar minuto de ${e.rotulo}`,onChange:n[7]||(n[7]=(...a)=>e.onMinutoSelectChange&&e.onMinutoSelectChange(...a)),onClick:n[8]||(n[8]=l.withModifiers(()=>{},["stop"]))},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.OPCOES_MINUTOS,a=>(l.openBlock(),l.createElementBlock("option",{key:a,value:a},l.toDisplayString(a)+"m",9,Uf))),128))],40,xf),l.createElementVNode("button",{class:"eli-dh__btn-agora",type:"button",title:"Definir horário atual",onClick:n[9]||(n[9]=a=>e.$emit("definirAgora"))}," Agora ")])])):l.createCommentVNode("",!0),l.createElementVNode("div",Af,[e.modo==="data"?(l.openBlock(),l.createElementBlock("button",{key:0,class:"eli-dh__btn-agora",type:"button",title:"Definir para a data de hoje",onClick:n[10]||(n[10]=a=>e.$emit("definirAgora"))}," Hoje ")):l.createCommentVNode("",!0),l.createElementVNode("div",Pf,[l.createElementVNode("button",{class:"eli-dh__btn eli-dh__btn--cancelar",type:"button",onClick:n[11]||(n[11]=a=>e.$emit("fechar"))},"Cancelar"),l.createElementVNode("button",{class:"eli-dh__btn eli-dh__btn--confirmar",type:"button",disabled:!e.diaSelecionado,onClick:n[12]||(n[12]=a=>e.$emit("confirmar"))},"✓ Confirmar",8,Vf)])])],44,$f)):l.createCommentVNode("",!0)]),_:1})])}const Zf=K(hf,[["render",Bf]]),Mf=l.defineComponent({name:"EliEntradaDataHora",components:{Calendario:Zf},inheritAttrs:!1,props:{value:{type:String,default:void 0},opcoes:{type:Object,required:!1,default:void 0},modelValue:{type:String,default:null},modo:{type:String,default:void 0},rotulo:{type:String,default:void 0},placeholder:{type:String,default:void 0},desabilitado:{type:Boolean,default:void 0},limpavel:{type:Boolean,default:void 0},erro:{type:Boolean,default:void 0},mensagensErro:{type:[String,Array],default:void 0},dica:{type:String,default:void 0},dicaPersistente:{type:Boolean,default:void 0},densidade:{type:String,default:void 0},variante:{type:String,default:void 0},min:{type:String,default:void 0},max:{type:String,default:void 0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,"update:modelValue":e=>!0,alterar:e=>!0,foco:()=>!0,desfoco:()=>!0,focus:()=>!0,blur:()=>!0},setup(e,{emit:n}){return vf(e,(i,t)=>n(i,t))}}),Ff={class:"eli-dh"},Lf=["id"],Rf=["title","disabled"],Jf={class:"eli-dh__conteudo"},qf=["for"],Gf=["id","value","placeholder","disabled","readonly","aria-expanded","aria-label"],Kf=["aria-label"],Wf={key:0,class:"eli-dh__mensagem eli-dh__mensagem--erro",role:"alert"},Xf={key:1,class:"eli-dh__mensagem eli-dh__mensagem--dica"};function Hf(e,n,r,i,t,o){const a=l.resolveComponent("Calendario");return l.openBlock(),l.createElementBlock("div",Ff,[l.createElementVNode("div",{id:`eli-dh-campo-${e.uid}`,class:l.normalizeClass(["eli-dh__campo",{"eli-dh__campo--focado":e.aberto||e.focado,"eli-dh__campo--erro":!!e.opcoesEfetivas.erro,"eli-dh__campo--desabilitado":e.desabilitadoEfetivo}]),onClick:n[8]||(n[8]=(...c)=>e.abrirSeHabilitado&&e.abrirSeHabilitado(...c))},[l.createElementVNode("button",{class:"eli-dh__icone-btn",type:"button",tabindex:"-1",title:`Abrir calendário (${e.opcoesEfetivas.rotulo})`,disabled:e.desabilitadoEfetivo,onClick:n[0]||(n[0]=l.withModifiers((...c)=>e.alternarPopover&&e.alternarPopover(...c),["stop"]))},[...n[9]||(n[9]=[l.createStaticVNode('',1)])],8,Rf),l.createElementVNode("div",Jf,[l.createElementVNode("label",{for:`eli-dh-input-${e.uid}`,class:"eli-dh__rotulo"},l.toDisplayString(e.opcoesEfetivas.rotulo),9,qf),l.createElementVNode("input",{id:`eli-dh-input-${e.uid}`,class:"eli-dh__input",type:"text",inputmode:"numeric",value:e.textoDigitado,placeholder:e.opcoesEfetivas.placeholder||(e.modoEfetivo==="data"?"DD/MM/AAAA":"DD/MM/AAAA HH:mm"),disabled:e.desabilitadoEfetivo,readonly:!!e.opcoesEfetivas.apenasLeitura,"aria-expanded":e.aberto,"aria-haspopup":!0,"aria-label":e.opcoesEfetivas.rotulo,onClick:n[1]||(n[1]=(...c)=>e.abrirSeHabilitado&&e.abrirSeHabilitado(...c)),onInput:n[2]||(n[2]=(...c)=>e.onTextInput&&e.onTextInput(...c)),onBlur:n[3]||(n[3]=(...c)=>e.onInputBlur&&e.onInputBlur(...c)),onFocus:n[4]||(n[4]=(...c)=>e.onInputFocus&&e.onInputFocus(...c)),onKeydown:[n[5]||(n[5]=l.withKeys(l.withModifiers((...c)=>e.abrirSeHabilitado&&e.abrirSeHabilitado(...c),["prevent"]),["down"])),n[6]||(n[6]=l.withKeys((...c)=>e.fechar&&e.fechar(...c),["escape"]))]},null,40,Gf)]),e.opcoesEfetivas.limpavel&&e.valor&&!e.desabilitadoEfetivo?(l.openBlock(),l.createElementBlock("button",{key:0,class:"eli-dh__limpar",type:"button",title:"Limpar","aria-label":`Limpar ${e.opcoesEfetivas.rotulo}`,onClick:n[7]||(n[7]=l.withModifiers((...c)=>e.limpar&&e.limpar(...c),["stop"]))},[...n[10]||(n[10]=[l.createElementVNode("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round",width:"14",height:"14","aria-hidden":"true"},[l.createElementVNode("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),l.createElementVNode("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])],8,Kf)):l.createCommentVNode("",!0)],10,Lf),e.mensagensVisiveis.length?(l.openBlock(),l.createElementBlock("div",Wf,l.toDisplayString(e.mensagensVisiveis[0]),1)):e.opcoesEfetivas.dica&&(e.opcoesEfetivas.dicaPersistente||e.aberto||e.focado)?(l.openBlock(),l.createElementBlock("div",Xf,l.toDisplayString(e.opcoesEfetivas.dica),1)):l.createCommentVNode("",!0),l.createVNode(a,{uid:e.uid,aberto:e.aberto,"estilo-popover":e.estiloPopover,rotulo:e.opcoesEfetivas.rotulo,modo:e.modoEfetivo,"nome-mes-atual":e.nomeMesAtual,"ano-atual":e.anoAtual,"mes-atual":e.mesAtual,"lista-anos":e.listaAnos,celulas:e.celulas,"dia-selecionado":e.diaSelecionado,"hora-temp":e.horaTemp,"minuto-temp":e.minutoTemp,onFechar:e.fechar,onConfirmar:e.confirmar,onNavegarMes:e.navegarMes,onSelecionarDia:e.selecionarDia,onMudarMes:e.mudarMes,onMudarAno:e.mudarAno,"onUpdate:horaTemp":e.atualizarHoraTemp,"onUpdate:minutoTemp":e.atualizarMinutoTemp,onDefinirAgora:e.definirAgora},null,8,["uid","aberto","estilo-popover","rotulo","modo","nome-mes-atual","ano-atual","mes-atual","lista-anos","celulas","dia-selecionado","hora-temp","minuto-temp","onFechar","onConfirmar","onNavegarMes","onSelecionarDia","onMudarMes","onMudarAno","onUpdate:horaTemp","onUpdate:minutoTemp","onDefinirAgora"])])}const Gn=K(Mf,[["render",Hf]]);function Yf(e){if(!Number.isFinite(e)||e<=0||e>=1)return 0;const n=e.toString();if(n.includes("e-")){const[,t]=n.split("e-"),o=Number(t);return Number.isFinite(o)?o:0}const r=n.indexOf(".");return r===-1?0:n.slice(r+1).replace(/0+$/,"").length}function Qf(e){const n=(e??"").trim().replace(/,/g,".");if(!n)return null;const r=Number(n);return Number.isNaN(r)?null:r}function Kn(e,n){return e==null?"":n===null?String(e).replace(/\./g,","):Number(e).toFixed(Math.max(0,n)).replace(/\./g,",")}function Ii(e){return(e??"").replace(/\D+/g,"")}function ep(e){const n=(e??"").replace(/[^0-9.,]+/g,""),r=n.match(/[.,]/);if(!r)return n;const i=r[0],t=n.indexOf(i),o=n.slice(0,t).replace(/[.,]/g,""),a=n.slice(t+1).replace(/[.,]/g,"");return`${o.length?o:"0"}${i}${a}`}function tp(e,n){if(n===null)return e;if(n<=0)return e.replace(/[.,]/g,"");const r=e.match(/[.,]/);if(!r)return e;const i=r[0],t=e.indexOf(i),o=e.slice(0,t),a=e.slice(t+1);return`${o}${i}${a.slice(0,n)}`}function np(e){const n=e.match(/^(\d+)[.,]$/);if(!n)return null;const r=Number(n[1]);return Number.isNaN(r)?null:r}const rp=l.defineComponent({name:"EliEntradaNumero",inheritAttrs:!1,props:{value:{type:[Number,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.computed(()=>{var m;const s=(m=e.opcoes)==null?void 0:m.precisao;return s==null?null:Yf(s)}),t=l.computed(()=>i.value===0),o=l.computed(()=>{const s=i.value;return s!==null&&s>0}),a=l.ref(""),c=l.ref(void 0);l.watch(()=>e.value,s=>{s!==c.value&&(a.value=Kn(s,i.value),c.value=s)},{immediate:!0});function u(s){if(o.value){const p=i.value??0,h=Ii(s),v=h?Number(h):0,D=10**p,z=h?v/D:null,S=z===null?null:z;c.value=S,r("update:value",S),r("input",S),r("change",S),a.value=Kn(S,p);return}const m=t.value?Ii(s):ep(s),d=t.value?m:tp(m,i.value);let f=null;if(d){const h=(t.value?null:np(d))??Qf(d);f=h===null?null:h}c.value=f,r("update:value",f),r("input",f),r("change",f),i.value===null&&d?a.value=d.replace(/\./g,","):a.value=Kn(f,i.value)}return{attrs:n,emit:r,displayValue:a,isInteiro:t,onUpdateModelValue:u}}}),op={class:"eli-entrada__prefixo"},ip={class:"eli-entrada__sufixo"};function ap(e,n,r,i,t,o){var a,c,u,s,m;return l.openBlock(),l.createBlock(Ut.VTextField,l.mergeProps({"model-value":e.displayValue,label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(c=e.opcoes)==null?void 0:c.placeholder,type:e.isInteiro?"number":"text",inputmode:e.isInteiro?"numeric":"decimal",pattern:e.isInteiro?"[0-9]*":"[0-9.,]*",readonly:!!((u=e.opcoes)!=null&&u.apenasLeitura)},e.attrs,{"onUpdate:modelValue":e.onUpdateModelValue,onFocus:n[0]||(n[0]=()=>e.emit("focus")),onBlur:n[1]||(n[1]=()=>e.emit("blur"))}),l.createSlots({_:2},[(s=e.opcoes)!=null&&s.prefixo?{name:"prepend-inner",fn:l.withCtx(()=>[l.createElementVNode("span",op,l.toDisplayString(e.opcoes.prefixo),1)]),key:"0"}:void 0,(m=e.opcoes)!=null&&m.sufixo?{name:"append-inner",fn:l.withCtx(()=>[l.createElementVNode("span",ip,l.toDisplayString(e.opcoes.sufixo),1)]),key:"1"}:void 0]),1040,["model-value","label","placeholder","type","inputmode","pattern","readonly","onUpdate:modelValue"])}const Wn=K(rp,[["render",ap]]),lp=l.defineComponent({name:"EliEntradaParagrafo",components:{VTextarea:et.VTextarea},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.computed({get:()=>e.value,set:t=>{r("update:value",t),r("input",t),r("change",t)}});return{attrs:n,emit:r,localValue:i}}});function cp(e,n,r,i,t,o){var a,c,u,s,m,d,f,p,h,v,D,z,S;return l.openBlock(),l.createBlock(_m.VTextarea,l.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=x=>e.localValue=x),label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(c=e.opcoes)==null?void 0:c.placeholder,rows:((u=e.opcoes)==null?void 0:u.linhas)??4,counter:(s=e.opcoes)==null?void 0:s.limiteCaracteres,maxlength:(m=e.opcoes)==null?void 0:m.limiteCaracteres,clearable:!!((d=e.opcoes)!=null&&d.limpavel),error:!!((f=e.opcoes)!=null&&f.erro),"error-messages":(p=e.opcoes)==null?void 0:p.mensagensErro,hint:(h=e.opcoes)==null?void 0:h.dica,"persistent-hint":!!((v=e.opcoes)!=null&&v.dicaPersistente),density:((D=e.opcoes)==null?void 0:D.densidade)??"comfortable",variant:((z=e.opcoes)==null?void 0:z.variante)??"outlined",readonly:!!((S=e.opcoes)!=null&&S.apenasLeitura),"auto-grow":""},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","rows","counter","maxlength","clearable","error","error-messages","hint","persistent-hint","density","variant","readonly"])}const Xn=K(lp,[["render",cp]]);function zi(e){return e.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").toLowerCase()}function Ei(e,n){return n?zi(e).includes(zi(n)):!0}const sp=l.defineComponent({name:"EliEntradaSelecao",components:{VAutocomplete:et.VAutocomplete},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.ref([]),t=l.ref(!1),o=l.computed({get:()=>e.value,set:u=>{r("update:value",u),r("input",u),r("change",u)}});async function a(){t.value=!0;try{const u=await e.opcoes.itens(),s=Array.isArray(u)?u:[];i.value=[...s]}finally{t.value=!1}}l.watch(()=>e.opcoes.itens,()=>{a()}),l.onMounted(()=>{a()}),l.watch(i,u=>{console.debug("[EliEntradaSelecao] itens:",u)},{deep:!0});const c=l.computed(()=>{var s;const u=(s=e.opcoes)==null?void 0:s.desativado;if(!(!u||u.length===0))return m=>({disabled:u.includes(m.chave)})});return{attrs:n,emit:r,localValue:o,itens:i,carregando:t,itemProps:c,filtroSelecao:Ei}}});function up(e,n,r,i,t,o){var a,c,u,s,m,d,f,p,h,v;return l.openBlock(),l.createBlock(si.VAutocomplete,l.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=D=>e.localValue=D),label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(c=e.opcoes)==null?void 0:c.placeholder,items:e.itens,"item-title":"rotulo","item-value":"chave","item-props":e.itemProps,loading:e.carregando,disabled:e.carregando,"menu-props":{maxHeight:320,zIndex:99999},clearable:!!((u=e.opcoes)!=null&&u.limpavel),error:!!((s=e.opcoes)!=null&&s.erro),"error-messages":(m=e.opcoes)==null?void 0:m.mensagensErro,hint:(d=e.opcoes)==null?void 0:d.dica,"persistent-hint":!!((f=e.opcoes)!=null&&f.dicaPersistente),density:((p=e.opcoes)==null?void 0:p.densidade)??"comfortable",variant:((h=e.opcoes)==null?void 0:h.variante)??"outlined",readonly:!!((v=e.opcoes)!=null&&v.apenasLeitura),"custom-filter":e.filtroSelecao,"auto-select-first":"","no-data-text":"Nenhum resultado encontrado"},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","items","item-props","loading","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant","readonly","custom-filter"])}const Hn=K(sp,[["render",up]]),dp=l.defineComponent({name:"EliEntradaSelecaoMultipla",components:{VAutocomplete:et.VAutocomplete},inheritAttrs:!1,props:{value:{type:[Array,null],default:()=>[]},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.ref([]),t=l.ref(!1),o=l.computed({get:()=>e.value??[],set:u=>{const s=Array.isArray(u)?u:[];r("update:value",s),r("input",s),r("change",s)}});async function a(){t.value=!0;try{const u=await e.opcoes.itens();i.value=[...Array.isArray(u)?u:[]]}finally{t.value=!1}}l.watch(()=>e.opcoes.itens,()=>{a()}),l.onMounted(()=>{a()});const c=l.computed(()=>{var s;const u=(s=e.opcoes)==null?void 0:s.desativado;if(!(!u||u.length===0))return m=>({disabled:u.includes(m.chave)})});return{attrs:n,emit:r,localValue:o,itens:i,carregando:t,itemProps:c,filtroSelecao:Ei}}});function mp(e,n,r,i,t,o){var a,c,u,s,m,d,f,p,h,v;return l.openBlock(),l.createBlock(si.VAutocomplete,l.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=D=>e.localValue=D),label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(c=e.opcoes)==null?void 0:c.placeholder,items:e.itens,"item-title":"rotulo","item-value":"chave","item-props":e.itemProps,loading:e.carregando,disabled:e.carregando,"menu-props":{maxHeight:320,zIndex:99999},clearable:!!((u=e.opcoes)!=null&&u.limpavel),error:!!((s=e.opcoes)!=null&&s.erro),"error-messages":(m=e.opcoes)==null?void 0:m.mensagensErro,hint:(d=e.opcoes)==null?void 0:d.dica,"persistent-hint":!!((f=e.opcoes)!=null&&f.dicaPersistente),density:((p=e.opcoes)==null?void 0:p.densidade)??"comfortable",variant:((h=e.opcoes)==null?void 0:h.variante)??"outlined",multiple:"",chips:"","closable-chips":"","custom-filter":e.filtroSelecao,"no-data-text":"Nenhum resultado encontrado",readonly:!!((v=e.opcoes)!=null&&v.apenasLeitura)},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","items","item-props","loading","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant","custom-filter","readonly"])}const Yn=K(dp,[["render",mp]]);function fp(e){return e.replace(/\D+/g,"")}function pp(e){const n=fp(e);return n?n.replace(/^(\d{5})(\d)/,"$1-$2").slice(0,9):""}function gp(e){return e.replace(/\D+/g,"")}function vp(e){const n=gp(e);return n.length<=11?n.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})$/,"$1-$2").slice(0,14):n.replace(/^(\d{2})(\d)/,"$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3").replace(/\.(\d{3})(\d)/,".$1/$2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,18)}function hp(e){return e.replace(/\D+/g,"")}function $p(e){const n=hp(e);return n?n.length<=10?n.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,14):n.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{5})(\d)/,"$1-$2").slice(0,15):""}const bp=l.defineComponent({name:"EliEntradaTexto",inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.computed(()=>{var s;return((s=e.opcoes)==null?void 0:s.formato)??"texto"}),t=l.computed({get:()=>e.value,set:s=>{r("update:value",s),r("input",s),r("change",s)}}),o=l.computed(()=>i.value==="email"?"email":i.value==="url"?"url":"text"),a=l.computed(()=>{if(i.value==="telefone")return"tel";if(i.value==="cpfCnpj"||i.value==="cep")return"numeric"});function c(s){switch(i.value){case"telefone":return $p(s);case"cpfCnpj":return vp(s);case"cep":return pp(s);default:return s}}function u(s){const m=s.target,d=c(m.value);m.value=d,t.value=d}return{attrs:n,emit:r,localValue:t,inputHtmlType:o,inputMode:a,onInput:u}}});function _p(e,n,r,i,t,o){var a,c,u,s,m;return l.openBlock(),l.createBlock(Ut.VTextField,l.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=d=>e.localValue=d),type:e.inputHtmlType,inputmode:e.inputMode,label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(c=e.opcoes)==null?void 0:c.placeholder,counter:(u=e.opcoes)==null?void 0:u.limiteCaracteres,maxlength:(s=e.opcoes)==null?void 0:s.limiteCaracteres,readonly:!!((m=e.opcoes)!=null&&m.apenasLeitura)},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur")),onInput:e.onInput}),null,16,["modelValue","type","inputmode","label","placeholder","counter","maxlength","readonly","onInput"])}const Zt=K(bp,[["render",_p]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+(function(L,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue"),require("vuetify/components/VBtn"),require("vuetify/components/VBadge"),require("vuetify/components/VCard"),require("vuetify/components"),require("vuetify/components/VSwitch"),require("leaflet"),require("vuetify/components/VIcon"),require("vuetify/components/VTextField"),require("vuetify/components/VTextarea"),require("vuetify/components/VAutocomplete"),require("vuetify/components/VChip"),require("vuetify/components/VGrid")):typeof define=="function"&&define.amd?define(["exports","vue","vuetify/components/VBtn","vuetify/components/VBadge","vuetify/components/VCard","vuetify/components","vuetify/components/VSwitch","leaflet","vuetify/components/VIcon","vuetify/components/VTextField","vuetify/components/VTextarea","vuetify/components/VAutocomplete","vuetify/components/VChip","vuetify/components/VGrid"],l):(L=typeof globalThis<"u"?globalThis:L||self,l(L.eli_vue={},L.Vue,L.VBtn,L.VBadge,L.VCard,L.components,L.VSwitch,L.L,L.VIcon,L.VTextField,L.VTextarea,L.VAutocomplete,L.VChip,L.VGrid))})(this,(function(L,l,Jn,$m,Ne,et,_m,Se,ui,Ut,ym,di,km,Sm){"use strict";const wm=l.defineComponent({name:"EliBotao",inheritAttrs:!1,props:{color:{type:String,default:"primary"},variant:{type:String,default:"elevated"},size:{type:String,default:"default"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}}),W=(e,n)=>{const r=e.__vccOpts||e;for(const[i,t]of n)r[i]=t;return r};function Im(e,n,r,i,t,o){return l.openBlock(),l.createBlock(Jn.VBtn,l.mergeProps({color:e.color,variant:e.variant,size:e.size,disabled:e.disabled,loading:e.loading},e.$attrs,{class:"eli-botao text-none pt-1"}),{default:l.withCtx(()=>[l.renderSlot(e.$slots,"default")]),_:3},16,["color","variant","size","disabled","loading"])}const qn=W(wm,[["render",Im]]),mi={suave:"4px",pill:"10px"},zm=l.defineComponent({name:"EliBadge",inheritAttrs:!1,props:{color:{type:String,default:"primary"},location:{type:String,default:"top right"},offsetX:{type:String,default:"0"},offsetY:{type:String,default:"0"},dot:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},badge:{type:[String,Number],default:void 0},radius:{type:String,default:"suave"}},setup(e){const n=l.computed(()=>e.radius in mi?mi[e.radius]:e.radius),r=l.computed(()=>e.dot||e.badge!==void 0?e.visible:!1),i=l.computed(()=>({"--eli-badge-radius":n.value}));return{showBadge:r,badgeStyle:i}}});function Em(e,n,r,i,t,o){return e.showBadge?(l.openBlock(),l.createBlock($m.VBadge,l.mergeProps({key:0,color:e.color},e.$attrs,{location:e.location,"offset-x":e.offsetX,"offset-y":e.offsetY,dot:e.dot,content:e.badge,style:e.badgeStyle,class:"eli-badge"}),{default:l.withCtx(()=>[l.renderSlot(e.$slots,"default")]),_:3},16,["color","location","offset-x","offset-y","dot","content","style"])):l.renderSlot(e.$slots,"default",{},void 0,void 0,1)}const At=W(zm,[["render",Em]]),Nm=l.defineComponent({name:"EliCartao",components:{EliBadge:At},inheritAttrs:!1,props:{titulo:{type:String,default:""},status:{type:String,required:!0},variant:{type:String,default:"outlined"}},emits:{clicar:e=>!0},setup(e,{emit:n}){const r=l.computed(()=>e.status),i=l.computed(()=>{switch(e.status){case"novo":return"primary";case"rascunho":return"secondary";case"vendido":return"success";case"cancelado":return"error"}}),t=l.computed(()=>`eli-cartao--${e.status}`);function o(){n("clicar",e.status)}return{rotuloStatus:r,corStatus:i,classeStatus:t,onClick:o}}}),Dm={class:"eli-cartao__titulo-texto"},Om={class:"eli-cartao__status"};function jm(e,n,r,i,t,o){const a=l.resolveComponent("EliBadge");return l.openBlock(),l.createBlock(Ne.VCard,l.mergeProps({class:["eli-cartao",e.classeStatus],variant:e.variant},e.$attrs),{default:l.withCtx(()=>[l.createVNode(Ne.VCardTitle,{class:"eli-cartao__titulo"},{default:l.withCtx(()=>[l.createElementVNode("div",Dm,[l.renderSlot(e.$slots,"titulo",{},()=>[l.createTextVNode(l.toDisplayString(e.titulo),1)])]),l.createElementVNode("div",Om,[l.createVNode(a,{badge:e.rotuloStatus,radius:"pill",color:e.corStatus},{default:l.withCtx(()=>[...n[0]||(n[0]=[l.createElementVNode("span",null,null,-1)])]),_:1},8,["badge","color"])])]),_:3}),l.createVNode(Ne.VCardText,{class:"eli-cartao__conteudo"},{default:l.withCtx(()=>[l.renderSlot(e.$slots,"default")]),_:3}),e.$slots.acoes?(l.openBlock(),l.createBlock(Ne.VCardActions,{key:0,class:"eli-cartao__acoes"},{default:l.withCtx(()=>[l.renderSlot(e.$slots,"acoes")]),_:3})):l.createCommentVNode("",!0)]),_:3},16,["variant","class"])}const fi=W(Nm,[["render",jm]]),xm=l.defineComponent({name:"EliEntradaConfirmacao",components:{VSwitch:et.VSwitch},inheritAttrs:!1,props:{value:{type:Boolean,default:!1},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.computed({get:()=>e.value,set:o=>{r("update:value",o),r("input",o),r("change",o)}}),t=l.computed(()=>{var o,a,c;return i.value&&((o=e.opcoes)!=null&&o.rotuloAtivo)?e.opcoes.rotuloAtivo:!i.value&&((a=e.opcoes)!=null&&a.rotuloInativo)?e.opcoes.rotuloInativo:((c=e.opcoes)==null?void 0:c.rotulo)??""});return{attrs:n,emit:r,localValue:i,rotuloExibido:t}}});function Tm(e,n,r,i,t,o){var a,c,u,s;return l.openBlock(),l.createBlock(_m.VSwitch,l.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=m=>e.localValue=m),label:e.rotuloExibido,color:((a=e.opcoes)==null?void 0:a.cor)??"primary",disabled:!!((c=e.opcoes)!=null&&c.desabilitado)||!!((u=e.opcoes)!=null&&u.apenasLeitura),density:((s=e.opcoes)==null?void 0:s.densidade)??"comfortable","hide-details":""},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","color","disabled","density"])}const pi=W(xm,[["render",Tm]]),gi="https://paiol.idz.one/geo",Cm=7,Um=10,Am=13,vi=new Map;async function hi(e){const n=vi.get(e);if(n)return n;try{const r=await fetch(e);if(!r.ok)return null;const i=await r.json();return vi.set(e,i),i}catch{return null}}function Pm(){return{color:"#1565C0",weight:1.5,fillColor:"#42A5F5",fillOpacity:.05,dashArray:"4 4"}}function Vm(){return{color:"#78909C",weight:.8,fillColor:"#B0BEC5",fillOpacity:.03}}function Bm(e){return e>=Am?"municipios_uhd":e>=Um?"municipios_hd":"municipios"}function Zm(e,n){!n.estados&&!n.municipios||Mm(e,n)}async function Mm(e,n){const r=await hi(`${gi}/estados.geojson`);if(!r)return;const i=[],t=Se.geoJSON(r,{style:Pm,onEachFeature:(o,a)=>{var u;const c=String(((u=o.properties)==null?void 0:u.codarea)??"");c&&i.push({codigo:c,bounds:a.getBounds()})}});n.estados&&t.addTo(e),n.municipios&&Fm(e,i)}function Fm(e,n){const r={municipios:Se.layerGroup(),municipios_hd:Se.layerGroup(),municipios_uhd:Se.layerGroup()},i={municipios:new Set,municipios_hd:new Set,municipios_uhd:new Set};let t=null;const o=()=>{const a=e.getZoom();if(a=-90&&e<=90&&n>=-180&&n<=180}function bi(e){return e.toFixed(6).replace(".",",")}function $i(e){if(typeof e=="number")return Number.isNaN(e)?null:e;const n=e.replace(",","."),r=Number.parseFloat(n);return Number.isNaN(r)?null:r}async function _i(){try{return await Gm()}catch{return await Wm()}}function Gm(){return new Promise((e,n)=>{if(!navigator.geolocation)return n(new Error("Geolocation indisponível"));navigator.geolocation.getCurrentPosition(r=>e({latitude:r.coords.latitude,longitude:r.coords.longitude}),r=>n(r),{enableHighAccuracy:!0,timeout:1e4})})}async function Wm(){const e=await fetch("https://ipapi.co/json/");if(!e.ok)throw new Error(`GeoIP falhou: ${e.status}`);const n=await e.json();return{latitude:n.latitude,longitude:n.longitude}}function Km({value:e,opcoes:n,emit:r,mapaRef:i}){const t=l.ref(!1);let o=null,a=null;const c=l.computed(()=>{var b;return((b=n())==null?void 0:b.alturaMapa)??Jm}),u=l.computed(()=>{var b;return((b=n())==null?void 0:b.zoom)??Rm}),s=l.computed(()=>{var b;return!!((b=n())!=null&&b.apenasLeitura)}),m=l.computed(()=>e()!=null),d=l.computed(()=>{const b=e();return b?bi(b.latitude):""}),f=l.computed(()=>{const b=e();return b?bi(b.longitude):""});function p(b,$){if(!qm(b,$))return;const y={formato:"decimal",datum:"EPSG:4326",latitude:Number.parseFloat(b.toFixed(6)),longitude:Number.parseFloat($.toFixed(6))};r("update:value",y),r("input",y),r("change",y)}function h(){r("update:value",null),r("input",null),r("change",null),v()}function v(){a&&o&&(o.removeLayer(a),a=null)}function D(b,$){o&&(a=Se.marker([b,$],{draggable:!s.value}).addTo(o),a.on("dragend",()=>{if(!a)return;const y=a.getLatLng();p(y.lat,y.lng)}),o.setView([b,$],o.getZoom()))}function I(b){var y;const $=$i(b);$!==null&&p($,((y=e())==null?void 0:y.longitude)??Pt.longitude)}function S(b){var y;const $=$i(b);$!==null&&p(((y=e())==null?void 0:y.latitude)??Pt.latitude,$)}function C(b,$){if(!o)return;if(!a){D(b,$);return}const y=a.getLatLng();y.lat===b&&y.lng===$||(a.setLatLng([b,$]),o.setView([b,$],o.getZoom()))}async function T(){t.value=!0;try{const b=await _i();p(b.latitude,b.longitude)}finally{t.value=!1}}async function U(){var z;if(!i.value)return;const b=e(),$=b!=null;let y,B,w=u.value;if($)y=b.latitude,B=b.longitude,w=Math.max(w,13);else try{const E=await _i();y=E.latitude,B=E.longitude,w=13}catch{y=Pt.latitude,B=Pt.longitude}o=Se.map(i.value).setView([y,B],w);const A=Se.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:"© OpenStreetMap",maxZoom:19}),ie=Se.tileLayer("https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",{attribution:"© Esri",maxZoom:19});A.addTo(o),Se.control.layers({Mapa:A,Satélite:ie}).addTo(o),$&&D(b.latitude,b.longitude),o.on("click",E=>{s.value||p(E.latlng.lat,E.latlng.lng)});const fe=(z=n())==null?void 0:z.camadas;fe&&Zm(o,fe)}return l.watch(e,b=>{if(!b){v();return}C(b.latitude,b.longitude)},{deep:!0}),l.onMounted(()=>{if(U(),i.value){const b=new ResizeObserver(()=>o==null?void 0:o.invalidateSize());b.observe(i.value),l.onBeforeUnmount(()=>b.disconnect())}}),l.onBeforeUnmount(()=>{o&&(o.remove(),o=null,a=null)}),{alturaEfetiva:c,geolocalizando:t,possuiValor:m,latDisplay:d,lngDisplay:f,onLatChange:I,onLngChange:S,usarMinhaLocalizacao:T,limpar:h}}const Hm=l.defineComponent({name:"EliEntradaCoordenadas",inheritAttrs:!1,props:{value:{type:Object,default:null},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.ref(null),t=Km({value:()=>e.value,opcoes:()=>e.opcoes,emit:r,mapaRef:i});return{attrs:n,mapaRef:i,...t}}}),Xm={class:"eli-coordenadas"},Ym={key:0,class:"v-label",style:{"margin-bottom":"4px"}},Qm={ref:"mapaRef",style:{width:"100%",height:"100%"}},ef={class:"eli-coordenadas__campos"};function tf(e,n,r,i,t,o){var a,c,u,s,m;return l.openBlock(),l.createElementBlock("div",Xm,[(a=e.opcoes)!=null&&a.rotulo?(l.openBlock(),l.createElementBlock("div",Ym,l.toDisplayString(e.opcoes.rotulo),1)):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"eli-coordenadas__mapa-container",style:l.normalizeStyle({height:`${e.alturaEfetiva}px`})},[l.createElementVNode("div",Qm,null,512)],4),l.createElementVNode("div",ef,[l.createVNode(Ut.VTextField,l.mergeProps({"model-value":e.latDisplay,label:"Latitude",type:"text",inputmode:"decimal",readonly:!!((c=e.opcoes)!=null&&c.apenasLeitura),density:"comfortable",variant:"outlined",class:"eli-coordenadas__campo","hide-details":""},e.attrs,{"onUpdate:modelValue":e.onLatChange}),null,16,["model-value","readonly","onUpdate:modelValue"]),l.createVNode(Ut.VTextField,l.mergeProps({"model-value":e.lngDisplay,label:"Longitude",type:"text",inputmode:"decimal",readonly:!!((u=e.opcoes)!=null&&u.apenasLeitura),density:"comfortable",variant:"outlined",class:"eli-coordenadas__campo","hide-details":""},e.attrs,{"onUpdate:modelValue":e.onLngChange}),null,16,["model-value","readonly","onUpdate:modelValue"]),l.createVNode(Jn.VBtn,{icon:"",variant:"tonal",color:"primary",size:"small",title:"Usar minha localização",loading:e.geolocalizando,disabled:!!((s=e.opcoes)!=null&&s.apenasLeitura),onClick:e.usarMinhaLocalizacao},{default:l.withCtx(()=>[l.createVNode(ui.VIcon,null,{default:l.withCtx(()=>[...n[0]||(n[0]=[l.createTextVNode("mdi-crosshairs-gps",-1)])]),_:1})]),_:1},8,["loading","disabled","onClick"]),e.possuiValor&&!((m=e.opcoes)!=null&&m.apenasLeitura)?(l.openBlock(),l.createBlock(Jn.VBtn,{key:0,icon:"",variant:"tonal",color:"error",size:"small",title:"Limpar localização",onClick:e.limpar},{default:l.withCtx(()=>[l.createVNode(ui.VIcon,null,{default:l.withCtx(()=>[...n[1]||(n[1]=[l.createTextVNode("mdi-close",-1)])]),_:1})]),_:1},8,["onClick"])):l.createCommentVNode("",!0)])])}const yi=W(Hm,[["render",tf]]);function ki(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vt={exports:{}},nf=Vt.exports,Si;function wi(){return Si||(Si=1,(function(e,n){(function(r,i){e.exports=i()})(nf,(function(){var r=1e3,i=6e4,t=36e5,o="millisecond",a="second",c="minute",u="hour",s="day",m="week",d="month",f="quarter",p="year",h="date",v="Invalid Date",D=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(z){var E=["th","st","nd","rd"],N=z%100;return"["+z+(E[(N-20)%10]||E[N]||E[0])+"]"}},C=function(z,E,N){var x=String(z);return!x||x.length>=E?z:""+Array(E+1-x.length).join(N)+z},T={s:C,z:function(z){var E=-z.utcOffset(),N=Math.abs(E),x=Math.floor(N/60),j=N%60;return(E<=0?"+":"-")+C(x,2,"0")+":"+C(j,2,"0")},m:function z(E,N){if(E.date()1)return z(F[0])}else{var G=E.name;b[G]=E,j=G}return!x&&j&&(U=j),j||!x&&U},w=function(z,E){if(y(z))return z.clone();var N=typeof E=="object"?E:{};return N.date=z,N.args=arguments,new ie(N)},A=T;A.l=B,A.i=y,A.w=function(z,E){return w(z,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var ie=(function(){function z(N){this.$L=B(N.locale,null,!0),this.parse(N),this.$x=this.$x||N.x||{},this[$]=!0}var E=z.prototype;return E.parse=function(N){this.$d=(function(x){var j=x.date,Z=x.utc;if(j===null)return new Date(NaN);if(A.u(j))return new Date;if(j instanceof Date)return new Date(j);if(typeof j=="string"&&!/Z$/i.test(j)){var F=j.match(D);if(F){var G=F[2]-1||0,X=(F[7]||"0").substring(0,3);return Z?new Date(Date.UTC(F[1],G,F[3]||1,F[4]||0,F[5]||0,F[6]||0,X)):new Date(F[1],G,F[3]||1,F[4]||0,F[5]||0,F[6]||0,X)}}return new Date(j)})(N),this.init()},E.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},E.$utils=function(){return A},E.isValid=function(){return this.$d.toString()!==v},E.isSame=function(N,x){var j=w(N);return this.startOf(x)<=j&&j<=this.endOf(x)},E.isAfter=function(N,x){return w(N)String(n).padStart(2,"0")),af=Array.from({length:60},(e,n)=>String(n).padStart(2,"0"));function lf(e,n,r,i){const t=e.startOf("month"),o=e.endOf("month"),a=ae(),c=r?ae(r).startOf("day"):null,u=i?ae(i).startOf("day"):null,s=[];for(let d=t.day()-1;d>=0;d--){const f=t.subtract(d+1,"day");s.push({dia:f.date(),data:f,atual:!1,hoje:!1,selecionado:!1,desabilitado:!0})}for(let d=t;d.isBefore(o)||d.isSame(o,"day");d=d.add(1,"day"))s.push({dia:d.date(),data:d,atual:!0,hoje:d.isSame(a,"day"),selecionado:n!==null&&d.isSame(n,"day"),desabilitado:c!==null&&d.isBefore(c)||u!==null&&d.isAfter(u)});let m=1;for(;s.length<42;){const d=o.add(m++,"day");s.push({dia:d.date(),data:d,atual:!1,hoje:!1,selecionado:!1,desabilitado:!0})}return s}function Gn(e,n){if(!e)return"";const r=ae(e);return r.isValid()?n==="data"?r.format("DD/MM/YYYY"):r.format("DD/MM/YYYY HH:mm"):""}function cf(e,n){const r=e.replace(/\D/g,"");if(!r)return"";const i=r.slice(0,2),t=r.slice(2,4),o=r.slice(4,8),a=r.slice(8,10),c=r.slice(10,12);let u=i;return t&&(u+=`/${t}`),o&&(u+=`/${o}`),n==="dataHora"&&(a&&(u+=` ${a}`),c&&(u+=`:${c}`)),u}function sf(e,n,r){const i=e.replace(/\D/g,"");if(i.length<8)return null;const t=Number.parseInt(i.slice(0,2),10),o=Number.parseInt(i.slice(2,4),10),a=Number.parseInt(i.slice(4,8),10);if(o<1||o>12||t<1||t>31||a<1900||a>2100)return null;let c=0,u=0;n==="dataHora"&&(i.length>=10?c=Math.min(23,Number.parseInt(i.slice(8,10),10)||0):r&&(c=Number.parseInt(r.hora,10)||0),i.length>=12?u=Math.min(59,Number.parseInt(i.slice(10,12),10)||0):r&&(u=Number.parseInt(r.minuto,10)||0));const s=`${a}-${String(o).padStart(2,"0")}-${String(t).padStart(2,"0")}T${String(c).padStart(2,"0")}:${String(u).padStart(2,"0")}:00`,m=ae(s);return m.isValid()?m.format():null}var Bt={exports:{}},uf=Bt.exports,Ii;function df(){return Ii||(Ii=1,(function(e,n){(function(r,i){e.exports=i(wi())})(uf,(function(r){function i(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var t=i(r),o={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(a){return a+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return t.default.locale(o,null,!0),o}))})(Bt)),Bt.exports}df();function mf({modoEfetivo:e,valor:n,horaTemp:r,minutoTemp:i,emitirValor:t,emit:o}){const a=l.ref(""),c=l.ref(!1);function u(d){const f=d.target.value,p=cf(f,e.value);if(a.value=p,d.target.value=p,!p){t(null);return}const h=sf(p,e.value,{hora:r.value,minuto:i.value});if(h){const v=p.replace(/\D/g,"");e.value==="dataHora"&&(v.length>=10&&(r.value=String(Math.min(23,Number.parseInt(v.slice(8,10),10)||0)).padStart(2,"0")),v.length>=12&&(i.value=String(Math.min(59,Number.parseInt(v.slice(10,12),10)||0)).padStart(2,"0"))),t(h)}}function s(){c.value=!0,o("foco"),o("focus")}function m(){c.value=!1,n.value?a.value=Gn(n.value,e.value):a.value="",o("desfoco"),o("blur")}return{textoDigitado:a,focado:c,onTextInput:u,onInputFocus:s,onInputBlur:m}}function ff({uid:e,modoEfetivo:n}){const r=l.ref({});function i(){const a=document.getElementById(`eli-dh-campo-${e}`);if(!a)return;const c=a.getBoundingClientRect(),u=n.value==="dataHora"?380:320;let s=c.bottom+6;c.bottom+u>window.innerHeight&&c.top-u>0&&(s=c.top-u-6);let m=c.left;m+316>window.innerWidth-8&&(m=Math.max(8,c.right-316)),r.value={position:"fixed",top:`${s}px`,left:`${m}px`}}function t(){window.addEventListener("scroll",i,!0),window.addEventListener("resize",i)}function o(){window.removeEventListener("scroll",i,!0),window.removeEventListener("resize",i)}return{estiloPopover:r,calcularPosicao:i,adicionarListenersPosicao:t,removerListenersPosicao:o}}const zi=Array.from({length:12},(e,n)=>{const r=ae().month(n).format("MMMM");return r.charAt(0).toUpperCase()+r.slice(1)}),pf=["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"];function gf({props:e,referencia:n,diaSelecionado:r}){const i=l.computed(()=>{const v=e.opcoes;return{rotulo:(v==null?void 0:v.rotulo)??e.rotulo??"Data",placeholder:(v==null?void 0:v.placeholder)??e.placeholder??"",modo:(v==null?void 0:v.modo)??e.modo??"dataHora",limpavel:(v==null?void 0:v.limpavel)??e.limpavel,erro:(v==null?void 0:v.erro)??e.erro,mensagensErro:(v==null?void 0:v.mensagensErro)??e.mensagensErro,dica:(v==null?void 0:v.dica)??e.dica,dicaPersistente:(v==null?void 0:v.dicaPersistente)??e.dicaPersistente,densidade:(v==null?void 0:v.densidade)??e.densidade,variante:(v==null?void 0:v.variante)??e.variante,min:(v==null?void 0:v.min)??e.min,max:(v==null?void 0:v.max)??e.max}}),t=l.computed(()=>i.value.modo??"dataHora"),o=l.computed(()=>!!e.desabilitado),a=l.computed(()=>e.value!==void 0?e.value??null:e.modelValue??null),c=l.computed(()=>a.value),u=l.computed(()=>{const v=i.value.erro?i.value.mensagensErro:null;return v?Array.isArray(v)?v:[v]:[]}),s=l.computed(()=>Gn(c.value,t.value)),m=l.computed(()=>zi[n.value.month()]),d=l.computed(()=>n.value.year()),f=l.computed(()=>n.value.month()),p=l.computed(()=>{const v=n.value.year(),D=i.value.min?ae(i.value.min).year():ae().year()-80,I=i.value.max?ae(i.value.max).year():ae().year()+20,S=[];for(let C=Math.min(D,v);C<=Math.max(I,v);C++)S.push(C);return S}),h=l.computed(()=>lf(n.value,r.value,i.value.min,i.value.max));return{opcoesEfetivas:i,modoEfetivo:t,desabilitadoEfetivo:o,effectiveModelValue:a,valor:c,mensagensVisiveis:u,valorFormatado:s,nomeMesAtual:m,anoAtual:d,mesAtual:f,listaAnos:p,celulas:h}}ae.locale("pt-br");let vf=0;function hf(e,n){const r=++vf,i=l.ref(!1),t=l.ref(ae()),o=l.ref(null),a=l.ref("00"),c=l.ref("00"),{opcoesEfetivas:u,modoEfetivo:s,desabilitadoEfetivo:m,effectiveModelValue:d,valor:f,mensagensVisiveis:p,valorFormatado:h,nomeMesAtual:v,anoAtual:D,mesAtual:I,listaAnos:S,celulas:C}=gf({props:e,referencia:t,diaSelecionado:o}),{estiloPopover:T,calcularPosicao:U,adicionarListenersPosicao:b,removerListenersPosicao:$}=ff({uid:r,modoEfetivo:s});function y(M){["update:value","input","change","update:modelValue","alterar"].forEach(K=>{n(K,M)})}const{textoDigitado:B,focado:w,onTextInput:A,onInputFocus:ie,onInputBlur:fe}=mf({modoEfetivo:s,valor:f,horaTemp:a,minutoTemp:c,emitirValor:y,emit:n});l.watch(d,M=>{if(M){const K=ae(M);if(K.isValid()){o.value=K.startOf("day"),t.value=K.startOf("month"),a.value=K.format("HH"),c.value=K.format("mm"),w.value||(B.value=Gn(M,s.value));return}}o.value=null,a.value="00",c.value="00",w.value||(B.value="")},{immediate:!0});function z(){m.value||i.value||(i.value=!0,U(),n("foco"),n("focus"),l.nextTick(U),b())}function E(){m.value||(i.value?N():z())}function N(){i.value&&(i.value=!1,$(),n("desfoco"),n("blur"))}function x(M){t.value=t.value.add(M,"month")}function j(M){t.value=t.value.month(M)}function Z(M){t.value=t.value.year(M)}function F(M){if(!M.desabilitado)if(o.value=M.data.startOf("day"),s.value==="data")re();else{const K=Number.parseInt(a.value,10)||0,ce=Number.parseInt(c.value,10)||0;y(o.value.hour(K).minute(ce).second(0).format())}}function G(){const M=ae();o.value=M.startOf("day"),t.value=M.startOf("month"),a.value=M.format("HH"),c.value=M.format("mm");const K=s.value==="data"?M.startOf("day"):M.second(0);y(K.format()),s.value==="data"&&N()}function X(M){if(a.value=M,o.value){const K=Number.parseInt(M,10)||0,ce=Number.parseInt(c.value,10)||0;y(o.value.hour(K).minute(ce).second(0).format())}}function ne(M){if(c.value=M,o.value){const K=Number.parseInt(a.value,10)||0,ce=Number.parseInt(M,10)||0;y(o.value.hour(K).minute(ce).second(0).format())}}function re(){if(!o.value)return;const M=Number.parseInt(a.value,10)||0,K=Number.parseInt(c.value,10)||0,ce=s.value==="data"?o.value.startOf("day"):o.value.hour(M).minute(K).second(0);y(ce.format()),N()}function le(){B.value="",y(null)}function ke(M){var ce,ue;if(!i.value)return;const K=M.target;!((ce=document.getElementById(`eli-dh-campo-${r}`))!=null&&ce.contains(K))&&!((ue=document.getElementById(`eli-dh-popover-${r}`))!=null&&ue.contains(K))&&N()}return l.onMounted(()=>document.addEventListener("click",ke,!0)),l.onBeforeUnmount(()=>{document.removeEventListener("click",ke,!0),$()}),{uid:r,aberto:i,focado:w,textoDigitado:B,estiloPopover:T,referencia:t,diaSelecionado:o,horaTemp:a,minutoTemp:c,opcoesEfetivas:u,modoEfetivo:s,desabilitadoEfetivo:m,valor:f,valorFormatado:h,mensagensVisiveis:p,nomeMesAtual:v,anoAtual:D,mesAtual:I,listaAnos:S,mudarMes:j,mudarAno:Z,celulas:C,abrirSeHabilitado:z,alternarPopover:E,fechar:N,navegarMes:x,selecionarDia:F,definirAgora:G,confirmar:re,limpar:le,onTextInput:A,onInputFocus:ie,onInputBlur:fe,atualizarHoraTemp:X,atualizarMinutoTemp:ne}}const bf=l.defineComponent({name:"EliDhCalendario",props:{uid:{type:Number,required:!0},aberto:{type:Boolean,required:!0},estiloPopover:{type:Object,required:!0},rotulo:{type:String,required:!0},modo:{type:String,required:!0},nomeMesAtual:{type:String,required:!0},anoAtual:{type:Number,required:!0},mesAtual:{type:Number,required:!0},listaAnos:{type:Array,required:!0},celulas:{type:Array,required:!0},diaSelecionado:{type:Object,default:null},horaTemp:{type:String,required:!0},minutoTemp:{type:String,required:!0}},emits:{fechar:()=>!0,confirmar:()=>!0,definirAgora:()=>!0,navegarMes:e=>!0,selecionarDia:e=>!0,mudarMes:e=>!0,mudarAno:e=>!0,"update:horaTemp":e=>!0,"update:minutoTemp":e=>!0},setup(e,{emit:n}){function r(a){n("mudarMes",Number.parseInt(a.target.value,10))}function i(a){n("mudarAno",Number.parseInt(a.target.value,10))}function t(a){n("update:horaTemp",a.target.value)}function o(a){n("update:minutoTemp",a.target.value)}return{diasSemana:pf,MESES:zi,OPCOES_HORAS:of,OPCOES_MINUTOS:af,onMesSelectChange:r,onAnoSelectChange:i,onHoraSelectChange:t,onMinutoSelectChange:o}}}),$f=["id","aria-label"],_f={class:"eli-dh__cal-header"},yf={class:"eli-dh__cal-titulo"},kf={class:"eli-dh__seletores"},Sf=["value"],wf=["value"],If=["value"],zf=["value"],Ef={class:"eli-dh__cal-body"},Nf={class:"eli-dh__cal-semana",role:"row"},Df={class:"eli-dh__cal-grade",role:"grid"},Of=["disabled","tabindex","aria-selected","aria-label","onClick"],jf={key:0,class:"eli-dh__hora-secao"},xf={class:"eli-dh__hora-campos"},Tf=["value","aria-label"],Cf=["value"],Uf=["value","aria-label"],Af=["value"],Pf={class:"eli-dh__rodape"},Vf={class:"eli-dh__rodape-acoes"},Bf=["disabled"];function Zf(e,n,r,i,t,o){return l.openBlock(),l.createBlock(l.Teleport,{to:"body"},[l.createVNode(l.Transition,{name:"eli-dh-pop"},{default:l.withCtx(()=>[e.aberto?(l.openBlock(),l.createElementBlock("div",{key:0,id:`eli-dh-popover-${e.uid}`,class:"eli-dh__popover",style:l.normalizeStyle(e.estiloPopover),role:"dialog","aria-label":`Selecionar ${e.rotulo}`,onKeydown:n[13]||(n[13]=l.withKeys(a=>e.$emit("fechar"),["escape"])),onMousedown:n[14]||(n[14]=l.withModifiers(()=>{},["stop"]))},[l.createElementVNode("div",_f,[l.createElementVNode("button",{class:"eli-dh__cal-nav",type:"button",title:"Mês anterior","aria-label":"Mês anterior",onClick:n[0]||(n[0]=a=>e.$emit("navegarMes",-1))},[...n[15]||(n[15]=[l.createElementVNode("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[l.createElementVNode("polyline",{points:"15 18 9 12 15 6"})],-1)])]),l.createElementVNode("div",yf,[l.createElementVNode("div",kf,[l.createElementVNode("select",{value:e.mesAtual,class:"eli-dh__select","aria-label":"Selecionar mês",onChange:n[1]||(n[1]=(...a)=>e.onMesSelectChange&&e.onMesSelectChange(...a))},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.MESES,(a,c)=>(l.openBlock(),l.createElementBlock("option",{key:c,value:c},l.toDisplayString(a),9,wf))),128))],40,Sf),l.createElementVNode("select",{value:e.anoAtual,class:"eli-dh__select","aria-label":"Selecionar ano",onChange:n[2]||(n[2]=(...a)=>e.onAnoSelectChange&&e.onAnoSelectChange(...a))},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.listaAnos,a=>(l.openBlock(),l.createElementBlock("option",{key:a,value:a},l.toDisplayString(a),9,zf))),128))],40,If)])]),l.createElementVNode("button",{class:"eli-dh__cal-nav",type:"button",title:"Próximo mês","aria-label":"Próximo mês",onClick:n[3]||(n[3]=a=>e.$emit("navegarMes",1))},[...n[16]||(n[16]=[l.createElementVNode("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[l.createElementVNode("polyline",{points:"9 18 15 12 9 6"})],-1)])])]),l.createElementVNode("div",Ef,[l.createElementVNode("div",Nf,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.diasSemana,a=>(l.openBlock(),l.createElementBlock("div",{key:a,class:"eli-dh__cal-dia-sem",role:"columnheader"},l.toDisplayString(a),1))),128))]),l.createElementVNode("div",Df,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.celulas,(a,c)=>(l.openBlock(),l.createElementBlock("button",{key:c,class:l.normalizeClass(["eli-dh__cal-dia",{"eli-dh__cal-dia--fora":!a.atual,"eli-dh__cal-dia--hoje":a.hoje,"eli-dh__cal-dia--selecionado":a.selecionado,"eli-dh__cal-dia--desabilitado":a.desabilitado}]),type:"button",disabled:a.desabilitado,tabindex:a.selecionado?0:-1,"aria-selected":a.selecionado,"aria-label":`${a.dia} de ${e.nomeMesAtual} de ${e.anoAtual}`,onClick:u=>e.$emit("selecionarDia",a),onDblclick:n[4]||(n[4]=u=>e.$emit("confirmar"))},l.toDisplayString(a.dia),43,Of))),128))])]),e.modo==="dataHora"?(l.openBlock(),l.createElementBlock("div",jf,[n[18]||(n[18]=l.createElementVNode("div",{class:"eli-dh__hora-rotulo"},[l.createElementVNode("svg",{class:"eli-dh__hora-icone",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[l.createElementVNode("circle",{cx:"12",cy:"12",r:"10"}),l.createElementVNode("polyline",{points:"12 6 12 12 16 14"})]),l.createElementVNode("span",null,"Horário:")],-1)),l.createElementVNode("div",xf,[l.createElementVNode("select",{value:e.horaTemp,class:"eli-dh__hora-select","aria-label":`Selecionar hora de ${e.rotulo}`,onChange:n[5]||(n[5]=(...a)=>e.onHoraSelectChange&&e.onHoraSelectChange(...a)),onClick:n[6]||(n[6]=l.withModifiers(()=>{},["stop"]))},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.OPCOES_HORAS,a=>(l.openBlock(),l.createElementBlock("option",{key:a,value:a},l.toDisplayString(a)+"h",9,Cf))),128))],40,Tf),n[17]||(n[17]=l.createElementVNode("span",{class:"eli-dh__hora-sep","aria-hidden":"true"},":",-1)),l.createElementVNode("select",{value:e.minutoTemp,class:"eli-dh__hora-select","aria-label":`Selecionar minuto de ${e.rotulo}`,onChange:n[7]||(n[7]=(...a)=>e.onMinutoSelectChange&&e.onMinutoSelectChange(...a)),onClick:n[8]||(n[8]=l.withModifiers(()=>{},["stop"]))},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.OPCOES_MINUTOS,a=>(l.openBlock(),l.createElementBlock("option",{key:a,value:a},l.toDisplayString(a)+"m",9,Af))),128))],40,Uf),l.createElementVNode("button",{class:"eli-dh__btn-agora",type:"button",title:"Definir horário atual",onClick:n[9]||(n[9]=a=>e.$emit("definirAgora"))}," Agora ")])])):l.createCommentVNode("",!0),l.createElementVNode("div",Pf,[e.modo==="data"?(l.openBlock(),l.createElementBlock("button",{key:0,class:"eli-dh__btn-agora",type:"button",title:"Definir para a data de hoje",onClick:n[10]||(n[10]=a=>e.$emit("definirAgora"))}," Hoje ")):l.createCommentVNode("",!0),l.createElementVNode("div",Vf,[l.createElementVNode("button",{class:"eli-dh__btn eli-dh__btn--cancelar",type:"button",onClick:n[11]||(n[11]=a=>e.$emit("fechar"))},"Cancelar"),l.createElementVNode("button",{class:"eli-dh__btn eli-dh__btn--confirmar",type:"button",disabled:!e.diaSelecionado,onClick:n[12]||(n[12]=a=>e.$emit("confirmar"))},"✓ Confirmar",8,Bf)])])],44,$f)):l.createCommentVNode("",!0)]),_:1})])}const Mf=W(bf,[["render",Zf]]),Ff=l.defineComponent({name:"EliEntradaDataHora",components:{Calendario:Mf},inheritAttrs:!1,props:{value:{type:String,default:void 0},opcoes:{type:Object,required:!1,default:void 0},modelValue:{type:String,default:null},modo:{type:String,default:void 0},rotulo:{type:String,default:void 0},placeholder:{type:String,default:void 0},desabilitado:{type:Boolean,default:void 0},limpavel:{type:Boolean,default:void 0},erro:{type:Boolean,default:void 0},mensagensErro:{type:[String,Array],default:void 0},dica:{type:String,default:void 0},dicaPersistente:{type:Boolean,default:void 0},densidade:{type:String,default:void 0},variante:{type:String,default:void 0},min:{type:String,default:void 0},max:{type:String,default:void 0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,"update:modelValue":e=>!0,alterar:e=>!0,foco:()=>!0,desfoco:()=>!0,focus:()=>!0,blur:()=>!0},setup(e,{emit:n}){return hf(e,(i,t)=>n(i,t))}}),Lf={class:"eli-dh"},Rf=["id"],Jf=["title","disabled"],qf={class:"eli-dh__conteudo"},Gf=["for"],Wf=["id","value","placeholder","disabled","readonly","aria-expanded","aria-label"],Kf=["aria-label"],Hf={key:0,class:"eli-dh__mensagem eli-dh__mensagem--erro",role:"alert"},Xf={key:1,class:"eli-dh__mensagem eli-dh__mensagem--dica"};function Yf(e,n,r,i,t,o){const a=l.resolveComponent("Calendario");return l.openBlock(),l.createElementBlock("div",Lf,[l.createElementVNode("div",{id:`eli-dh-campo-${e.uid}`,class:l.normalizeClass(["eli-dh__campo",{"eli-dh__campo--focado":e.aberto||e.focado,"eli-dh__campo--erro":!!e.opcoesEfetivas.erro,"eli-dh__campo--desabilitado":e.desabilitadoEfetivo}]),onClick:n[8]||(n[8]=(...c)=>e.abrirSeHabilitado&&e.abrirSeHabilitado(...c))},[l.createElementVNode("button",{class:"eli-dh__icone-btn",type:"button",tabindex:"-1",title:`Abrir calendário (${e.opcoesEfetivas.rotulo})`,disabled:e.desabilitadoEfetivo,onClick:n[0]||(n[0]=l.withModifiers((...c)=>e.alternarPopover&&e.alternarPopover(...c),["stop"]))},[...n[9]||(n[9]=[l.createStaticVNode('',1)])],8,Jf),l.createElementVNode("div",qf,[l.createElementVNode("label",{for:`eli-dh-input-${e.uid}`,class:"eli-dh__rotulo"},l.toDisplayString(e.opcoesEfetivas.rotulo),9,Gf),l.createElementVNode("input",{id:`eli-dh-input-${e.uid}`,class:"eli-dh__input",type:"text",inputmode:"numeric",value:e.textoDigitado,placeholder:e.opcoesEfetivas.placeholder||(e.modoEfetivo==="data"?"DD/MM/AAAA":"DD/MM/AAAA HH:mm"),disabled:e.desabilitadoEfetivo,readonly:!!e.opcoesEfetivas.apenasLeitura,"aria-expanded":e.aberto,"aria-haspopup":!0,"aria-label":e.opcoesEfetivas.rotulo,onClick:n[1]||(n[1]=(...c)=>e.abrirSeHabilitado&&e.abrirSeHabilitado(...c)),onInput:n[2]||(n[2]=(...c)=>e.onTextInput&&e.onTextInput(...c)),onBlur:n[3]||(n[3]=(...c)=>e.onInputBlur&&e.onInputBlur(...c)),onFocus:n[4]||(n[4]=(...c)=>e.onInputFocus&&e.onInputFocus(...c)),onKeydown:[n[5]||(n[5]=l.withKeys(l.withModifiers((...c)=>e.abrirSeHabilitado&&e.abrirSeHabilitado(...c),["prevent"]),["down"])),n[6]||(n[6]=l.withKeys((...c)=>e.fechar&&e.fechar(...c),["escape"]))]},null,40,Wf)]),e.opcoesEfetivas.limpavel&&e.valor&&!e.desabilitadoEfetivo?(l.openBlock(),l.createElementBlock("button",{key:0,class:"eli-dh__limpar",type:"button",title:"Limpar","aria-label":`Limpar ${e.opcoesEfetivas.rotulo}`,onClick:n[7]||(n[7]=l.withModifiers((...c)=>e.limpar&&e.limpar(...c),["stop"]))},[...n[10]||(n[10]=[l.createElementVNode("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round",width:"14",height:"14","aria-hidden":"true"},[l.createElementVNode("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),l.createElementVNode("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])],8,Kf)):l.createCommentVNode("",!0)],10,Rf),e.mensagensVisiveis.length?(l.openBlock(),l.createElementBlock("div",Hf,l.toDisplayString(e.mensagensVisiveis[0]),1)):e.opcoesEfetivas.dica&&(e.opcoesEfetivas.dicaPersistente||e.aberto||e.focado)?(l.openBlock(),l.createElementBlock("div",Xf,l.toDisplayString(e.opcoesEfetivas.dica),1)):l.createCommentVNode("",!0),l.createVNode(a,{uid:e.uid,aberto:e.aberto,"estilo-popover":e.estiloPopover,rotulo:e.opcoesEfetivas.rotulo,modo:e.modoEfetivo,"nome-mes-atual":e.nomeMesAtual,"ano-atual":e.anoAtual,"mes-atual":e.mesAtual,"lista-anos":e.listaAnos,celulas:e.celulas,"dia-selecionado":e.diaSelecionado,"hora-temp":e.horaTemp,"minuto-temp":e.minutoTemp,onFechar:e.fechar,onConfirmar:e.confirmar,onNavegarMes:e.navegarMes,onSelecionarDia:e.selecionarDia,onMudarMes:e.mudarMes,onMudarAno:e.mudarAno,"onUpdate:horaTemp":e.atualizarHoraTemp,"onUpdate:minutoTemp":e.atualizarMinutoTemp,onDefinirAgora:e.definirAgora},null,8,["uid","aberto","estilo-popover","rotulo","modo","nome-mes-atual","ano-atual","mes-atual","lista-anos","celulas","dia-selecionado","hora-temp","minuto-temp","onFechar","onConfirmar","onNavegarMes","onSelecionarDia","onMudarMes","onMudarAno","onUpdate:horaTemp","onUpdate:minutoTemp","onDefinirAgora"])])}const Wn=W(Ff,[["render",Yf]]);function Qf(e){if(!Number.isFinite(e)||e<=0||e>=1)return 0;const n=e.toString();if(n.includes("e-")){const[,t]=n.split("e-"),o=Number(t);return Number.isFinite(o)?o:0}const r=n.indexOf(".");return r===-1?0:n.slice(r+1).replace(/0+$/,"").length}function ep(e){const n=(e??"").trim().replace(/,/g,".");if(!n)return null;const r=Number(n);return Number.isNaN(r)?null:r}function Kn(e,n){return e==null?"":n===null?String(e).replace(/\./g,","):Number(e).toFixed(Math.max(0,n)).replace(/\./g,",")}function Ei(e){return(e??"").replace(/\D+/g,"")}function tp(e){const n=(e??"").replace(/[^0-9.,]+/g,""),r=n.match(/[.,]/);if(!r)return n;const i=r[0],t=n.indexOf(i),o=n.slice(0,t).replace(/[.,]/g,""),a=n.slice(t+1).replace(/[.,]/g,"");return`${o.length?o:"0"}${i}${a}`}function np(e,n){if(n===null)return e;if(n<=0)return e.replace(/[.,]/g,"");const r=e.match(/[.,]/);if(!r)return e;const i=r[0],t=e.indexOf(i),o=e.slice(0,t),a=e.slice(t+1);return`${o}${i}${a.slice(0,n)}`}function rp(e){const n=e.match(/^(\d+)[.,]$/);if(!n)return null;const r=Number(n[1]);return Number.isNaN(r)?null:r}const op=l.defineComponent({name:"EliEntradaNumero",inheritAttrs:!1,props:{value:{type:[Number,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.computed(()=>{var m;const s=(m=e.opcoes)==null?void 0:m.precisao;return s==null?null:Qf(s)}),t=l.computed(()=>i.value===0),o=l.computed(()=>{const s=i.value;return s!==null&&s>0}),a=l.ref(""),c=l.ref(void 0);l.watch(()=>e.value,s=>{s!==c.value&&(a.value=Kn(s,i.value),c.value=s)},{immediate:!0});function u(s){if(o.value){const p=i.value??0,h=Ei(s),v=h?Number(h):0,D=10**p,I=h?v/D:null,S=I===null?null:I;c.value=S,r("update:value",S),r("input",S),r("change",S),a.value=Kn(S,p);return}const m=t.value?Ei(s):tp(s),d=t.value?m:np(m,i.value);let f=null;if(d){const h=(t.value?null:rp(d))??ep(d);f=h===null?null:h}c.value=f,r("update:value",f),r("input",f),r("change",f),i.value===null&&d?a.value=d.replace(/\./g,","):a.value=Kn(f,i.value)}return{attrs:n,emit:r,displayValue:a,isInteiro:t,onUpdateModelValue:u}}}),ip={class:"eli-entrada__prefixo"},ap={class:"eli-entrada__sufixo"};function lp(e,n,r,i,t,o){var a,c,u,s,m;return l.openBlock(),l.createBlock(Ut.VTextField,l.mergeProps({"model-value":e.displayValue,label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(c=e.opcoes)==null?void 0:c.placeholder,type:e.isInteiro?"number":"text",inputmode:e.isInteiro?"numeric":"decimal",pattern:e.isInteiro?"[0-9]*":"[0-9.,]*",readonly:!!((u=e.opcoes)!=null&&u.apenasLeitura)},e.attrs,{"onUpdate:modelValue":e.onUpdateModelValue,onFocus:n[0]||(n[0]=()=>e.emit("focus")),onBlur:n[1]||(n[1]=()=>e.emit("blur"))}),l.createSlots({_:2},[(s=e.opcoes)!=null&&s.prefixo?{name:"prepend-inner",fn:l.withCtx(()=>[l.createElementVNode("span",ip,l.toDisplayString(e.opcoes.prefixo),1)]),key:"0"}:void 0,(m=e.opcoes)!=null&&m.sufixo?{name:"append-inner",fn:l.withCtx(()=>[l.createElementVNode("span",ap,l.toDisplayString(e.opcoes.sufixo),1)]),key:"1"}:void 0]),1040,["model-value","label","placeholder","type","inputmode","pattern","readonly","onUpdate:modelValue"])}const Hn=W(op,[["render",lp]]),cp=l.defineComponent({name:"EliEntradaParagrafo",components:{VTextarea:et.VTextarea},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.computed({get:()=>e.value,set:t=>{r("update:value",t),r("input",t),r("change",t)}});return{attrs:n,emit:r,localValue:i}}});function sp(e,n,r,i,t,o){var a,c,u,s,m,d,f,p,h,v,D,I,S;return l.openBlock(),l.createBlock(ym.VTextarea,l.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=C=>e.localValue=C),label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(c=e.opcoes)==null?void 0:c.placeholder,rows:((u=e.opcoes)==null?void 0:u.linhas)??4,counter:(s=e.opcoes)==null?void 0:s.limiteCaracteres,maxlength:(m=e.opcoes)==null?void 0:m.limiteCaracteres,clearable:!!((d=e.opcoes)!=null&&d.limpavel),error:!!((f=e.opcoes)!=null&&f.erro),"error-messages":(p=e.opcoes)==null?void 0:p.mensagensErro,hint:(h=e.opcoes)==null?void 0:h.dica,"persistent-hint":!!((v=e.opcoes)!=null&&v.dicaPersistente),density:((D=e.opcoes)==null?void 0:D.densidade)??"comfortable",variant:((I=e.opcoes)==null?void 0:I.variante)??"outlined",readonly:!!((S=e.opcoes)!=null&&S.apenasLeitura),"auto-grow":""},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","rows","counter","maxlength","clearable","error","error-messages","hint","persistent-hint","density","variant","readonly"])}const Xn=W(cp,[["render",sp]]);function Ni(e){return e.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").toLowerCase()}function Di(e,n){return n?Ni(e).includes(Ni(n)):!0}const up=l.defineComponent({name:"EliEntradaSelecao",components:{VAutocomplete:et.VAutocomplete},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.ref([]),t=l.ref(!1),o=l.computed({get:()=>e.value,set:u=>{r("update:value",u),r("input",u),r("change",u)}});async function a(){t.value=!0;try{const u=await e.opcoes.itens(),s=Array.isArray(u)?u:[];i.value=[...s]}finally{t.value=!1}}l.watch(()=>e.opcoes.itens,()=>{a()}),l.onMounted(()=>{a()}),l.watch(i,u=>{console.debug("[EliEntradaSelecao] itens:",u)},{deep:!0});const c=l.computed(()=>{var s;const u=(s=e.opcoes)==null?void 0:s.desativado;if(!(!u||u.length===0))return m=>({disabled:u.includes(m.chave)})});return{attrs:n,emit:r,localValue:o,itens:i,carregando:t,itemProps:c,filtroSelecao:Di}}});function dp(e,n,r,i,t,o){var a,c,u,s,m,d,f,p,h,v;return l.openBlock(),l.createBlock(di.VAutocomplete,l.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=D=>e.localValue=D),label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(c=e.opcoes)==null?void 0:c.placeholder,items:e.itens,"item-title":"rotulo","item-value":"chave","item-props":e.itemProps,loading:e.carregando,disabled:e.carregando,"menu-props":{maxHeight:320,zIndex:99999},clearable:!!((u=e.opcoes)!=null&&u.limpavel),error:!!((s=e.opcoes)!=null&&s.erro),"error-messages":(m=e.opcoes)==null?void 0:m.mensagensErro,hint:(d=e.opcoes)==null?void 0:d.dica,"persistent-hint":!!((f=e.opcoes)!=null&&f.dicaPersistente),density:((p=e.opcoes)==null?void 0:p.densidade)??"comfortable",variant:((h=e.opcoes)==null?void 0:h.variante)??"outlined",readonly:!!((v=e.opcoes)!=null&&v.apenasLeitura),"custom-filter":e.filtroSelecao,"auto-select-first":"","no-data-text":"Nenhum resultado encontrado"},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","items","item-props","loading","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant","readonly","custom-filter"])}const Yn=W(up,[["render",dp]]),mp=l.defineComponent({name:"EliEntradaSelecaoMultipla",components:{VAutocomplete:et.VAutocomplete},inheritAttrs:!1,props:{value:{type:[Array,null],default:()=>[]},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.ref([]),t=l.ref(!1),o=l.computed({get:()=>e.value??[],set:u=>{const s=Array.isArray(u)?u:[];r("update:value",s),r("input",s),r("change",s)}});async function a(){t.value=!0;try{const u=await e.opcoes.itens();i.value=[...Array.isArray(u)?u:[]]}finally{t.value=!1}}l.watch(()=>e.opcoes.itens,()=>{a()}),l.onMounted(()=>{a()});const c=l.computed(()=>{var s;const u=(s=e.opcoes)==null?void 0:s.desativado;if(!(!u||u.length===0))return m=>({disabled:u.includes(m.chave)})});return{attrs:n,emit:r,localValue:o,itens:i,carregando:t,itemProps:c,filtroSelecao:Di}}});function fp(e,n,r,i,t,o){var a,c,u,s,m,d,f,p,h,v;return l.openBlock(),l.createBlock(di.VAutocomplete,l.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=D=>e.localValue=D),label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(c=e.opcoes)==null?void 0:c.placeholder,items:e.itens,"item-title":"rotulo","item-value":"chave","item-props":e.itemProps,loading:e.carregando,disabled:e.carregando,"menu-props":{maxHeight:320,zIndex:99999},clearable:!!((u=e.opcoes)!=null&&u.limpavel),error:!!((s=e.opcoes)!=null&&s.erro),"error-messages":(m=e.opcoes)==null?void 0:m.mensagensErro,hint:(d=e.opcoes)==null?void 0:d.dica,"persistent-hint":!!((f=e.opcoes)!=null&&f.dicaPersistente),density:((p=e.opcoes)==null?void 0:p.densidade)??"comfortable",variant:((h=e.opcoes)==null?void 0:h.variante)??"outlined",multiple:"",chips:"","closable-chips":"","custom-filter":e.filtroSelecao,"no-data-text":"Nenhum resultado encontrado",readonly:!!((v=e.opcoes)!=null&&v.apenasLeitura)},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","items","item-props","loading","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant","custom-filter","readonly"])}const Qn=W(mp,[["render",fp]]);function pp(e){return e.replace(/\D+/g,"")}function gp(e){const n=pp(e);return n?n.replace(/^(\d{5})(\d)/,"$1-$2").slice(0,9):""}function vp(e){return e.replace(/\D+/g,"")}function hp(e){const n=vp(e);return n.length<=11?n.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})$/,"$1-$2").slice(0,14):n.replace(/^(\d{2})(\d)/,"$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3").replace(/\.(\d{3})(\d)/,".$1/$2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,18)}function bp(e){return e.replace(/\D+/g,"")}function $p(e){const n=bp(e);return n?n.length<=10?n.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,14):n.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{5})(\d)/,"$1-$2").slice(0,15):""}const _p=l.defineComponent({name:"EliEntradaTexto",inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const i=l.computed(()=>{var s;return((s=e.opcoes)==null?void 0:s.formato)??"texto"}),t=l.computed({get:()=>e.value,set:s=>{r("update:value",s),r("input",s),r("change",s)}}),o=l.computed(()=>i.value==="email"?"email":i.value==="url"?"url":"text"),a=l.computed(()=>{if(i.value==="telefone")return"tel";if(i.value==="cpfCnpj"||i.value==="cep")return"numeric"});function c(s){switch(i.value){case"telefone":return $p(s);case"cpfCnpj":return hp(s);case"cep":return gp(s);default:return s}}function u(s){const m=s.target,d=c(m.value);m.value=d,t.value=d}return{attrs:n,emit:r,localValue:t,inputHtmlType:o,inputMode:a,onInput:u}}});function yp(e,n,r,i,t,o){var a,c,u,s,m;return l.openBlock(),l.createBlock(Ut.VTextField,l.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=d=>e.localValue=d),type:e.inputHtmlType,inputmode:e.inputMode,label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(c=e.opcoes)==null?void 0:c.placeholder,counter:(u=e.opcoes)==null?void 0:u.limiteCaracteres,maxlength:(s=e.opcoes)==null?void 0:s.limiteCaracteres,readonly:!!((m=e.opcoes)!=null&&m.apenasLeitura)},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur")),onInput:e.onInput}),null,16,["modelValue","type","inputmode","label","placeholder","counter","maxlength","readonly","onInput"])}const Zt=W(_p,[["render",yp]]);/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Ni=e=>e==="";/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Ce={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const yp=(...e)=>e.filter((n,r,i)=>!!n&&n.trim()!==""&&i.indexOf(n)===r).join(" ").trim();/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Oi=(...e)=>e.filter((n,r,i)=>!!n&&n.trim()!==""&&i.indexOf(n)===r).join(" ").trim();/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Di=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
- * @license @lucide/vue v1.28.0 - ISC
+ */function er(e){return e!=null}function kp(e,n={}){var f,p;const r=n.attributeNames??{},i=h=>r[h]??h,t=e.size??e.width??Ce.width,o=e.size??e.height??Ce.height,a=((f=e.aliases)==null?void 0:f.filter(h=>typeof h=="string"&&h.trim()!=="").map(h=>`lucide-${h}`))??[],c=[...e.name?[`lucide-${e.name}`]:[],...a],u=((p=n.className)==null?void 0:p.split(" ").filter(Boolean))??[],s=n.includeDefaultClasses===!1?Oi(...u):Oi("lucide",...c,...u),m=n.absoluteStrokeWidth?Number(n.strokeWidth??Ce["stroke-width"])*Number(e.size??e.width??Ce.width)/Number(n.size??n.width??Ce.width):n.strokeWidth??Ce["stroke-width"];return["svg",{...Object.entries(Ce).reduce((h,[v,D])=>(h[i(v)]=D,h),{}),..."color"in n&&n.color&&{[i("stroke")]:n.color},..."size"in n&&er(n.size)&&{[i("width")]:n.size,[i("height")]:n.size},..."width"in n&&er(n.width)&&{[i("width")]:n.width},..."height"in n&&er(n.height)&&{[i("height")]:n.height},[i("stroke-width")]:m,...s&&{[i("class")]:s},[i("viewBox")]:`0 0 ${t} ${o}`,...n.hasA11yProp===!1?{[i("aria-hidden")]:"true"}:{},..."attributes"in n&&n.attributes},e.node.map(h=>{const[v,D,I]=h,S=n.nonScalingStroke?{[i("vector-effect")]:"non-scaling-stroke",...D}:D;return I?[v,S,I]:[v,S]})]}/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const kp=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,r,i)=>i?i.toUpperCase():r.toLowerCase());/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Sp=e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0;return!1};/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Sp=e=>{const n=kp(e);return n.charAt(0).toUpperCase()+n.slice(1)};/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Mt=e=>e==="";/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */var Me={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const wp=e=>e==null?void 0:e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const wp=Symbol("lucide-icons");function Ip(){return l.inject(wp,{})}/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Ip=Symbol("lucide-icons");function zp(){return l.inject(Ip,{})}/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const zp=({name:e,iconNode:n,"icon-node":r,absoluteStrokeWidth:i,"absolute-stroke-width":t,strokeWidth:o,"stroke-width":a,size:c,color:u,...s},{slots:m})=>{const{size:d,color:f,strokeWidth:p=2,absoluteStrokeWidth:h=!1,class:v=""}=Ip(),D=l.computed(()=>{const z=Ni(i)||Ni(t)||i===!0||t===!0||h===!0,S=o||a||p||Me["stroke-width"];return z?Number(S)*24/Number(c??d??Me.width):S});return l.h("svg",{...Me,...s,width:c??d??Me.width,height:c??d??Me.height,stroke:u??f??Me.stroke,"stroke-width":D.value,class:yp("lucide",v,...e?[`lucide-${Di(Sp(e))}-icon`,`lucide-${Di(e)}`]:["lucide-icon"])},[...(n??r??[]).map(z=>l.h(...z)),...m.default?[m.default()]:[]])};/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Ep=({name:e,iconNode:n,"icon-node":r,icon:i={name:e&&wp(e),node:n??r??[],size:24,aliases:[]},absoluteStrokeWidth:t,"absolute-stroke-width":o,nonScalingStroke:a,"non-scaling-stroke":c,strokeWidth:u,"stroke-width":s,size:m,width:d=m,height:f=m,color:p,...h},{slots:v})=>{var A;const{size:D,color:I,strokeWidth:S=2,absoluteStrokeWidth:C=!1,nonScalingStroke:T=!1,class:U=""}=zp(),b=Mt(t)||Mt(o)||t===!0||o===!0||C===!0,$=Mt(a)||Mt(c)||a===!0||c===!0||T===!0;delete h.class;const y=(A=v.default)==null?void 0:A.call(v),[,B,w=[]]=kp(i,{color:p??I,width:d??m??D,height:f??m??D,strokeWidth:u??s??S,absoluteStrokeWidth:b,nonScalingStroke:$,className:U,hasA11yProp:y!=null&&y.length>0||Sp(h),attributes:h});return l.h("svg",B,[...w.map(([ie,fe])=>l.h(ie,fe)),...y??[]])};/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const oe=(e,n)=>(r,{slots:i,attrs:t})=>l.h(zp,{...t,...r,iconNode:n,name:e},i.default?{default:i.default}:void 0);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */function oe(e,n=[]){const r=typeof e=="string"?{name:e,node:n}:e;return(i,{slots:t})=>l.h(Ep,{...i,icon:r},t.default?{default:t.default}:void 0)}/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Oi=oe("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const ji=oe({name:"arrow-down",size:24,node:[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const ji=oe("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const xi=oe({name:"arrow-up",size:24,node:[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Ep=oe("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Np=oe({name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Ci=oe("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Ti=oe({name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Ti=oe("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Ci=oe({name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Np=oe("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Dp=oe({name:"circle-alert",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],aliases:["alert-circle"]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Dp=oe("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Op=oe({name:"circle-question-mark",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["help-circle","circle-help"]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Op=oe("columns-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const jp=oe({name:"columns-2",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],aliases:["columns"]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const jp=oe("columns-3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const xp=oe({name:"columns-3",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],aliases:["panels-left-right"]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Cp=oe("ellipsis-vertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Tp=oe({name:"ellipsis-vertical",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],aliases:["more-vertical"]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Tp=oe("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Cp=oe({name:"eye-off",size:24,node:[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const xp=oe("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Up=oe({name:"eye",size:24,node:[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const xi=oe("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Ui=oe({name:"funnel",size:24,node:[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],aliases:["filter"]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Up=oe("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Ap=oe({name:"grip-vertical",size:24,node:[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Ap=oe("inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Pp=oe({name:"inbox",size:24,node:[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Pp=oe("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Vp=oe({name:"loader-circle",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],aliases:["loader-2"]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Vp=oe("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Bp=oe({name:"plus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Bp=oe("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Zp=oe({name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Zp=oe("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);/**
- * @license @lucide/vue v1.28.0 - ISC
+ */const Mp=oe({name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]});/**
+ * @license @lucide/vue v1.48.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Ui=oe("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Mp=l.defineComponent({name:"EliTabelaCelulaComponente",props:{dados:{type:Object}},setup(e){const n=l.ref(void 0);return l.onMounted(async()=>{var i;if(!((i=e.dados)!=null&&i.props))return;const r=e.dados.props();n.value=r instanceof Promise?await r:r}),{propsResolvidas:n}}});function Fp(e,n,r,i,t,o){var a;return e.propsResolvidas?(l.openBlock(),l.createBlock(l.resolveDynamicComponent((a=e.dados)==null?void 0:a.componente),l.normalizeProps(l.mergeProps({key:0},e.propsResolvidas)),null,16)):l.createCommentVNode("",!0)}const Lp=K(Mp,[["render",Fp]]);var Mt={exports:{}},Rp=Mt.exports,Ai;function Jp(){return Ai||(Ai=1,(function(e,n){(function(r,i){e.exports=i()})(Rp,(function(){return function(r,i,t){r=r||{};var o=i.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(s,m,d,f){return o.fromToBase(s,m,d,f)}t.en.relativeTime=a,o.fromToBase=function(s,m,d,f,p){for(var h,v,D,z=d.$locale().relativeTime||a,S=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],x=S.length,T=0;T0,$<=U.r||!U.r){$<=1&&T>0&&(U=S[T-1]);var b=z[U.l];p&&($=p(""+$)),v=typeof b=="string"?b.replace("%d",$):b($,m,U.l,D);break}}if(m)return v;var k=D?z.future:z.past;return typeof k=="function"?k(v):k.replace("%s",v)},o.to=function(s,m){return c(s,m,this,!0)},o.from=function(s,m){return c(s,m,this)};var u=function(s){return s.$u?t.utc():t()};o.toNow=function(s){return this.to(u(this),s)},o.fromNow=function(s){return this.from(u(this),s)}}}))})(Mt)),Mt.exports}var qp=Jp();const Gp=_i(qp);ie.extend(Gp),ie.locale("pt-br");const Kp=l.defineComponent({name:"EliTabelaCelulaData",props:{dados:{type:Object,required:!1}},setup(e){return{textoData:l.computed(()=>{var t,o;const r=(t=e.dados)==null?void 0:t.valor;if(!r)return"";const i=((o=e.dados)==null?void 0:o.formato)??"data";return i==="relativo"?ie(r).fromNow():i==="data_hora"?ie(r).format("DD/MM/YYYY HH:mm"):ie(r).format("DD/MM/YYYY")})}}}),Wp={key:1};function Xp(e,n,r,i,t,o){var a;return(a=e.dados)!=null&&a.acao?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:n[0]||(n[0]=l.withModifiers(c=>e.dados.acao(),["stop","prevent"]))},l.toDisplayString(e.textoData),1)):(l.openBlock(),l.createElementBlock("span",Wp,l.toDisplayString(e.textoData),1))}const Hp=K(Kp,[["render",Xp]]),Yp=l.defineComponent({name:"EliTabelaCelulaNumero",components:{},props:{dados:{type:Object}},setup(e){return{textoNumero:l.computed(()=>{var c,u,s,m,d;const r=String((c=e.dados)==null?void 0:c.numero).replace(".",","),i=(s=(u=e.dados)==null?void 0:u.prefixo)==null?void 0:s.trim(),t=(d=(m=e.dados)==null?void 0:m.sufixo)==null?void 0:d.trim(),o=i?`${i} `:"",a=t?` ${t}`:"";return`${o}${r}${a}`})}}}),Qp={key:1};function eg(e,n,r,i,t,o){var a;return(a=e.dados)!=null&&a.acao?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:n[0]||(n[0]=l.withModifiers(c=>e.dados.acao(),["stop","prevent"]))},l.toDisplayString(e.textoNumero),1)):(l.openBlock(),l.createElementBlock("span",Qp,l.toDisplayString(e.textoNumero),1))}const tg=K(Yp,[["render",eg]]),ng=l.defineComponent({name:"EliTabelaCelulaTags",components:{VChip:et.VChip},props:{dados:{type:Object,required:!1}}}),rg={class:"eli-tabela__celula-tags"};function og(e,n,r,i,t,o){var a;return l.openBlock(),l.createElementBlock("div",rg,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(((a=e.dados)==null?void 0:a.opcoes)??[],(c,u)=>(l.openBlock(),l.createBlock(ym.VChip,{key:u,class:"eli-tabela__celula-tag",size:"small",variant:"tonal",color:c.cor,clickable:!!c.acao,onClick:l.withModifiers(s=>{var m;return(m=c.acao)==null?void 0:m.call(c)},["stop","prevent"])},{default:l.withCtx(()=>[c.icone?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(c.icone),{key:0,class:"eli-tabela__celula-tag-icone",size:14})):l.createCommentVNode("",!0),l.createElementVNode("span",null,l.toDisplayString(c.rotulo),1)]),_:2},1032,["color","clickable","onClick"]))),128))])}const ig=K(ng,[["render",og]]),ag=l.defineComponent({name:"EliTabelaCelulaTextoSimples",components:{},props:{dados:{type:Object}},data(){return{}},methods:{}}),lg={key:1};function cg(e,n,r,i,t,o){var a,c,u;return(a=e.dados)!=null&&a.acao?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:n[0]||(n[0]=l.withModifiers(s=>e.dados.acao(),["stop","prevent"]))},l.toDisplayString((c=e.dados)==null?void 0:c.texto),1)):(l.openBlock(),l.createElementBlock("span",lg,l.toDisplayString((u=e.dados)==null?void 0:u.texto),1))}const sg=K(ag,[["render",cg]]),ug=l.defineComponent({name:"EliTabelaCelulaTextoTruncado",props:{dados:{type:Object}}}),dg=["title"],mg=["title"];function fg(e,n,r,i,t,o){var a,c,u,s,m;return(a=e.dados)!=null&&a.acao?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__texto-truncado eli-tabela__celula-link",title:(c=e.dados)==null?void 0:c.texto,onClick:n[0]||(n[0]=l.withModifiers(d=>{var f,p;return(p=(f=e.dados)==null?void 0:f.acao)==null?void 0:p.call(f)},["stop","prevent"]))},l.toDisplayString((u=e.dados)==null?void 0:u.texto),9,dg)):(l.openBlock(),l.createElementBlock("span",{key:1,class:"eli-tabela__texto-truncado",title:(s=e.dados)==null?void 0:s.texto},l.toDisplayString((m=e.dados)==null?void 0:m.texto),9,mg))}const pg={textoSimples:sg,textoTruncado:K(ug,[["render",fg]]),numero:tg,tags:ig,data:Hp,componente:Lp},gg=l.defineComponent({name:"EliTabelaCelula",props:{celula:{type:Array,required:!0}},setup(e){const n=l.computed(()=>e.celula[0]),r=l.computed(()=>e.celula[1]),i=l.computed(()=>pg[n.value]),t=l.computed(()=>r.value);return{Componente:i,dadosParaComponente:t}}});function vg(e,n,r,i,t,o){return l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.Componente),{dados:e.dadosParaComponente},null,8,["dados"])}const Pi=K(gg,[["render",vg]]),hg=l.defineComponent({name:"EliTabelaDetalhesLinha",components:{EliTabelaCelula:Pi},props:{linha:{type:[Object,String,Number,Array],required:!0},colunasInvisiveis:{type:Array,required:!0}}}),$g={class:"eli-tabela__detalhes"},bg={class:"eli-tabela__detalhe-rotulo"},_g={class:"eli-tabela__detalhe-valor"};function yg(e,n,r,i,t,o){const a=l.resolveComponent("EliTabelaCelula");return l.openBlock(),l.createElementBlock("div",$g,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.colunasInvisiveis,(c,u)=>(l.openBlock(),l.createElementBlock("div",{key:`det-${u}-${c.rotulo}`,class:"eli-tabela__detalhe"},[l.createElementVNode("div",bg,l.toDisplayString(c.rotulo),1),l.createElementVNode("div",_g,[l.createVNode(a,{celula:c.celula(e.linha)},null,8,["celula"])])]))),128))])}const kg=K(hg,[["render",yg]]),Sg=l.defineComponent({name:"EliTabelaBody",components:{EliTabelaCelula:Pi,EliTabelaDetalhesLinha:kg,MoreVertical:Cp,ChevronRight:Ti,ChevronDown:Ci},props:{colunas:{type:Array,required:!0},colunasInvisiveis:{type:Array,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},linhasExpandidas:{type:Object,required:!0},linhas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},menuAberto:{type:Number,required:!0},possuiAcoes:{type:Function,required:!0},toggleMenu:{type:Function,required:!0},alternarLinhaExpandida:{type:Function,required:!0},mostrarSelecao:{type:Boolean,default:!1},isSelecionado:{type:Function,required:!0},alternarSelecao:{type:Function,required:!0}},setup(){return{ChevronRight:Ti,ChevronDown:Ci}}}),wg={class:"eli-tabela__tbody"},Ig=["aria-expanded","aria-label","title","onClick"],zg=["checked","onChange"],Eg=["id","disabled","aria-expanded","aria-controls","aria-label","title","onClick"],Ng=["colspan"];function Dg(e,n,r,i,t,o){const a=l.resolveComponent("EliTabelaCelula"),c=l.resolveComponent("MoreVertical"),u=l.resolveComponent("EliTabelaDetalhesLinha");return l.openBlock(),l.createElementBlock("tbody",wg,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.linhas,(s,m)=>{var d,f,p,h,v,D;return l.openBlock(),l.createElementBlock(l.Fragment,{key:`grp-${m}`},[l.createElementVNode("tr",{class:l.normalizeClass(["eli-tabela__tr",[m%2===1?"eli-tabela__tr--zebra":void 0]])},[e.temColunasInvisiveis?(l.openBlock(),l.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--expander",key:`td-${m}-exp`},[l.createElementVNode("button",{type:"button",class:l.normalizeClass(["eli-tabela__expander-botao",[(d=e.linhasExpandidas)!=null&&d[m]?"eli-tabela__expander-botao--ativo":void 0]]),"aria-expanded":(f=e.linhasExpandidas)!=null&&f[m]?"true":"false","aria-label":(p=e.linhasExpandidas)!=null&&p[m]?"Ocultar colunas ocultas":"Mostrar colunas ocultas",title:(h=e.linhasExpandidas)!=null&&h[m]?"Ocultar detalhes":"Mostrar detalhes",onClick:l.withModifiers(z=>e.alternarLinhaExpandida(m),["stop"])},[(l.openBlock(),l.createBlock(l.resolveDynamicComponent((v=e.linhasExpandidas)!=null&&v[m]?e.ChevronDown:e.ChevronRight),{class:"eli-tabela__expander-icone",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,Ig)])):l.createCommentVNode("",!0),e.mostrarSelecao?(l.openBlock(),l.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--selecao",key:`td-${m}-selecao`},[l.createElementVNode("input",{type:"checkbox",class:"eli-tabela__checkbox",checked:e.isSelecionado(s),onChange:z=>e.alternarSelecao(s),onClick:n[0]||(n[0]=l.withModifiers(()=>{},["stop"])),"aria-label":"Selecionar linha"},null,40,zg)])):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.colunas,(z,S)=>(l.openBlock(),l.createElementBlock("td",{key:`td-${m}-${S}`,class:"eli-tabela__td"},[l.createVNode(a,{celula:z.celula(s)},null,8,["celula"])]))),128)),e.temAcoes?(l.openBlock(),l.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--acoes",key:`td-${m}-acoes`},[l.createElementVNode("div",{class:l.normalizeClass(["eli-tabela__acoes-container",[e.menuAberto===m?"eli-tabela__acoes-container--aberto":void 0]])},[l.createElementVNode("button",{class:"eli-tabela__acoes-toggle",type:"button",id:`eli-tabela-acoes-toggle-${m}`,disabled:!e.possuiAcoes(m),"aria-haspopup":"menu","aria-expanded":e.menuAberto===m?"true":"false","aria-controls":e.possuiAcoes(m)?`eli-tabela-acoes-menu-${m}`:void 0,"aria-label":e.possuiAcoes(m)?"Ações da linha":"Nenhuma ação disponível",title:e.possuiAcoes(m)?"Ações":"Nenhuma ação disponível",onClick:l.withModifiers(z=>e.toggleMenu(m,z),["stop"])},[l.createVNode(c,{class:"eli-tabela__acoes-toggle-icone",size:18,"stroke-width":2})],8,Eg)],2)])):l.createCommentVNode("",!0)],2),e.temColunasInvisiveis&&((D=e.linhasExpandidas)!=null&&D[m])?(l.openBlock(),l.createElementBlock("tr",{key:0,class:l.normalizeClass(["eli-tabela__tr eli-tabela__tr--detalhes",[m%2===1?"eli-tabela__tr--zebra":void 0]])},[l.createElementVNode("td",{class:"eli-tabela__td eli-tabela__td--detalhes",colspan:(e.temColunasInvisiveis?1:0)+(e.mostrarSelecao?1:0)+e.colunas.length+(e.temAcoes?1:0)},[l.createVNode(u,{linha:s,colunasInvisiveis:e.colunasInvisiveis},null,8,["linha","colunasInvisiveis"])],8,Ng)],2)):l.createCommentVNode("",!0)],64)}),128))])}const Og=K(Sg,[["render",Dg]]),jg=l.defineComponent({name:"EliTabelaCaixaDeBusca",components:{Search:Bp},props:{modelo:{type:String,required:!1,default:""}},emits:{buscar(e){return typeof e=="string"}},setup(e,{emit:n}){const r=l.ref(e.modelo??"");l.watch(()=>e.modelo,t=>{t!==void 0&&t!==r.value&&(r.value=t)});function i(){n("buscar",r.value.trim())}return{texto:r,emitirBusca:i}}}),Cg={class:"eli-tabela__busca"},Tg={class:"eli-tabela__busca-input-wrapper"};function xg(e,n,r,i,t,o){const a=l.resolveComponent("Search");return l.openBlock(),l.createElementBlock("div",Cg,[l.createElementVNode("div",Tg,[l.withDirectives(l.createElementVNode("input",{id:"eli-tabela-busca","onUpdate:modelValue":n[0]||(n[0]=c=>e.texto=c),type:"search",class:"eli-tabela__busca-input",placeholder:"Digite termos para filtrar",onKeyup:n[1]||(n[1]=l.withKeys((...c)=>e.emitirBusca&&e.emitirBusca(...c),["enter"]))},null,544),[[l.vModelText,e.texto]]),l.createElementVNode("button",{type:"button",class:"eli-tabela__busca-botao","aria-label":"Buscar",title:"Buscar",onClick:n[2]||(n[2]=(...c)=>e.emitirBusca&&e.emitirBusca(...c))},[l.createVNode(a,{class:"eli-tabela__busca-botao-icone",size:16,"stroke-width":2,"aria-hidden":"true"})])])])}const Ug=K(jg,[["render",xg]]),Ag=l.defineComponent({name:"EliTabelaCabecalho",components:{Columns3:jp,EliTabelaCaixaDeBusca:Ug,Filter:xi},props:{exibirBusca:{type:Boolean,required:!0},exibirBotaoColunas:{type:Boolean,required:!1,default:!0},exibirBotaoFiltroAvancado:{type:Boolean,required:!1,default:!1},filtrosAtivosResumo:{type:Object,required:!1,default:()=>({quantidade:0,rotulos:[]})},valorBusca:{type:String,required:!0},parametrosConsulta:{type:Object,required:!1},acoesCabecalho:{type:Array,required:!0}},emits:{buscar(e){return typeof e=="string"},colunas(){return!0},filtroAvancado(){return!0}},setup(e,{emit:n}){const r=l.computed(()=>e.acoesCabecalho.length>0),i=l.computed(()=>{const{quantidade:c,rotulos:u}=e.filtrosAtivosResumo;return c===0?"Filtro avançado":`Filtros ativos (${c}):
+ */const Ai=oe({name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]}),Fp=l.defineComponent({name:"EliTabelaCelulaComponente",props:{dados:{type:Object}},setup(e){const n=l.ref(void 0);return l.onMounted(async()=>{var i;if(!((i=e.dados)!=null&&i.props))return;const r=e.dados.props();n.value=r instanceof Promise?await r:r}),{propsResolvidas:n}}});function Lp(e,n,r,i,t,o){var a;return e.propsResolvidas?(l.openBlock(),l.createBlock(l.resolveDynamicComponent((a=e.dados)==null?void 0:a.componente),l.normalizeProps(l.mergeProps({key:0},e.propsResolvidas)),null,16)):l.createCommentVNode("",!0)}const Rp=W(Fp,[["render",Lp]]);var Ft={exports:{}},Jp=Ft.exports,Pi;function qp(){return Pi||(Pi=1,(function(e,n){(function(r,i){e.exports=i()})(Jp,(function(){return function(r,i,t){r=r||{};var o=i.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(s,m,d,f){return o.fromToBase(s,m,d,f)}t.en.relativeTime=a,o.fromToBase=function(s,m,d,f,p){for(var h,v,D,I=d.$locale().relativeTime||a,S=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],C=S.length,T=0;T0,b<=U.r||!U.r){b<=1&&T>0&&(U=S[T-1]);var $=I[U.l];p&&(b=p(""+b)),v=typeof $=="string"?$.replace("%d",b):$(b,m,U.l,D);break}}if(m)return v;var y=D?I.future:I.past;return typeof y=="function"?y(v):y.replace("%s",v)},o.to=function(s,m){return c(s,m,this,!0)},o.from=function(s,m){return c(s,m,this)};var u=function(s){return s.$u?t.utc():t()};o.toNow=function(s){return this.to(u(this),s)},o.fromNow=function(s){return this.from(u(this),s)}}}))})(Ft)),Ft.exports}var Gp=qp();const Wp=ki(Gp);ae.extend(Wp),ae.locale("pt-br");const Kp=l.defineComponent({name:"EliTabelaCelulaData",props:{dados:{type:Object,required:!1}},setup(e){return{textoData:l.computed(()=>{var t,o;const r=(t=e.dados)==null?void 0:t.valor;if(!r)return"";const i=((o=e.dados)==null?void 0:o.formato)??"data";return i==="relativo"?ae(r).fromNow():i==="data_hora"?ae(r).format("DD/MM/YYYY HH:mm"):ae(r).format("DD/MM/YYYY")})}}}),Hp={key:1};function Xp(e,n,r,i,t,o){var a;return(a=e.dados)!=null&&a.acao?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:n[0]||(n[0]=l.withModifiers(c=>e.dados.acao(),["stop","prevent"]))},l.toDisplayString(e.textoData),1)):(l.openBlock(),l.createElementBlock("span",Hp,l.toDisplayString(e.textoData),1))}const Yp=W(Kp,[["render",Xp]]),Qp=l.defineComponent({name:"EliTabelaCelulaNumero",components:{},props:{dados:{type:Object}},setup(e){return{textoNumero:l.computed(()=>{var c,u,s,m,d;const r=String((c=e.dados)==null?void 0:c.numero).replace(".",","),i=(s=(u=e.dados)==null?void 0:u.prefixo)==null?void 0:s.trim(),t=(d=(m=e.dados)==null?void 0:m.sufixo)==null?void 0:d.trim(),o=i?`${i} `:"",a=t?` ${t}`:"";return`${o}${r}${a}`})}}}),eg={key:1};function tg(e,n,r,i,t,o){var a;return(a=e.dados)!=null&&a.acao?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:n[0]||(n[0]=l.withModifiers(c=>e.dados.acao(),["stop","prevent"]))},l.toDisplayString(e.textoNumero),1)):(l.openBlock(),l.createElementBlock("span",eg,l.toDisplayString(e.textoNumero),1))}const ng=W(Qp,[["render",tg]]),rg=l.defineComponent({name:"EliTabelaCelulaTags",components:{VChip:et.VChip},props:{dados:{type:Object,required:!1}}}),og={class:"eli-tabela__celula-tags"};function ig(e,n,r,i,t,o){var a;return l.openBlock(),l.createElementBlock("div",og,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(((a=e.dados)==null?void 0:a.opcoes)??[],(c,u)=>(l.openBlock(),l.createBlock(km.VChip,{key:u,class:"eli-tabela__celula-tag",size:"small",variant:"tonal",color:c.cor,clickable:!!c.acao,onClick:l.withModifiers(s=>{var m;return(m=c.acao)==null?void 0:m.call(c)},["stop","prevent"])},{default:l.withCtx(()=>[c.icone?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(c.icone),{key:0,class:"eli-tabela__celula-tag-icone",size:14})):l.createCommentVNode("",!0),l.createElementVNode("span",null,l.toDisplayString(c.rotulo),1)]),_:2},1032,["color","clickable","onClick"]))),128))])}const ag=W(rg,[["render",ig]]),lg=l.defineComponent({name:"EliTabelaCelulaTextoSimples",components:{},props:{dados:{type:Object}},data(){return{}},methods:{}}),cg={key:1};function sg(e,n,r,i,t,o){var a,c,u;return(a=e.dados)!=null&&a.acao?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:n[0]||(n[0]=l.withModifiers(s=>e.dados.acao(),["stop","prevent"]))},l.toDisplayString((c=e.dados)==null?void 0:c.texto),1)):(l.openBlock(),l.createElementBlock("span",cg,l.toDisplayString((u=e.dados)==null?void 0:u.texto),1))}const ug=W(lg,[["render",sg]]),dg=l.defineComponent({name:"EliTabelaCelulaTextoTruncado",props:{dados:{type:Object}}}),mg=["title"],fg=["title"];function pg(e,n,r,i,t,o){var a,c,u,s,m;return(a=e.dados)!=null&&a.acao?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__texto-truncado eli-tabela__celula-link",title:(c=e.dados)==null?void 0:c.texto,onClick:n[0]||(n[0]=l.withModifiers(d=>{var f,p;return(p=(f=e.dados)==null?void 0:f.acao)==null?void 0:p.call(f)},["stop","prevent"]))},l.toDisplayString((u=e.dados)==null?void 0:u.texto),9,mg)):(l.openBlock(),l.createElementBlock("span",{key:1,class:"eli-tabela__texto-truncado",title:(s=e.dados)==null?void 0:s.texto},l.toDisplayString((m=e.dados)==null?void 0:m.texto),9,fg))}const gg={textoSimples:ug,textoTruncado:W(dg,[["render",pg]]),numero:ng,tags:ag,data:Yp,componente:Rp},vg=l.defineComponent({name:"EliTabelaCelula",props:{celula:{type:Array,required:!0}},setup(e){const n=l.computed(()=>e.celula[0]),r=l.computed(()=>e.celula[1]),i=l.computed(()=>gg[n.value]),t=l.computed(()=>r.value);return{Componente:i,dadosParaComponente:t}}});function hg(e,n,r,i,t,o){return l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.Componente),{dados:e.dadosParaComponente},null,8,["dados"])}const Vi=W(vg,[["render",hg]]),bg=l.defineComponent({name:"EliTabelaDetalhesLinha",components:{EliTabelaCelula:Vi},props:{linha:{type:[Object,String,Number,Array],required:!0},colunasInvisiveis:{type:Array,required:!0}}}),$g={class:"eli-tabela__detalhes"},_g={class:"eli-tabela__detalhe-rotulo"},yg={class:"eli-tabela__detalhe-valor"};function kg(e,n,r,i,t,o){const a=l.resolveComponent("EliTabelaCelula");return l.openBlock(),l.createElementBlock("div",$g,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.colunasInvisiveis,(c,u)=>(l.openBlock(),l.createElementBlock("div",{key:`det-${u}-${c.rotulo}`,class:"eli-tabela__detalhe"},[l.createElementVNode("div",_g,l.toDisplayString(c.rotulo),1),l.createElementVNode("div",yg,[l.createVNode(a,{celula:c.celula(e.linha)},null,8,["celula"])])]))),128))])}const Sg=W(bg,[["render",kg]]),wg=l.defineComponent({name:"EliTabelaBody",components:{EliTabelaCelula:Vi,EliTabelaDetalhesLinha:Sg,MoreVertical:Tp,ChevronRight:Ci,ChevronDown:Ti},props:{colunas:{type:Array,required:!0},colunasInvisiveis:{type:Array,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},linhasExpandidas:{type:Object,required:!0},linhas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},menuAberto:{type:Number,required:!0},possuiAcoes:{type:Function,required:!0},toggleMenu:{type:Function,required:!0},alternarLinhaExpandida:{type:Function,required:!0},mostrarSelecao:{type:Boolean,default:!1},isSelecionado:{type:Function,required:!0},alternarSelecao:{type:Function,required:!0}},setup(){return{ChevronRight:Ci,ChevronDown:Ti}}}),Ig={class:"eli-tabela__tbody"},zg=["aria-expanded","aria-label","title","onClick"],Eg=["checked","onChange"],Ng=["id","disabled","aria-expanded","aria-controls","aria-label","title","onClick"],Dg=["colspan"];function Og(e,n,r,i,t,o){const a=l.resolveComponent("EliTabelaCelula"),c=l.resolveComponent("MoreVertical"),u=l.resolveComponent("EliTabelaDetalhesLinha");return l.openBlock(),l.createElementBlock("tbody",Ig,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.linhas,(s,m)=>{var d,f,p,h,v,D;return l.openBlock(),l.createElementBlock(l.Fragment,{key:`grp-${m}`},[l.createElementVNode("tr",{class:l.normalizeClass(["eli-tabela__tr",[m%2===1?"eli-tabela__tr--zebra":void 0]])},[e.temColunasInvisiveis?(l.openBlock(),l.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--expander",key:`td-${m}-exp`},[l.createElementVNode("button",{type:"button",class:l.normalizeClass(["eli-tabela__expander-botao",[(d=e.linhasExpandidas)!=null&&d[m]?"eli-tabela__expander-botao--ativo":void 0]]),"aria-expanded":(f=e.linhasExpandidas)!=null&&f[m]?"true":"false","aria-label":(p=e.linhasExpandidas)!=null&&p[m]?"Ocultar colunas ocultas":"Mostrar colunas ocultas",title:(h=e.linhasExpandidas)!=null&&h[m]?"Ocultar detalhes":"Mostrar detalhes",onClick:l.withModifiers(I=>e.alternarLinhaExpandida(m),["stop"])},[(l.openBlock(),l.createBlock(l.resolveDynamicComponent((v=e.linhasExpandidas)!=null&&v[m]?e.ChevronDown:e.ChevronRight),{class:"eli-tabela__expander-icone",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,zg)])):l.createCommentVNode("",!0),e.mostrarSelecao?(l.openBlock(),l.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--selecao",key:`td-${m}-selecao`},[l.createElementVNode("input",{type:"checkbox",class:"eli-tabela__checkbox",checked:e.isSelecionado(s),onChange:I=>e.alternarSelecao(s),onClick:n[0]||(n[0]=l.withModifiers(()=>{},["stop"])),"aria-label":"Selecionar linha"},null,40,Eg)])):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.colunas,(I,S)=>(l.openBlock(),l.createElementBlock("td",{key:`td-${m}-${S}`,class:"eli-tabela__td"},[l.createVNode(a,{celula:I.celula(s)},null,8,["celula"])]))),128)),e.temAcoes?(l.openBlock(),l.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--acoes",key:`td-${m}-acoes`},[l.createElementVNode("div",{class:l.normalizeClass(["eli-tabela__acoes-container",[e.menuAberto===m?"eli-tabela__acoes-container--aberto":void 0]])},[l.createElementVNode("button",{class:"eli-tabela__acoes-toggle",type:"button",id:`eli-tabela-acoes-toggle-${m}`,disabled:!e.possuiAcoes(m),"aria-haspopup":"menu","aria-expanded":e.menuAberto===m?"true":"false","aria-controls":e.possuiAcoes(m)?`eli-tabela-acoes-menu-${m}`:void 0,"aria-label":e.possuiAcoes(m)?"Ações da linha":"Nenhuma ação disponível",title:e.possuiAcoes(m)?"Ações":"Nenhuma ação disponível",onClick:l.withModifiers(I=>e.toggleMenu(m,I),["stop"])},[l.createVNode(c,{class:"eli-tabela__acoes-toggle-icone",size:18,"stroke-width":2})],8,Ng)],2)])):l.createCommentVNode("",!0)],2),e.temColunasInvisiveis&&((D=e.linhasExpandidas)!=null&&D[m])?(l.openBlock(),l.createElementBlock("tr",{key:0,class:l.normalizeClass(["eli-tabela__tr eli-tabela__tr--detalhes",[m%2===1?"eli-tabela__tr--zebra":void 0]])},[l.createElementVNode("td",{class:"eli-tabela__td eli-tabela__td--detalhes",colspan:(e.temColunasInvisiveis?1:0)+(e.mostrarSelecao?1:0)+e.colunas.length+(e.temAcoes?1:0)},[l.createVNode(u,{linha:s,colunasInvisiveis:e.colunasInvisiveis},null,8,["linha","colunasInvisiveis"])],8,Dg)],2)):l.createCommentVNode("",!0)],64)}),128))])}const jg=W(wg,[["render",Og]]),xg=l.defineComponent({name:"EliTabelaCaixaDeBusca",components:{Search:Zp},props:{modelo:{type:String,required:!1,default:""}},emits:{buscar(e){return typeof e=="string"}},setup(e,{emit:n}){const r=l.ref(e.modelo??"");l.watch(()=>e.modelo,t=>{t!==void 0&&t!==r.value&&(r.value=t)});function i(){n("buscar",r.value.trim())}return{texto:r,emitirBusca:i}}}),Tg={class:"eli-tabela__busca"},Cg={class:"eli-tabela__busca-input-wrapper"};function Ug(e,n,r,i,t,o){const a=l.resolveComponent("Search");return l.openBlock(),l.createElementBlock("div",Tg,[l.createElementVNode("div",Cg,[l.withDirectives(l.createElementVNode("input",{id:"eli-tabela-busca","onUpdate:modelValue":n[0]||(n[0]=c=>e.texto=c),type:"search",class:"eli-tabela__busca-input",placeholder:"Digite termos para filtrar",onKeyup:n[1]||(n[1]=l.withKeys((...c)=>e.emitirBusca&&e.emitirBusca(...c),["enter"]))},null,544),[[l.vModelText,e.texto]]),l.createElementVNode("button",{type:"button",class:"eli-tabela__busca-botao","aria-label":"Buscar",title:"Buscar",onClick:n[2]||(n[2]=(...c)=>e.emitirBusca&&e.emitirBusca(...c))},[l.createVNode(a,{class:"eli-tabela__busca-botao-icone",size:16,"stroke-width":2,"aria-hidden":"true"})])])])}const Ag=W(xg,[["render",Ug]]),Pg=l.defineComponent({name:"EliTabelaCabecalho",components:{Columns3:xp,EliTabelaCaixaDeBusca:Ag,Filter:Ui},props:{exibirBusca:{type:Boolean,required:!0},exibirBotaoColunas:{type:Boolean,required:!1,default:!0},exibirBotaoFiltroAvancado:{type:Boolean,required:!1,default:!1},filtrosAtivosResumo:{type:Object,required:!1,default:()=>({quantidade:0,rotulos:[]})},valorBusca:{type:String,required:!0},parametrosConsulta:{type:Object,required:!1},acoesCabecalho:{type:Array,required:!0}},emits:{buscar(e){return typeof e=="string"},colunas(){return!0},filtroAvancado(){return!0}},setup(e,{emit:n}){const r=l.computed(()=>e.acoesCabecalho.length>0),i=l.computed(()=>{const{quantidade:c,rotulos:u}=e.filtrosAtivosResumo;return c===0?"Filtro avançado":`Filtros ativos (${c}):
${u.map(s=>`• ${s}`).join(`
-`)}`});function t(c){n("buscar",c)}function o(){n("colunas")}function a(){n("filtroAvancado")}return{temAcoesCabecalho:r,tooltipFiltro:i,emitBuscar:t,emitColunas:o,emitFiltroAvancado:a}}}),Pg={class:"eli-tabela__cabecalho"},Vg={key:0,class:"eli-tabela__busca-grupo"},Bg=["title"],Zg={class:"eli-tabela__filtro-icone-container"},Mg={key:0,class:"eli-tabela__filtro-badge"},Fg={key:1,class:"eli-tabela__acoes-cabecalho"},Lg=["onClick"],Rg={class:"eli-tabela__acoes-cabecalho-rotulo"};function Jg(e,n,r,i,t,o){const a=l.resolveComponent("Columns3"),c=l.resolveComponent("Filter"),u=l.resolveComponent("EliTabelaCaixaDeBusca");return l.openBlock(),l.createElementBlock("div",Pg,[e.exibirBusca?(l.openBlock(),l.createElementBlock("div",Vg,[e.exibirBotaoColunas?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas",onClick:n[0]||(n[0]=(...s)=>e.emitColunas&&e.emitColunas(...s))},[l.createVNode(a,{size:15,"stroke-width":2}),n[2]||(n[2]=l.createTextVNode(" Colunas ",-1))])):l.createCommentVNode("",!0),e.exibirBotaoFiltroAvancado?(l.openBlock(),l.createElementBlock("button",{key:1,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--filtro",title:e.tooltipFiltro,onClick:n[1]||(n[1]=(...s)=>e.emitFiltroAvancado&&e.emitFiltroAvancado(...s))},[l.createElementVNode("span",Zg,[l.createVNode(c,{size:15,"stroke-width":2}),e.filtrosAtivosResumo.quantidade>0?(l.openBlock(),l.createElementBlock("span",Mg,l.toDisplayString(e.filtrosAtivosResumo.quantidade),1)):l.createCommentVNode("",!0)]),n[3]||(n[3]=l.createTextVNode(" Filtro ",-1))],8,Bg)):l.createCommentVNode("",!0),l.createVNode(u,{modelo:e.valorBusca,onBuscar:e.emitBuscar},null,8,["modelo","onBuscar"])])):l.createCommentVNode("",!0),e.temAcoesCabecalho?(l.openBlock(),l.createElementBlock("div",Fg,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.acoesCabecalho,(s,m)=>(l.openBlock(),l.createElementBlock("button",{key:`${s.rotulo}-${m}`,type:"button",class:"eli-tabela__acoes-cabecalho-botao",style:l.normalizeStyle(s.cor?{backgroundColor:s.cor,color:"#fff"}:void 0),onClick:d=>s.acao(e.parametrosConsulta)},[s.icone?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(s.icone),{key:0,class:"eli-tabela__acoes-cabecalho-icone",size:16,"stroke-width":2})):l.createCommentVNode("",!0),l.createElementVNode("span",Rg,l.toDisplayString(s.rotulo),1)],12,Lg))),128))])):l.createCommentVNode("",!0)])}const qg=K(Ag,[["render",Jg]]),Gg=l.defineComponent({name:"EliTabelaEstados",components:{AlertCircle:Np,Inbox:Ap,LoaderCircle:Pp},props:{carregando:{type:Boolean,required:!0},erro:{type:[String,Object],default:null},mensagemVazio:{type:String,required:!1,default:void 0}}}),Kg={key:0,class:"eli-tabela eli-tabela--carregando","aria-busy":"true"},Wg={key:1,class:"eli-tabela eli-tabela--erro",role:"alert"},Xg={class:"eli-tabela__erro-mensagem"},Hg={key:2,class:"eli-tabela eli-tabela--vazio"};function Yg(e,n,r,i,t,o){const a=l.resolveComponent("LoaderCircle"),c=l.resolveComponent("AlertCircle"),u=l.resolveComponent("Inbox");return e.carregando?(l.openBlock(),l.createElementBlock("div",Kg,[l.createVNode(a,{class:"eli-tabela__estado-icone eli-tabela__estado-icone--spin",size:22,"stroke-width":2}),n[0]||(n[0]=l.createElementVNode("span",null,"Carregando…",-1))])):e.erro?(l.openBlock(),l.createElementBlock("div",Wg,[l.createVNode(c,{class:"eli-tabela__estado-icone eli-tabela__estado-icone--erro",size:18,"stroke-width":2}),l.createElementVNode("div",null,[n[1]||(n[1]=l.createElementVNode("div",{class:"eli-tabela__erro-titulo"},"Erro",-1)),l.createElementVNode("div",Xg,l.toDisplayString(e.erro),1)])])):(l.openBlock(),l.createElementBlock("div",Hg,[l.createVNode(u,{class:"eli-tabela__estado-icone",size:22,"stroke-width":1.5}),l.createElementVNode("span",null,l.toDisplayString(e.mensagemVazio??"Nenhum registro encontrado."),1)]))}const Qg=K(Gg,[["render",Yg]]),ev=l.defineComponent({name:"EliTabelaHead",components:{ArrowUp:ji,ArrowDown:Oi},props:{colunas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},colunaOrdenacao:{type:[String,Object],default:null},direcaoOrdenacao:{type:String,required:!0},mostrarSelecao:{type:Boolean,default:!1},todosSelecionados:{type:Boolean,default:!1},algunsSelecionados:{type:Boolean,default:!1}},emits:{alternarOrdenacao(e){return typeof e=="string"&&e.length>0},"alternar-selecao-todos":()=>!0},setup(e,{emit:n}){function r(t){return t.coluna_ordem!==void 0&&t.coluna_ordem!==null}function i(t){n("alternarOrdenacao",t)}return{ArrowUp:ji,ArrowDown:Oi,isOrdenavel:r,emitAlternarOrdenacao:i}}}),tv={class:"eli-tabela__thead"},nv={class:"eli-tabela__tr eli-tabela__tr--header"},rv={key:0,class:"eli-tabela__th eli-tabela__th--expander",scope:"col"},ov={key:1,class:"eli-tabela__th eli-tabela__th--selecao",scope:"col"},iv=["checked","indeterminate"],av=["onClick"],lv={class:"eli-tabela__th-texto"},cv={key:1,class:"eli-tabela__th-label"},sv={key:2,class:"eli-tabela__th eli-tabela__th--acoes",scope:"col"};function uv(e,n,r,i,t,o){const a=l.resolveComponent("ArrowUp");return l.openBlock(),l.createElementBlock("thead",tv,[l.createElementVNode("tr",nv,[e.temColunasInvisiveis?(l.openBlock(),l.createElementBlock("th",rv)):l.createCommentVNode("",!0),e.mostrarSelecao?(l.openBlock(),l.createElementBlock("th",ov,[l.createElementVNode("input",{type:"checkbox",class:"eli-tabela__checkbox",checked:e.todosSelecionados,indeterminate:e.algunsSelecionados,onChange:n[0]||(n[0]=c=>e.$emit("alternar-selecao-todos")),"aria-label":"Selecionar todos os itens da página"},null,40,iv)])):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.colunas,(c,u)=>(l.openBlock(),l.createElementBlock("th",{key:`th-${u}`,class:l.normalizeClass(["eli-tabela__th",[e.isOrdenavel(c)?"eli-tabela__th--ordenavel":void 0]]),scope:"col"},[e.isOrdenavel(c)?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:l.normalizeClass(["eli-tabela__th-botao",[e.colunaOrdenacao===String(c.coluna_ordem)?"eli-tabela__th-botao--ativo":void 0]]),onClick:s=>e.emitAlternarOrdenacao(String(c.coluna_ordem))},[l.createElementVNode("span",lv,l.toDisplayString(c.rotulo),1),e.colunaOrdenacao===String(c.coluna_ordem)?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.direcaoOrdenacao==="asc"?e.ArrowUp:e.ArrowDown),{key:0,class:"eli-tabela__th-icone",size:16,"stroke-width":2,"aria-hidden":"true"})):(l.openBlock(),l.createBlock(a,{key:1,class:"eli-tabela__th-icone eli-tabela__th-icone--oculto",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,av)):(l.openBlock(),l.createElementBlock("span",cv,l.toDisplayString(c.rotulo),1))],2))),128)),e.temAcoes?(l.openBlock(),l.createElementBlock("th",sv," Ações ")):l.createCommentVNode("",!0)])])}const dv=K(ev,[["render",uv]]),mv=l.defineComponent({name:"EliTabelaMenuAcoes",props:{menuAberto:{type:[Number,Object],default:null},posicao:{type:Object,required:!0},acoes:{type:Array,required:!0},linha:{type:[Object,String,Number,Array],default:null}},emits:{executar(e){return e!==null&&typeof e=="object"}},setup(e,{emit:n}){const r=l.ref(null),i=l.computed(()=>e.acoes.length>0);function t(o){e.linha&&n("executar",{acao:o.acao,linha:e.linha})}return{menuEl:r,possuiAcoes:i,emitExecutar:t}}}),fv={class:"eli-teleport-container"},pv=["id","aria-labelledby"],gv=["aria-label","title","onClick"],vv={class:"eli-tabela__acoes-item-texto"};function hv(e,n,r,i,t,o){return l.openBlock(),l.createElementBlock("div",fv,[(l.openBlock(),l.createBlock(l.Teleport,{to:"body"},[e.menuAberto!==null&&e.possuiAcoes?(l.openBlock(),l.createElementBlock("ul",{key:0,id:`eli-tabela-acoes-menu-${e.menuAberto}`,ref:"menuEl",class:"eli-tabela__acoes-menu",role:"menu","aria-labelledby":`eli-tabela-acoes-toggle-${e.menuAberto}`,style:l.normalizeStyle({position:"fixed",top:`${e.posicao.top}px`,left:`${e.posicao.left}px`,zIndex:999999})},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.acoes,a=>(l.openBlock(),l.createElementBlock("li",{key:`acao-${e.menuAberto}-${a.indice}`,class:"eli-tabela__acoes-item",role:"none"},[l.createElementVNode("button",{type:"button",class:"eli-tabela__acoes-item-botao",style:l.normalizeStyle({color:a.acao.cor}),role:"menuitem","aria-label":a.acao.rotulo,title:a.acao.rotulo,onClick:l.withModifiers(c=>e.emitExecutar(a),["stop"])},[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(a.acao.icone),{class:"eli-tabela__acoes-item-icone",size:16,"stroke-width":2})),l.createElementVNode("span",vv,l.toDisplayString(a.acao.rotulo),1)],12,gv)]))),128))],12,pv)):l.createCommentVNode("",!0)]))])}const $v=K(mv,[["render",hv]]);function bv({aberto:e,rotulosColunas:n,configInicial:r,colunas:i}){const t=l.ref([]),o=l.ref([]),a=l.ref(null);function c(){var T,U;const f=n.value,p=(((T=r.value.visiveis)==null?void 0:T.length)??0)>0||(((U=r.value.invisiveis)==null?void 0:U.length)??0)>0,h=new Set(i.value.filter($=>$.visivel===!1).map($=>$.rotulo)),v=p?new Set(r.value.invisiveis??[]):h,D=f.filter($=>!v.has($)),z=r.value.visiveis??[],S=new Set(D),x=[];for(const $ of z)S.has($)&&x.push($);for(const $ of D)x.includes($)||x.push($);t.value=x,o.value=f.filter($=>v.has($))}l.watch(()=>[e.value,n.value,r.value,i.value],()=>{e.value&&c()},{deep:!0,immediate:!0});function u(f,p){a.value=p,f.dataTransfer&&(f.dataTransfer.setData("text/plain",p),f.dataTransfer.effectAllowed="move")}function s(){a.value=null}function m(f,p){const h=a.value;if(!h||h===f)return;const v=t.value.indexOf(h),D=o.value.indexOf(h),z=v>=0?"visiveis":D>=0?"invisiveis":null;if(!z)return;const S=z==="visiveis"?t.value:o.value,x=p==="visiveis"?t.value:o.value,T=S.indexOf(h),U=x.indexOf(f);S.splice(T,1),x.splice(U,0,h)}function d(f){const p=a.value;if(!p)return;const h=f==="visiveis"?t.value:o.value;if(h[h.length-1]===p)return;const v=t.value.indexOf(p),D=o.value.indexOf(p);v>=0&&t.value.splice(v,1),D>=0&&o.value.splice(D,1),h.push(p)}return{visiveisLocal:t,invisiveisLocal:o,itemSendoArrastado:a,onDragStart:u,onDragEnd:s,onDragOverItem:m,onDragOverLista:d}}const _v=l.defineComponent({name:"EliTabelaModalColunas",components:{Columns2:Op,Eye:xp,EyeOff:Tp,GripVertical:Up,X:Ui,Check:Ep},props:{aberto:{type:Boolean,required:!0},rotulosColunas:{type:Array,required:!0},configInicial:{type:Object,required:!0},colunas:{type:Array,required:!0}},emits:{fechar(){return!0},salvar(e){return!0}},setup(e,{emit:n}){const r=bv({aberto:l.computed(()=>e.aberto),rotulosColunas:l.computed(()=>e.rotulosColunas),configInicial:l.computed(()=>e.configInicial),colunas:l.computed(()=>e.colunas)});function i(){n("fechar")}function t(){n("salvar",{visiveis:[...r.visiveisLocal.value],invisiveis:[...r.invisiveisLocal.value]})}return{...r,emitFechar:i,emitSalvar:t}}}),yv={class:"eli-tabela-modal-colunas__modal",role:"dialog","aria-modal":"true","aria-labelledby":"eli-modal-colunas-titulo"},kv={class:"eli-tabela-modal-colunas__header"},Sv={class:"eli-tabela-modal-colunas__header-info"},wv={class:"eli-tabela-modal-colunas__instrucao"},Iv={class:"eli-tabela-modal-colunas__conteudo"},zv={class:"eli-tabela-modal-colunas__coluna"},Ev={class:"eli-tabela-modal-colunas__coluna-cabecalho eli-tabela-modal-colunas__coluna-cabecalho--visiveis"},Nv={class:"eli-tabela-modal-colunas__coluna-contador"},Dv=["title","onDragstart","onDragover"],Ov={class:"eli-tabela-modal-colunas__item-texto"},jv={key:"vazio-visiveis",class:"eli-tabela-modal-colunas__vazio"},Cv={class:"eli-tabela-modal-colunas__coluna"},Tv={class:"eli-tabela-modal-colunas__coluna-cabecalho eli-tabela-modal-colunas__coluna-cabecalho--invisiveis"},xv={class:"eli-tabela-modal-colunas__coluna-contador"},Uv=["title","onDragstart","onDragover"],Av={class:"eli-tabela-modal-colunas__item-texto"},Pv={key:"vazio-invisiveis",class:"eli-tabela-modal-colunas__vazio"},Vv={class:"eli-tabela-modal-colunas__footer"};function Bv(e,n,r,i,t,o){const a=l.resolveComponent("Columns2"),c=l.resolveComponent("X"),u=l.resolveComponent("GripVertical"),s=l.resolveComponent("Eye"),m=l.resolveComponent("EyeOff"),d=l.resolveComponent("Check");return l.openBlock(),l.createBlock(l.Teleport,{to:"body"},[e.aberto?(l.openBlock(),l.createElementBlock("div",{key:0,class:"eli-tabela-modal-colunas__overlay",role:"presentation",onClick:n[9]||(n[9]=l.withModifiers((...f)=>e.emitFechar&&e.emitFechar(...f),["self"]))},[l.createElementVNode("div",yv,[l.createElementVNode("header",kv,[l.createElementVNode("div",Sv,[l.createVNode(a,{size:18,"stroke-width":2,class:"eli-tabela-modal-colunas__header-icone"}),n[10]||(n[10]=l.createElementVNode("h3",{id:"eli-modal-colunas-titulo",class:"eli-tabela-modal-colunas__titulo"},"Configurar colunas",-1))]),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__fechar","aria-label":"Fechar modal de colunas",onClick:n[0]||(n[0]=(...f)=>e.emitFechar&&e.emitFechar(...f))},[l.createVNode(c,{size:16,"stroke-width":2.5})])]),l.createElementVNode("div",wv,[l.createVNode(u,{size:14,"stroke-width":2,class:"eli-tabela-modal-colunas__instrucao-icone"}),n[11]||(n[11]=l.createTextVNode(" Arraste para reordenar ou mover entre as listas ",-1))]),l.createElementVNode("div",Iv,[l.createElementVNode("div",zv,[l.createElementVNode("div",Ev,[l.createVNode(s,{size:14,"stroke-width":2}),n[12]||(n[12]=l.createElementVNode("span",null,"Visíveis",-1)),l.createElementVNode("span",Nv,l.toDisplayString(e.visiveisLocal.length),1)]),l.createVNode(l.TransitionGroup,{name:"list",tag:"div",class:"eli-tabela-modal-colunas__lista eli-tabela-modal-colunas__lista--visiveis",onDragover:n[3]||(n[3]=l.withModifiers(f=>e.onDragOverLista("visiveis"),["prevent"])),onDrop:e.onDragEnd},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.visiveisLocal,f=>(l.openBlock(),l.createElementBlock("div",{key:`vis-${f}`,class:l.normalizeClass(["eli-tabela-modal-colunas__item eli-tabela-modal-colunas__item--visivel",{"eli-tabela-modal-colunas__item--arrastando":e.itemSendoArrastado===f}]),draggable:"true",title:`Arraste para mover '${f}'`,onDragstart:p=>e.onDragStart(p,f),onDragend:n[1]||(n[1]=(...p)=>e.onDragEnd&&e.onDragEnd(...p)),onDragover:l.withModifiers(p=>e.onDragOverItem(f,"visiveis"),["stop","prevent"]),onDrop:n[2]||(n[2]=l.withModifiers((...p)=>e.onDragEnd&&e.onDragEnd(...p),["stop","prevent"]))},[l.createVNode(u,{size:15,"stroke-width":2,class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"}),l.createElementVNode("span",Ov,l.toDisplayString(f),1),l.createVNode(s,{size:13,"stroke-width":2,class:"eli-tabela-modal-colunas__item-badge-icone eli-tabela-modal-colunas__item-badge-icone--visivel","aria-hidden":"true"})],42,Dv))),128)),e.visiveisLocal.length===0?(l.openBlock(),l.createElementBlock("div",jv,[l.createVNode(m,{size:28,"stroke-width":1.5,class:"eli-tabela-modal-colunas__vazio-icone"}),n[13]||(n[13]=l.createElementVNode("span",null,[l.createTextVNode("Nenhuma coluna visível."),l.createElementVNode("br"),l.createTextVNode("Arraste itens da lista ao lado.")],-1))])):l.createCommentVNode("",!0)]),_:1},8,["onDrop"])]),l.createElementVNode("div",Cv,[l.createElementVNode("div",Tv,[l.createVNode(m,{size:14,"stroke-width":2}),n[14]||(n[14]=l.createElementVNode("span",null,"Ocultas",-1)),l.createElementVNode("span",xv,l.toDisplayString(e.invisiveisLocal.length),1)]),l.createVNode(l.TransitionGroup,{name:"list",tag:"div",class:"eli-tabela-modal-colunas__lista eli-tabela-modal-colunas__lista--invisiveis",onDragover:n[6]||(n[6]=l.withModifiers(f=>e.onDragOverLista("invisiveis"),["prevent"])),onDrop:e.onDragEnd},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.invisiveisLocal,f=>(l.openBlock(),l.createElementBlock("div",{key:`inv-${f}`,class:l.normalizeClass(["eli-tabela-modal-colunas__item eli-tabela-modal-colunas__item--invisivel",{"eli-tabela-modal-colunas__item--arrastando":e.itemSendoArrastado===f}]),draggable:"true",title:`Arraste para mover '${f}'`,onDragstart:p=>e.onDragStart(p,f),onDragend:n[4]||(n[4]=(...p)=>e.onDragEnd&&e.onDragEnd(...p)),onDragover:l.withModifiers(p=>e.onDragOverItem(f,"invisiveis"),["stop","prevent"]),onDrop:n[5]||(n[5]=l.withModifiers((...p)=>e.onDragEnd&&e.onDragEnd(...p),["stop","prevent"]))},[l.createVNode(u,{size:15,"stroke-width":2,class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"}),l.createElementVNode("span",Av,l.toDisplayString(f),1),l.createVNode(m,{size:13,"stroke-width":2,class:"eli-tabela-modal-colunas__item-badge-icone eli-tabela-modal-colunas__item-badge-icone--invisivel","aria-hidden":"true"})],42,Uv))),128)),e.invisiveisLocal.length===0?(l.openBlock(),l.createElementBlock("div",Pv,[l.createVNode(s,{size:28,"stroke-width":1.5,class:"eli-tabela-modal-colunas__vazio-icone eli-tabela-modal-colunas__vazio-icone--ok"}),n[15]||(n[15]=l.createElementVNode("span",null,"Todas as colunas estão visíveis.",-1))])):l.createCommentVNode("",!0)]),_:1},8,["onDrop"])])]),l.createElementVNode("footer",Vv,[l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--sec",onClick:n[7]||(n[7]=(...f)=>e.emitFechar&&e.emitFechar(...f))},[l.createVNode(c,{size:14,"stroke-width":2.5}),n[16]||(n[16]=l.createTextVNode(" Cancelar ",-1))]),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--prim",onClick:n[8]||(n[8]=(...f)=>e.emitSalvar&&e.emitSalvar(...f))},[l.createVNode(d,{size:14,"stroke-width":2.5}),n[17]||(n[17]=l.createTextVNode(" Salvar ",-1))])])])])):l.createCommentVNode("",!0)])}const Zv=K(_v,[["render",Bv]]);function Vi(e){return e.rotulo}function Mv({aberto:e,filtrosBase:n,modelo:r,modeloFormula:i,emit:t}){const o=l.ref([]),a=l.ref(""),c=l.ref(""),u=l.computed(()=>o.value.map((b,k)=>`{c${k+1}}`).join(" E "));function s(b){let k=b;return o.value.forEach((B,w)=>{k=k.replace(new RegExp(`\\{${B.chave}\\}`,"g"),`{c${w+1}}`)}),k}function m(b){var B;let k=b;for(let w=o.value.length;w>=1;w--){const A=(B=o.value[w-1])==null?void 0:B.chave;A&&(k=k.replace(new RegExp(`\\{c${w}\\}`,"g"),`{${A}}`))}return k}const d=l.computed(()=>(n.value??[]).map(b=>String(b.chave))),f=l.computed(()=>{const b=new Set(o.value.map(k=>String(k.chave)));return(n.value??[]).filter(k=>!b.has(String(k.chave)))});function p(b){const k=b==null?void 0:b[0];return k==="numero"?Wn:k==="dataHora"?Gn:k==="selecao"?Hn:k==="selecaoMultipla"?Yn:k==="paragrafo"?Xn:k==="confirmacao"?mi:Zt}function h(b){return{...typeof(b==null?void 0:b[1])=="object"&&b[1]!==null?{...b[1]}:{},rotulo:""}}function v(b){return(b==null?void 0:b[0])==="numero"||(b==null?void 0:b[0])==="dataHora"||(b==null?void 0:b[0])==="selecao"?null:(b==null?void 0:b[0])==="selecaoMultipla"?[]:(b==null?void 0:b[0])==="confirmacao"?!1:""}function D(){const b=n.value??[],k=Array.isArray(r.value)?r.value:[];o.value=k.map(B=>{if(!B||typeof B!="object")return null;const w=B,A=b.find(E=>String(E.chave)===String(w.chave))??b[0];if(!A)return null;const ae=A.entrada??w.entrada,he=String(A.chave??w.chave),I=w.valor??v(ae);return{chave:he,entrada:ae,valor:I}}).filter(Boolean),o.value=o.value.filter(B=>d.value.includes(String(B.chave))),i.value?c.value=s(i.value):c.value=u.value}l.watch(()=>[e.value,n.value,r.value],()=>{e.value&&D()},{deep:!0,immediate:!0});function z(){if(!a.value)return;const b=(n.value??[]).find(k=>String(k.chave)===String(a.value));b&&(o.value.some(k=>String(k.chave)===String(b.chave))||(o.value.push({chave:String(b.chave),entrada:b.entrada,valor:v(b.entrada)}),c.value=u.value,a.value=""))}function S(b){o.value.splice(b,1),c.value=u.value}function x(){t("fechar")}function T(){t("limpar")}function U(){const b=m(c.value);t("salvar",o.value.map(k=>({chave:k.chave,valor:k.valor})),b)}function $(b){const k=(n.value??[]).find(B=>String(B.chave)===b);return k?Vi(k):b}return{linhas:o,opcoesParaAdicionar:f,chaveParaAdicionar:a,formulaCustomizada:c,formulaGerada:u,componenteEntrada:p,opcoesEntrada:h,adicionar:z,remover:S,emitFechar:x,emitSalvar:U,emitLimpar:T,rotuloDoFiltro:Vi,rotuloDoFiltroAtivo:$}}const Fv=l.defineComponent({name:"EliTabelaModalFiltroAvancado",components:{CircleHelp:Dp,Filter:xi,Plus:Vp,Trash2:Zp,X:Ui},props:{aberto:{type:Boolean,required:!0},filtrosBase:{type:Array,required:!0},modelo:{type:Array,required:!0},modeloFormula:{type:String,default:""}},emits:{fechar:()=>!0,limpar:()=>!0,salvar:(e,n)=>!0},setup(e,{emit:n}){return Mv({aberto:l.computed(()=>e.aberto),filtrosBase:l.computed(()=>e.filtrosBase),modelo:l.computed(()=>e.modelo),modeloFormula:l.computed(()=>e.modeloFormula),emit:n})}}),Lv={class:"eli-tabela-modal-filtro__modal",role:"dialog","aria-modal":"true","aria-label":"Filtro avançado"},Rv={class:"eli-tabela-modal-filtro__header"},Jv={class:"eli-tabela-modal-filtro__header-titulo"},qv={key:0,class:"eli-tabela-modal-filtro__contador"},Gv={class:"eli-tabela-modal-filtro__conteudo"},Kv={key:0,class:"eli-tabela-modal-filtro__vazio"},Wv={key:1},Xv={key:0,class:"eli-tabela-modal-filtro__lista"},Hv={class:"eli-tabela-modal-filtro__linha-header"},Yv=["title"],Qv={class:"eli-tabela-modal-filtro__rotulo-filtro"},eh=["onClick"],th={class:"eli-tabela-modal-filtro__entrada"},nh={key:1,class:"eli-tabela-modal-filtro__estado-vazio"},rh={class:"eli-tabela-modal-filtro__rodape-filtros"},oh={class:"eli-tabela-modal-filtro__acoes"},ih=["disabled"],ah=["value"],lh=["disabled"],ch={key:0,class:"eli-tabela-modal-filtro__formula-container"},sh=["placeholder"],uh={class:"eli-tabela-modal-filtro__formula-ajuda",tabindex:"0","aria-label":"Ajuda sobre fórmulas"},dh={class:"eli-tabela-modal-filtro__footer"},mh=["disabled"];function fh(e,n,r,i,t,o){const a=l.resolveComponent("Filter"),c=l.resolveComponent("X"),u=l.resolveComponent("Trash2"),s=l.resolveComponent("Plus"),m=l.resolveComponent("CircleHelp");return l.openBlock(),l.createBlock(l.Transition,{name:"eli-tabela-modal-filtro"},{default:l.withCtx(()=>[e.aberto?(l.openBlock(),l.createElementBlock("div",{key:0,class:"eli-tabela-modal-filtro__overlay",role:"presentation",onClick:n[7]||(n[7]=l.withModifiers((...d)=>e.emitFechar&&e.emitFechar(...d),["self"]))},[l.createElementVNode("div",Lv,[l.createElementVNode("header",Rv,[l.createElementVNode("div",Jv,[l.createVNode(a,{class:"eli-tabela-modal-filtro__header-icone",size:18,"stroke-width":2}),n[8]||(n[8]=l.createElementVNode("h3",{class:"eli-tabela-modal-filtro__titulo"},"Filtro avançado",-1)),e.linhas.length?(l.openBlock(),l.createElementBlock("span",qv,l.toDisplayString(e.linhas.length)+" "+l.toDisplayString(e.linhas.length===1?"filtro":"filtros"),1)):l.createCommentVNode("",!0)]),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__fechar","aria-label":"Fechar",onClick:n[0]||(n[0]=(...d)=>e.emitFechar&&e.emitFechar(...d))},[l.createVNode(c,{size:18,"stroke-width":2})])]),l.createElementVNode("div",Gv,[e.filtrosBase.length?(l.openBlock(),l.createElementBlock("div",Wv,[e.linhas.length?(l.openBlock(),l.createElementBlock("div",Xv,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.linhas,(d,f)=>(l.openBlock(),l.createElementBlock("div",{key:String(d.chave),class:"eli-tabela-modal-filtro__linha"},[l.createElementVNode("div",Hv,[l.createElementVNode("span",{class:"eli-tabela-modal-filtro__id-badge",title:`Identificador na fórmula: {c${f+1}}`}," c"+l.toDisplayString(f+1),9,Yv),l.createElementVNode("span",Qv,l.toDisplayString(e.rotuloDoFiltroAtivo(d.chave)),1),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__remover",title:"Remover filtro","aria-label":"Remover filtro",onClick:p=>e.remover(f)},[l.createVNode(u,{size:14,"stroke-width":2})],8,eh)]),l.createElementVNode("div",th,[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.componenteEntrada(d.entrada)),l.mergeProps({ref_for:!0},{value:d.valor,opcoes:e.opcoesEntrada(d.entrada),density:"compact"},{"onUpdate:value":p=>d.valor=p,onInput:p=>d.valor=p}),null,16,["onUpdate:value","onInput"]))])]))),128))])):(l.openBlock(),l.createElementBlock("div",nh,[l.createVNode(a,{size:32,"stroke-width":1.5}),n[9]||(n[9]=l.createElementVNode("span",null,"Selecione um filtro abaixo para começar",-1))])),l.createElementVNode("div",rh,[l.createElementVNode("div",oh,[l.withDirectives(l.createElementVNode("select",{"onUpdate:modelValue":n[1]||(n[1]=d=>e.chaveParaAdicionar=d),class:"eli-tabela-modal-filtro__select",disabled:!e.opcoesParaAdicionar.length},[n[10]||(n[10]=l.createElementVNode("option",{disabled:"",value:""},"Selecione um filtro…",-1)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.opcoesParaAdicionar,d=>(l.openBlock(),l.createElementBlock("option",{key:String(d.chave),value:String(d.chave)},l.toDisplayString(e.rotuloDoFiltro(d)),9,ah))),128))],8,ih),[[l.vModelSelect,e.chaveParaAdicionar]]),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",onClick:n[2]||(n[2]=(...d)=>e.adicionar&&e.adicionar(...d)),disabled:!e.chaveParaAdicionar},[l.createVNode(s,{size:15,"stroke-width":2.5}),n[11]||(n[11]=l.createTextVNode(" Adicionar ",-1))],8,lh)]),e.linhas.length>=2?(l.openBlock(),l.createElementBlock("div",ch,[n[13]||(n[13]=l.createElementVNode("label",{class:"eli-tabela-modal-filtro__formula-label"},"Fórmula",-1)),l.withDirectives(l.createElementVNode("input",{"onUpdate:modelValue":n[3]||(n[3]=d=>e.formulaCustomizada=d),type:"text",class:"eli-tabela-modal-filtro__formula-input",placeholder:"Ex: "+e.formulaGerada},null,8,sh),[[l.vModelText,e.formulaCustomizada]]),l.createElementVNode("span",uh,[l.createVNode(m,{size:15,"stroke-width":2}),n[12]||(n[12]=l.createElementVNode("div",{class:"eli-tabela-modal-filtro__formula-tooltip",role:"tooltip"},[l.createElementVNode("strong",null,"Como usar a fórmula"),l.createElementVNode("p",null,[l.createTextVNode("Use os identificadores "),l.createElementVNode("code",null,"{c1}"),l.createTextVNode(", "),l.createElementVNode("code",null,"{c2}"),l.createTextVNode(", "),l.createElementVNode("code",null,"{c3}"),l.createTextVNode("… correspondentes a cada filtro acima:")]),l.createElementVNode("ul",null,[l.createElementVNode("li",null,[l.createElementVNode("code",null,"E"),l.createTextVNode(" — ambos devem ser verdadeiros")]),l.createElementVNode("li",null,[l.createElementVNode("code",null,"OU"),l.createTextVNode(" — pelo menos um deve ser verdadeiro")]),l.createElementVNode("li",null,[l.createElementVNode("code",null,"NAO"),l.createTextVNode(" — negação de uma condição")]),l.createElementVNode("li",null,[l.createElementVNode("code",null,"( )"),l.createTextVNode(" — agrupa condições")])]),l.createElementVNode("p",null,[l.createElementVNode("strong",null,"Exemplo:")]),l.createElementVNode("code",null,"{c1} OU ({c2} E NAO {c3})"),l.createElementVNode("p",{class:"eli-tabela-modal-filtro__formula-tooltip-nota"},"Deixe em branco para combinar todos com E.")],-1))])])):l.createCommentVNode("",!0)])])):(l.openBlock(),l.createElementBlock("div",Kv," Nenhum filtro configurado na tabela. "))]),l.createElementVNode("footer",dh,[l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--perigo",disabled:!e.linhas.length,onClick:n[4]||(n[4]=(...d)=>e.emitLimpar&&e.emitLimpar(...d))}," Limpar ",8,mh),n[14]||(n[14]=l.createElementVNode("div",{class:"eli-tabela-modal-filtro__footer-spacer"},null,-1)),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:n[5]||(n[5]=(...d)=>e.emitFechar&&e.emitFechar(...d))}," Cancelar "),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",onClick:n[6]||(n[6]=(...d)=>e.emitSalvar&&e.emitSalvar(...d))}," Aplicar ")])])])):l.createCommentVNode("",!0)]),_:1})}const ph=K(Fv,[["render",fh]]),gh=l.defineComponent({name:"EliTabelaPaginacao",props:{pagina:{type:Number,required:!0},totalPaginas:{type:Number,required:!0},maximoBotoes:{type:Number,required:!1},acoes:{type:Array,required:!1,default:()=>[]},parametrosConsulta:{type:Object,required:!1}},emits:{alterar(e){return Number.isFinite(e)}},setup(e,{emit:n}){const r=l.computed(()=>{const s=e.maximoBotoes;return typeof s=="number"&&s>=5?Math.floor(s):7}),i=l.computed(()=>{const s=e.totalPaginas,m=e.pagina,d=r.value,f=[],p=S=>{f.push({label:String(S),pagina:S,ativo:S===m})},h=()=>{f.push({label:"…",ehEllipsis:!0})};if(s<=d){for(let S=1;S<=s;S+=1)p(S);return f}const v=Math.max(3,d-2);let D=Math.max(2,m-Math.floor(v/2)),z=D+v-1;z>=s&&(z=s-1,D=z-v+1),p(1),D>2&&h();for(let S=D;S<=z;S+=1)p(S);return ze.pagina<=1),a=l.computed(()=>e.pagina>=e.totalPaginas),c=l.computed(()=>e.pagina),u=l.computed(()=>e.totalPaginas);return{botoes:i,irParaPagina:t,anteriorDesabilitado:o,proximaDesabilitada:a,paginaAtual:c,totalPaginasExibidas:u}}}),vh={class:"eli-tabela__rodape"},hh={key:0,class:"eli-tabela__acoes-inferiores",style:{"margin-right":"auto"}},$h=["onClick"],bh={class:"eli-tabela__acoes-cabecalho-rotulo"},_h={key:1,class:"eli-tabela__paginacao",role:"navigation","aria-label":"Paginação de resultados"},yh=["disabled"],kh={key:0,class:"eli-tabela__pagina-ellipsis","aria-hidden":"true"},Sh=["disabled","aria-current","aria-label","onClick"],wh=["disabled"];function Ih(e,n,r,i,t,o){return l.openBlock(),l.createElementBlock("div",vh,[e.acoes.length>0?(l.openBlock(),l.createElementBlock("div",hh,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.acoes,(a,c)=>(l.openBlock(),l.createElementBlock("button",{key:`${a.rotulo}-${c}`,type:"button",class:"eli-tabela__acao-inferior",style:l.normalizeStyle(a.cor?{borderColor:a.cor,color:a.cor}:void 0),onClick:u=>a.acao(e.parametrosConsulta)},[a.icone?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(a.icone),{key:0,class:"eli-tabela__acoes-cabecalho-icone",size:16,"stroke-width":2})):l.createCommentVNode("",!0),l.createElementVNode("span",bh,l.toDisplayString(a.rotulo),1)],12,$h))),128))])):l.createCommentVNode("",!0),e.totalPaginasExibidas>1?(l.openBlock(),l.createElementBlock("nav",_h,[l.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.anteriorDesabilitado,"aria-label":"Página anterior",onClick:n[0]||(n[0]=a=>e.irParaPagina(e.paginaAtual-1))}," << ",8,yh),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.botoes,(a,c)=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:`${a.label}-${c}`},[a.ehEllipsis?(l.openBlock(),l.createElementBlock("span",kh,l.toDisplayString(a.label),1)):(l.openBlock(),l.createElementBlock("button",{key:1,type:"button",class:l.normalizeClass(["eli-tabela__pagina-botao",a.ativo?"eli-tabela__pagina-botao--ativo":void 0]),disabled:a.ativo,"aria-current":a.ativo?"page":void 0,"aria-label":`Ir para página ${a.label}`,onClick:u=>e.irParaPagina(a.pagina)},l.toDisplayString(a.label),11,Sh))],64))),128)),l.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.proximaDesabilitada,"aria-label":"Próxima página",onClick:n[1]||(n[1]=a=>e.irParaPagina(e.paginaAtual+1))}," >> ",8,wh)])):l.createCommentVNode("",!0)])}const zh=K(gh,[["render",Ih]]),Eh="eli:tabela";function Bi(e){return`${Eh}:${e}:colunas`}function Zi(e){if(!e||typeof e!="object")return{visiveis:[],invisiveis:[]};const n=e,r=Array.isArray(n.visiveis)?n.visiveis.filter(t=>typeof t=="string"):[],i=Array.isArray(n.invisiveis)?n.invisiveis.filter(t=>typeof t=="string"):[];return{visiveis:r,invisiveis:i}}function Mi(e){try{const n=window.localStorage.getItem(Bi(e));return n?Zi(JSON.parse(n)):{visiveis:[],invisiveis:[]}}catch{return{visiveis:[],invisiveis:[]}}}function Nh(e,n){try{window.localStorage.setItem(Bi(e),JSON.stringify(Zi(n)))}catch{}}function Qn(e){return`eli_tabela:${e}:filtro_avancado`}function Fi(e){const n={linhas:[],formula:""};try{const r=localStorage.getItem(Qn(e));if(!r)return n;const i=JSON.parse(r);return Array.isArray(i)?{linhas:i,formula:""}:i&&typeof i=="object"?{linhas:Array.isArray(i.linhas)?i.linhas:[],formula:typeof i.formula=="string"?i.formula:""}:n}catch{return n}}function Dh(e,n){try{localStorage.setItem(Qn(e),JSON.stringify(n??{linhas:[]}))}catch{}}function Oh(e){try{localStorage.removeItem(Qn(e))}catch{}}function jh(e,n){const r=l.ref(!1),i=l.ref(Mi(e.tabela.nome)),t=l.ref({}),o=l.computed(()=>e.tabela.colunas.map(h=>h.rotulo)),a=l.computed(()=>{var U,$;const h=e.tabela.colunas,D=(((U=i.value.visiveis)==null?void 0:U.length)??0)>0||((($=i.value.invisiveis)==null?void 0:$.length)??0)>0?i.value.invisiveis??[]:h.filter(b=>b.visivel===!1).map(b=>b.rotulo),z=new Set(D),S=h.filter(b=>z.has(b.rotulo)),x=new Map;for(const b of S)x.has(b.rotulo)||x.set(b.rotulo,b);const T=[];for(const b of D){const k=x.get(b);k&&T.push(k)}for(const b of S)T.includes(b)||T.push(b);return T}),c=l.computed(()=>a.value.length>0),u=l.computed(()=>{var k,B;const h=e.tabela.colunas,v=o.value,D=(((k=i.value.visiveis)==null?void 0:k.length)??0)>0||(((B=i.value.invisiveis)==null?void 0:B.length)??0)>0,z=D?i.value.invisiveis??[]:e.tabela.colunas.filter(w=>w.visivel===!1).map(w=>w.rotulo),S=new Set(z),x=v.filter(w=>!S.has(w)),T=new Set(x),U=D?i.value.visiveis??[]:[],$=[];for(const w of U)T.has(w)&&$.push(w);for(const w of x)$.includes(w)||$.push(w);const b=new Map;for(const w of h)b.has(w.rotulo)||b.set(w.rotulo,w);return $.map(w=>b.get(w)).filter(Boolean)}),s=l.computed(()=>u.value.length+(n.value?1:0)+(c.value?1:0));function m(){r.value=!0}function d(){r.value=!1}function f(h){i.value=h,Nh(e.tabela.nome,h),r.value=!1,t.value={}}function p(h){const v=!!t.value[h];t.value={...t.value,[h]:!v}}return{modalColunasAberto:r,configColunas:i,linhasExpandidas:t,rotulosColunas:o,colunasEfetivas:u,colunasInvisiveisEfetivas:a,temColunasInvisiveis:c,totalColunas:s,abrirModalColunas:m,fecharModalColunas:d,salvarModalColunas:f,alternarLinhaExpandida:p}}var Li=(e=>(e[e.sucesso=200]="sucesso",e[e.erroConhecido=400]="erroConhecido",e[e.erroPermissao=401]="erroPermissao",e[e.erroNaoEncontrado=404]="erroNaoEncontrado",e[e.erroDesconhecido=500]="erroDesconhecido",e[e.tempoEsgotado=504]="tempoEsgotado",e))(Li||{});function Ch(e,n,r,i,t){const a=l.ref(!1),c=l.ref(null),u=l.ref([]),s=l.ref(0),m=l.ref([]),d=l.ref(null),f=l.ref("asc"),p=l.computed(()=>e.tabela),h=l.computed(()=>{const I=e.tabela.registros_por_consulta;return typeof I=="number"&&I>0?Math.floor(I):10}),v=l.computed(()=>{const I=h.value;if(!I||I<=0)return 1;const E=s.value??0;return E?Math.max(1,Math.ceil(E/I)):1}),D=l.computed(()=>u.value??[]),z=l.computed(()=>s.value??0),S=l.computed(()=>(e.tabela.acoesLinha??[]).length>0),x=l.computed(()=>!!e.tabela.mostrarCaixaDeBusca),T=l.computed(()=>(e.tabela.acoesTabela??[]).filter(I=>I.posicao==="superior")),U=l.computed(()=>(e.tabela.acoesTabela??[]).filter(I=>I.posicao==="inferior")),$=l.computed(()=>T.value.length>0),b=l.computed(()=>U.value.length>0),k=l.computed(()=>{const I=Math.max(1,h.value),N={offSet:(r.value-1)*I,limit:I},C=(i.value??"").trim();if(C)N.texto_busca=C;else{const j=n.value;j.length&&(N.filtros=j)}return d.value&&(N.coluna_ordem=d.value,N.direcao_ordem=f.value),{...N,atualizarConsulta:async()=>{await w()},editarLista:async j=>(u.value=j,j)}});let B=0;async function w(){var E,N;const I=++B;a.value=!0,c.value=null;try{m.value=[],t.value={};const C=Math.max(1,h.value),Z={offSet:(r.value-1)*C,limit:C},F=(i.value??"").trim();if(F)Z.texto_busca=F;else{const M=n.value;M.length&&(Z.filtros=M)}d.value&&(Z.coluna_ordem=d.value,Z.direcao_ordem=f.value);const G=await e.tabela.consulta(Z);if(I!==B)return;if(G.cod!==Li.sucesso){u.value=[],s.value=0,c.value=G.mensagem;return}const H=((E=G.valor)==null?void 0:E.valores)??[],ne=((N=G.valor)==null?void 0:N.quantidade)??H.length;u.value=H,s.value=Number(ne)||0;const re=Math.max(1,Math.ceil((s.value||0)/C));r.value>re&&(r.value=re);const le=e.tabela.acoesLinha??[];if(!le.length){m.value=[];return}m.value=H.map(()=>le.map(M=>M.exibir===void 0?!0:typeof M.exibir=="boolean"?M.exibir:!1));const ke=await Promise.all(H.map(M=>Promise.all(le.map(async W=>{if(W.exibir===void 0)return!0;if(typeof W.exibir=="boolean")return W.exibir;try{return!!await Promise.resolve(W.exibir(M))}catch{return!1}}))));I===B&&(m.value=ke)}catch(C){if(console.error("[EliTabela] Erro capturado em carregar():",C),I!==B)return;u.value=[],s.value=0,c.value=C instanceof Error?C.message:"Erro ao carregar dados."}finally{I===B&&(a.value=!1)}}function A(I){if(I){if(d.value===I){f.value=f.value==="asc"?"desc":"asc",w();return}d.value=I,f.value="asc",r.value!==1?r.value=1:w()}}function ae(I){i.value!==I&&(i.value=I,r.value!==1?r.value=1:w())}function he(I){const E=Math.min(Math.max(1,I),v.value);E!==r.value&&(r.value=E)}return l.watch(r,(I,E)=>{I!==E&&w()}),l.watch(u,()=>{t.value={}}),l.watch(()=>e.tabela.mostrarCaixaDeBusca,I=>{!I&&i.value&&(i.value="",r.value!==1?r.value=1:w())}),l.watch(()=>e.tabela.registros_por_consulta,()=>{r.value!==1?r.value=1:w()}),{isDev:!1,tabela:p,carregando:a,erro:c,linhas:u,linhasPaginadas:D,quantidade:s,quantidadeFiltrada:z,acoesVisiveis:m,colunaOrdenacao:d,direcaoOrdenacao:f,registrosPorConsulta:h,totalPaginas:v,temAcoes:S,exibirBusca:x,acoesSuperiores:T,acoesInferiores:U,temAcoesSuperiores:$,temAcoesInferiores:b,parametrosConsultaAtuais:k,carregar:w,alternarOrdenacao:A,atualizarBusca:ae,irParaPagina:he}}function Th(e,n,r,i){const t=Fi(e.tabela.nome),o=l.ref(t.linhas),a=l.ref(t.formula??""),c=l.ref(!1),u=l.computed(()=>(e.tabela.filtroAvancado??[]).length>0),s=l.computed(()=>{const z=e.tabela.filtroAvancado??[],S=(o.value??[]).filter($=>$&&$.chave!==void 0);if(S.length===0)return[];const x=S.map($=>{const b=z.find(B=>String(B.chave)===String($.chave));if(!b)return null;const k=b.filtro($.valor);return k?{chave:$.chave,condicao:k}:null}).filter($=>$!==null);if(x.length===0)return[];if(a.value&&x.length>1){const $=[];let b=a.value;return x.forEach(({chave:k},B)=>{b=b.replace(new RegExp(`\\{${k}\\}`,"g"),`{c${B+1}}`)}),x.forEach(({condicao:k},B)=>{const w=`{c${B+1}}`;$.push({...k,id:w})}),[{condicoes:$,formula:b}]}const T=x.map(({condicao:$},b)=>({...$,id:`{c${b+1}}`})),U=T.map($=>$.id).join(" E ");return[{condicoes:T,formula:U}]});function m(){c.value=!0}function d(){c.value=!1}function f(){o.value=[],a.value="",Oh(e.tabela.nome),c.value=!1,r.value="",n.value!==1?n.value=1:i()}function p(z,S){o.value=z??[],a.value=S??"",Dh(e.tabela.nome,{linhas:o.value,formula:a.value}),c.value=!1,r.value="",n.value!==1?n.value=1:i()}const h={"=":"igual a","!=":"diferente de",">":"maior que","<":"menor que",">=":"maior ou igual a","<=":"menor ou igual a",like:"contém",in:"em","∩":"possui"};function v(z,S){const[x,T]=Array.isArray(z)?z:[z,{}];if(x==="confirmacao"){const U=T||{};return S===!0?U.rotuloAtivo||"Sim":S===!1?U.rotuloInativo||"Não":String(S)}if((x==="selecao"||x==="selecaoMultipla")&&typeof(T==null?void 0:T.itens)=="function")try{const U=T.itens();if(Array.isArray(U)){const $=b=>{const k=U.find(B=>String(B.chave)===String(b));return k?k.rotulo:b};return Array.isArray(S)?S.map(b=>$(String(b))).join(", "):$(String(S))}}catch{}return Array.isArray(S)?S.map(String).join(", "):String(S)}const D=l.computed(()=>{const z=e.tabela.filtroAvancado??[],S=(o.value??[]).filter(T=>T&&T.chave!==void 0),x=[];for(const T of S){const U=z.find($=>String($.chave)===String(T.chave));if(U){const $=U.filtro(T.valor);if($){const b=h[$.operador]||$.operador,k=v(U.entrada,$.valor);x.push(`${U.rotulo} ${b} "${k}"`)}}}return{quantidade:x.length,rotulos:x}});return{filtrosUi:o,filtrosFormula:a,modalFiltroAberto:c,exibirFiltroAvancado:u,filtrosAvancadosAtivos:s,filtrosAtivosResumo:D,abrirModalFiltro:m,fecharModalFiltro:d,limparFiltrosAvancados:f,salvarFiltrosAvancados:p}}function xh(e,n){const r=l.ref(null),i=l.ref(null),t=l.ref({top:0,left:0});function o(m){var z,S,x,T;const d=m.getBoundingClientRect(),f=8,p=((S=(z=i.value)==null?void 0:z.menuEl)==null?void 0:S.offsetHeight)??0,h=((T=(x=i.value)==null?void 0:x.menuEl)==null?void 0:T.offsetWidth)??180;let v=d.bottom+f;const D=d.right-h;p&&v+p>window.innerHeight-f&&(v=d.top-f-p),t.value={top:Math.max(f,Math.round(v)),left:Math.max(f,Math.round(D))}}function a(m){var f,p;if(r.value===null)return;const d=m.target;(p=(f=i.value)==null?void 0:f.menuEl)!=null&&p.contains(d)||(r.value=null)}function c(m){const d=e.tabela.acoesLinha??[],f=n.value[m]??[];return d.map((p,h)=>{const v=p.exibir===void 0?!0:typeof p.exibir=="boolean"?p.exibir:!1;return{acao:p,indice:h,visivel:f[h]??v}}).filter(p=>p.visivel)}function u(m){return c(m).length>0}function s(m,d){if(!u(m))return;if(r.value===m){r.value=null;return}r.value=m;const f=(d==null?void 0:d.currentTarget)??null;f&&(o(f),l.nextTick(()=>{r.value!==null&&o(f)}))}return l.onMounted(()=>document.addEventListener("click",a)),l.onBeforeUnmount(()=>document.removeEventListener("click",a)),{menuAberto:r,menuPopup:i,menuPopupPos:t,possuiAcoes:u,toggleMenu:s,acoesDisponiveisPorLinha:c}}function Uh(e,n,r){const i=l.computed(()=>!!e.tabela.mostrar_selecao),t=l.computed(()=>e.tabela.chave_selecao);function o(d){return t.value&&d&&typeof d=="object"?d[t.value]:d}function a(d){const f=o(d);return t.value?e.selecionados.some(p=>o(p)===f):e.selecionados.includes(d)}function c(d){const f=[...e.selecionados],p=o(d);let h=-1;t.value?h=f.findIndex(v=>o(v)===p):h=f.indexOf(d),h===-1?f.push(d):f.splice(h,1),n("update:selecionados",f)}const u=l.computed(()=>r.value.length===0?!1:r.value.every(d=>a(d))),s=l.computed(()=>r.value.length===0?!1:r.value.some(d=>a(d))&&!u.value);function m(d){const f=d??!u.value;let p=[...e.selecionados];if(f)for(const h of r.value)a(h)||p.push(h);else{const h=r.value.map(o);t.value?p=p.filter(v=>!h.includes(o(v))):p=p.filter(v=>!h.includes(v))}n("update:selecionados",p)}return{mostrarSelecao:i,isSelecionado:a,alternarSelecao:c,todosSelecionados:u,algunsSelecionados:s,alternarSelecaoTodos:m}}function Ah(e,n){const r=l.ref(1),i=l.ref("");let t=async()=>{};const a=Th(e,r,i,()=>t()),c=l.ref(!1),u=jh(e,c),s=Ch(e,a.filtrosAvancadosAtivos,r,i,u.linhasExpandidas);t=s.carregar,c.value=s.temAcoes.value,l.watch(s.temAcoes,f=>{c.value=f});const m=Uh(e,n,s.linhasPaginadas),d=xh(e,s.acoesVisiveis);return l.watch(()=>e.tabela,()=>{d.menuAberto.value=null,s.colunaOrdenacao.value=null,s.direcaoOrdenacao.value="asc",i.value="",u.modalColunasAberto.value=!1,a.modalFiltroAberto.value=!1,u.configColunas.value=Mi(e.tabela.nome);const f=Fi(e.tabela.nome);a.filtrosUi.value=f.linhas,u.linhasExpandidas.value={},r.value!==1?r.value=1:s.carregar()}),l.onMounted(()=>void s.carregar()),{...s,...a,...m,...u,menuAberto:d.menuAberto,menuPopup:d.menuPopup,menuPopupPos:d.menuPopupPos,possuiAcoes:d.possuiAcoes,toggleMenu:d.toggleMenu,acoesDisponiveisPorLinha:d.acoesDisponiveisPorLinha,paginaAtual:r,valorBusca:i}}const Ph=l.defineComponent({name:"EliTabela",inheritAttrs:!1,components:{EliTabelaCabecalho:qg,EliTabelaEstados:Qg,EliTabelaHead:dv,EliTabelaBody:Og,EliTabelaMenuAcoes:$v,EliTabelaPaginacao:zh,EliTabelaModalColunas:Zv,EliTabelaModalFiltroAvancado:ph},props:{tabela:{type:Object,required:!0},selecionados:{type:Array,default:()=>[]},esconderDebug:{type:Boolean,default:!1}},emits:["update:selecionados"],setup(e,{emit:n}){return Ah(e,n)}}),Vh={class:"eli-tabela"},Bh={class:"eli-tabela__table-wrapper"},Zh={class:"eli-tabela__table"},Mh={key:0},Fh=["colspan"];function Lh(e,n,r,i,t,o){const a=l.resolveComponent("EliTabelaCabecalho"),c=l.resolveComponent("EliTabelaModalColunas"),u=l.resolveComponent("EliTabelaModalFiltroAvancado"),s=l.resolveComponent("EliTabelaHead"),m=l.resolveComponent("EliTabelaEstados"),d=l.resolveComponent("EliTabelaBody"),f=l.resolveComponent("EliTabelaMenuAcoes"),p=l.resolveComponent("EliTabelaPaginacao");return l.openBlock(),l.createElementBlock("div",Vh,[e.exibirBusca||e.temAcoesSuperiores?(l.openBlock(),l.createBlock(a,{key:0,exibirBusca:e.exibirBusca,exibirBotaoFiltroAvancado:e.exibirFiltroAvancado,filtrosAtivosResumo:e.filtrosAtivosResumo,valorBusca:e.valorBusca,acoesCabecalho:e.acoesSuperiores,parametrosConsulta:e.parametrosConsultaAtuais,onBuscar:e.atualizarBusca,onColunas:e.abrirModalColunas,onFiltroAvancado:e.abrirModalFiltro},null,8,["exibirBusca","exibirBotaoFiltroAvancado","filtrosAtivosResumo","valorBusca","acoesCabecalho","parametrosConsulta","onBuscar","onColunas","onFiltroAvancado"])):l.createCommentVNode("",!0),l.createVNode(c,{aberto:e.modalColunasAberto,rotulosColunas:e.rotulosColunas,configInicial:e.configColunas,colunas:e.tabela.colunas,onFechar:e.fecharModalColunas,onSalvar:e.salvarModalColunas},null,8,["aberto","rotulosColunas","configInicial","colunas","onFechar","onSalvar"]),l.createVNode(u,{aberto:e.modalFiltroAberto,filtrosBase:e.tabela.filtroAvancado??[],modelo:e.filtrosUi,modeloFormula:e.filtrosFormula,onFechar:e.fecharModalFiltro,onLimpar:e.limparFiltrosAvancados,onSalvar:e.salvarFiltrosAvancados},null,8,["aberto","filtrosBase","modelo","modeloFormula","onFechar","onLimpar","onSalvar"]),l.createElementVNode("div",Bh,[l.createElementVNode("table",Zh,[l.createVNode(s,{colunas:e.colunasEfetivas,temAcoes:e.temAcoes,temColunasInvisiveis:e.temColunasInvisiveis,colunaOrdenacao:e.colunaOrdenacao,direcaoOrdenacao:e.direcaoOrdenacao,mostrarSelecao:e.mostrarSelecao,todosSelecionados:e.todosSelecionados,algunsSelecionados:e.algunsSelecionados,onAlternarOrdenacao:e.alternarOrdenacao,onAlternarSelecaoTodos:e.alternarSelecaoTodos},null,8,["colunas","temAcoes","temColunasInvisiveis","colunaOrdenacao","direcaoOrdenacao","mostrarSelecao","todosSelecionados","algunsSelecionados","onAlternarOrdenacao","onAlternarSelecaoTodos"]),e.carregando||e.erro||!e.linhas.length?(l.openBlock(),l.createElementBlock("tbody",Mh,[l.createElementVNode("tr",null,[l.createElementVNode("td",{colspan:e.totalColunas,class:"eli-tabela__td--estados"},[l.createVNode(m,{carregando:e.carregando,erro:e.erro,mensagemVazio:e.tabela.mensagemVazio,class:"eli-tabela__estados-inline"},null,8,["carregando","erro","mensagemVazio"])],8,Fh)])])):(l.openBlock(),l.createBlock(d,{key:1,colunas:e.colunasEfetivas,colunasInvisiveis:e.colunasInvisiveisEfetivas,temColunasInvisiveis:e.temColunasInvisiveis,linhasExpandidas:e.linhasExpandidas,linhas:e.linhasPaginadas,temAcoes:e.temAcoes,menuAberto:e.menuAberto,possuiAcoes:e.possuiAcoes,toggleMenu:e.toggleMenu,alternarLinhaExpandida:e.alternarLinhaExpandida,mostrarSelecao:e.mostrarSelecao,isSelecionado:e.isSelecionado,alternarSelecao:e.alternarSelecao},null,8,["colunas","colunasInvisiveis","temColunasInvisiveis","linhasExpandidas","linhas","temAcoes","menuAberto","possuiAcoes","toggleMenu","alternarLinhaExpandida","mostrarSelecao","isSelecionado","alternarSelecao"]))])]),l.createVNode(f,{ref:"menuPopup",menuAberto:e.menuAberto,posicao:e.menuPopupPos,acoes:e.menuAberto===null?[]:e.acoesDisponiveisPorLinha(e.menuAberto),linha:e.menuAberto===null?null:e.linhasPaginadas[e.menuAberto],onExecutar:n[0]||(n[0]=({acao:h,linha:v})=>{e.menuAberto=null,h.acao(v)})},null,8,["menuAberto","posicao","acoes","linha"]),e.totalPaginas>1&&e.quantidadeFiltrada>0||e.temAcoesInferiores?(l.openBlock(),l.createBlock(p,{key:1,pagina:e.paginaAtual,totalPaginas:e.totalPaginas,maximoBotoes:e.tabela.maximo_botoes_paginacao,acoes:e.acoesInferiores,parametrosConsulta:e.parametrosConsultaAtuais,onAlterar:e.irParaPagina},null,8,["pagina","totalPaginas","maximoBotoes","acoes","parametrosConsulta","onAlterar"])):l.createCommentVNode("",!0)])}const Ri=K(Ph,[["render",Lh]]),Rh=(e,n)=>[e,n];function Jh(e,n){const r=[`## Elemento: ${e.seletor}`,"",`- **Página:** \`${n}\``,`- **Tag:** \`<${e.tag}>\``];if(e.id&&r.push(`- **ID:** \`${e.id}\``),e.classes.length&&r.push(`- **Classes:** \`${e.classes.join(", ")}\``),r.push(`- **Caminho DOM:** \`${e.caminhoDom}\``),Object.keys(e.dataAtributos).length){r.push("- **data-* atributos:**");for(const[t,o]of Object.entries(e.dataAtributos))r.push(` - \`${t}\` = \`${o}\``)}return e.textoVisivel&&r.push(`- **Texto visível:** "${e.textoVisivel}"`),r.join(`
-`)}function qh(e){const n=["# Relatório de Feedback de Interface","",`> Gerado em: ${new Date().toLocaleString("pt-BR")}`,`> Total de itens: ${e.length}`,"","---",""];for(const r of e){const i=r.elemento;if(n.push(`## 🔹 ${i.seletor}`),n.push(""),n.push(`- **Data:** ${new Date(r.criadoEm).toLocaleString("pt-BR")}`),n.push(`- **Página:** \`${r.urlPagina}\``),n.push(`- **Tag:** \`<${i.tag}>\``),i.id&&n.push(`- **ID:** \`${i.id}\``),i.classes.length&&n.push(`- **Classes:** \`${i.classes.join(", ")}\``),n.push(`- **Caminho DOM:** \`${i.caminhoDom}\``),Object.keys(i.dataAtributos).length){n.push("- **data-* atributos:**");for(const[o,a]of Object.entries(i.dataAtributos))n.push(` - \`${o}\` = \`${a}\``)}i.textoVisivel&&n.push(`- **Texto visível:** "${i.textoVisivel}"`),n.push(""),n.push("### Comentário"),n.push(""),n.push(r.comentario),n.push(""),n.push("---"),n.push("")}return n.join(`
-`)}function Gh(e){const n={};for(const a of Array.from(e.attributes))a.name.startsWith("data-")&&(n[a.name]=a.value);const r=(e.textContent??"").trim().slice(0,120),i=[];let t=e;for(let a=0;a<4&&t&&t!==document.body;a++){const c=t.tagName.toLowerCase()+(t.id?`#${t.id}`:"")+(t.classList.length?`.${Array.from(t.classList).join(".")}`:"");i.unshift(c),t=t.parentElement}let o=e.tagName.toLowerCase();return e.id?o=`#${e.id}`:e.classList.length&&(o=`${e.tagName.toLowerCase()}.${Array.from(e.classList).join(".")}`),{seletor:o,id:e.id||null,classes:Array.from(e.classList),tag:e.tagName.toLowerCase(),textoVisivel:r,dataAtributos:n,caminhoDom:i.join(" > ")}}const er="eli-feedback-items";function Kh(){return`fb-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,7)}`}function Wh(){const e=l.ref("inativo"),n=l.ref(null),r=l.ref(""),i=l.ref(null),t=l.ref(!1),o=l.ref(!1);function a(){try{const w=localStorage.getItem(er);return w?JSON.parse(w):[]}catch{return[]}}const c=l.ref(a()),u=l.computed(()=>c.value.length);function s(){localStorage.setItem(er,JSON.stringify(c.value))}let m=null;function d(){m=document.createElement("div"),m.id="eli-feedback-overlay",Object.assign(m.style,{position:"fixed",pointerEvents:"none",border:"2px solid #C62828",background:"rgba(198, 40, 40, 0.08)",borderRadius:"4px",zIndex:"99998",transition:"all 0.1s ease",display:"none"}),document.body.appendChild(m)}function f(){m&&(m.remove(),m=null)}function p(w){if(!m)return;const A=w.getBoundingClientRect();Object.assign(m.style,{display:"block",top:`${A.top-2}px`,left:`${A.left-2}px`,width:`${A.width+4}px`,height:`${A.height+4}px`})}function h(w){const A=w.target;A.closest("#eli-feedback-widget")||A.id==="eli-feedback-overlay"||(i.value=A,p(A))}function v(){document.removeEventListener("mousemove",h,!0),document.removeEventListener("click",D,!0),document.removeEventListener("keydown",z,!0),document.body.style.cursor="",m&&(m.style.display="none")}function D(w){w.preventDefault(),w.stopPropagation(),w.stopImmediatePropagation();const A=w.target;if(A.closest("#eli-feedback-widget")||A.id==="eli-feedback-overlay")return;const ae=Gh(A),he=e.value;if(v(),he==="selecionando-copiar"){const I=Jh(ae,window.location.href);navigator.clipboard.writeText(I).then(()=>{o.value=!0,setTimeout(()=>{o.value=!1},1500)}).catch(()=>{}),e.value="inativo",f()}else n.value=ae,e.value="comentando"}function z(w){w.key==="Escape"&&U()}function S(){n.value=null,r.value="",t.value=!1,d(),document.body.style.cursor="crosshair",document.addEventListener("mousemove",h,!0),document.addEventListener("click",D,!0),document.addEventListener("keydown",z,!0)}function x(){e.value="selecionando",S()}function T(){e.value="selecionando-copiar",S()}function U(){e.value="inativo",n.value=null,i.value=null,r.value="",v(),f()}function $(){if(!n.value||!r.value.trim())return;const w={id:Kh(),criadoEm:new Date().toISOString(),elemento:n.value,comentario:r.value.trim(),urlPagina:window.location.href};c.value.unshift(w),s(),e.value="inativo",n.value=null,r.value="",f()}function b(){if(!c.value.length)return;const w=qh(c.value),A=new Blob([w],{type:"text/markdown;charset=utf-8"}),ae=URL.createObjectURL(A);window.open(ae,"_blank")}function k(){c.value=[],localStorage.removeItem(er)}function B(w){c.value=c.value.filter(A=>A.id!==w),s()}return l.onBeforeUnmount(()=>{U()}),{modo:e,elementoSelecionado:n,comentario:r,painelAberto:t,copiouElemento:o,itens:c,totalItens:u,iniciarSelecao:x,iniciarSelecaoParaCopiar:T,cancelarSelecao:U,salvarFeedback:$,exportarMarkdown:b,limparTodos:k,removerItem:B}}const Xh=l.defineComponent({name:"EliFeedbackWidget",setup(){const e=l.ref(null),n=l.ref(!1),{modo:r,elementoSelecionado:i,comentario:t,copiouElemento:o,itens:a,totalItens:c,iniciarSelecao:u,iniciarSelecaoParaCopiar:s,cancelarSelecao:m,salvarFeedback:d,exportarMarkdown:f,limparTodos:p}=Wh();function h(){r.value!=="inativo"?(m(),n.value=!1):n.value=!n.value}function v(){n.value=!1,u()}function D(){n.value=!1,s()}function z(){p(),n.value=!1}return l.watch(r,async S=>{var x;S==="comentando"&&(await l.nextTick(),(x=e.value)==null||x.focus())}),{textareaRef:e,expandido:n,modo:r,elementoSelecionado:i,comentario:t,copiouElemento:o,itens:a,totalItens:c,aoClicarFab:h,aoIniciarFeedback:v,aoIniciarCopia:D,cancelarSelecao:m,salvarFeedback:d,exportarMarkdown:f,confirmarLimpeza:z}}}),Hh={id:"eli-feedback-widget",class:"eli-feedback-fab"},Yh={key:0,class:"eli-fb-acoes"},Qh=["title"],e$={key:0},t$={key:1},n$={key:2,class:"eli-fb-badge"},r$={key:1,class:"eli-fb-tooltip-selecao"},o$={key:0},i$={key:1},a$={key:2,class:"eli-fb-painel"},l$={class:"eli-fb-painel-header"},c$={class:"eli-fb-painel-corpo"},s$={class:"eli-fb-el-info"},u$={key:0},d$={key:1},m$={key:2},f$={class:"eli-fb-painel-acoes"},p$=["disabled"];function g$(e,n,r,i,t,o){return l.openBlock(),l.createElementBlock("div",Hh,[e.expandido&&e.modo==="inativo"?(l.openBlock(),l.createElementBlock("div",Yh,[l.createElementVNode("button",{class:"eli-fb-botao-ico eli-fb-botao-feedback",title:"Adicionar feedback com comentário",onClick:n[0]||(n[0]=(...a)=>e.aoIniciarFeedback&&e.aoIniciarFeedback(...a))}," 🐛 "),l.createElementVNode("button",{class:"eli-fb-botao-ico eli-fb-botao-copiar",title:"Selecionar elemento e copiar dados",onClick:n[1]||(n[1]=(...a)=>e.aoIniciarCopia&&e.aoIniciarCopia(...a))},l.toDisplayString(e.copiouElemento?"✅":"📋"),1),e.totalItens>0?(l.openBlock(),l.createElementBlock("button",{key:0,class:"eli-fb-botao-ico eli-fb-botao-exportar",title:`Visualizar ${e.totalItens} feedback(s) em nova aba`,onClick:n[2]||(n[2]=(...a)=>e.exportarMarkdown&&e.exportarMarkdown(...a))}," 📄 ",8,Qh)):l.createCommentVNode("",!0),e.totalItens>0?(l.openBlock(),l.createElementBlock("button",{key:1,class:"eli-fb-botao-ico eli-fb-botao-limpar",title:"Limpar todos os feedbacks",onClick:n[3]||(n[3]=(...a)=>e.confirmarLimpeza&&e.confirmarLimpeza(...a))}," 🗑️ ")):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0),l.createElementVNode("button",{class:"eli-fb-botao-principal",title:"Ferramentas de feedback",onClick:n[4]||(n[4]=(...a)=>e.aoClicarFab&&e.aoClicarFab(...a))},[e.modo==="inativo"&&!e.expandido?(l.openBlock(),l.createElementBlock("span",e$,"🐛")):(l.openBlock(),l.createElementBlock("span",t$,"✕")),e.totalItens>0&&e.modo==="inativo"&&!e.expandido?(l.openBlock(),l.createElementBlock("span",n$,l.toDisplayString(e.totalItens),1)):l.createCommentVNode("",!0)]),e.modo==="selecionando"||e.modo==="selecionando-copiar"?(l.openBlock(),l.createElementBlock("div",r$,[e.modo==="selecionando"?(l.openBlock(),l.createElementBlock("span",o$,"🎯 Clique no elemento")):(l.openBlock(),l.createElementBlock("span",i$,"📋 Clique para copiar")),n[10]||(n[10]=l.createElementVNode("span",{class:"eli-fb-tooltip-esc"},[l.createElementVNode("kbd",null,"ESC"),l.createTextVNode(" cancela")],-1))])):l.createCommentVNode("",!0),e.modo==="comentando"&&e.elementoSelecionado?(l.openBlock(),l.createElementBlock("div",a$,[l.createElementVNode("div",l$,[n[11]||(n[11]=l.createElementVNode("h3",null,"💬 Adicionar Feedback",-1)),l.createElementVNode("button",{class:"eli-fb-painel-fechar",onClick:n[5]||(n[5]=(...a)=>e.cancelarSelecao&&e.cancelarSelecao(...a))},"✕")]),l.createElementVNode("div",c$,[l.createElementVNode("div",s$,[l.createElementVNode("div",null,[n[12]||(n[12]=l.createElementVNode("strong",null,"Seletor:",-1)),n[13]||(n[13]=l.createTextVNode()),l.createElementVNode("code",null,l.toDisplayString(e.elementoSelecionado.seletor),1)]),l.createElementVNode("div",null,[n[14]||(n[14]=l.createElementVNode("strong",null,"Tag:",-1)),n[15]||(n[15]=l.createTextVNode()),l.createElementVNode("code",null,"<"+l.toDisplayString(e.elementoSelecionado.tag)+">",1)]),e.elementoSelecionado.id?(l.openBlock(),l.createElementBlock("div",u$,[n[16]||(n[16]=l.createElementVNode("strong",null,"ID:",-1)),n[17]||(n[17]=l.createTextVNode()),l.createElementVNode("code",null,l.toDisplayString(e.elementoSelecionado.id),1)])):l.createCommentVNode("",!0),e.elementoSelecionado.classes.length?(l.openBlock(),l.createElementBlock("div",d$,[n[18]||(n[18]=l.createElementVNode("strong",null,"Classes:",-1)),l.createElementVNode("code",null,l.toDisplayString(e.elementoSelecionado.classes.join(", ")),1)])):l.createCommentVNode("",!0),l.createElementVNode("div",null,[n[19]||(n[19]=l.createElementVNode("strong",null,"Caminho:",-1)),n[20]||(n[20]=l.createTextVNode()),l.createElementVNode("code",null,l.toDisplayString(e.elementoSelecionado.caminhoDom),1)]),e.elementoSelecionado.textoVisivel?(l.openBlock(),l.createElementBlock("div",m$,[n[21]||(n[21]=l.createElementVNode("strong",null,"Texto:",-1)),l.createTextVNode(' "'+l.toDisplayString(e.elementoSelecionado.textoVisivel)+'" ',1)])):l.createCommentVNode("",!0)]),l.withDirectives(l.createElementVNode("textarea",{ref:"textareaRef","onUpdate:modelValue":n[6]||(n[6]=a=>e.comentario=a),class:"eli-fb-textarea",placeholder:"Descreva o problema, sugestão ou observação...",onKeydown:n[7]||(n[7]=l.withKeys(l.withModifiers((...a)=>e.salvarFeedback&&e.salvarFeedback(...a),["ctrl"]),["enter"]))},null,544),[[l.vModelText,e.comentario]]),l.createElementVNode("div",f$,[l.createElementVNode("button",{class:"eli-fb-btn-cancelar",onClick:n[8]||(n[8]=(...a)=>e.cancelarSelecao&&e.cancelarSelecao(...a))}," Cancelar "),l.createElementVNode("button",{class:"eli-fb-btn-salvar",disabled:!e.comentario.trim(),onClick:n[9]||(n[9]=(...a)=>e.salvarFeedback&&e.salvarFeedback(...a))}," Salvar ✓ ",8,p$)])])])):l.createCommentVNode("",!0)])}const Ji=K(Xh,[["render",g$]]),v$=l.defineComponent({name:"EliOlaMundo",components:{EliBotao:Jn,EliBadge:At,EliEntradaTexto:Zt},setup(){const e=l.ref(""),n=l.ref(""),r=l.ref(""),i=l.ref(""),t=l.ref("");return{nome:e,email:i,documento:t,telefone:r,cep:n}}}),h$={class:"grid-example"};function $$(e,n,r,i,t,o){const a=l.resolveComponent("EliBadge"),c=l.resolveComponent("EliEntradaTexto"),u=l.resolveComponent("EliBotao");return l.openBlock(),l.createBlock(km.VContainer,null,{default:l.withCtx(()=>[l.createVNode(Ne.VCard,{class:"mx-auto",max_width:"400"},{default:l.withCtx(()=>[l.createVNode(Ne.VCardTitle,null,{default:l.withCtx(()=>[l.createVNode(a,{badge:"Novo","offset-x":"-15",location:"right center"},{default:l.withCtx(()=>[...n[5]||(n[5]=[l.createTextVNode(" Olá Mundo! ",-1)])]),_:1})]),_:1}),l.createVNode(Ne.VCardText,null,{default:l.withCtx(()=>[n[6]||(n[6]=l.createTextVNode(" Este é um componente de exemplo integrado com Vuetify. ",-1)),l.createElementVNode("div",h$,[l.createVNode(c,{value:e.nome,"onUpdate:value":n[0]||(n[0]=s=>e.nome=s),opcoes:{rotulo:"Nome",placeholder:"Digite o nome"},density:"compact"},null,8,["value"]),l.createVNode(c,{value:e.telefone,"onUpdate:value":n[1]||(n[1]=s=>e.telefone=s),opcoes:{rotulo:"Telefone",formato:"telefone"}},null,8,["value"]),l.createVNode(c,{value:e.cep,"onUpdate:value":n[2]||(n[2]=s=>e.cep=s),opcoes:{rotulo:"CEP",placeholder:"00000-000",formato:"cep"}},null,8,["value"]),l.createVNode(c,{value:e.documento,"onUpdate:value":n[3]||(n[3]=s=>e.documento=s),opcoes:{rotulo:"CPF / CNPJ",formato:"cpfCnpj"}},null,8,["value"]),l.createVNode(c,{value:e.email,"onUpdate:value":n[4]||(n[4]=s=>e.email=s),opcoes:{rotulo:"Email",placeholder:"email@exemplo.com",formato:"email"}},null,8,["value"])])]),_:1}),l.createVNode(Ne.VCardActions,null,{default:l.withCtx(()=>[l.createVNode(u,{color:"primary",variant:"elevated",block:""},{default:l.withCtx(()=>[...n[7]||(n[7]=[l.createTextVNode(" Botão Vuetify ",-1)])]),_:1})]),_:1})]),_:1})]),_:1})}const qi=K(v$,[["render",$$]]);var Gi;const Ki=Object.freeze({status:"aborted"});function g(e,n,r){function i(c,u){if(c._zod||Object.defineProperty(c,"_zod",{value:{def:u,constr:a,traits:new Set},enumerable:!1}),c._zod.traits.has(e))return;c._zod.traits.add(e),n(c,u);const s=a.prototype,m=Object.keys(s);for(let d=0;d{var u,s;return r!=null&&r.Parent&&c instanceof r.Parent?!0:(s=(u=c==null?void 0:c._zod)==null?void 0:u.traits)==null?void 0:s.has(e)}}),Object.defineProperty(a,"name",{value:e}),a}const Wi=Symbol("zod_brand");class xe extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Ft extends Error{constructor(n){super(`Encountered unidirectional transform during encode: ${n}`),this.name="ZodEncodeError"}}(Gi=globalThis).__zod_globalConfig??(Gi.__zod_globalConfig={});const tt=globalThis.__zod_globalConfig;function se(e){return e&&Object.assign(tt,e),tt}function b$(e){return e}function _$(e){return e}function y$(e){}function k$(e){throw new Error("Unexpected value in exhaustive check")}function S$(e){}function tr(e){const n=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,t])=>n.indexOf(+i)===-1).map(([i,t])=>t)}function y(e,n="|"){return e.map(r=>P(r)).join(n)}function Lt(e,n){return typeof n=="bigint"?n.toString():n}function nt(e){return{get value(){{const n=e();return Object.defineProperty(this,"value",{value:n}),n}}}}function Ue(e){return e==null}function Rt(e){const n=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(n,r)}function Xi(e,n){const r=e/n,i=Math.round(r),t=Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-i)r==null?void 0:r[i],e):e}function E$(e){const n=Object.keys(e),r=n.map(i=>e[i]);return Promise.all(r).then(i=>{const t={};for(let o=0;o{};function Fe(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Qi=nt(()=>{var e;if(tt.jitless||typeof navigator<"u"&&((e=navigator==null?void 0:navigator.userAgent)!=null&&e.includes("Cloudflare")))return!1;try{const n=Function;return new n(""),!0}catch{return!1}});function Ae(e){if(Fe(e)===!1)return!1;const n=e.constructor;if(n===void 0||typeof n!="function")return!0;const r=n.prototype;return!(Fe(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function Jt(e){return Ae(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function D$(e){let n=0;for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&n++;return n}const O$=e=>{const n=typeof e;switch(n){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":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${n}`)}},qt=new Set(["string","number","symbol"]),ea=new Set(["string","number","bigint","boolean","symbol","undefined"]);function ze(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function $e(e,n,r){const i=new e._zod.constr(n??e._zod.def);return(!n||r!=null&&r.parent)&&(i._zod.parent=e),i}function _(e){const n=e;if(!n)return{};if(typeof n=="string")return{error:()=>n};if((n==null?void 0:n.message)!==void 0){if((n==null?void 0:n.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");n.error=n.message}return delete n.message,typeof n.error=="string"?{...n,error:()=>n.error}:n}function j$(e){let n;return new Proxy({},{get(r,i,t){return n??(n=e()),Reflect.get(n,i,t)},set(r,i,t,o){return n??(n=e()),Reflect.set(n,i,t,o)},has(r,i){return n??(n=e()),Reflect.has(n,i)},deleteProperty(r,i){return n??(n=e()),Reflect.deleteProperty(n,i)},ownKeys(r){return n??(n=e()),Reflect.ownKeys(n)},getOwnPropertyDescriptor(r,i){return n??(n=e()),Reflect.getOwnPropertyDescriptor(n,i)},defineProperty(r,i,t){return n??(n=e()),Reflect.defineProperty(n,i,t)}})}function P(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function ta(e){return Object.keys(e).filter(n=>e[n]._zod.optin==="optional"&&e[n]._zod.optout==="optional")}const na={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]},ra={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function oa(e,n){const r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const o=we(e._zod.def,{get shape(){const a={};for(const c in n){if(!(c in r.shape))throw new Error(`Unrecognized key: "${c}"`);n[c]&&(a[c]=r.shape[c])}return De(this,"shape",a),a},checks:[]});return $e(e,o)}function ia(e,n){const r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const o=we(e._zod.def,{get shape(){const a={...e._zod.def.shape};for(const c in n){if(!(c in r.shape))throw new Error(`Unrecognized key: "${c}"`);n[c]&&delete a[c]}return De(this,"shape",a),a},checks:[]});return $e(e,o)}function aa(e,n){if(!Ae(n))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0){const o=e._zod.def.shape;for(const a in n)if(Object.getOwnPropertyDescriptor(o,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const t=we(e._zod.def,{get shape(){const o={...e._zod.def.shape,...n};return De(this,"shape",o),o}});return $e(e,t)}function la(e,n){if(!Ae(n))throw new Error("Invalid input to safeExtend: expected a plain object");const r=we(e._zod.def,{get shape(){const i={...e._zod.def.shape,...n};return De(this,"shape",i),i}});return $e(e,r)}function ca(e,n){var i;if((i=e._zod.def.checks)!=null&&i.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const r=we(e._zod.def,{get shape(){const t={...e._zod.def.shape,...n._zod.def.shape};return De(this,"shape",t),t},get catchall(){return n._zod.def.catchall},checks:n._zod.def.checks??[]});return $e(e,r)}function sa(e,n,r){const t=n._zod.def.checks;if(t&&t.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const a=we(n._zod.def,{get shape(){const c=n._zod.def.shape,u={...c};if(r)for(const s in r){if(!(s in c))throw new Error(`Unrecognized key: "${s}"`);r[s]&&(u[s]=e?new e({type:"optional",innerType:c[s]}):c[s])}else for(const s in c)u[s]=e?new e({type:"optional",innerType:c[s]}):c[s];return De(this,"shape",u),u},checks:[]});return $e(n,a)}function ua(e,n,r){const i=we(n._zod.def,{get shape(){const t=n._zod.def.shape,o={...t};if(r)for(const a in r){if(!(a in o))throw new Error(`Unrecognized key: "${a}"`);r[a]&&(o[a]=new e({type:"nonoptional",innerType:t[a]}))}else for(const a in t)o[a]=new e({type:"nonoptional",innerType:t[a]});return De(this,"shape",o),o}});return $e(n,i)}function Pe(e,n=0){var r;if(e.aborted===!0)return!0;for(let i=n;i{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function rt(e){return typeof e=="string"?e:e==null?void 0:e.message}function pe(e,n,r){var u,s,m,d,f,p;const i=e.message?e.message:rt((m=(s=(u=e.inst)==null?void 0:u._zod.def)==null?void 0:s.error)==null?void 0:m.call(s,e))??rt((d=n==null?void 0:n.error)==null?void 0:d.call(n,e))??rt((f=r.customError)==null?void 0:f.call(r,e))??rt((p=r.localeError)==null?void 0:p.call(r,e))??"Invalid input",{inst:t,continue:o,input:a,...c}=e;return c.path??(c.path=[]),c.message=i,n!=null&&n.reportInput&&(c.input=a),c}function Gt(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Kt(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function V(e){const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";const r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return n}function Le(...e){const[n,r,i]=e;return typeof n=="string"?{message:n,code:"custom",input:r,inst:i}:{...n}}function C$(e){return Object.entries(e).filter(([n,r])=>Number.isNaN(Number.parseInt(n,10))).map(n=>n[1])}function ma(e){const n=atob(e),r=new Uint8Array(n.length);for(let i=0;in.toString(16).padStart(2,"0")).join("")}class P${constructor(...n){}}const pa=Object.freeze(Object.defineProperty({__proto__:null,BIGINT_FORMAT_RANGES:ra,Class:P$,NUMBER_FORMAT_RANGES:na,aborted:Pe,allowsEval:Qi,assert:S$,assertEqual:b$,assertIs:y$,assertNever:k$,assertNotEqual:_$,assignProp:De,base64ToUint8Array:ma,base64urlToUint8Array:T$,cached:nt,captureStackTrace:rr,cleanEnum:C$,cleanRegex:Rt,clone:$e,cloneDef:I$,createTransparentProxy:j$,defineLazy:q,esc:nr,escapeRegex:ze,explicitlyAborted:da,extend:aa,finalizeIssue:pe,floatSafeRemainder:Xi,getElementAtPath:z$,getEnumValues:tr,getLengthableOrigin:Kt,getParsedType:O$,getSizableOrigin:Gt,hexToUint8Array:U$,isObject:Fe,isPlainObject:Ae,issue:Le,joinValues:y,jsonStringifyReplacer:Lt,merge:ca,mergeDefs:we,normalizeParams:_,nullish:Ue,numKeys:D$,objectClone:w$,omit:ia,optionalKeys:ta,parsedType:V,partial:sa,pick:oa,prefixIssues:be,primitiveTypes:ea,promiseAllObject:E$,propertyKeyTypes:qt,randomString:N$,required:ua,safeExtend:la,shallowClone:Jt,slugify:Yi,stringifyPrimitive:P,uint8ArrayToBase64:fa,uint8ArrayToBase64url:x$,uint8ArrayToHex:A$,unwrapMessage:rt},Symbol.toStringTag,{value:"Module"})),ga=(e,n)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:n,enumerable:!1}),e.message=JSON.stringify(n,Lt,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},or=g("$ZodError",ga),ge=g("$ZodError",ga,{Parent:Error});function ir(e,n=r=>r.message){const r={},i=[];for(const t of e.issues)t.path.length>0?(r[t.path[0]]=r[t.path[0]]||[],r[t.path[0]].push(n(t))):i.push(n(t));return{formErrors:i,fieldErrors:r}}function ar(e,n=r=>r.message){const r={_errors:[]},i=(t,o=[])=>{for(const a of t.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(c=>i({issues:c},[...o,...a.path]));else if(a.code==="invalid_key")i({issues:a.issues},[...o,...a.path]);else if(a.code==="invalid_element")i({issues:a.issues},[...o,...a.path]);else{const c=[...o,...a.path];if(c.length===0)r._errors.push(n(a));else{let u=r,s=0;for(;sr.message){const r={errors:[]},i=(t,o=[])=>{var a,c;for(const u of t.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(s=>i({issues:s},[...o,...u.path]));else if(u.code==="invalid_key")i({issues:u.issues},[...o,...u.path]);else if(u.code==="invalid_element")i({issues:u.issues},[...o,...u.path]);else{const s=[...o,...u.path];if(s.length===0){r.errors.push(n(u));continue}let m=r,d=0;for(;dtypeof i=="object"?i.key:i);for(const i of r)typeof i=="number"?n.push(`[${i}]`):typeof i=="symbol"?n.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?n.push(`[${JSON.stringify(i)}]`):(n.length&&n.push("."),n.push(i));return n.join("")}function $a(e){var i;const n=[],r=[...e.issues].sort((t,o)=>(t.path??[]).length-(o.path??[]).length);for(const t of r)n.push(`✖ ${t.message}`),(i=t.path)!=null&&i.length&&n.push(` → at ${ha(t.path)}`);return n.join(`
-`)}const ot=e=>(n,r,i,t)=>{const o=i?{...i,async:!1}:{async:!1},a=n._zod.run({value:r,issues:[]},o);if(a instanceof Promise)throw new xe;if(a.issues.length){const c=new((t==null?void 0:t.Err)??e)(a.issues.map(u=>pe(u,o,se())));throw rr(c,t==null?void 0:t.callee),c}return a.value},lr=ot(ge),it=e=>async(n,r,i,t)=>{const o=i?{...i,async:!0}:{async:!0};let a=n._zod.run({value:r,issues:[]},o);if(a instanceof Promise&&(a=await a),a.issues.length){const c=new((t==null?void 0:t.Err)??e)(a.issues.map(u=>pe(u,o,se())));throw rr(c,t==null?void 0:t.callee),c}return a.value},cr=it(ge),at=e=>(n,r,i)=>{const t=i?{...i,async:!1}:{async:!1},o=n._zod.run({value:r,issues:[]},t);if(o instanceof Promise)throw new xe;return o.issues.length?{success:!1,error:new(e??or)(o.issues.map(a=>pe(a,t,se())))}:{success:!0,data:o.value}},ba=at(ge),lt=e=>async(n,r,i)=>{const t=i?{...i,async:!0}:{async:!0};let o=n._zod.run({value:r,issues:[]},t);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(a=>pe(a,t,se())))}:{success:!0,data:o.value}},_a=lt(ge),sr=e=>(n,r,i)=>{const t=i?{...i,direction:"backward"}:{direction:"backward"};return ot(e)(n,r,t)},V$=sr(ge),ur=e=>(n,r,i)=>ot(e)(n,r,i),B$=ur(ge),dr=e=>async(n,r,i)=>{const t=i?{...i,direction:"backward"}:{direction:"backward"};return it(e)(n,r,t)},Z$=dr(ge),mr=e=>async(n,r,i)=>it(e)(n,r,i),M$=mr(ge),fr=e=>(n,r,i)=>{const t=i?{...i,direction:"backward"}:{direction:"backward"};return at(e)(n,r,t)},F$=fr(ge),pr=e=>(n,r,i)=>at(e)(n,r,i),L$=pr(ge),gr=e=>async(n,r,i)=>{const t=i?{...i,direction:"backward"}:{direction:"backward"};return lt(e)(n,r,t)},R$=gr(ge),vr=e=>async(n,r,i)=>lt(e)(n,r,i),J$=vr(ge),ya=/^[cC][0-9a-z]{6,}$/,ka=/^[0-9a-z]+$/,Sa=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,wa=/^[0-9a-vA-V]{20}$/,Ia=/^[A-Za-z0-9]{27}$/,za=/^[a-zA-Z0-9_-]{21}$/,Ea=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,q$=/^[-+]?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)?)??$/,Na=/^([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)$/,G$=Re(4),K$=Re(6),W$=Re(7),Da=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,X$=/^[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])?)*$/,H$=/^(([^<>()\[\]\\.,;:\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,}))$/,Oa=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Y$=Oa,Q$=/^[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])?)*$/,eb="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function ja(){return new RegExp(eb,"u")}const Ca=/^(?:(?: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])$/,Ta=/^(([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}|:))$/,xa=e=>{const n=ze(e??":");return new RegExp(`^(?:[0-9A-F]{2}${n}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${n}){5}[0-9a-f]{2}$`)},Ua=/^((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])$/,Aa=/^(([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])$/,Pa=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,hr=/^[A-Za-z0-9_-]*$/,Va=/^(?=.{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])?)*\.?$/,Ba=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,$r=/^https?$/,Za=/^\+[1-9]\d{6,14}$/,Ma="(?:(?:\\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])))",Fa=new RegExp(`^${Ma}$`);function La(e){const n="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${n}`:e.precision===0?`${n}:[0-5]\\d`:`${n}:[0-5]\\d\\.\\d{${e.precision}}`:`${n}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Ra(e){return new RegExp(`^${La(e)}$`)}function Ja(e){const n=La({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const i=`${n}(?:${r.join("|")})`;return new RegExp(`^${Ma}T(?:${i})$`)}const qa=e=>{const n=e?`[\\s\\S]{${(e==null?void 0:e.minimum)??0},${(e==null?void 0:e.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${n}$`)},Ga=/^-?\d+n?$/,Ka=/^-?\d+$/,br=/^-?\d+(?:\.\d+)?$/,Wa=/^(?:true|false)$/i,Xa=/^null$/i,Ha=/^undefined$/i,Ya=/^[^A-Z]*$/,Qa=/^[^a-z]*$/,el=/^[0-9a-fA-F]*$/;function ct(e,n){return new RegExp(`^[A-Za-z0-9+/]{${e}}${n}$`)}function st(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}const _r=Object.freeze(Object.defineProperty({__proto__:null,base64:Pa,base64url:hr,bigint:Ga,boolean:Wa,browserEmail:Q$,cidrv4:Ua,cidrv6:Aa,cuid:ya,cuid2:ka,date:Fa,datetime:Ja,domain:Ba,duration:Ea,e164:Za,email:Da,emoji:ja,extendedDuration:q$,guid:Na,hex:el,hostname:Va,html5Email:X$,httpProtocol:$r,idnEmail:Y$,integer:Ka,ipv4:Ca,ipv6:Ta,ksuid:Ia,lowercase:Ya,mac:xa,md5_base64:ct(22,"=="),md5_base64url:st(22),md5_hex:/^[0-9a-fA-F]{32}$/,nanoid:za,null:Xa,number:br,rfc5322Email:H$,sha1_base64:ct(27,"="),sha1_base64url:st(27),sha1_hex:/^[0-9a-fA-F]{40}$/,sha256_base64:ct(43,"="),sha256_base64url:st(43),sha256_hex:/^[0-9a-fA-F]{64}$/,sha384_base64:ct(64,""),sha384_base64url:st(64),sha384_hex:/^[0-9a-fA-F]{96}$/,sha512_base64:ct(86,"=="),sha512_base64url:st(86),sha512_hex:/^[0-9a-fA-F]{128}$/,string:qa,time:Ra,ulid:Sa,undefined:Ha,unicodeEmail:Oa,uppercase:Qa,uuid:Re,uuid4:G$,uuid6:K$,uuid7:W$,xid:wa},Symbol.toStringTag,{value:"Module"})),te=g("$ZodCheck",(e,n)=>{var r;e._zod??(e._zod={}),e._zod.def=n,(r=e._zod).onattach??(r.onattach=[])}),tl={number:"number",bigint:"bigint",object:"date"},yr=g("$ZodCheckLessThan",(e,n)=>{te.init(e,n);const r=tl[typeof n.value];e._zod.onattach.push(i=>{const t=i._zod.bag,o=(n.inclusive?t.maximum:t.exclusiveMaximum)??Number.POSITIVE_INFINITY;n.value{(n.inclusive?i.value<=n.value:i.value{te.init(e,n);const r=tl[typeof n.value];e._zod.onattach.push(i=>{const t=i._zod.bag,o=(n.inclusive?t.minimum:t.exclusiveMinimum)??Number.NEGATIVE_INFINITY;n.value>o&&(n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value)}),e._zod.check=i=>{(n.inclusive?i.value>=n.value:i.value>n.value)||i.issues.push({origin:r,code:"too_small",minimum:typeof n.value=="object"?n.value.getTime():n.value,input:i.value,inclusive:n.inclusive,inst:e,continue:!n.abort})}}),nl=g("$ZodCheckMultipleOf",(e,n)=>{te.init(e,n),e._zod.onattach.push(r=>{var i;(i=r._zod.bag).multipleOf??(i.multipleOf=n.value)}),e._zod.check=r=>{if(typeof r.value!=typeof n.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%n.value===BigInt(0):Xi(r.value,n.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:n.value,input:r.value,inst:e,continue:!n.abort})}}),rl=g("$ZodCheckNumberFormat",(e,n)=>{var a;te.init(e,n),n.format=n.format||"float64";const r=(a=n.format)==null?void 0:a.includes("int"),i=r?"int":"number",[t,o]=na[n.format];e._zod.onattach.push(c=>{const u=c._zod.bag;u.format=n.format,u.minimum=t,u.maximum=o,r&&(u.pattern=Ka)}),e._zod.check=c=>{const u=c.value;if(r){if(!Number.isInteger(u)){c.issues.push({expected:i,format:n.format,code:"invalid_type",continue:!1,input:u,inst:e});return}if(!Number.isSafeInteger(u)){u>0?c.issues.push({input:u,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!n.abort}):c.issues.push({input:u,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!n.abort});return}}uo&&c.issues.push({origin:"number",input:u,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!n.abort})}}),ol=g("$ZodCheckBigIntFormat",(e,n)=>{te.init(e,n);const[r,i]=ra[n.format];e._zod.onattach.push(t=>{const o=t._zod.bag;o.format=n.format,o.minimum=r,o.maximum=i}),e._zod.check=t=>{const o=t.value;oi&&t.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!n.abort})}}),il=g("$ZodCheckMaxSize",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ue(t)&&t.size!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag.maximum??Number.POSITIVE_INFINITY;n.maximum{const t=i.value;t.size<=n.maximum||i.issues.push({origin:Gt(t),code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),al=g("$ZodCheckMinSize",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ue(t)&&t.size!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;n.minimum>t&&(i._zod.bag.minimum=n.minimum)}),e._zod.check=i=>{const t=i.value;t.size>=n.minimum||i.issues.push({origin:Gt(t),code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),ll=g("$ZodCheckSizeEquals",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ue(t)&&t.size!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag;t.minimum=n.size,t.maximum=n.size,t.size=n.size}),e._zod.check=i=>{const t=i.value,o=t.size;if(o===n.size)return;const a=o>n.size;i.issues.push({origin:Gt(t),...a?{code:"too_big",maximum:n.size}:{code:"too_small",minimum:n.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!n.abort})}}),cl=g("$ZodCheckMaxLength",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ue(t)&&t.length!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag.maximum??Number.POSITIVE_INFINITY;n.maximum{const t=i.value;if(t.length<=n.maximum)return;const a=Kt(t);i.issues.push({origin:a,code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),sl=g("$ZodCheckMinLength",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ue(t)&&t.length!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;n.minimum>t&&(i._zod.bag.minimum=n.minimum)}),e._zod.check=i=>{const t=i.value;if(t.length>=n.minimum)return;const a=Kt(t);i.issues.push({origin:a,code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),ul=g("$ZodCheckLengthEquals",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ue(t)&&t.length!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag;t.minimum=n.length,t.maximum=n.length,t.length=n.length}),e._zod.check=i=>{const t=i.value,o=t.length;if(o===n.length)return;const a=Kt(t),c=o>n.length;i.issues.push({origin:a,...c?{code:"too_big",maximum:n.length}:{code:"too_small",minimum:n.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!n.abort})}}),ut=g("$ZodCheckStringFormat",(e,n)=>{var r,i;te.init(e,n),e._zod.onattach.push(t=>{const o=t._zod.bag;o.format=n.format,n.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(n.pattern))}),n.pattern?(r=e._zod).check??(r.check=t=>{n.pattern.lastIndex=0,!n.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:n.format,input:t.value,...n.pattern?{pattern:n.pattern.toString()}:{},inst:e,continue:!n.abort})}):(i=e._zod).check??(i.check=()=>{})}),dl=g("$ZodCheckRegex",(e,n)=>{ut.init(e,n),e._zod.check=r=>{n.pattern.lastIndex=0,!n.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:n.pattern.toString(),inst:e,continue:!n.abort})}}),ml=g("$ZodCheckLowerCase",(e,n)=>{n.pattern??(n.pattern=Ya),ut.init(e,n)}),fl=g("$ZodCheckUpperCase",(e,n)=>{n.pattern??(n.pattern=Qa),ut.init(e,n)}),pl=g("$ZodCheckIncludes",(e,n)=>{te.init(e,n);const r=ze(n.includes),i=new RegExp(typeof n.position=="number"?`^.{${n.position}}${r}`:r);n.pattern=i,e._zod.onattach.push(t=>{const o=t._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(i)}),e._zod.check=t=>{t.value.includes(n.includes,n.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:n.includes,input:t.value,inst:e,continue:!n.abort})}}),gl=g("$ZodCheckStartsWith",(e,n)=>{te.init(e,n);const r=new RegExp(`^${ze(n.prefix)}.*`);n.pattern??(n.pattern=r),e._zod.onattach.push(i=>{const t=i._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=i=>{i.value.startsWith(n.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:n.prefix,input:i.value,inst:e,continue:!n.abort})}}),vl=g("$ZodCheckEndsWith",(e,n)=>{te.init(e,n);const r=new RegExp(`.*${ze(n.suffix)}$`);n.pattern??(n.pattern=r),e._zod.onattach.push(i=>{const t=i._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=i=>{i.value.endsWith(n.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:n.suffix,input:i.value,inst:e,continue:!n.abort})}});function hl(e,n,r){e.issues.length&&n.issues.push(...be(r,e.issues))}const $l=g("$ZodCheckProperty",(e,n)=>{te.init(e,n),e._zod.check=r=>{const i=n.schema._zod.run({value:r.value[n.property],issues:[]},{});if(i instanceof Promise)return i.then(t=>hl(t,r,n.property));hl(i,r,n.property)}}),bl=g("$ZodCheckMimeType",(e,n)=>{te.init(e,n);const r=new Set(n.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=n.mime}),e._zod.check=i=>{r.has(i.value.type)||i.issues.push({code:"invalid_value",values:n.mime,input:i.value.type,inst:e,continue:!n.abort})}}),_l=g("$ZodCheckOverwrite",(e,n)=>{te.init(e,n),e._zod.check=r=>{r.value=n.tx(r.value)}});class yl{constructor(n=[]){this.content=[],this.indent=0,this&&(this.args=n)}indented(n){this.indent+=1,n(this),this.indent-=1}write(n){if(typeof n=="function"){n(this,{execution:"sync"}),n(this,{execution:"async"});return}const i=n.split(`
+`)}`});function t(c){n("buscar",c)}function o(){n("colunas")}function a(){n("filtroAvancado")}return{temAcoesCabecalho:r,tooltipFiltro:i,emitBuscar:t,emitColunas:o,emitFiltroAvancado:a}}}),Vg={class:"eli-tabela__cabecalho"},Bg={key:0,class:"eli-tabela__busca-grupo"},Zg=["title"],Mg={class:"eli-tabela__filtro-icone-container"},Fg={key:0,class:"eli-tabela__filtro-badge"},Lg={key:1,class:"eli-tabela__acoes-cabecalho"},Rg=["onClick"],Jg={class:"eli-tabela__acoes-cabecalho-rotulo"};function qg(e,n,r,i,t,o){const a=l.resolveComponent("Columns3"),c=l.resolveComponent("Filter"),u=l.resolveComponent("EliTabelaCaixaDeBusca");return l.openBlock(),l.createElementBlock("div",Vg,[e.exibirBusca?(l.openBlock(),l.createElementBlock("div",Bg,[e.exibirBotaoColunas?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas",onClick:n[0]||(n[0]=(...s)=>e.emitColunas&&e.emitColunas(...s))},[l.createVNode(a,{size:15,"stroke-width":2}),n[2]||(n[2]=l.createTextVNode(" Colunas ",-1))])):l.createCommentVNode("",!0),e.exibirBotaoFiltroAvancado?(l.openBlock(),l.createElementBlock("button",{key:1,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--filtro",title:e.tooltipFiltro,onClick:n[1]||(n[1]=(...s)=>e.emitFiltroAvancado&&e.emitFiltroAvancado(...s))},[l.createElementVNode("span",Mg,[l.createVNode(c,{size:15,"stroke-width":2}),e.filtrosAtivosResumo.quantidade>0?(l.openBlock(),l.createElementBlock("span",Fg,l.toDisplayString(e.filtrosAtivosResumo.quantidade),1)):l.createCommentVNode("",!0)]),n[3]||(n[3]=l.createTextVNode(" Filtro ",-1))],8,Zg)):l.createCommentVNode("",!0),l.createVNode(u,{modelo:e.valorBusca,onBuscar:e.emitBuscar},null,8,["modelo","onBuscar"])])):l.createCommentVNode("",!0),e.temAcoesCabecalho?(l.openBlock(),l.createElementBlock("div",Lg,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.acoesCabecalho,(s,m)=>(l.openBlock(),l.createElementBlock("button",{key:`${s.rotulo}-${m}`,type:"button",class:"eli-tabela__acoes-cabecalho-botao",style:l.normalizeStyle(s.cor?{backgroundColor:s.cor,color:"#fff"}:void 0),onClick:d=>s.acao(e.parametrosConsulta)},[s.icone?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(s.icone),{key:0,class:"eli-tabela__acoes-cabecalho-icone",size:16,"stroke-width":2})):l.createCommentVNode("",!0),l.createElementVNode("span",Jg,l.toDisplayString(s.rotulo),1)],12,Rg))),128))])):l.createCommentVNode("",!0)])}const Gg=W(Pg,[["render",qg]]),Wg=l.defineComponent({name:"EliTabelaEstados",components:{AlertCircle:Dp,Inbox:Pp,LoaderCircle:Vp},props:{carregando:{type:Boolean,required:!0},erro:{type:[String,Object],default:null},mensagemVazio:{type:String,required:!1,default:void 0}}}),Kg={key:0,class:"eli-tabela eli-tabela--carregando","aria-busy":"true"},Hg={key:1,class:"eli-tabela eli-tabela--erro",role:"alert"},Xg={class:"eli-tabela__erro-mensagem"},Yg={key:2,class:"eli-tabela eli-tabela--vazio"};function Qg(e,n,r,i,t,o){const a=l.resolveComponent("LoaderCircle"),c=l.resolveComponent("AlertCircle"),u=l.resolveComponent("Inbox");return e.carregando?(l.openBlock(),l.createElementBlock("div",Kg,[l.createVNode(a,{class:"eli-tabela__estado-icone eli-tabela__estado-icone--spin",size:22,"stroke-width":2}),n[0]||(n[0]=l.createElementVNode("span",null,"Carregando…",-1))])):e.erro?(l.openBlock(),l.createElementBlock("div",Hg,[l.createVNode(c,{class:"eli-tabela__estado-icone eli-tabela__estado-icone--erro",size:18,"stroke-width":2}),l.createElementVNode("div",null,[n[1]||(n[1]=l.createElementVNode("div",{class:"eli-tabela__erro-titulo"},"Erro",-1)),l.createElementVNode("div",Xg,l.toDisplayString(e.erro),1)])])):(l.openBlock(),l.createElementBlock("div",Yg,[l.createVNode(u,{class:"eli-tabela__estado-icone",size:22,"stroke-width":1.5}),l.createElementVNode("span",null,l.toDisplayString(e.mensagemVazio??"Nenhum registro encontrado."),1)]))}const ev=W(Wg,[["render",Qg]]),tv=l.defineComponent({name:"EliTabelaHead",components:{ArrowUp:xi,ArrowDown:ji},props:{colunas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},colunaOrdenacao:{type:[String,Object],default:null},direcaoOrdenacao:{type:String,required:!0},mostrarSelecao:{type:Boolean,default:!1},todosSelecionados:{type:Boolean,default:!1},algunsSelecionados:{type:Boolean,default:!1}},emits:{alternarOrdenacao(e){return typeof e=="string"&&e.length>0},"alternar-selecao-todos":()=>!0},setup(e,{emit:n}){function r(t){return t.coluna_ordem!==void 0&&t.coluna_ordem!==null}function i(t){n("alternarOrdenacao",t)}return{ArrowUp:xi,ArrowDown:ji,isOrdenavel:r,emitAlternarOrdenacao:i}}}),nv={class:"eli-tabela__thead"},rv={class:"eli-tabela__tr eli-tabela__tr--header"},ov={key:0,class:"eli-tabela__th eli-tabela__th--expander",scope:"col"},iv={key:1,class:"eli-tabela__th eli-tabela__th--selecao",scope:"col"},av=["checked","indeterminate"],lv=["onClick"],cv={class:"eli-tabela__th-texto"},sv={key:1,class:"eli-tabela__th-label"},uv={key:2,class:"eli-tabela__th eli-tabela__th--acoes",scope:"col"};function dv(e,n,r,i,t,o){const a=l.resolveComponent("ArrowUp");return l.openBlock(),l.createElementBlock("thead",nv,[l.createElementVNode("tr",rv,[e.temColunasInvisiveis?(l.openBlock(),l.createElementBlock("th",ov)):l.createCommentVNode("",!0),e.mostrarSelecao?(l.openBlock(),l.createElementBlock("th",iv,[l.createElementVNode("input",{type:"checkbox",class:"eli-tabela__checkbox",checked:e.todosSelecionados,indeterminate:e.algunsSelecionados,onChange:n[0]||(n[0]=c=>e.$emit("alternar-selecao-todos")),"aria-label":"Selecionar todos os itens da página"},null,40,av)])):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.colunas,(c,u)=>(l.openBlock(),l.createElementBlock("th",{key:`th-${u}`,class:l.normalizeClass(["eli-tabela__th",[e.isOrdenavel(c)?"eli-tabela__th--ordenavel":void 0]]),scope:"col"},[e.isOrdenavel(c)?(l.openBlock(),l.createElementBlock("button",{key:0,type:"button",class:l.normalizeClass(["eli-tabela__th-botao",[e.colunaOrdenacao===String(c.coluna_ordem)?"eli-tabela__th-botao--ativo":void 0]]),onClick:s=>e.emitAlternarOrdenacao(String(c.coluna_ordem))},[l.createElementVNode("span",cv,l.toDisplayString(c.rotulo),1),e.colunaOrdenacao===String(c.coluna_ordem)?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.direcaoOrdenacao==="asc"?e.ArrowUp:e.ArrowDown),{key:0,class:"eli-tabela__th-icone",size:16,"stroke-width":2,"aria-hidden":"true"})):(l.openBlock(),l.createBlock(a,{key:1,class:"eli-tabela__th-icone eli-tabela__th-icone--oculto",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,lv)):(l.openBlock(),l.createElementBlock("span",sv,l.toDisplayString(c.rotulo),1))],2))),128)),e.temAcoes?(l.openBlock(),l.createElementBlock("th",uv," Ações ")):l.createCommentVNode("",!0)])])}const mv=W(tv,[["render",dv]]),fv=l.defineComponent({name:"EliTabelaMenuAcoes",props:{menuAberto:{type:[Number,Object],default:null},posicao:{type:Object,required:!0},acoes:{type:Array,required:!0},linha:{type:[Object,String,Number,Array],default:null}},emits:{executar(e){return e!==null&&typeof e=="object"}},setup(e,{emit:n}){const r=l.ref(null),i=l.computed(()=>e.acoes.length>0);function t(o){e.linha&&n("executar",{acao:o.acao,linha:e.linha})}return{menuEl:r,possuiAcoes:i,emitExecutar:t}}}),pv={class:"eli-teleport-container"},gv=["id","aria-labelledby"],vv=["aria-label","title","onClick"],hv={class:"eli-tabela__acoes-item-texto"};function bv(e,n,r,i,t,o){return l.openBlock(),l.createElementBlock("div",pv,[(l.openBlock(),l.createBlock(l.Teleport,{to:"body"},[e.menuAberto!==null&&e.possuiAcoes?(l.openBlock(),l.createElementBlock("ul",{key:0,id:`eli-tabela-acoes-menu-${e.menuAberto}`,ref:"menuEl",class:"eli-tabela__acoes-menu",role:"menu","aria-labelledby":`eli-tabela-acoes-toggle-${e.menuAberto}`,style:l.normalizeStyle({position:"fixed",top:`${e.posicao.top}px`,left:`${e.posicao.left}px`,zIndex:999999})},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.acoes,a=>(l.openBlock(),l.createElementBlock("li",{key:`acao-${e.menuAberto}-${a.indice}`,class:"eli-tabela__acoes-item",role:"none"},[l.createElementVNode("button",{type:"button",class:"eli-tabela__acoes-item-botao",style:l.normalizeStyle({color:a.acao.cor}),role:"menuitem","aria-label":a.acao.rotulo,title:a.acao.rotulo,onClick:l.withModifiers(c=>e.emitExecutar(a),["stop"])},[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(a.acao.icone),{class:"eli-tabela__acoes-item-icone",size:16,"stroke-width":2})),l.createElementVNode("span",hv,l.toDisplayString(a.acao.rotulo),1)],12,vv)]))),128))],12,gv)):l.createCommentVNode("",!0)]))])}const $v=W(fv,[["render",bv]]);function _v({aberto:e,rotulosColunas:n,configInicial:r,colunas:i}){const t=l.ref([]),o=l.ref([]),a=l.ref(null);function c(){var T,U;const f=n.value,p=(((T=r.value.visiveis)==null?void 0:T.length)??0)>0||(((U=r.value.invisiveis)==null?void 0:U.length)??0)>0,h=new Set(i.value.filter(b=>b.visivel===!1).map(b=>b.rotulo)),v=p?new Set(r.value.invisiveis??[]):h,D=f.filter(b=>!v.has(b)),I=r.value.visiveis??[],S=new Set(D),C=[];for(const b of I)S.has(b)&&C.push(b);for(const b of D)C.includes(b)||C.push(b);t.value=C,o.value=f.filter(b=>v.has(b))}l.watch(()=>[e.value,n.value,r.value,i.value],()=>{e.value&&c()},{deep:!0,immediate:!0});function u(f,p){a.value=p,f.dataTransfer&&(f.dataTransfer.setData("text/plain",p),f.dataTransfer.effectAllowed="move")}function s(){a.value=null}function m(f,p){const h=a.value;if(!h||h===f)return;const v=t.value.indexOf(h),D=o.value.indexOf(h),I=v>=0?"visiveis":D>=0?"invisiveis":null;if(!I)return;const S=I==="visiveis"?t.value:o.value,C=p==="visiveis"?t.value:o.value,T=S.indexOf(h),U=C.indexOf(f);S.splice(T,1),C.splice(U,0,h)}function d(f){const p=a.value;if(!p)return;const h=f==="visiveis"?t.value:o.value;if(h[h.length-1]===p)return;const v=t.value.indexOf(p),D=o.value.indexOf(p);v>=0&&t.value.splice(v,1),D>=0&&o.value.splice(D,1),h.push(p)}return{visiveisLocal:t,invisiveisLocal:o,itemSendoArrastado:a,onDragStart:u,onDragEnd:s,onDragOverItem:m,onDragOverLista:d}}const yv=l.defineComponent({name:"EliTabelaModalColunas",components:{Columns2:jp,Eye:Up,EyeOff:Cp,GripVertical:Ap,X:Ai,Check:Np},props:{aberto:{type:Boolean,required:!0},rotulosColunas:{type:Array,required:!0},configInicial:{type:Object,required:!0},colunas:{type:Array,required:!0}},emits:{fechar(){return!0},salvar(e){return!0}},setup(e,{emit:n}){const r=_v({aberto:l.computed(()=>e.aberto),rotulosColunas:l.computed(()=>e.rotulosColunas),configInicial:l.computed(()=>e.configInicial),colunas:l.computed(()=>e.colunas)});function i(){n("fechar")}function t(){n("salvar",{visiveis:[...r.visiveisLocal.value],invisiveis:[...r.invisiveisLocal.value]})}return{...r,emitFechar:i,emitSalvar:t}}}),kv={class:"eli-tabela-modal-colunas__modal",role:"dialog","aria-modal":"true","aria-labelledby":"eli-modal-colunas-titulo"},Sv={class:"eli-tabela-modal-colunas__header"},wv={class:"eli-tabela-modal-colunas__header-info"},Iv={class:"eli-tabela-modal-colunas__instrucao"},zv={class:"eli-tabela-modal-colunas__conteudo"},Ev={class:"eli-tabela-modal-colunas__coluna"},Nv={class:"eli-tabela-modal-colunas__coluna-cabecalho eli-tabela-modal-colunas__coluna-cabecalho--visiveis"},Dv={class:"eli-tabela-modal-colunas__coluna-contador"},Ov=["title","onDragstart","onDragover"],jv={class:"eli-tabela-modal-colunas__item-texto"},xv={key:"vazio-visiveis",class:"eli-tabela-modal-colunas__vazio"},Tv={class:"eli-tabela-modal-colunas__coluna"},Cv={class:"eli-tabela-modal-colunas__coluna-cabecalho eli-tabela-modal-colunas__coluna-cabecalho--invisiveis"},Uv={class:"eli-tabela-modal-colunas__coluna-contador"},Av=["title","onDragstart","onDragover"],Pv={class:"eli-tabela-modal-colunas__item-texto"},Vv={key:"vazio-invisiveis",class:"eli-tabela-modal-colunas__vazio"},Bv={class:"eli-tabela-modal-colunas__footer"};function Zv(e,n,r,i,t,o){const a=l.resolveComponent("Columns2"),c=l.resolveComponent("X"),u=l.resolveComponent("GripVertical"),s=l.resolveComponent("Eye"),m=l.resolveComponent("EyeOff"),d=l.resolveComponent("Check");return l.openBlock(),l.createBlock(l.Teleport,{to:"body"},[e.aberto?(l.openBlock(),l.createElementBlock("div",{key:0,class:"eli-tabela-modal-colunas__overlay",role:"presentation",onClick:n[9]||(n[9]=l.withModifiers((...f)=>e.emitFechar&&e.emitFechar(...f),["self"]))},[l.createElementVNode("div",kv,[l.createElementVNode("header",Sv,[l.createElementVNode("div",wv,[l.createVNode(a,{size:18,"stroke-width":2,class:"eli-tabela-modal-colunas__header-icone"}),n[10]||(n[10]=l.createElementVNode("h3",{id:"eli-modal-colunas-titulo",class:"eli-tabela-modal-colunas__titulo"},"Configurar colunas",-1))]),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__fechar","aria-label":"Fechar modal de colunas",onClick:n[0]||(n[0]=(...f)=>e.emitFechar&&e.emitFechar(...f))},[l.createVNode(c,{size:16,"stroke-width":2.5})])]),l.createElementVNode("div",Iv,[l.createVNode(u,{size:14,"stroke-width":2,class:"eli-tabela-modal-colunas__instrucao-icone"}),n[11]||(n[11]=l.createTextVNode(" Arraste para reordenar ou mover entre as listas ",-1))]),l.createElementVNode("div",zv,[l.createElementVNode("div",Ev,[l.createElementVNode("div",Nv,[l.createVNode(s,{size:14,"stroke-width":2}),n[12]||(n[12]=l.createElementVNode("span",null,"Visíveis",-1)),l.createElementVNode("span",Dv,l.toDisplayString(e.visiveisLocal.length),1)]),l.createVNode(l.TransitionGroup,{name:"list",tag:"div",class:"eli-tabela-modal-colunas__lista eli-tabela-modal-colunas__lista--visiveis",onDragover:n[3]||(n[3]=l.withModifiers(f=>e.onDragOverLista("visiveis"),["prevent"])),onDrop:e.onDragEnd},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.visiveisLocal,f=>(l.openBlock(),l.createElementBlock("div",{key:`vis-${f}`,class:l.normalizeClass(["eli-tabela-modal-colunas__item eli-tabela-modal-colunas__item--visivel",{"eli-tabela-modal-colunas__item--arrastando":e.itemSendoArrastado===f}]),draggable:"true",title:`Arraste para mover '${f}'`,onDragstart:p=>e.onDragStart(p,f),onDragend:n[1]||(n[1]=(...p)=>e.onDragEnd&&e.onDragEnd(...p)),onDragover:l.withModifiers(p=>e.onDragOverItem(f,"visiveis"),["stop","prevent"]),onDrop:n[2]||(n[2]=l.withModifiers((...p)=>e.onDragEnd&&e.onDragEnd(...p),["stop","prevent"]))},[l.createVNode(u,{size:15,"stroke-width":2,class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"}),l.createElementVNode("span",jv,l.toDisplayString(f),1),l.createVNode(s,{size:13,"stroke-width":2,class:"eli-tabela-modal-colunas__item-badge-icone eli-tabela-modal-colunas__item-badge-icone--visivel","aria-hidden":"true"})],42,Ov))),128)),e.visiveisLocal.length===0?(l.openBlock(),l.createElementBlock("div",xv,[l.createVNode(m,{size:28,"stroke-width":1.5,class:"eli-tabela-modal-colunas__vazio-icone"}),n[13]||(n[13]=l.createElementVNode("span",null,[l.createTextVNode("Nenhuma coluna visível."),l.createElementVNode("br"),l.createTextVNode("Arraste itens da lista ao lado.")],-1))])):l.createCommentVNode("",!0)]),_:1},8,["onDrop"])]),l.createElementVNode("div",Tv,[l.createElementVNode("div",Cv,[l.createVNode(m,{size:14,"stroke-width":2}),n[14]||(n[14]=l.createElementVNode("span",null,"Ocultas",-1)),l.createElementVNode("span",Uv,l.toDisplayString(e.invisiveisLocal.length),1)]),l.createVNode(l.TransitionGroup,{name:"list",tag:"div",class:"eli-tabela-modal-colunas__lista eli-tabela-modal-colunas__lista--invisiveis",onDragover:n[6]||(n[6]=l.withModifiers(f=>e.onDragOverLista("invisiveis"),["prevent"])),onDrop:e.onDragEnd},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.invisiveisLocal,f=>(l.openBlock(),l.createElementBlock("div",{key:`inv-${f}`,class:l.normalizeClass(["eli-tabela-modal-colunas__item eli-tabela-modal-colunas__item--invisivel",{"eli-tabela-modal-colunas__item--arrastando":e.itemSendoArrastado===f}]),draggable:"true",title:`Arraste para mover '${f}'`,onDragstart:p=>e.onDragStart(p,f),onDragend:n[4]||(n[4]=(...p)=>e.onDragEnd&&e.onDragEnd(...p)),onDragover:l.withModifiers(p=>e.onDragOverItem(f,"invisiveis"),["stop","prevent"]),onDrop:n[5]||(n[5]=l.withModifiers((...p)=>e.onDragEnd&&e.onDragEnd(...p),["stop","prevent"]))},[l.createVNode(u,{size:15,"stroke-width":2,class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"}),l.createElementVNode("span",Pv,l.toDisplayString(f),1),l.createVNode(m,{size:13,"stroke-width":2,class:"eli-tabela-modal-colunas__item-badge-icone eli-tabela-modal-colunas__item-badge-icone--invisivel","aria-hidden":"true"})],42,Av))),128)),e.invisiveisLocal.length===0?(l.openBlock(),l.createElementBlock("div",Vv,[l.createVNode(s,{size:28,"stroke-width":1.5,class:"eli-tabela-modal-colunas__vazio-icone eli-tabela-modal-colunas__vazio-icone--ok"}),n[15]||(n[15]=l.createElementVNode("span",null,"Todas as colunas estão visíveis.",-1))])):l.createCommentVNode("",!0)]),_:1},8,["onDrop"])])]),l.createElementVNode("footer",Bv,[l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--sec",onClick:n[7]||(n[7]=(...f)=>e.emitFechar&&e.emitFechar(...f))},[l.createVNode(c,{size:14,"stroke-width":2.5}),n[16]||(n[16]=l.createTextVNode(" Cancelar ",-1))]),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--prim",onClick:n[8]||(n[8]=(...f)=>e.emitSalvar&&e.emitSalvar(...f))},[l.createVNode(d,{size:14,"stroke-width":2.5}),n[17]||(n[17]=l.createTextVNode(" Salvar ",-1))])])])])):l.createCommentVNode("",!0)])}const Mv=W(yv,[["render",Zv]]);function Bi(e){return e.rotulo}function Fv({aberto:e,filtrosBase:n,modelo:r,modeloFormula:i,emit:t}){const o=l.ref([]),a=l.ref(""),c=l.ref(""),u=l.computed(()=>o.value.map(($,y)=>`{c${y+1}}`).join(" E "));function s($){let y=$;return o.value.forEach((B,w)=>{y=y.replace(new RegExp(`\\{${B.chave}\\}`,"g"),`{c${w+1}}`)}),y}function m($){var B;let y=$;for(let w=o.value.length;w>=1;w--){const A=(B=o.value[w-1])==null?void 0:B.chave;A&&(y=y.replace(new RegExp(`\\{c${w}\\}`,"g"),`{${A}}`))}return y}const d=l.computed(()=>(n.value??[]).map($=>String($.chave))),f=l.computed(()=>{const $=new Set(o.value.map(y=>String(y.chave)));return(n.value??[]).filter(y=>!$.has(String(y.chave)))});function p($){const y=$==null?void 0:$[0];return y==="numero"?Hn:y==="dataHora"?Wn:y==="selecao"?Yn:y==="selecaoMultipla"?Qn:y==="paragrafo"?Xn:y==="confirmacao"?pi:Zt}function h($){return{...typeof($==null?void 0:$[1])=="object"&&$[1]!==null?{...$[1]}:{},rotulo:""}}function v($){return($==null?void 0:$[0])==="numero"||($==null?void 0:$[0])==="dataHora"||($==null?void 0:$[0])==="selecao"?null:($==null?void 0:$[0])==="selecaoMultipla"?[]:($==null?void 0:$[0])==="confirmacao"?!1:""}function D(){const $=n.value??[],y=Array.isArray(r.value)?r.value:[];o.value=y.map(B=>{if(!B||typeof B!="object")return null;const w=B,A=$.find(E=>String(E.chave)===String(w.chave))??$[0];if(!A)return null;const ie=A.entrada??w.entrada,fe=String(A.chave??w.chave),z=w.valor??v(ie);return{chave:fe,entrada:ie,valor:z}}).filter(Boolean),o.value=o.value.filter(B=>d.value.includes(String(B.chave))),i.value?c.value=s(i.value):c.value=u.value}l.watch(()=>[e.value,n.value,r.value],()=>{e.value&&D()},{deep:!0,immediate:!0});function I(){if(!a.value)return;const $=(n.value??[]).find(y=>String(y.chave)===String(a.value));$&&(o.value.some(y=>String(y.chave)===String($.chave))||(o.value.push({chave:String($.chave),entrada:$.entrada,valor:v($.entrada)}),c.value=u.value,a.value=""))}function S($){o.value.splice($,1),c.value=u.value}function C(){t("fechar")}function T(){t("limpar")}function U(){const $=m(c.value);t("salvar",o.value.map(y=>({chave:y.chave,valor:y.valor})),$)}function b($){const y=(n.value??[]).find(B=>String(B.chave)===$);return y?Bi(y):$}return{linhas:o,opcoesParaAdicionar:f,chaveParaAdicionar:a,formulaCustomizada:c,formulaGerada:u,componenteEntrada:p,opcoesEntrada:h,adicionar:I,remover:S,emitFechar:C,emitSalvar:U,emitLimpar:T,rotuloDoFiltro:Bi,rotuloDoFiltroAtivo:b}}const Lv=l.defineComponent({name:"EliTabelaModalFiltroAvancado",components:{CircleHelp:Op,Filter:Ui,Plus:Bp,Trash2:Mp,X:Ai},props:{aberto:{type:Boolean,required:!0},filtrosBase:{type:Array,required:!0},modelo:{type:Array,required:!0},modeloFormula:{type:String,default:""}},emits:{fechar:()=>!0,limpar:()=>!0,salvar:(e,n)=>!0},setup(e,{emit:n}){return Fv({aberto:l.computed(()=>e.aberto),filtrosBase:l.computed(()=>e.filtrosBase),modelo:l.computed(()=>e.modelo),modeloFormula:l.computed(()=>e.modeloFormula),emit:n})}}),Rv={class:"eli-tabela-modal-filtro__modal",role:"dialog","aria-modal":"true","aria-label":"Filtro avançado"},Jv={class:"eli-tabela-modal-filtro__header"},qv={class:"eli-tabela-modal-filtro__header-titulo"},Gv={key:0,class:"eli-tabela-modal-filtro__contador"},Wv={class:"eli-tabela-modal-filtro__conteudo"},Kv={key:0,class:"eli-tabela-modal-filtro__vazio"},Hv={key:1},Xv={key:0,class:"eli-tabela-modal-filtro__lista"},Yv={class:"eli-tabela-modal-filtro__linha-header"},Qv=["title"],eh={class:"eli-tabela-modal-filtro__rotulo-filtro"},th=["onClick"],nh={class:"eli-tabela-modal-filtro__entrada"},rh={key:1,class:"eli-tabela-modal-filtro__estado-vazio"},oh={class:"eli-tabela-modal-filtro__rodape-filtros"},ih={class:"eli-tabela-modal-filtro__acoes"},ah=["disabled"],lh=["value"],ch=["disabled"],sh={key:0,class:"eli-tabela-modal-filtro__formula-container"},uh=["placeholder"],dh={class:"eli-tabela-modal-filtro__formula-ajuda",tabindex:"0","aria-label":"Ajuda sobre fórmulas"},mh={class:"eli-tabela-modal-filtro__footer"},fh=["disabled"];function ph(e,n,r,i,t,o){const a=l.resolveComponent("Filter"),c=l.resolveComponent("X"),u=l.resolveComponent("Trash2"),s=l.resolveComponent("Plus"),m=l.resolveComponent("CircleHelp");return l.openBlock(),l.createBlock(l.Transition,{name:"eli-tabela-modal-filtro"},{default:l.withCtx(()=>[e.aberto?(l.openBlock(),l.createElementBlock("div",{key:0,class:"eli-tabela-modal-filtro__overlay",role:"presentation",onClick:n[7]||(n[7]=l.withModifiers((...d)=>e.emitFechar&&e.emitFechar(...d),["self"]))},[l.createElementVNode("div",Rv,[l.createElementVNode("header",Jv,[l.createElementVNode("div",qv,[l.createVNode(a,{class:"eli-tabela-modal-filtro__header-icone",size:18,"stroke-width":2}),n[8]||(n[8]=l.createElementVNode("h3",{class:"eli-tabela-modal-filtro__titulo"},"Filtro avançado",-1)),e.linhas.length?(l.openBlock(),l.createElementBlock("span",Gv,l.toDisplayString(e.linhas.length)+" "+l.toDisplayString(e.linhas.length===1?"filtro":"filtros"),1)):l.createCommentVNode("",!0)]),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__fechar","aria-label":"Fechar",onClick:n[0]||(n[0]=(...d)=>e.emitFechar&&e.emitFechar(...d))},[l.createVNode(c,{size:18,"stroke-width":2})])]),l.createElementVNode("div",Wv,[e.filtrosBase.length?(l.openBlock(),l.createElementBlock("div",Hv,[e.linhas.length?(l.openBlock(),l.createElementBlock("div",Xv,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.linhas,(d,f)=>(l.openBlock(),l.createElementBlock("div",{key:String(d.chave),class:"eli-tabela-modal-filtro__linha"},[l.createElementVNode("div",Yv,[l.createElementVNode("span",{class:"eli-tabela-modal-filtro__id-badge",title:`Identificador na fórmula: {c${f+1}}`}," c"+l.toDisplayString(f+1),9,Qv),l.createElementVNode("span",eh,l.toDisplayString(e.rotuloDoFiltroAtivo(d.chave)),1),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__remover",title:"Remover filtro","aria-label":"Remover filtro",onClick:p=>e.remover(f)},[l.createVNode(u,{size:14,"stroke-width":2})],8,th)]),l.createElementVNode("div",nh,[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.componenteEntrada(d.entrada)),l.mergeProps({ref_for:!0},{value:d.valor,opcoes:e.opcoesEntrada(d.entrada),density:"compact"},{"onUpdate:value":p=>d.valor=p,onInput:p=>d.valor=p}),null,16,["onUpdate:value","onInput"]))])]))),128))])):(l.openBlock(),l.createElementBlock("div",rh,[l.createVNode(a,{size:32,"stroke-width":1.5}),n[9]||(n[9]=l.createElementVNode("span",null,"Selecione um filtro abaixo para começar",-1))])),l.createElementVNode("div",oh,[l.createElementVNode("div",ih,[l.withDirectives(l.createElementVNode("select",{"onUpdate:modelValue":n[1]||(n[1]=d=>e.chaveParaAdicionar=d),class:"eli-tabela-modal-filtro__select",disabled:!e.opcoesParaAdicionar.length},[n[10]||(n[10]=l.createElementVNode("option",{disabled:"",value:""},"Selecione um filtro…",-1)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.opcoesParaAdicionar,d=>(l.openBlock(),l.createElementBlock("option",{key:String(d.chave),value:String(d.chave)},l.toDisplayString(e.rotuloDoFiltro(d)),9,lh))),128))],8,ah),[[l.vModelSelect,e.chaveParaAdicionar]]),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",onClick:n[2]||(n[2]=(...d)=>e.adicionar&&e.adicionar(...d)),disabled:!e.chaveParaAdicionar},[l.createVNode(s,{size:15,"stroke-width":2.5}),n[11]||(n[11]=l.createTextVNode(" Adicionar ",-1))],8,ch)]),e.linhas.length>=2?(l.openBlock(),l.createElementBlock("div",sh,[n[13]||(n[13]=l.createElementVNode("label",{class:"eli-tabela-modal-filtro__formula-label"},"Fórmula",-1)),l.withDirectives(l.createElementVNode("input",{"onUpdate:modelValue":n[3]||(n[3]=d=>e.formulaCustomizada=d),type:"text",class:"eli-tabela-modal-filtro__formula-input",placeholder:"Ex: "+e.formulaGerada},null,8,uh),[[l.vModelText,e.formulaCustomizada]]),l.createElementVNode("span",dh,[l.createVNode(m,{size:15,"stroke-width":2}),n[12]||(n[12]=l.createElementVNode("div",{class:"eli-tabela-modal-filtro__formula-tooltip",role:"tooltip"},[l.createElementVNode("strong",null,"Como usar a fórmula"),l.createElementVNode("p",null,[l.createTextVNode("Use os identificadores "),l.createElementVNode("code",null,"{c1}"),l.createTextVNode(", "),l.createElementVNode("code",null,"{c2}"),l.createTextVNode(", "),l.createElementVNode("code",null,"{c3}"),l.createTextVNode("… correspondentes a cada filtro acima:")]),l.createElementVNode("ul",null,[l.createElementVNode("li",null,[l.createElementVNode("code",null,"E"),l.createTextVNode(" — ambos devem ser verdadeiros")]),l.createElementVNode("li",null,[l.createElementVNode("code",null,"OU"),l.createTextVNode(" — pelo menos um deve ser verdadeiro")]),l.createElementVNode("li",null,[l.createElementVNode("code",null,"NAO"),l.createTextVNode(" — negação de uma condição")]),l.createElementVNode("li",null,[l.createElementVNode("code",null,"( )"),l.createTextVNode(" — agrupa condições")])]),l.createElementVNode("p",null,[l.createElementVNode("strong",null,"Exemplo:")]),l.createElementVNode("code",null,"{c1} OU ({c2} E NAO {c3})"),l.createElementVNode("p",{class:"eli-tabela-modal-filtro__formula-tooltip-nota"},"Deixe em branco para combinar todos com E.")],-1))])])):l.createCommentVNode("",!0)])])):(l.openBlock(),l.createElementBlock("div",Kv," Nenhum filtro configurado na tabela. "))]),l.createElementVNode("footer",mh,[l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--perigo",disabled:!e.linhas.length,onClick:n[4]||(n[4]=(...d)=>e.emitLimpar&&e.emitLimpar(...d))}," Limpar ",8,fh),n[14]||(n[14]=l.createElementVNode("div",{class:"eli-tabela-modal-filtro__footer-spacer"},null,-1)),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:n[5]||(n[5]=(...d)=>e.emitFechar&&e.emitFechar(...d))}," Cancelar "),l.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",onClick:n[6]||(n[6]=(...d)=>e.emitSalvar&&e.emitSalvar(...d))}," Aplicar ")])])])):l.createCommentVNode("",!0)]),_:1})}const gh=W(Lv,[["render",ph]]),vh=l.defineComponent({name:"EliTabelaPaginacao",props:{pagina:{type:Number,required:!0},totalPaginas:{type:Number,required:!0},maximoBotoes:{type:Number,required:!1},acoes:{type:Array,required:!1,default:()=>[]},parametrosConsulta:{type:Object,required:!1}},emits:{alterar(e){return Number.isFinite(e)}},setup(e,{emit:n}){const r=l.computed(()=>{const s=e.maximoBotoes;return typeof s=="number"&&s>=5?Math.floor(s):7}),i=l.computed(()=>{const s=e.totalPaginas,m=e.pagina,d=r.value,f=[],p=S=>{f.push({label:String(S),pagina:S,ativo:S===m})},h=()=>{f.push({label:"…",ehEllipsis:!0})};if(s<=d){for(let S=1;S<=s;S+=1)p(S);return f}const v=Math.max(3,d-2);let D=Math.max(2,m-Math.floor(v/2)),I=D+v-1;I>=s&&(I=s-1,D=I-v+1),p(1),D>2&&h();for(let S=D;S<=I;S+=1)p(S);return Ie.pagina<=1),a=l.computed(()=>e.pagina>=e.totalPaginas),c=l.computed(()=>e.pagina),u=l.computed(()=>e.totalPaginas);return{botoes:i,irParaPagina:t,anteriorDesabilitado:o,proximaDesabilitada:a,paginaAtual:c,totalPaginasExibidas:u}}}),hh={class:"eli-tabela__rodape"},bh={key:0,class:"eli-tabela__acoes-inferiores",style:{"margin-right":"auto"}},$h=["onClick"],_h={class:"eli-tabela__acoes-cabecalho-rotulo"},yh={key:1,class:"eli-tabela__paginacao",role:"navigation","aria-label":"Paginação de resultados"},kh=["disabled"],Sh={key:0,class:"eli-tabela__pagina-ellipsis","aria-hidden":"true"},wh=["disabled","aria-current","aria-label","onClick"],Ih=["disabled"];function zh(e,n,r,i,t,o){return l.openBlock(),l.createElementBlock("div",hh,[e.acoes.length>0?(l.openBlock(),l.createElementBlock("div",bh,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.acoes,(a,c)=>(l.openBlock(),l.createElementBlock("button",{key:`${a.rotulo}-${c}`,type:"button",class:"eli-tabela__acao-inferior",style:l.normalizeStyle(a.cor?{borderColor:a.cor,color:a.cor}:void 0),onClick:u=>a.acao(e.parametrosConsulta)},[a.icone?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(a.icone),{key:0,class:"eli-tabela__acoes-cabecalho-icone",size:16,"stroke-width":2})):l.createCommentVNode("",!0),l.createElementVNode("span",_h,l.toDisplayString(a.rotulo),1)],12,$h))),128))])):l.createCommentVNode("",!0),e.totalPaginasExibidas>1?(l.openBlock(),l.createElementBlock("nav",yh,[l.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.anteriorDesabilitado,"aria-label":"Página anterior",onClick:n[0]||(n[0]=a=>e.irParaPagina(e.paginaAtual-1))}," << ",8,kh),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.botoes,(a,c)=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:`${a.label}-${c}`},[a.ehEllipsis?(l.openBlock(),l.createElementBlock("span",Sh,l.toDisplayString(a.label),1)):(l.openBlock(),l.createElementBlock("button",{key:1,type:"button",class:l.normalizeClass(["eli-tabela__pagina-botao",a.ativo?"eli-tabela__pagina-botao--ativo":void 0]),disabled:a.ativo,"aria-current":a.ativo?"page":void 0,"aria-label":`Ir para página ${a.label}`,onClick:u=>e.irParaPagina(a.pagina)},l.toDisplayString(a.label),11,wh))],64))),128)),l.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.proximaDesabilitada,"aria-label":"Próxima página",onClick:n[1]||(n[1]=a=>e.irParaPagina(e.paginaAtual+1))}," >> ",8,Ih)])):l.createCommentVNode("",!0)])}const Eh=W(vh,[["render",zh]]),Nh="eli:tabela";function Zi(e){return`${Nh}:${e}:colunas`}function Mi(e){if(!e||typeof e!="object")return{visiveis:[],invisiveis:[]};const n=e,r=Array.isArray(n.visiveis)?n.visiveis.filter(t=>typeof t=="string"):[],i=Array.isArray(n.invisiveis)?n.invisiveis.filter(t=>typeof t=="string"):[];return{visiveis:r,invisiveis:i}}function Fi(e){try{const n=window.localStorage.getItem(Zi(e));return n?Mi(JSON.parse(n)):{visiveis:[],invisiveis:[]}}catch{return{visiveis:[],invisiveis:[]}}}function Dh(e,n){try{window.localStorage.setItem(Zi(e),JSON.stringify(Mi(n)))}catch{}}function tr(e){return`eli_tabela:${e}:filtro_avancado`}function Li(e){const n={linhas:[],formula:""};try{const r=localStorage.getItem(tr(e));if(!r)return n;const i=JSON.parse(r);return Array.isArray(i)?{linhas:i,formula:""}:i&&typeof i=="object"?{linhas:Array.isArray(i.linhas)?i.linhas:[],formula:typeof i.formula=="string"?i.formula:""}:n}catch{return n}}function Oh(e,n){try{localStorage.setItem(tr(e),JSON.stringify(n??{linhas:[]}))}catch{}}function jh(e){try{localStorage.removeItem(tr(e))}catch{}}function xh(e,n){const r=l.ref(!1),i=l.ref(Fi(e.tabela.nome)),t=l.ref({}),o=l.computed(()=>e.tabela.colunas.map(h=>h.rotulo)),a=l.computed(()=>{var U,b;const h=e.tabela.colunas,D=(((U=i.value.visiveis)==null?void 0:U.length)??0)>0||(((b=i.value.invisiveis)==null?void 0:b.length)??0)>0?i.value.invisiveis??[]:h.filter($=>$.visivel===!1).map($=>$.rotulo),I=new Set(D),S=h.filter($=>I.has($.rotulo)),C=new Map;for(const $ of S)C.has($.rotulo)||C.set($.rotulo,$);const T=[];for(const $ of D){const y=C.get($);y&&T.push(y)}for(const $ of S)T.includes($)||T.push($);return T}),c=l.computed(()=>a.value.length>0),u=l.computed(()=>{var y,B;const h=e.tabela.colunas,v=o.value,D=(((y=i.value.visiveis)==null?void 0:y.length)??0)>0||(((B=i.value.invisiveis)==null?void 0:B.length)??0)>0,I=D?i.value.invisiveis??[]:e.tabela.colunas.filter(w=>w.visivel===!1).map(w=>w.rotulo),S=new Set(I),C=v.filter(w=>!S.has(w)),T=new Set(C),U=D?i.value.visiveis??[]:[],b=[];for(const w of U)T.has(w)&&b.push(w);for(const w of C)b.includes(w)||b.push(w);const $=new Map;for(const w of h)$.has(w.rotulo)||$.set(w.rotulo,w);return b.map(w=>$.get(w)).filter(Boolean)}),s=l.computed(()=>u.value.length+(n.value?1:0)+(c.value?1:0));function m(){r.value=!0}function d(){r.value=!1}function f(h){i.value=h,Dh(e.tabela.nome,h),r.value=!1,t.value={}}function p(h){const v=!!t.value[h];t.value={...t.value,[h]:!v}}return{modalColunasAberto:r,configColunas:i,linhasExpandidas:t,rotulosColunas:o,colunasEfetivas:u,colunasInvisiveisEfetivas:a,temColunasInvisiveis:c,totalColunas:s,abrirModalColunas:m,fecharModalColunas:d,salvarModalColunas:f,alternarLinhaExpandida:p}}var Ri=(e=>(e[e.sucesso=200]="sucesso",e[e.erroConhecido=400]="erroConhecido",e[e.erroPermissao=401]="erroPermissao",e[e.erroNaoEncontrado=404]="erroNaoEncontrado",e[e.erroDesconhecido=500]="erroDesconhecido",e[e.tempoEsgotado=504]="tempoEsgotado",e))(Ri||{});function Th(e,n,r,i,t){const a=l.ref(!1),c=l.ref(null),u=l.ref([]),s=l.ref(0),m=l.ref([]),d=l.ref(null),f=l.ref("asc"),p=l.computed(()=>e.tabela),h=l.computed(()=>{const z=e.tabela.registros_por_consulta;return typeof z=="number"&&z>0?Math.floor(z):10}),v=l.computed(()=>{const z=h.value;if(!z||z<=0)return 1;const E=s.value??0;return E?Math.max(1,Math.ceil(E/z)):1}),D=l.computed(()=>u.value??[]),I=l.computed(()=>s.value??0),S=l.computed(()=>(e.tabela.acoesLinha??[]).length>0),C=l.computed(()=>!!e.tabela.mostrarCaixaDeBusca),T=l.computed(()=>(e.tabela.acoesTabela??[]).filter(z=>z.posicao==="superior")),U=l.computed(()=>(e.tabela.acoesTabela??[]).filter(z=>z.posicao==="inferior")),b=l.computed(()=>T.value.length>0),$=l.computed(()=>U.value.length>0),y=l.computed(()=>{const z=Math.max(1,h.value),N={offSet:(r.value-1)*z,limit:z},x=(i.value??"").trim();if(x)N.texto_busca=x;else{const j=n.value;j.length&&(N.filtros=j)}return d.value&&(N.coluna_ordem=d.value,N.direcao_ordem=f.value),{...N,atualizarConsulta:async()=>{await w()},editarLista:async j=>(u.value=j,j)}});let B=0;async function w(){var E,N;const z=++B;a.value=!0,c.value=null;try{m.value=[],t.value={};const x=Math.max(1,h.value),Z={offSet:(r.value-1)*x,limit:x},F=(i.value??"").trim();if(F)Z.texto_busca=F;else{const M=n.value;M.length&&(Z.filtros=M)}d.value&&(Z.coluna_ordem=d.value,Z.direcao_ordem=f.value);const G=await e.tabela.consulta(Z);if(z!==B)return;if(G.cod!==Ri.sucesso){u.value=[],s.value=0,c.value=G.mensagem;return}const X=((E=G.valor)==null?void 0:E.valores)??[],ne=((N=G.valor)==null?void 0:N.quantidade)??X.length;u.value=X,s.value=Number(ne)||0;const re=Math.max(1,Math.ceil((s.value||0)/x));r.value>re&&(r.value=re);const le=e.tabela.acoesLinha??[];if(!le.length){m.value=[];return}m.value=X.map(()=>le.map(M=>M.exibir===void 0?!0:typeof M.exibir=="boolean"?M.exibir:!1));const ke=await Promise.all(X.map(M=>Promise.all(le.map(async K=>{if(K.exibir===void 0)return!0;if(typeof K.exibir=="boolean")return K.exibir;try{return!!await Promise.resolve(K.exibir(M))}catch{return!1}}))));z===B&&(m.value=ke)}catch(x){if(console.error("[EliTabela] Erro capturado em carregar():",x),z!==B)return;u.value=[],s.value=0,c.value=x instanceof Error?x.message:"Erro ao carregar dados."}finally{z===B&&(a.value=!1)}}function A(z){if(z){if(d.value===z){f.value=f.value==="asc"?"desc":"asc",w();return}d.value=z,f.value="asc",r.value!==1?r.value=1:w()}}function ie(z){i.value!==z&&(i.value=z,r.value!==1?r.value=1:w())}function fe(z){const E=Math.min(Math.max(1,z),v.value);E!==r.value&&(r.value=E)}return l.watch(r,(z,E)=>{z!==E&&w()}),l.watch(u,()=>{t.value={}}),l.watch(()=>e.tabela.mostrarCaixaDeBusca,z=>{!z&&i.value&&(i.value="",r.value!==1?r.value=1:w())}),l.watch(()=>e.tabela.registros_por_consulta,()=>{r.value!==1?r.value=1:w()}),{isDev:!1,tabela:p,carregando:a,erro:c,linhas:u,linhasPaginadas:D,quantidade:s,quantidadeFiltrada:I,acoesVisiveis:m,colunaOrdenacao:d,direcaoOrdenacao:f,registrosPorConsulta:h,totalPaginas:v,temAcoes:S,exibirBusca:C,acoesSuperiores:T,acoesInferiores:U,temAcoesSuperiores:b,temAcoesInferiores:$,parametrosConsultaAtuais:y,carregar:w,alternarOrdenacao:A,atualizarBusca:ie,irParaPagina:fe}}function Ch(e,n,r,i){const t=Li(e.tabela.nome),o=l.ref(t.linhas),a=l.ref(t.formula??""),c=l.ref(!1),u=l.computed(()=>(e.tabela.filtroAvancado??[]).length>0),s=l.computed(()=>{const I=e.tabela.filtroAvancado??[],S=(o.value??[]).filter(b=>b&&b.chave!==void 0);if(S.length===0)return[];const C=S.map(b=>{const $=I.find(B=>String(B.chave)===String(b.chave));if(!$)return null;const y=$.filtro(b.valor);return y?{chave:b.chave,condicao:y}:null}).filter(b=>b!==null);if(C.length===0)return[];if(a.value&&C.length>1){const b=[];let $=a.value;return C.forEach(({chave:y},B)=>{$=$.replace(new RegExp(`\\{${y}\\}`,"g"),`{c${B+1}}`)}),C.forEach(({condicao:y},B)=>{const w=`{c${B+1}}`;b.push({...y,id:w})}),[{condicoes:b,formula:$}]}const T=C.map(({condicao:b},$)=>({...b,id:`{c${$+1}}`})),U=T.map(b=>b.id).join(" E ");return[{condicoes:T,formula:U}]});function m(){c.value=!0}function d(){c.value=!1}function f(){o.value=[],a.value="",jh(e.tabela.nome),c.value=!1,r.value="",n.value!==1?n.value=1:i()}function p(I,S){o.value=I??[],a.value=S??"",Oh(e.tabela.nome,{linhas:o.value,formula:a.value}),c.value=!1,r.value="",n.value!==1?n.value=1:i()}const h={"=":"igual a","!=":"diferente de",">":"maior que","<":"menor que",">=":"maior ou igual a","<=":"menor ou igual a",like:"contém",in:"em","∩":"possui"};function v(I,S){const[C,T]=Array.isArray(I)?I:[I,{}];if(C==="confirmacao"){const U=T||{};return S===!0?U.rotuloAtivo||"Sim":S===!1?U.rotuloInativo||"Não":String(S)}if((C==="selecao"||C==="selecaoMultipla")&&typeof(T==null?void 0:T.itens)=="function")try{const U=T.itens();if(Array.isArray(U)){const b=$=>{const y=U.find(B=>String(B.chave)===String($));return y?y.rotulo:$};return Array.isArray(S)?S.map($=>b(String($))).join(", "):b(String(S))}}catch{}return Array.isArray(S)?S.map(String).join(", "):String(S)}const D=l.computed(()=>{const I=e.tabela.filtroAvancado??[],S=(o.value??[]).filter(T=>T&&T.chave!==void 0),C=[];for(const T of S){const U=I.find(b=>String(b.chave)===String(T.chave));if(U){const b=U.filtro(T.valor);if(b){const $=h[b.operador]||b.operador,y=v(U.entrada,b.valor);C.push(`${U.rotulo} ${$} "${y}"`)}}}return{quantidade:C.length,rotulos:C}});return{filtrosUi:o,filtrosFormula:a,modalFiltroAberto:c,exibirFiltroAvancado:u,filtrosAvancadosAtivos:s,filtrosAtivosResumo:D,abrirModalFiltro:m,fecharModalFiltro:d,limparFiltrosAvancados:f,salvarFiltrosAvancados:p}}function Uh(e,n){const r=l.ref(null),i=l.ref(null),t=l.ref({top:0,left:0});function o(m){var I,S,C,T;const d=m.getBoundingClientRect(),f=8,p=((S=(I=i.value)==null?void 0:I.menuEl)==null?void 0:S.offsetHeight)??0,h=((T=(C=i.value)==null?void 0:C.menuEl)==null?void 0:T.offsetWidth)??180;let v=d.bottom+f;const D=d.right-h;p&&v+p>window.innerHeight-f&&(v=d.top-f-p),t.value={top:Math.max(f,Math.round(v)),left:Math.max(f,Math.round(D))}}function a(m){var f,p;if(r.value===null)return;const d=m.target;(p=(f=i.value)==null?void 0:f.menuEl)!=null&&p.contains(d)||(r.value=null)}function c(m){const d=e.tabela.acoesLinha??[],f=n.value[m]??[];return d.map((p,h)=>{const v=p.exibir===void 0?!0:typeof p.exibir=="boolean"?p.exibir:!1;return{acao:p,indice:h,visivel:f[h]??v}}).filter(p=>p.visivel)}function u(m){return c(m).length>0}function s(m,d){if(!u(m))return;if(r.value===m){r.value=null;return}r.value=m;const f=(d==null?void 0:d.currentTarget)??null;f&&(o(f),l.nextTick(()=>{r.value!==null&&o(f)}))}return l.onMounted(()=>document.addEventListener("click",a)),l.onBeforeUnmount(()=>document.removeEventListener("click",a)),{menuAberto:r,menuPopup:i,menuPopupPos:t,possuiAcoes:u,toggleMenu:s,acoesDisponiveisPorLinha:c}}function Ah(e,n,r){const i=l.computed(()=>!!e.tabela.mostrar_selecao),t=l.computed(()=>e.tabela.chave_selecao);function o(d){return t.value&&d&&typeof d=="object"?d[t.value]:d}function a(d){const f=o(d);return t.value?e.selecionados.some(p=>o(p)===f):e.selecionados.includes(d)}function c(d){const f=[...e.selecionados],p=o(d);let h=-1;t.value?h=f.findIndex(v=>o(v)===p):h=f.indexOf(d),h===-1?f.push(d):f.splice(h,1),n("update:selecionados",f)}const u=l.computed(()=>r.value.length===0?!1:r.value.every(d=>a(d))),s=l.computed(()=>r.value.length===0?!1:r.value.some(d=>a(d))&&!u.value);function m(d){const f=d??!u.value;let p=[...e.selecionados];if(f)for(const h of r.value)a(h)||p.push(h);else{const h=r.value.map(o);t.value?p=p.filter(v=>!h.includes(o(v))):p=p.filter(v=>!h.includes(v))}n("update:selecionados",p)}return{mostrarSelecao:i,isSelecionado:a,alternarSelecao:c,todosSelecionados:u,algunsSelecionados:s,alternarSelecaoTodos:m}}function Ph(e,n){const r=l.ref(1),i=l.ref("");let t=async()=>{};const a=Ch(e,r,i,()=>t()),c=l.ref(!1),u=xh(e,c),s=Th(e,a.filtrosAvancadosAtivos,r,i,u.linhasExpandidas);t=s.carregar,c.value=s.temAcoes.value,l.watch(s.temAcoes,f=>{c.value=f});const m=Ah(e,n,s.linhasPaginadas),d=Uh(e,s.acoesVisiveis);return l.watch(()=>e.tabela,()=>{d.menuAberto.value=null,s.colunaOrdenacao.value=null,s.direcaoOrdenacao.value="asc",i.value="",u.modalColunasAberto.value=!1,a.modalFiltroAberto.value=!1,u.configColunas.value=Fi(e.tabela.nome);const f=Li(e.tabela.nome);a.filtrosUi.value=f.linhas,u.linhasExpandidas.value={},r.value!==1?r.value=1:s.carregar()}),l.onMounted(()=>void s.carregar()),{...s,...a,...m,...u,menuAberto:d.menuAberto,menuPopup:d.menuPopup,menuPopupPos:d.menuPopupPos,possuiAcoes:d.possuiAcoes,toggleMenu:d.toggleMenu,acoesDisponiveisPorLinha:d.acoesDisponiveisPorLinha,paginaAtual:r,valorBusca:i}}const Vh=l.defineComponent({name:"EliTabela",inheritAttrs:!1,components:{EliTabelaCabecalho:Gg,EliTabelaEstados:ev,EliTabelaHead:mv,EliTabelaBody:jg,EliTabelaMenuAcoes:$v,EliTabelaPaginacao:Eh,EliTabelaModalColunas:Mv,EliTabelaModalFiltroAvancado:gh},props:{tabela:{type:Object,required:!0},selecionados:{type:Array,default:()=>[]},esconderDebug:{type:Boolean,default:!1}},emits:["update:selecionados"],setup(e,{emit:n}){return Ph(e,n)}}),Bh={class:"eli-tabela"},Zh={class:"eli-tabela__table-wrapper"},Mh={class:"eli-tabela__table"},Fh={key:0},Lh=["colspan"];function Rh(e,n,r,i,t,o){const a=l.resolveComponent("EliTabelaCabecalho"),c=l.resolveComponent("EliTabelaModalColunas"),u=l.resolveComponent("EliTabelaModalFiltroAvancado"),s=l.resolveComponent("EliTabelaHead"),m=l.resolveComponent("EliTabelaEstados"),d=l.resolveComponent("EliTabelaBody"),f=l.resolveComponent("EliTabelaMenuAcoes"),p=l.resolveComponent("EliTabelaPaginacao");return l.openBlock(),l.createElementBlock("div",Bh,[e.exibirBusca||e.temAcoesSuperiores?(l.openBlock(),l.createBlock(a,{key:0,exibirBusca:e.exibirBusca,exibirBotaoFiltroAvancado:e.exibirFiltroAvancado,filtrosAtivosResumo:e.filtrosAtivosResumo,valorBusca:e.valorBusca,acoesCabecalho:e.acoesSuperiores,parametrosConsulta:e.parametrosConsultaAtuais,onBuscar:e.atualizarBusca,onColunas:e.abrirModalColunas,onFiltroAvancado:e.abrirModalFiltro},null,8,["exibirBusca","exibirBotaoFiltroAvancado","filtrosAtivosResumo","valorBusca","acoesCabecalho","parametrosConsulta","onBuscar","onColunas","onFiltroAvancado"])):l.createCommentVNode("",!0),l.createVNode(c,{aberto:e.modalColunasAberto,rotulosColunas:e.rotulosColunas,configInicial:e.configColunas,colunas:e.tabela.colunas,onFechar:e.fecharModalColunas,onSalvar:e.salvarModalColunas},null,8,["aberto","rotulosColunas","configInicial","colunas","onFechar","onSalvar"]),l.createVNode(u,{aberto:e.modalFiltroAberto,filtrosBase:e.tabela.filtroAvancado??[],modelo:e.filtrosUi,modeloFormula:e.filtrosFormula,onFechar:e.fecharModalFiltro,onLimpar:e.limparFiltrosAvancados,onSalvar:e.salvarFiltrosAvancados},null,8,["aberto","filtrosBase","modelo","modeloFormula","onFechar","onLimpar","onSalvar"]),l.createElementVNode("div",Zh,[l.createElementVNode("table",Mh,[l.createVNode(s,{colunas:e.colunasEfetivas,temAcoes:e.temAcoes,temColunasInvisiveis:e.temColunasInvisiveis,colunaOrdenacao:e.colunaOrdenacao,direcaoOrdenacao:e.direcaoOrdenacao,mostrarSelecao:e.mostrarSelecao,todosSelecionados:e.todosSelecionados,algunsSelecionados:e.algunsSelecionados,onAlternarOrdenacao:e.alternarOrdenacao,onAlternarSelecaoTodos:e.alternarSelecaoTodos},null,8,["colunas","temAcoes","temColunasInvisiveis","colunaOrdenacao","direcaoOrdenacao","mostrarSelecao","todosSelecionados","algunsSelecionados","onAlternarOrdenacao","onAlternarSelecaoTodos"]),e.carregando||e.erro||!e.linhas.length?(l.openBlock(),l.createElementBlock("tbody",Fh,[l.createElementVNode("tr",null,[l.createElementVNode("td",{colspan:e.totalColunas,class:"eli-tabela__td--estados"},[l.createVNode(m,{carregando:e.carregando,erro:e.erro,mensagemVazio:e.tabela.mensagemVazio,class:"eli-tabela__estados-inline"},null,8,["carregando","erro","mensagemVazio"])],8,Lh)])])):(l.openBlock(),l.createBlock(d,{key:1,colunas:e.colunasEfetivas,colunasInvisiveis:e.colunasInvisiveisEfetivas,temColunasInvisiveis:e.temColunasInvisiveis,linhasExpandidas:e.linhasExpandidas,linhas:e.linhasPaginadas,temAcoes:e.temAcoes,menuAberto:e.menuAberto,possuiAcoes:e.possuiAcoes,toggleMenu:e.toggleMenu,alternarLinhaExpandida:e.alternarLinhaExpandida,mostrarSelecao:e.mostrarSelecao,isSelecionado:e.isSelecionado,alternarSelecao:e.alternarSelecao},null,8,["colunas","colunasInvisiveis","temColunasInvisiveis","linhasExpandidas","linhas","temAcoes","menuAberto","possuiAcoes","toggleMenu","alternarLinhaExpandida","mostrarSelecao","isSelecionado","alternarSelecao"]))])]),l.createVNode(f,{ref:"menuPopup",menuAberto:e.menuAberto,posicao:e.menuPopupPos,acoes:e.menuAberto===null?[]:e.acoesDisponiveisPorLinha(e.menuAberto),linha:e.menuAberto===null?null:e.linhasPaginadas[e.menuAberto],onExecutar:n[0]||(n[0]=({acao:h,linha:v})=>{e.menuAberto=null,h.acao(v)})},null,8,["menuAberto","posicao","acoes","linha"]),e.totalPaginas>1&&e.quantidadeFiltrada>0||e.temAcoesInferiores?(l.openBlock(),l.createBlock(p,{key:1,pagina:e.paginaAtual,totalPaginas:e.totalPaginas,maximoBotoes:e.tabela.maximo_botoes_paginacao,acoes:e.acoesInferiores,parametrosConsulta:e.parametrosConsultaAtuais,onAlterar:e.irParaPagina},null,8,["pagina","totalPaginas","maximoBotoes","acoes","parametrosConsulta","onAlterar"])):l.createCommentVNode("",!0)])}const Ji=W(Vh,[["render",Rh]]),Jh=(e,n)=>[e,n];function qh(e,n){const r=[`## Elemento: ${e.seletor}`,"",`- **Página:** \`${n}\``,`- **Tag:** \`<${e.tag}>\``];if(e.id&&r.push(`- **ID:** \`${e.id}\``),e.classes.length&&r.push(`- **Classes:** \`${e.classes.join(", ")}\``),r.push(`- **Caminho DOM:** \`${e.caminhoDom}\``),Object.keys(e.dataAtributos).length){r.push("- **data-* atributos:**");for(const[t,o]of Object.entries(e.dataAtributos))r.push(` - \`${t}\` = \`${o}\``)}return e.textoVisivel&&r.push(`- **Texto visível:** "${e.textoVisivel}"`),r.join(`
+`)}function Gh(e){const n=["# Relatório de Feedback de Interface","",`> Gerado em: ${new Date().toLocaleString("pt-BR")}`,`> Total de itens: ${e.length}`,"","---",""];for(const r of e){const i=r.elemento;if(n.push(`## 🔹 ${i.seletor}`),n.push(""),n.push(`- **Data:** ${new Date(r.criadoEm).toLocaleString("pt-BR")}`),n.push(`- **Página:** \`${r.urlPagina}\``),n.push(`- **Tag:** \`<${i.tag}>\``),i.id&&n.push(`- **ID:** \`${i.id}\``),i.classes.length&&n.push(`- **Classes:** \`${i.classes.join(", ")}\``),n.push(`- **Caminho DOM:** \`${i.caminhoDom}\``),Object.keys(i.dataAtributos).length){n.push("- **data-* atributos:**");for(const[o,a]of Object.entries(i.dataAtributos))n.push(` - \`${o}\` = \`${a}\``)}i.textoVisivel&&n.push(`- **Texto visível:** "${i.textoVisivel}"`),n.push(""),n.push("### Comentário"),n.push(""),n.push(r.comentario),n.push(""),n.push("---"),n.push("")}return n.join(`
+`)}function Wh(e){const n={};for(const a of Array.from(e.attributes))a.name.startsWith("data-")&&(n[a.name]=a.value);const r=(e.textContent??"").trim().slice(0,120),i=[];let t=e;for(let a=0;a<4&&t&&t!==document.body;a++){const c=t.tagName.toLowerCase()+(t.id?`#${t.id}`:"")+(t.classList.length?`.${Array.from(t.classList).join(".")}`:"");i.unshift(c),t=t.parentElement}let o=e.tagName.toLowerCase();return e.id?o=`#${e.id}`:e.classList.length&&(o=`${e.tagName.toLowerCase()}.${Array.from(e.classList).join(".")}`),{seletor:o,id:e.id||null,classes:Array.from(e.classList),tag:e.tagName.toLowerCase(),textoVisivel:r,dataAtributos:n,caminhoDom:i.join(" > ")}}const nr="eli-feedback-items";function Kh(){return`fb-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,7)}`}function Hh(){const e=l.ref("inativo"),n=l.ref(null),r=l.ref(""),i=l.ref(null),t=l.ref(!1),o=l.ref(!1);function a(){try{const w=localStorage.getItem(nr);return w?JSON.parse(w):[]}catch{return[]}}const c=l.ref(a()),u=l.computed(()=>c.value.length);function s(){localStorage.setItem(nr,JSON.stringify(c.value))}let m=null;function d(){m=document.createElement("div"),m.id="eli-feedback-overlay",Object.assign(m.style,{position:"fixed",pointerEvents:"none",border:"2px solid #C62828",background:"rgba(198, 40, 40, 0.08)",borderRadius:"4px",zIndex:"99998",transition:"all 0.1s ease",display:"none"}),document.body.appendChild(m)}function f(){m&&(m.remove(),m=null)}function p(w){if(!m)return;const A=w.getBoundingClientRect();Object.assign(m.style,{display:"block",top:`${A.top-2}px`,left:`${A.left-2}px`,width:`${A.width+4}px`,height:`${A.height+4}px`})}function h(w){const A=w.target;A.closest("#eli-feedback-widget")||A.id==="eli-feedback-overlay"||(i.value=A,p(A))}function v(){document.removeEventListener("mousemove",h,!0),document.removeEventListener("click",D,!0),document.removeEventListener("keydown",I,!0),document.body.style.cursor="",m&&(m.style.display="none")}function D(w){w.preventDefault(),w.stopPropagation(),w.stopImmediatePropagation();const A=w.target;if(A.closest("#eli-feedback-widget")||A.id==="eli-feedback-overlay")return;const ie=Wh(A),fe=e.value;if(v(),fe==="selecionando-copiar"){const z=qh(ie,window.location.href);navigator.clipboard.writeText(z).then(()=>{o.value=!0,setTimeout(()=>{o.value=!1},1500)}).catch(()=>{}),e.value="inativo",f()}else n.value=ie,e.value="comentando"}function I(w){w.key==="Escape"&&U()}function S(){n.value=null,r.value="",t.value=!1,d(),document.body.style.cursor="crosshair",document.addEventListener("mousemove",h,!0),document.addEventListener("click",D,!0),document.addEventListener("keydown",I,!0)}function C(){e.value="selecionando",S()}function T(){e.value="selecionando-copiar",S()}function U(){e.value="inativo",n.value=null,i.value=null,r.value="",v(),f()}function b(){if(!n.value||!r.value.trim())return;const w={id:Kh(),criadoEm:new Date().toISOString(),elemento:n.value,comentario:r.value.trim(),urlPagina:window.location.href};c.value.unshift(w),s(),e.value="inativo",n.value=null,r.value="",f()}function $(){if(!c.value.length)return;const w=Gh(c.value),A=new Blob([w],{type:"text/markdown;charset=utf-8"}),ie=URL.createObjectURL(A);window.open(ie,"_blank")}function y(){c.value=[],localStorage.removeItem(nr)}function B(w){c.value=c.value.filter(A=>A.id!==w),s()}return l.onBeforeUnmount(()=>{U()}),{modo:e,elementoSelecionado:n,comentario:r,painelAberto:t,copiouElemento:o,itens:c,totalItens:u,iniciarSelecao:C,iniciarSelecaoParaCopiar:T,cancelarSelecao:U,salvarFeedback:b,exportarMarkdown:$,limparTodos:y,removerItem:B}}const Xh=l.defineComponent({name:"EliFeedbackWidget",setup(){const e=l.ref(null),n=l.ref(!1),{modo:r,elementoSelecionado:i,comentario:t,copiouElemento:o,itens:a,totalItens:c,iniciarSelecao:u,iniciarSelecaoParaCopiar:s,cancelarSelecao:m,salvarFeedback:d,exportarMarkdown:f,limparTodos:p}=Hh();function h(){r.value!=="inativo"?(m(),n.value=!1):n.value=!n.value}function v(){n.value=!1,u()}function D(){n.value=!1,s()}function I(){p(),n.value=!1}return l.watch(r,async S=>{var C;S==="comentando"&&(await l.nextTick(),(C=e.value)==null||C.focus())}),{textareaRef:e,expandido:n,modo:r,elementoSelecionado:i,comentario:t,copiouElemento:o,itens:a,totalItens:c,aoClicarFab:h,aoIniciarFeedback:v,aoIniciarCopia:D,cancelarSelecao:m,salvarFeedback:d,exportarMarkdown:f,confirmarLimpeza:I}}}),Yh={id:"eli-feedback-widget",class:"eli-feedback-fab"},Qh={key:0,class:"eli-fb-acoes"},eb=["title"],tb={key:0},nb={key:1},rb={key:2,class:"eli-fb-badge"},ob={key:1,class:"eli-fb-tooltip-selecao"},ib={key:0},ab={key:1},lb={key:2,class:"eli-fb-painel"},cb={class:"eli-fb-painel-header"},sb={class:"eli-fb-painel-corpo"},ub={class:"eli-fb-el-info"},db={key:0},mb={key:1},fb={key:2},pb={class:"eli-fb-painel-acoes"},gb=["disabled"];function vb(e,n,r,i,t,o){return l.openBlock(),l.createElementBlock("div",Yh,[e.expandido&&e.modo==="inativo"?(l.openBlock(),l.createElementBlock("div",Qh,[l.createElementVNode("button",{class:"eli-fb-botao-ico eli-fb-botao-feedback",title:"Adicionar feedback com comentário",onClick:n[0]||(n[0]=(...a)=>e.aoIniciarFeedback&&e.aoIniciarFeedback(...a))}," 🐛 "),l.createElementVNode("button",{class:"eli-fb-botao-ico eli-fb-botao-copiar",title:"Selecionar elemento e copiar dados",onClick:n[1]||(n[1]=(...a)=>e.aoIniciarCopia&&e.aoIniciarCopia(...a))},l.toDisplayString(e.copiouElemento?"✅":"📋"),1),e.totalItens>0?(l.openBlock(),l.createElementBlock("button",{key:0,class:"eli-fb-botao-ico eli-fb-botao-exportar",title:`Visualizar ${e.totalItens} feedback(s) em nova aba`,onClick:n[2]||(n[2]=(...a)=>e.exportarMarkdown&&e.exportarMarkdown(...a))}," 📄 ",8,eb)):l.createCommentVNode("",!0),e.totalItens>0?(l.openBlock(),l.createElementBlock("button",{key:1,class:"eli-fb-botao-ico eli-fb-botao-limpar",title:"Limpar todos os feedbacks",onClick:n[3]||(n[3]=(...a)=>e.confirmarLimpeza&&e.confirmarLimpeza(...a))}," 🗑️ ")):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0),l.createElementVNode("button",{class:"eli-fb-botao-principal",title:"Ferramentas de feedback",onClick:n[4]||(n[4]=(...a)=>e.aoClicarFab&&e.aoClicarFab(...a))},[e.modo==="inativo"&&!e.expandido?(l.openBlock(),l.createElementBlock("span",tb,"🐛")):(l.openBlock(),l.createElementBlock("span",nb,"✕")),e.totalItens>0&&e.modo==="inativo"&&!e.expandido?(l.openBlock(),l.createElementBlock("span",rb,l.toDisplayString(e.totalItens),1)):l.createCommentVNode("",!0)]),e.modo==="selecionando"||e.modo==="selecionando-copiar"?(l.openBlock(),l.createElementBlock("div",ob,[e.modo==="selecionando"?(l.openBlock(),l.createElementBlock("span",ib,"🎯 Clique no elemento")):(l.openBlock(),l.createElementBlock("span",ab,"📋 Clique para copiar")),n[10]||(n[10]=l.createElementVNode("span",{class:"eli-fb-tooltip-esc"},[l.createElementVNode("kbd",null,"ESC"),l.createTextVNode(" cancela")],-1))])):l.createCommentVNode("",!0),e.modo==="comentando"&&e.elementoSelecionado?(l.openBlock(),l.createElementBlock("div",lb,[l.createElementVNode("div",cb,[n[11]||(n[11]=l.createElementVNode("h3",null,"💬 Adicionar Feedback",-1)),l.createElementVNode("button",{class:"eli-fb-painel-fechar",onClick:n[5]||(n[5]=(...a)=>e.cancelarSelecao&&e.cancelarSelecao(...a))},"✕")]),l.createElementVNode("div",sb,[l.createElementVNode("div",ub,[l.createElementVNode("div",null,[n[12]||(n[12]=l.createElementVNode("strong",null,"Seletor:",-1)),n[13]||(n[13]=l.createTextVNode()),l.createElementVNode("code",null,l.toDisplayString(e.elementoSelecionado.seletor),1)]),l.createElementVNode("div",null,[n[14]||(n[14]=l.createElementVNode("strong",null,"Tag:",-1)),n[15]||(n[15]=l.createTextVNode()),l.createElementVNode("code",null,"<"+l.toDisplayString(e.elementoSelecionado.tag)+">",1)]),e.elementoSelecionado.id?(l.openBlock(),l.createElementBlock("div",db,[n[16]||(n[16]=l.createElementVNode("strong",null,"ID:",-1)),n[17]||(n[17]=l.createTextVNode()),l.createElementVNode("code",null,l.toDisplayString(e.elementoSelecionado.id),1)])):l.createCommentVNode("",!0),e.elementoSelecionado.classes.length?(l.openBlock(),l.createElementBlock("div",mb,[n[18]||(n[18]=l.createElementVNode("strong",null,"Classes:",-1)),l.createElementVNode("code",null,l.toDisplayString(e.elementoSelecionado.classes.join(", ")),1)])):l.createCommentVNode("",!0),l.createElementVNode("div",null,[n[19]||(n[19]=l.createElementVNode("strong",null,"Caminho:",-1)),n[20]||(n[20]=l.createTextVNode()),l.createElementVNode("code",null,l.toDisplayString(e.elementoSelecionado.caminhoDom),1)]),e.elementoSelecionado.textoVisivel?(l.openBlock(),l.createElementBlock("div",fb,[n[21]||(n[21]=l.createElementVNode("strong",null,"Texto:",-1)),l.createTextVNode(' "'+l.toDisplayString(e.elementoSelecionado.textoVisivel)+'" ',1)])):l.createCommentVNode("",!0)]),l.withDirectives(l.createElementVNode("textarea",{ref:"textareaRef","onUpdate:modelValue":n[6]||(n[6]=a=>e.comentario=a),class:"eli-fb-textarea",placeholder:"Descreva o problema, sugestão ou observação...",onKeydown:n[7]||(n[7]=l.withKeys(l.withModifiers((...a)=>e.salvarFeedback&&e.salvarFeedback(...a),["ctrl"]),["enter"]))},null,544),[[l.vModelText,e.comentario]]),l.createElementVNode("div",pb,[l.createElementVNode("button",{class:"eli-fb-btn-cancelar",onClick:n[8]||(n[8]=(...a)=>e.cancelarSelecao&&e.cancelarSelecao(...a))}," Cancelar "),l.createElementVNode("button",{class:"eli-fb-btn-salvar",disabled:!e.comentario.trim(),onClick:n[9]||(n[9]=(...a)=>e.salvarFeedback&&e.salvarFeedback(...a))}," Salvar ✓ ",8,gb)])])])):l.createCommentVNode("",!0)])}const qi=W(Xh,[["render",vb]]),hb=l.defineComponent({name:"EliOlaMundo",components:{EliBotao:qn,EliBadge:At,EliEntradaTexto:Zt},setup(){const e=l.ref(""),n=l.ref(""),r=l.ref(""),i=l.ref(""),t=l.ref("");return{nome:e,email:i,documento:t,telefone:r,cep:n}}}),bb={class:"grid-example"};function $b(e,n,r,i,t,o){const a=l.resolveComponent("EliBadge"),c=l.resolveComponent("EliEntradaTexto"),u=l.resolveComponent("EliBotao");return l.openBlock(),l.createBlock(Sm.VContainer,null,{default:l.withCtx(()=>[l.createVNode(Ne.VCard,{class:"mx-auto",max_width:"400"},{default:l.withCtx(()=>[l.createVNode(Ne.VCardTitle,null,{default:l.withCtx(()=>[l.createVNode(a,{badge:"Novo","offset-x":"-15",location:"right center"},{default:l.withCtx(()=>[...n[5]||(n[5]=[l.createTextVNode(" Olá Mundo! ",-1)])]),_:1})]),_:1}),l.createVNode(Ne.VCardText,null,{default:l.withCtx(()=>[n[6]||(n[6]=l.createTextVNode(" Este é um componente de exemplo integrado com Vuetify. ",-1)),l.createElementVNode("div",bb,[l.createVNode(c,{value:e.nome,"onUpdate:value":n[0]||(n[0]=s=>e.nome=s),opcoes:{rotulo:"Nome",placeholder:"Digite o nome"},density:"compact"},null,8,["value"]),l.createVNode(c,{value:e.telefone,"onUpdate:value":n[1]||(n[1]=s=>e.telefone=s),opcoes:{rotulo:"Telefone",formato:"telefone"}},null,8,["value"]),l.createVNode(c,{value:e.cep,"onUpdate:value":n[2]||(n[2]=s=>e.cep=s),opcoes:{rotulo:"CEP",placeholder:"00000-000",formato:"cep"}},null,8,["value"]),l.createVNode(c,{value:e.documento,"onUpdate:value":n[3]||(n[3]=s=>e.documento=s),opcoes:{rotulo:"CPF / CNPJ",formato:"cpfCnpj"}},null,8,["value"]),l.createVNode(c,{value:e.email,"onUpdate:value":n[4]||(n[4]=s=>e.email=s),opcoes:{rotulo:"Email",placeholder:"email@exemplo.com",formato:"email"}},null,8,["value"])])]),_:1}),l.createVNode(Ne.VCardActions,null,{default:l.withCtx(()=>[l.createVNode(u,{color:"primary",variant:"elevated",block:""},{default:l.withCtx(()=>[...n[7]||(n[7]=[l.createTextVNode(" Botão Vuetify ",-1)])]),_:1})]),_:1})]),_:1})]),_:1})}const Gi=W(hb,[["render",$b]]);var Wi;const Ki=Object.freeze({status:"aborted"});function g(e,n,r){function i(c,u){if(c._zod||Object.defineProperty(c,"_zod",{value:{def:u,constr:a,traits:new Set},enumerable:!1}),c._zod.traits.has(e))return;c._zod.traits.add(e),n(c,u);const s=a.prototype,m=Object.keys(s);for(let d=0;d{var u,s;return r!=null&&r.Parent&&c instanceof r.Parent?!0:(s=(u=c==null?void 0:c._zod)==null?void 0:u.traits)==null?void 0:s.has(e)}}),Object.defineProperty(a,"name",{value:e}),a}const Hi=Symbol("zod_brand");class Ue extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Lt extends Error{constructor(n){super(`Encountered unidirectional transform during encode: ${n}`),this.name="ZodEncodeError"}}(Wi=globalThis).__zod_globalConfig??(Wi.__zod_globalConfig={});const tt=globalThis.__zod_globalConfig;function se(e){return e&&Object.assign(tt,e),tt}function _b(e){return e}function yb(e){return e}function kb(e){}function Sb(e){throw new Error("Unexpected value in exhaustive check")}function wb(e){}function rr(e){const n=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,t])=>n.indexOf(+i)===-1).map(([i,t])=>t)}function k(e,n="|"){return e.map(r=>P(r)).join(n)}function Rt(e,n){return typeof n=="bigint"?n.toString():n}function nt(e){return{get value(){{const n=e();return Object.defineProperty(this,"value",{value:n}),n}}}}function Ae(e){return e==null}function Jt(e){const n=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(n,r)}function Xi(e,n){const r=e/n,i=Math.round(r),t=Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-i)r==null?void 0:r[i],e):e}function Nb(e){const n=Object.keys(e),r=n.map(i=>e[i]);return Promise.all(r).then(i=>{const t={};for(let o=0;o{};function Fe(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const ea=nt(()=>{var e;if(tt.jitless||typeof navigator<"u"&&((e=navigator==null?void 0:navigator.userAgent)!=null&&e.includes("Cloudflare")))return!1;try{const n=Function;return new n(""),!0}catch{return!1}});function Pe(e){if(Fe(e)===!1)return!1;const n=e.constructor;if(n===void 0||typeof n!="function")return!0;const r=n.prototype;return!(Fe(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function qt(e){return Pe(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function Ob(e){let n=0;for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&n++;return n}const jb=e=>{const n=typeof e;switch(n){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":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${n}`)}},Gt=new Set(["string","number","symbol"]),ta=new Set(["string","number","bigint","boolean","symbol","undefined"]);function ze(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function be(e,n,r){const i=new e._zod.constr(n??e._zod.def);return(!n||r!=null&&r.parent)&&(i._zod.parent=e),i}function _(e){const n=e;if(!n)return{};if(typeof n=="string")return{error:()=>n};if((n==null?void 0:n.message)!==void 0){if((n==null?void 0:n.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");n.error=n.message}return delete n.message,typeof n.error=="string"?{...n,error:()=>n.error}:n}function xb(e){let n;return new Proxy({},{get(r,i,t){return n??(n=e()),Reflect.get(n,i,t)},set(r,i,t,o){return n??(n=e()),Reflect.set(n,i,t,o)},has(r,i){return n??(n=e()),Reflect.has(n,i)},deleteProperty(r,i){return n??(n=e()),Reflect.deleteProperty(n,i)},ownKeys(r){return n??(n=e()),Reflect.ownKeys(n)},getOwnPropertyDescriptor(r,i){return n??(n=e()),Reflect.getOwnPropertyDescriptor(n,i)},defineProperty(r,i,t){return n??(n=e()),Reflect.defineProperty(n,i,t)}})}function P(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function na(e){return Object.keys(e).filter(n=>e[n]._zod.optin==="optional"&&e[n]._zod.optout==="optional")}const ra={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]},oa={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function ia(e,n){const r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const o=we(e._zod.def,{get shape(){const a={};for(const c in n){if(!(c in r.shape))throw new Error(`Unrecognized key: "${c}"`);n[c]&&(a[c]=r.shape[c])}return De(this,"shape",a),a},checks:[]});return be(e,o)}function aa(e,n){const r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const o=we(e._zod.def,{get shape(){const a={...e._zod.def.shape};for(const c in n){if(!(c in r.shape))throw new Error(`Unrecognized key: "${c}"`);n[c]&&delete a[c]}return De(this,"shape",a),a},checks:[]});return be(e,o)}function la(e,n){if(!Pe(n))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0){const o=e._zod.def.shape;for(const a in n)if(Object.getOwnPropertyDescriptor(o,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const t=we(e._zod.def,{get shape(){const o={...e._zod.def.shape,...n};return De(this,"shape",o),o}});return be(e,t)}function ca(e,n){if(!Pe(n))throw new Error("Invalid input to safeExtend: expected a plain object");const r=we(e._zod.def,{get shape(){const i={...e._zod.def.shape,...n};return De(this,"shape",i),i}});return be(e,r)}function sa(e,n){var i;if((i=e._zod.def.checks)!=null&&i.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const r=we(e._zod.def,{get shape(){const t={...e._zod.def.shape,...n._zod.def.shape};return De(this,"shape",t),t},get catchall(){return n._zod.def.catchall},checks:n._zod.def.checks??[]});return be(e,r)}function ua(e,n,r){const t=n._zod.def.checks;if(t&&t.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const a=we(n._zod.def,{get shape(){const c=n._zod.def.shape,u={...c};if(r)for(const s in r){if(!(s in c))throw new Error(`Unrecognized key: "${s}"`);r[s]&&(u[s]=e?new e({type:"optional",innerType:c[s]}):c[s])}else for(const s in c)u[s]=e?new e({type:"optional",innerType:c[s]}):c[s];return De(this,"shape",u),u},checks:[]});return be(n,a)}function da(e,n,r){const i=we(n._zod.def,{get shape(){const t=n._zod.def.shape,o={...t};if(r)for(const a in r){if(!(a in o))throw new Error(`Unrecognized key: "${a}"`);r[a]&&(o[a]=new e({type:"nonoptional",innerType:t[a]}))}else for(const a in t)o[a]=new e({type:"nonoptional",innerType:t[a]});return De(this,"shape",o),o}});return be(n,i)}function Ve(e,n=0){var r;if(e.aborted===!0)return!0;for(let i=n;i{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function rt(e){return typeof e=="string"?e:e==null?void 0:e.message}function ge(e,n,r){var u,s,m,d,f,p;const i=e.message?e.message:rt((m=(s=(u=e.inst)==null?void 0:u._zod.def)==null?void 0:s.error)==null?void 0:m.call(s,e))??rt((d=n==null?void 0:n.error)==null?void 0:d.call(n,e))??rt((f=r.customError)==null?void 0:f.call(r,e))??rt((p=r.localeError)==null?void 0:p.call(r,e))??"Invalid input",{inst:t,continue:o,input:a,...c}=e;return c.path??(c.path=[]),c.message=i,n!=null&&n.reportInput&&(c.input=a),c}function Wt(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Kt(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function V(e){const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";const r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return n}function Le(...e){const[n,r,i]=e;return typeof n=="string"?{message:n,code:"custom",input:r,inst:i}:{...n}}function Tb(e){return Object.entries(e).filter(([n,r])=>Number.isNaN(Number.parseInt(n,10))).map(n=>n[1])}function fa(e){const n=atob(e),r=new Uint8Array(n.length);for(let i=0;in.toString(16).padStart(2,"0")).join("")}class Vb{constructor(...n){}}const ga=Object.freeze(Object.defineProperty({__proto__:null,BIGINT_FORMAT_RANGES:oa,Class:Vb,NUMBER_FORMAT_RANGES:ra,aborted:Ve,allowsEval:ea,assert:wb,assertEqual:_b,assertIs:kb,assertNever:Sb,assertNotEqual:yb,assignProp:De,base64ToUint8Array:fa,base64urlToUint8Array:Cb,cached:nt,captureStackTrace:ir,cleanEnum:Tb,cleanRegex:Jt,clone:be,cloneDef:zb,createTransparentProxy:xb,defineLazy:q,esc:or,escapeRegex:ze,explicitlyAborted:ma,extend:la,finalizeIssue:ge,floatSafeRemainder:Xi,getElementAtPath:Eb,getEnumValues:rr,getLengthableOrigin:Kt,getParsedType:jb,getSizableOrigin:Wt,hexToUint8Array:Ab,isObject:Fe,isPlainObject:Pe,issue:Le,joinValues:k,jsonStringifyReplacer:Rt,merge:sa,mergeDefs:we,normalizeParams:_,nullish:Ae,numKeys:Ob,objectClone:Ib,omit:aa,optionalKeys:na,parsedType:V,partial:ua,pick:ia,prefixIssues:$e,primitiveTypes:ta,promiseAllObject:Nb,propertyKeyTypes:Gt,randomString:Db,required:da,safeExtend:ca,shallowClone:qt,slugify:Qi,stringifyPrimitive:P,uint8ArrayToBase64:pa,uint8ArrayToBase64url:Ub,uint8ArrayToHex:Pb,unwrapMessage:rt},Symbol.toStringTag,{value:"Module"})),va=(e,n)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:n,enumerable:!1}),e.message=JSON.stringify(n,Rt,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},ar=g("$ZodError",va),ve=g("$ZodError",va,{Parent:Error});function lr(e,n=r=>r.message){const r={},i=[];for(const t of e.issues)t.path.length>0?(r[t.path[0]]=r[t.path[0]]||[],r[t.path[0]].push(n(t))):i.push(n(t));return{formErrors:i,fieldErrors:r}}function cr(e,n=r=>r.message){const r={_errors:[]},i=(t,o=[])=>{for(const a of t.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(c=>i({issues:c},[...o,...a.path]));else if(a.code==="invalid_key")i({issues:a.issues},[...o,...a.path]);else if(a.code==="invalid_element")i({issues:a.issues},[...o,...a.path]);else{const c=[...o,...a.path];if(c.length===0)r._errors.push(n(a));else{let u=r,s=0;for(;sr.message){const r={errors:[]},i=(t,o=[])=>{var a,c;for(const u of t.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(s=>i({issues:s},[...o,...u.path]));else if(u.code==="invalid_key")i({issues:u.issues},[...o,...u.path]);else if(u.code==="invalid_element")i({issues:u.issues},[...o,...u.path]);else{const s=[...o,...u.path];if(s.length===0){r.errors.push(n(u));continue}let m=r,d=0;for(;dtypeof i=="object"?i.key:i);for(const i of r)typeof i=="number"?n.push(`[${i}]`):typeof i=="symbol"?n.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?n.push(`[${JSON.stringify(i)}]`):(n.length&&n.push("."),n.push(i));return n.join("")}function $a(e){var i;const n=[],r=[...e.issues].sort((t,o)=>(t.path??[]).length-(o.path??[]).length);for(const t of r)n.push(`✖ ${t.message}`),(i=t.path)!=null&&i.length&&n.push(` → at ${ba(t.path)}`);return n.join(`
+`)}const ot=e=>(n,r,i,t)=>{const o=i?{...i,async:!1}:{async:!1},a=n._zod.run({value:r,issues:[]},o);if(a instanceof Promise)throw new Ue;if(a.issues.length){const c=new((t==null?void 0:t.Err)??e)(a.issues.map(u=>ge(u,o,se())));throw ir(c,t==null?void 0:t.callee),c}return a.value},sr=ot(ve),it=e=>async(n,r,i,t)=>{const o=i?{...i,async:!0}:{async:!0};let a=n._zod.run({value:r,issues:[]},o);if(a instanceof Promise&&(a=await a),a.issues.length){const c=new((t==null?void 0:t.Err)??e)(a.issues.map(u=>ge(u,o,se())));throw ir(c,t==null?void 0:t.callee),c}return a.value},ur=it(ve),at=e=>(n,r,i)=>{const t=i?{...i,async:!1}:{async:!1},o=n._zod.run({value:r,issues:[]},t);if(o instanceof Promise)throw new Ue;return o.issues.length?{success:!1,error:new(e??ar)(o.issues.map(a=>ge(a,t,se())))}:{success:!0,data:o.value}},_a=at(ve),lt=e=>async(n,r,i)=>{const t=i?{...i,async:!0}:{async:!0};let o=n._zod.run({value:r,issues:[]},t);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(a=>ge(a,t,se())))}:{success:!0,data:o.value}},ya=lt(ve),dr=e=>(n,r,i)=>{const t=i?{...i,direction:"backward"}:{direction:"backward"};return ot(e)(n,r,t)},Bb=dr(ve),mr=e=>(n,r,i)=>ot(e)(n,r,i),Zb=mr(ve),fr=e=>async(n,r,i)=>{const t=i?{...i,direction:"backward"}:{direction:"backward"};return it(e)(n,r,t)},Mb=fr(ve),pr=e=>async(n,r,i)=>it(e)(n,r,i),Fb=pr(ve),gr=e=>(n,r,i)=>{const t=i?{...i,direction:"backward"}:{direction:"backward"};return at(e)(n,r,t)},Lb=gr(ve),vr=e=>(n,r,i)=>at(e)(n,r,i),Rb=vr(ve),hr=e=>async(n,r,i)=>{const t=i?{...i,direction:"backward"}:{direction:"backward"};return lt(e)(n,r,t)},Jb=hr(ve),br=e=>async(n,r,i)=>lt(e)(n,r,i),qb=br(ve),ka=/^[cC][0-9a-z]{6,}$/,Sa=/^[0-9a-z]+$/,wa=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Ia=/^[0-9a-vA-V]{20}$/,za=/^[A-Za-z0-9]{27}$/,Ea=/^[a-zA-Z0-9_-]{21}$/,Na=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Gb=/^[-+]?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)?)??$/,Da=/^([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)$/,Wb=Re(4),Kb=Re(6),Hb=Re(7),Oa=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Xb=/^[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])?)*$/,Yb=/^(([^<>()\[\]\\.,;:\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,}))$/,ja=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Qb=ja,e$=/^[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])?)*$/,t$="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function xa(){return new RegExp(t$,"u")}const Ta=/^(?:(?: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])$/,Ca=/^(([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}|:))$/,Ua=e=>{const n=ze(e??":");return new RegExp(`^(?:[0-9A-F]{2}${n}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${n}){5}[0-9a-f]{2}$`)},Aa=/^((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])$/,Pa=/^(([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])$/,Va=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,$r=/^[A-Za-z0-9_-]*$/,Ba=/^(?=.{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])?)*\.?$/,Za=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,_r=/^https?$/,Ma=/^\+[1-9]\d{6,14}$/,Fa="(?:(?:\\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])))",La=new RegExp(`^${Fa}$`);function Ra(e){const n="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${n}`:e.precision===0?`${n}:[0-5]\\d`:`${n}:[0-5]\\d\\.\\d{${e.precision}}`:`${n}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Ja(e){return new RegExp(`^${Ra(e)}$`)}function qa(e){const n=Ra({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const i=`${n}(?:${r.join("|")})`;return new RegExp(`^${Fa}T(?:${i})$`)}const Ga=e=>{const n=e?`[\\s\\S]{${(e==null?void 0:e.minimum)??0},${(e==null?void 0:e.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${n}$`)},Wa=/^-?\d+n?$/,Ka=/^-?\d+$/,yr=/^-?\d+(?:\.\d+)?$/,Ha=/^(?:true|false)$/i,Xa=/^null$/i,Ya=/^undefined$/i,Qa=/^[^A-Z]*$/,el=/^[^a-z]*$/,tl=/^[0-9a-fA-F]*$/;function ct(e,n){return new RegExp(`^[A-Za-z0-9+/]{${e}}${n}$`)}function st(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}const kr=Object.freeze(Object.defineProperty({__proto__:null,base64:Va,base64url:$r,bigint:Wa,boolean:Ha,browserEmail:e$,cidrv4:Aa,cidrv6:Pa,cuid:ka,cuid2:Sa,date:La,datetime:qa,domain:Za,duration:Na,e164:Ma,email:Oa,emoji:xa,extendedDuration:Gb,guid:Da,hex:tl,hostname:Ba,html5Email:Xb,httpProtocol:_r,idnEmail:Qb,integer:Ka,ipv4:Ta,ipv6:Ca,ksuid:za,lowercase:Qa,mac:Ua,md5_base64:ct(22,"=="),md5_base64url:st(22),md5_hex:/^[0-9a-fA-F]{32}$/,nanoid:Ea,null:Xa,number:yr,rfc5322Email:Yb,sha1_base64:ct(27,"="),sha1_base64url:st(27),sha1_hex:/^[0-9a-fA-F]{40}$/,sha256_base64:ct(43,"="),sha256_base64url:st(43),sha256_hex:/^[0-9a-fA-F]{64}$/,sha384_base64:ct(64,""),sha384_base64url:st(64),sha384_hex:/^[0-9a-fA-F]{96}$/,sha512_base64:ct(86,"=="),sha512_base64url:st(86),sha512_hex:/^[0-9a-fA-F]{128}$/,string:Ga,time:Ja,ulid:wa,undefined:Ya,unicodeEmail:ja,uppercase:el,uuid:Re,uuid4:Wb,uuid6:Kb,uuid7:Hb,xid:Ia},Symbol.toStringTag,{value:"Module"})),te=g("$ZodCheck",(e,n)=>{var r;e._zod??(e._zod={}),e._zod.def=n,(r=e._zod).onattach??(r.onattach=[])}),nl={number:"number",bigint:"bigint",object:"date"},Sr=g("$ZodCheckLessThan",(e,n)=>{te.init(e,n);const r=nl[typeof n.value];e._zod.onattach.push(i=>{const t=i._zod.bag,o=(n.inclusive?t.maximum:t.exclusiveMaximum)??Number.POSITIVE_INFINITY;n.value{(n.inclusive?i.value<=n.value:i.value{te.init(e,n);const r=nl[typeof n.value];e._zod.onattach.push(i=>{const t=i._zod.bag,o=(n.inclusive?t.minimum:t.exclusiveMinimum)??Number.NEGATIVE_INFINITY;n.value>o&&(n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value)}),e._zod.check=i=>{(n.inclusive?i.value>=n.value:i.value>n.value)||i.issues.push({origin:r,code:"too_small",minimum:typeof n.value=="object"?n.value.getTime():n.value,input:i.value,inclusive:n.inclusive,inst:e,continue:!n.abort})}}),rl=g("$ZodCheckMultipleOf",(e,n)=>{te.init(e,n),e._zod.onattach.push(r=>{var i;(i=r._zod.bag).multipleOf??(i.multipleOf=n.value)}),e._zod.check=r=>{if(typeof r.value!=typeof n.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%n.value===BigInt(0):Xi(r.value,n.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:n.value,input:r.value,inst:e,continue:!n.abort})}}),ol=g("$ZodCheckNumberFormat",(e,n)=>{var a;te.init(e,n),n.format=n.format||"float64";const r=(a=n.format)==null?void 0:a.includes("int"),i=r?"int":"number",[t,o]=ra[n.format];e._zod.onattach.push(c=>{const u=c._zod.bag;u.format=n.format,u.minimum=t,u.maximum=o,r&&(u.pattern=Ka)}),e._zod.check=c=>{const u=c.value;if(r){if(!Number.isInteger(u)){c.issues.push({expected:i,format:n.format,code:"invalid_type",continue:!1,input:u,inst:e});return}if(!Number.isSafeInteger(u)){u>0?c.issues.push({input:u,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!n.abort}):c.issues.push({input:u,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!n.abort});return}}uo&&c.issues.push({origin:"number",input:u,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!n.abort})}}),il=g("$ZodCheckBigIntFormat",(e,n)=>{te.init(e,n);const[r,i]=oa[n.format];e._zod.onattach.push(t=>{const o=t._zod.bag;o.format=n.format,o.minimum=r,o.maximum=i}),e._zod.check=t=>{const o=t.value;oi&&t.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!n.abort})}}),al=g("$ZodCheckMaxSize",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ae(t)&&t.size!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag.maximum??Number.POSITIVE_INFINITY;n.maximum{const t=i.value;t.size<=n.maximum||i.issues.push({origin:Wt(t),code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),ll=g("$ZodCheckMinSize",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ae(t)&&t.size!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;n.minimum>t&&(i._zod.bag.minimum=n.minimum)}),e._zod.check=i=>{const t=i.value;t.size>=n.minimum||i.issues.push({origin:Wt(t),code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),cl=g("$ZodCheckSizeEquals",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ae(t)&&t.size!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag;t.minimum=n.size,t.maximum=n.size,t.size=n.size}),e._zod.check=i=>{const t=i.value,o=t.size;if(o===n.size)return;const a=o>n.size;i.issues.push({origin:Wt(t),...a?{code:"too_big",maximum:n.size}:{code:"too_small",minimum:n.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!n.abort})}}),sl=g("$ZodCheckMaxLength",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ae(t)&&t.length!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag.maximum??Number.POSITIVE_INFINITY;n.maximum{const t=i.value;if(t.length<=n.maximum)return;const a=Kt(t);i.issues.push({origin:a,code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),ul=g("$ZodCheckMinLength",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ae(t)&&t.length!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;n.minimum>t&&(i._zod.bag.minimum=n.minimum)}),e._zod.check=i=>{const t=i.value;if(t.length>=n.minimum)return;const a=Kt(t);i.issues.push({origin:a,code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),dl=g("$ZodCheckLengthEquals",(e,n)=>{var r;te.init(e,n),(r=e._zod.def).when??(r.when=i=>{const t=i.value;return!Ae(t)&&t.length!==void 0}),e._zod.onattach.push(i=>{const t=i._zod.bag;t.minimum=n.length,t.maximum=n.length,t.length=n.length}),e._zod.check=i=>{const t=i.value,o=t.length;if(o===n.length)return;const a=Kt(t),c=o>n.length;i.issues.push({origin:a,...c?{code:"too_big",maximum:n.length}:{code:"too_small",minimum:n.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!n.abort})}}),ut=g("$ZodCheckStringFormat",(e,n)=>{var r,i;te.init(e,n),e._zod.onattach.push(t=>{const o=t._zod.bag;o.format=n.format,n.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(n.pattern))}),n.pattern?(r=e._zod).check??(r.check=t=>{n.pattern.lastIndex=0,!n.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:n.format,input:t.value,...n.pattern?{pattern:n.pattern.toString()}:{},inst:e,continue:!n.abort})}):(i=e._zod).check??(i.check=()=>{})}),ml=g("$ZodCheckRegex",(e,n)=>{ut.init(e,n),e._zod.check=r=>{n.pattern.lastIndex=0,!n.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:n.pattern.toString(),inst:e,continue:!n.abort})}}),fl=g("$ZodCheckLowerCase",(e,n)=>{n.pattern??(n.pattern=Qa),ut.init(e,n)}),pl=g("$ZodCheckUpperCase",(e,n)=>{n.pattern??(n.pattern=el),ut.init(e,n)}),gl=g("$ZodCheckIncludes",(e,n)=>{te.init(e,n);const r=ze(n.includes),i=new RegExp(typeof n.position=="number"?`^.{${n.position}}${r}`:r);n.pattern=i,e._zod.onattach.push(t=>{const o=t._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(i)}),e._zod.check=t=>{t.value.includes(n.includes,n.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:n.includes,input:t.value,inst:e,continue:!n.abort})}}),vl=g("$ZodCheckStartsWith",(e,n)=>{te.init(e,n);const r=new RegExp(`^${ze(n.prefix)}.*`);n.pattern??(n.pattern=r),e._zod.onattach.push(i=>{const t=i._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=i=>{i.value.startsWith(n.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:n.prefix,input:i.value,inst:e,continue:!n.abort})}}),hl=g("$ZodCheckEndsWith",(e,n)=>{te.init(e,n);const r=new RegExp(`.*${ze(n.suffix)}$`);n.pattern??(n.pattern=r),e._zod.onattach.push(i=>{const t=i._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=i=>{i.value.endsWith(n.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:n.suffix,input:i.value,inst:e,continue:!n.abort})}});function bl(e,n,r){e.issues.length&&n.issues.push(...$e(r,e.issues))}const $l=g("$ZodCheckProperty",(e,n)=>{te.init(e,n),e._zod.check=r=>{const i=n.schema._zod.run({value:r.value[n.property],issues:[]},{});if(i instanceof Promise)return i.then(t=>bl(t,r,n.property));bl(i,r,n.property)}}),_l=g("$ZodCheckMimeType",(e,n)=>{te.init(e,n);const r=new Set(n.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=n.mime}),e._zod.check=i=>{r.has(i.value.type)||i.issues.push({code:"invalid_value",values:n.mime,input:i.value.type,inst:e,continue:!n.abort})}}),yl=g("$ZodCheckOverwrite",(e,n)=>{te.init(e,n),e._zod.check=r=>{r.value=n.tx(r.value)}});class kl{constructor(n=[]){this.content=[],this.indent=0,this&&(this.args=n)}indented(n){this.indent+=1,n(this),this.indent-=1}write(n){if(typeof n=="function"){n(this,{execution:"sync"}),n(this,{execution:"async"});return}const i=n.split(`
`).filter(a=>a),t=Math.min(...i.map(a=>a.length-a.trimStart().length)),o=i.map(a=>a.slice(t)).map(a=>" ".repeat(this.indent*2)+a);for(const a of o)this.content.push(a)}compile(){const n=Function,r=this==null?void 0:this.args,t=[...((this==null?void 0:this.content)??[""]).map(o=>` ${o}`)];return new n(...r,t.join(`
-`))}}const kl={major:4,minor:4,patch:3},R=g("$ZodType",(e,n)=>{var t;var r;e??(e={}),e._zod.def=n,e._zod.bag=e._zod.bag||{},e._zod.version=kl;const i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(const o of i)for(const a of o._zod.onattach)a(e);if(i.length===0)(r=e._zod).deferred??(r.deferred=[]),(t=e._zod.deferred)==null||t.push(()=>{e._zod.run=e._zod.parse});else{const o=(c,u,s)=>{let m=Pe(c),d;for(const f of u){if(f._zod.def.when){if(da(c)||!f._zod.def.when(c))continue}else if(m)continue;const p=c.issues.length,h=f._zod.check(c);if(h instanceof Promise&&(s==null?void 0:s.async)===!1)throw new xe;if(d||h instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await h,c.issues.length!==p&&(m||(m=Pe(c,p)))});else{if(c.issues.length===p)continue;m||(m=Pe(c,p))}}return d?d.then(()=>c):c},a=(c,u,s)=>{if(Pe(c))return c.aborted=!0,c;const m=o(u,i,s);if(m instanceof Promise){if(s.async===!1)throw new xe;return m.then(d=>e._zod.parse(d,s))}return e._zod.parse(m,s)};e._zod.run=(c,u)=>{if(u.skipChecks)return e._zod.parse(c,u);if(u.direction==="backward"){const m=e._zod.parse({value:c.value,issues:[]},{...u,skipChecks:!0});return m instanceof Promise?m.then(d=>a(d,c,u)):a(m,c,u)}const s=e._zod.parse(c,u);if(s instanceof Promise){if(u.async===!1)throw new xe;return s.then(m=>o(m,i,u))}return o(s,i,u)}}q(e,"~standard",()=>({validate:o=>{var a;try{const c=ba(e,o);return c.success?{value:c.data}:{issues:(a=c.error)==null?void 0:a.issues}}catch{return _a(e,o).then(u=>{var s;return u.success?{value:u.data}:{issues:(s=u.error)==null?void 0:s.issues}})}},vendor:"zod",version:1}))}),dt=g("$ZodString",(e,n)=>{var r;R.init(e,n),e._zod.pattern=[...((r=e==null?void 0:e._zod.bag)==null?void 0:r.patterns)??[]].pop()??qa(e._zod.bag),e._zod.parse=(i,t)=>{if(n.coerce)try{i.value=String(i.value)}catch{}return typeof i.value=="string"||i.issues.push({expected:"string",code:"invalid_type",input:i.value,inst:e}),i}}),Y=g("$ZodStringFormat",(e,n)=>{ut.init(e,n),dt.init(e,n)}),Sl=g("$ZodGUID",(e,n)=>{n.pattern??(n.pattern=Na),Y.init(e,n)}),wl=g("$ZodUUID",(e,n)=>{if(n.version){const i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[n.version];if(i===void 0)throw new Error(`Invalid UUID version: "${n.version}"`);n.pattern??(n.pattern=Re(i))}else n.pattern??(n.pattern=Re());Y.init(e,n)}),Il=g("$ZodEmail",(e,n)=>{n.pattern??(n.pattern=Da),Y.init(e,n)}),zl=g("$ZodURL",(e,n)=>{Y.init(e,n),e._zod.check=r=>{var i;try{const t=r.value.trim();if(!n.normalize&&((i=n.protocol)==null?void 0:i.source)===$r.source&&!/^https?:\/\//i.test(t)){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!n.abort});return}const o=new URL(t);n.hostname&&(n.hostname.lastIndex=0,n.hostname.test(o.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:n.hostname.source,input:r.value,inst:e,continue:!n.abort})),n.protocol&&(n.protocol.lastIndex=0,n.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:n.protocol.source,input:r.value,inst:e,continue:!n.abort})),n.normalize?r.value=o.href:r.value=t;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!n.abort})}}}),El=g("$ZodEmoji",(e,n)=>{n.pattern??(n.pattern=ja()),Y.init(e,n)}),Nl=g("$ZodNanoID",(e,n)=>{n.pattern??(n.pattern=za),Y.init(e,n)}),Dl=g("$ZodCUID",(e,n)=>{n.pattern??(n.pattern=ya),Y.init(e,n)}),Ol=g("$ZodCUID2",(e,n)=>{n.pattern??(n.pattern=ka),Y.init(e,n)}),jl=g("$ZodULID",(e,n)=>{n.pattern??(n.pattern=Sa),Y.init(e,n)}),Cl=g("$ZodXID",(e,n)=>{n.pattern??(n.pattern=wa),Y.init(e,n)}),Tl=g("$ZodKSUID",(e,n)=>{n.pattern??(n.pattern=Ia),Y.init(e,n)}),xl=g("$ZodISODateTime",(e,n)=>{n.pattern??(n.pattern=Ja(n)),Y.init(e,n)}),Ul=g("$ZodISODate",(e,n)=>{n.pattern??(n.pattern=Fa),Y.init(e,n)}),Al=g("$ZodISOTime",(e,n)=>{n.pattern??(n.pattern=Ra(n)),Y.init(e,n)}),Pl=g("$ZodISODuration",(e,n)=>{n.pattern??(n.pattern=Ea),Y.init(e,n)}),Vl=g("$ZodIPv4",(e,n)=>{n.pattern??(n.pattern=Ca),Y.init(e,n),e._zod.bag.format="ipv4"}),Bl=g("$ZodIPv6",(e,n)=>{n.pattern??(n.pattern=Ta),Y.init(e,n),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!n.abort})}}}),Zl=g("$ZodMAC",(e,n)=>{n.pattern??(n.pattern=xa(n.delimiter)),Y.init(e,n),e._zod.bag.format="mac"}),Ml=g("$ZodCIDRv4",(e,n)=>{n.pattern??(n.pattern=Ua),Y.init(e,n)}),Fl=g("$ZodCIDRv6",(e,n)=>{n.pattern??(n.pattern=Aa),Y.init(e,n),e._zod.check=r=>{const i=r.value.split("/");try{if(i.length!==2)throw new Error;const[t,o]=i;if(!o)throw new Error;const a=Number(o);if(`${a}`!==o)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${t}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!n.abort})}}});function Sr(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const Ll=g("$ZodBase64",(e,n)=>{n.pattern??(n.pattern=Pa),Y.init(e,n),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{Sr(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!n.abort})}});function Rl(e){if(!hr.test(e))return!1;const n=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),r=n.padEnd(Math.ceil(n.length/4)*4,"=");return Sr(r)}const Jl=g("$ZodBase64URL",(e,n)=>{n.pattern??(n.pattern=hr),Y.init(e,n),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{Rl(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!n.abort})}}),ql=g("$ZodE164",(e,n)=>{n.pattern??(n.pattern=Za),Y.init(e,n)});function Gl(e,n=null){try{const r=e.split(".");if(r.length!==3)return!1;const[i]=r;if(!i)return!1;const t=JSON.parse(atob(i));return!("typ"in t&&(t==null?void 0:t.typ)!=="JWT"||!t.alg||n&&(!("alg"in t)||t.alg!==n))}catch{return!1}}const Kl=g("$ZodJWT",(e,n)=>{Y.init(e,n),e._zod.check=r=>{Gl(r.value,n.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!n.abort})}}),Wl=g("$ZodCustomStringFormat",(e,n)=>{Y.init(e,n),e._zod.check=r=>{n.fn(r.value)||r.issues.push({code:"invalid_format",format:n.format,input:r.value,inst:e,continue:!n.abort})}}),wr=g("$ZodNumber",(e,n)=>{R.init(e,n),e._zod.pattern=e._zod.bag.pattern??br,e._zod.parse=(r,i)=>{if(n.coerce)try{r.value=Number(r.value)}catch{}const t=r.value;if(typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t))return r;const o=typeof t=="number"?Number.isNaN(t)?"NaN":Number.isFinite(t)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:t,inst:e,...o?{received:o}:{}}),r}}),Xl=g("$ZodNumberFormat",(e,n)=>{rl.init(e,n),wr.init(e,n)}),Ir=g("$ZodBoolean",(e,n)=>{R.init(e,n),e._zod.pattern=Wa,e._zod.parse=(r,i)=>{if(n.coerce)try{r.value=!!r.value}catch{}const t=r.value;return typeof t=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:t,inst:e}),r}}),zr=g("$ZodBigInt",(e,n)=>{R.init(e,n),e._zod.pattern=Ga,e._zod.parse=(r,i)=>{if(n.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),Hl=g("$ZodBigIntFormat",(e,n)=>{ol.init(e,n),zr.init(e,n)}),Yl=g("$ZodSymbol",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;return typeof t=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:t,inst:e}),r}}),Ql=g("$ZodUndefined",(e,n)=>{R.init(e,n),e._zod.pattern=Ha,e._zod.values=new Set([void 0]),e._zod.parse=(r,i)=>{const t=r.value;return typeof t>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:t,inst:e}),r}}),ec=g("$ZodNull",(e,n)=>{R.init(e,n),e._zod.pattern=Xa,e._zod.values=new Set([null]),e._zod.parse=(r,i)=>{const t=r.value;return t===null||r.issues.push({expected:"null",code:"invalid_type",input:t,inst:e}),r}}),tc=g("$ZodAny",(e,n)=>{R.init(e,n),e._zod.parse=r=>r}),nc=g("$ZodUnknown",(e,n)=>{R.init(e,n),e._zod.parse=r=>r}),rc=g("$ZodNever",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),oc=g("$ZodVoid",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;return typeof t>"u"||r.issues.push({expected:"void",code:"invalid_type",input:t,inst:e}),r}}),ic=g("$ZodDate",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{if(n.coerce)try{r.value=new Date(r.value)}catch{}const t=r.value,o=t instanceof Date;return o&&!Number.isNaN(t.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:t,...o?{received:"Invalid Date"}:{},inst:e}),r}});function ac(e,n,r){e.issues.length&&n.issues.push(...be(r,e.issues)),n.value[r]=e.value}const lc=g("$ZodArray",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;if(!Array.isArray(t))return r.issues.push({expected:"array",code:"invalid_type",input:t,inst:e}),r;r.value=Array(t.length);const o=[];for(let a=0;aac(s,r,a))):ac(u,r,a)}return o.length?Promise.all(o).then(()=>r):r}});function Wt(e,n,r,i,t,o){const a=r in i;if(e.issues.length){if(t&&o&&!a)return;n.issues.push(...be(r,e.issues))}if(!a&&!t){e.issues.length||n.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}e.value===void 0?a&&(n.value[r]=void 0):n.value[r]=e.value}function cc(e){var i,t,o,a;const n=Object.keys(e.shape);for(const c of n)if(!((a=(o=(t=(i=e.shape)==null?void 0:i[c])==null?void 0:t._zod)==null?void 0:o.traits)!=null&&a.has("$ZodType")))throw new Error(`Invalid element at key "${c}": expected a Zod schema`);const r=ta(e.shape);return{...e,keys:n,keySet:new Set(n),numKeys:n.length,optionalKeys:new Set(r)}}function sc(e,n,r,i,t,o){const a=[],c=t.keySet,u=t.catchall._zod,s=u.def.type,m=u.optin==="optional",d=u.optout==="optional";for(const f in n){if(f==="__proto__"||c.has(f))continue;if(s==="never"){a.push(f);continue}const p=u.run({value:n[f],issues:[]},i);p instanceof Promise?e.push(p.then(h=>Wt(h,r,f,n,m,d))):Wt(p,r,f,n,m,d)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:n,inst:o}),e.length?Promise.all(e).then(()=>r):r}const uc=g("$ZodObject",(e,n)=>{R.init(e,n);const r=Object.getOwnPropertyDescriptor(n,"shape");if(!(r!=null&&r.get)){const c=n.shape;Object.defineProperty(n,"shape",{get:()=>{const u={...c};return Object.defineProperty(n,"shape",{value:u}),u}})}const i=nt(()=>cc(n));q(e._zod,"propValues",()=>{const c=n.shape,u={};for(const s in c){const m=c[s]._zod;if(m.values){u[s]??(u[s]=new Set);for(const d of m.values)u[s].add(d)}}return u});const t=Fe,o=n.catchall;let a;e._zod.parse=(c,u)=>{a??(a=i.value);const s=c.value;if(!t(s))return c.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),c;c.value={};const m=[],d=a.shape;for(const f of a.keys){const p=d[f],h=p._zod.optin==="optional",v=p._zod.optout==="optional",D=p._zod.run({value:s[f],issues:[]},u);D instanceof Promise?m.push(D.then(z=>Wt(z,c,f,s,h,v))):Wt(D,c,f,s,h,v)}return o?sc(m,s,c,u,i.value,e):m.length?Promise.all(m).then(()=>c):c}}),dc=g("$ZodObjectJIT",(e,n)=>{uc.init(e,n);const r=e._zod.parse,i=nt(()=>cc(n)),t=f=>{var x,T;const p=new yl(["shape","payload","ctx"]),h=i.value,v=U=>{const $=nr(U);return`shape[${$}]._zod.run({ value: input[${$}], issues: [] }, ctx)`};p.write("const input = payload.value;");const D=Object.create(null);let z=0;for(const U of h.keys)D[U]=`key_${z++}`;p.write("const newResult = {};");for(const U of h.keys){const $=D[U],b=nr(U),k=f[U],B=((x=k==null?void 0:k._zod)==null?void 0:x.optin)==="optional",w=((T=k==null?void 0:k._zod)==null?void 0:T.optout)==="optional";p.write(`const ${$} = ${v(U)};`),B&&w?p.write(`
- if (${$}.issues.length) {
- if (${b} in input) {
- payload.issues = payload.issues.concat(${$}.issues.map(iss => ({
+`))}}const Sl={major:4,minor:4,patch:3},R=g("$ZodType",(e,n)=>{var t;var r;e??(e={}),e._zod.def=n,e._zod.bag=e._zod.bag||{},e._zod.version=Sl;const i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(const o of i)for(const a of o._zod.onattach)a(e);if(i.length===0)(r=e._zod).deferred??(r.deferred=[]),(t=e._zod.deferred)==null||t.push(()=>{e._zod.run=e._zod.parse});else{const o=(c,u,s)=>{let m=Ve(c),d;for(const f of u){if(f._zod.def.when){if(ma(c)||!f._zod.def.when(c))continue}else if(m)continue;const p=c.issues.length,h=f._zod.check(c);if(h instanceof Promise&&(s==null?void 0:s.async)===!1)throw new Ue;if(d||h instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await h,c.issues.length!==p&&(m||(m=Ve(c,p)))});else{if(c.issues.length===p)continue;m||(m=Ve(c,p))}}return d?d.then(()=>c):c},a=(c,u,s)=>{if(Ve(c))return c.aborted=!0,c;const m=o(u,i,s);if(m instanceof Promise){if(s.async===!1)throw new Ue;return m.then(d=>e._zod.parse(d,s))}return e._zod.parse(m,s)};e._zod.run=(c,u)=>{if(u.skipChecks)return e._zod.parse(c,u);if(u.direction==="backward"){const m=e._zod.parse({value:c.value,issues:[]},{...u,skipChecks:!0});return m instanceof Promise?m.then(d=>a(d,c,u)):a(m,c,u)}const s=e._zod.parse(c,u);if(s instanceof Promise){if(u.async===!1)throw new Ue;return s.then(m=>o(m,i,u))}return o(s,i,u)}}q(e,"~standard",()=>({validate:o=>{var a;try{const c=_a(e,o);return c.success?{value:c.data}:{issues:(a=c.error)==null?void 0:a.issues}}catch{return ya(e,o).then(u=>{var s;return u.success?{value:u.data}:{issues:(s=u.error)==null?void 0:s.issues}})}},vendor:"zod",version:1}))}),dt=g("$ZodString",(e,n)=>{var r;R.init(e,n),e._zod.pattern=[...((r=e==null?void 0:e._zod.bag)==null?void 0:r.patterns)??[]].pop()??Ga(e._zod.bag),e._zod.parse=(i,t)=>{if(n.coerce)try{i.value=String(i.value)}catch{}return typeof i.value=="string"||i.issues.push({expected:"string",code:"invalid_type",input:i.value,inst:e}),i}}),Y=g("$ZodStringFormat",(e,n)=>{ut.init(e,n),dt.init(e,n)}),wl=g("$ZodGUID",(e,n)=>{n.pattern??(n.pattern=Da),Y.init(e,n)}),Il=g("$ZodUUID",(e,n)=>{if(n.version){const i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[n.version];if(i===void 0)throw new Error(`Invalid UUID version: "${n.version}"`);n.pattern??(n.pattern=Re(i))}else n.pattern??(n.pattern=Re());Y.init(e,n)}),zl=g("$ZodEmail",(e,n)=>{n.pattern??(n.pattern=Oa),Y.init(e,n)}),El=g("$ZodURL",(e,n)=>{Y.init(e,n),e._zod.check=r=>{var i;try{const t=r.value.trim();if(!n.normalize&&((i=n.protocol)==null?void 0:i.source)===_r.source&&!/^https?:\/\//i.test(t)){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!n.abort});return}const o=new URL(t);n.hostname&&(n.hostname.lastIndex=0,n.hostname.test(o.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:n.hostname.source,input:r.value,inst:e,continue:!n.abort})),n.protocol&&(n.protocol.lastIndex=0,n.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:n.protocol.source,input:r.value,inst:e,continue:!n.abort})),n.normalize?r.value=o.href:r.value=t;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!n.abort})}}}),Nl=g("$ZodEmoji",(e,n)=>{n.pattern??(n.pattern=xa()),Y.init(e,n)}),Dl=g("$ZodNanoID",(e,n)=>{n.pattern??(n.pattern=Ea),Y.init(e,n)}),Ol=g("$ZodCUID",(e,n)=>{n.pattern??(n.pattern=ka),Y.init(e,n)}),jl=g("$ZodCUID2",(e,n)=>{n.pattern??(n.pattern=Sa),Y.init(e,n)}),xl=g("$ZodULID",(e,n)=>{n.pattern??(n.pattern=wa),Y.init(e,n)}),Tl=g("$ZodXID",(e,n)=>{n.pattern??(n.pattern=Ia),Y.init(e,n)}),Cl=g("$ZodKSUID",(e,n)=>{n.pattern??(n.pattern=za),Y.init(e,n)}),Ul=g("$ZodISODateTime",(e,n)=>{n.pattern??(n.pattern=qa(n)),Y.init(e,n)}),Al=g("$ZodISODate",(e,n)=>{n.pattern??(n.pattern=La),Y.init(e,n)}),Pl=g("$ZodISOTime",(e,n)=>{n.pattern??(n.pattern=Ja(n)),Y.init(e,n)}),Vl=g("$ZodISODuration",(e,n)=>{n.pattern??(n.pattern=Na),Y.init(e,n)}),Bl=g("$ZodIPv4",(e,n)=>{n.pattern??(n.pattern=Ta),Y.init(e,n),e._zod.bag.format="ipv4"}),Zl=g("$ZodIPv6",(e,n)=>{n.pattern??(n.pattern=Ca),Y.init(e,n),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!n.abort})}}}),Ml=g("$ZodMAC",(e,n)=>{n.pattern??(n.pattern=Ua(n.delimiter)),Y.init(e,n),e._zod.bag.format="mac"}),Fl=g("$ZodCIDRv4",(e,n)=>{n.pattern??(n.pattern=Aa),Y.init(e,n)}),Ll=g("$ZodCIDRv6",(e,n)=>{n.pattern??(n.pattern=Pa),Y.init(e,n),e._zod.check=r=>{const i=r.value.split("/");try{if(i.length!==2)throw new Error;const[t,o]=i;if(!o)throw new Error;const a=Number(o);if(`${a}`!==o)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${t}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!n.abort})}}});function Ir(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const Rl=g("$ZodBase64",(e,n)=>{n.pattern??(n.pattern=Va),Y.init(e,n),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{Ir(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!n.abort})}});function Jl(e){if(!$r.test(e))return!1;const n=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),r=n.padEnd(Math.ceil(n.length/4)*4,"=");return Ir(r)}const ql=g("$ZodBase64URL",(e,n)=>{n.pattern??(n.pattern=$r),Y.init(e,n),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{Jl(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!n.abort})}}),Gl=g("$ZodE164",(e,n)=>{n.pattern??(n.pattern=Ma),Y.init(e,n)});function Wl(e,n=null){try{const r=e.split(".");if(r.length!==3)return!1;const[i]=r;if(!i)return!1;const t=JSON.parse(atob(i));return!("typ"in t&&(t==null?void 0:t.typ)!=="JWT"||!t.alg||n&&(!("alg"in t)||t.alg!==n))}catch{return!1}}const Kl=g("$ZodJWT",(e,n)=>{Y.init(e,n),e._zod.check=r=>{Wl(r.value,n.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!n.abort})}}),Hl=g("$ZodCustomStringFormat",(e,n)=>{Y.init(e,n),e._zod.check=r=>{n.fn(r.value)||r.issues.push({code:"invalid_format",format:n.format,input:r.value,inst:e,continue:!n.abort})}}),zr=g("$ZodNumber",(e,n)=>{R.init(e,n),e._zod.pattern=e._zod.bag.pattern??yr,e._zod.parse=(r,i)=>{if(n.coerce)try{r.value=Number(r.value)}catch{}const t=r.value;if(typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t))return r;const o=typeof t=="number"?Number.isNaN(t)?"NaN":Number.isFinite(t)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:t,inst:e,...o?{received:o}:{}}),r}}),Xl=g("$ZodNumberFormat",(e,n)=>{ol.init(e,n),zr.init(e,n)}),Er=g("$ZodBoolean",(e,n)=>{R.init(e,n),e._zod.pattern=Ha,e._zod.parse=(r,i)=>{if(n.coerce)try{r.value=!!r.value}catch{}const t=r.value;return typeof t=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:t,inst:e}),r}}),Nr=g("$ZodBigInt",(e,n)=>{R.init(e,n),e._zod.pattern=Wa,e._zod.parse=(r,i)=>{if(n.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),Yl=g("$ZodBigIntFormat",(e,n)=>{il.init(e,n),Nr.init(e,n)}),Ql=g("$ZodSymbol",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;return typeof t=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:t,inst:e}),r}}),ec=g("$ZodUndefined",(e,n)=>{R.init(e,n),e._zod.pattern=Ya,e._zod.values=new Set([void 0]),e._zod.parse=(r,i)=>{const t=r.value;return typeof t>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:t,inst:e}),r}}),tc=g("$ZodNull",(e,n)=>{R.init(e,n),e._zod.pattern=Xa,e._zod.values=new Set([null]),e._zod.parse=(r,i)=>{const t=r.value;return t===null||r.issues.push({expected:"null",code:"invalid_type",input:t,inst:e}),r}}),nc=g("$ZodAny",(e,n)=>{R.init(e,n),e._zod.parse=r=>r}),rc=g("$ZodUnknown",(e,n)=>{R.init(e,n),e._zod.parse=r=>r}),oc=g("$ZodNever",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),ic=g("$ZodVoid",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;return typeof t>"u"||r.issues.push({expected:"void",code:"invalid_type",input:t,inst:e}),r}}),ac=g("$ZodDate",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{if(n.coerce)try{r.value=new Date(r.value)}catch{}const t=r.value,o=t instanceof Date;return o&&!Number.isNaN(t.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:t,...o?{received:"Invalid Date"}:{},inst:e}),r}});function lc(e,n,r){e.issues.length&&n.issues.push(...$e(r,e.issues)),n.value[r]=e.value}const cc=g("$ZodArray",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;if(!Array.isArray(t))return r.issues.push({expected:"array",code:"invalid_type",input:t,inst:e}),r;r.value=Array(t.length);const o=[];for(let a=0;alc(s,r,a))):lc(u,r,a)}return o.length?Promise.all(o).then(()=>r):r}});function Ht(e,n,r,i,t,o){const a=r in i;if(e.issues.length){if(t&&o&&!a)return;n.issues.push(...$e(r,e.issues))}if(!a&&!t){e.issues.length||n.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}e.value===void 0?a&&(n.value[r]=void 0):n.value[r]=e.value}function sc(e){var i,t,o,a;const n=Object.keys(e.shape);for(const c of n)if(!((a=(o=(t=(i=e.shape)==null?void 0:i[c])==null?void 0:t._zod)==null?void 0:o.traits)!=null&&a.has("$ZodType")))throw new Error(`Invalid element at key "${c}": expected a Zod schema`);const r=na(e.shape);return{...e,keys:n,keySet:new Set(n),numKeys:n.length,optionalKeys:new Set(r)}}function uc(e,n,r,i,t,o){const a=[],c=t.keySet,u=t.catchall._zod,s=u.def.type,m=u.optin==="optional",d=u.optout==="optional";for(const f in n){if(f==="__proto__"||c.has(f))continue;if(s==="never"){a.push(f);continue}const p=u.run({value:n[f],issues:[]},i);p instanceof Promise?e.push(p.then(h=>Ht(h,r,f,n,m,d))):Ht(p,r,f,n,m,d)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:n,inst:o}),e.length?Promise.all(e).then(()=>r):r}const dc=g("$ZodObject",(e,n)=>{R.init(e,n);const r=Object.getOwnPropertyDescriptor(n,"shape");if(!(r!=null&&r.get)){const c=n.shape;Object.defineProperty(n,"shape",{get:()=>{const u={...c};return Object.defineProperty(n,"shape",{value:u}),u}})}const i=nt(()=>sc(n));q(e._zod,"propValues",()=>{const c=n.shape,u={};for(const s in c){const m=c[s]._zod;if(m.values){u[s]??(u[s]=new Set);for(const d of m.values)u[s].add(d)}}return u});const t=Fe,o=n.catchall;let a;e._zod.parse=(c,u)=>{a??(a=i.value);const s=c.value;if(!t(s))return c.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),c;c.value={};const m=[],d=a.shape;for(const f of a.keys){const p=d[f],h=p._zod.optin==="optional",v=p._zod.optout==="optional",D=p._zod.run({value:s[f],issues:[]},u);D instanceof Promise?m.push(D.then(I=>Ht(I,c,f,s,h,v))):Ht(D,c,f,s,h,v)}return o?uc(m,s,c,u,i.value,e):m.length?Promise.all(m).then(()=>c):c}}),mc=g("$ZodObjectJIT",(e,n)=>{dc.init(e,n);const r=e._zod.parse,i=nt(()=>sc(n)),t=f=>{var C,T;const p=new kl(["shape","payload","ctx"]),h=i.value,v=U=>{const b=or(U);return`shape[${b}]._zod.run({ value: input[${b}], issues: [] }, ctx)`};p.write("const input = payload.value;");const D=Object.create(null);let I=0;for(const U of h.keys)D[U]=`key_${I++}`;p.write("const newResult = {};");for(const U of h.keys){const b=D[U],$=or(U),y=f[U],B=((C=y==null?void 0:y._zod)==null?void 0:C.optin)==="optional",w=((T=y==null?void 0:y._zod)==null?void 0:T.optout)==="optional";p.write(`const ${b} = ${v(U)};`),B&&w?p.write(`
+ if (${b}.issues.length) {
+ if (${$} in input) {
+ payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
...iss,
- path: iss.path ? [${b}, ...iss.path] : [${b}]
+ path: iss.path ? [${$}, ...iss.path] : [${$}]
})));
}
}
- if (${$}.value === undefined) {
- if (${b} in input) {
- newResult[${b}] = undefined;
+ if (${b}.value === undefined) {
+ if (${$} in input) {
+ newResult[${$}] = undefined;
}
} else {
- newResult[${b}] = ${$}.value;
+ newResult[${$}] = ${b}.value;
}
`):B?p.write(`
- if (${$}.issues.length) {
- payload.issues = payload.issues.concat(${$}.issues.map(iss => ({
+ if (${b}.issues.length) {
+ payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
...iss,
- path: iss.path ? [${b}, ...iss.path] : [${b}]
+ path: iss.path ? [${$}, ...iss.path] : [${$}]
})));
}
- if (${$}.value === undefined) {
- if (${b} in input) {
- newResult[${b}] = undefined;
+ if (${b}.value === undefined) {
+ if (${$} in input) {
+ newResult[${$}] = undefined;
}
} else {
- newResult[${b}] = ${$}.value;
+ newResult[${$}] = ${b}.value;
}
`):p.write(`
- const ${$}_present = ${b} in input;
- if (${$}.issues.length) {
- payload.issues = payload.issues.concat(${$}.issues.map(iss => ({
+ const ${b}_present = ${$} in input;
+ if (${b}.issues.length) {
+ payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
...iss,
- path: iss.path ? [${b}, ...iss.path] : [${b}]
+ path: iss.path ? [${$}, ...iss.path] : [${$}]
})));
}
- if (!${$}_present && !${$}.issues.length) {
+ if (!${b}_present && !${b}.issues.length) {
payload.issues.push({
code: "invalid_type",
expected: "nonoptional",
input: undefined,
- path: [${b}]
+ path: [${$}]
});
}
- if (${$}_present) {
- if (${$}.value === undefined) {
- newResult[${b}] = undefined;
+ if (${b}_present) {
+ if (${b}.value === undefined) {
+ newResult[${$}] = undefined;
} else {
- newResult[${b}] = ${$}.value;
+ newResult[${$}] = ${b}.value;
}
}
- `)}p.write("payload.value = newResult;"),p.write("return payload;");const S=p.compile();return(U,$)=>S(f,U,$)};let o;const a=Fe,c=!tt.jitless,s=c&&Qi.value,m=n.catchall;let d;e._zod.parse=(f,p)=>{d??(d=i.value);const h=f.value;return a(h)?c&&s&&(p==null?void 0:p.async)===!1&&p.jitless!==!0?(o||(o=t(n.shape)),f=o(f,p),m?sc([],h,f,p,d,e):f):r(f,p):(f.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),f)}});function mc(e,n,r,i){for(const o of e)if(o.issues.length===0)return n.value=o.value,n;const t=e.filter(o=>!Pe(o));return t.length===1?(n.value=t[0].value,t[0]):(n.issues.push({code:"invalid_union",input:n.value,inst:r,errors:e.map(o=>o.issues.map(a=>pe(a,i,se())))}),n)}const Xt=g("$ZodUnion",(e,n)=>{R.init(e,n),q(e._zod,"optin",()=>n.options.some(i=>i._zod.optin==="optional")?"optional":void 0),q(e._zod,"optout",()=>n.options.some(i=>i._zod.optout==="optional")?"optional":void 0),q(e._zod,"values",()=>{if(n.options.every(i=>i._zod.values))return new Set(n.options.flatMap(i=>Array.from(i._zod.values)))}),q(e._zod,"pattern",()=>{if(n.options.every(i=>i._zod.pattern)){const i=n.options.map(t=>t._zod.pattern);return new RegExp(`^(${i.map(t=>Rt(t.source)).join("|")})$`)}});const r=n.options.length===1?n.options[0]._zod.run:null;e._zod.parse=(i,t)=>{if(r)return r(i,t);let o=!1;const a=[];for(const c of n.options){const u=c._zod.run({value:i.value,issues:[]},t);if(u instanceof Promise)a.push(u),o=!0;else{if(u.issues.length===0)return u;a.push(u)}}return o?Promise.all(a).then(c=>mc(c,i,e,t)):mc(a,i,e,t)}});function fc(e,n,r,i){const t=e.filter(o=>o.issues.length===0);return t.length===1?(n.value=t[0].value,n):(t.length===0?n.issues.push({code:"invalid_union",input:n.value,inst:r,errors:e.map(o=>o.issues.map(a=>pe(a,i,se())))}):n.issues.push({code:"invalid_union",input:n.value,inst:r,errors:[],inclusive:!1}),n)}const pc=g("$ZodXor",(e,n)=>{Xt.init(e,n),n.inclusive=!1;const r=n.options.length===1?n.options[0]._zod.run:null;e._zod.parse=(i,t)=>{if(r)return r(i,t);let o=!1;const a=[];for(const c of n.options){const u=c._zod.run({value:i.value,issues:[]},t);u instanceof Promise?(a.push(u),o=!0):a.push(u)}return o?Promise.all(a).then(c=>fc(c,i,e,t)):fc(a,i,e,t)}}),gc=g("$ZodDiscriminatedUnion",(e,n)=>{n.inclusive=!1,Xt.init(e,n);const r=e._zod.parse;q(e._zod,"propValues",()=>{const t={};for(const o of n.options){const a=o._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(o)}"`);for(const[c,u]of Object.entries(a)){t[c]||(t[c]=new Set);for(const s of u)t[c].add(s)}}return t});const i=nt(()=>{var a;const t=n.options,o=new Map;for(const c of t){const u=(a=c._zod.propValues)==null?void 0:a[n.discriminator];if(!u||u.size===0)throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(c)}"`);for(const s of u){if(o.has(s))throw new Error(`Duplicate discriminator value "${String(s)}"`);o.set(s,c)}}return o});e._zod.parse=(t,o)=>{const a=t.value;if(!Fe(a))return t.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),t;const c=i.value.get(a==null?void 0:a[n.discriminator]);return c?c._zod.run(t,o):n.unionFallback||o.direction==="backward"?r(t,o):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:n.discriminator,options:Array.from(i.value.keys()),input:a,path:[n.discriminator],inst:e}),t)}}),vc=g("$ZodIntersection",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value,o=n.left._zod.run({value:t,issues:[]},i),a=n.right._zod.run({value:t,issues:[]},i);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([u,s])=>hc(r,u,s)):hc(r,o,a)}});function Er(e,n){if(e===n)return{valid:!0,data:e};if(e instanceof Date&&n instanceof Date&&+e==+n)return{valid:!0,data:e};if(Ae(e)&&Ae(n)){const r=Object.keys(n),i=Object.keys(e).filter(o=>r.indexOf(o)!==-1),t={...e,...n};for(const o of i){const a=Er(e[o],n[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};t[o]=a.data}return{valid:!0,data:t}}if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let i=0;ic.l&&c.r).map(([c])=>c);if(o.length&&t&&e.issues.push({...t,keys:o}),Pe(e))return e;const a=Er(n.value,r.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}const Nr=g("$ZodTuple",(e,n)=>{R.init(e,n);const r=n.items;e._zod.parse=(i,t)=>{const o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];const a=[],c=$c(r,"optin"),u=$c(r,"optout");if(!n.rest){if(o.lengthr.length&&i.issues.push({code:"too_big",maximum:r.length,inclusive:!0,input:o,inst:e,origin:"array"})}const s=new Array(r.length);for(let m=0;m{s[m]=f})):s[m]=d}if(n.rest){let m=r.length-1;const d=o.slice(r.length);for(const f of d){m++;const p=n.rest._zod.run({value:f,issues:[]},t);p instanceof Promise?a.push(p.then(h=>bc(h,i,m))):bc(p,i,m)}}return a.length?Promise.all(a).then(()=>_c(s,i,r,o,u)):_c(s,i,r,o,u)}});function $c(e,n){for(let r=e.length-1;r>=0;r--)if(e[r]._zod[n]!=="optional")return r+1;return 0}function bc(e,n,r){e.issues.length&&n.issues.push(...be(r,e.issues)),n.value[r]=e.value}function _c(e,n,r,i,t){for(let o=0;o=t){n.value.length=o;break}n.issues.push(...be(o,a.issues))}n.value[o]=a.value}for(let o=n.value.length-1;o>=i.length&&(r[o]._zod.optout==="optional"&&n.value[o]===void 0);o--)n.value.length=o;return n}const yc=g("$ZodRecord",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;if(!Ae(t))return r.issues.push({expected:"record",code:"invalid_type",input:t,inst:e}),r;const o=[],a=n.keyType._zod.values;if(a){r.value={};const c=new Set;for(const s of a)if(typeof s=="string"||typeof s=="number"||typeof s=="symbol"){c.add(typeof s=="number"?s.toString():s);const m=n.keyType._zod.run({value:s,issues:[]},i);if(m instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(m.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:m.issues.map(p=>pe(p,i,se())),input:s,path:[s],inst:e});continue}const d=m.value,f=n.valueType._zod.run({value:t[s],issues:[]},i);f instanceof Promise?o.push(f.then(p=>{p.issues.length&&r.issues.push(...be(s,p.issues)),r.value[d]=p.value})):(f.issues.length&&r.issues.push(...be(s,f.issues)),r.value[d]=f.value)}let u;for(const s in t)c.has(s)||(u=u??[],u.push(s));u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:t,inst:e,keys:u})}else{r.value={};for(const c of Reflect.ownKeys(t)){if(c==="__proto__"||!Object.prototype.propertyIsEnumerable.call(t,c))continue;let u=n.keyType._zod.run({value:c,issues:[]},i);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&br.test(c)&&u.issues.length){const d=n.keyType._zod.run({value:Number(c),issues:[]},i);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(u=d)}if(u.issues.length){n.mode==="loose"?r.value[c]=t[c]:r.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(d=>pe(d,i,se())),input:c,path:[c],inst:e});continue}const m=n.valueType._zod.run({value:t[c],issues:[]},i);m instanceof Promise?o.push(m.then(d=>{d.issues.length&&r.issues.push(...be(c,d.issues)),r.value[u.value]=d.value})):(m.issues.length&&r.issues.push(...be(c,m.issues)),r.value[u.value]=m.value)}}return o.length?Promise.all(o).then(()=>r):r}}),kc=g("$ZodMap",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;if(!(t instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:t,inst:e}),r;const o=[];r.value=new Map;for(const[a,c]of t){const u=n.keyType._zod.run({value:a,issues:[]},i),s=n.valueType._zod.run({value:c,issues:[]},i);u instanceof Promise||s instanceof Promise?o.push(Promise.all([u,s]).then(([m,d])=>{Sc(m,d,r,a,t,e,i)})):Sc(u,s,r,a,t,e,i)}return o.length?Promise.all(o).then(()=>r):r}});function Sc(e,n,r,i,t,o,a){e.issues.length&&(qt.has(typeof i)?r.issues.push(...be(i,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:t,inst:o,issues:e.issues.map(c=>pe(c,a,se()))})),n.issues.length&&(qt.has(typeof i)?r.issues.push(...be(i,n.issues)):r.issues.push({origin:"map",code:"invalid_element",input:t,inst:o,key:i,issues:n.issues.map(c=>pe(c,a,se()))})),r.value.set(e.value,n.value)}const wc=g("$ZodSet",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;if(!(t instanceof Set))return r.issues.push({input:t,inst:e,expected:"set",code:"invalid_type"}),r;const o=[];r.value=new Set;for(const a of t){const c=n.valueType._zod.run({value:a,issues:[]},i);c instanceof Promise?o.push(c.then(u=>Ic(u,r))):Ic(c,r)}return o.length?Promise.all(o).then(()=>r):r}});function Ic(e,n){e.issues.length&&n.issues.push(...e.issues),n.value.add(e.value)}const zc=g("$ZodEnum",(e,n)=>{R.init(e,n);const r=tr(n.entries),i=new Set(r);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.filter(t=>qt.has(typeof t)).map(t=>typeof t=="string"?ze(t):t.toString()).join("|")})$`),e._zod.parse=(t,o)=>{const a=t.value;return i.has(a)||t.issues.push({code:"invalid_value",values:r,input:a,inst:e}),t}}),Ec=g("$ZodLiteral",(e,n)=>{if(R.init(e,n),n.values.length===0)throw new Error("Cannot create literal schema with no valid values");const r=new Set(n.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.values.map(i=>typeof i=="string"?ze(i):i?ze(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,t)=>{const o=i.value;return r.has(o)||i.issues.push({code:"invalid_value",values:n.values,input:o,inst:e}),i}}),Nc=g("$ZodFile",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;return t instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:t,inst:e}),r}}),Dc=g("$ZodTransform",(e,n)=>{R.init(e,n),e._zod.optin="optional",e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Ft(e.constructor.name);const t=n.transform(r.value,r);if(i.async)return(t instanceof Promise?t:Promise.resolve(t)).then(a=>(r.value=a,r.fallback=!0,r));if(t instanceof Promise)throw new xe;return r.value=t,r.fallback=!0,r}});function Oc(e,n){return n===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const Dr=g("$ZodOptional",(e,n)=>{R.init(e,n),e._zod.optin="optional",e._zod.optout="optional",q(e._zod,"values",()=>n.innerType._zod.values?new Set([...n.innerType._zod.values,void 0]):void 0),q(e._zod,"pattern",()=>{const r=n.innerType._zod.pattern;return r?new RegExp(`^(${Rt(r.source)})?$`):void 0}),e._zod.parse=(r,i)=>{if(n.innerType._zod.optin==="optional"){const t=r.value,o=n.innerType._zod.run(r,i);return o instanceof Promise?o.then(a=>Oc(a,t)):Oc(o,t)}return r.value===void 0?r:n.innerType._zod.run(r,i)}}),jc=g("$ZodExactOptional",(e,n)=>{Dr.init(e,n),q(e._zod,"values",()=>n.innerType._zod.values),q(e._zod,"pattern",()=>n.innerType._zod.pattern),e._zod.parse=(r,i)=>n.innerType._zod.run(r,i)}),Cc=g("$ZodNullable",(e,n)=>{R.init(e,n),q(e._zod,"optin",()=>n.innerType._zod.optin),q(e._zod,"optout",()=>n.innerType._zod.optout),q(e._zod,"pattern",()=>{const r=n.innerType._zod.pattern;return r?new RegExp(`^(${Rt(r.source)}|null)$`):void 0}),q(e._zod,"values",()=>n.innerType._zod.values?new Set([...n.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:n.innerType._zod.run(r,i)}),Tc=g("$ZodDefault",(e,n)=>{R.init(e,n),e._zod.optin="optional",q(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return n.innerType._zod.run(r,i);if(r.value===void 0)return r.value=n.defaultValue,r;const t=n.innerType._zod.run(r,i);return t instanceof Promise?t.then(o=>xc(o,n)):xc(t,n)}});function xc(e,n){return e.value===void 0&&(e.value=n.defaultValue),e}const Uc=g("$ZodPrefault",(e,n)=>{R.init(e,n),e._zod.optin="optional",q(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(r,i)=>(i.direction==="backward"||r.value===void 0&&(r.value=n.defaultValue),n.innerType._zod.run(r,i))}),Ac=g("$ZodNonOptional",(e,n)=>{R.init(e,n),q(e._zod,"values",()=>{const r=n.innerType._zod.values;return r?new Set([...r].filter(i=>i!==void 0)):void 0}),e._zod.parse=(r,i)=>{const t=n.innerType._zod.run(r,i);return t instanceof Promise?t.then(o=>Pc(o,e)):Pc(t,e)}});function Pc(e,n){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:n}),e}const Vc=g("$ZodSuccess",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Ft("ZodSuccess");const t=n.innerType._zod.run(r,i);return t instanceof Promise?t.then(o=>(r.value=o.issues.length===0,r)):(r.value=t.issues.length===0,r)}}),Bc=g("$ZodCatch",(e,n)=>{R.init(e,n),e._zod.optin="optional",q(e._zod,"optout",()=>n.innerType._zod.optout),q(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return n.innerType._zod.run(r,i);const t=n.innerType._zod.run(r,i);return t instanceof Promise?t.then(o=>(r.value=o.value,o.issues.length&&(r.value=n.catchValue({...r,error:{issues:o.issues.map(a=>pe(a,i,se()))},input:r.value}),r.issues=[],r.fallback=!0),r)):(r.value=t.value,t.issues.length&&(r.value=n.catchValue({...r,error:{issues:t.issues.map(o=>pe(o,i,se()))},input:r.value}),r.issues=[],r.fallback=!0),r)}}),Zc=g("$ZodNaN",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),Or=g("$ZodPipe",(e,n)=>{R.init(e,n),q(e._zod,"values",()=>n.in._zod.values),q(e._zod,"optin",()=>n.in._zod.optin),q(e._zod,"optout",()=>n.out._zod.optout),q(e._zod,"propValues",()=>n.in._zod.propValues),e._zod.parse=(r,i)=>{if(i.direction==="backward"){const o=n.out._zod.run(r,i);return o instanceof Promise?o.then(a=>Ht(a,n.in,i)):Ht(o,n.in,i)}const t=n.in._zod.run(r,i);return t instanceof Promise?t.then(o=>Ht(o,n.out,i)):Ht(t,n.out,i)}});function Ht(e,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},r)}const jr=g("$ZodCodec",(e,n)=>{R.init(e,n),q(e._zod,"values",()=>n.in._zod.values),q(e._zod,"optin",()=>n.in._zod.optin),q(e._zod,"optout",()=>n.out._zod.optout),q(e._zod,"propValues",()=>n.in._zod.propValues),e._zod.parse=(r,i)=>{if((i.direction||"forward")==="forward"){const o=n.in._zod.run(r,i);return o instanceof Promise?o.then(a=>Yt(a,n,i)):Yt(o,n,i)}else{const o=n.out._zod.run(r,i);return o instanceof Promise?o.then(a=>Yt(a,n,i)):Yt(o,n,i)}}});function Yt(e,n,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){const t=n.transform(e.value,e);return t instanceof Promise?t.then(o=>Qt(e,o,n.out,r)):Qt(e,t,n.out,r)}else{const t=n.reverseTransform(e.value,e);return t instanceof Promise?t.then(o=>Qt(e,o,n.in,r)):Qt(e,t,n.in,r)}}function Qt(e,n,r,i){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:n,issues:e.issues},i)}const Mc=g("$ZodPreprocess",(e,n)=>{Or.init(e,n)}),Fc=g("$ZodReadonly",(e,n)=>{R.init(e,n),q(e._zod,"propValues",()=>n.innerType._zod.propValues),q(e._zod,"values",()=>n.innerType._zod.values),q(e._zod,"optin",()=>{var r,i;return(i=(r=n.innerType)==null?void 0:r._zod)==null?void 0:i.optin}),q(e._zod,"optout",()=>{var r,i;return(i=(r=n.innerType)==null?void 0:r._zod)==null?void 0:i.optout}),e._zod.parse=(r,i)=>{if(i.direction==="backward")return n.innerType._zod.run(r,i);const t=n.innerType._zod.run(r,i);return t instanceof Promise?t.then(Lc):Lc(t)}});function Lc(e){return e.value=Object.freeze(e.value),e}const Rc=g("$ZodTemplateLiteral",(e,n)=>{R.init(e,n);const r=[];for(const i of n.parts)if(typeof i=="object"&&i!==null){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);const t=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!t)throw new Error(`Invalid template literal part: ${i._zod.traits}`);const o=t.startsWith("^")?1:0,a=t.endsWith("$")?t.length-1:t.length;r.push(t.slice(o,a))}else if(i===null||ea.has(typeof i))r.push(ze(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(i,t)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"string",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:n.format??"template_literal",pattern:e._zod.pattern.source}),i)}),Jc=g("$ZodFunction",(e,n)=>(R.init(e,n),e._def=n,e._zod.def=n,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return function(...i){const t=e._def.input?lr(e._def.input,i):i,o=Reflect.apply(r,this,t);return e._def.output?lr(e._def.output,o):o}},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){const t=e._def.input?await cr(e._def.input,i):i,o=await Reflect.apply(r,this,t);return e._def.output?await cr(e._def.output,o):o}},e._zod.parse=(r,i)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{const i=e.constructor;return Array.isArray(r[0])?new i({type:"function",input:new Nr({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new i({type:"function",input:r[0],output:e._def.output})},e.output=r=>{const i=e.constructor;return new i({type:"function",input:e._def.input,output:r})},e)),qc=g("$ZodPromise",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>Promise.resolve(r.value).then(t=>n.innerType._zod.run({value:t,issues:[]},i))}),Gc=g("$ZodLazy",(e,n)=>{R.init(e,n),q(e._zod,"innerType",()=>{const r=n;return r._cachedInner||(r._cachedInner=n.getter()),r._cachedInner}),q(e._zod,"pattern",()=>{var r,i;return(i=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:i.pattern}),q(e._zod,"propValues",()=>{var r,i;return(i=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:i.propValues}),q(e._zod,"optin",()=>{var r,i;return((i=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:i.optin)??void 0}),q(e._zod,"optout",()=>{var r,i;return((i=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:i.optout)??void 0}),e._zod.parse=(r,i)=>e._zod.innerType._zod.run(r,i)}),Kc=g("$ZodCustom",(e,n)=>{te.init(e,n),R.init(e,n),e._zod.parse=(r,i)=>r,e._zod.check=r=>{const i=r.value,t=n.fn(i);if(t instanceof Promise)return t.then(o=>Wc(o,r,i,e));Wc(t,r,i,e)}});function Wc(e,n,r,i){if(!e){const t={code:"custom",input:r,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(t.params=i._zod.def.params),n.issues.push(Le(t))}}const tb=()=>{const e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function n(t){return e[t]??null}const r={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:"مدخل"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${t.expected}، ولكن تم إدخال ${c}`:`مدخلات غير مقبولة: يفترض إدخال ${o}، ولكن تم إدخال ${c}`}case"invalid_value":return t.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${P(t.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?` أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${o} ${t.maximum.toString()} ${a.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${o} ${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${o} ${t.minimum.toString()} ${a.unit}`:`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${o} ${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`نَص غير مقبول: يجب أن يبدأ بـ "${t.prefix}"`:o.format==="ends_with"?`نَص غير مقبول: يجب أن ينتهي بـ "${o.suffix}"`:o.format==="includes"?`نَص غير مقبول: يجب أن يتضمَّن "${o.includes}"`:o.format==="regex"?`نَص غير مقبول: يجب أن يطابق النمط ${o.pattern}`:`${r[o.format]??t.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${t.divisor}`;case"unrecognized_keys":return`معرف${t.keys.length>1?"ات":""} غريب${t.keys.length>1?"ة":""}: ${y(t.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${t.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${t.origin}`;default:return"مدخل غير مقبول"}}};function nb(){return{localeError:tb()}}const rb=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Yanlış dəyər: gözlənilən instanceof ${t.expected}, daxil olan ${c}`:`Yanlış dəyər: gözlənilən ${o}, daxil olan ${c}`}case"invalid_value":return t.values.length===1?`Yanlış dəyər: gözlənilən ${P(t.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${o}${t.maximum.toString()} ${a.unit??"element"}`:`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Çox kiçik: gözlənilən ${t.origin} ${o}${t.minimum.toString()} ${a.unit}`:`Çox kiçik: gözlənilən ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Yanlış mətn: "${o.prefix}" ilə başlamalıdır`:o.format==="ends_with"?`Yanlış mətn: "${o.suffix}" ilə bitməlidir`:o.format==="includes"?`Yanlış mətn: "${o.includes}" daxil olmalıdır`:o.format==="regex"?`Yanlış mətn: ${o.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${r[o.format]??t.format}`}case"not_multiple_of":return`Yanlış ədəd: ${t.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${t.keys.length>1?"lar":""}: ${y(t.keys,", ")}`;case"invalid_key":return`${t.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${t.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function ob(){return{localeError:rb()}}function Xc(e,n,r,i){const t=Math.abs(e),o=t%10,a=t%100;return a>=11&&a<=19?i:o===1?n:o>=2&&o<=4?r:i}const ib=()=>{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 n(t){return e[t]??null}const r={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:"увод"},i={nan:"NaN",number:"лік",array:"масіў"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Няправільны ўвод: чакаўся instanceof ${t.expected}, атрымана ${c}`:`Няправільны ўвод: чакаўся ${o}, атрымана ${c}`}case"invalid_value":return t.values.length===1?`Няправільны ўвод: чакалася ${P(t.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);if(a){const c=Number(t.maximum),u=Xc(c,a.unit.one,a.unit.few,a.unit.many);return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна ${a.verb} ${o}${t.maximum.toString()} ${u}`}return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна быць ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);if(a){const c=Number(t.minimum),u=Xc(c,a.unit.one,a.unit.few,a.unit.many);return`Занадта малы: чакалася, што ${t.origin} павінна ${a.verb} ${o}${t.minimum.toString()} ${u}`}return`Занадта малы: чакалася, што ${t.origin} павінна быць ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Няправільны радок: павінен пачынацца з "${o.prefix}"`:o.format==="ends_with"?`Няправільны радок: павінен заканчвацца на "${o.suffix}"`:o.format==="includes"?`Няправільны радок: павінен змяшчаць "${o.includes}"`:o.format==="regex"?`Няправільны радок: павінен адпавядаць шаблону ${o.pattern}`:`Няправільны ${r[o.format]??t.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${t.keys.length>1?"ключы":"ключ"}: ${y(t.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${t.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${t.origin}`;default:return"Няправільны ўвод"}}};function ab(){return{localeError:ib()}}const lb=()=>{const e={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function n(t){return e[t]??null}const r={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:"вход"},i={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Невалиден вход: очакван instanceof ${t.expected}, получен ${c}`:`Невалиден вход: очакван ${o}, получен ${c}`}case"invalid_value":return t.values.length===1?`Невалиден вход: очакван ${P(t.values[0])}`:`Невалидна опция: очаквано едно от ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Твърде голямо: очаква се ${t.origin??"стойност"} да съдържа ${o}${t.maximum.toString()} ${a.unit??"елемента"}`:`Твърде голямо: очаква се ${t.origin??"стойност"} да бъде ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Твърде малко: очаква се ${t.origin} да съдържа ${o}${t.minimum.toString()} ${a.unit}`:`Твърде малко: очаква се ${t.origin} да бъде ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;if(o.format==="starts_with")return`Невалиден низ: трябва да започва с "${o.prefix}"`;if(o.format==="ends_with")return`Невалиден низ: трябва да завършва с "${o.suffix}"`;if(o.format==="includes")return`Невалиден низ: трябва да включва "${o.includes}"`;if(o.format==="regex")return`Невалиден низ: трябва да съвпада с ${o.pattern}`;let a="Невалиден";return o.format==="emoji"&&(a="Невалидно"),o.format==="datetime"&&(a="Невалидно"),o.format==="date"&&(a="Невалидна"),o.format==="time"&&(a="Невалидно"),o.format==="duration"&&(a="Невалидна"),`${a} ${r[o.format]??t.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${t.divisor}`;case"unrecognized_keys":return`Неразпознат${t.keys.length>1?"и":""} ключ${t.keys.length>1?"ове":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${t.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${t.origin}`;default:return"Невалиден вход"}}};function cb(){return{localeError:lb()}}const sb=()=>{const e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Tipus invàlid: s'esperava instanceof ${t.expected}, s'ha rebut ${c}`:`Tipus invàlid: s'esperava ${o}, s'ha rebut ${c}`}case"invalid_value":return t.values.length===1?`Valor invàlid: s'esperava ${P(t.values[0])}`:`Opció invàlida: s'esperava una de ${y(t.values," o ")}`;case"too_big":{const o=t.inclusive?"com a màxim":"menys de",a=n(t.origin);return a?`Massa gran: s'esperava que ${t.origin??"el valor"} contingués ${o} ${t.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${t.origin??"el valor"} fos ${o} ${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?"com a mínim":"més de",a=n(t.origin);return a?`Massa petit: s'esperava que ${t.origin} contingués ${o} ${t.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${t.origin} fos ${o} ${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Format invàlid: ha de començar amb "${o.prefix}"`:o.format==="ends_with"?`Format invàlid: ha d'acabar amb "${o.suffix}"`:o.format==="includes"?`Format invàlid: ha d'incloure "${o.includes}"`:o.format==="regex"?`Format invàlid: ha de coincidir amb el patró ${o.pattern}`:`Format invàlid per a ${r[o.format]??t.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${t.divisor}`;case"unrecognized_keys":return`Clau${t.keys.length>1?"s":""} no reconeguda${t.keys.length>1?"s":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${t.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${t.origin}`;default:return"Entrada invàlida"}}};function ub(){return{localeError:sb()}}const db=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Neplatný vstup: očekáváno instanceof ${t.expected}, obdrženo ${c}`:`Neplatný vstup: očekáváno ${o}, obdrženo ${c}`}case"invalid_value":return t.values.length===1?`Neplatný vstup: očekáváno ${P(t.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Hodnota je příliš velká: ${t.origin??"hodnota"} musí mít ${o}${t.maximum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš velká: ${t.origin??"hodnota"} musí být ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Hodnota je příliš malá: ${t.origin??"hodnota"} musí mít ${o}${t.minimum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš malá: ${t.origin??"hodnota"} musí být ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Neplatný řetězec: musí začínat na "${o.prefix}"`:o.format==="ends_with"?`Neplatný řetězec: musí končit na "${o.suffix}"`:o.format==="includes"?`Neplatný řetězec: musí obsahovat "${o.includes}"`:o.format==="regex"?`Neplatný řetězec: musí odpovídat vzoru ${o.pattern}`:`Neplatný formát ${r[o.format]??t.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${t.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${y(t.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${t.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${t.origin}`;default:return"Neplatný vstup"}}};function mb(){return{localeError:db()}}const fb=()=>{const e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldigt input: forventede instanceof ${t.expected}, fik ${c}`:`Ugyldigt input: forventede ${o}, fik ${c}`}case"invalid_value":return t.values.length===1?`Ugyldig værdi: forventede ${P(t.values[0])}`:`Ugyldigt valg: forventede en af følgende ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin),c=i[t.origin]??t.origin;return a?`For stor: forventede ${c??"value"} ${a.verb} ${o} ${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${c??"value"} havde ${o} ${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin),c=i[t.origin]??t.origin;return a?`For lille: forventede ${c} ${a.verb} ${o} ${t.minimum.toString()} ${a.unit}`:`For lille: forventede ${c} havde ${o} ${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ugyldig streng: skal starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: skal ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: skal indeholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: skal matche mønsteret ${o.pattern}`:`Ugyldig ${r[o.format]??t.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${y(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${t.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${t.origin}`;default:return"Ugyldigt input"}}};function pb(){return{localeError:fb()}}const gb=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"Zahl",array:"Array"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ungültige Eingabe: erwartet instanceof ${t.expected}, erhalten ${c}`:`Ungültige Eingabe: erwartet ${o}, erhalten ${c}`}case"invalid_value":return t.values.length===1?`Ungültige Eingabe: erwartet ${P(t.values[0])}`:`Ungültige Option: erwartet eine von ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Zu groß: erwartet, dass ${t.origin??"Wert"} ${o}${t.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${t.origin??"Wert"} ${o}${t.maximum.toString()} ist`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Zu klein: erwartet, dass ${t.origin} ${o}${t.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${t.origin} ${o}${t.minimum.toString()} ist`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ungültiger String: muss mit "${o.prefix}" beginnen`:o.format==="ends_with"?`Ungültiger String: muss mit "${o.suffix}" enden`:o.format==="includes"?`Ungültiger String: muss "${o.includes}" enthalten`:o.format==="regex"?`Ungültiger String: muss dem Muster ${o.pattern} entsprechen`:`Ungültig: ${r[o.format]??t.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${t.divisor} sein`;case"unrecognized_keys":return`${t.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${y(t.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${t.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${t.origin}`;default:return"Ungültige Eingabe"}}};function vb(){return{localeError:gb()}}const hb=()=>{const e={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function n(t){return e[t]??null}const r={regex:"είσοδος",email:"διεύθυνση 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",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return typeof t.expected=="string"&&/^[A-Z]/.test(t.expected)?`Μη έγκυρη είσοδος: αναμενόταν instanceof ${t.expected}, λήφθηκε ${c}`:`Μη έγκυρη είσοδος: αναμενόταν ${o}, λήφθηκε ${c}`}case"invalid_value":return t.values.length===1?`Μη έγκυρη είσοδος: αναμενόταν ${P(t.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Πολύ μεγάλο: αναμενόταν ${t.origin??"τιμή"} να έχει ${o}${t.maximum.toString()} ${a.unit??"στοιχεία"}`:`Πολύ μεγάλο: αναμενόταν ${t.origin??"τιμή"} να είναι ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Πολύ μικρό: αναμενόταν ${t.origin} να έχει ${o}${t.minimum.toString()} ${a.unit}`:`Πολύ μικρό: αναμενόταν ${t.origin} να είναι ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${o.prefix}"`:o.format==="ends_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${o.suffix}"`:o.format==="includes"?`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${o.includes}"`:o.format==="regex"?`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${o.pattern}`:`Μη έγκυρο: ${r[o.format]??t.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${t.divisor}`;case"unrecognized_keys":return`Άγνωστ${t.keys.length>1?"α":"ο"} κλειδ${t.keys.length>1?"ιά":"ί"}: ${y(t.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${t.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${t.origin}`;default:return"Μη έγκυρη είσοδος"}}};function $b(){return{localeError:hb()}}const bb=()=>{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"},map:{unit:"entries",verb:"to have"}};function n(t){return e[t]??null}const r={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",mac:"MAC 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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return`Invalid input: expected ${o}, received ${c}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${P(t.values[0])}`:`Invalid option: expected one of ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Too big: expected ${t.origin??"value"} to have ${o}${t.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${t.origin??"value"} to be ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Too small: expected ${t.origin} to have ${o}${t.minimum.toString()} ${a.unit}`:`Too small: expected ${t.origin} to be ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Invalid string: must start with "${o.prefix}"`:o.format==="ends_with"?`Invalid string: must end with "${o.suffix}"`:o.format==="includes"?`Invalid string: must include "${o.includes}"`:o.format==="regex"?`Invalid string: must match pattern ${o.pattern}`:`Invalid ${r[o.format]??t.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${t.divisor}`;case"unrecognized_keys":return`Unrecognized key${t.keys.length>1?"s":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Invalid key in ${t.origin}`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`Invalid discriminator value. Expected ${t.options.map(a=>`'${a}'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${t.origin}`;default:return"Invalid input"}}};function Hc(){return{localeError:bb()}}const _b=()=>{const e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Nevalida enigo: atendiĝis instanceof ${t.expected}, riceviĝis ${c}`:`Nevalida enigo: atendiĝis ${o}, riceviĝis ${c}`}case"invalid_value":return t.values.length===1?`Nevalida enigo: atendiĝis ${P(t.values[0])}`:`Nevalida opcio: atendiĝis unu el ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${o}${t.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Tro malgranda: atendiĝis ke ${t.origin} havu ${o}${t.minimum.toString()} ${a.unit}`:`Tro malgranda: atendiĝis ke ${t.origin} estu ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Nevalida karaktraro: devas komenciĝi per "${o.prefix}"`:o.format==="ends_with"?`Nevalida karaktraro: devas finiĝi per "${o.suffix}"`:o.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${o.includes}"`:o.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${o.pattern}`:`Nevalida ${r[o.format]??t.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${t.divisor}`;case"unrecognized_keys":return`Nekonata${t.keys.length>1?"j":""} ŝlosilo${t.keys.length>1?"j":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${t.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${t.origin}`;default:return"Nevalida enigo"}}};function yb(){return{localeError:_b()}}const kb=()=>{const e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",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"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Entrada inválida: se esperaba instanceof ${t.expected}, recibido ${c}`:`Entrada inválida: se esperaba ${o}, recibido ${c}`}case"invalid_value":return t.values.length===1?`Entrada inválida: se esperaba ${P(t.values[0])}`:`Opción inválida: se esperaba una de ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin),c=i[t.origin]??t.origin;return a?`Demasiado grande: se esperaba que ${c??"valor"} tuviera ${o}${t.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${c??"valor"} fuera ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin),c=i[t.origin]??t.origin;return a?`Demasiado pequeño: se esperaba que ${c} tuviera ${o}${t.minimum.toString()} ${a.unit}`:`Demasiado pequeño: se esperaba que ${c} fuera ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Cadena inválida: debe comenzar con "${o.prefix}"`:o.format==="ends_with"?`Cadena inválida: debe terminar en "${o.suffix}"`:o.format==="includes"?`Cadena inválida: debe incluir "${o.includes}"`:o.format==="regex"?`Cadena inválida: debe coincidir con el patrón ${o.pattern}`:`Inválido ${r[o.format]??t.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Llave${t.keys.length>1?"s":""} desconocida${t.keys.length>1?"s":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Llave inválida en ${i[t.origin]??t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${i[t.origin]??t.origin}`;default:return"Entrada inválida"}}};function Sb(){return{localeError:kb()}}const wb=()=>{const e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function n(t){return e[t]??null}const r={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:"ورودی"},i={nan:"NaN",number:"عدد",array:"آرایه"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`ورودی نامعتبر: میبایست instanceof ${t.expected} میبود، ${c} دریافت شد`:`ورودی نامعتبر: میبایست ${o} میبود، ${c} دریافت شد`}case"invalid_value":return t.values.length===1?`ورودی نامعتبر: میبایست ${P(t.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${y(t.values,"|")} میبود`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`خیلی بزرگ: ${t.origin??"مقدار"} باید ${o}${t.maximum.toString()} ${a.unit??"عنصر"} باشد`:`خیلی بزرگ: ${t.origin??"مقدار"} باید ${o}${t.maximum.toString()} باشد`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`خیلی کوچک: ${t.origin} باید ${o}${t.minimum.toString()} ${a.unit} باشد`:`خیلی کوچک: ${t.origin} باید ${o}${t.minimum.toString()} باشد`}case"invalid_format":{const o=t;return o.format==="starts_with"?`رشته نامعتبر: باید با "${o.prefix}" شروع شود`:o.format==="ends_with"?`رشته نامعتبر: باید با "${o.suffix}" تمام شود`:o.format==="includes"?`رشته نامعتبر: باید شامل "${o.includes}" باشد`:o.format==="regex"?`رشته نامعتبر: باید با الگوی ${o.pattern} مطابقت داشته باشد`:`${r[o.format]??t.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${t.divisor} باشد`;case"unrecognized_keys":return`کلید${t.keys.length>1?"های":""} ناشناس: ${y(t.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${t.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${t.origin}`;default:return"ورودی نامعتبر"}}};function Ib(){return{localeError:wb()}}const zb=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Virheellinen tyyppi: odotettiin instanceof ${t.expected}, oli ${c}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${c}`}case"invalid_value":return t.values.length===1?`Virheellinen syöte: täytyy olla ${P(t.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Liian suuri: ${a.subject} täytyy olla ${o}${t.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon täytyy olla ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Liian pieni: ${a.subject} täytyy olla ${o}${t.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon täytyy olla ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Virheellinen syöte: täytyy alkaa "${o.prefix}"`:o.format==="ends_with"?`Virheellinen syöte: täytyy loppua "${o.suffix}"`:o.format==="includes"?`Virheellinen syöte: täytyy sisältää "${o.includes}"`:o.format==="regex"?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${o.pattern}`:`Virheellinen ${r[o.format]??t.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${t.divisor} monikerta`;case"unrecognized_keys":return`${t.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${y(t.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"}}};function Eb(){return{localeError:zb()}}const Nb=()=>{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 n(t){return e[t]??null}const r={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"},i={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Entrée invalide : instanceof ${t.expected} attendu, ${c} reçu`:`Entrée invalide : ${o} attendu, ${c} reçu`}case"invalid_value":return t.values.length===1?`Entrée invalide : ${P(t.values[0])} attendu`:`Option invalide : une valeur parmi ${y(t.values,"|")} attendue`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Trop grand : ${i[t.origin]??"valeur"} doit ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"élément(s)"}`:`Trop grand : ${i[t.origin]??"valeur"} doit être ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Trop petit : ${i[t.origin]??"valeur"} doit ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Trop petit : ${i[t.origin]??"valeur"} doit être ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Chaîne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Chaîne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Chaîne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Chaîne invalide : doit correspondre au modèle ${o.pattern}`:`${r[o.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${y(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function Db(){return{localeError:Nb()}}const Ob=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Entrée invalide : attendu instanceof ${t.expected}, reçu ${c}`:`Entrée invalide : attendu ${o}, reçu ${c}`}case"invalid_value":return t.values.length===1?`Entrée invalide : attendu ${P(t.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"≤":"<",a=n(t.origin);return a?`Trop grand : attendu que ${t.origin??"la valeur"} ait ${o}${t.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${t.origin??"la valeur"} soit ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?"≥":">",a=n(t.origin);return a?`Trop petit : attendu que ${t.origin} ait ${o}${t.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${t.origin} soit ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Chaîne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Chaîne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Chaîne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Chaîne invalide : doit correspondre au motif ${o.pattern}`:`${r[o.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${y(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function jb(){return{localeError:Ob()}}const Cb=()=>{const e={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},n={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},r=s=>s?e[s]:void 0,i=s=>{const m=r(s);return m?m.label:s??e.unknown.label},t=s=>`ה${i(s)}`,o=s=>{const m=r(s);return((m==null?void 0:m.gender)??"m")==="f"?"צריכה להיות":"צריך להיות"},a=s=>s?n[s]??null:null,c={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},u={nan:"NaN"};return s=>{var m;switch(s.code){case"invalid_type":{const d=s.expected,f=u[d??""]??i(d),p=V(s.input),h=u[p]??((m=e[p])==null?void 0:m.label)??p;return/^[A-Z]/.test(s.expected)?`קלט לא תקין: צריך להיות instanceof ${s.expected}, התקבל ${h}`:`קלט לא תקין: צריך להיות ${f}, התקבל ${h}`}case"invalid_value":{if(s.values.length===1)return`ערך לא תקין: הערך חייב להיות ${P(s.values[0])}`;const d=s.values.map(h=>P(h));if(s.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${d[0]} או ${d[1]}`;const f=d[d.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${d.slice(0,-1).join(", ")} או ${f}`}case"too_big":{const d=a(s.origin),f=t(s.origin??"value");if(s.origin==="string")return`${(d==null?void 0:d.longLabel)??"ארוך"} מדי: ${f} צריכה להכיל ${s.maximum.toString()} ${(d==null?void 0:d.unit)??""} ${s.inclusive?"או פחות":"לכל היותר"}`.trim();if(s.origin==="number"){const v=s.inclusive?`קטן או שווה ל-${s.maximum}`:`קטן מ-${s.maximum}`;return`גדול מדי: ${f} צריך להיות ${v}`}if(s.origin==="array"||s.origin==="set"){const v=s.origin==="set"?"צריכה":"צריך",D=s.inclusive?`${s.maximum} ${(d==null?void 0:d.unit)??""} או פחות`:`פחות מ-${s.maximum} ${(d==null?void 0:d.unit)??""}`;return`גדול מדי: ${f} ${v} להכיל ${D}`.trim()}const p=s.inclusive?"<=":"<",h=o(s.origin??"value");return d!=null&&d.unit?`${d.longLabel} מדי: ${f} ${h} ${p}${s.maximum.toString()} ${d.unit}`:`${(d==null?void 0:d.longLabel)??"גדול"} מדי: ${f} ${h} ${p}${s.maximum.toString()}`}case"too_small":{const d=a(s.origin),f=t(s.origin??"value");if(s.origin==="string")return`${(d==null?void 0:d.shortLabel)??"קצר"} מדי: ${f} צריכה להכיל ${s.minimum.toString()} ${(d==null?void 0:d.unit)??""} ${s.inclusive?"או יותר":"לפחות"}`.trim();if(s.origin==="number"){const v=s.inclusive?`גדול או שווה ל-${s.minimum}`:`גדול מ-${s.minimum}`;return`קטן מדי: ${f} צריך להיות ${v}`}if(s.origin==="array"||s.origin==="set"){const v=s.origin==="set"?"צריכה":"צריך";if(s.minimum===1&&s.inclusive){const z=(s.origin==="set","לפחות פריט אחד");return`קטן מדי: ${f} ${v} להכיל ${z}`}const D=s.inclusive?`${s.minimum} ${(d==null?void 0:d.unit)??""} או יותר`:`יותר מ-${s.minimum} ${(d==null?void 0:d.unit)??""}`;return`קטן מדי: ${f} ${v} להכיל ${D}`.trim()}const p=s.inclusive?">=":">",h=o(s.origin??"value");return d!=null&&d.unit?`${d.shortLabel} מדי: ${f} ${h} ${p}${s.minimum.toString()} ${d.unit}`:`${(d==null?void 0:d.shortLabel)??"קטן"} מדי: ${f} ${h} ${p}${s.minimum.toString()}`}case"invalid_format":{const d=s;if(d.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${d.prefix}"`;if(d.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${d.suffix}"`;if(d.format==="includes")return`המחרוזת חייבת לכלול "${d.includes}"`;if(d.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${d.pattern}`;const f=c[d.format],p=(f==null?void 0:f.label)??d.format,v=((f==null?void 0:f.gender)??"m")==="f"?"תקינה":"תקין";return`${p} לא ${v}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${s.divisor}`;case"unrecognized_keys":return`מפתח${s.keys.length>1?"ות":""} לא מזוה${s.keys.length>1?"ים":"ה"}: ${y(s.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${t(s.origin??"array")}`;default:return"קלט לא תקין"}}};function Tb(){return{localeError:Cb()}}const xb=()=>{const e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function n(t){return e[t]??null}const r={regex:"unos",email:"email 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:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},i={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Neispravan unos: očekuje se instanceof ${t.expected}, a primljeno je ${c}`:`Neispravan unos: očekuje se ${o}, a primljeno je ${c}`}case"invalid_value":return t.values.length===1?`Neispravna vrijednost: očekivano ${P(t.values[0])}`:`Neispravna opcija: očekivano jedno od ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin),c=i[t.origin]??t.origin;return a?`Preveliko: očekivano da ${c??"vrijednost"} ima ${o}${t.maximum.toString()} ${a.unit??"elemenata"}`:`Preveliko: očekivano da ${c??"vrijednost"} bude ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin),c=i[t.origin]??t.origin;return a?`Premalo: očekivano da ${c} ima ${o}${t.minimum.toString()} ${a.unit}`:`Premalo: očekivano da ${c} bude ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Neispravan tekst: mora započinjati s "${o.prefix}"`:o.format==="ends_with"?`Neispravan tekst: mora završavati s "${o.suffix}"`:o.format==="includes"?`Neispravan tekst: mora sadržavati "${o.includes}"`:o.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${o.pattern}`:`Neispravna ${r[o.format]??t.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${t.divisor}`;case"unrecognized_keys":return`Neprepoznat${t.keys.length>1?"i ključevi":" ključ"}: ${y(t.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${i[t.origin]??t.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${i[t.origin]??t.origin}`;default:return"Neispravan unos"}}};function Ub(){return{localeError:xb()}}const Ab=()=>{const e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"szám",array:"tömb"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Érvénytelen bemenet: a várt érték instanceof ${t.expected}, a kapott érték ${c}`:`Érvénytelen bemenet: a várt érték ${o}, a kapott érték ${c}`}case"invalid_value":return t.values.length===1?`Érvénytelen bemenet: a várt érték ${P(t.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Túl nagy: ${t.origin??"érték"} mérete túl nagy ${o}${t.maximum.toString()} ${a.unit??"elem"}`:`Túl nagy: a bemeneti érték ${t.origin??"érték"} túl nagy: ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Túl kicsi: a bemeneti érték ${t.origin} mérete túl kicsi ${o}${t.minimum.toString()} ${a.unit}`:`Túl kicsi: a bemeneti érték ${t.origin} túl kicsi ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Érvénytelen string: "${o.prefix}" értékkel kell kezdődnie`:o.format==="ends_with"?`Érvénytelen string: "${o.suffix}" értékkel kell végződnie`:o.format==="includes"?`Érvénytelen string: "${o.includes}" értéket kell tartalmaznia`:o.format==="regex"?`Érvénytelen string: ${o.pattern} mintának kell megfelelnie`:`Érvénytelen ${r[o.format]??t.format}`}case"not_multiple_of":return`Érvénytelen szám: ${t.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${t.keys.length>1?"s":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${t.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${t.origin}`;default:return"Érvénytelen bemenet"}}};function Pb(){return{localeError:Ab()}}function Yc(e,n,r){return Math.abs(e)===1?n:r}function Je(e){if(!e)return"";const n=["ա","ե","ը","ի","ո","ու","օ"],r=e[e.length-1];return e+(n.includes(r)?"ն":"ը")}const Vb=()=>{const e={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function n(t){return e[t]??null}const r={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:"մուտք"},i={nan:"NaN",number:"թիվ",array:"զանգված"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${t.expected}, ստացվել է ${c}`:`Սխալ մուտքագրում․ սպասվում էր ${o}, ստացվել է ${c}`}case"invalid_value":return t.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${P(t.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);if(a){const c=Number(t.maximum),u=Yc(c,a.unit.one,a.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${Je(t.origin??"արժեք")} կունենա ${o}${t.maximum.toString()} ${u}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${Je(t.origin??"արժեք")} լինի ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);if(a){const c=Number(t.minimum),u=Yc(c,a.unit.one,a.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${Je(t.origin)} կունենա ${o}${t.minimum.toString()} ${u}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${Je(t.origin)} լինի ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Սխալ տող․ պետք է սկսվի "${o.prefix}"-ով`:o.format==="ends_with"?`Սխալ տող․ պետք է ավարտվի "${o.suffix}"-ով`:o.format==="includes"?`Սխալ տող․ պետք է պարունակի "${o.includes}"`:o.format==="regex"?`Սխալ տող․ պետք է համապատասխանի ${o.pattern} ձևաչափին`:`Սխալ ${r[o.format]??t.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${t.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${t.keys.length>1?"ներ":""}. ${y(t.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${Je(t.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${Je(t.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function Bb(){return{localeError:Vb()}}const Zb=()=>{const e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak valid: diharapkan instanceof ${t.expected}, diterima ${c}`:`Input tidak valid: diharapkan ${o}, diterima ${c}`}case"invalid_value":return t.values.length===1?`Input tidak valid: diharapkan ${P(t.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Terlalu besar: diharapkan ${t.origin??"value"} memiliki ${o}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${t.origin??"value"} menjadi ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Terlalu kecil: diharapkan ${t.origin} memiliki ${o}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${t.origin} menjadi ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`String tidak valid: harus dimulai dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak valid: harus berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak valid: harus menyertakan "${o.includes}"`:o.format==="regex"?`String tidak valid: harus sesuai pola ${o.pattern}`:`${r[o.format]??t.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${t.keys.length>1?"s":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${t.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${t.origin}`;default:return"Input tidak valid"}}};function Mb(){return{localeError:Zb()}}const Fb=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"númer",array:"fylki"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Rangt gildi: Þú slóst inn ${c} þar sem á að vera instanceof ${t.expected}`:`Rangt gildi: Þú slóst inn ${c} þar sem á að vera ${o}`}case"invalid_value":return t.values.length===1?`Rangt gildi: gert ráð fyrir ${P(t.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} hafi ${o}${t.maximum.toString()} ${a.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} sé ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Of lítið: gert er ráð fyrir að ${t.origin} hafi ${o}${t.minimum.toString()} ${a.unit}`:`Of lítið: gert er ráð fyrir að ${t.origin} sé ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ógildur strengur: verður að byrja á "${o.prefix}"`:o.format==="ends_with"?`Ógildur strengur: verður að enda á "${o.suffix}"`:o.format==="includes"?`Ógildur strengur: verður að innihalda "${o.includes}"`:o.format==="regex"?`Ógildur strengur: verður að fylgja mynstri ${o.pattern}`:`Rangt ${r[o.format]??t.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${t.divisor}`;case"unrecognized_keys":return`Óþekkt ${t.keys.length>1?"ir lyklar":"ur lykill"}: ${y(t.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${t.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${t.origin}`;default:return"Rangt gildi"}}};function Lb(){return{localeError:Fb()}}const Rb=()=>{const e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"numero",array:"vettore"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Input non valido: atteso instanceof ${t.expected}, ricevuto ${c}`:`Input non valido: atteso ${o}, ricevuto ${c}`}case"invalid_value":return t.values.length===1?`Input non valido: atteso ${P(t.values[0])}`:`Opzione non valida: atteso uno tra ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Troppo grande: ${t.origin??"valore"} deve avere ${o}${t.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${t.origin??"valore"} deve essere ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Troppo piccolo: ${t.origin} deve avere ${o}${t.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${t.origin} deve essere ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Stringa non valida: deve iniziare con "${o.prefix}"`:o.format==="ends_with"?`Stringa non valida: deve terminare con "${o.suffix}"`:o.format==="includes"?`Stringa non valida: deve includere "${o.includes}"`:o.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${o.pattern}`:`Input non valido: ${r[o.format]??t.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${t.divisor}`;case"unrecognized_keys":return`Chiav${t.keys.length>1?"i":"e"} non riconosciut${t.keys.length>1?"e":"a"}: ${y(t.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${t.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${t.origin}`;default:return"Input non valido"}}};function Jb(){return{localeError:Rb()}}const qb=()=>{const e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function n(t){return e[t]??null}const r={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:"入力値"},i={nan:"NaN",number:"数値",array:"配列"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`無効な入力: instanceof ${t.expected}が期待されましたが、${c}が入力されました`:`無効な入力: ${o}が期待されましたが、${c}が入力されました`}case"invalid_value":return t.values.length===1?`無効な入力: ${P(t.values[0])}が期待されました`:`無効な選択: ${y(t.values,"、")}のいずれかである必要があります`;case"too_big":{const o=t.inclusive?"以下である":"より小さい",a=n(t.origin);return a?`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${a.unit??"要素"}${o}必要があります`:`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${o}必要があります`}case"too_small":{const o=t.inclusive?"以上である":"より大きい",a=n(t.origin);return a?`小さすぎる値: ${t.origin}は${t.minimum.toString()}${a.unit}${o}必要があります`:`小さすぎる値: ${t.origin}は${t.minimum.toString()}${o}必要があります`}case"invalid_format":{const o=t;return o.format==="starts_with"?`無効な文字列: "${o.prefix}"で始まる必要があります`:o.format==="ends_with"?`無効な文字列: "${o.suffix}"で終わる必要があります`:o.format==="includes"?`無効な文字列: "${o.includes}"を含む必要があります`:o.format==="regex"?`無効な文字列: パターン${o.pattern}に一致する必要があります`:`無効な${r[o.format]??t.format}`}case"not_multiple_of":return`無効な数値: ${t.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${t.keys.length>1?"群":""}: ${y(t.keys,"、")}`;case"invalid_key":return`${t.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${t.origin}内の無効な値`;default:return"無効な入力"}}};function Gb(){return{localeError:qb()}}const Kb=()=>{const e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function n(t){return e[t]??null}const r={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:"შეყვანა"},i={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${t.expected}, მიღებული ${c}`:`არასწორი შეყვანა: მოსალოდნელი ${o}, მიღებული ${c}`}case"invalid_value":return t.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${P(t.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${y(t.values,"|")}-დან`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} იყოს ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`ზედმეტად პატარა: მოსალოდნელი ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${t.origin} იყოს ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`არასწორი ველი: უნდა იწყებოდეს "${o.prefix}"-ით`:o.format==="ends_with"?`არასწორი ველი: უნდა მთავრდებოდეს "${o.suffix}"-ით`:o.format==="includes"?`არასწორი ველი: უნდა შეიცავდეს "${o.includes}"-ს`:o.format==="regex"?`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${o.pattern}`:`არასწორი ${r[o.format]??t.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${t.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${t.keys.length>1?"ები":"ი"}: ${y(t.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${t.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${t.origin}-ში`;default:return"არასწორი შეყვანა"}}};function Wb(){return{localeError:Kb()}}const Xb=()=>{const e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function n(t){return e[t]??null}const r={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:"ទិន្នន័យបញ្ចូល"},i={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${t.expected} ប៉ុន្តែទទួលបាន ${c}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${o} ប៉ុន្តែទទួលបាន ${c}`}case"invalid_value":return t.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${P(t.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${o} ${t.maximum.toString()} ${a.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${o} ${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`តូចពេក៖ ត្រូវការ ${t.origin} ${o} ${t.minimum.toString()} ${a.unit}`:`តូចពេក៖ ត្រូវការ ${t.origin} ${o} ${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${o.prefix}"`:o.format==="ends_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${o.suffix}"`:o.format==="includes"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${o.includes}"`:o.format==="regex"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${o.pattern}`:`មិនត្រឹមត្រូវ៖ ${r[o.format]??t.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${t.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${y(t.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function Qc(){return{localeError:Xb()}}function Hb(){return Qc()}const Yb=()=>{const e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function n(t){return e[t]??null}const r={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:"입력"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`잘못된 입력: 예상 타입은 instanceof ${t.expected}, 받은 타입은 ${c}입니다`:`잘못된 입력: 예상 타입은 ${o}, 받은 타입은 ${c}입니다`}case"invalid_value":return t.values.length===1?`잘못된 입력: 값은 ${P(t.values[0])} 이어야 합니다`:`잘못된 옵션: ${y(t.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const o=t.inclusive?"이하":"미만",a=o==="미만"?"이어야 합니다":"여야 합니다",c=n(t.origin),u=(c==null?void 0:c.unit)??"요소";return c?`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()}${u} ${o}${a}`:`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()} ${o}${a}`}case"too_small":{const o=t.inclusive?"이상":"초과",a=o==="이상"?"이어야 합니다":"여야 합니다",c=n(t.origin),u=(c==null?void 0:c.unit)??"요소";return c?`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()}${u} ${o}${a}`:`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()} ${o}${a}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`잘못된 문자열: "${o.prefix}"(으)로 시작해야 합니다`:o.format==="ends_with"?`잘못된 문자열: "${o.suffix}"(으)로 끝나야 합니다`:o.format==="includes"?`잘못된 문자열: "${o.includes}"을(를) 포함해야 합니다`:o.format==="regex"?`잘못된 문자열: 정규식 ${o.pattern} 패턴과 일치해야 합니다`:`잘못된 ${r[o.format]??t.format}`}case"not_multiple_of":return`잘못된 숫자: ${t.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${y(t.keys,", ")}`;case"invalid_key":return`잘못된 키: ${t.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${t.origin}`;default:return"잘못된 입력"}}};function Qb(){return{localeError:Yb()}}const mt=e=>e.charAt(0).toUpperCase()+e.slice(1);function es(e){const n=Math.abs(e),r=n%10,i=n%100;return i>=11&&i<=19||r===0?"many":r===1?"one":"few"}const e_=()=>{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 n(t,o,a,c){const u=e[t]??null;return u===null?u:{unit:u.unit[o],verb:u.verb[c][a?"inclusive":"notInclusive"]}}const r={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"},i={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Gautas tipas ${c}, o tikėtasi - instanceof ${t.expected}`:`Gautas tipas ${c}, o tikėtasi - ${o}`}case"invalid_value":return t.values.length===1?`Privalo būti ${P(t.values[0])}`:`Privalo būti vienas iš ${y(t.values,"|")} pasirinkimų`;case"too_big":{const o=i[t.origin]??t.origin,a=n(t.origin,es(Number(t.maximum)),t.inclusive??!1,"smaller");if(a!=null&&a.verb)return`${mt(o??t.origin??"reikšmė")} ${a.verb} ${t.maximum.toString()} ${a.unit??"elementų"}`;const c=t.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${mt(o??t.origin??"reikšmė")} turi būti ${c} ${t.maximum.toString()} ${a==null?void 0:a.unit}`}case"too_small":{const o=i[t.origin]??t.origin,a=n(t.origin,es(Number(t.minimum)),t.inclusive??!1,"bigger");if(a!=null&&a.verb)return`${mt(o??t.origin??"reikšmė")} ${a.verb} ${t.minimum.toString()} ${a.unit??"elementų"}`;const c=t.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${mt(o??t.origin??"reikšmė")} turi būti ${c} ${t.minimum.toString()} ${a==null?void 0:a.unit}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Eilutė privalo prasidėti "${o.prefix}"`:o.format==="ends_with"?`Eilutė privalo pasibaigti "${o.suffix}"`:o.format==="includes"?`Eilutė privalo įtraukti "${o.includes}"`:o.format==="regex"?`Eilutė privalo atitikti ${o.pattern}`:`Neteisingas ${r[o.format]??t.format}`}case"not_multiple_of":return`Skaičius privalo būti ${t.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${t.keys.length>1?"i":"as"} rakt${t.keys.length>1?"ai":"as"}: ${y(t.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{const o=i[t.origin]??t.origin;return`${mt(o??t.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function t_(){return{localeError:e_()}}const n_=()=>{const e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function n(t){return e[t]??null}const r={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:"внес"},i={nan:"NaN",number:"број",array:"низа"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Грешен внес: се очекува instanceof ${t.expected}, примено ${c}`:`Грешен внес: се очекува ${o}, примено ${c}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${P(t.values[0])}`:`Грешана опција: се очекува една ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Премногу голем: се очекува ${t.origin??"вредноста"} да има ${o}${t.maximum.toString()} ${a.unit??"елементи"}`:`Премногу голем: се очекува ${t.origin??"вредноста"} да биде ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Премногу мал: се очекува ${t.origin} да има ${o}${t.minimum.toString()} ${a.unit}`:`Премногу мал: се очекува ${t.origin} да биде ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Неважечка низа: мора да започнува со "${o.prefix}"`:o.format==="ends_with"?`Неважечка низа: мора да завршува со "${o.suffix}"`:o.format==="includes"?`Неважечка низа: мора да вклучува "${o.includes}"`:o.format==="regex"?`Неважечка низа: мора да одгоара на патернот ${o.pattern}`:`Invalid ${r[o.format]??t.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${y(t.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${t.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${t.origin}`;default:return"Грешен внес"}}};function r_(){return{localeError:n_()}}const o_=()=>{const e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"nombor"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak sah: dijangka instanceof ${t.expected}, diterima ${c}`:`Input tidak sah: dijangka ${o}, diterima ${c}`}case"invalid_value":return t.values.length===1?`Input tidak sah: dijangka ${P(t.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Terlalu besar: dijangka ${t.origin??"nilai"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${t.origin??"nilai"} adalah ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Terlalu kecil: dijangka ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${t.origin} adalah ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`String tidak sah: mesti bermula dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak sah: mesti mengandungi "${o.includes}"`:o.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${o.pattern}`:`${r[o.format]??t.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${y(t.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${t.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${t.origin}`;default:return"Input tidak sah"}}};function i_(){return{localeError:o_()}}const a_=()=>{const e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"getal"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ongeldige invoer: verwacht instanceof ${t.expected}, ontving ${c}`:`Ongeldige invoer: verwacht ${o}, ontving ${c}`}case"invalid_value":return t.values.length===1?`Ongeldige invoer: verwacht ${P(t.values[0])}`:`Ongeldige optie: verwacht één van ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin),c=t.origin==="date"?"laat":t.origin==="string"?"lang":"groot";return a?`Te ${c}: verwacht dat ${t.origin??"waarde"} ${o}${t.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${c}: verwacht dat ${t.origin??"waarde"} ${o}${t.maximum.toString()} is`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin),c=t.origin==="date"?"vroeg":t.origin==="string"?"kort":"klein";return a?`Te ${c}: verwacht dat ${t.origin} ${o}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${c}: verwacht dat ${t.origin} ${o}${t.minimum.toString()} is`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ongeldige tekst: moet met "${o.prefix}" beginnen`:o.format==="ends_with"?`Ongeldige tekst: moet op "${o.suffix}" eindigen`:o.format==="includes"?`Ongeldige tekst: moet "${o.includes}" bevatten`:o.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${o.pattern}`:`Ongeldig: ${r[o.format]??t.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${t.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${t.keys.length>1?"s":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${t.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${t.origin}`;default:return"Ongeldige invoer"}}};function l_(){return{localeError:a_()}}const c_=()=>{const e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"tall",array:"liste"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldig input: forventet instanceof ${t.expected}, fikk ${c}`:`Ugyldig input: forventet ${o}, fikk ${c}`}case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventet ${P(t.values[0])}`:`Ugyldig valg: forventet en av ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`For stor(t): forventet ${t.origin??"value"} til å ha ${o}${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${t.origin??"value"} til å ha ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`For lite(n): forventet ${t.origin} til å ha ${o}${t.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${t.origin} til å ha ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ugyldig streng: må starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: må ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: må inneholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: må matche mønsteret ${o.pattern}`:`Ugyldig ${r[o.format]??t.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${y(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}};function s_(){return{localeError:c_()}}const u_=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Fâsit giren: umulan instanceof ${t.expected}, alınan ${c}`:`Fâsit giren: umulan ${o}, alınan ${c}`}case"invalid_value":return t.values.length===1?`Fâsit giren: umulan ${P(t.values[0])}`:`Fâsit tercih: mûteberler ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Fazla büyük: ${t.origin??"value"}, ${o}${t.maximum.toString()} ${a.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${t.origin??"value"}, ${o}${t.maximum.toString()} olmalıydı.`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Fazla küçük: ${t.origin}, ${o}${t.minimum.toString()} ${a.unit} sahip olmalıydı.`:`Fazla küçük: ${t.origin}, ${o}${t.minimum.toString()} olmalıydı.`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Fâsit metin: "${o.prefix}" ile başlamalı.`:o.format==="ends_with"?`Fâsit metin: "${o.suffix}" ile bitmeli.`:o.format==="includes"?`Fâsit metin: "${o.includes}" ihtivâ etmeli.`:o.format==="regex"?`Fâsit metin: ${o.pattern} nakşına uymalı.`:`Fâsit ${r[o.format]??t.format}`}case"not_multiple_of":return`Fâsit sayı: ${t.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${t.keys.length>1?"s":""}: ${y(t.keys,", ")}`;case"invalid_key":return`${t.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${t.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function d_(){return{localeError:u_()}}const m_=()=>{const e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function n(t){return e[t]??null}const r={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:"ورودي"},i={nan:"NaN",number:"عدد",array:"ارې"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`ناسم ورودي: باید instanceof ${t.expected} وای, مګر ${c} ترلاسه شو`:`ناسم ورودي: باید ${o} وای, مګر ${c} ترلاسه شو`}case"invalid_value":return t.values.length===1?`ناسم ورودي: باید ${P(t.values[0])} وای`:`ناسم انتخاب: باید یو له ${y(t.values,"|")} څخه وای`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`ډیر لوی: ${t.origin??"ارزښت"} باید ${o}${t.maximum.toString()} ${a.unit??"عنصرونه"} ولري`:`ډیر لوی: ${t.origin??"ارزښت"} باید ${o}${t.maximum.toString()} وي`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`ډیر کوچنی: ${t.origin} باید ${o}${t.minimum.toString()} ${a.unit} ولري`:`ډیر کوچنی: ${t.origin} باید ${o}${t.minimum.toString()} وي`}case"invalid_format":{const o=t;return o.format==="starts_with"?`ناسم متن: باید د "${o.prefix}" سره پیل شي`:o.format==="ends_with"?`ناسم متن: باید د "${o.suffix}" سره پای ته ورسيږي`:o.format==="includes"?`ناسم متن: باید "${o.includes}" ولري`:o.format==="regex"?`ناسم متن: باید د ${o.pattern} سره مطابقت ولري`:`${r[o.format]??t.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${t.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${t.keys.length>1?"کلیډونه":"کلیډ"}: ${y(t.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${t.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${t.origin} کې`;default:return"ناسمه ورودي"}}};function f_(){return{localeError:m_()}}const p_=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"liczba",array:"tablica"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${t.expected}, otrzymano ${c}`:`Nieprawidłowe dane wejściowe: oczekiwano ${o}, otrzymano ${c}`}case"invalid_value":return t.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${P(t.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Za duża wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${o}${t.maximum.toString()} ${a.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Za mała wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${o}${t.minimum.toString()} ${a.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${o.prefix}"`:o.format==="ends_with"?`Nieprawidłowy ciąg znaków: musi kończyć się na "${o.suffix}"`:o.format==="includes"?`Nieprawidłowy ciąg znaków: musi zawierać "${o.includes}"`:o.format==="regex"?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${o.pattern}`:`Nieprawidłow(y/a/e) ${r[o.format]??t.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${t.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${t.keys.length>1?"s":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${t.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${t.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function g_(){return{localeError:p_()}}const v_=()=>{const e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"número",null:"nulo"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Tipo inválido: esperado instanceof ${t.expected}, recebido ${c}`:`Tipo inválido: esperado ${o}, recebido ${c}`}case"invalid_value":return t.values.length===1?`Entrada inválida: esperado ${P(t.values[0])}`:`Opção inválida: esperada uma das ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Muito grande: esperado que ${t.origin??"valor"} tivesse ${o}${t.maximum.toString()} ${a.unit??"elementos"}`:`Muito grande: esperado que ${t.origin??"valor"} fosse ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Muito pequeno: esperado que ${t.origin} tivesse ${o}${t.minimum.toString()} ${a.unit}`:`Muito pequeno: esperado que ${t.origin} fosse ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Texto inválido: deve começar com "${o.prefix}"`:o.format==="ends_with"?`Texto inválido: deve terminar com "${o.suffix}"`:o.format==="includes"?`Texto inválido: deve incluir "${o.includes}"`:o.format==="regex"?`Texto inválido: deve corresponder ao padrão ${o.pattern}`:`${r[o.format]??t.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Chave${t.keys.length>1?"s":""} desconhecida${t.keys.length>1?"s":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Chave inválida em ${t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${t.origin}`;default:return"Campo inválido"}}};function h_(){return{localeError:v_()}}const $_=()=>{const e={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function n(t){return e[t]??null}const r={regex:"intrare",email:"adresă de 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:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},i={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return`Intrare invalidă: așteptat ${o}, primit ${c}`}case"invalid_value":return t.values.length===1?`Intrare invalidă: așteptat ${P(t.values[0])}`:`Opțiune invalidă: așteptat una dintre ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Prea mare: așteptat ca ${t.origin??"valoarea"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"elemente"}`:`Prea mare: așteptat ca ${t.origin??"valoarea"} să fie ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Prea mic: așteptat ca ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Prea mic: așteptat ca ${t.origin} să fie ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Șir invalid: trebuie să înceapă cu "${o.prefix}"`:o.format==="ends_with"?`Șir invalid: trebuie să se termine cu "${o.suffix}"`:o.format==="includes"?`Șir invalid: trebuie să includă "${o.includes}"`:o.format==="regex"?`Șir invalid: trebuie să se potrivească cu modelul ${o.pattern}`:`Format invalid: ${r[o.format]??t.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${t.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${y(t.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${t.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${t.origin}`;default:return"Intrare invalidă"}}};function b_(){return{localeError:$_()}}function ts(e,n,r,i){const t=Math.abs(e),o=t%10,a=t%100;return a>=11&&a<=19?i:o===1?n:o>=2&&o<=4?r:i}const __=()=>{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 n(t){return e[t]??null}const r={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:"ввод"},i={nan:"NaN",number:"число",array:"массив"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Неверный ввод: ожидалось instanceof ${t.expected}, получено ${c}`:`Неверный ввод: ожидалось ${o}, получено ${c}`}case"invalid_value":return t.values.length===1?`Неверный ввод: ожидалось ${P(t.values[0])}`:`Неверный вариант: ожидалось одно из ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);if(a){const c=Number(t.maximum),u=ts(c,a.unit.one,a.unit.few,a.unit.many);return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет иметь ${o}${t.maximum.toString()} ${u}`}return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);if(a){const c=Number(t.minimum),u=ts(c,a.unit.one,a.unit.few,a.unit.many);return`Слишком маленькое значение: ожидалось, что ${t.origin} будет иметь ${o}${t.minimum.toString()} ${u}`}return`Слишком маленькое значение: ожидалось, что ${t.origin} будет ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Неверная строка: должна начинаться с "${o.prefix}"`:o.format==="ends_with"?`Неверная строка: должна заканчиваться на "${o.suffix}"`:o.format==="includes"?`Неверная строка: должна содержать "${o.includes}"`:o.format==="regex"?`Неверная строка: должна соответствовать шаблону ${o.pattern}`:`Неверный ${r[o.format]??t.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспознанн${t.keys.length>1?"ые":"ый"} ключ${t.keys.length>1?"и":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${t.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${t.origin}`;default:return"Неверные входные данные"}}};function y_(){return{localeError:__()}}const k_=()=>{const e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"število",array:"tabela"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Neveljaven vnos: pričakovano instanceof ${t.expected}, prejeto ${c}`:`Neveljaven vnos: pričakovano ${o}, prejeto ${c}`}case"invalid_value":return t.values.length===1?`Neveljaven vnos: pričakovano ${P(t.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} imelo ${o}${t.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Premajhno: pričakovano, da bo ${t.origin} imelo ${o}${t.minimum.toString()} ${a.unit}`:`Premajhno: pričakovano, da bo ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Neveljaven niz: mora se začeti z "${o.prefix}"`:o.format==="ends_with"?`Neveljaven niz: mora se končati z "${o.suffix}"`:o.format==="includes"?`Neveljaven niz: mora vsebovati "${o.includes}"`:o.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${o.pattern}`:`Neveljaven ${r[o.format]??t.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${t.divisor}`;case"unrecognized_keys":return`Neprepoznan${t.keys.length>1?"i ključi":" ključ"}: ${y(t.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${t.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${t.origin}`;default:return"Neveljaven vnos"}}};function S_(){return{localeError:k_()}}const w_=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"antal",array:"lista"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ogiltig inmatning: förväntat instanceof ${t.expected}, fick ${c}`:`Ogiltig inmatning: förväntat ${o}, fick ${c}`}case"invalid_value":return t.values.length===1?`Ogiltig inmatning: förväntat ${P(t.values[0])}`:`Ogiltigt val: förväntade en av ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`För stor(t): förväntade ${t.origin??"värdet"} att ha ${o}${t.maximum.toString()} ${a.unit??"element"}`:`För stor(t): förväntat ${t.origin??"värdet"} att ha ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`För lite(t): förväntade ${t.origin??"värdet"} att ha ${o}${t.minimum.toString()} ${a.unit}`:`För lite(t): förväntade ${t.origin??"värdet"} att ha ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ogiltig sträng: måste börja med "${o.prefix}"`:o.format==="ends_with"?`Ogiltig sträng: måste sluta med "${o.suffix}"`:o.format==="includes"?`Ogiltig sträng: måste innehålla "${o.includes}"`:o.format==="regex"?`Ogiltig sträng: måste matcha mönstret "${o.pattern}"`:`Ogiltig(t) ${r[o.format]??t.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${y(t.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${t.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${t.origin??"värdet"}`;default:return"Ogiltig input"}}};function I_(){return{localeError:w_()}}const z_=()=>{const e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${t.expected}, பெறப்பட்டது ${c}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${o}, பெறப்பட்டது ${c}`}case"invalid_value":return t.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${P(t.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${y(t.values,"|")} இல் ஒன்று`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${o}${t.maximum.toString()} ${a.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${o}${t.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${o}${t.minimum.toString()} ${a.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${o}${t.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{const o=t;return o.format==="starts_with"?`தவறான சரம்: "${o.prefix}" இல் தொடங்க வேண்டும்`:o.format==="ends_with"?`தவறான சரம்: "${o.suffix}" இல் முடிவடைய வேண்டும்`:o.format==="includes"?`தவறான சரம்: "${o.includes}" ஐ உள்ளடக்க வேண்டும்`:o.format==="regex"?`தவறான சரம்: ${o.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${r[o.format]??t.format}`}case"not_multiple_of":return`தவறான எண்: ${t.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${t.keys.length>1?"கள்":""}: ${y(t.keys,", ")}`;case"invalid_key":return`${t.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${t.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function E_(){return{localeError:z_()}}const N_=()=>{const e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function n(t){return e[t]??null}const r={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:"ข้อมูลที่ป้อน"},i={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${t.expected} แต่ได้รับ ${c}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${o} แต่ได้รับ ${c}`}case"invalid_value":return t.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${P(t.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"ไม่เกิน":"น้อยกว่า",a=n(t.origin);return a?`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${o} ${t.maximum.toString()} ${a.unit??"รายการ"}`:`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${o} ${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?"อย่างน้อย":"มากกว่า",a=n(t.origin);return a?`น้อยกว่ากำหนด: ${t.origin} ควรมี${o} ${t.minimum.toString()} ${a.unit}`:`น้อยกว่ากำหนด: ${t.origin} ควรมี${o} ${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${o.prefix}"`:o.format==="ends_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${o.suffix}"`:o.format==="includes"?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${o.includes}" อยู่ในข้อความ`:o.format==="regex"?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${o.pattern}`:`รูปแบบไม่ถูกต้อง: ${r[o.format]??t.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${t.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${y(t.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${t.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${t.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function D_(){return{localeError:N_()}}const O_=()=>{const e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Geçersiz değer: beklenen instanceof ${t.expected}, alınan ${c}`:`Geçersiz değer: beklenen ${o}, alınan ${c}`}case"invalid_value":return t.values.length===1?`Geçersiz değer: beklenen ${P(t.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Çok büyük: beklenen ${t.origin??"değer"} ${o}${t.maximum.toString()} ${a.unit??"öğe"}`:`Çok büyük: beklenen ${t.origin??"değer"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Çok küçük: beklenen ${t.origin} ${o}${t.minimum.toString()} ${a.unit}`:`Çok küçük: beklenen ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Geçersiz metin: "${o.prefix}" ile başlamalı`:o.format==="ends_with"?`Geçersiz metin: "${o.suffix}" ile bitmeli`:o.format==="includes"?`Geçersiz metin: "${o.includes}" içermeli`:o.format==="regex"?`Geçersiz metin: ${o.pattern} desenine uymalı`:`Geçersiz ${r[o.format]??t.format}`}case"not_multiple_of":return`Geçersiz sayı: ${t.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${t.keys.length>1?"lar":""}: ${y(t.keys,", ")}`;case"invalid_key":return`${t.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${t.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function j_(){return{localeError:O_()}}const C_=()=>{const e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function n(t){return e[t]??null}const r={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:"вхідні дані"},i={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Неправильні вхідні дані: очікується instanceof ${t.expected}, отримано ${c}`:`Неправильні вхідні дані: очікується ${o}, отримано ${c}`}case"invalid_value":return t.values.length===1?`Неправильні вхідні дані: очікується ${P(t.values[0])}`:`Неправильна опція: очікується одне з ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Занадто велике: очікується, що ${t.origin??"значення"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"елементів"}`:`Занадто велике: очікується, що ${t.origin??"значення"} буде ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Занадто мале: очікується, що ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Занадто мале: очікується, що ${t.origin} буде ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Неправильний рядок: повинен починатися з "${o.prefix}"`:o.format==="ends_with"?`Неправильний рядок: повинен закінчуватися на "${o.suffix}"`:o.format==="includes"?`Неправильний рядок: повинен містити "${o.includes}"`:o.format==="regex"?`Неправильний рядок: повинен відповідати шаблону ${o.pattern}`:`Неправильний ${r[o.format]??t.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${t.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${t.keys.length>1?"і":""}: ${y(t.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${t.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${t.origin}`;default:return"Неправильні вхідні дані"}}};function ns(){return{localeError:C_()}}function T_(){return ns()}const x_=()=>{const e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function n(t){return e[t]??null}const r={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:"ان پٹ"},i={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`غلط ان پٹ: instanceof ${t.expected} متوقع تھا، ${c} موصول ہوا`:`غلط ان پٹ: ${o} متوقع تھا، ${c} موصول ہوا`}case"invalid_value":return t.values.length===1?`غلط ان پٹ: ${P(t.values[0])} متوقع تھا`:`غلط آپشن: ${y(t.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`بہت بڑا: ${t.origin??"ویلیو"} کے ${o}${t.maximum.toString()} ${a.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${t.origin??"ویلیو"} کا ${o}${t.maximum.toString()} ہونا متوقع تھا`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`بہت چھوٹا: ${t.origin} کے ${o}${t.minimum.toString()} ${a.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${t.origin} کا ${o}${t.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{const o=t;return o.format==="starts_with"?`غلط سٹرنگ: "${o.prefix}" سے شروع ہونا چاہیے`:o.format==="ends_with"?`غلط سٹرنگ: "${o.suffix}" پر ختم ہونا چاہیے`:o.format==="includes"?`غلط سٹرنگ: "${o.includes}" شامل ہونا چاہیے`:o.format==="regex"?`غلط سٹرنگ: پیٹرن ${o.pattern} سے میچ ہونا چاہیے`:`غلط ${r[o.format]??t.format}`}case"not_multiple_of":return`غلط نمبر: ${t.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${t.keys.length>1?"ز":""}: ${y(t.keys,"، ")}`;case"invalid_key":return`${t.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${t.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function U_(){return{localeError:x_()}}const A_=()=>{const e={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function n(t){return e[t]??null}const r={regex:"kirish",email:"elektron pochta manzili",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 sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},i={nan:"NaN",number:"raqam",array:"massiv"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${t.expected}, qabul qilingan ${c}`:`Noto‘g‘ri kirish: kutilgan ${o}, qabul qilingan ${c}`}case"invalid_value":return t.values.length===1?`Noto‘g‘ri kirish: kutilgan ${P(t.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Juda katta: kutilgan ${t.origin??"qiymat"} ${o}${t.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${t.origin??"qiymat"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Juda kichik: kutilgan ${t.origin} ${o}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Noto‘g‘ri satr: "${o.prefix}" bilan boshlanishi kerak`:o.format==="ends_with"?`Noto‘g‘ri satr: "${o.suffix}" bilan tugashi kerak`:o.format==="includes"?`Noto‘g‘ri satr: "${o.includes}" ni o‘z ichiga olishi kerak`:o.format==="regex"?`Noto‘g‘ri satr: ${o.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${r[o.format]??t.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${t.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${t.keys.length>1?"lar":""}: ${y(t.keys,", ")}`;case"invalid_key":return`${t.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${t.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function P_(){return{localeError:A_()}}const V_=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"số",array:"mảng"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${t.expected}, nhận được ${c}`:`Đầu vào không hợp lệ: mong đợi ${o}, nhận được ${c}`}case"invalid_value":return t.values.length===1?`Đầu vào không hợp lệ: mong đợi ${P(t.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Quá lớn: mong đợi ${t.origin??"giá trị"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"phần tử"}`:`Quá lớn: mong đợi ${t.origin??"giá trị"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Quá nhỏ: mong đợi ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Quá nhỏ: mong đợi ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Chuỗi không hợp lệ: phải bắt đầu bằng "${o.prefix}"`:o.format==="ends_with"?`Chuỗi không hợp lệ: phải kết thúc bằng "${o.suffix}"`:o.format==="includes"?`Chuỗi không hợp lệ: phải bao gồm "${o.includes}"`:o.format==="regex"?`Chuỗi không hợp lệ: phải khớp với mẫu ${o.pattern}`:`${r[o.format]??t.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 ${t.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${y(t.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${t.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${t.origin}`;default:return"Đầu vào không hợp lệ"}}};function B_(){return{localeError:V_()}}const Z_=()=>{const e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function n(t){return e[t]??null}const r={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:"输入"},i={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`无效输入:期望 instanceof ${t.expected},实际接收 ${c}`:`无效输入:期望 ${o},实际接收 ${c}`}case"invalid_value":return t.values.length===1?`无效输入:期望 ${P(t.values[0])}`:`无效选项:期望以下之一 ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`数值过大:期望 ${t.origin??"值"} ${o}${t.maximum.toString()} ${a.unit??"个元素"}`:`数值过大:期望 ${t.origin??"值"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`数值过小:期望 ${t.origin} ${o}${t.minimum.toString()} ${a.unit}`:`数值过小:期望 ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`无效字符串:必须以 "${o.prefix}" 开头`:o.format==="ends_with"?`无效字符串:必须以 "${o.suffix}" 结尾`:o.format==="includes"?`无效字符串:必须包含 "${o.includes}"`:o.format==="regex"?`无效字符串:必须满足正则表达式 ${o.pattern}`:`无效${r[o.format]??t.format}`}case"not_multiple_of":return`无效数字:必须是 ${t.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${y(t.keys,", ")}`;case"invalid_key":return`${t.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${t.origin} 中包含无效值(value)`;default:return"无效输入"}}};function M_(){return{localeError:Z_()}}const F_=()=>{const e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function n(t){return e[t]??null}const r={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:"輸入"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`無效的輸入值:預期為 instanceof ${t.expected},但收到 ${c}`:`無效的輸入值:預期為 ${o},但收到 ${c}`}case"invalid_value":return t.values.length===1?`無效的輸入值:預期為 ${P(t.values[0])}`:`無效的選項:預期為以下其中之一 ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`數值過大:預期 ${t.origin??"值"} 應為 ${o}${t.maximum.toString()} ${a.unit??"個元素"}`:`數值過大:預期 ${t.origin??"值"} 應為 ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`數值過小:預期 ${t.origin} 應為 ${o}${t.minimum.toString()} ${a.unit}`:`數值過小:預期 ${t.origin} 應為 ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`無效的字串:必須以 "${o.prefix}" 開頭`:o.format==="ends_with"?`無效的字串:必須以 "${o.suffix}" 結尾`:o.format==="includes"?`無效的字串:必須包含 "${o.includes}"`:o.format==="regex"?`無效的字串:必須符合格式 ${o.pattern}`:`無效的 ${r[o.format]??t.format}`}case"not_multiple_of":return`無效的數字:必須為 ${t.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${t.keys.length>1?"們":""}:${y(t.keys,"、")}`;case"invalid_key":return`${t.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${t.origin} 中有無效的值`;default:return"無效的輸入值"}}};function L_(){return{localeError:F_()}}const R_=()=>{const e={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function n(t){return e[t]??null}const r={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é"},i={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${t.expected}, àmọ̀ a rí ${c}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${o}, àmọ̀ a rí ${c}`}case"invalid_value":return t.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${P(t.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${y(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Tó pọ̀ jù: a ní láti jẹ́ pé ${t.origin??"iye"} ${a.verb} ${o}${t.maximum} ${a.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${o}${t.maximum}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Kéré ju: a ní láti jẹ́ pé ${t.origin} ${a.verb} ${o}${t.minimum} ${a.unit}`:`Kéré ju: a ní láti jẹ́ ${o}${t.minimum}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${o.prefix}"`:o.format==="ends_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${o.suffix}"`:o.format==="includes"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${o.includes}"`:o.format==="regex"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${o.pattern}`:`Aṣìṣe: ${r[o.format]??t.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${t.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${y(t.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${t.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${t.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function J_(){return{localeError:R_()}}const rs=Object.freeze(Object.defineProperty({__proto__:null,ar:nb,az:ob,be:ab,bg:cb,ca:ub,cs:mb,da:pb,de:vb,el:$b,en:Hc,eo:yb,es:Sb,fa:Ib,fi:Eb,fr:Db,frCA:jb,he:Tb,hr:Ub,hu:Pb,hy:Bb,id:Mb,is:Lb,it:Jb,ja:Gb,ka:Wb,kh:Hb,km:Qc,ko:Qb,lt:t_,mk:r_,ms:i_,nl:l_,no:s_,ota:d_,pl:g_,ps:f_,pt:h_,ro:b_,ru:y_,sl:S_,sv:I_,ta:E_,th:D_,tr:j_,ua:T_,uk:ns,ur:U_,uz:P_,vi:B_,yo:J_,zhCN:M_,zhTW:L_},Symbol.toStringTag,{value:"Module"}));var os;const is=Symbol("ZodOutput"),as=Symbol("ZodInput");class ls{constructor(){this._map=new WeakMap,this._idmap=new Map}add(n,...r){const i=r[0];return this._map.set(n,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,n),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(n){const r=this._map.get(n);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(n),this}get(n){const r=n._zod.parent;if(r){const i={...this.get(r)??{}};delete i.id;const t={...i,...this._map.get(n)};return Object.keys(t).length?t:void 0}return this._map.get(n)}has(n){return this._map.has(n)}}function Cr(){return new ls}(os=globalThis).__zod_globalRegistry??(os.__zod_globalRegistry=Cr());const _e=globalThis.__zod_globalRegistry;function cs(e,n){return new e({type:"string",..._(n)})}function ss(e,n){return new e({type:"string",coerce:!0,..._(n)})}function Tr(e,n){return new e({type:"string",format:"email",check:"string_format",abort:!1,..._(n)})}function en(e,n){return new e({type:"string",format:"guid",check:"string_format",abort:!1,..._(n)})}function xr(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,..._(n)})}function Ur(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",..._(n)})}function Ar(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",..._(n)})}function Pr(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",..._(n)})}function tn(e,n){return new e({type:"string",format:"url",check:"string_format",abort:!1,..._(n)})}function Vr(e,n){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,..._(n)})}function Br(e,n){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,..._(n)})}function Zr(e,n){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,..._(n)})}function Mr(e,n){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,..._(n)})}function Fr(e,n){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,..._(n)})}function Lr(e,n){return new e({type:"string",format:"xid",check:"string_format",abort:!1,..._(n)})}function Rr(e,n){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,..._(n)})}function Jr(e,n){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,..._(n)})}function qr(e,n){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,..._(n)})}function us(e,n){return new e({type:"string",format:"mac",check:"string_format",abort:!1,..._(n)})}function Gr(e,n){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,..._(n)})}function Kr(e,n){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,..._(n)})}function Wr(e,n){return new e({type:"string",format:"base64",check:"string_format",abort:!1,..._(n)})}function Xr(e,n){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,..._(n)})}function Hr(e,n){return new e({type:"string",format:"e164",check:"string_format",abort:!1,..._(n)})}function Yr(e,n){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,..._(n)})}const ds={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function ms(e,n){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,..._(n)})}function fs(e,n){return new e({type:"string",format:"date",check:"string_format",..._(n)})}function ps(e,n){return new e({type:"string",format:"time",check:"string_format",precision:null,..._(n)})}function gs(e,n){return new e({type:"string",format:"duration",check:"string_format",..._(n)})}function vs(e,n){return new e({type:"number",checks:[],..._(n)})}function hs(e,n){return new e({type:"number",coerce:!0,checks:[],..._(n)})}function $s(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",..._(n)})}function bs(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float32",..._(n)})}function _s(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float64",..._(n)})}function ys(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"int32",..._(n)})}function ks(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",..._(n)})}function Ss(e,n){return new e({type:"boolean",..._(n)})}function ws(e,n){return new e({type:"boolean",coerce:!0,..._(n)})}function Is(e,n){return new e({type:"bigint",..._(n)})}function zs(e,n){return new e({type:"bigint",coerce:!0,..._(n)})}function Es(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",..._(n)})}function Ns(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",..._(n)})}function Ds(e,n){return new e({type:"symbol",..._(n)})}function Os(e,n){return new e({type:"undefined",..._(n)})}function js(e,n){return new e({type:"null",..._(n)})}function Cs(e){return new e({type:"any"})}function Ts(e){return new e({type:"unknown"})}function xs(e,n){return new e({type:"never",..._(n)})}function Us(e,n){return new e({type:"void",..._(n)})}function As(e,n){return new e({type:"date",..._(n)})}function Ps(e,n){return new e({type:"date",coerce:!0,..._(n)})}function Vs(e,n){return new e({type:"nan",..._(n)})}function Oe(e,n){return new yr({check:"less_than",..._(n),value:e,inclusive:!1})}function ye(e,n){return new yr({check:"less_than",..._(n),value:e,inclusive:!0})}function je(e,n){return new kr({check:"greater_than",..._(n),value:e,inclusive:!1})}function fe(e,n){return new kr({check:"greater_than",..._(n),value:e,inclusive:!0})}function Qr(e){return je(0,e)}function eo(e){return Oe(0,e)}function to(e){return ye(0,e)}function no(e){return fe(0,e)}function qe(e,n){return new nl({check:"multiple_of",..._(n),value:e})}function Ge(e,n){return new il({check:"max_size",..._(n),maximum:e})}function Ce(e,n){return new al({check:"min_size",..._(n),minimum:e})}function ft(e,n){return new ll({check:"size_equals",..._(n),size:e})}function pt(e,n){return new cl({check:"max_length",..._(n),maximum:e})}function Ve(e,n){return new sl({check:"min_length",..._(n),minimum:e})}function gt(e,n){return new ul({check:"length_equals",..._(n),length:e})}function nn(e,n){return new dl({check:"string_format",format:"regex",..._(n),pattern:e})}function rn(e){return new ml({check:"string_format",format:"lowercase",..._(e)})}function on(e){return new fl({check:"string_format",format:"uppercase",..._(e)})}function an(e,n){return new pl({check:"string_format",format:"includes",..._(n),includes:e})}function ln(e,n){return new gl({check:"string_format",format:"starts_with",..._(n),prefix:e})}function cn(e,n){return new vl({check:"string_format",format:"ends_with",..._(n),suffix:e})}function ro(e,n,r){return new $l({check:"property",property:e,schema:n,..._(r)})}function sn(e,n){return new bl({check:"mime_type",mime:e,..._(n)})}function Ee(e){return new _l({check:"overwrite",tx:e})}function un(e){return Ee(n=>n.normalize(e))}function dn(){return Ee(e=>e.trim())}function mn(){return Ee(e=>e.toLowerCase())}function fn(){return Ee(e=>e.toUpperCase())}function pn(){return Ee(e=>Yi(e))}function Bs(e,n,r){return new e({type:"array",element:n,..._(r)})}function q_(e,n,r){return new e({type:"union",options:n,..._(r)})}function G_(e,n,r){return new e({type:"union",options:n,inclusive:!1,..._(r)})}function K_(e,n,r,i){return new e({type:"union",options:r,discriminator:n,..._(i)})}function W_(e,n,r){return new e({type:"intersection",left:n,right:r})}function X_(e,n,r,i){const t=r instanceof R,o=t?i:r,a=t?r:null;return new e({type:"tuple",items:n,rest:a,..._(o)})}function H_(e,n,r,i){return new e({type:"record",keyType:n,valueType:r,..._(i)})}function Y_(e,n,r,i){return new e({type:"map",keyType:n,valueType:r,..._(i)})}function Q_(e,n,r){return new e({type:"set",valueType:n,..._(r)})}function ey(e,n,r){const i=Array.isArray(n)?Object.fromEntries(n.map(t=>[t,t])):n;return new e({type:"enum",entries:i,..._(r)})}function ty(e,n,r){return new e({type:"enum",entries:n,..._(r)})}function ny(e,n,r){return new e({type:"literal",values:Array.isArray(n)?n:[n],..._(r)})}function Zs(e,n){return new e({type:"file",..._(n)})}function ry(e,n){return new e({type:"transform",transform:n})}function oy(e,n){return new e({type:"optional",innerType:n})}function iy(e,n){return new e({type:"nullable",innerType:n})}function ay(e,n,r){return new e({type:"default",innerType:n,get defaultValue(){return typeof r=="function"?r():Jt(r)}})}function ly(e,n,r){return new e({type:"nonoptional",innerType:n,..._(r)})}function cy(e,n){return new e({type:"success",innerType:n})}function sy(e,n,r){return new e({type:"catch",innerType:n,catchValue:typeof r=="function"?r:()=>r})}function uy(e,n,r){return new e({type:"pipe",in:n,out:r})}function dy(e,n){return new e({type:"readonly",innerType:n})}function my(e,n,r){return new e({type:"template_literal",parts:n,..._(r)})}function fy(e,n){return new e({type:"lazy",getter:n})}function py(e,n){return new e({type:"promise",innerType:n})}function Ms(e,n,r){const i=_(r);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:n,...i})}function Fs(e,n,r){return new e({type:"custom",check:"custom",fn:n,..._(r)})}function Ls(e,n){const r=Rs(i=>(i.addIssue=t=>{if(typeof t=="string")i.issues.push(Le(t,i.value,r._zod.def));else{const o=t;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=i.value),o.inst??(o.inst=r),o.continue??(o.continue=!r._zod.def.abort),i.issues.push(Le(o))}},e(i.value,i)),n);return r}function Rs(e,n){const r=new te({check:"custom",..._(n)});return r._zod.check=e,r}function Js(e){const n=new te({check:"describe"});return n._zod.onattach=[r=>{const i=_e.get(r)??{};_e.add(r,{...i,description:e})}],n._zod.check=()=>{},n}function qs(e){const n=new te({check:"meta"});return n._zod.onattach=[r=>{const i=_e.get(r)??{};_e.add(r,{...i,...e})}],n._zod.check=()=>{},n}function Gs(e,n){const r=_(n);let i=r.truthy??["true","1","yes","on","y","enabled"],t=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(i=i.map(p=>typeof p=="string"?p.toLowerCase():p),t=t.map(p=>typeof p=="string"?p.toLowerCase():p));const o=new Set(i),a=new Set(t),c=e.Codec??jr,u=e.Boolean??Ir,s=e.String??dt,m=new s({type:"string",error:r.error}),d=new u({type:"boolean",error:r.error}),f=new c({type:"pipe",in:m,out:d,transform:((p,h)=>{let v=p;return r.case!=="sensitive"&&(v=v.toLowerCase()),o.has(v)?!0:a.has(v)?!1:(h.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:h.value,inst:f,continue:!1}),{})}),reverseTransform:((p,h)=>p===!0?i[0]||"true":t[0]||"false"),error:r.error});return f}function vt(e,n,r,i={}){const t=_(i),o={..._(i),check:"string_format",type:"string",format:n,fn:typeof r=="function"?r:c=>r.test(c),...t};return r instanceof RegExp&&(o.pattern=r),new e(o)}function Ke(e){let n=(e==null?void 0:e.target)??"draft-2020-12";return n==="draft-4"&&(n="draft-04"),n==="draft-7"&&(n="draft-07"),{processors:e.processors??{},metadataRegistry:(e==null?void 0:e.metadata)??_e,target:n,unrepresentable:(e==null?void 0:e.unrepresentable)??"throw",override:(e==null?void 0:e.override)??(()=>{}),io:(e==null?void 0:e.io)??"output",counter:0,seen:new Map,cycles:(e==null?void 0:e.cycles)??"ref",reused:(e==null?void 0:e.reused)??"inline",external:(e==null?void 0:e.external)??void 0}}function X(e,n,r={path:[],schemaPath:[]}){var m,d;var i;const t=e._zod.def,o=n.seen.get(e);if(o)return o.count++,r.schemaPath.includes(e)&&(o.cycle=r.path),o.schema;const a={schema:{},count:1,cycle:void 0,path:r.path};n.seen.set(e,a);const c=(d=(m=e._zod).toJSONSchema)==null?void 0:d.call(m);if(c)a.schema=c;else{const f={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(n,a.schema,f);else{const h=a.schema,v=n.processors[t.type];if(!v)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${t.type}`);v(e,n,h,f)}const p=e._zod.parent;p&&(a.ref||(a.ref=p),X(p,n,f),n.seen.get(p).isParent=!0)}const u=n.metadataRegistry.get(e);return u&&Object.assign(a.schema,u),n.io==="input"&&me(e)&&(delete a.schema.examples,delete a.schema.default),n.io==="input"&&"_prefault"in a.schema&&((i=a.schema).default??(i.default=a.schema._prefault)),delete a.schema._prefault,n.seen.get(e).schema}function We(e,n){var a,c,u,s;const r=e.seen.get(n);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=new Map;for(const m of e.seen.entries()){const d=(a=e.metadataRegistry.get(m[0]))==null?void 0:a.id;if(d){const f=i.get(d);if(f&&f!==m[0])throw new Error(`Duplicate schema id "${d}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(d,m[0])}}const t=m=>{var v;const d=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const D=(v=e.external.registry.get(m[0]))==null?void 0:v.id,z=e.external.uri??(x=>x);if(D)return{ref:z(D)};const S=m[1].defId??m[1].schema.id??`schema${e.counter++}`;return m[1].defId=S,{defId:S,ref:`${z("__shared")}#/${d}/${S}`}}if(m[1]===r)return{ref:"#"};const p=`#/${d}/`,h=m[1].schema.id??`__schema${e.counter++}`;return{defId:h,ref:p+h}},o=m=>{if(m[1].schema.$ref)return;const d=m[1],{ref:f,defId:p}=t(m);d.def={...d.schema},p&&(d.defId=p);const h=d.schema;for(const v in h)delete h[v];h.$ref=f};if(e.cycles==="throw")for(const m of e.seen.entries()){const d=m[1];if(d.cycle)throw new Error(`Cycle detected: #/${(c=d.cycle)==null?void 0:c.join("/")}/
+ `)}p.write("payload.value = newResult;"),p.write("return payload;");const S=p.compile();return(U,b)=>S(f,U,b)};let o;const a=Fe,c=!tt.jitless,s=c&&ea.value,m=n.catchall;let d;e._zod.parse=(f,p)=>{d??(d=i.value);const h=f.value;return a(h)?c&&s&&(p==null?void 0:p.async)===!1&&p.jitless!==!0?(o||(o=t(n.shape)),f=o(f,p),m?uc([],h,f,p,d,e):f):r(f,p):(f.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),f)}});function fc(e,n,r,i){for(const o of e)if(o.issues.length===0)return n.value=o.value,n;const t=e.filter(o=>!Ve(o));return t.length===1?(n.value=t[0].value,t[0]):(n.issues.push({code:"invalid_union",input:n.value,inst:r,errors:e.map(o=>o.issues.map(a=>ge(a,i,se())))}),n)}const Xt=g("$ZodUnion",(e,n)=>{R.init(e,n),q(e._zod,"optin",()=>n.options.some(i=>i._zod.optin==="optional")?"optional":void 0),q(e._zod,"optout",()=>n.options.some(i=>i._zod.optout==="optional")?"optional":void 0),q(e._zod,"values",()=>{if(n.options.every(i=>i._zod.values))return new Set(n.options.flatMap(i=>Array.from(i._zod.values)))}),q(e._zod,"pattern",()=>{if(n.options.every(i=>i._zod.pattern)){const i=n.options.map(t=>t._zod.pattern);return new RegExp(`^(${i.map(t=>Jt(t.source)).join("|")})$`)}});const r=n.options.length===1?n.options[0]._zod.run:null;e._zod.parse=(i,t)=>{if(r)return r(i,t);let o=!1;const a=[];for(const c of n.options){const u=c._zod.run({value:i.value,issues:[]},t);if(u instanceof Promise)a.push(u),o=!0;else{if(u.issues.length===0)return u;a.push(u)}}return o?Promise.all(a).then(c=>fc(c,i,e,t)):fc(a,i,e,t)}});function pc(e,n,r,i){const t=e.filter(o=>o.issues.length===0);return t.length===1?(n.value=t[0].value,n):(t.length===0?n.issues.push({code:"invalid_union",input:n.value,inst:r,errors:e.map(o=>o.issues.map(a=>ge(a,i,se())))}):n.issues.push({code:"invalid_union",input:n.value,inst:r,errors:[],inclusive:!1}),n)}const gc=g("$ZodXor",(e,n)=>{Xt.init(e,n),n.inclusive=!1;const r=n.options.length===1?n.options[0]._zod.run:null;e._zod.parse=(i,t)=>{if(r)return r(i,t);let o=!1;const a=[];for(const c of n.options){const u=c._zod.run({value:i.value,issues:[]},t);u instanceof Promise?(a.push(u),o=!0):a.push(u)}return o?Promise.all(a).then(c=>pc(c,i,e,t)):pc(a,i,e,t)}}),vc=g("$ZodDiscriminatedUnion",(e,n)=>{n.inclusive=!1,Xt.init(e,n);const r=e._zod.parse;q(e._zod,"propValues",()=>{const t={};for(const o of n.options){const a=o._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(o)}"`);for(const[c,u]of Object.entries(a)){t[c]||(t[c]=new Set);for(const s of u)t[c].add(s)}}return t});const i=nt(()=>{var a;const t=n.options,o=new Map;for(const c of t){const u=(a=c._zod.propValues)==null?void 0:a[n.discriminator];if(!u||u.size===0)throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(c)}"`);for(const s of u){if(o.has(s))throw new Error(`Duplicate discriminator value "${String(s)}"`);o.set(s,c)}}return o});e._zod.parse=(t,o)=>{const a=t.value;if(!Fe(a))return t.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),t;const c=i.value.get(a==null?void 0:a[n.discriminator]);return c?c._zod.run(t,o):n.unionFallback||o.direction==="backward"?r(t,o):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:n.discriminator,options:Array.from(i.value.keys()),input:a,path:[n.discriminator],inst:e}),t)}}),hc=g("$ZodIntersection",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value,o=n.left._zod.run({value:t,issues:[]},i),a=n.right._zod.run({value:t,issues:[]},i);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([u,s])=>bc(r,u,s)):bc(r,o,a)}});function Dr(e,n){if(e===n)return{valid:!0,data:e};if(e instanceof Date&&n instanceof Date&&+e==+n)return{valid:!0,data:e};if(Pe(e)&&Pe(n)){const r=Object.keys(n),i=Object.keys(e).filter(o=>r.indexOf(o)!==-1),t={...e,...n};for(const o of i){const a=Dr(e[o],n[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};t[o]=a.data}return{valid:!0,data:t}}if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let i=0;ic.l&&c.r).map(([c])=>c);if(o.length&&t&&e.issues.push({...t,keys:o}),Ve(e))return e;const a=Dr(n.value,r.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}const Or=g("$ZodTuple",(e,n)=>{R.init(e,n);const r=n.items;e._zod.parse=(i,t)=>{const o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];const a=[],c=$c(r,"optin"),u=$c(r,"optout");if(!n.rest){if(o.lengthr.length&&i.issues.push({code:"too_big",maximum:r.length,inclusive:!0,input:o,inst:e,origin:"array"})}const s=new Array(r.length);for(let m=0;m{s[m]=f})):s[m]=d}if(n.rest){let m=r.length-1;const d=o.slice(r.length);for(const f of d){m++;const p=n.rest._zod.run({value:f,issues:[]},t);p instanceof Promise?a.push(p.then(h=>_c(h,i,m))):_c(p,i,m)}}return a.length?Promise.all(a).then(()=>yc(s,i,r,o,u)):yc(s,i,r,o,u)}});function $c(e,n){for(let r=e.length-1;r>=0;r--)if(e[r]._zod[n]!=="optional")return r+1;return 0}function _c(e,n,r){e.issues.length&&n.issues.push(...$e(r,e.issues)),n.value[r]=e.value}function yc(e,n,r,i,t){for(let o=0;o=t){n.value.length=o;break}n.issues.push(...$e(o,a.issues))}n.value[o]=a.value}for(let o=n.value.length-1;o>=i.length&&(r[o]._zod.optout==="optional"&&n.value[o]===void 0);o--)n.value.length=o;return n}const kc=g("$ZodRecord",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;if(!Pe(t))return r.issues.push({expected:"record",code:"invalid_type",input:t,inst:e}),r;const o=[],a=n.keyType._zod.values;if(a){r.value={};const c=new Set;for(const s of a)if(typeof s=="string"||typeof s=="number"||typeof s=="symbol"){c.add(typeof s=="number"?s.toString():s);const m=n.keyType._zod.run({value:s,issues:[]},i);if(m instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(m.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:m.issues.map(p=>ge(p,i,se())),input:s,path:[s],inst:e});continue}const d=m.value,f=n.valueType._zod.run({value:t[s],issues:[]},i);f instanceof Promise?o.push(f.then(p=>{p.issues.length&&r.issues.push(...$e(s,p.issues)),r.value[d]=p.value})):(f.issues.length&&r.issues.push(...$e(s,f.issues)),r.value[d]=f.value)}let u;for(const s in t)c.has(s)||(u=u??[],u.push(s));u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:t,inst:e,keys:u})}else{r.value={};for(const c of Reflect.ownKeys(t)){if(c==="__proto__"||!Object.prototype.propertyIsEnumerable.call(t,c))continue;let u=n.keyType._zod.run({value:c,issues:[]},i);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&yr.test(c)&&u.issues.length){const d=n.keyType._zod.run({value:Number(c),issues:[]},i);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(u=d)}if(u.issues.length){n.mode==="loose"?r.value[c]=t[c]:r.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(d=>ge(d,i,se())),input:c,path:[c],inst:e});continue}const m=n.valueType._zod.run({value:t[c],issues:[]},i);m instanceof Promise?o.push(m.then(d=>{d.issues.length&&r.issues.push(...$e(c,d.issues)),r.value[u.value]=d.value})):(m.issues.length&&r.issues.push(...$e(c,m.issues)),r.value[u.value]=m.value)}}return o.length?Promise.all(o).then(()=>r):r}}),Sc=g("$ZodMap",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;if(!(t instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:t,inst:e}),r;const o=[];r.value=new Map;for(const[a,c]of t){const u=n.keyType._zod.run({value:a,issues:[]},i),s=n.valueType._zod.run({value:c,issues:[]},i);u instanceof Promise||s instanceof Promise?o.push(Promise.all([u,s]).then(([m,d])=>{wc(m,d,r,a,t,e,i)})):wc(u,s,r,a,t,e,i)}return o.length?Promise.all(o).then(()=>r):r}});function wc(e,n,r,i,t,o,a){e.issues.length&&(Gt.has(typeof i)?r.issues.push(...$e(i,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:t,inst:o,issues:e.issues.map(c=>ge(c,a,se()))})),n.issues.length&&(Gt.has(typeof i)?r.issues.push(...$e(i,n.issues)):r.issues.push({origin:"map",code:"invalid_element",input:t,inst:o,key:i,issues:n.issues.map(c=>ge(c,a,se()))})),r.value.set(e.value,n.value)}const Ic=g("$ZodSet",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;if(!(t instanceof Set))return r.issues.push({input:t,inst:e,expected:"set",code:"invalid_type"}),r;const o=[];r.value=new Set;for(const a of t){const c=n.valueType._zod.run({value:a,issues:[]},i);c instanceof Promise?o.push(c.then(u=>zc(u,r))):zc(c,r)}return o.length?Promise.all(o).then(()=>r):r}});function zc(e,n){e.issues.length&&n.issues.push(...e.issues),n.value.add(e.value)}const Ec=g("$ZodEnum",(e,n)=>{R.init(e,n);const r=rr(n.entries),i=new Set(r);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.filter(t=>Gt.has(typeof t)).map(t=>typeof t=="string"?ze(t):t.toString()).join("|")})$`),e._zod.parse=(t,o)=>{const a=t.value;return i.has(a)||t.issues.push({code:"invalid_value",values:r,input:a,inst:e}),t}}),Nc=g("$ZodLiteral",(e,n)=>{if(R.init(e,n),n.values.length===0)throw new Error("Cannot create literal schema with no valid values");const r=new Set(n.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.values.map(i=>typeof i=="string"?ze(i):i?ze(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,t)=>{const o=i.value;return r.has(o)||i.issues.push({code:"invalid_value",values:n.values,input:o,inst:e}),i}}),Dc=g("$ZodFile",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{const t=r.value;return t instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:t,inst:e}),r}}),Oc=g("$ZodTransform",(e,n)=>{R.init(e,n),e._zod.optin="optional",e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Lt(e.constructor.name);const t=n.transform(r.value,r);if(i.async)return(t instanceof Promise?t:Promise.resolve(t)).then(a=>(r.value=a,r.fallback=!0,r));if(t instanceof Promise)throw new Ue;return r.value=t,r.fallback=!0,r}});function jc(e,n){return n===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const jr=g("$ZodOptional",(e,n)=>{R.init(e,n),e._zod.optin="optional",e._zod.optout="optional",q(e._zod,"values",()=>n.innerType._zod.values?new Set([...n.innerType._zod.values,void 0]):void 0),q(e._zod,"pattern",()=>{const r=n.innerType._zod.pattern;return r?new RegExp(`^(${Jt(r.source)})?$`):void 0}),e._zod.parse=(r,i)=>{if(n.innerType._zod.optin==="optional"){const t=r.value,o=n.innerType._zod.run(r,i);return o instanceof Promise?o.then(a=>jc(a,t)):jc(o,t)}return r.value===void 0?r:n.innerType._zod.run(r,i)}}),xc=g("$ZodExactOptional",(e,n)=>{jr.init(e,n),q(e._zod,"values",()=>n.innerType._zod.values),q(e._zod,"pattern",()=>n.innerType._zod.pattern),e._zod.parse=(r,i)=>n.innerType._zod.run(r,i)}),Tc=g("$ZodNullable",(e,n)=>{R.init(e,n),q(e._zod,"optin",()=>n.innerType._zod.optin),q(e._zod,"optout",()=>n.innerType._zod.optout),q(e._zod,"pattern",()=>{const r=n.innerType._zod.pattern;return r?new RegExp(`^(${Jt(r.source)}|null)$`):void 0}),q(e._zod,"values",()=>n.innerType._zod.values?new Set([...n.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:n.innerType._zod.run(r,i)}),Cc=g("$ZodDefault",(e,n)=>{R.init(e,n),e._zod.optin="optional",q(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return n.innerType._zod.run(r,i);if(r.value===void 0)return r.value=n.defaultValue,r;const t=n.innerType._zod.run(r,i);return t instanceof Promise?t.then(o=>Uc(o,n)):Uc(t,n)}});function Uc(e,n){return e.value===void 0&&(e.value=n.defaultValue),e}const Ac=g("$ZodPrefault",(e,n)=>{R.init(e,n),e._zod.optin="optional",q(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(r,i)=>(i.direction==="backward"||r.value===void 0&&(r.value=n.defaultValue),n.innerType._zod.run(r,i))}),Pc=g("$ZodNonOptional",(e,n)=>{R.init(e,n),q(e._zod,"values",()=>{const r=n.innerType._zod.values;return r?new Set([...r].filter(i=>i!==void 0)):void 0}),e._zod.parse=(r,i)=>{const t=n.innerType._zod.run(r,i);return t instanceof Promise?t.then(o=>Vc(o,e)):Vc(t,e)}});function Vc(e,n){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:n}),e}const Bc=g("$ZodSuccess",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Lt("ZodSuccess");const t=n.innerType._zod.run(r,i);return t instanceof Promise?t.then(o=>(r.value=o.issues.length===0,r)):(r.value=t.issues.length===0,r)}}),Zc=g("$ZodCatch",(e,n)=>{R.init(e,n),e._zod.optin="optional",q(e._zod,"optout",()=>n.innerType._zod.optout),q(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return n.innerType._zod.run(r,i);const t=n.innerType._zod.run(r,i);return t instanceof Promise?t.then(o=>(r.value=o.value,o.issues.length&&(r.value=n.catchValue({...r,error:{issues:o.issues.map(a=>ge(a,i,se()))},input:r.value}),r.issues=[],r.fallback=!0),r)):(r.value=t.value,t.issues.length&&(r.value=n.catchValue({...r,error:{issues:t.issues.map(o=>ge(o,i,se()))},input:r.value}),r.issues=[],r.fallback=!0),r)}}),Mc=g("$ZodNaN",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),xr=g("$ZodPipe",(e,n)=>{R.init(e,n),q(e._zod,"values",()=>n.in._zod.values),q(e._zod,"optin",()=>n.in._zod.optin),q(e._zod,"optout",()=>n.out._zod.optout),q(e._zod,"propValues",()=>n.in._zod.propValues),e._zod.parse=(r,i)=>{if(i.direction==="backward"){const o=n.out._zod.run(r,i);return o instanceof Promise?o.then(a=>Yt(a,n.in,i)):Yt(o,n.in,i)}const t=n.in._zod.run(r,i);return t instanceof Promise?t.then(o=>Yt(o,n.out,i)):Yt(t,n.out,i)}});function Yt(e,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},r)}const Tr=g("$ZodCodec",(e,n)=>{R.init(e,n),q(e._zod,"values",()=>n.in._zod.values),q(e._zod,"optin",()=>n.in._zod.optin),q(e._zod,"optout",()=>n.out._zod.optout),q(e._zod,"propValues",()=>n.in._zod.propValues),e._zod.parse=(r,i)=>{if((i.direction||"forward")==="forward"){const o=n.in._zod.run(r,i);return o instanceof Promise?o.then(a=>Qt(a,n,i)):Qt(o,n,i)}else{const o=n.out._zod.run(r,i);return o instanceof Promise?o.then(a=>Qt(a,n,i)):Qt(o,n,i)}}});function Qt(e,n,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){const t=n.transform(e.value,e);return t instanceof Promise?t.then(o=>en(e,o,n.out,r)):en(e,t,n.out,r)}else{const t=n.reverseTransform(e.value,e);return t instanceof Promise?t.then(o=>en(e,o,n.in,r)):en(e,t,n.in,r)}}function en(e,n,r,i){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:n,issues:e.issues},i)}const Fc=g("$ZodPreprocess",(e,n)=>{xr.init(e,n)}),Lc=g("$ZodReadonly",(e,n)=>{R.init(e,n),q(e._zod,"propValues",()=>n.innerType._zod.propValues),q(e._zod,"values",()=>n.innerType._zod.values),q(e._zod,"optin",()=>{var r,i;return(i=(r=n.innerType)==null?void 0:r._zod)==null?void 0:i.optin}),q(e._zod,"optout",()=>{var r,i;return(i=(r=n.innerType)==null?void 0:r._zod)==null?void 0:i.optout}),e._zod.parse=(r,i)=>{if(i.direction==="backward")return n.innerType._zod.run(r,i);const t=n.innerType._zod.run(r,i);return t instanceof Promise?t.then(Rc):Rc(t)}});function Rc(e){return e.value=Object.freeze(e.value),e}const Jc=g("$ZodTemplateLiteral",(e,n)=>{R.init(e,n);const r=[];for(const i of n.parts)if(typeof i=="object"&&i!==null){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);const t=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!t)throw new Error(`Invalid template literal part: ${i._zod.traits}`);const o=t.startsWith("^")?1:0,a=t.endsWith("$")?t.length-1:t.length;r.push(t.slice(o,a))}else if(i===null||ta.has(typeof i))r.push(ze(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(i,t)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"string",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:n.format??"template_literal",pattern:e._zod.pattern.source}),i)}),qc=g("$ZodFunction",(e,n)=>(R.init(e,n),e._def=n,e._zod.def=n,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return function(...i){const t=e._def.input?sr(e._def.input,i):i,o=Reflect.apply(r,this,t);return e._def.output?sr(e._def.output,o):o}},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){const t=e._def.input?await ur(e._def.input,i):i,o=await Reflect.apply(r,this,t);return e._def.output?await ur(e._def.output,o):o}},e._zod.parse=(r,i)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{const i=e.constructor;return Array.isArray(r[0])?new i({type:"function",input:new Or({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new i({type:"function",input:r[0],output:e._def.output})},e.output=r=>{const i=e.constructor;return new i({type:"function",input:e._def.input,output:r})},e)),Gc=g("$ZodPromise",(e,n)=>{R.init(e,n),e._zod.parse=(r,i)=>Promise.resolve(r.value).then(t=>n.innerType._zod.run({value:t,issues:[]},i))}),Wc=g("$ZodLazy",(e,n)=>{R.init(e,n),q(e._zod,"innerType",()=>{const r=n;return r._cachedInner||(r._cachedInner=n.getter()),r._cachedInner}),q(e._zod,"pattern",()=>{var r,i;return(i=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:i.pattern}),q(e._zod,"propValues",()=>{var r,i;return(i=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:i.propValues}),q(e._zod,"optin",()=>{var r,i;return((i=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:i.optin)??void 0}),q(e._zod,"optout",()=>{var r,i;return((i=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:i.optout)??void 0}),e._zod.parse=(r,i)=>e._zod.innerType._zod.run(r,i)}),Kc=g("$ZodCustom",(e,n)=>{te.init(e,n),R.init(e,n),e._zod.parse=(r,i)=>r,e._zod.check=r=>{const i=r.value,t=n.fn(i);if(t instanceof Promise)return t.then(o=>Hc(o,r,i,e));Hc(t,r,i,e)}});function Hc(e,n,r,i){if(!e){const t={code:"custom",input:r,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(t.params=i._zod.def.params),n.issues.push(Le(t))}}const n$=()=>{const e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function n(t){return e[t]??null}const r={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:"مدخل"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${t.expected}، ولكن تم إدخال ${c}`:`مدخلات غير مقبولة: يفترض إدخال ${o}، ولكن تم إدخال ${c}`}case"invalid_value":return t.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${P(t.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?` أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${o} ${t.maximum.toString()} ${a.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${o} ${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${o} ${t.minimum.toString()} ${a.unit}`:`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${o} ${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`نَص غير مقبول: يجب أن يبدأ بـ "${t.prefix}"`:o.format==="ends_with"?`نَص غير مقبول: يجب أن ينتهي بـ "${o.suffix}"`:o.format==="includes"?`نَص غير مقبول: يجب أن يتضمَّن "${o.includes}"`:o.format==="regex"?`نَص غير مقبول: يجب أن يطابق النمط ${o.pattern}`:`${r[o.format]??t.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${t.divisor}`;case"unrecognized_keys":return`معرف${t.keys.length>1?"ات":""} غريب${t.keys.length>1?"ة":""}: ${k(t.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${t.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${t.origin}`;default:return"مدخل غير مقبول"}}};function r$(){return{localeError:n$()}}const o$=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Yanlış dəyər: gözlənilən instanceof ${t.expected}, daxil olan ${c}`:`Yanlış dəyər: gözlənilən ${o}, daxil olan ${c}`}case"invalid_value":return t.values.length===1?`Yanlış dəyər: gözlənilən ${P(t.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${o}${t.maximum.toString()} ${a.unit??"element"}`:`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Çox kiçik: gözlənilən ${t.origin} ${o}${t.minimum.toString()} ${a.unit}`:`Çox kiçik: gözlənilən ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Yanlış mətn: "${o.prefix}" ilə başlamalıdır`:o.format==="ends_with"?`Yanlış mətn: "${o.suffix}" ilə bitməlidir`:o.format==="includes"?`Yanlış mətn: "${o.includes}" daxil olmalıdır`:o.format==="regex"?`Yanlış mətn: ${o.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${r[o.format]??t.format}`}case"not_multiple_of":return`Yanlış ədəd: ${t.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${t.keys.length>1?"lar":""}: ${k(t.keys,", ")}`;case"invalid_key":return`${t.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${t.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function i$(){return{localeError:o$()}}function Xc(e,n,r,i){const t=Math.abs(e),o=t%10,a=t%100;return a>=11&&a<=19?i:o===1?n:o>=2&&o<=4?r:i}const a$=()=>{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 n(t){return e[t]??null}const r={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:"увод"},i={nan:"NaN",number:"лік",array:"масіў"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Няправільны ўвод: чакаўся instanceof ${t.expected}, атрымана ${c}`:`Няправільны ўвод: чакаўся ${o}, атрымана ${c}`}case"invalid_value":return t.values.length===1?`Няправільны ўвод: чакалася ${P(t.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);if(a){const c=Number(t.maximum),u=Xc(c,a.unit.one,a.unit.few,a.unit.many);return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна ${a.verb} ${o}${t.maximum.toString()} ${u}`}return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна быць ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);if(a){const c=Number(t.minimum),u=Xc(c,a.unit.one,a.unit.few,a.unit.many);return`Занадта малы: чакалася, што ${t.origin} павінна ${a.verb} ${o}${t.minimum.toString()} ${u}`}return`Занадта малы: чакалася, што ${t.origin} павінна быць ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Няправільны радок: павінен пачынацца з "${o.prefix}"`:o.format==="ends_with"?`Няправільны радок: павінен заканчвацца на "${o.suffix}"`:o.format==="includes"?`Няправільны радок: павінен змяшчаць "${o.includes}"`:o.format==="regex"?`Няправільны радок: павінен адпавядаць шаблону ${o.pattern}`:`Няправільны ${r[o.format]??t.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${t.keys.length>1?"ключы":"ключ"}: ${k(t.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${t.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${t.origin}`;default:return"Няправільны ўвод"}}};function l$(){return{localeError:a$()}}const c$=()=>{const e={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function n(t){return e[t]??null}const r={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:"вход"},i={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Невалиден вход: очакван instanceof ${t.expected}, получен ${c}`:`Невалиден вход: очакван ${o}, получен ${c}`}case"invalid_value":return t.values.length===1?`Невалиден вход: очакван ${P(t.values[0])}`:`Невалидна опция: очаквано едно от ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Твърде голямо: очаква се ${t.origin??"стойност"} да съдържа ${o}${t.maximum.toString()} ${a.unit??"елемента"}`:`Твърде голямо: очаква се ${t.origin??"стойност"} да бъде ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Твърде малко: очаква се ${t.origin} да съдържа ${o}${t.minimum.toString()} ${a.unit}`:`Твърде малко: очаква се ${t.origin} да бъде ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;if(o.format==="starts_with")return`Невалиден низ: трябва да започва с "${o.prefix}"`;if(o.format==="ends_with")return`Невалиден низ: трябва да завършва с "${o.suffix}"`;if(o.format==="includes")return`Невалиден низ: трябва да включва "${o.includes}"`;if(o.format==="regex")return`Невалиден низ: трябва да съвпада с ${o.pattern}`;let a="Невалиден";return o.format==="emoji"&&(a="Невалидно"),o.format==="datetime"&&(a="Невалидно"),o.format==="date"&&(a="Невалидна"),o.format==="time"&&(a="Невалидно"),o.format==="duration"&&(a="Невалидна"),`${a} ${r[o.format]??t.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${t.divisor}`;case"unrecognized_keys":return`Неразпознат${t.keys.length>1?"и":""} ключ${t.keys.length>1?"ове":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${t.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${t.origin}`;default:return"Невалиден вход"}}};function s$(){return{localeError:c$()}}const u$=()=>{const e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Tipus invàlid: s'esperava instanceof ${t.expected}, s'ha rebut ${c}`:`Tipus invàlid: s'esperava ${o}, s'ha rebut ${c}`}case"invalid_value":return t.values.length===1?`Valor invàlid: s'esperava ${P(t.values[0])}`:`Opció invàlida: s'esperava una de ${k(t.values," o ")}`;case"too_big":{const o=t.inclusive?"com a màxim":"menys de",a=n(t.origin);return a?`Massa gran: s'esperava que ${t.origin??"el valor"} contingués ${o} ${t.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${t.origin??"el valor"} fos ${o} ${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?"com a mínim":"més de",a=n(t.origin);return a?`Massa petit: s'esperava que ${t.origin} contingués ${o} ${t.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${t.origin} fos ${o} ${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Format invàlid: ha de començar amb "${o.prefix}"`:o.format==="ends_with"?`Format invàlid: ha d'acabar amb "${o.suffix}"`:o.format==="includes"?`Format invàlid: ha d'incloure "${o.includes}"`:o.format==="regex"?`Format invàlid: ha de coincidir amb el patró ${o.pattern}`:`Format invàlid per a ${r[o.format]??t.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${t.divisor}`;case"unrecognized_keys":return`Clau${t.keys.length>1?"s":""} no reconeguda${t.keys.length>1?"s":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${t.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${t.origin}`;default:return"Entrada invàlida"}}};function d$(){return{localeError:u$()}}const m$=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Neplatný vstup: očekáváno instanceof ${t.expected}, obdrženo ${c}`:`Neplatný vstup: očekáváno ${o}, obdrženo ${c}`}case"invalid_value":return t.values.length===1?`Neplatný vstup: očekáváno ${P(t.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Hodnota je příliš velká: ${t.origin??"hodnota"} musí mít ${o}${t.maximum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš velká: ${t.origin??"hodnota"} musí být ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Hodnota je příliš malá: ${t.origin??"hodnota"} musí mít ${o}${t.minimum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš malá: ${t.origin??"hodnota"} musí být ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Neplatný řetězec: musí začínat na "${o.prefix}"`:o.format==="ends_with"?`Neplatný řetězec: musí končit na "${o.suffix}"`:o.format==="includes"?`Neplatný řetězec: musí obsahovat "${o.includes}"`:o.format==="regex"?`Neplatný řetězec: musí odpovídat vzoru ${o.pattern}`:`Neplatný formát ${r[o.format]??t.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${t.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${k(t.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${t.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${t.origin}`;default:return"Neplatný vstup"}}};function f$(){return{localeError:m$()}}const p$=()=>{const e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldigt input: forventede instanceof ${t.expected}, fik ${c}`:`Ugyldigt input: forventede ${o}, fik ${c}`}case"invalid_value":return t.values.length===1?`Ugyldig værdi: forventede ${P(t.values[0])}`:`Ugyldigt valg: forventede en af følgende ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin),c=i[t.origin]??t.origin;return a?`For stor: forventede ${c??"value"} ${a.verb} ${o} ${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${c??"value"} havde ${o} ${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin),c=i[t.origin]??t.origin;return a?`For lille: forventede ${c} ${a.verb} ${o} ${t.minimum.toString()} ${a.unit}`:`For lille: forventede ${c} havde ${o} ${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ugyldig streng: skal starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: skal ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: skal indeholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: skal matche mønsteret ${o.pattern}`:`Ugyldig ${r[o.format]??t.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${k(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${t.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${t.origin}`;default:return"Ugyldigt input"}}};function g$(){return{localeError:p$()}}const v$=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"Zahl",array:"Array"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ungültige Eingabe: erwartet instanceof ${t.expected}, erhalten ${c}`:`Ungültige Eingabe: erwartet ${o}, erhalten ${c}`}case"invalid_value":return t.values.length===1?`Ungültige Eingabe: erwartet ${P(t.values[0])}`:`Ungültige Option: erwartet eine von ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Zu groß: erwartet, dass ${t.origin??"Wert"} ${o}${t.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${t.origin??"Wert"} ${o}${t.maximum.toString()} ist`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Zu klein: erwartet, dass ${t.origin} ${o}${t.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${t.origin} ${o}${t.minimum.toString()} ist`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ungültiger String: muss mit "${o.prefix}" beginnen`:o.format==="ends_with"?`Ungültiger String: muss mit "${o.suffix}" enden`:o.format==="includes"?`Ungültiger String: muss "${o.includes}" enthalten`:o.format==="regex"?`Ungültiger String: muss dem Muster ${o.pattern} entsprechen`:`Ungültig: ${r[o.format]??t.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${t.divisor} sein`;case"unrecognized_keys":return`${t.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${k(t.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${t.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${t.origin}`;default:return"Ungültige Eingabe"}}};function h$(){return{localeError:v$()}}const b$=()=>{const e={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function n(t){return e[t]??null}const r={regex:"είσοδος",email:"διεύθυνση 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",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return typeof t.expected=="string"&&/^[A-Z]/.test(t.expected)?`Μη έγκυρη είσοδος: αναμενόταν instanceof ${t.expected}, λήφθηκε ${c}`:`Μη έγκυρη είσοδος: αναμενόταν ${o}, λήφθηκε ${c}`}case"invalid_value":return t.values.length===1?`Μη έγκυρη είσοδος: αναμενόταν ${P(t.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Πολύ μεγάλο: αναμενόταν ${t.origin??"τιμή"} να έχει ${o}${t.maximum.toString()} ${a.unit??"στοιχεία"}`:`Πολύ μεγάλο: αναμενόταν ${t.origin??"τιμή"} να είναι ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Πολύ μικρό: αναμενόταν ${t.origin} να έχει ${o}${t.minimum.toString()} ${a.unit}`:`Πολύ μικρό: αναμενόταν ${t.origin} να είναι ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${o.prefix}"`:o.format==="ends_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${o.suffix}"`:o.format==="includes"?`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${o.includes}"`:o.format==="regex"?`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${o.pattern}`:`Μη έγκυρο: ${r[o.format]??t.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${t.divisor}`;case"unrecognized_keys":return`Άγνωστ${t.keys.length>1?"α":"ο"} κλειδ${t.keys.length>1?"ιά":"ί"}: ${k(t.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${t.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${t.origin}`;default:return"Μη έγκυρη είσοδος"}}};function $$(){return{localeError:b$()}}const _$=()=>{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"},map:{unit:"entries",verb:"to have"}};function n(t){return e[t]??null}const r={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",mac:"MAC 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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return`Invalid input: expected ${o}, received ${c}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${P(t.values[0])}`:`Invalid option: expected one of ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Too big: expected ${t.origin??"value"} to have ${o}${t.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${t.origin??"value"} to be ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Too small: expected ${t.origin} to have ${o}${t.minimum.toString()} ${a.unit}`:`Too small: expected ${t.origin} to be ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Invalid string: must start with "${o.prefix}"`:o.format==="ends_with"?`Invalid string: must end with "${o.suffix}"`:o.format==="includes"?`Invalid string: must include "${o.includes}"`:o.format==="regex"?`Invalid string: must match pattern ${o.pattern}`:`Invalid ${r[o.format]??t.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${t.divisor}`;case"unrecognized_keys":return`Unrecognized key${t.keys.length>1?"s":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Invalid key in ${t.origin}`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`Invalid discriminator value. Expected ${t.options.map(a=>`'${a}'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${t.origin}`;default:return"Invalid input"}}};function Yc(){return{localeError:_$()}}const y$=()=>{const e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Nevalida enigo: atendiĝis instanceof ${t.expected}, riceviĝis ${c}`:`Nevalida enigo: atendiĝis ${o}, riceviĝis ${c}`}case"invalid_value":return t.values.length===1?`Nevalida enigo: atendiĝis ${P(t.values[0])}`:`Nevalida opcio: atendiĝis unu el ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${o}${t.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Tro malgranda: atendiĝis ke ${t.origin} havu ${o}${t.minimum.toString()} ${a.unit}`:`Tro malgranda: atendiĝis ke ${t.origin} estu ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Nevalida karaktraro: devas komenciĝi per "${o.prefix}"`:o.format==="ends_with"?`Nevalida karaktraro: devas finiĝi per "${o.suffix}"`:o.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${o.includes}"`:o.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${o.pattern}`:`Nevalida ${r[o.format]??t.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${t.divisor}`;case"unrecognized_keys":return`Nekonata${t.keys.length>1?"j":""} ŝlosilo${t.keys.length>1?"j":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${t.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${t.origin}`;default:return"Nevalida enigo"}}};function k$(){return{localeError:y$()}}const S$=()=>{const e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",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"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Entrada inválida: se esperaba instanceof ${t.expected}, recibido ${c}`:`Entrada inválida: se esperaba ${o}, recibido ${c}`}case"invalid_value":return t.values.length===1?`Entrada inválida: se esperaba ${P(t.values[0])}`:`Opción inválida: se esperaba una de ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin),c=i[t.origin]??t.origin;return a?`Demasiado grande: se esperaba que ${c??"valor"} tuviera ${o}${t.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${c??"valor"} fuera ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin),c=i[t.origin]??t.origin;return a?`Demasiado pequeño: se esperaba que ${c} tuviera ${o}${t.minimum.toString()} ${a.unit}`:`Demasiado pequeño: se esperaba que ${c} fuera ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Cadena inválida: debe comenzar con "${o.prefix}"`:o.format==="ends_with"?`Cadena inválida: debe terminar en "${o.suffix}"`:o.format==="includes"?`Cadena inválida: debe incluir "${o.includes}"`:o.format==="regex"?`Cadena inválida: debe coincidir con el patrón ${o.pattern}`:`Inválido ${r[o.format]??t.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Llave${t.keys.length>1?"s":""} desconocida${t.keys.length>1?"s":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Llave inválida en ${i[t.origin]??t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${i[t.origin]??t.origin}`;default:return"Entrada inválida"}}};function w$(){return{localeError:S$()}}const I$=()=>{const e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function n(t){return e[t]??null}const r={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:"ورودی"},i={nan:"NaN",number:"عدد",array:"آرایه"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`ورودی نامعتبر: میبایست instanceof ${t.expected} میبود، ${c} دریافت شد`:`ورودی نامعتبر: میبایست ${o} میبود، ${c} دریافت شد`}case"invalid_value":return t.values.length===1?`ورودی نامعتبر: میبایست ${P(t.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${k(t.values,"|")} میبود`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`خیلی بزرگ: ${t.origin??"مقدار"} باید ${o}${t.maximum.toString()} ${a.unit??"عنصر"} باشد`:`خیلی بزرگ: ${t.origin??"مقدار"} باید ${o}${t.maximum.toString()} باشد`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`خیلی کوچک: ${t.origin} باید ${o}${t.minimum.toString()} ${a.unit} باشد`:`خیلی کوچک: ${t.origin} باید ${o}${t.minimum.toString()} باشد`}case"invalid_format":{const o=t;return o.format==="starts_with"?`رشته نامعتبر: باید با "${o.prefix}" شروع شود`:o.format==="ends_with"?`رشته نامعتبر: باید با "${o.suffix}" تمام شود`:o.format==="includes"?`رشته نامعتبر: باید شامل "${o.includes}" باشد`:o.format==="regex"?`رشته نامعتبر: باید با الگوی ${o.pattern} مطابقت داشته باشد`:`${r[o.format]??t.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${t.divisor} باشد`;case"unrecognized_keys":return`کلید${t.keys.length>1?"های":""} ناشناس: ${k(t.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${t.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${t.origin}`;default:return"ورودی نامعتبر"}}};function z$(){return{localeError:I$()}}const E$=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Virheellinen tyyppi: odotettiin instanceof ${t.expected}, oli ${c}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${c}`}case"invalid_value":return t.values.length===1?`Virheellinen syöte: täytyy olla ${P(t.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Liian suuri: ${a.subject} täytyy olla ${o}${t.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon täytyy olla ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Liian pieni: ${a.subject} täytyy olla ${o}${t.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon täytyy olla ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Virheellinen syöte: täytyy alkaa "${o.prefix}"`:o.format==="ends_with"?`Virheellinen syöte: täytyy loppua "${o.suffix}"`:o.format==="includes"?`Virheellinen syöte: täytyy sisältää "${o.includes}"`:o.format==="regex"?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${o.pattern}`:`Virheellinen ${r[o.format]??t.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${t.divisor} monikerta`;case"unrecognized_keys":return`${t.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${k(t.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"}}};function N$(){return{localeError:E$()}}const D$=()=>{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 n(t){return e[t]??null}const r={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"},i={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Entrée invalide : instanceof ${t.expected} attendu, ${c} reçu`:`Entrée invalide : ${o} attendu, ${c} reçu`}case"invalid_value":return t.values.length===1?`Entrée invalide : ${P(t.values[0])} attendu`:`Option invalide : une valeur parmi ${k(t.values,"|")} attendue`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Trop grand : ${i[t.origin]??"valeur"} doit ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"élément(s)"}`:`Trop grand : ${i[t.origin]??"valeur"} doit être ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Trop petit : ${i[t.origin]??"valeur"} doit ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Trop petit : ${i[t.origin]??"valeur"} doit être ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Chaîne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Chaîne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Chaîne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Chaîne invalide : doit correspondre au modèle ${o.pattern}`:`${r[o.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${k(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function O$(){return{localeError:D$()}}const j$=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Entrée invalide : attendu instanceof ${t.expected}, reçu ${c}`:`Entrée invalide : attendu ${o}, reçu ${c}`}case"invalid_value":return t.values.length===1?`Entrée invalide : attendu ${P(t.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"≤":"<",a=n(t.origin);return a?`Trop grand : attendu que ${t.origin??"la valeur"} ait ${o}${t.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${t.origin??"la valeur"} soit ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?"≥":">",a=n(t.origin);return a?`Trop petit : attendu que ${t.origin} ait ${o}${t.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${t.origin} soit ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Chaîne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Chaîne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Chaîne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Chaîne invalide : doit correspondre au motif ${o.pattern}`:`${r[o.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${k(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function x$(){return{localeError:j$()}}const T$=()=>{const e={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},n={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},r=s=>s?e[s]:void 0,i=s=>{const m=r(s);return m?m.label:s??e.unknown.label},t=s=>`ה${i(s)}`,o=s=>{const m=r(s);return((m==null?void 0:m.gender)??"m")==="f"?"צריכה להיות":"צריך להיות"},a=s=>s?n[s]??null:null,c={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},u={nan:"NaN"};return s=>{var m;switch(s.code){case"invalid_type":{const d=s.expected,f=u[d??""]??i(d),p=V(s.input),h=u[p]??((m=e[p])==null?void 0:m.label)??p;return/^[A-Z]/.test(s.expected)?`קלט לא תקין: צריך להיות instanceof ${s.expected}, התקבל ${h}`:`קלט לא תקין: צריך להיות ${f}, התקבל ${h}`}case"invalid_value":{if(s.values.length===1)return`ערך לא תקין: הערך חייב להיות ${P(s.values[0])}`;const d=s.values.map(h=>P(h));if(s.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${d[0]} או ${d[1]}`;const f=d[d.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${d.slice(0,-1).join(", ")} או ${f}`}case"too_big":{const d=a(s.origin),f=t(s.origin??"value");if(s.origin==="string")return`${(d==null?void 0:d.longLabel)??"ארוך"} מדי: ${f} צריכה להכיל ${s.maximum.toString()} ${(d==null?void 0:d.unit)??""} ${s.inclusive?"או פחות":"לכל היותר"}`.trim();if(s.origin==="number"){const v=s.inclusive?`קטן או שווה ל-${s.maximum}`:`קטן מ-${s.maximum}`;return`גדול מדי: ${f} צריך להיות ${v}`}if(s.origin==="array"||s.origin==="set"){const v=s.origin==="set"?"צריכה":"צריך",D=s.inclusive?`${s.maximum} ${(d==null?void 0:d.unit)??""} או פחות`:`פחות מ-${s.maximum} ${(d==null?void 0:d.unit)??""}`;return`גדול מדי: ${f} ${v} להכיל ${D}`.trim()}const p=s.inclusive?"<=":"<",h=o(s.origin??"value");return d!=null&&d.unit?`${d.longLabel} מדי: ${f} ${h} ${p}${s.maximum.toString()} ${d.unit}`:`${(d==null?void 0:d.longLabel)??"גדול"} מדי: ${f} ${h} ${p}${s.maximum.toString()}`}case"too_small":{const d=a(s.origin),f=t(s.origin??"value");if(s.origin==="string")return`${(d==null?void 0:d.shortLabel)??"קצר"} מדי: ${f} צריכה להכיל ${s.minimum.toString()} ${(d==null?void 0:d.unit)??""} ${s.inclusive?"או יותר":"לפחות"}`.trim();if(s.origin==="number"){const v=s.inclusive?`גדול או שווה ל-${s.minimum}`:`גדול מ-${s.minimum}`;return`קטן מדי: ${f} צריך להיות ${v}`}if(s.origin==="array"||s.origin==="set"){const v=s.origin==="set"?"צריכה":"צריך";if(s.minimum===1&&s.inclusive){const I=(s.origin==="set","לפחות פריט אחד");return`קטן מדי: ${f} ${v} להכיל ${I}`}const D=s.inclusive?`${s.minimum} ${(d==null?void 0:d.unit)??""} או יותר`:`יותר מ-${s.minimum} ${(d==null?void 0:d.unit)??""}`;return`קטן מדי: ${f} ${v} להכיל ${D}`.trim()}const p=s.inclusive?">=":">",h=o(s.origin??"value");return d!=null&&d.unit?`${d.shortLabel} מדי: ${f} ${h} ${p}${s.minimum.toString()} ${d.unit}`:`${(d==null?void 0:d.shortLabel)??"קטן"} מדי: ${f} ${h} ${p}${s.minimum.toString()}`}case"invalid_format":{const d=s;if(d.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${d.prefix}"`;if(d.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${d.suffix}"`;if(d.format==="includes")return`המחרוזת חייבת לכלול "${d.includes}"`;if(d.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${d.pattern}`;const f=c[d.format],p=(f==null?void 0:f.label)??d.format,v=((f==null?void 0:f.gender)??"m")==="f"?"תקינה":"תקין";return`${p} לא ${v}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${s.divisor}`;case"unrecognized_keys":return`מפתח${s.keys.length>1?"ות":""} לא מזוה${s.keys.length>1?"ים":"ה"}: ${k(s.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${t(s.origin??"array")}`;default:return"קלט לא תקין"}}};function C$(){return{localeError:T$()}}const U$=()=>{const e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function n(t){return e[t]??null}const r={regex:"unos",email:"email 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:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},i={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Neispravan unos: očekuje se instanceof ${t.expected}, a primljeno je ${c}`:`Neispravan unos: očekuje se ${o}, a primljeno je ${c}`}case"invalid_value":return t.values.length===1?`Neispravna vrijednost: očekivano ${P(t.values[0])}`:`Neispravna opcija: očekivano jedno od ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin),c=i[t.origin]??t.origin;return a?`Preveliko: očekivano da ${c??"vrijednost"} ima ${o}${t.maximum.toString()} ${a.unit??"elemenata"}`:`Preveliko: očekivano da ${c??"vrijednost"} bude ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin),c=i[t.origin]??t.origin;return a?`Premalo: očekivano da ${c} ima ${o}${t.minimum.toString()} ${a.unit}`:`Premalo: očekivano da ${c} bude ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Neispravan tekst: mora započinjati s "${o.prefix}"`:o.format==="ends_with"?`Neispravan tekst: mora završavati s "${o.suffix}"`:o.format==="includes"?`Neispravan tekst: mora sadržavati "${o.includes}"`:o.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${o.pattern}`:`Neispravna ${r[o.format]??t.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${t.divisor}`;case"unrecognized_keys":return`Neprepoznat${t.keys.length>1?"i ključevi":" ključ"}: ${k(t.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${i[t.origin]??t.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${i[t.origin]??t.origin}`;default:return"Neispravan unos"}}};function A$(){return{localeError:U$()}}const P$=()=>{const e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"szám",array:"tömb"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Érvénytelen bemenet: a várt érték instanceof ${t.expected}, a kapott érték ${c}`:`Érvénytelen bemenet: a várt érték ${o}, a kapott érték ${c}`}case"invalid_value":return t.values.length===1?`Érvénytelen bemenet: a várt érték ${P(t.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Túl nagy: ${t.origin??"érték"} mérete túl nagy ${o}${t.maximum.toString()} ${a.unit??"elem"}`:`Túl nagy: a bemeneti érték ${t.origin??"érték"} túl nagy: ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Túl kicsi: a bemeneti érték ${t.origin} mérete túl kicsi ${o}${t.minimum.toString()} ${a.unit}`:`Túl kicsi: a bemeneti érték ${t.origin} túl kicsi ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Érvénytelen string: "${o.prefix}" értékkel kell kezdődnie`:o.format==="ends_with"?`Érvénytelen string: "${o.suffix}" értékkel kell végződnie`:o.format==="includes"?`Érvénytelen string: "${o.includes}" értéket kell tartalmaznia`:o.format==="regex"?`Érvénytelen string: ${o.pattern} mintának kell megfelelnie`:`Érvénytelen ${r[o.format]??t.format}`}case"not_multiple_of":return`Érvénytelen szám: ${t.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${t.keys.length>1?"s":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${t.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${t.origin}`;default:return"Érvénytelen bemenet"}}};function V$(){return{localeError:P$()}}function Qc(e,n,r){return Math.abs(e)===1?n:r}function Je(e){if(!e)return"";const n=["ա","ե","ը","ի","ո","ու","օ"],r=e[e.length-1];return e+(n.includes(r)?"ն":"ը")}const B$=()=>{const e={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function n(t){return e[t]??null}const r={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:"մուտք"},i={nan:"NaN",number:"թիվ",array:"զանգված"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${t.expected}, ստացվել է ${c}`:`Սխալ մուտքագրում․ սպասվում էր ${o}, ստացվել է ${c}`}case"invalid_value":return t.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${P(t.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);if(a){const c=Number(t.maximum),u=Qc(c,a.unit.one,a.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${Je(t.origin??"արժեք")} կունենա ${o}${t.maximum.toString()} ${u}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${Je(t.origin??"արժեք")} լինի ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);if(a){const c=Number(t.minimum),u=Qc(c,a.unit.one,a.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${Je(t.origin)} կունենա ${o}${t.minimum.toString()} ${u}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${Je(t.origin)} լինի ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Սխալ տող․ պետք է սկսվի "${o.prefix}"-ով`:o.format==="ends_with"?`Սխալ տող․ պետք է ավարտվի "${o.suffix}"-ով`:o.format==="includes"?`Սխալ տող․ պետք է պարունակի "${o.includes}"`:o.format==="regex"?`Սխալ տող․ պետք է համապատասխանի ${o.pattern} ձևաչափին`:`Սխալ ${r[o.format]??t.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${t.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${t.keys.length>1?"ներ":""}. ${k(t.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${Je(t.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${Je(t.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function Z$(){return{localeError:B$()}}const M$=()=>{const e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak valid: diharapkan instanceof ${t.expected}, diterima ${c}`:`Input tidak valid: diharapkan ${o}, diterima ${c}`}case"invalid_value":return t.values.length===1?`Input tidak valid: diharapkan ${P(t.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Terlalu besar: diharapkan ${t.origin??"value"} memiliki ${o}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${t.origin??"value"} menjadi ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Terlalu kecil: diharapkan ${t.origin} memiliki ${o}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${t.origin} menjadi ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`String tidak valid: harus dimulai dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak valid: harus berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak valid: harus menyertakan "${o.includes}"`:o.format==="regex"?`String tidak valid: harus sesuai pola ${o.pattern}`:`${r[o.format]??t.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${t.keys.length>1?"s":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${t.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${t.origin}`;default:return"Input tidak valid"}}};function F$(){return{localeError:M$()}}const L$=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"númer",array:"fylki"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Rangt gildi: Þú slóst inn ${c} þar sem á að vera instanceof ${t.expected}`:`Rangt gildi: Þú slóst inn ${c} þar sem á að vera ${o}`}case"invalid_value":return t.values.length===1?`Rangt gildi: gert ráð fyrir ${P(t.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} hafi ${o}${t.maximum.toString()} ${a.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} sé ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Of lítið: gert er ráð fyrir að ${t.origin} hafi ${o}${t.minimum.toString()} ${a.unit}`:`Of lítið: gert er ráð fyrir að ${t.origin} sé ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ógildur strengur: verður að byrja á "${o.prefix}"`:o.format==="ends_with"?`Ógildur strengur: verður að enda á "${o.suffix}"`:o.format==="includes"?`Ógildur strengur: verður að innihalda "${o.includes}"`:o.format==="regex"?`Ógildur strengur: verður að fylgja mynstri ${o.pattern}`:`Rangt ${r[o.format]??t.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${t.divisor}`;case"unrecognized_keys":return`Óþekkt ${t.keys.length>1?"ir lyklar":"ur lykill"}: ${k(t.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${t.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${t.origin}`;default:return"Rangt gildi"}}};function R$(){return{localeError:L$()}}const J$=()=>{const e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"numero",array:"vettore"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Input non valido: atteso instanceof ${t.expected}, ricevuto ${c}`:`Input non valido: atteso ${o}, ricevuto ${c}`}case"invalid_value":return t.values.length===1?`Input non valido: atteso ${P(t.values[0])}`:`Opzione non valida: atteso uno tra ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Troppo grande: ${t.origin??"valore"} deve avere ${o}${t.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${t.origin??"valore"} deve essere ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Troppo piccolo: ${t.origin} deve avere ${o}${t.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${t.origin} deve essere ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Stringa non valida: deve iniziare con "${o.prefix}"`:o.format==="ends_with"?`Stringa non valida: deve terminare con "${o.suffix}"`:o.format==="includes"?`Stringa non valida: deve includere "${o.includes}"`:o.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${o.pattern}`:`Input non valido: ${r[o.format]??t.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${t.divisor}`;case"unrecognized_keys":return`Chiav${t.keys.length>1?"i":"e"} non riconosciut${t.keys.length>1?"e":"a"}: ${k(t.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${t.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${t.origin}`;default:return"Input non valido"}}};function q$(){return{localeError:J$()}}const G$=()=>{const e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function n(t){return e[t]??null}const r={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:"入力値"},i={nan:"NaN",number:"数値",array:"配列"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`無効な入力: instanceof ${t.expected}が期待されましたが、${c}が入力されました`:`無効な入力: ${o}が期待されましたが、${c}が入力されました`}case"invalid_value":return t.values.length===1?`無効な入力: ${P(t.values[0])}が期待されました`:`無効な選択: ${k(t.values,"、")}のいずれかである必要があります`;case"too_big":{const o=t.inclusive?"以下である":"より小さい",a=n(t.origin);return a?`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${a.unit??"要素"}${o}必要があります`:`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${o}必要があります`}case"too_small":{const o=t.inclusive?"以上である":"より大きい",a=n(t.origin);return a?`小さすぎる値: ${t.origin}は${t.minimum.toString()}${a.unit}${o}必要があります`:`小さすぎる値: ${t.origin}は${t.minimum.toString()}${o}必要があります`}case"invalid_format":{const o=t;return o.format==="starts_with"?`無効な文字列: "${o.prefix}"で始まる必要があります`:o.format==="ends_with"?`無効な文字列: "${o.suffix}"で終わる必要があります`:o.format==="includes"?`無効な文字列: "${o.includes}"を含む必要があります`:o.format==="regex"?`無効な文字列: パターン${o.pattern}に一致する必要があります`:`無効な${r[o.format]??t.format}`}case"not_multiple_of":return`無効な数値: ${t.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${t.keys.length>1?"群":""}: ${k(t.keys,"、")}`;case"invalid_key":return`${t.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${t.origin}内の無効な値`;default:return"無効な入力"}}};function W$(){return{localeError:G$()}}const K$=()=>{const e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function n(t){return e[t]??null}const r={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:"შეყვანა"},i={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${t.expected}, მიღებული ${c}`:`არასწორი შეყვანა: მოსალოდნელი ${o}, მიღებული ${c}`}case"invalid_value":return t.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${P(t.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${k(t.values,"|")}-დან`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} იყოს ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`ზედმეტად პატარა: მოსალოდნელი ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${t.origin} იყოს ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`არასწორი ველი: უნდა იწყებოდეს "${o.prefix}"-ით`:o.format==="ends_with"?`არასწორი ველი: უნდა მთავრდებოდეს "${o.suffix}"-ით`:o.format==="includes"?`არასწორი ველი: უნდა შეიცავდეს "${o.includes}"-ს`:o.format==="regex"?`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${o.pattern}`:`არასწორი ${r[o.format]??t.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${t.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${t.keys.length>1?"ები":"ი"}: ${k(t.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${t.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${t.origin}-ში`;default:return"არასწორი შეყვანა"}}};function H$(){return{localeError:K$()}}const X$=()=>{const e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function n(t){return e[t]??null}const r={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:"ទិន្នន័យបញ្ចូល"},i={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${t.expected} ប៉ុន្តែទទួលបាន ${c}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${o} ប៉ុន្តែទទួលបាន ${c}`}case"invalid_value":return t.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${P(t.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${o} ${t.maximum.toString()} ${a.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${o} ${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`តូចពេក៖ ត្រូវការ ${t.origin} ${o} ${t.minimum.toString()} ${a.unit}`:`តូចពេក៖ ត្រូវការ ${t.origin} ${o} ${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${o.prefix}"`:o.format==="ends_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${o.suffix}"`:o.format==="includes"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${o.includes}"`:o.format==="regex"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${o.pattern}`:`មិនត្រឹមត្រូវ៖ ${r[o.format]??t.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${t.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${k(t.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function es(){return{localeError:X$()}}function Y$(){return es()}const Q$=()=>{const e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function n(t){return e[t]??null}const r={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:"입력"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`잘못된 입력: 예상 타입은 instanceof ${t.expected}, 받은 타입은 ${c}입니다`:`잘못된 입력: 예상 타입은 ${o}, 받은 타입은 ${c}입니다`}case"invalid_value":return t.values.length===1?`잘못된 입력: 값은 ${P(t.values[0])} 이어야 합니다`:`잘못된 옵션: ${k(t.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const o=t.inclusive?"이하":"미만",a=o==="미만"?"이어야 합니다":"여야 합니다",c=n(t.origin),u=(c==null?void 0:c.unit)??"요소";return c?`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()}${u} ${o}${a}`:`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()} ${o}${a}`}case"too_small":{const o=t.inclusive?"이상":"초과",a=o==="이상"?"이어야 합니다":"여야 합니다",c=n(t.origin),u=(c==null?void 0:c.unit)??"요소";return c?`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()}${u} ${o}${a}`:`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()} ${o}${a}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`잘못된 문자열: "${o.prefix}"(으)로 시작해야 합니다`:o.format==="ends_with"?`잘못된 문자열: "${o.suffix}"(으)로 끝나야 합니다`:o.format==="includes"?`잘못된 문자열: "${o.includes}"을(를) 포함해야 합니다`:o.format==="regex"?`잘못된 문자열: 정규식 ${o.pattern} 패턴과 일치해야 합니다`:`잘못된 ${r[o.format]??t.format}`}case"not_multiple_of":return`잘못된 숫자: ${t.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${k(t.keys,", ")}`;case"invalid_key":return`잘못된 키: ${t.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${t.origin}`;default:return"잘못된 입력"}}};function e_(){return{localeError:Q$()}}const mt=e=>e.charAt(0).toUpperCase()+e.slice(1);function ts(e){const n=Math.abs(e),r=n%10,i=n%100;return i>=11&&i<=19||r===0?"many":r===1?"one":"few"}const t_=()=>{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 n(t,o,a,c){const u=e[t]??null;return u===null?u:{unit:u.unit[o],verb:u.verb[c][a?"inclusive":"notInclusive"]}}const r={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"},i={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Gautas tipas ${c}, o tikėtasi - instanceof ${t.expected}`:`Gautas tipas ${c}, o tikėtasi - ${o}`}case"invalid_value":return t.values.length===1?`Privalo būti ${P(t.values[0])}`:`Privalo būti vienas iš ${k(t.values,"|")} pasirinkimų`;case"too_big":{const o=i[t.origin]??t.origin,a=n(t.origin,ts(Number(t.maximum)),t.inclusive??!1,"smaller");if(a!=null&&a.verb)return`${mt(o??t.origin??"reikšmė")} ${a.verb} ${t.maximum.toString()} ${a.unit??"elementų"}`;const c=t.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${mt(o??t.origin??"reikšmė")} turi būti ${c} ${t.maximum.toString()} ${a==null?void 0:a.unit}`}case"too_small":{const o=i[t.origin]??t.origin,a=n(t.origin,ts(Number(t.minimum)),t.inclusive??!1,"bigger");if(a!=null&&a.verb)return`${mt(o??t.origin??"reikšmė")} ${a.verb} ${t.minimum.toString()} ${a.unit??"elementų"}`;const c=t.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${mt(o??t.origin??"reikšmė")} turi būti ${c} ${t.minimum.toString()} ${a==null?void 0:a.unit}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Eilutė privalo prasidėti "${o.prefix}"`:o.format==="ends_with"?`Eilutė privalo pasibaigti "${o.suffix}"`:o.format==="includes"?`Eilutė privalo įtraukti "${o.includes}"`:o.format==="regex"?`Eilutė privalo atitikti ${o.pattern}`:`Neteisingas ${r[o.format]??t.format}`}case"not_multiple_of":return`Skaičius privalo būti ${t.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${t.keys.length>1?"i":"as"} rakt${t.keys.length>1?"ai":"as"}: ${k(t.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{const o=i[t.origin]??t.origin;return`${mt(o??t.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function n_(){return{localeError:t_()}}const r_=()=>{const e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function n(t){return e[t]??null}const r={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:"внес"},i={nan:"NaN",number:"број",array:"низа"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Грешен внес: се очекува instanceof ${t.expected}, примено ${c}`:`Грешен внес: се очекува ${o}, примено ${c}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${P(t.values[0])}`:`Грешана опција: се очекува една ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Премногу голем: се очекува ${t.origin??"вредноста"} да има ${o}${t.maximum.toString()} ${a.unit??"елементи"}`:`Премногу голем: се очекува ${t.origin??"вредноста"} да биде ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Премногу мал: се очекува ${t.origin} да има ${o}${t.minimum.toString()} ${a.unit}`:`Премногу мал: се очекува ${t.origin} да биде ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Неважечка низа: мора да започнува со "${o.prefix}"`:o.format==="ends_with"?`Неважечка низа: мора да завршува со "${o.suffix}"`:o.format==="includes"?`Неважечка низа: мора да вклучува "${o.includes}"`:o.format==="regex"?`Неважечка низа: мора да одгоара на патернот ${o.pattern}`:`Invalid ${r[o.format]??t.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${k(t.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${t.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${t.origin}`;default:return"Грешен внес"}}};function o_(){return{localeError:r_()}}const i_=()=>{const e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"nombor"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak sah: dijangka instanceof ${t.expected}, diterima ${c}`:`Input tidak sah: dijangka ${o}, diterima ${c}`}case"invalid_value":return t.values.length===1?`Input tidak sah: dijangka ${P(t.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Terlalu besar: dijangka ${t.origin??"nilai"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${t.origin??"nilai"} adalah ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Terlalu kecil: dijangka ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${t.origin} adalah ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`String tidak sah: mesti bermula dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak sah: mesti mengandungi "${o.includes}"`:o.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${o.pattern}`:`${r[o.format]??t.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${k(t.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${t.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${t.origin}`;default:return"Input tidak sah"}}};function a_(){return{localeError:i_()}}const l_=()=>{const e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"getal"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ongeldige invoer: verwacht instanceof ${t.expected}, ontving ${c}`:`Ongeldige invoer: verwacht ${o}, ontving ${c}`}case"invalid_value":return t.values.length===1?`Ongeldige invoer: verwacht ${P(t.values[0])}`:`Ongeldige optie: verwacht één van ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin),c=t.origin==="date"?"laat":t.origin==="string"?"lang":"groot";return a?`Te ${c}: verwacht dat ${t.origin??"waarde"} ${o}${t.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${c}: verwacht dat ${t.origin??"waarde"} ${o}${t.maximum.toString()} is`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin),c=t.origin==="date"?"vroeg":t.origin==="string"?"kort":"klein";return a?`Te ${c}: verwacht dat ${t.origin} ${o}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${c}: verwacht dat ${t.origin} ${o}${t.minimum.toString()} is`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ongeldige tekst: moet met "${o.prefix}" beginnen`:o.format==="ends_with"?`Ongeldige tekst: moet op "${o.suffix}" eindigen`:o.format==="includes"?`Ongeldige tekst: moet "${o.includes}" bevatten`:o.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${o.pattern}`:`Ongeldig: ${r[o.format]??t.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${t.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${t.keys.length>1?"s":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${t.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${t.origin}`;default:return"Ongeldige invoer"}}};function c_(){return{localeError:l_()}}const s_=()=>{const e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"tall",array:"liste"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldig input: forventet instanceof ${t.expected}, fikk ${c}`:`Ugyldig input: forventet ${o}, fikk ${c}`}case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventet ${P(t.values[0])}`:`Ugyldig valg: forventet en av ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`For stor(t): forventet ${t.origin??"value"} til å ha ${o}${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${t.origin??"value"} til å ha ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`For lite(n): forventet ${t.origin} til å ha ${o}${t.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${t.origin} til å ha ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ugyldig streng: må starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: må ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: må inneholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: må matche mønsteret ${o.pattern}`:`Ugyldig ${r[o.format]??t.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${k(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}};function u_(){return{localeError:s_()}}const d_=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Fâsit giren: umulan instanceof ${t.expected}, alınan ${c}`:`Fâsit giren: umulan ${o}, alınan ${c}`}case"invalid_value":return t.values.length===1?`Fâsit giren: umulan ${P(t.values[0])}`:`Fâsit tercih: mûteberler ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Fazla büyük: ${t.origin??"value"}, ${o}${t.maximum.toString()} ${a.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${t.origin??"value"}, ${o}${t.maximum.toString()} olmalıydı.`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Fazla küçük: ${t.origin}, ${o}${t.minimum.toString()} ${a.unit} sahip olmalıydı.`:`Fazla küçük: ${t.origin}, ${o}${t.minimum.toString()} olmalıydı.`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Fâsit metin: "${o.prefix}" ile başlamalı.`:o.format==="ends_with"?`Fâsit metin: "${o.suffix}" ile bitmeli.`:o.format==="includes"?`Fâsit metin: "${o.includes}" ihtivâ etmeli.`:o.format==="regex"?`Fâsit metin: ${o.pattern} nakşına uymalı.`:`Fâsit ${r[o.format]??t.format}`}case"not_multiple_of":return`Fâsit sayı: ${t.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${t.keys.length>1?"s":""}: ${k(t.keys,", ")}`;case"invalid_key":return`${t.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${t.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function m_(){return{localeError:d_()}}const f_=()=>{const e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function n(t){return e[t]??null}const r={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:"ورودي"},i={nan:"NaN",number:"عدد",array:"ارې"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`ناسم ورودي: باید instanceof ${t.expected} وای, مګر ${c} ترلاسه شو`:`ناسم ورودي: باید ${o} وای, مګر ${c} ترلاسه شو`}case"invalid_value":return t.values.length===1?`ناسم ورودي: باید ${P(t.values[0])} وای`:`ناسم انتخاب: باید یو له ${k(t.values,"|")} څخه وای`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`ډیر لوی: ${t.origin??"ارزښت"} باید ${o}${t.maximum.toString()} ${a.unit??"عنصرونه"} ولري`:`ډیر لوی: ${t.origin??"ارزښت"} باید ${o}${t.maximum.toString()} وي`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`ډیر کوچنی: ${t.origin} باید ${o}${t.minimum.toString()} ${a.unit} ولري`:`ډیر کوچنی: ${t.origin} باید ${o}${t.minimum.toString()} وي`}case"invalid_format":{const o=t;return o.format==="starts_with"?`ناسم متن: باید د "${o.prefix}" سره پیل شي`:o.format==="ends_with"?`ناسم متن: باید د "${o.suffix}" سره پای ته ورسيږي`:o.format==="includes"?`ناسم متن: باید "${o.includes}" ولري`:o.format==="regex"?`ناسم متن: باید د ${o.pattern} سره مطابقت ولري`:`${r[o.format]??t.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${t.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${t.keys.length>1?"کلیډونه":"کلیډ"}: ${k(t.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${t.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${t.origin} کې`;default:return"ناسمه ورودي"}}};function p_(){return{localeError:f_()}}const g_=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"liczba",array:"tablica"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${t.expected}, otrzymano ${c}`:`Nieprawidłowe dane wejściowe: oczekiwano ${o}, otrzymano ${c}`}case"invalid_value":return t.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${P(t.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Za duża wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${o}${t.maximum.toString()} ${a.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Za mała wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${o}${t.minimum.toString()} ${a.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${o.prefix}"`:o.format==="ends_with"?`Nieprawidłowy ciąg znaków: musi kończyć się na "${o.suffix}"`:o.format==="includes"?`Nieprawidłowy ciąg znaków: musi zawierać "${o.includes}"`:o.format==="regex"?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${o.pattern}`:`Nieprawidłow(y/a/e) ${r[o.format]??t.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${t.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${t.keys.length>1?"s":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${t.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${t.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function v_(){return{localeError:g_()}}const h_=()=>{const e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"número",null:"nulo"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Tipo inválido: esperado instanceof ${t.expected}, recebido ${c}`:`Tipo inválido: esperado ${o}, recebido ${c}`}case"invalid_value":return t.values.length===1?`Entrada inválida: esperado ${P(t.values[0])}`:`Opção inválida: esperada uma das ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Muito grande: esperado que ${t.origin??"valor"} tivesse ${o}${t.maximum.toString()} ${a.unit??"elementos"}`:`Muito grande: esperado que ${t.origin??"valor"} fosse ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Muito pequeno: esperado que ${t.origin} tivesse ${o}${t.minimum.toString()} ${a.unit}`:`Muito pequeno: esperado que ${t.origin} fosse ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Texto inválido: deve começar com "${o.prefix}"`:o.format==="ends_with"?`Texto inválido: deve terminar com "${o.suffix}"`:o.format==="includes"?`Texto inválido: deve incluir "${o.includes}"`:o.format==="regex"?`Texto inválido: deve corresponder ao padrão ${o.pattern}`:`${r[o.format]??t.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Chave${t.keys.length>1?"s":""} desconhecida${t.keys.length>1?"s":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Chave inválida em ${t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${t.origin}`;default:return"Campo inválido"}}};function b_(){return{localeError:h_()}}const $_=()=>{const e={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function n(t){return e[t]??null}const r={regex:"intrare",email:"adresă de 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:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},i={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return`Intrare invalidă: așteptat ${o}, primit ${c}`}case"invalid_value":return t.values.length===1?`Intrare invalidă: așteptat ${P(t.values[0])}`:`Opțiune invalidă: așteptat una dintre ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Prea mare: așteptat ca ${t.origin??"valoarea"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"elemente"}`:`Prea mare: așteptat ca ${t.origin??"valoarea"} să fie ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Prea mic: așteptat ca ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Prea mic: așteptat ca ${t.origin} să fie ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Șir invalid: trebuie să înceapă cu "${o.prefix}"`:o.format==="ends_with"?`Șir invalid: trebuie să se termine cu "${o.suffix}"`:o.format==="includes"?`Șir invalid: trebuie să includă "${o.includes}"`:o.format==="regex"?`Șir invalid: trebuie să se potrivească cu modelul ${o.pattern}`:`Format invalid: ${r[o.format]??t.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${t.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${k(t.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${t.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${t.origin}`;default:return"Intrare invalidă"}}};function __(){return{localeError:$_()}}function ns(e,n,r,i){const t=Math.abs(e),o=t%10,a=t%100;return a>=11&&a<=19?i:o===1?n:o>=2&&o<=4?r:i}const y_=()=>{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 n(t){return e[t]??null}const r={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:"ввод"},i={nan:"NaN",number:"число",array:"массив"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Неверный ввод: ожидалось instanceof ${t.expected}, получено ${c}`:`Неверный ввод: ожидалось ${o}, получено ${c}`}case"invalid_value":return t.values.length===1?`Неверный ввод: ожидалось ${P(t.values[0])}`:`Неверный вариант: ожидалось одно из ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);if(a){const c=Number(t.maximum),u=ns(c,a.unit.one,a.unit.few,a.unit.many);return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет иметь ${o}${t.maximum.toString()} ${u}`}return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);if(a){const c=Number(t.minimum),u=ns(c,a.unit.one,a.unit.few,a.unit.many);return`Слишком маленькое значение: ожидалось, что ${t.origin} будет иметь ${o}${t.minimum.toString()} ${u}`}return`Слишком маленькое значение: ожидалось, что ${t.origin} будет ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Неверная строка: должна начинаться с "${o.prefix}"`:o.format==="ends_with"?`Неверная строка: должна заканчиваться на "${o.suffix}"`:o.format==="includes"?`Неверная строка: должна содержать "${o.includes}"`:o.format==="regex"?`Неверная строка: должна соответствовать шаблону ${o.pattern}`:`Неверный ${r[o.format]??t.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспознанн${t.keys.length>1?"ые":"ый"} ключ${t.keys.length>1?"и":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${t.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${t.origin}`;default:return"Неверные входные данные"}}};function k_(){return{localeError:y_()}}const S_=()=>{const e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"število",array:"tabela"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Neveljaven vnos: pričakovano instanceof ${t.expected}, prejeto ${c}`:`Neveljaven vnos: pričakovano ${o}, prejeto ${c}`}case"invalid_value":return t.values.length===1?`Neveljaven vnos: pričakovano ${P(t.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} imelo ${o}${t.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Premajhno: pričakovano, da bo ${t.origin} imelo ${o}${t.minimum.toString()} ${a.unit}`:`Premajhno: pričakovano, da bo ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Neveljaven niz: mora se začeti z "${o.prefix}"`:o.format==="ends_with"?`Neveljaven niz: mora se končati z "${o.suffix}"`:o.format==="includes"?`Neveljaven niz: mora vsebovati "${o.includes}"`:o.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${o.pattern}`:`Neveljaven ${r[o.format]??t.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${t.divisor}`;case"unrecognized_keys":return`Neprepoznan${t.keys.length>1?"i ključi":" ključ"}: ${k(t.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${t.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${t.origin}`;default:return"Neveljaven vnos"}}};function w_(){return{localeError:S_()}}const I_=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"antal",array:"lista"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ogiltig inmatning: förväntat instanceof ${t.expected}, fick ${c}`:`Ogiltig inmatning: förväntat ${o}, fick ${c}`}case"invalid_value":return t.values.length===1?`Ogiltig inmatning: förväntat ${P(t.values[0])}`:`Ogiltigt val: förväntade en av ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`För stor(t): förväntade ${t.origin??"värdet"} att ha ${o}${t.maximum.toString()} ${a.unit??"element"}`:`För stor(t): förväntat ${t.origin??"värdet"} att ha ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`För lite(t): förväntade ${t.origin??"värdet"} att ha ${o}${t.minimum.toString()} ${a.unit}`:`För lite(t): förväntade ${t.origin??"värdet"} att ha ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ogiltig sträng: måste börja med "${o.prefix}"`:o.format==="ends_with"?`Ogiltig sträng: måste sluta med "${o.suffix}"`:o.format==="includes"?`Ogiltig sträng: måste innehålla "${o.includes}"`:o.format==="regex"?`Ogiltig sträng: måste matcha mönstret "${o.pattern}"`:`Ogiltig(t) ${r[o.format]??t.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${k(t.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${t.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${t.origin??"värdet"}`;default:return"Ogiltig input"}}};function z_(){return{localeError:I_()}}const E_=()=>{const e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${t.expected}, பெறப்பட்டது ${c}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${o}, பெறப்பட்டது ${c}`}case"invalid_value":return t.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${P(t.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${k(t.values,"|")} இல் ஒன்று`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${o}${t.maximum.toString()} ${a.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${o}${t.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${o}${t.minimum.toString()} ${a.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${o}${t.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{const o=t;return o.format==="starts_with"?`தவறான சரம்: "${o.prefix}" இல் தொடங்க வேண்டும்`:o.format==="ends_with"?`தவறான சரம்: "${o.suffix}" இல் முடிவடைய வேண்டும்`:o.format==="includes"?`தவறான சரம்: "${o.includes}" ஐ உள்ளடக்க வேண்டும்`:o.format==="regex"?`தவறான சரம்: ${o.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${r[o.format]??t.format}`}case"not_multiple_of":return`தவறான எண்: ${t.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${t.keys.length>1?"கள்":""}: ${k(t.keys,", ")}`;case"invalid_key":return`${t.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${t.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function N_(){return{localeError:E_()}}const D_=()=>{const e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function n(t){return e[t]??null}const r={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:"ข้อมูลที่ป้อน"},i={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${t.expected} แต่ได้รับ ${c}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${o} แต่ได้รับ ${c}`}case"invalid_value":return t.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${P(t.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"ไม่เกิน":"น้อยกว่า",a=n(t.origin);return a?`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${o} ${t.maximum.toString()} ${a.unit??"รายการ"}`:`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${o} ${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?"อย่างน้อย":"มากกว่า",a=n(t.origin);return a?`น้อยกว่ากำหนด: ${t.origin} ควรมี${o} ${t.minimum.toString()} ${a.unit}`:`น้อยกว่ากำหนด: ${t.origin} ควรมี${o} ${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${o.prefix}"`:o.format==="ends_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${o.suffix}"`:o.format==="includes"?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${o.includes}" อยู่ในข้อความ`:o.format==="regex"?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${o.pattern}`:`รูปแบบไม่ถูกต้อง: ${r[o.format]??t.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${t.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${k(t.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${t.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${t.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function O_(){return{localeError:D_()}}const j_=()=>{const e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function n(t){return e[t]??null}const r={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"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Geçersiz değer: beklenen instanceof ${t.expected}, alınan ${c}`:`Geçersiz değer: beklenen ${o}, alınan ${c}`}case"invalid_value":return t.values.length===1?`Geçersiz değer: beklenen ${P(t.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Çok büyük: beklenen ${t.origin??"değer"} ${o}${t.maximum.toString()} ${a.unit??"öğe"}`:`Çok büyük: beklenen ${t.origin??"değer"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Çok küçük: beklenen ${t.origin} ${o}${t.minimum.toString()} ${a.unit}`:`Çok küçük: beklenen ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Geçersiz metin: "${o.prefix}" ile başlamalı`:o.format==="ends_with"?`Geçersiz metin: "${o.suffix}" ile bitmeli`:o.format==="includes"?`Geçersiz metin: "${o.includes}" içermeli`:o.format==="regex"?`Geçersiz metin: ${o.pattern} desenine uymalı`:`Geçersiz ${r[o.format]??t.format}`}case"not_multiple_of":return`Geçersiz sayı: ${t.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${t.keys.length>1?"lar":""}: ${k(t.keys,", ")}`;case"invalid_key":return`${t.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${t.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function x_(){return{localeError:j_()}}const T_=()=>{const e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function n(t){return e[t]??null}const r={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:"вхідні дані"},i={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Неправильні вхідні дані: очікується instanceof ${t.expected}, отримано ${c}`:`Неправильні вхідні дані: очікується ${o}, отримано ${c}`}case"invalid_value":return t.values.length===1?`Неправильні вхідні дані: очікується ${P(t.values[0])}`:`Неправильна опція: очікується одне з ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Занадто велике: очікується, що ${t.origin??"значення"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"елементів"}`:`Занадто велике: очікується, що ${t.origin??"значення"} буде ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Занадто мале: очікується, що ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Занадто мале: очікується, що ${t.origin} буде ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Неправильний рядок: повинен починатися з "${o.prefix}"`:o.format==="ends_with"?`Неправильний рядок: повинен закінчуватися на "${o.suffix}"`:o.format==="includes"?`Неправильний рядок: повинен містити "${o.includes}"`:o.format==="regex"?`Неправильний рядок: повинен відповідати шаблону ${o.pattern}`:`Неправильний ${r[o.format]??t.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${t.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${t.keys.length>1?"і":""}: ${k(t.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${t.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${t.origin}`;default:return"Неправильні вхідні дані"}}};function rs(){return{localeError:T_()}}function C_(){return rs()}const U_=()=>{const e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function n(t){return e[t]??null}const r={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:"ان پٹ"},i={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`غلط ان پٹ: instanceof ${t.expected} متوقع تھا، ${c} موصول ہوا`:`غلط ان پٹ: ${o} متوقع تھا، ${c} موصول ہوا`}case"invalid_value":return t.values.length===1?`غلط ان پٹ: ${P(t.values[0])} متوقع تھا`:`غلط آپشن: ${k(t.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`بہت بڑا: ${t.origin??"ویلیو"} کے ${o}${t.maximum.toString()} ${a.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${t.origin??"ویلیو"} کا ${o}${t.maximum.toString()} ہونا متوقع تھا`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`بہت چھوٹا: ${t.origin} کے ${o}${t.minimum.toString()} ${a.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${t.origin} کا ${o}${t.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{const o=t;return o.format==="starts_with"?`غلط سٹرنگ: "${o.prefix}" سے شروع ہونا چاہیے`:o.format==="ends_with"?`غلط سٹرنگ: "${o.suffix}" پر ختم ہونا چاہیے`:o.format==="includes"?`غلط سٹرنگ: "${o.includes}" شامل ہونا چاہیے`:o.format==="regex"?`غلط سٹرنگ: پیٹرن ${o.pattern} سے میچ ہونا چاہیے`:`غلط ${r[o.format]??t.format}`}case"not_multiple_of":return`غلط نمبر: ${t.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${t.keys.length>1?"ز":""}: ${k(t.keys,"، ")}`;case"invalid_key":return`${t.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${t.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function A_(){return{localeError:U_()}}const P_=()=>{const e={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function n(t){return e[t]??null}const r={regex:"kirish",email:"elektron pochta manzili",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 sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},i={nan:"NaN",number:"raqam",array:"massiv"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${t.expected}, qabul qilingan ${c}`:`Noto‘g‘ri kirish: kutilgan ${o}, qabul qilingan ${c}`}case"invalid_value":return t.values.length===1?`Noto‘g‘ri kirish: kutilgan ${P(t.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Juda katta: kutilgan ${t.origin??"qiymat"} ${o}${t.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${t.origin??"qiymat"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Juda kichik: kutilgan ${t.origin} ${o}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Noto‘g‘ri satr: "${o.prefix}" bilan boshlanishi kerak`:o.format==="ends_with"?`Noto‘g‘ri satr: "${o.suffix}" bilan tugashi kerak`:o.format==="includes"?`Noto‘g‘ri satr: "${o.includes}" ni o‘z ichiga olishi kerak`:o.format==="regex"?`Noto‘g‘ri satr: ${o.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${r[o.format]??t.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${t.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${t.keys.length>1?"lar":""}: ${k(t.keys,", ")}`;case"invalid_key":return`${t.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${t.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function V_(){return{localeError:P_()}}const B_=()=>{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 n(t){return e[t]??null}const r={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"},i={nan:"NaN",number:"số",array:"mảng"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${t.expected}, nhận được ${c}`:`Đầu vào không hợp lệ: mong đợi ${o}, nhận được ${c}`}case"invalid_value":return t.values.length===1?`Đầu vào không hợp lệ: mong đợi ${P(t.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Quá lớn: mong đợi ${t.origin??"giá trị"} ${a.verb} ${o}${t.maximum.toString()} ${a.unit??"phần tử"}`:`Quá lớn: mong đợi ${t.origin??"giá trị"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Quá nhỏ: mong đợi ${t.origin} ${a.verb} ${o}${t.minimum.toString()} ${a.unit}`:`Quá nhỏ: mong đợi ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Chuỗi không hợp lệ: phải bắt đầu bằng "${o.prefix}"`:o.format==="ends_with"?`Chuỗi không hợp lệ: phải kết thúc bằng "${o.suffix}"`:o.format==="includes"?`Chuỗi không hợp lệ: phải bao gồm "${o.includes}"`:o.format==="regex"?`Chuỗi không hợp lệ: phải khớp với mẫu ${o.pattern}`:`${r[o.format]??t.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 ${t.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${k(t.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${t.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${t.origin}`;default:return"Đầu vào không hợp lệ"}}};function Z_(){return{localeError:B_()}}const M_=()=>{const e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function n(t){return e[t]??null}const r={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:"输入"},i={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`无效输入:期望 instanceof ${t.expected},实际接收 ${c}`:`无效输入:期望 ${o},实际接收 ${c}`}case"invalid_value":return t.values.length===1?`无效输入:期望 ${P(t.values[0])}`:`无效选项:期望以下之一 ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`数值过大:期望 ${t.origin??"值"} ${o}${t.maximum.toString()} ${a.unit??"个元素"}`:`数值过大:期望 ${t.origin??"值"} ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`数值过小:期望 ${t.origin} ${o}${t.minimum.toString()} ${a.unit}`:`数值过小:期望 ${t.origin} ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`无效字符串:必须以 "${o.prefix}" 开头`:o.format==="ends_with"?`无效字符串:必须以 "${o.suffix}" 结尾`:o.format==="includes"?`无效字符串:必须包含 "${o.includes}"`:o.format==="regex"?`无效字符串:必须满足正则表达式 ${o.pattern}`:`无效${r[o.format]??t.format}`}case"not_multiple_of":return`无效数字:必须是 ${t.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${k(t.keys,", ")}`;case"invalid_key":return`${t.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${t.origin} 中包含无效值(value)`;default:return"无效输入"}}};function F_(){return{localeError:M_()}}const L_=()=>{const e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function n(t){return e[t]??null}const r={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:"輸入"},i={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`無效的輸入值:預期為 instanceof ${t.expected},但收到 ${c}`:`無效的輸入值:預期為 ${o},但收到 ${c}`}case"invalid_value":return t.values.length===1?`無效的輸入值:預期為 ${P(t.values[0])}`:`無效的選項:預期為以下其中之一 ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`數值過大:預期 ${t.origin??"值"} 應為 ${o}${t.maximum.toString()} ${a.unit??"個元素"}`:`數值過大:預期 ${t.origin??"值"} 應為 ${o}${t.maximum.toString()}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`數值過小:預期 ${t.origin} 應為 ${o}${t.minimum.toString()} ${a.unit}`:`數值過小:預期 ${t.origin} 應為 ${o}${t.minimum.toString()}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`無效的字串:必須以 "${o.prefix}" 開頭`:o.format==="ends_with"?`無效的字串:必須以 "${o.suffix}" 結尾`:o.format==="includes"?`無效的字串:必須包含 "${o.includes}"`:o.format==="regex"?`無效的字串:必須符合格式 ${o.pattern}`:`無效的 ${r[o.format]??t.format}`}case"not_multiple_of":return`無效的數字:必須為 ${t.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${t.keys.length>1?"們":""}:${k(t.keys,"、")}`;case"invalid_key":return`${t.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${t.origin} 中有無效的值`;default:return"無效的輸入值"}}};function R_(){return{localeError:L_()}}const J_=()=>{const e={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function n(t){return e[t]??null}const r={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é"},i={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return t=>{switch(t.code){case"invalid_type":{const o=i[t.expected]??t.expected,a=V(t.input),c=i[a]??a;return/^[A-Z]/.test(t.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${t.expected}, àmọ̀ a rí ${c}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${o}, àmọ̀ a rí ${c}`}case"invalid_value":return t.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${P(t.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${k(t.values,"|")}`;case"too_big":{const o=t.inclusive?"<=":"<",a=n(t.origin);return a?`Tó pọ̀ jù: a ní láti jẹ́ pé ${t.origin??"iye"} ${a.verb} ${o}${t.maximum} ${a.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${o}${t.maximum}`}case"too_small":{const o=t.inclusive?">=":">",a=n(t.origin);return a?`Kéré ju: a ní láti jẹ́ pé ${t.origin} ${a.verb} ${o}${t.minimum} ${a.unit}`:`Kéré ju: a ní láti jẹ́ ${o}${t.minimum}`}case"invalid_format":{const o=t;return o.format==="starts_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${o.prefix}"`:o.format==="ends_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${o.suffix}"`:o.format==="includes"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${o.includes}"`:o.format==="regex"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${o.pattern}`:`Aṣìṣe: ${r[o.format]??t.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${t.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${k(t.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${t.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${t.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function q_(){return{localeError:J_()}}const os=Object.freeze(Object.defineProperty({__proto__:null,ar:r$,az:i$,be:l$,bg:s$,ca:d$,cs:f$,da:g$,de:h$,el:$$,en:Yc,eo:k$,es:w$,fa:z$,fi:N$,fr:O$,frCA:x$,he:C$,hr:A$,hu:V$,hy:Z$,id:F$,is:R$,it:q$,ja:W$,ka:H$,kh:Y$,km:es,ko:e_,lt:n_,mk:o_,ms:a_,nl:c_,no:u_,ota:m_,pl:v_,ps:p_,pt:b_,ro:__,ru:k_,sl:w_,sv:z_,ta:N_,th:O_,tr:x_,ua:C_,uk:rs,ur:A_,uz:V_,vi:Z_,yo:q_,zhCN:F_,zhTW:R_},Symbol.toStringTag,{value:"Module"}));var is;const as=Symbol("ZodOutput"),ls=Symbol("ZodInput");class cs{constructor(){this._map=new WeakMap,this._idmap=new Map}add(n,...r){const i=r[0];return this._map.set(n,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,n),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(n){const r=this._map.get(n);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(n),this}get(n){const r=n._zod.parent;if(r){const i={...this.get(r)??{}};delete i.id;const t={...i,...this._map.get(n)};return Object.keys(t).length?t:void 0}return this._map.get(n)}has(n){return this._map.has(n)}}function Cr(){return new cs}(is=globalThis).__zod_globalRegistry??(is.__zod_globalRegistry=Cr());const _e=globalThis.__zod_globalRegistry;function ss(e,n){return new e({type:"string",..._(n)})}function us(e,n){return new e({type:"string",coerce:!0,..._(n)})}function Ur(e,n){return new e({type:"string",format:"email",check:"string_format",abort:!1,..._(n)})}function tn(e,n){return new e({type:"string",format:"guid",check:"string_format",abort:!1,..._(n)})}function Ar(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,..._(n)})}function Pr(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",..._(n)})}function Vr(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",..._(n)})}function Br(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",..._(n)})}function nn(e,n){return new e({type:"string",format:"url",check:"string_format",abort:!1,..._(n)})}function Zr(e,n){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,..._(n)})}function Mr(e,n){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,..._(n)})}function Fr(e,n){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,..._(n)})}function Lr(e,n){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,..._(n)})}function Rr(e,n){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,..._(n)})}function Jr(e,n){return new e({type:"string",format:"xid",check:"string_format",abort:!1,..._(n)})}function qr(e,n){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,..._(n)})}function Gr(e,n){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,..._(n)})}function Wr(e,n){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,..._(n)})}function ds(e,n){return new e({type:"string",format:"mac",check:"string_format",abort:!1,..._(n)})}function Kr(e,n){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,..._(n)})}function Hr(e,n){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,..._(n)})}function Xr(e,n){return new e({type:"string",format:"base64",check:"string_format",abort:!1,..._(n)})}function Yr(e,n){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,..._(n)})}function Qr(e,n){return new e({type:"string",format:"e164",check:"string_format",abort:!1,..._(n)})}function eo(e,n){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,..._(n)})}const ms={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function fs(e,n){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,..._(n)})}function ps(e,n){return new e({type:"string",format:"date",check:"string_format",..._(n)})}function gs(e,n){return new e({type:"string",format:"time",check:"string_format",precision:null,..._(n)})}function vs(e,n){return new e({type:"string",format:"duration",check:"string_format",..._(n)})}function hs(e,n){return new e({type:"number",checks:[],..._(n)})}function bs(e,n){return new e({type:"number",coerce:!0,checks:[],..._(n)})}function $s(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",..._(n)})}function _s(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float32",..._(n)})}function ys(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float64",..._(n)})}function ks(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"int32",..._(n)})}function Ss(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",..._(n)})}function ws(e,n){return new e({type:"boolean",..._(n)})}function Is(e,n){return new e({type:"boolean",coerce:!0,..._(n)})}function zs(e,n){return new e({type:"bigint",..._(n)})}function Es(e,n){return new e({type:"bigint",coerce:!0,..._(n)})}function Ns(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",..._(n)})}function Ds(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",..._(n)})}function Os(e,n){return new e({type:"symbol",..._(n)})}function js(e,n){return new e({type:"undefined",..._(n)})}function xs(e,n){return new e({type:"null",..._(n)})}function Ts(e){return new e({type:"any"})}function Cs(e){return new e({type:"unknown"})}function Us(e,n){return new e({type:"never",..._(n)})}function As(e,n){return new e({type:"void",..._(n)})}function Ps(e,n){return new e({type:"date",..._(n)})}function Vs(e,n){return new e({type:"date",coerce:!0,..._(n)})}function Bs(e,n){return new e({type:"nan",..._(n)})}function Oe(e,n){return new Sr({check:"less_than",..._(n),value:e,inclusive:!1})}function ye(e,n){return new Sr({check:"less_than",..._(n),value:e,inclusive:!0})}function je(e,n){return new wr({check:"greater_than",..._(n),value:e,inclusive:!1})}function pe(e,n){return new wr({check:"greater_than",..._(n),value:e,inclusive:!0})}function to(e){return je(0,e)}function no(e){return Oe(0,e)}function ro(e){return ye(0,e)}function oo(e){return pe(0,e)}function qe(e,n){return new rl({check:"multiple_of",..._(n),value:e})}function Ge(e,n){return new al({check:"max_size",..._(n),maximum:e})}function xe(e,n){return new ll({check:"min_size",..._(n),minimum:e})}function ft(e,n){return new cl({check:"size_equals",..._(n),size:e})}function pt(e,n){return new sl({check:"max_length",..._(n),maximum:e})}function Be(e,n){return new ul({check:"min_length",..._(n),minimum:e})}function gt(e,n){return new dl({check:"length_equals",..._(n),length:e})}function rn(e,n){return new ml({check:"string_format",format:"regex",..._(n),pattern:e})}function on(e){return new fl({check:"string_format",format:"lowercase",..._(e)})}function an(e){return new pl({check:"string_format",format:"uppercase",..._(e)})}function ln(e,n){return new gl({check:"string_format",format:"includes",..._(n),includes:e})}function cn(e,n){return new vl({check:"string_format",format:"starts_with",..._(n),prefix:e})}function sn(e,n){return new hl({check:"string_format",format:"ends_with",..._(n),suffix:e})}function io(e,n,r){return new $l({check:"property",property:e,schema:n,..._(r)})}function un(e,n){return new _l({check:"mime_type",mime:e,..._(n)})}function Ee(e){return new yl({check:"overwrite",tx:e})}function dn(e){return Ee(n=>n.normalize(e))}function mn(){return Ee(e=>e.trim())}function fn(){return Ee(e=>e.toLowerCase())}function pn(){return Ee(e=>e.toUpperCase())}function gn(){return Ee(e=>Qi(e))}function Zs(e,n,r){return new e({type:"array",element:n,..._(r)})}function G_(e,n,r){return new e({type:"union",options:n,..._(r)})}function W_(e,n,r){return new e({type:"union",options:n,inclusive:!1,..._(r)})}function K_(e,n,r,i){return new e({type:"union",options:r,discriminator:n,..._(i)})}function H_(e,n,r){return new e({type:"intersection",left:n,right:r})}function X_(e,n,r,i){const t=r instanceof R,o=t?i:r,a=t?r:null;return new e({type:"tuple",items:n,rest:a,..._(o)})}function Y_(e,n,r,i){return new e({type:"record",keyType:n,valueType:r,..._(i)})}function Q_(e,n,r,i){return new e({type:"map",keyType:n,valueType:r,..._(i)})}function ey(e,n,r){return new e({type:"set",valueType:n,..._(r)})}function ty(e,n,r){const i=Array.isArray(n)?Object.fromEntries(n.map(t=>[t,t])):n;return new e({type:"enum",entries:i,..._(r)})}function ny(e,n,r){return new e({type:"enum",entries:n,..._(r)})}function ry(e,n,r){return new e({type:"literal",values:Array.isArray(n)?n:[n],..._(r)})}function Ms(e,n){return new e({type:"file",..._(n)})}function oy(e,n){return new e({type:"transform",transform:n})}function iy(e,n){return new e({type:"optional",innerType:n})}function ay(e,n){return new e({type:"nullable",innerType:n})}function ly(e,n,r){return new e({type:"default",innerType:n,get defaultValue(){return typeof r=="function"?r():qt(r)}})}function cy(e,n,r){return new e({type:"nonoptional",innerType:n,..._(r)})}function sy(e,n){return new e({type:"success",innerType:n})}function uy(e,n,r){return new e({type:"catch",innerType:n,catchValue:typeof r=="function"?r:()=>r})}function dy(e,n,r){return new e({type:"pipe",in:n,out:r})}function my(e,n){return new e({type:"readonly",innerType:n})}function fy(e,n,r){return new e({type:"template_literal",parts:n,..._(r)})}function py(e,n){return new e({type:"lazy",getter:n})}function gy(e,n){return new e({type:"promise",innerType:n})}function Fs(e,n,r){const i=_(r);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:n,...i})}function Ls(e,n,r){return new e({type:"custom",check:"custom",fn:n,..._(r)})}function Rs(e,n){const r=Js(i=>(i.addIssue=t=>{if(typeof t=="string")i.issues.push(Le(t,i.value,r._zod.def));else{const o=t;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=i.value),o.inst??(o.inst=r),o.continue??(o.continue=!r._zod.def.abort),i.issues.push(Le(o))}},e(i.value,i)),n);return r}function Js(e,n){const r=new te({check:"custom",..._(n)});return r._zod.check=e,r}function qs(e){const n=new te({check:"describe"});return n._zod.onattach=[r=>{const i=_e.get(r)??{};_e.add(r,{...i,description:e})}],n._zod.check=()=>{},n}function Gs(e){const n=new te({check:"meta"});return n._zod.onattach=[r=>{const i=_e.get(r)??{};_e.add(r,{...i,...e})}],n._zod.check=()=>{},n}function Ws(e,n){const r=_(n);let i=r.truthy??["true","1","yes","on","y","enabled"],t=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(i=i.map(p=>typeof p=="string"?p.toLowerCase():p),t=t.map(p=>typeof p=="string"?p.toLowerCase():p));const o=new Set(i),a=new Set(t),c=e.Codec??Tr,u=e.Boolean??Er,s=e.String??dt,m=new s({type:"string",error:r.error}),d=new u({type:"boolean",error:r.error}),f=new c({type:"pipe",in:m,out:d,transform:((p,h)=>{let v=p;return r.case!=="sensitive"&&(v=v.toLowerCase()),o.has(v)?!0:a.has(v)?!1:(h.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:h.value,inst:f,continue:!1}),{})}),reverseTransform:((p,h)=>p===!0?i[0]||"true":t[0]||"false"),error:r.error});return f}function vt(e,n,r,i={}){const t=_(i),o={..._(i),check:"string_format",type:"string",format:n,fn:typeof r=="function"?r:c=>r.test(c),...t};return r instanceof RegExp&&(o.pattern=r),new e(o)}function We(e){let n=(e==null?void 0:e.target)??"draft-2020-12";return n==="draft-4"&&(n="draft-04"),n==="draft-7"&&(n="draft-07"),{processors:e.processors??{},metadataRegistry:(e==null?void 0:e.metadata)??_e,target:n,unrepresentable:(e==null?void 0:e.unrepresentable)??"throw",override:(e==null?void 0:e.override)??(()=>{}),io:(e==null?void 0:e.io)??"output",counter:0,seen:new Map,cycles:(e==null?void 0:e.cycles)??"ref",reused:(e==null?void 0:e.reused)??"inline",external:(e==null?void 0:e.external)??void 0}}function H(e,n,r={path:[],schemaPath:[]}){var m,d;var i;const t=e._zod.def,o=n.seen.get(e);if(o)return o.count++,r.schemaPath.includes(e)&&(o.cycle=r.path),o.schema;const a={schema:{},count:1,cycle:void 0,path:r.path};n.seen.set(e,a);const c=(d=(m=e._zod).toJSONSchema)==null?void 0:d.call(m);if(c)a.schema=c;else{const f={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(n,a.schema,f);else{const h=a.schema,v=n.processors[t.type];if(!v)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${t.type}`);v(e,n,h,f)}const p=e._zod.parent;p&&(a.ref||(a.ref=p),H(p,n,f),n.seen.get(p).isParent=!0)}const u=n.metadataRegistry.get(e);return u&&Object.assign(a.schema,u),n.io==="input"&&me(e)&&(delete a.schema.examples,delete a.schema.default),n.io==="input"&&"_prefault"in a.schema&&((i=a.schema).default??(i.default=a.schema._prefault)),delete a.schema._prefault,n.seen.get(e).schema}function Ke(e,n){var a,c,u,s;const r=e.seen.get(n);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=new Map;for(const m of e.seen.entries()){const d=(a=e.metadataRegistry.get(m[0]))==null?void 0:a.id;if(d){const f=i.get(d);if(f&&f!==m[0])throw new Error(`Duplicate schema id "${d}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(d,m[0])}}const t=m=>{var v;const d=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const D=(v=e.external.registry.get(m[0]))==null?void 0:v.id,I=e.external.uri??(C=>C);if(D)return{ref:I(D)};const S=m[1].defId??m[1].schema.id??`schema${e.counter++}`;return m[1].defId=S,{defId:S,ref:`${I("__shared")}#/${d}/${S}`}}if(m[1]===r)return{ref:"#"};const p=`#/${d}/`,h=m[1].schema.id??`__schema${e.counter++}`;return{defId:h,ref:p+h}},o=m=>{if(m[1].schema.$ref)return;const d=m[1],{ref:f,defId:p}=t(m);d.def={...d.schema},p&&(d.defId=p);const h=d.schema;for(const v in h)delete h[v];h.$ref=f};if(e.cycles==="throw")for(const m of e.seen.entries()){const d=m[1];if(d.cycle)throw new Error(`Cycle detected: #/${(c=d.cycle)==null?void 0:c.join("/")}/
-Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const m of e.seen.entries()){const d=m[1];if(n===m[0]){o(m);continue}if(e.external){const p=(u=e.external.registry.get(m[0]))==null?void 0:u.id;if(n!==m[0]&&p){o(m);continue}}if((s=e.metadataRegistry.get(m[0]))==null?void 0:s.id){o(m);continue}if(d.cycle){o(m);continue}if(d.count>1&&e.reused==="ref"){o(m);continue}}}function Xe(e,n){var c,u,s,m;const r=e.seen.get(n);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=d=>{const f=e.seen.get(d);if(f.ref===null)return;const p=f.def??f.schema,h={...p},v=f.ref;if(f.ref=null,v){i(v);const z=e.seen.get(v),S=z.schema;if(S.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(p.allOf=p.allOf??[],p.allOf.push(S)):Object.assign(p,S),Object.assign(p,h),d._zod.parent===v)for(const T in p)T==="$ref"||T==="allOf"||T in h||delete p[T];if(S.$ref&&z.def)for(const T in p)T==="$ref"||T==="allOf"||T in z.def&&JSON.stringify(p[T])===JSON.stringify(z.def[T])&&delete p[T]}const D=d._zod.parent;if(D&&D!==v){i(D);const z=e.seen.get(D);if(z!=null&&z.schema.$ref&&(p.$ref=z.schema.$ref,z.def))for(const S in p)S==="$ref"||S==="allOf"||S in z.def&&JSON.stringify(p[S])===JSON.stringify(z.def[S])&&delete p[S]}e.override({zodSchema:d,jsonSchema:p,path:f.path??[]})};for(const d of[...e.seen.entries()].reverse())i(d[0]);const t={};if(e.target==="draft-2020-12"?t.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?t.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?t.$schema="http://json-schema.org/draft-04/schema#":e.target,(c=e.external)!=null&&c.uri){const d=(u=e.external.registry.get(n))==null?void 0:u.id;if(!d)throw new Error("Schema is missing an `id` property");t.$id=e.external.uri(d)}Object.assign(t,r.def??r.schema);const o=(s=e.metadataRegistry.get(n))==null?void 0:s.id;o!==void 0&&t.id===o&&delete t.id;const a=((m=e.external)==null?void 0:m.defs)??{};for(const d of e.seen.entries()){const f=d[1];f.def&&f.defId&&(f.def.id===f.defId&&delete f.def.id,a[f.defId]=f.def)}e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?t.$defs=a:t.definitions=a);try{const d=JSON.parse(JSON.stringify(t));return Object.defineProperty(d,"~standard",{value:{...n["~standard"],jsonSchema:{input:ht(n,"input",e.processors),output:ht(n,"output",e.processors)}},enumerable:!1,writable:!1}),d}catch{throw new Error("Error converting schema to JSON.")}}function me(e,n){const r=n??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);const i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return me(i.element,r);if(i.type==="set")return me(i.valueType,r);if(i.type==="lazy")return me(i.getter(),r);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return me(i.innerType,r);if(i.type==="intersection")return me(i.left,r)||me(i.right,r);if(i.type==="record"||i.type==="map")return me(i.keyType,r)||me(i.valueType,r);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:me(i.in,r)||me(i.out,r);if(i.type==="object"){for(const t in i.shape)if(me(i.shape[t],r))return!0;return!1}if(i.type==="union"){for(const t of i.options)if(me(t,r))return!0;return!1}if(i.type==="tuple"){for(const t of i.items)if(me(t,r))return!0;return!!(i.rest&&me(i.rest,r))}return!1}const Ks=(e,n={})=>r=>{const i=Ke({...r,processors:n});return X(e,i),We(i,e),Xe(i,e)},ht=(e,n,r={})=>i=>{const{libraryOptions:t,target:o}=i??{},a=Ke({...t??{},target:o,io:n,processors:r});return X(e,a),We(a,e),Xe(a,e)},gy={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Ws=(e,n,r,i)=>{const t=r;t.type="string";const{minimum:o,maximum:a,format:c,patterns:u,contentEncoding:s}=e._zod.bag;if(typeof o=="number"&&(t.minLength=o),typeof a=="number"&&(t.maxLength=a),c&&(t.format=gy[c]??c,t.format===""&&delete t.format,c==="time"&&delete t.format),s&&(t.contentEncoding=s),u&&u.size>0){const m=[...u];m.length===1?t.pattern=m[0].source:m.length>1&&(t.allOf=[...m.map(d=>({...n.target==="draft-07"||n.target==="draft-04"||n.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}},Xs=(e,n,r,i)=>{const t=r,{minimum:o,maximum:a,format:c,multipleOf:u,exclusiveMaximum:s,exclusiveMinimum:m}=e._zod.bag;typeof c=="string"&&c.includes("int")?t.type="integer":t.type="number";const d=typeof m=="number"&&m>=(o??Number.NEGATIVE_INFINITY),f=typeof s=="number"&&s<=(a??Number.POSITIVE_INFINITY),p=n.target==="draft-04"||n.target==="openapi-3.0";d?p?(t.minimum=m,t.exclusiveMinimum=!0):t.exclusiveMinimum=m:typeof o=="number"&&(t.minimum=o),f?p?(t.maximum=s,t.exclusiveMaximum=!0):t.exclusiveMaximum=s:typeof a=="number"&&(t.maximum=a),typeof u=="number"&&(t.multipleOf=u)},Hs=(e,n,r,i)=>{r.type="boolean"},Ys=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},Qs=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},eu=(e,n,r,i)=>{n.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},tu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},nu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},ru=(e,n,r,i)=>{r.not={}},ou=(e,n,r,i)=>{},iu=(e,n,r,i)=>{},au=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},lu=(e,n,r,i)=>{const t=e._zod.def,o=tr(t.entries);o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),r.enum=o},cu=(e,n,r,i)=>{const t=e._zod.def,o=[];for(const a of t.values)if(a===void 0){if(n.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(n.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){const a=o[0];r.type=a===null?"null":typeof a,n.target==="draft-04"||n.target==="openapi-3.0"?r.enum=[a]:r.const=a}else o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),o.every(a=>typeof a=="boolean")&&(r.type="boolean"),o.every(a=>a===null)&&(r.type="null"),r.enum=o},su=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},uu=(e,n,r,i)=>{const t=r,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");t.type="string",t.pattern=o.source},du=(e,n,r,i)=>{const t=r,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:c,mime:u}=e._zod.bag;a!==void 0&&(o.minLength=a),c!==void 0&&(o.maxLength=c),u?u.length===1?(o.contentMediaType=u[0],Object.assign(t,o)):(Object.assign(t,o),t.anyOf=u.map(s=>({contentMediaType:s}))):Object.assign(t,o)},mu=(e,n,r,i)=>{r.type="boolean"},fu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},pu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},gu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},vu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},hu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},$u=(e,n,r,i)=>{const t=r,o=e._zod.def,{minimum:a,maximum:c}=e._zod.bag;typeof a=="number"&&(t.minItems=a),typeof c=="number"&&(t.maxItems=c),t.type="array",t.items=X(o.element,n,{...i,path:[...i.path,"items"]})},bu=(e,n,r,i)=>{var s;const t=r,o=e._zod.def;t.type="object",t.properties={};const a=o.shape;for(const m in a)t.properties[m]=X(a[m],n,{...i,path:[...i.path,"properties",m]});const c=new Set(Object.keys(a)),u=new Set([...c].filter(m=>{const d=o.shape[m]._zod;return n.io==="input"?d.optin===void 0:d.optout===void 0}));u.size>0&&(t.required=Array.from(u)),((s=o.catchall)==null?void 0:s._zod.def.type)==="never"?t.additionalProperties=!1:o.catchall?o.catchall&&(t.additionalProperties=X(o.catchall,n,{...i,path:[...i.path,"additionalProperties"]})):n.io==="output"&&(t.additionalProperties=!1)},oo=(e,n,r,i)=>{const t=e._zod.def,o=t.inclusive===!1,a=t.options.map((c,u)=>X(c,n,{...i,path:[...i.path,o?"oneOf":"anyOf",u]}));o?r.oneOf=a:r.anyOf=a},_u=(e,n,r,i)=>{const t=e._zod.def,o=X(t.left,n,{...i,path:[...i.path,"allOf",0]}),a=X(t.right,n,{...i,path:[...i.path,"allOf",1]}),c=s=>"allOf"in s&&Object.keys(s).length===1,u=[...c(o)?o.allOf:[o],...c(a)?a.allOf:[a]];r.allOf=u},yu=(e,n,r,i)=>{const t=r,o=e._zod.def;t.type="array";const a=n.target==="draft-2020-12"?"prefixItems":"items",c=n.target==="draft-2020-12"||n.target==="openapi-3.0"?"items":"additionalItems",u=o.items.map((f,p)=>X(f,n,{...i,path:[...i.path,a,p]})),s=o.rest?X(o.rest,n,{...i,path:[...i.path,c,...n.target==="openapi-3.0"?[o.items.length]:[]]}):null;n.target==="draft-2020-12"?(t.prefixItems=u,s&&(t.items=s)):n.target==="openapi-3.0"?(t.items={anyOf:u},s&&t.items.anyOf.push(s),t.minItems=u.length,s||(t.maxItems=u.length)):(t.items=u,s&&(t.additionalItems=s));const{minimum:m,maximum:d}=e._zod.bag;typeof m=="number"&&(t.minItems=m),typeof d=="number"&&(t.maxItems=d)},ku=(e,n,r,i)=>{const t=r,o=e._zod.def;t.type="object";const a=o.keyType,c=a._zod.bag,u=c==null?void 0:c.patterns;if(o.mode==="loose"&&u&&u.size>0){const m=X(o.valueType,n,{...i,path:[...i.path,"patternProperties","*"]});t.patternProperties={};for(const d of u)t.patternProperties[d.source]=m}else(n.target==="draft-07"||n.target==="draft-2020-12")&&(t.propertyNames=X(o.keyType,n,{...i,path:[...i.path,"propertyNames"]})),t.additionalProperties=X(o.valueType,n,{...i,path:[...i.path,"additionalProperties"]});const s=a._zod.values;if(s){const m=[...s].filter(d=>typeof d=="string"||typeof d=="number");m.length>0&&(t.required=m)}},Su=(e,n,r,i)=>{const t=e._zod.def,o=X(t.innerType,n,i),a=n.seen.get(e);n.target==="openapi-3.0"?(a.ref=t.innerType,r.nullable=!0):r.anyOf=[o,{type:"null"}]},wu=(e,n,r,i)=>{const t=e._zod.def;X(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType},Iu=(e,n,r,i)=>{const t=e._zod.def;X(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType,r.default=JSON.parse(JSON.stringify(t.defaultValue))},zu=(e,n,r,i)=>{const t=e._zod.def;X(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType,n.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(t.defaultValue)))},Eu=(e,n,r,i)=>{const t=e._zod.def;X(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType;let a;try{a=t.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=a},Nu=(e,n,r,i)=>{const t=e._zod.def,o=t.in._zod.traits.has("$ZodTransform"),a=n.io==="input"?o?t.out:t.in:t.out;X(a,n,i);const c=n.seen.get(e);c.ref=a},Du=(e,n,r,i)=>{const t=e._zod.def;X(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType,r.readOnly=!0},Ou=(e,n,r,i)=>{const t=e._zod.def;X(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType},io=(e,n,r,i)=>{const t=e._zod.def;X(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType},ju=(e,n,r,i)=>{const t=e._zod.innerType;X(t,n,i);const o=n.seen.get(e);o.ref=t},ao={string:Ws,number:Xs,boolean:Hs,bigint:Ys,symbol:Qs,null:eu,undefined:tu,void:nu,never:ru,any:ou,unknown:iu,date:au,enum:lu,literal:cu,nan:su,template_literal:uu,file:du,success:mu,custom:fu,function:pu,transform:gu,map:vu,set:hu,array:$u,object:bu,union:oo,intersection:_u,tuple:yu,record:ku,nullable:Su,nonoptional:wu,default:Iu,prefault:zu,catch:Eu,pipe:Nu,readonly:Du,promise:Ou,optional:io,lazy:ju};function Cu(e,n){if("_idmap"in e){const i=e,t=Ke({...n,processors:ao}),o={};for(const u of i._idmap.entries()){const[s,m]=u;X(m,t)}const a={},c={registry:i,uri:n==null?void 0:n.uri,defs:o};t.external=c;for(const u of i._idmap.entries()){const[s,m]=u;We(t,m),a[s]=Xe(t,m)}if(Object.keys(o).length>0){const u=t.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[u]:o}}return{schemas:a}}const r=Ke({...n,processors:ao});return X(e,r),We(r,e),Xe(r,e)}class vy{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(n){this.ctx.counter=n}get seen(){return this.ctx.seen}constructor(n){let r=(n==null?void 0:n.target)??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=Ke({processors:ao,target:r,...(n==null?void 0:n.metadata)&&{metadata:n.metadata},...(n==null?void 0:n.unrepresentable)&&{unrepresentable:n.unrepresentable},...(n==null?void 0:n.override)&&{override:n.override},...(n==null?void 0:n.io)&&{io:n.io}})}process(n,r={path:[],schemaPath:[]}){return X(n,this.ctx,r)}emit(n,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),We(this.ctx,n);const i=Xe(this.ctx,n),{"~standard":t,...o}=i;return o}}const hy=Object.freeze(Object.defineProperty({__proto__:null,$ZodAny:tc,$ZodArray:lc,$ZodAsyncError:xe,$ZodBase64:Ll,$ZodBase64URL:Jl,$ZodBigInt:zr,$ZodBigIntFormat:Hl,$ZodBoolean:Ir,$ZodCIDRv4:Ml,$ZodCIDRv6:Fl,$ZodCUID:Dl,$ZodCUID2:Ol,$ZodCatch:Bc,$ZodCheck:te,$ZodCheckBigIntFormat:ol,$ZodCheckEndsWith:vl,$ZodCheckGreaterThan:kr,$ZodCheckIncludes:pl,$ZodCheckLengthEquals:ul,$ZodCheckLessThan:yr,$ZodCheckLowerCase:ml,$ZodCheckMaxLength:cl,$ZodCheckMaxSize:il,$ZodCheckMimeType:bl,$ZodCheckMinLength:sl,$ZodCheckMinSize:al,$ZodCheckMultipleOf:nl,$ZodCheckNumberFormat:rl,$ZodCheckOverwrite:_l,$ZodCheckProperty:$l,$ZodCheckRegex:dl,$ZodCheckSizeEquals:ll,$ZodCheckStartsWith:gl,$ZodCheckStringFormat:ut,$ZodCheckUpperCase:fl,$ZodCodec:jr,$ZodCustom:Kc,$ZodCustomStringFormat:Wl,$ZodDate:ic,$ZodDefault:Tc,$ZodDiscriminatedUnion:gc,$ZodE164:ql,$ZodEmail:Il,$ZodEmoji:El,$ZodEncodeError:Ft,$ZodEnum:zc,$ZodError:or,$ZodExactOptional:jc,$ZodFile:Nc,$ZodFunction:Jc,$ZodGUID:Sl,$ZodIPv4:Vl,$ZodIPv6:Bl,$ZodISODate:Ul,$ZodISODateTime:xl,$ZodISODuration:Pl,$ZodISOTime:Al,$ZodIntersection:vc,$ZodJWT:Kl,$ZodKSUID:Tl,$ZodLazy:Gc,$ZodLiteral:Ec,$ZodMAC:Zl,$ZodMap:kc,$ZodNaN:Zc,$ZodNanoID:Nl,$ZodNever:rc,$ZodNonOptional:Ac,$ZodNull:ec,$ZodNullable:Cc,$ZodNumber:wr,$ZodNumberFormat:Xl,$ZodObject:uc,$ZodObjectJIT:dc,$ZodOptional:Dr,$ZodPipe:Or,$ZodPrefault:Uc,$ZodPreprocess:Mc,$ZodPromise:qc,$ZodReadonly:Fc,$ZodRealError:ge,$ZodRecord:yc,$ZodRegistry:ls,$ZodSet:wc,$ZodString:dt,$ZodStringFormat:Y,$ZodSuccess:Vc,$ZodSymbol:Yl,$ZodTemplateLiteral:Rc,$ZodTransform:Dc,$ZodTuple:Nr,$ZodType:R,$ZodULID:jl,$ZodURL:zl,$ZodUUID:wl,$ZodUndefined:Ql,$ZodUnion:Xt,$ZodUnknown:nc,$ZodVoid:oc,$ZodXID:Cl,$ZodXor:pc,$brand:Wi,$constructor:g,$input:as,$output:is,Doc:yl,JSONSchema:Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),JSONSchemaGenerator:vy,NEVER:Ki,TimePrecision:ds,_any:Cs,_array:Bs,_base64:Wr,_base64url:Xr,_bigint:Is,_boolean:Ss,_catch:sy,_check:Rs,_cidrv4:Gr,_cidrv6:Kr,_coercedBigint:zs,_coercedBoolean:ws,_coercedDate:Ps,_coercedNumber:hs,_coercedString:ss,_cuid:Zr,_cuid2:Mr,_custom:Ms,_date:As,_decode:ur,_decodeAsync:mr,_default:ay,_discriminatedUnion:K_,_e164:Hr,_email:Tr,_emoji:Vr,_encode:sr,_encodeAsync:dr,_endsWith:cn,_enum:ey,_file:Zs,_float32:bs,_float64:_s,_gt:je,_gte:fe,_guid:en,_includes:an,_int:$s,_int32:ys,_int64:Es,_intersection:W_,_ipv4:Jr,_ipv6:qr,_isoDate:fs,_isoDateTime:ms,_isoDuration:gs,_isoTime:ps,_jwt:Yr,_ksuid:Rr,_lazy:fy,_length:gt,_literal:ny,_lowercase:rn,_lt:Oe,_lte:ye,_mac:us,_map:Y_,_max:ye,_maxLength:pt,_maxSize:Ge,_mime:sn,_min:fe,_minLength:Ve,_minSize:Ce,_multipleOf:qe,_nan:Vs,_nanoid:Br,_nativeEnum:ty,_negative:eo,_never:xs,_nonnegative:no,_nonoptional:ly,_nonpositive:to,_normalize:un,_null:js,_nullable:iy,_number:vs,_optional:oy,_overwrite:Ee,_parse:ot,_parseAsync:it,_pipe:uy,_positive:Qr,_promise:py,_property:ro,_readonly:dy,_record:H_,_refine:Fs,_regex:nn,_safeDecode:pr,_safeDecodeAsync:vr,_safeEncode:fr,_safeEncodeAsync:gr,_safeParse:at,_safeParseAsync:lt,_set:Q_,_size:ft,_slugify:pn,_startsWith:ln,_string:cs,_stringFormat:vt,_stringbool:Gs,_success:cy,_superRefine:Ls,_symbol:Ds,_templateLiteral:my,_toLowerCase:mn,_toUpperCase:fn,_transform:ry,_trim:dn,_tuple:X_,_uint32:ks,_uint64:Ns,_ulid:Fr,_undefined:Os,_union:q_,_unknown:Ts,_uppercase:on,_url:tn,_uuid:xr,_uuidv4:Ur,_uuidv6:Ar,_uuidv7:Pr,_void:Us,_xid:Lr,_xor:G_,clone:$e,config:se,createStandardJSONSchemaMethod:ht,createToJSONSchemaMethod:Ks,decode:B$,decodeAsync:M$,describe:Js,encode:V$,encodeAsync:Z$,extractDefs:We,finalize:Xe,flattenError:ir,formatError:ar,globalConfig:tt,globalRegistry:_e,initializeContext:Ke,isValidBase64:Sr,isValidBase64URL:Rl,isValidJWT:Gl,locales:rs,meta:qs,parse:lr,parseAsync:cr,prettifyError:$a,process:X,regexes:_r,registry:Cr,safeDecode:L$,safeDecodeAsync:J$,safeEncode:F$,safeEncodeAsync:R$,safeParse:ba,safeParseAsync:_a,toDotPath:ha,toJSONSchema:Cu,treeifyError:va,util:pa,version:kl},Symbol.toStringTag,{value:"Module"})),$y=Object.freeze(Object.defineProperty({__proto__:null,endsWith:cn,gt:je,gte:fe,includes:an,length:gt,lowercase:rn,lt:Oe,lte:ye,maxLength:pt,maxSize:Ge,mime:sn,minLength:Ve,minSize:Ce,multipleOf:qe,negative:eo,nonnegative:no,nonpositive:to,normalize:un,overwrite:Ee,positive:Qr,property:ro,regex:nn,size:ft,slugify:pn,startsWith:ln,toLowerCase:mn,toUpperCase:fn,trim:dn,uppercase:on},Symbol.toStringTag,{value:"Module"})),lo=g("ZodISODateTime",(e,n)=>{xl.init(e,n),Q.init(e,n)});function Tu(e){return ms(lo,e)}const co=g("ZodISODate",(e,n)=>{Ul.init(e,n),Q.init(e,n)});function xu(e){return fs(co,e)}const so=g("ZodISOTime",(e,n)=>{Al.init(e,n),Q.init(e,n)});function Uu(e){return ps(so,e)}const uo=g("ZodISODuration",(e,n)=>{Pl.init(e,n),Q.init(e,n)});function Au(e){return gs(uo,e)}const Pu=Object.freeze(Object.defineProperty({__proto__:null,ZodISODate:co,ZodISODateTime:lo,ZodISODuration:uo,ZodISOTime:so,date:xu,datetime:Tu,duration:Au,time:Uu},Symbol.toStringTag,{value:"Module"})),Vu=(e,n)=>{or.init(e,n),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>ar(e,r)},flatten:{value:r=>ir(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,Lt,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,Lt,2)}},isEmpty:{get(){return e.issues.length===0}}})},by=g("ZodError",Vu),ve=g("ZodError",Vu,{Parent:Error}),Bu=ot(ve),Zu=it(ve),Mu=at(ve),Fu=lt(ve),Lu=sr(ve),Ru=ur(ve),Ju=dr(ve),qu=mr(ve),Gu=fr(ve),Ku=pr(ve),Wu=gr(ve),Xu=vr(ve),Hu=new WeakMap;function $t(e,n,r){const i=Object.getPrototypeOf(e);let t=Hu.get(i);if(t||(t=new Set,Hu.set(i,t)),!t.has(n)){t.add(n);for(const o in r){const a=r[o];Object.defineProperty(i,o,{configurable:!0,enumerable:!1,get(){const c=a.bind(this);return Object.defineProperty(this,o,{configurable:!0,writable:!0,enumerable:!0,value:c}),c},set(c){Object.defineProperty(this,o,{configurable:!0,writable:!0,enumerable:!0,value:c})}})}}}const J=g("ZodType",(e,n)=>(R.init(e,n),Object.assign(e["~standard"],{jsonSchema:{input:ht(e,"input"),output:ht(e,"output")}}),e.toJSONSchema=Ks(e,{}),e.def=n,e.type=n.type,Object.defineProperty(e,"_def",{value:n}),e.parse=(r,i)=>Bu(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>Mu(e,r,i),e.parseAsync=async(r,i)=>Zu(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>Fu(e,r,i),e.spa=e.safeParseAsync,e.encode=(r,i)=>Lu(e,r,i),e.decode=(r,i)=>Ru(e,r,i),e.encodeAsync=async(r,i)=>Ju(e,r,i),e.decodeAsync=async(r,i)=>qu(e,r,i),e.safeEncode=(r,i)=>Gu(e,r,i),e.safeDecode=(r,i)=>Ku(e,r,i),e.safeEncodeAsync=async(r,i)=>Wu(e,r,i),e.safeDecodeAsync=async(r,i)=>Xu(e,r,i),$t(e,"ZodType",{check(...r){const i=this.def;return this.clone(we(i,{checks:[...i.checks??[],...r.map(t=>typeof t=="function"?{_zod:{check:t,def:{check:"custom"},onattach:[]}}:t)]}),{parent:!0})},with(...r){return this.check(...r)},clone(r,i){return $e(this,r,i)},brand(){return this},register(r,i){return r.add(this,i),this},refine(r,i){return this.check(ni(r,i))},superRefine(r,i){return this.check(ri(r,i))},overwrite(r){return this.check(Ee(r))},optional(){return Dt(this)},exactOptional(){return Po(this)},nullable(){return Ot(this)},nullish(){return Dt(Ot(this))},nonoptional(r){return Lo(this,r)},array(){return zt(this)},or(r){return An([this,r])},and(r){return Eo(this,r)},transform(r){return Mn(this,Vn(r))},default(r){return Zo(this,r)},prefault(r){return Fo(this,r)},catch(r){return qo(this,r)},pipe(r){return Mn(this,r)},readonly(){return Xo(this)},describe(r){const i=this.clone();return _e.add(i,{description:r}),i},meta(...r){if(r.length===0)return _e.get(this);const i=this.clone();return _e.add(i,r[0]),i},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(r){return r(this)}}),Object.defineProperty(e,"description",{get(){var r;return(r=_e.get(e))==null?void 0:r.description},configurable:!0}),e)),gn=g("_ZodString",(e,n)=>{dt.init(e,n),J.init(e,n),e._zod.processJSONSchema=(i,t,o)=>Ws(e,i,t);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,$t(e,"_ZodString",{regex(...i){return this.check(nn(...i))},includes(...i){return this.check(an(...i))},startsWith(...i){return this.check(ln(...i))},endsWith(...i){return this.check(cn(...i))},min(...i){return this.check(Ve(...i))},max(...i){return this.check(pt(...i))},length(...i){return this.check(gt(...i))},nonempty(...i){return this.check(Ve(1,...i))},lowercase(i){return this.check(rn(i))},uppercase(i){return this.check(on(i))},trim(){return this.check(dn())},normalize(...i){return this.check(un(...i))},toLowerCase(){return this.check(mn())},toUpperCase(){return this.check(fn())},slugify(){return this.check(pn())}})}),bt=g("ZodString",(e,n)=>{dt.init(e,n),gn.init(e,n),e.email=r=>e.check(Tr(vn,r)),e.url=r=>e.check(tn(kt,r)),e.jwt=r=>e.check(Yr(jn,r)),e.emoji=r=>e.check(Vr(hn,r)),e.guid=r=>e.check(en(yt,r)),e.uuid=r=>e.check(xr(Ie,r)),e.uuidv4=r=>e.check(Ur(Ie,r)),e.uuidv6=r=>e.check(Ar(Ie,r)),e.uuidv7=r=>e.check(Pr(Ie,r)),e.nanoid=r=>e.check(Br($n,r)),e.guid=r=>e.check(en(yt,r)),e.cuid=r=>e.check(Zr(bn,r)),e.cuid2=r=>e.check(Mr(_n,r)),e.ulid=r=>e.check(Fr(yn,r)),e.base64=r=>e.check(Wr(Nn,r)),e.base64url=r=>e.check(Xr(Dn,r)),e.xid=r=>e.check(Lr(kn,r)),e.ksuid=r=>e.check(Rr(Sn,r)),e.ipv4=r=>e.check(Jr(wn,r)),e.ipv6=r=>e.check(qr(In,r)),e.cidrv4=r=>e.check(Gr(zn,r)),e.cidrv6=r=>e.check(Kr(En,r)),e.e164=r=>e.check(Hr(On,r)),e.datetime=r=>e.check(Tu(r)),e.date=r=>e.check(xu(r)),e.time=r=>e.check(Uu(r)),e.duration=r=>e.check(Au(r))});function _t(e){return cs(bt,e)}const Q=g("ZodStringFormat",(e,n)=>{Y.init(e,n),gn.init(e,n)}),vn=g("ZodEmail",(e,n)=>{Il.init(e,n),Q.init(e,n)});function Yu(e){return Tr(vn,e)}const yt=g("ZodGUID",(e,n)=>{Sl.init(e,n),Q.init(e,n)});function Qu(e){return en(yt,e)}const Ie=g("ZodUUID",(e,n)=>{wl.init(e,n),Q.init(e,n)});function ed(e){return xr(Ie,e)}function td(e){return Ur(Ie,e)}function nd(e){return Ar(Ie,e)}function rd(e){return Pr(Ie,e)}const kt=g("ZodURL",(e,n)=>{zl.init(e,n),Q.init(e,n)});function od(e){return tn(kt,e)}function id(e){return tn(kt,{protocol:$r,hostname:Ba,..._(e)})}const hn=g("ZodEmoji",(e,n)=>{El.init(e,n),Q.init(e,n)});function ad(e){return Vr(hn,e)}const $n=g("ZodNanoID",(e,n)=>{Nl.init(e,n),Q.init(e,n)});function ld(e){return Br($n,e)}const bn=g("ZodCUID",(e,n)=>{Dl.init(e,n),Q.init(e,n)});function cd(e){return Zr(bn,e)}const _n=g("ZodCUID2",(e,n)=>{Ol.init(e,n),Q.init(e,n)});function sd(e){return Mr(_n,e)}const yn=g("ZodULID",(e,n)=>{jl.init(e,n),Q.init(e,n)});function ud(e){return Fr(yn,e)}const kn=g("ZodXID",(e,n)=>{Cl.init(e,n),Q.init(e,n)});function dd(e){return Lr(kn,e)}const Sn=g("ZodKSUID",(e,n)=>{Tl.init(e,n),Q.init(e,n)});function md(e){return Rr(Sn,e)}const wn=g("ZodIPv4",(e,n)=>{Vl.init(e,n),Q.init(e,n)});function fd(e){return Jr(wn,e)}const mo=g("ZodMAC",(e,n)=>{Zl.init(e,n),Q.init(e,n)});function pd(e){return us(mo,e)}const In=g("ZodIPv6",(e,n)=>{Bl.init(e,n),Q.init(e,n)});function gd(e){return qr(In,e)}const zn=g("ZodCIDRv4",(e,n)=>{Ml.init(e,n),Q.init(e,n)});function vd(e){return Gr(zn,e)}const En=g("ZodCIDRv6",(e,n)=>{Fl.init(e,n),Q.init(e,n)});function hd(e){return Kr(En,e)}const Nn=g("ZodBase64",(e,n)=>{Ll.init(e,n),Q.init(e,n)});function $d(e){return Wr(Nn,e)}const Dn=g("ZodBase64URL",(e,n)=>{Jl.init(e,n),Q.init(e,n)});function bd(e){return Xr(Dn,e)}const On=g("ZodE164",(e,n)=>{ql.init(e,n),Q.init(e,n)});function _d(e){return Hr(On,e)}const jn=g("ZodJWT",(e,n)=>{Kl.init(e,n),Q.init(e,n)});function yd(e){return Yr(jn,e)}const He=g("ZodCustomStringFormat",(e,n)=>{Wl.init(e,n),Q.init(e,n)});function kd(e,n,r={}){return vt(He,e,n,r)}function Sd(e){return vt(He,"hostname",Va,e)}function wd(e){return vt(He,"hex",el,e)}function Id(e,n){const r=(n==null?void 0:n.enc)??"hex",i=`${e}_${r}`,t=_r[i];if(!t)throw new Error(`Unrecognized hash format: ${i}`);return vt(He,i,t,n)}const St=g("ZodNumber",(e,n)=>{wr.init(e,n),J.init(e,n),e._zod.processJSONSchema=(i,t,o)=>Xs(e,i,t),$t(e,"ZodNumber",{gt(i,t){return this.check(je(i,t))},gte(i,t){return this.check(fe(i,t))},min(i,t){return this.check(fe(i,t))},lt(i,t){return this.check(Oe(i,t))},lte(i,t){return this.check(ye(i,t))},max(i,t){return this.check(ye(i,t))},int(i){return this.check(Cn(i))},safe(i){return this.check(Cn(i))},positive(i){return this.check(je(0,i))},nonnegative(i){return this.check(fe(0,i))},negative(i){return this.check(Oe(0,i))},nonpositive(i){return this.check(ye(0,i))},multipleOf(i,t){return this.check(qe(i,t))},step(i,t){return this.check(qe(i,t))},finite(){return this}});const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function fo(e){return vs(St,e)}const Be=g("ZodNumberFormat",(e,n)=>{Xl.init(e,n),St.init(e,n)});function Cn(e){return $s(Be,e)}function zd(e){return bs(Be,e)}function Ed(e){return _s(Be,e)}function Nd(e){return ys(Be,e)}function Dd(e){return ks(Be,e)}const wt=g("ZodBoolean",(e,n)=>{Ir.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Hs(e,r,i)});function po(e){return Ss(wt,e)}const It=g("ZodBigInt",(e,n)=>{zr.init(e,n),J.init(e,n),e._zod.processJSONSchema=(i,t,o)=>Ys(e,i),e.gte=(i,t)=>e.check(fe(i,t)),e.min=(i,t)=>e.check(fe(i,t)),e.gt=(i,t)=>e.check(je(i,t)),e.gte=(i,t)=>e.check(fe(i,t)),e.min=(i,t)=>e.check(fe(i,t)),e.lt=(i,t)=>e.check(Oe(i,t)),e.lte=(i,t)=>e.check(ye(i,t)),e.max=(i,t)=>e.check(ye(i,t)),e.positive=i=>e.check(je(BigInt(0),i)),e.negative=i=>e.check(Oe(BigInt(0),i)),e.nonpositive=i=>e.check(ye(BigInt(0),i)),e.nonnegative=i=>e.check(fe(BigInt(0),i)),e.multipleOf=(i,t)=>e.check(qe(i,t));const r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function Od(e){return Is(It,e)}const Tn=g("ZodBigIntFormat",(e,n)=>{Hl.init(e,n),It.init(e,n)});function jd(e){return Es(Tn,e)}function Cd(e){return Ns(Tn,e)}const go=g("ZodSymbol",(e,n)=>{Yl.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Qs(e,r)});function Td(e){return Ds(go,e)}const vo=g("ZodUndefined",(e,n)=>{Ql.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>tu(e,r)});function xd(e){return Os(vo,e)}const ho=g("ZodNull",(e,n)=>{ec.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>eu(e,r,i)});function $o(e){return js(ho,e)}const bo=g("ZodAny",(e,n)=>{tc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>ou()});function Ud(){return Cs(bo)}const _o=g("ZodUnknown",(e,n)=>{nc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>iu()});function Ze(){return Ts(_o)}const yo=g("ZodNever",(e,n)=>{rc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>ru(e,r,i)});function xn(e){return xs(yo,e)}const ko=g("ZodVoid",(e,n)=>{oc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>nu(e,r)});function Ad(e){return Us(ko,e)}const Un=g("ZodDate",(e,n)=>{ic.init(e,n),J.init(e,n),e._zod.processJSONSchema=(i,t,o)=>au(e,i),e.min=(i,t)=>e.check(fe(i,t)),e.max=(i,t)=>e.check(ye(i,t));const r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function Pd(e){return As(Un,e)}const So=g("ZodArray",(e,n)=>{lc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>$u(e,r,i,t),e.element=n.element,$t(e,"ZodArray",{min(r,i){return this.check(Ve(r,i))},nonempty(r){return this.check(Ve(1,r))},max(r,i){return this.check(pt(r,i))},length(r,i){return this.check(gt(r,i))},unwrap(){return this.element}})});function zt(e,n){return Bs(So,e,n)}function Vd(e){const n=e._zod.def.shape;return Pn(Object.keys(n))}const Et=g("ZodObject",(e,n)=>{dc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>bu(e,r,i,t),q(e,"shape",()=>n.shape),$t(e,"ZodObject",{keyof(){return Pn(Object.keys(this._zod.def.shape))},catchall(r){return this.clone({...this._zod.def,catchall:r})},passthrough(){return this.clone({...this._zod.def,catchall:Ze()})},loose(){return this.clone({...this._zod.def,catchall:Ze()})},strict(){return this.clone({...this._zod.def,catchall:xn()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(r){return aa(this,r)},safeExtend(r){return la(this,r)},merge(r){return ca(this,r)},pick(r){return oa(this,r)},omit(r){return ia(this,r)},partial(...r){return sa(Bn,this,r[0])},required(...r){return ua(Zn,this,r[0])}})});function Bd(e,n){const r={type:"object",shape:e??{},..._(n)};return new Et(r)}function Zd(e,n){return new Et({type:"object",shape:e,catchall:xn(),..._(n)})}function Md(e,n){return new Et({type:"object",shape:e,catchall:Ze(),..._(n)})}const Nt=g("ZodUnion",(e,n)=>{Xt.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>oo(e,r,i,t),e.options=n.options});function An(e,n){return new Nt({type:"union",options:e,..._(n)})}const wo=g("ZodXor",(e,n)=>{Nt.init(e,n),pc.init(e,n),e._zod.processJSONSchema=(r,i,t)=>oo(e,r,i,t),e.options=n.options});function Fd(e,n){return new wo({type:"union",options:e,inclusive:!1,..._(n)})}const Io=g("ZodDiscriminatedUnion",(e,n)=>{Nt.init(e,n),gc.init(e,n)});function Ld(e,n,r){return new Io({type:"union",options:n,discriminator:e,..._(r)})}const zo=g("ZodIntersection",(e,n)=>{vc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>_u(e,r,i,t)});function Eo(e,n){return new zo({type:"intersection",left:e,right:n})}const No=g("ZodTuple",(e,n)=>{Nr.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>yu(e,r,i,t),e.rest=r=>e.clone({...e._zod.def,rest:r})});function Do(e,n,r){const i=n instanceof R,t=i?r:n,o=i?n:null;return new No({type:"tuple",items:e,rest:o,..._(t)})}const Ye=g("ZodRecord",(e,n)=>{yc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>ku(e,r,i,t),e.keyType=n.keyType,e.valueType=n.valueType});function Oo(e,n,r){return!n||!n._zod?new Ye({type:"record",keyType:_t(),valueType:e,..._(n)}):new Ye({type:"record",keyType:e,valueType:n,..._(r)})}function Rd(e,n,r){const i=$e(e);return i._zod.values=void 0,new Ye({type:"record",keyType:i,valueType:n,..._(r)})}function Jd(e,n,r){return new Ye({type:"record",keyType:e,valueType:n,mode:"loose",..._(r)})}const jo=g("ZodMap",(e,n)=>{kc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>vu(e,r),e.keyType=n.keyType,e.valueType=n.valueType,e.min=(...r)=>e.check(Ce(...r)),e.nonempty=r=>e.check(Ce(1,r)),e.max=(...r)=>e.check(Ge(...r)),e.size=(...r)=>e.check(ft(...r))});function qd(e,n,r){return new jo({type:"map",keyType:e,valueType:n,..._(r)})}const Co=g("ZodSet",(e,n)=>{wc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>hu(e,r),e.min=(...r)=>e.check(Ce(...r)),e.nonempty=r=>e.check(Ce(1,r)),e.max=(...r)=>e.check(Ge(...r)),e.size=(...r)=>e.check(ft(...r))});function Gd(e,n){return new Co({type:"set",valueType:e,..._(n)})}const Qe=g("ZodEnum",(e,n)=>{zc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(i,t,o)=>lu(e,i,t),e.enum=n.entries,e.options=Object.values(n.entries);const r=new Set(Object.keys(n.entries));e.extract=(i,t)=>{const o={};for(const a of i)if(r.has(a))o[a]=n.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Qe({...n,checks:[],..._(t),entries:o})},e.exclude=(i,t)=>{const o={...n.entries};for(const a of i)if(r.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new Qe({...n,checks:[],..._(t),entries:o})}});function Pn(e,n){const r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Qe({type:"enum",entries:r,..._(n)})}function Kd(e,n){return new Qe({type:"enum",entries:e,..._(n)})}const To=g("ZodLiteral",(e,n)=>{Ec.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>cu(e,r,i),e.values=new Set(n.values),Object.defineProperty(e,"value",{get(){if(n.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return n.values[0]}})});function Wd(e,n){return new To({type:"literal",values:Array.isArray(e)?e:[e],..._(n)})}const xo=g("ZodFile",(e,n)=>{Nc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>du(e,r,i),e.min=(r,i)=>e.check(Ce(r,i)),e.max=(r,i)=>e.check(Ge(r,i)),e.mime=(r,i)=>e.check(sn(Array.isArray(r)?r:[r],i))});function Xd(e){return Zs(xo,e)}const Uo=g("ZodTransform",(e,n)=>{Dc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>gu(e,r),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Ft(e.constructor.name);r.addIssue=o=>{if(typeof o=="string")r.issues.push(Le(o,r.value,n));else{const a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=r.value),a.inst??(a.inst=e),r.issues.push(Le(a))}};const t=n.transform(r.value,r);return t instanceof Promise?t.then(o=>(r.value=o,r.fallback=!0,r)):(r.value=t,r.fallback=!0,r)}});function Vn(e){return new Uo({type:"transform",transform:e})}const Bn=g("ZodOptional",(e,n)=>{Dr.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>io(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Dt(e){return new Bn({type:"optional",innerType:e})}const Ao=g("ZodExactOptional",(e,n)=>{jc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>io(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Po(e){return new Ao({type:"optional",innerType:e})}const Vo=g("ZodNullable",(e,n)=>{Cc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Su(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Ot(e){return new Vo({type:"nullable",innerType:e})}function Hd(e){return Dt(Ot(e))}const Bo=g("ZodDefault",(e,n)=>{Tc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Iu(e,r,i,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Zo(e,n){return new Bo({type:"default",innerType:e,get defaultValue(){return typeof n=="function"?n():Jt(n)}})}const Mo=g("ZodPrefault",(e,n)=>{Uc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>zu(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Fo(e,n){return new Mo({type:"prefault",innerType:e,get defaultValue(){return typeof n=="function"?n():Jt(n)}})}const Zn=g("ZodNonOptional",(e,n)=>{Ac.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>wu(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Lo(e,n){return new Zn({type:"nonoptional",innerType:e,..._(n)})}const Ro=g("ZodSuccess",(e,n)=>{Vc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>mu(e,r,i),e.unwrap=()=>e._zod.def.innerType});function Yd(e){return new Ro({type:"success",innerType:e})}const Jo=g("ZodCatch",(e,n)=>{Bc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Eu(e,r,i,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function qo(e,n){return new Jo({type:"catch",innerType:e,catchValue:typeof n=="function"?n:()=>n})}const Go=g("ZodNaN",(e,n)=>{Zc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>su(e,r)});function Qd(e){return Vs(Go,e)}const jt=g("ZodPipe",(e,n)=>{Or.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Nu(e,r,i,t),e.in=n.in,e.out=n.out});function Mn(e,n){return new jt({type:"pipe",in:e,out:n})}const Ct=g("ZodCodec",(e,n)=>{jt.init(e,n),jr.init(e,n)});function em(e,n,r){return new Ct({type:"pipe",in:e,out:n,transform:r.decode,reverseTransform:r.encode})}function tm(e){const n=e._zod.def;return new Ct({type:"pipe",in:n.out,out:n.in,transform:n.reverseTransform,reverseTransform:n.transform})}const Ko=g("ZodPreprocess",(e,n)=>{jt.init(e,n),Mc.init(e,n)}),Wo=g("ZodReadonly",(e,n)=>{Fc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Du(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Xo(e){return new Wo({type:"readonly",innerType:e})}const Ho=g("ZodTemplateLiteral",(e,n)=>{Rc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>uu(e,r,i)});function nm(e,n){return new Ho({type:"template_literal",parts:e,..._(n)})}const Yo=g("ZodLazy",(e,n)=>{Gc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>ju(e,r,i,t),e.unwrap=()=>e._zod.def.getter()});function Qo(e){return new Yo({type:"lazy",getter:e})}const ei=g("ZodPromise",(e,n)=>{qc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Ou(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function rm(e){return new ei({type:"promise",innerType:e})}const ti=g("ZodFunction",(e,n)=>{Jc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>pu(e,r)});function Fn(e){return new ti({type:"function",input:Array.isArray(e==null?void 0:e.input)?Do(e==null?void 0:e.input):(e==null?void 0:e.input)??zt(Ze()),output:(e==null?void 0:e.output)??Ze()})}const Tt=g("ZodCustom",(e,n)=>{Kc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>fu(e,r)});function om(e){const n=new te({check:"custom"});return n._zod.check=e,n}function im(e,n){return Ms(Tt,e??(()=>!0),n)}function ni(e,n={}){return Fs(Tt,e,n)}function ri(e,n){return Ls(e,n)}const am=Js,lm=qs;function cm(e,n={}){const r=new Tt({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,..._(n)});return r._zod.bag.Class=e,r._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:r,path:[...r._zod.def.path??[]]})},r}const sm=(...e)=>Gs({Codec:Ct,Boolean:wt,String:bt},...e);function um(e){const n=Qo(()=>An([_t(e),fo(),po(),$o(),zt(n),Oo(_t(),n)]));return n}function dm(e,n){return new Ko({type:"pipe",in:Vn(e),out:n})}const _y=Object.freeze(Object.defineProperty({__proto__:null,ZodAny:bo,ZodArray:So,ZodBase64:Nn,ZodBase64URL:Dn,ZodBigInt:It,ZodBigIntFormat:Tn,ZodBoolean:wt,ZodCIDRv4:zn,ZodCIDRv6:En,ZodCUID:bn,ZodCUID2:_n,ZodCatch:Jo,ZodCodec:Ct,ZodCustom:Tt,ZodCustomStringFormat:He,ZodDate:Un,ZodDefault:Bo,ZodDiscriminatedUnion:Io,ZodE164:On,ZodEmail:vn,ZodEmoji:hn,ZodEnum:Qe,ZodExactOptional:Ao,ZodFile:xo,ZodFunction:ti,ZodGUID:yt,ZodIPv4:wn,ZodIPv6:In,ZodIntersection:zo,ZodJWT:jn,ZodKSUID:Sn,ZodLazy:Yo,ZodLiteral:To,ZodMAC:mo,ZodMap:jo,ZodNaN:Go,ZodNanoID:$n,ZodNever:yo,ZodNonOptional:Zn,ZodNull:ho,ZodNullable:Vo,ZodNumber:St,ZodNumberFormat:Be,ZodObject:Et,ZodOptional:Bn,ZodPipe:jt,ZodPrefault:Mo,ZodPreprocess:Ko,ZodPromise:ei,ZodReadonly:Wo,ZodRecord:Ye,ZodSet:Co,ZodString:bt,ZodStringFormat:Q,ZodSuccess:Ro,ZodSymbol:go,ZodTemplateLiteral:Ho,ZodTransform:Uo,ZodTuple:No,ZodType:J,ZodULID:yn,ZodURL:kt,ZodUUID:Ie,ZodUndefined:vo,ZodUnion:Nt,ZodUnknown:_o,ZodVoid:ko,ZodXID:kn,ZodXor:wo,_ZodString:gn,_default:Zo,_function:Fn,any:Ud,array:zt,base64:$d,base64url:bd,bigint:Od,boolean:po,catch:qo,check:om,cidrv4:vd,cidrv6:hd,codec:em,cuid:cd,cuid2:sd,custom:im,date:Pd,describe:am,discriminatedUnion:Ld,e164:_d,email:Yu,emoji:ad,enum:Pn,exactOptional:Po,file:Xd,float32:zd,float64:Ed,function:Fn,guid:Qu,hash:Id,hex:wd,hostname:Sd,httpUrl:id,instanceof:cm,int:Cn,int32:Nd,int64:jd,intersection:Eo,invertCodec:tm,ipv4:fd,ipv6:gd,json:um,jwt:yd,keyof:Vd,ksuid:md,lazy:Qo,literal:Wd,looseObject:Md,looseRecord:Jd,mac:pd,map:qd,meta:lm,nan:Qd,nanoid:ld,nativeEnum:Kd,never:xn,nonoptional:Lo,null:$o,nullable:Ot,nullish:Hd,number:fo,object:Bd,optional:Dt,partialRecord:Rd,pipe:Mn,prefault:Fo,preprocess:dm,promise:rm,readonly:Xo,record:Oo,refine:ni,set:Gd,strictObject:Zd,string:_t,stringFormat:kd,stringbool:sm,success:Yd,superRefine:ri,symbol:Td,templateLiteral:nm,transform:Vn,tuple:Do,uint32:Dd,uint64:Cd,ulid:ud,undefined:xd,union:An,unknown:Ze,url:od,uuid:ed,uuidv4:td,uuidv6:nd,uuidv7:rd,void:Ad,xid:dd,xor:Fd},Symbol.toStringTag,{value:"Module"})),yy={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"};function ky(e){se({customError:e})}function Sy(){return se().customError}var oi;oi||(oi={});const O={..._y,...$y,iso:Pu},wy=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function Iy(e,n){const r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":n??"draft-2020-12"}function zy(e,n){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");const r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return n.rootSchema;const i=n.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===i){const t=r[1];if(!t||!n.defs[t])throw new Error(`Reference not found: ${e}`);return n.defs[t]}throw new Error(`Reference not found: ${e}`)}function mm(e,n){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return O.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){const t=e.$ref;if(n.refs.has(t))return n.refs.get(t);if(n.processing.has(t))return O.lazy(()=>{if(!n.refs.has(t))throw new Error(`Circular reference not resolved: ${t}`);return n.refs.get(t)});n.processing.add(t);const o=zy(t,n),a=de(o,n);return n.refs.set(t,a),n.processing.delete(t),a}if(e.enum!==void 0){const t=e.enum;if(n.version==="openapi-3.0"&&e.nullable===!0&&t.length===1&&t[0]===null)return O.null();if(t.length===0)return O.never();if(t.length===1)return O.literal(t[0]);if(t.every(a=>typeof a=="string"))return O.enum(t);const o=t.map(a=>O.literal(a));return o.length<2?o[0]:O.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return O.literal(e.const);const r=e.type;if(Array.isArray(r)){const t=r.map(o=>{const a={...e,type:o};return mm(a,n)});return t.length===0?O.never():t.length===1?t[0]:O.union(t)}if(!r)return O.any();let i;switch(r){case"string":{let t=O.string();if(e.format){const o=e.format;o==="email"?t=t.check(O.email()):o==="uri"||o==="uri-reference"?t=t.check(O.url()):o==="uuid"||o==="guid"?t=t.check(O.uuid()):o==="date-time"?t=t.check(O.iso.datetime()):o==="date"?t=t.check(O.iso.date()):o==="time"?t=t.check(O.iso.time()):o==="duration"?t=t.check(O.iso.duration()):o==="ipv4"?t=t.check(O.ipv4()):o==="ipv6"?t=t.check(O.ipv6()):o==="mac"?t=t.check(O.mac()):o==="cidr"?t=t.check(O.cidrv4()):o==="cidr-v6"?t=t.check(O.cidrv6()):o==="base64"?t=t.check(O.base64()):o==="base64url"?t=t.check(O.base64url()):o==="e164"?t=t.check(O.e164()):o==="jwt"?t=t.check(O.jwt()):o==="emoji"?t=t.check(O.emoji()):o==="nanoid"?t=t.check(O.nanoid()):o==="cuid"?t=t.check(O.cuid()):o==="cuid2"?t=t.check(O.cuid2()):o==="ulid"?t=t.check(O.ulid()):o==="xid"?t=t.check(O.xid()):o==="ksuid"&&(t=t.check(O.ksuid()))}typeof e.minLength=="number"&&(t=t.min(e.minLength)),typeof e.maxLength=="number"&&(t=t.max(e.maxLength)),e.pattern&&(t=t.regex(new RegExp(e.pattern))),i=t;break}case"number":case"integer":{let t=r==="integer"?O.number().int():O.number();typeof e.minimum=="number"&&(t=t.min(e.minimum)),typeof e.maximum=="number"&&(t=t.max(e.maximum)),typeof e.exclusiveMinimum=="number"?t=t.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(t=t.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?t=t.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(t=t.lt(e.maximum)),typeof e.multipleOf=="number"&&(t=t.multipleOf(e.multipleOf)),i=t;break}case"boolean":{i=O.boolean();break}case"null":{i=O.null();break}case"object":{const t={},o=e.properties||{},a=new Set(e.required||[]);for(const[u,s]of Object.entries(o)){const m=de(s,n);t[u]=a.has(u)?m:m.optional()}if(e.propertyNames){const u=de(e.propertyNames,n),s=e.additionalProperties&&typeof e.additionalProperties=="object"?de(e.additionalProperties,n):O.any();if(Object.keys(t).length===0){i=O.record(u,s);break}const m=O.object(t).passthrough(),d=O.looseRecord(u,s);i=O.intersection(m,d);break}if(e.patternProperties){const u=e.patternProperties,s=Object.keys(u),m=[];for(const f of s){const p=de(u[f],n),h=O.string().regex(new RegExp(f));m.push(O.looseRecord(h,p))}const d=[];if(Object.keys(t).length>0&&d.push(O.object(t).passthrough()),d.push(...m),d.length===0)i=O.object({}).passthrough();else if(d.length===1)i=d[0];else{let f=O.intersection(d[0],d[1]);for(let p=2;pde(u,n)),c=o&&typeof o=="object"&&!Array.isArray(o)?de(o,n):void 0;c?i=O.tuple(a).rest(c):i=O.tuple(a),typeof e.minItems=="number"&&(i=i.check(O.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(O.maxLength(e.maxItems)))}else if(Array.isArray(o)){const a=o.map(u=>de(u,n)),c=e.additionalItems&&typeof e.additionalItems=="object"?de(e.additionalItems,n):void 0;c?i=O.tuple(a).rest(c):i=O.tuple(a),typeof e.minItems=="number"&&(i=i.check(O.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(O.maxLength(e.maxItems)))}else if(o!==void 0){const a=de(o,n);let c=O.array(a);typeof e.minItems=="number"&&(c=c.min(e.minItems)),typeof e.maxItems=="number"&&(c=c.max(e.maxItems)),i=c}else i=O.array(O.any());break}default:throw new Error(`Unsupported type: ${r}`)}return i}function de(e,n){if(typeof e=="boolean")return e?O.any():O.never();let r=mm(e,n);const i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){const c=e.anyOf.map(s=>de(s,n)),u=O.union(c);r=i?O.intersection(r,u):u}if(e.oneOf&&Array.isArray(e.oneOf)){const c=e.oneOf.map(s=>de(s,n)),u=O.xor(c);r=i?O.intersection(r,u):u}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=i?r:O.any();else{let c=i?r:de(e.allOf[0],n);const u=i?0:1;for(let s=u;s0&&n.registry.add(r,t),e.description&&(r=r.describe(e.description)),r}function Ey(e,n){if(typeof e=="boolean")return e?O.any():O.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}const i=Iy(r,n==null?void 0:n.defaultTarget),t=r.$defs||r.definitions||{},o={version:i,defs:t,refs:new Map,processing:new Set,rootSchema:r,registry:(n==null?void 0:n.registry)??_e};return de(r,o)}function Ny(e){return ss(bt,e)}function Dy(e){return hs(St,e)}function Oy(e){return ws(wt,e)}function jy(e){return zs(It,e)}function Cy(e){return Ps(Un,e)}const Ty=Object.freeze(Object.defineProperty({__proto__:null,bigint:jy,boolean:Oy,date:Cy,number:Dy,string:Ny},Symbol.toStringTag,{value:"Module"}));se(Hc());const ee=Object.freeze(Object.defineProperty({__proto__:null,$brand:Wi,$input:as,$output:is,NEVER:Ki,TimePrecision:ds,ZodAny:bo,ZodArray:So,ZodBase64:Nn,ZodBase64URL:Dn,ZodBigInt:It,ZodBigIntFormat:Tn,ZodBoolean:wt,ZodCIDRv4:zn,ZodCIDRv6:En,ZodCUID:bn,ZodCUID2:_n,ZodCatch:Jo,ZodCodec:Ct,ZodCustom:Tt,ZodCustomStringFormat:He,ZodDate:Un,ZodDefault:Bo,ZodDiscriminatedUnion:Io,ZodE164:On,ZodEmail:vn,ZodEmoji:hn,ZodEnum:Qe,ZodError:by,ZodExactOptional:Ao,ZodFile:xo,get ZodFirstPartyTypeKind(){return oi},ZodFunction:ti,ZodGUID:yt,ZodIPv4:wn,ZodIPv6:In,ZodISODate:co,ZodISODateTime:lo,ZodISODuration:uo,ZodISOTime:so,ZodIntersection:zo,ZodIssueCode:yy,ZodJWT:jn,ZodKSUID:Sn,ZodLazy:Yo,ZodLiteral:To,ZodMAC:mo,ZodMap:jo,ZodNaN:Go,ZodNanoID:$n,ZodNever:yo,ZodNonOptional:Zn,ZodNull:ho,ZodNullable:Vo,ZodNumber:St,ZodNumberFormat:Be,ZodObject:Et,ZodOptional:Bn,ZodPipe:jt,ZodPrefault:Mo,ZodPreprocess:Ko,ZodPromise:ei,ZodReadonly:Wo,ZodRealError:ve,ZodRecord:Ye,ZodSet:Co,ZodString:bt,ZodStringFormat:Q,ZodSuccess:Ro,ZodSymbol:go,ZodTemplateLiteral:Ho,ZodTransform:Uo,ZodTuple:No,ZodType:J,ZodULID:yn,ZodURL:kt,ZodUUID:Ie,ZodUndefined:vo,ZodUnion:Nt,ZodUnknown:_o,ZodVoid:ko,ZodXID:kn,ZodXor:wo,_ZodString:gn,_default:Zo,_function:Fn,any:Ud,array:zt,base64:$d,base64url:bd,bigint:Od,boolean:po,catch:qo,check:om,cidrv4:vd,cidrv6:hd,clone:$e,codec:em,coerce:Ty,config:se,core:hy,cuid:cd,cuid2:sd,custom:im,date:Pd,decode:Ru,decodeAsync:qu,describe:am,discriminatedUnion:Ld,e164:_d,email:Yu,emoji:ad,encode:Lu,encodeAsync:Ju,endsWith:cn,enum:Pn,exactOptional:Po,file:Xd,flattenError:ir,float32:zd,float64:Ed,formatError:ar,fromJSONSchema:Ey,function:Fn,getErrorMap:Sy,globalRegistry:_e,gt:je,gte:fe,guid:Qu,hash:Id,hex:wd,hostname:Sd,httpUrl:id,includes:an,instanceof:cm,int:Cn,int32:Nd,int64:jd,intersection:Eo,invertCodec:tm,ipv4:fd,ipv6:gd,iso:Pu,json:um,jwt:yd,keyof:Vd,ksuid:md,lazy:Qo,length:gt,literal:Wd,locales:rs,looseObject:Md,looseRecord:Jd,lowercase:rn,lt:Oe,lte:ye,mac:pd,map:qd,maxLength:pt,maxSize:Ge,meta:lm,mime:sn,minLength:Ve,minSize:Ce,multipleOf:qe,nan:Qd,nanoid:ld,nativeEnum:Kd,negative:eo,never:xn,nonnegative:no,nonoptional:Lo,nonpositive:to,normalize:un,null:$o,nullable:Ot,nullish:Hd,number:fo,object:Bd,optional:Dt,overwrite:Ee,parse:Bu,parseAsync:Zu,partialRecord:Rd,pipe:Mn,positive:Qr,prefault:Fo,preprocess:dm,prettifyError:$a,promise:rm,property:ro,readonly:Xo,record:Oo,refine:ni,regex:nn,regexes:_r,registry:Cr,safeDecode:Ku,safeDecodeAsync:Xu,safeEncode:Gu,safeEncodeAsync:Wu,safeParse:Mu,safeParseAsync:Fu,set:Gd,setErrorMap:ky,size:ft,slugify:pn,startsWith:ln,strictObject:Zd,string:_t,stringFormat:kd,stringbool:sm,success:Yd,superRefine:ri,symbol:Td,templateLiteral:nm,toJSONSchema:Cu,toLowerCase:mn,toUpperCase:fn,transform:Vn,treeifyError:va,trim:dn,tuple:Do,uint32:Dd,uint64:Cd,ulid:ud,undefined:xd,union:An,unknown:Ze,uppercase:on,url:od,util:pa,uuid:ed,uuidv4:td,uuidv6:nd,uuidv7:rd,void:Ad,xid:dd,xor:Fd},Symbol.toStringTag,{value:"Module"}));var xy={};globalThis.cacheMemoria_cache=xy;var Uy=(e=>(e.codigo="codigo",e.excluido="excluido",e.data_hora_criacao="data_hora_criacao",e.data_hora_atualizacao="data_hora_atualizacao",e.codigo_usuario_criacao="codigo_usuario_criacao",e.codigo_usuario_atualizacao="codigo_usuario_atualizacao",e.versao="versao",e))(Uy||{}),Ay=(e=>(e.token="token",e))(Ay||{}),Py=(e=>(e.Usuario="usuario",e.Fornecedor="fornecedor",e))(Py||{}),Vy=(e=>(e["="]="=",e["!="]="!=",e[">"]=">",e[">="]=">=",e["<"]="<",e["<="]="<=",e.like="like",e.in="in",e.isNull="isNull",e.notIn="notIn",e))(Vy||{}),By=ee.enum(["=","!=",">",">=","<","<=","like","in","isNull","notIn"]);ee.object({coluna:ee.string(),valor:ee.any(),operador:By,ou:ee.boolean().optional()});var Zy=(e=>(e.RASTREAMENTO="RASTREAMENTO",e.DEPURACAO="DEPURACAO",e.INFORMACAO="INFORMACAO",e.AVISO="AVISO",e.ERRO="ERRO",e.CRITICO="CRITICO",e))(Zy||{}),My=ee.enum([">","<",">=","<=","=","!=","in","like","∩"]),Fy=/^\{[\w:]+\}$/,Ly=/^\w+(\.\w+)*$/,Ry=ee.string().regex(Ly,"Coluna inválida").describe("nome da coluna ou caminho aninhado do jsonb"),Jy=ee.object({id:ee.string().describe("id da condição do filtro").regex(Fy,"O id deve seguir o formato {identificador}"),coluna:Ry,operador:My,valor:ee.any().describe("valor de comparação")}),qy=e=>{let n=(e.match(/\{[\w:]+\}|\bNAO\b|\bE\b|\bOU\b|\(|\)/g)||[]).join(""),r=e.replace(/\s+/g,""),i=n.replace(/\s+/g,"");if(r!==i)return!1;let t=e.replace(/\{[\w:]+\}/g,"true").replace(/\bNAO\b/g,"!").replace(/\bE\b/g,"&&").replace(/\bOU\b/g,"||");try{return new Function(`return (${t})`)(),!0}catch{return!1}},Gy=ee.object({condicoes:ee.array(Jy),formula:ee.string().refine(qy,{message:"Fórmula inválida. Use apenas referências de condições {id} ou {id:sufixo}, operadores E/OU/NAO e parênteses."})}).superRefine((e,n)=>{let r=new Set(e.condicoes.map(t=>t.id)),i=e.formula.match(/\{[\w:]+\}/g)||[];for(let t of i)r.has(t)||n.addIssue({code:"custom",path:["formula"],message:`A referência ${t} não existe em condicoes.`})}),Ky=e=>Gy.parse(e),Wy=()=>({criarFiltroDelta:Ky}),Xy=(e=>(e["e-licencie"]="e-licencie",e["gov.e-licencie"]="gov.e-licencie",e))(Xy||{}),Hy=(e=>(e.modelo="000_modelo",e.vencida="100_vencida",e.expirado="200_expirado",e.alerta="300_alerta",e.protocoladafora="350_protocoladafora",e.protocolada="400_protocolada",e.protocoladaApenas="430_protocolada",e.protocolada_alteracao="450_protocolada",e.prazo="500_prazo",e.emitida="515_emitida",e.valida="518_valida",e.novo="520_novo",e.recebido="521_recebido",e.em_andamento="530_em_andamento",e.aguardando="530_aguardando",e.aguardandoresposta="540_aguardandoresposta",e.suspensaotemporaria="540_suspensaotemporaria",e.cancelada="550_cancelada",e.execucao="560_execucao",e.pendente="570_pendente",e.executadafora="600_executadafora",e.executada="700_executada",e.naoexecutada="701_naoexecutada",e.concluida="730_concluida",e.respondido_negado="740_respondido_negado",e.respondido_aceito="741_respondido_aceito",e.atendidoparcial="742_atendidoparcial",e.naoatendido="743_naoatendido",e.atendido="744_atendido",e.renovada="760_renovada",e.finalizada="800_finalizada",e.emitirnota="101_emitirnota",e.faturaatrasada="301_faturaatrasada",e.pagarfatura="302_pagarfatura",e.aguardandoconfirmacao="531_aguardandoconfirmacao",e.agendado="701_agendado",e.faturapaga="801_faturapaga",e.excluida="999_excluida",e.requerida="401_requerida",e.vigente="516_vigente",e.emrenovacao="402_emrenovacao",e.arquivada="801_arquivada",e.aguardando_sincronizacao="999_aguardando_sincronizacao",e.nao_conforme="710_nao_conforme",e.conforme="720_conforme",e.nao_aplicavel="730_nao_aplicavel",e.parcial="715_parcial",e))(Hy||{}),Yy=(e=>(e.UN="UN",e.KG="KG",e.TON="TON",e.g="g",e["M³"]="M³",e.Lt="Lt",e))(Yy||{});ee.object({formato:ee.literal("decimal").default("decimal"),datum:ee.literal("EPSG:4326").default("EPSG:4326"),latitude:ee.number(),longitude:ee.number()});var Qy=/^\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2}$/,ek=/^[A-Z0-9]{2}\.[A-Z0-9]{3}\.[A-Z0-9]{3}\/[A-Z0-9]{4}-\d{2}$/i,tk=Number(new Date().toISOString().slice(0,7).replace("-","")),nk=ee.string().regex(tk<202407?Qy:ek).describe("Documento (CNPJ) no formato XX.XXX.XXX/XXXX-XX"),rk=ee.string().regex(/^\d{3}\.\d{3}\.\d{3}-\d{2}$/).describe("Documento (CPF) no formato XXX.XXX.XXX-XX");rk.or(nk).describe("CPF ou CNPJ");var ii=e=>{if(typeof e=="number"||typeof e!="string")return e;let n=e;return n.includes(",")&&(n=n.replace(/\./g,"").replace(",",".")),n=n.replace(/[^0-9.]/g,""),n==""?null:Number(n)};ee.preprocess(ii,ee.number()),ee.preprocess(ii,ee.number().positive()),ee.preprocess(ii,ee.number().int());const fm={"--cor-eli-primaria-bg":"#EEF3D0","--cor-eli-primaria-zebra":"#F6F9E8","--cor-eli-primaria-suave":"#BFC99C","--cor-eli-primaria-header":"#ADCC44","--cor-eli-primaria-clara":"#D4E290","--cor-eli-primaria-media":"#ADCC44","--cor-eli-primaria-acao":"#8AAF00","--cor-eli-primaria":"#688C00","--cor-eli-primaria-escura":"#4A6500","--cor-eli-primaria-texto":"#2E3F00","--cor-eli-fundo-suave":"#F8F9F5","--cor-eli-fundo":"#F2F3EE","--cor-eli-borda":"#D5D8CC","--cor-eli-borda-forte":"#B5BAA8","--cor-eli-neutro":"#5E6553","--cor-eli-neutro-escuro":"#3E4436","--cor-eli-superficie":"#FFFFFF"},pm={"--cor-eli-primaria-bg":"#EBF3FC","--cor-eli-primaria-zebra":"#F4F8FD","--cor-eli-primaria-suave":"#D0E3F9","--cor-eli-primaria-header":"#9BC5F6","--cor-eli-primaria-clara":"#66A8F4","--cor-eli-primaria-media":"#338BF2","--cor-eli-primaria-acao":"#0069D9","--cor-eli-primaria":"#007BFF","--cor-eli-primaria-escura":"#0056B3","--cor-eli-primaria-texto":"#0A2E5C","--cor-eli-fundo-suave":"#F7F9FC","--cor-eli-fundo":"#F0F4F8","--cor-eli-borda":"#D0D7DE","--cor-eli-borda-forte":"#A8B6C5","--cor-eli-neutro":"#4B5563","--cor-eli-neutro-escuro":"#1E293B","--cor-eli-superficie":"#FFFFFF"},gm={primary:"#688C00","primary-dark":"#4A6500","primary-light":"#EEF3D0"},vm={primary:"#007BFF","primary-dark":"#0056B3","primary-light":"#EBF3FC"},ai={verde:fm,azul:pm},li={verde:gm,azul:vm};function hm(e){return ai[e]??ai.verde}function ok(e){return li[e]??li.verde}function ik(e,n){var t,o;if(typeof document>"u")return;const r=(n==null?void 0:n.elemento)??document.documentElement,i=hm(e);for(const[a,c]of Object.entries(i))c&&r.style.setProperty(a,c);r.setAttribute("data-eli-tema",e),(o=(t=n==null?void 0:n.vuetify)==null?void 0:t.theme)!=null&&o.global&&(n.vuetify.theme.global.name.value=e)}const ak={install(e){e.component("EliOlaMundo",qi),e.component("EliBotao",Jn),e.component("EliBadge",At),e.component("EliCartao",di),e.component("EliTabela",Ri),e.component("EliEntradaTexto",Zt),e.component("EliEntradaNumero",Wn),e.component("EliEntradaDataHora",Gn),e.component("EliEntradaParagrafo",Xn),e.component("EliEntradaSelecao",Hn),e.component("EliEntradaSelecaoMultipla",Yn),e.component("EliEntradaCoordenadas",bi),e.component("EliFeedbackWidget",Ji)}};L.CORES_VUETIFY_AZUL=vm,L.CORES_VUETIFY_VERDE=gm,L.EliBadge=At,L.EliBotao=Jn,L.EliCartao=di,L.EliEntradaConfirmacao=mi,L.EliEntradaCoordenadas=bi,L.EliEntradaDataHora=Gn,L.EliEntradaNumero=Wn,L.EliEntradaParagrafo=Xn,L.EliEntradaSelecao=Hn,L.EliEntradaSelecaoMultipla=Yn,L.EliEntradaTexto=Zt,L.EliFeedbackWidget=Ji,L.EliOlaMundo=qi,L.EliTabela=Ri,L.MAPA_CORES_VUETIFY_TEMAS=li,L.MAPA_TOKENS_TEMAS=ai,L.TOKENS_TEMA_AZUL=pm,L.TOKENS_TEMA_VERDE=fm,L.celulaTabela=Rh,L.default=ak,L.definirTemaAplicacao=ik,L.iniciarFiltroDelta=Wy,L.obterCoresVuetifyTema=ok,L.obterTokensTema=hm,Object.defineProperties(L,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
+Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const m of e.seen.entries()){const d=m[1];if(n===m[0]){o(m);continue}if(e.external){const p=(u=e.external.registry.get(m[0]))==null?void 0:u.id;if(n!==m[0]&&p){o(m);continue}}if((s=e.metadataRegistry.get(m[0]))==null?void 0:s.id){o(m);continue}if(d.cycle){o(m);continue}if(d.count>1&&e.reused==="ref"){o(m);continue}}}function He(e,n){var c,u,s,m;const r=e.seen.get(n);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=d=>{const f=e.seen.get(d);if(f.ref===null)return;const p=f.def??f.schema,h={...p},v=f.ref;if(f.ref=null,v){i(v);const I=e.seen.get(v),S=I.schema;if(S.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(p.allOf=p.allOf??[],p.allOf.push(S)):Object.assign(p,S),Object.assign(p,h),d._zod.parent===v)for(const T in p)T==="$ref"||T==="allOf"||T in h||delete p[T];if(S.$ref&&I.def)for(const T in p)T==="$ref"||T==="allOf"||T in I.def&&JSON.stringify(p[T])===JSON.stringify(I.def[T])&&delete p[T]}const D=d._zod.parent;if(D&&D!==v){i(D);const I=e.seen.get(D);if(I!=null&&I.schema.$ref&&(p.$ref=I.schema.$ref,I.def))for(const S in p)S==="$ref"||S==="allOf"||S in I.def&&JSON.stringify(p[S])===JSON.stringify(I.def[S])&&delete p[S]}e.override({zodSchema:d,jsonSchema:p,path:f.path??[]})};for(const d of[...e.seen.entries()].reverse())i(d[0]);const t={};if(e.target==="draft-2020-12"?t.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?t.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?t.$schema="http://json-schema.org/draft-04/schema#":e.target,(c=e.external)!=null&&c.uri){const d=(u=e.external.registry.get(n))==null?void 0:u.id;if(!d)throw new Error("Schema is missing an `id` property");t.$id=e.external.uri(d)}Object.assign(t,r.def??r.schema);const o=(s=e.metadataRegistry.get(n))==null?void 0:s.id;o!==void 0&&t.id===o&&delete t.id;const a=((m=e.external)==null?void 0:m.defs)??{};for(const d of e.seen.entries()){const f=d[1];f.def&&f.defId&&(f.def.id===f.defId&&delete f.def.id,a[f.defId]=f.def)}e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?t.$defs=a:t.definitions=a);try{const d=JSON.parse(JSON.stringify(t));return Object.defineProperty(d,"~standard",{value:{...n["~standard"],jsonSchema:{input:ht(n,"input",e.processors),output:ht(n,"output",e.processors)}},enumerable:!1,writable:!1}),d}catch{throw new Error("Error converting schema to JSON.")}}function me(e,n){const r=n??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);const i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return me(i.element,r);if(i.type==="set")return me(i.valueType,r);if(i.type==="lazy")return me(i.getter(),r);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return me(i.innerType,r);if(i.type==="intersection")return me(i.left,r)||me(i.right,r);if(i.type==="record"||i.type==="map")return me(i.keyType,r)||me(i.valueType,r);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:me(i.in,r)||me(i.out,r);if(i.type==="object"){for(const t in i.shape)if(me(i.shape[t],r))return!0;return!1}if(i.type==="union"){for(const t of i.options)if(me(t,r))return!0;return!1}if(i.type==="tuple"){for(const t of i.items)if(me(t,r))return!0;return!!(i.rest&&me(i.rest,r))}return!1}const Ks=(e,n={})=>r=>{const i=We({...r,processors:n});return H(e,i),Ke(i,e),He(i,e)},ht=(e,n,r={})=>i=>{const{libraryOptions:t,target:o}=i??{},a=We({...t??{},target:o,io:n,processors:r});return H(e,a),Ke(a,e),He(a,e)},vy={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Hs=(e,n,r,i)=>{const t=r;t.type="string";const{minimum:o,maximum:a,format:c,patterns:u,contentEncoding:s}=e._zod.bag;if(typeof o=="number"&&(t.minLength=o),typeof a=="number"&&(t.maxLength=a),c&&(t.format=vy[c]??c,t.format===""&&delete t.format,c==="time"&&delete t.format),s&&(t.contentEncoding=s),u&&u.size>0){const m=[...u];m.length===1?t.pattern=m[0].source:m.length>1&&(t.allOf=[...m.map(d=>({...n.target==="draft-07"||n.target==="draft-04"||n.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}},Xs=(e,n,r,i)=>{const t=r,{minimum:o,maximum:a,format:c,multipleOf:u,exclusiveMaximum:s,exclusiveMinimum:m}=e._zod.bag;typeof c=="string"&&c.includes("int")?t.type="integer":t.type="number";const d=typeof m=="number"&&m>=(o??Number.NEGATIVE_INFINITY),f=typeof s=="number"&&s<=(a??Number.POSITIVE_INFINITY),p=n.target==="draft-04"||n.target==="openapi-3.0";d?p?(t.minimum=m,t.exclusiveMinimum=!0):t.exclusiveMinimum=m:typeof o=="number"&&(t.minimum=o),f?p?(t.maximum=s,t.exclusiveMaximum=!0):t.exclusiveMaximum=s:typeof a=="number"&&(t.maximum=a),typeof u=="number"&&(t.multipleOf=u)},Ys=(e,n,r,i)=>{r.type="boolean"},Qs=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},eu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},tu=(e,n,r,i)=>{n.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},nu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},ru=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},ou=(e,n,r,i)=>{r.not={}},iu=(e,n,r,i)=>{},au=(e,n,r,i)=>{},lu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},cu=(e,n,r,i)=>{const t=e._zod.def,o=rr(t.entries);o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),r.enum=o},su=(e,n,r,i)=>{const t=e._zod.def,o=[];for(const a of t.values)if(a===void 0){if(n.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(n.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){const a=o[0];r.type=a===null?"null":typeof a,n.target==="draft-04"||n.target==="openapi-3.0"?r.enum=[a]:r.const=a}else o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),o.every(a=>typeof a=="boolean")&&(r.type="boolean"),o.every(a=>a===null)&&(r.type="null"),r.enum=o},uu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},du=(e,n,r,i)=>{const t=r,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");t.type="string",t.pattern=o.source},mu=(e,n,r,i)=>{const t=r,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:c,mime:u}=e._zod.bag;a!==void 0&&(o.minLength=a),c!==void 0&&(o.maxLength=c),u?u.length===1?(o.contentMediaType=u[0],Object.assign(t,o)):(Object.assign(t,o),t.anyOf=u.map(s=>({contentMediaType:s}))):Object.assign(t,o)},fu=(e,n,r,i)=>{r.type="boolean"},pu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},gu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},vu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},hu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},bu=(e,n,r,i)=>{if(n.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},$u=(e,n,r,i)=>{const t=r,o=e._zod.def,{minimum:a,maximum:c}=e._zod.bag;typeof a=="number"&&(t.minItems=a),typeof c=="number"&&(t.maxItems=c),t.type="array",t.items=H(o.element,n,{...i,path:[...i.path,"items"]})},_u=(e,n,r,i)=>{var s;const t=r,o=e._zod.def;t.type="object",t.properties={};const a=o.shape;for(const m in a)t.properties[m]=H(a[m],n,{...i,path:[...i.path,"properties",m]});const c=new Set(Object.keys(a)),u=new Set([...c].filter(m=>{const d=o.shape[m]._zod;return n.io==="input"?d.optin===void 0:d.optout===void 0}));u.size>0&&(t.required=Array.from(u)),((s=o.catchall)==null?void 0:s._zod.def.type)==="never"?t.additionalProperties=!1:o.catchall?o.catchall&&(t.additionalProperties=H(o.catchall,n,{...i,path:[...i.path,"additionalProperties"]})):n.io==="output"&&(t.additionalProperties=!1)},ao=(e,n,r,i)=>{const t=e._zod.def,o=t.inclusive===!1,a=t.options.map((c,u)=>H(c,n,{...i,path:[...i.path,o?"oneOf":"anyOf",u]}));o?r.oneOf=a:r.anyOf=a},yu=(e,n,r,i)=>{const t=e._zod.def,o=H(t.left,n,{...i,path:[...i.path,"allOf",0]}),a=H(t.right,n,{...i,path:[...i.path,"allOf",1]}),c=s=>"allOf"in s&&Object.keys(s).length===1,u=[...c(o)?o.allOf:[o],...c(a)?a.allOf:[a]];r.allOf=u},ku=(e,n,r,i)=>{const t=r,o=e._zod.def;t.type="array";const a=n.target==="draft-2020-12"?"prefixItems":"items",c=n.target==="draft-2020-12"||n.target==="openapi-3.0"?"items":"additionalItems",u=o.items.map((f,p)=>H(f,n,{...i,path:[...i.path,a,p]})),s=o.rest?H(o.rest,n,{...i,path:[...i.path,c,...n.target==="openapi-3.0"?[o.items.length]:[]]}):null;n.target==="draft-2020-12"?(t.prefixItems=u,s&&(t.items=s)):n.target==="openapi-3.0"?(t.items={anyOf:u},s&&t.items.anyOf.push(s),t.minItems=u.length,s||(t.maxItems=u.length)):(t.items=u,s&&(t.additionalItems=s));const{minimum:m,maximum:d}=e._zod.bag;typeof m=="number"&&(t.minItems=m),typeof d=="number"&&(t.maxItems=d)},Su=(e,n,r,i)=>{const t=r,o=e._zod.def;t.type="object";const a=o.keyType,c=a._zod.bag,u=c==null?void 0:c.patterns;if(o.mode==="loose"&&u&&u.size>0){const m=H(o.valueType,n,{...i,path:[...i.path,"patternProperties","*"]});t.patternProperties={};for(const d of u)t.patternProperties[d.source]=m}else(n.target==="draft-07"||n.target==="draft-2020-12")&&(t.propertyNames=H(o.keyType,n,{...i,path:[...i.path,"propertyNames"]})),t.additionalProperties=H(o.valueType,n,{...i,path:[...i.path,"additionalProperties"]});const s=a._zod.values;if(s){const m=[...s].filter(d=>typeof d=="string"||typeof d=="number");m.length>0&&(t.required=m)}},wu=(e,n,r,i)=>{const t=e._zod.def,o=H(t.innerType,n,i),a=n.seen.get(e);n.target==="openapi-3.0"?(a.ref=t.innerType,r.nullable=!0):r.anyOf=[o,{type:"null"}]},Iu=(e,n,r,i)=>{const t=e._zod.def;H(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType},zu=(e,n,r,i)=>{const t=e._zod.def;H(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType,r.default=JSON.parse(JSON.stringify(t.defaultValue))},Eu=(e,n,r,i)=>{const t=e._zod.def;H(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType,n.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(t.defaultValue)))},Nu=(e,n,r,i)=>{const t=e._zod.def;H(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType;let a;try{a=t.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=a},Du=(e,n,r,i)=>{const t=e._zod.def,o=t.in._zod.traits.has("$ZodTransform"),a=n.io==="input"?o?t.out:t.in:t.out;H(a,n,i);const c=n.seen.get(e);c.ref=a},Ou=(e,n,r,i)=>{const t=e._zod.def;H(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType,r.readOnly=!0},ju=(e,n,r,i)=>{const t=e._zod.def;H(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType},lo=(e,n,r,i)=>{const t=e._zod.def;H(t.innerType,n,i);const o=n.seen.get(e);o.ref=t.innerType},xu=(e,n,r,i)=>{const t=e._zod.innerType;H(t,n,i);const o=n.seen.get(e);o.ref=t},co={string:Hs,number:Xs,boolean:Ys,bigint:Qs,symbol:eu,null:tu,undefined:nu,void:ru,never:ou,any:iu,unknown:au,date:lu,enum:cu,literal:su,nan:uu,template_literal:du,file:mu,success:fu,custom:pu,function:gu,transform:vu,map:hu,set:bu,array:$u,object:_u,union:ao,intersection:yu,tuple:ku,record:Su,nullable:wu,nonoptional:Iu,default:zu,prefault:Eu,catch:Nu,pipe:Du,readonly:Ou,promise:ju,optional:lo,lazy:xu};function Tu(e,n){if("_idmap"in e){const i=e,t=We({...n,processors:co}),o={};for(const u of i._idmap.entries()){const[s,m]=u;H(m,t)}const a={},c={registry:i,uri:n==null?void 0:n.uri,defs:o};t.external=c;for(const u of i._idmap.entries()){const[s,m]=u;Ke(t,m),a[s]=He(t,m)}if(Object.keys(o).length>0){const u=t.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[u]:o}}return{schemas:a}}const r=We({...n,processors:co});return H(e,r),Ke(r,e),He(r,e)}class hy{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(n){this.ctx.counter=n}get seen(){return this.ctx.seen}constructor(n){let r=(n==null?void 0:n.target)??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=We({processors:co,target:r,...(n==null?void 0:n.metadata)&&{metadata:n.metadata},...(n==null?void 0:n.unrepresentable)&&{unrepresentable:n.unrepresentable},...(n==null?void 0:n.override)&&{override:n.override},...(n==null?void 0:n.io)&&{io:n.io}})}process(n,r={path:[],schemaPath:[]}){return H(n,this.ctx,r)}emit(n,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),Ke(this.ctx,n);const i=He(this.ctx,n),{"~standard":t,...o}=i;return o}}const by=Object.freeze(Object.defineProperty({__proto__:null,$ZodAny:nc,$ZodArray:cc,$ZodAsyncError:Ue,$ZodBase64:Rl,$ZodBase64URL:ql,$ZodBigInt:Nr,$ZodBigIntFormat:Yl,$ZodBoolean:Er,$ZodCIDRv4:Fl,$ZodCIDRv6:Ll,$ZodCUID:Ol,$ZodCUID2:jl,$ZodCatch:Zc,$ZodCheck:te,$ZodCheckBigIntFormat:il,$ZodCheckEndsWith:hl,$ZodCheckGreaterThan:wr,$ZodCheckIncludes:gl,$ZodCheckLengthEquals:dl,$ZodCheckLessThan:Sr,$ZodCheckLowerCase:fl,$ZodCheckMaxLength:sl,$ZodCheckMaxSize:al,$ZodCheckMimeType:_l,$ZodCheckMinLength:ul,$ZodCheckMinSize:ll,$ZodCheckMultipleOf:rl,$ZodCheckNumberFormat:ol,$ZodCheckOverwrite:yl,$ZodCheckProperty:$l,$ZodCheckRegex:ml,$ZodCheckSizeEquals:cl,$ZodCheckStartsWith:vl,$ZodCheckStringFormat:ut,$ZodCheckUpperCase:pl,$ZodCodec:Tr,$ZodCustom:Kc,$ZodCustomStringFormat:Hl,$ZodDate:ac,$ZodDefault:Cc,$ZodDiscriminatedUnion:vc,$ZodE164:Gl,$ZodEmail:zl,$ZodEmoji:Nl,$ZodEncodeError:Lt,$ZodEnum:Ec,$ZodError:ar,$ZodExactOptional:xc,$ZodFile:Dc,$ZodFunction:qc,$ZodGUID:wl,$ZodIPv4:Bl,$ZodIPv6:Zl,$ZodISODate:Al,$ZodISODateTime:Ul,$ZodISODuration:Vl,$ZodISOTime:Pl,$ZodIntersection:hc,$ZodJWT:Kl,$ZodKSUID:Cl,$ZodLazy:Wc,$ZodLiteral:Nc,$ZodMAC:Ml,$ZodMap:Sc,$ZodNaN:Mc,$ZodNanoID:Dl,$ZodNever:oc,$ZodNonOptional:Pc,$ZodNull:tc,$ZodNullable:Tc,$ZodNumber:zr,$ZodNumberFormat:Xl,$ZodObject:dc,$ZodObjectJIT:mc,$ZodOptional:jr,$ZodPipe:xr,$ZodPrefault:Ac,$ZodPreprocess:Fc,$ZodPromise:Gc,$ZodReadonly:Lc,$ZodRealError:ve,$ZodRecord:kc,$ZodRegistry:cs,$ZodSet:Ic,$ZodString:dt,$ZodStringFormat:Y,$ZodSuccess:Bc,$ZodSymbol:Ql,$ZodTemplateLiteral:Jc,$ZodTransform:Oc,$ZodTuple:Or,$ZodType:R,$ZodULID:xl,$ZodURL:El,$ZodUUID:Il,$ZodUndefined:ec,$ZodUnion:Xt,$ZodUnknown:rc,$ZodVoid:ic,$ZodXID:Tl,$ZodXor:gc,$brand:Hi,$constructor:g,$input:ls,$output:as,Doc:kl,JSONSchema:Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),JSONSchemaGenerator:hy,NEVER:Ki,TimePrecision:ms,_any:Ts,_array:Zs,_base64:Xr,_base64url:Yr,_bigint:zs,_boolean:ws,_catch:uy,_check:Js,_cidrv4:Kr,_cidrv6:Hr,_coercedBigint:Es,_coercedBoolean:Is,_coercedDate:Vs,_coercedNumber:bs,_coercedString:us,_cuid:Fr,_cuid2:Lr,_custom:Fs,_date:Ps,_decode:mr,_decodeAsync:pr,_default:ly,_discriminatedUnion:K_,_e164:Qr,_email:Ur,_emoji:Zr,_encode:dr,_encodeAsync:fr,_endsWith:sn,_enum:ty,_file:Ms,_float32:_s,_float64:ys,_gt:je,_gte:pe,_guid:tn,_includes:ln,_int:$s,_int32:ks,_int64:Ns,_intersection:H_,_ipv4:Gr,_ipv6:Wr,_isoDate:ps,_isoDateTime:fs,_isoDuration:vs,_isoTime:gs,_jwt:eo,_ksuid:qr,_lazy:py,_length:gt,_literal:ry,_lowercase:on,_lt:Oe,_lte:ye,_mac:ds,_map:Q_,_max:ye,_maxLength:pt,_maxSize:Ge,_mime:un,_min:pe,_minLength:Be,_minSize:xe,_multipleOf:qe,_nan:Bs,_nanoid:Mr,_nativeEnum:ny,_negative:no,_never:Us,_nonnegative:oo,_nonoptional:cy,_nonpositive:ro,_normalize:dn,_null:xs,_nullable:ay,_number:hs,_optional:iy,_overwrite:Ee,_parse:ot,_parseAsync:it,_pipe:dy,_positive:to,_promise:gy,_property:io,_readonly:my,_record:Y_,_refine:Ls,_regex:rn,_safeDecode:vr,_safeDecodeAsync:br,_safeEncode:gr,_safeEncodeAsync:hr,_safeParse:at,_safeParseAsync:lt,_set:ey,_size:ft,_slugify:gn,_startsWith:cn,_string:ss,_stringFormat:vt,_stringbool:Ws,_success:sy,_superRefine:Rs,_symbol:Os,_templateLiteral:fy,_toLowerCase:fn,_toUpperCase:pn,_transform:oy,_trim:mn,_tuple:X_,_uint32:Ss,_uint64:Ds,_ulid:Rr,_undefined:js,_union:G_,_unknown:Cs,_uppercase:an,_url:nn,_uuid:Ar,_uuidv4:Pr,_uuidv6:Vr,_uuidv7:Br,_void:As,_xid:Jr,_xor:W_,clone:be,config:se,createStandardJSONSchemaMethod:ht,createToJSONSchemaMethod:Ks,decode:Zb,decodeAsync:Fb,describe:qs,encode:Bb,encodeAsync:Mb,extractDefs:Ke,finalize:He,flattenError:lr,formatError:cr,globalConfig:tt,globalRegistry:_e,initializeContext:We,isValidBase64:Ir,isValidBase64URL:Jl,isValidJWT:Wl,locales:os,meta:Gs,parse:sr,parseAsync:ur,prettifyError:$a,process:H,regexes:kr,registry:Cr,safeDecode:Rb,safeDecodeAsync:qb,safeEncode:Lb,safeEncodeAsync:Jb,safeParse:_a,safeParseAsync:ya,toDotPath:ba,toJSONSchema:Tu,treeifyError:ha,util:ga,version:Sl},Symbol.toStringTag,{value:"Module"})),$y=Object.freeze(Object.defineProperty({__proto__:null,endsWith:sn,gt:je,gte:pe,includes:ln,length:gt,lowercase:on,lt:Oe,lte:ye,maxLength:pt,maxSize:Ge,mime:un,minLength:Be,minSize:xe,multipleOf:qe,negative:no,nonnegative:oo,nonpositive:ro,normalize:dn,overwrite:Ee,positive:to,property:io,regex:rn,size:ft,slugify:gn,startsWith:cn,toLowerCase:fn,toUpperCase:pn,trim:mn,uppercase:an},Symbol.toStringTag,{value:"Module"})),so=g("ZodISODateTime",(e,n)=>{Ul.init(e,n),Q.init(e,n)});function Cu(e){return fs(so,e)}const uo=g("ZodISODate",(e,n)=>{Al.init(e,n),Q.init(e,n)});function Uu(e){return ps(uo,e)}const mo=g("ZodISOTime",(e,n)=>{Pl.init(e,n),Q.init(e,n)});function Au(e){return gs(mo,e)}const fo=g("ZodISODuration",(e,n)=>{Vl.init(e,n),Q.init(e,n)});function Pu(e){return vs(fo,e)}const Vu=Object.freeze(Object.defineProperty({__proto__:null,ZodISODate:uo,ZodISODateTime:so,ZodISODuration:fo,ZodISOTime:mo,date:Uu,datetime:Cu,duration:Pu,time:Au},Symbol.toStringTag,{value:"Module"})),Bu=(e,n)=>{ar.init(e,n),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>cr(e,r)},flatten:{value:r=>lr(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,Rt,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,Rt,2)}},isEmpty:{get(){return e.issues.length===0}}})},_y=g("ZodError",Bu),he=g("ZodError",Bu,{Parent:Error}),Zu=ot(he),Mu=it(he),Fu=at(he),Lu=lt(he),Ru=dr(he),Ju=mr(he),qu=fr(he),Gu=pr(he),Wu=gr(he),Ku=vr(he),Hu=hr(he),Xu=br(he),Yu=new WeakMap;function bt(e,n,r){const i=Object.getPrototypeOf(e);let t=Yu.get(i);if(t||(t=new Set,Yu.set(i,t)),!t.has(n)){t.add(n);for(const o in r){const a=r[o];Object.defineProperty(i,o,{configurable:!0,enumerable:!1,get(){const c=a.bind(this);return Object.defineProperty(this,o,{configurable:!0,writable:!0,enumerable:!0,value:c}),c},set(c){Object.defineProperty(this,o,{configurable:!0,writable:!0,enumerable:!0,value:c})}})}}}const J=g("ZodType",(e,n)=>(R.init(e,n),Object.assign(e["~standard"],{jsonSchema:{input:ht(e,"input"),output:ht(e,"output")}}),e.toJSONSchema=Ks(e,{}),e.def=n,e.type=n.type,Object.defineProperty(e,"_def",{value:n}),e.parse=(r,i)=>Zu(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>Fu(e,r,i),e.parseAsync=async(r,i)=>Mu(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>Lu(e,r,i),e.spa=e.safeParseAsync,e.encode=(r,i)=>Ru(e,r,i),e.decode=(r,i)=>Ju(e,r,i),e.encodeAsync=async(r,i)=>qu(e,r,i),e.decodeAsync=async(r,i)=>Gu(e,r,i),e.safeEncode=(r,i)=>Wu(e,r,i),e.safeDecode=(r,i)=>Ku(e,r,i),e.safeEncodeAsync=async(r,i)=>Hu(e,r,i),e.safeDecodeAsync=async(r,i)=>Xu(e,r,i),bt(e,"ZodType",{check(...r){const i=this.def;return this.clone(we(i,{checks:[...i.checks??[],...r.map(t=>typeof t=="function"?{_zod:{check:t,def:{check:"custom"},onattach:[]}}:t)]}),{parent:!0})},with(...r){return this.check(...r)},clone(r,i){return be(this,r,i)},brand(){return this},register(r,i){return r.add(this,i),this},refine(r,i){return this.check(oi(r,i))},superRefine(r,i){return this.check(ii(r,i))},overwrite(r){return this.check(Ee(r))},optional(){return Dt(this)},exactOptional(){return Bo(this)},nullable(){return Ot(this)},nullish(){return Dt(Ot(this))},nonoptional(r){return Jo(this,r)},array(){return zt(this)},or(r){return Pn([this,r])},and(r){return Do(this,r)},transform(r){return Fn(this,Bn(r))},default(r){return Fo(this,r)},prefault(r){return Ro(this,r)},catch(r){return Wo(this,r)},pipe(r){return Fn(this,r)},readonly(){return Yo(this)},describe(r){const i=this.clone();return _e.add(i,{description:r}),i},meta(...r){if(r.length===0)return _e.get(this);const i=this.clone();return _e.add(i,r[0]),i},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(r){return r(this)}}),Object.defineProperty(e,"description",{get(){var r;return(r=_e.get(e))==null?void 0:r.description},configurable:!0}),e)),vn=g("_ZodString",(e,n)=>{dt.init(e,n),J.init(e,n),e._zod.processJSONSchema=(i,t,o)=>Hs(e,i,t);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,bt(e,"_ZodString",{regex(...i){return this.check(rn(...i))},includes(...i){return this.check(ln(...i))},startsWith(...i){return this.check(cn(...i))},endsWith(...i){return this.check(sn(...i))},min(...i){return this.check(Be(...i))},max(...i){return this.check(pt(...i))},length(...i){return this.check(gt(...i))},nonempty(...i){return this.check(Be(1,...i))},lowercase(i){return this.check(on(i))},uppercase(i){return this.check(an(i))},trim(){return this.check(mn())},normalize(...i){return this.check(dn(...i))},toLowerCase(){return this.check(fn())},toUpperCase(){return this.check(pn())},slugify(){return this.check(gn())}})}),$t=g("ZodString",(e,n)=>{dt.init(e,n),vn.init(e,n),e.email=r=>e.check(Ur(hn,r)),e.url=r=>e.check(nn(kt,r)),e.jwt=r=>e.check(eo(xn,r)),e.emoji=r=>e.check(Zr(bn,r)),e.guid=r=>e.check(tn(yt,r)),e.uuid=r=>e.check(Ar(Ie,r)),e.uuidv4=r=>e.check(Pr(Ie,r)),e.uuidv6=r=>e.check(Vr(Ie,r)),e.uuidv7=r=>e.check(Br(Ie,r)),e.nanoid=r=>e.check(Mr($n,r)),e.guid=r=>e.check(tn(yt,r)),e.cuid=r=>e.check(Fr(_n,r)),e.cuid2=r=>e.check(Lr(yn,r)),e.ulid=r=>e.check(Rr(kn,r)),e.base64=r=>e.check(Xr(Dn,r)),e.base64url=r=>e.check(Yr(On,r)),e.xid=r=>e.check(Jr(Sn,r)),e.ksuid=r=>e.check(qr(wn,r)),e.ipv4=r=>e.check(Gr(In,r)),e.ipv6=r=>e.check(Wr(zn,r)),e.cidrv4=r=>e.check(Kr(En,r)),e.cidrv6=r=>e.check(Hr(Nn,r)),e.e164=r=>e.check(Qr(jn,r)),e.datetime=r=>e.check(Cu(r)),e.date=r=>e.check(Uu(r)),e.time=r=>e.check(Au(r)),e.duration=r=>e.check(Pu(r))});function _t(e){return ss($t,e)}const Q=g("ZodStringFormat",(e,n)=>{Y.init(e,n),vn.init(e,n)}),hn=g("ZodEmail",(e,n)=>{zl.init(e,n),Q.init(e,n)});function Qu(e){return Ur(hn,e)}const yt=g("ZodGUID",(e,n)=>{wl.init(e,n),Q.init(e,n)});function ed(e){return tn(yt,e)}const Ie=g("ZodUUID",(e,n)=>{Il.init(e,n),Q.init(e,n)});function td(e){return Ar(Ie,e)}function nd(e){return Pr(Ie,e)}function rd(e){return Vr(Ie,e)}function od(e){return Br(Ie,e)}const kt=g("ZodURL",(e,n)=>{El.init(e,n),Q.init(e,n)});function id(e){return nn(kt,e)}function ad(e){return nn(kt,{protocol:_r,hostname:Za,..._(e)})}const bn=g("ZodEmoji",(e,n)=>{Nl.init(e,n),Q.init(e,n)});function ld(e){return Zr(bn,e)}const $n=g("ZodNanoID",(e,n)=>{Dl.init(e,n),Q.init(e,n)});function cd(e){return Mr($n,e)}const _n=g("ZodCUID",(e,n)=>{Ol.init(e,n),Q.init(e,n)});function sd(e){return Fr(_n,e)}const yn=g("ZodCUID2",(e,n)=>{jl.init(e,n),Q.init(e,n)});function ud(e){return Lr(yn,e)}const kn=g("ZodULID",(e,n)=>{xl.init(e,n),Q.init(e,n)});function dd(e){return Rr(kn,e)}const Sn=g("ZodXID",(e,n)=>{Tl.init(e,n),Q.init(e,n)});function md(e){return Jr(Sn,e)}const wn=g("ZodKSUID",(e,n)=>{Cl.init(e,n),Q.init(e,n)});function fd(e){return qr(wn,e)}const In=g("ZodIPv4",(e,n)=>{Bl.init(e,n),Q.init(e,n)});function pd(e){return Gr(In,e)}const po=g("ZodMAC",(e,n)=>{Ml.init(e,n),Q.init(e,n)});function gd(e){return ds(po,e)}const zn=g("ZodIPv6",(e,n)=>{Zl.init(e,n),Q.init(e,n)});function vd(e){return Wr(zn,e)}const En=g("ZodCIDRv4",(e,n)=>{Fl.init(e,n),Q.init(e,n)});function hd(e){return Kr(En,e)}const Nn=g("ZodCIDRv6",(e,n)=>{Ll.init(e,n),Q.init(e,n)});function bd(e){return Hr(Nn,e)}const Dn=g("ZodBase64",(e,n)=>{Rl.init(e,n),Q.init(e,n)});function $d(e){return Xr(Dn,e)}const On=g("ZodBase64URL",(e,n)=>{ql.init(e,n),Q.init(e,n)});function _d(e){return Yr(On,e)}const jn=g("ZodE164",(e,n)=>{Gl.init(e,n),Q.init(e,n)});function yd(e){return Qr(jn,e)}const xn=g("ZodJWT",(e,n)=>{Kl.init(e,n),Q.init(e,n)});function kd(e){return eo(xn,e)}const Xe=g("ZodCustomStringFormat",(e,n)=>{Hl.init(e,n),Q.init(e,n)});function Sd(e,n,r={}){return vt(Xe,e,n,r)}function wd(e){return vt(Xe,"hostname",Ba,e)}function Id(e){return vt(Xe,"hex",tl,e)}function zd(e,n){const r=(n==null?void 0:n.enc)??"hex",i=`${e}_${r}`,t=kr[i];if(!t)throw new Error(`Unrecognized hash format: ${i}`);return vt(Xe,i,t,n)}const St=g("ZodNumber",(e,n)=>{zr.init(e,n),J.init(e,n),e._zod.processJSONSchema=(i,t,o)=>Xs(e,i,t),bt(e,"ZodNumber",{gt(i,t){return this.check(je(i,t))},gte(i,t){return this.check(pe(i,t))},min(i,t){return this.check(pe(i,t))},lt(i,t){return this.check(Oe(i,t))},lte(i,t){return this.check(ye(i,t))},max(i,t){return this.check(ye(i,t))},int(i){return this.check(Tn(i))},safe(i){return this.check(Tn(i))},positive(i){return this.check(je(0,i))},nonnegative(i){return this.check(pe(0,i))},negative(i){return this.check(Oe(0,i))},nonpositive(i){return this.check(ye(0,i))},multipleOf(i,t){return this.check(qe(i,t))},step(i,t){return this.check(qe(i,t))},finite(){return this}});const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function go(e){return hs(St,e)}const Ze=g("ZodNumberFormat",(e,n)=>{Xl.init(e,n),St.init(e,n)});function Tn(e){return $s(Ze,e)}function Ed(e){return _s(Ze,e)}function Nd(e){return ys(Ze,e)}function Dd(e){return ks(Ze,e)}function Od(e){return Ss(Ze,e)}const wt=g("ZodBoolean",(e,n)=>{Er.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Ys(e,r,i)});function vo(e){return ws(wt,e)}const It=g("ZodBigInt",(e,n)=>{Nr.init(e,n),J.init(e,n),e._zod.processJSONSchema=(i,t,o)=>Qs(e,i),e.gte=(i,t)=>e.check(pe(i,t)),e.min=(i,t)=>e.check(pe(i,t)),e.gt=(i,t)=>e.check(je(i,t)),e.gte=(i,t)=>e.check(pe(i,t)),e.min=(i,t)=>e.check(pe(i,t)),e.lt=(i,t)=>e.check(Oe(i,t)),e.lte=(i,t)=>e.check(ye(i,t)),e.max=(i,t)=>e.check(ye(i,t)),e.positive=i=>e.check(je(BigInt(0),i)),e.negative=i=>e.check(Oe(BigInt(0),i)),e.nonpositive=i=>e.check(ye(BigInt(0),i)),e.nonnegative=i=>e.check(pe(BigInt(0),i)),e.multipleOf=(i,t)=>e.check(qe(i,t));const r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function jd(e){return zs(It,e)}const Cn=g("ZodBigIntFormat",(e,n)=>{Yl.init(e,n),It.init(e,n)});function xd(e){return Ns(Cn,e)}function Td(e){return Ds(Cn,e)}const ho=g("ZodSymbol",(e,n)=>{Ql.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>eu(e,r)});function Cd(e){return Os(ho,e)}const bo=g("ZodUndefined",(e,n)=>{ec.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>nu(e,r)});function Ud(e){return js(bo,e)}const $o=g("ZodNull",(e,n)=>{tc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>tu(e,r,i)});function _o(e){return xs($o,e)}const yo=g("ZodAny",(e,n)=>{nc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>iu()});function Ad(){return Ts(yo)}const ko=g("ZodUnknown",(e,n)=>{rc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>au()});function Me(){return Cs(ko)}const So=g("ZodNever",(e,n)=>{oc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>ou(e,r,i)});function Un(e){return Us(So,e)}const wo=g("ZodVoid",(e,n)=>{ic.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>ru(e,r)});function Pd(e){return As(wo,e)}const An=g("ZodDate",(e,n)=>{ac.init(e,n),J.init(e,n),e._zod.processJSONSchema=(i,t,o)=>lu(e,i),e.min=(i,t)=>e.check(pe(i,t)),e.max=(i,t)=>e.check(ye(i,t));const r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function Vd(e){return Ps(An,e)}const Io=g("ZodArray",(e,n)=>{cc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>$u(e,r,i,t),e.element=n.element,bt(e,"ZodArray",{min(r,i){return this.check(Be(r,i))},nonempty(r){return this.check(Be(1,r))},max(r,i){return this.check(pt(r,i))},length(r,i){return this.check(gt(r,i))},unwrap(){return this.element}})});function zt(e,n){return Zs(Io,e,n)}function Bd(e){const n=e._zod.def.shape;return Vn(Object.keys(n))}const Et=g("ZodObject",(e,n)=>{mc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>_u(e,r,i,t),q(e,"shape",()=>n.shape),bt(e,"ZodObject",{keyof(){return Vn(Object.keys(this._zod.def.shape))},catchall(r){return this.clone({...this._zod.def,catchall:r})},passthrough(){return this.clone({...this._zod.def,catchall:Me()})},loose(){return this.clone({...this._zod.def,catchall:Me()})},strict(){return this.clone({...this._zod.def,catchall:Un()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(r){return la(this,r)},safeExtend(r){return ca(this,r)},merge(r){return sa(this,r)},pick(r){return ia(this,r)},omit(r){return aa(this,r)},partial(...r){return ua(Zn,this,r[0])},required(...r){return da(Mn,this,r[0])}})});function Zd(e,n){const r={type:"object",shape:e??{},..._(n)};return new Et(r)}function Md(e,n){return new Et({type:"object",shape:e,catchall:Un(),..._(n)})}function Fd(e,n){return new Et({type:"object",shape:e,catchall:Me(),..._(n)})}const Nt=g("ZodUnion",(e,n)=>{Xt.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>ao(e,r,i,t),e.options=n.options});function Pn(e,n){return new Nt({type:"union",options:e,..._(n)})}const zo=g("ZodXor",(e,n)=>{Nt.init(e,n),gc.init(e,n),e._zod.processJSONSchema=(r,i,t)=>ao(e,r,i,t),e.options=n.options});function Ld(e,n){return new zo({type:"union",options:e,inclusive:!1,..._(n)})}const Eo=g("ZodDiscriminatedUnion",(e,n)=>{Nt.init(e,n),vc.init(e,n)});function Rd(e,n,r){return new Eo({type:"union",options:n,discriminator:e,..._(r)})}const No=g("ZodIntersection",(e,n)=>{hc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>yu(e,r,i,t)});function Do(e,n){return new No({type:"intersection",left:e,right:n})}const Oo=g("ZodTuple",(e,n)=>{Or.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>ku(e,r,i,t),e.rest=r=>e.clone({...e._zod.def,rest:r})});function jo(e,n,r){const i=n instanceof R,t=i?r:n,o=i?n:null;return new Oo({type:"tuple",items:e,rest:o,..._(t)})}const Ye=g("ZodRecord",(e,n)=>{kc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Su(e,r,i,t),e.keyType=n.keyType,e.valueType=n.valueType});function xo(e,n,r){return!n||!n._zod?new Ye({type:"record",keyType:_t(),valueType:e,..._(n)}):new Ye({type:"record",keyType:e,valueType:n,..._(r)})}function Jd(e,n,r){const i=be(e);return i._zod.values=void 0,new Ye({type:"record",keyType:i,valueType:n,..._(r)})}function qd(e,n,r){return new Ye({type:"record",keyType:e,valueType:n,mode:"loose",..._(r)})}const To=g("ZodMap",(e,n)=>{Sc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>hu(e,r),e.keyType=n.keyType,e.valueType=n.valueType,e.min=(...r)=>e.check(xe(...r)),e.nonempty=r=>e.check(xe(1,r)),e.max=(...r)=>e.check(Ge(...r)),e.size=(...r)=>e.check(ft(...r))});function Gd(e,n,r){return new To({type:"map",keyType:e,valueType:n,..._(r)})}const Co=g("ZodSet",(e,n)=>{Ic.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>bu(e,r),e.min=(...r)=>e.check(xe(...r)),e.nonempty=r=>e.check(xe(1,r)),e.max=(...r)=>e.check(Ge(...r)),e.size=(...r)=>e.check(ft(...r))});function Wd(e,n){return new Co({type:"set",valueType:e,..._(n)})}const Qe=g("ZodEnum",(e,n)=>{Ec.init(e,n),J.init(e,n),e._zod.processJSONSchema=(i,t,o)=>cu(e,i,t),e.enum=n.entries,e.options=Object.values(n.entries);const r=new Set(Object.keys(n.entries));e.extract=(i,t)=>{const o={};for(const a of i)if(r.has(a))o[a]=n.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Qe({...n,checks:[],..._(t),entries:o})},e.exclude=(i,t)=>{const o={...n.entries};for(const a of i)if(r.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new Qe({...n,checks:[],..._(t),entries:o})}});function Vn(e,n){const r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Qe({type:"enum",entries:r,..._(n)})}function Kd(e,n){return new Qe({type:"enum",entries:e,..._(n)})}const Uo=g("ZodLiteral",(e,n)=>{Nc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>su(e,r,i),e.values=new Set(n.values),Object.defineProperty(e,"value",{get(){if(n.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return n.values[0]}})});function Hd(e,n){return new Uo({type:"literal",values:Array.isArray(e)?e:[e],..._(n)})}const Ao=g("ZodFile",(e,n)=>{Dc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>mu(e,r,i),e.min=(r,i)=>e.check(xe(r,i)),e.max=(r,i)=>e.check(Ge(r,i)),e.mime=(r,i)=>e.check(un(Array.isArray(r)?r:[r],i))});function Xd(e){return Ms(Ao,e)}const Po=g("ZodTransform",(e,n)=>{Oc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>vu(e,r),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Lt(e.constructor.name);r.addIssue=o=>{if(typeof o=="string")r.issues.push(Le(o,r.value,n));else{const a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=r.value),a.inst??(a.inst=e),r.issues.push(Le(a))}};const t=n.transform(r.value,r);return t instanceof Promise?t.then(o=>(r.value=o,r.fallback=!0,r)):(r.value=t,r.fallback=!0,r)}});function Bn(e){return new Po({type:"transform",transform:e})}const Zn=g("ZodOptional",(e,n)=>{jr.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>lo(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Dt(e){return new Zn({type:"optional",innerType:e})}const Vo=g("ZodExactOptional",(e,n)=>{xc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>lo(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Bo(e){return new Vo({type:"optional",innerType:e})}const Zo=g("ZodNullable",(e,n)=>{Tc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>wu(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Ot(e){return new Zo({type:"nullable",innerType:e})}function Yd(e){return Dt(Ot(e))}const Mo=g("ZodDefault",(e,n)=>{Cc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>zu(e,r,i,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Fo(e,n){return new Mo({type:"default",innerType:e,get defaultValue(){return typeof n=="function"?n():qt(n)}})}const Lo=g("ZodPrefault",(e,n)=>{Ac.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Eu(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Ro(e,n){return new Lo({type:"prefault",innerType:e,get defaultValue(){return typeof n=="function"?n():qt(n)}})}const Mn=g("ZodNonOptional",(e,n)=>{Pc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Iu(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Jo(e,n){return new Mn({type:"nonoptional",innerType:e,..._(n)})}const qo=g("ZodSuccess",(e,n)=>{Bc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>fu(e,r,i),e.unwrap=()=>e._zod.def.innerType});function Qd(e){return new qo({type:"success",innerType:e})}const Go=g("ZodCatch",(e,n)=>{Zc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Nu(e,r,i,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Wo(e,n){return new Go({type:"catch",innerType:e,catchValue:typeof n=="function"?n:()=>n})}const Ko=g("ZodNaN",(e,n)=>{Mc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>uu(e,r)});function em(e){return Bs(Ko,e)}const jt=g("ZodPipe",(e,n)=>{xr.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Du(e,r,i,t),e.in=n.in,e.out=n.out});function Fn(e,n){return new jt({type:"pipe",in:e,out:n})}const xt=g("ZodCodec",(e,n)=>{jt.init(e,n),Tr.init(e,n)});function tm(e,n,r){return new xt({type:"pipe",in:e,out:n,transform:r.decode,reverseTransform:r.encode})}function nm(e){const n=e._zod.def;return new xt({type:"pipe",in:n.out,out:n.in,transform:n.reverseTransform,reverseTransform:n.transform})}const Ho=g("ZodPreprocess",(e,n)=>{jt.init(e,n),Fc.init(e,n)}),Xo=g("ZodReadonly",(e,n)=>{Lc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>Ou(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function Yo(e){return new Xo({type:"readonly",innerType:e})}const Qo=g("ZodTemplateLiteral",(e,n)=>{Jc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>du(e,r,i)});function rm(e,n){return new Qo({type:"template_literal",parts:e,..._(n)})}const ei=g("ZodLazy",(e,n)=>{Wc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>xu(e,r,i,t),e.unwrap=()=>e._zod.def.getter()});function ti(e){return new ei({type:"lazy",getter:e})}const ni=g("ZodPromise",(e,n)=>{Gc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>ju(e,r,i,t),e.unwrap=()=>e._zod.def.innerType});function om(e){return new ni({type:"promise",innerType:e})}const ri=g("ZodFunction",(e,n)=>{qc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>gu(e,r)});function Ln(e){return new ri({type:"function",input:Array.isArray(e==null?void 0:e.input)?jo(e==null?void 0:e.input):(e==null?void 0:e.input)??zt(Me()),output:(e==null?void 0:e.output)??Me()})}const Tt=g("ZodCustom",(e,n)=>{Kc.init(e,n),J.init(e,n),e._zod.processJSONSchema=(r,i,t)=>pu(e,r)});function im(e){const n=new te({check:"custom"});return n._zod.check=e,n}function am(e,n){return Fs(Tt,e??(()=>!0),n)}function oi(e,n={}){return Ls(Tt,e,n)}function ii(e,n){return Rs(e,n)}const lm=qs,cm=Gs;function sm(e,n={}){const r=new Tt({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,..._(n)});return r._zod.bag.Class=e,r._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:r,path:[...r._zod.def.path??[]]})},r}const um=(...e)=>Ws({Codec:xt,Boolean:wt,String:$t},...e);function dm(e){const n=ti(()=>Pn([_t(e),go(),vo(),_o(),zt(n),xo(_t(),n)]));return n}function mm(e,n){return new Ho({type:"pipe",in:Bn(e),out:n})}const yy=Object.freeze(Object.defineProperty({__proto__:null,ZodAny:yo,ZodArray:Io,ZodBase64:Dn,ZodBase64URL:On,ZodBigInt:It,ZodBigIntFormat:Cn,ZodBoolean:wt,ZodCIDRv4:En,ZodCIDRv6:Nn,ZodCUID:_n,ZodCUID2:yn,ZodCatch:Go,ZodCodec:xt,ZodCustom:Tt,ZodCustomStringFormat:Xe,ZodDate:An,ZodDefault:Mo,ZodDiscriminatedUnion:Eo,ZodE164:jn,ZodEmail:hn,ZodEmoji:bn,ZodEnum:Qe,ZodExactOptional:Vo,ZodFile:Ao,ZodFunction:ri,ZodGUID:yt,ZodIPv4:In,ZodIPv6:zn,ZodIntersection:No,ZodJWT:xn,ZodKSUID:wn,ZodLazy:ei,ZodLiteral:Uo,ZodMAC:po,ZodMap:To,ZodNaN:Ko,ZodNanoID:$n,ZodNever:So,ZodNonOptional:Mn,ZodNull:$o,ZodNullable:Zo,ZodNumber:St,ZodNumberFormat:Ze,ZodObject:Et,ZodOptional:Zn,ZodPipe:jt,ZodPrefault:Lo,ZodPreprocess:Ho,ZodPromise:ni,ZodReadonly:Xo,ZodRecord:Ye,ZodSet:Co,ZodString:$t,ZodStringFormat:Q,ZodSuccess:qo,ZodSymbol:ho,ZodTemplateLiteral:Qo,ZodTransform:Po,ZodTuple:Oo,ZodType:J,ZodULID:kn,ZodURL:kt,ZodUUID:Ie,ZodUndefined:bo,ZodUnion:Nt,ZodUnknown:ko,ZodVoid:wo,ZodXID:Sn,ZodXor:zo,_ZodString:vn,_default:Fo,_function:Ln,any:Ad,array:zt,base64:$d,base64url:_d,bigint:jd,boolean:vo,catch:Wo,check:im,cidrv4:hd,cidrv6:bd,codec:tm,cuid:sd,cuid2:ud,custom:am,date:Vd,describe:lm,discriminatedUnion:Rd,e164:yd,email:Qu,emoji:ld,enum:Vn,exactOptional:Bo,file:Xd,float32:Ed,float64:Nd,function:Ln,guid:ed,hash:zd,hex:Id,hostname:wd,httpUrl:ad,instanceof:sm,int:Tn,int32:Dd,int64:xd,intersection:Do,invertCodec:nm,ipv4:pd,ipv6:vd,json:dm,jwt:kd,keyof:Bd,ksuid:fd,lazy:ti,literal:Hd,looseObject:Fd,looseRecord:qd,mac:gd,map:Gd,meta:cm,nan:em,nanoid:cd,nativeEnum:Kd,never:Un,nonoptional:Jo,null:_o,nullable:Ot,nullish:Yd,number:go,object:Zd,optional:Dt,partialRecord:Jd,pipe:Fn,prefault:Ro,preprocess:mm,promise:om,readonly:Yo,record:xo,refine:oi,set:Wd,strictObject:Md,string:_t,stringFormat:Sd,stringbool:um,success:Qd,superRefine:ii,symbol:Cd,templateLiteral:rm,transform:Bn,tuple:jo,uint32:Od,uint64:Td,ulid:dd,undefined:Ud,union:Pn,unknown:Me,url:id,uuid:td,uuidv4:nd,uuidv6:rd,uuidv7:od,void:Pd,xid:md,xor:Ld},Symbol.toStringTag,{value:"Module"})),ky={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"};function Sy(e){se({customError:e})}function wy(){return se().customError}var ai;ai||(ai={});const O={...yy,...$y,iso:Vu},Iy=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function zy(e,n){const r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":n??"draft-2020-12"}function Ey(e,n){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");const r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return n.rootSchema;const i=n.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===i){const t=r[1];if(!t||!n.defs[t])throw new Error(`Reference not found: ${e}`);return n.defs[t]}throw new Error(`Reference not found: ${e}`)}function fm(e,n){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return O.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){const t=e.$ref;if(n.refs.has(t))return n.refs.get(t);if(n.processing.has(t))return O.lazy(()=>{if(!n.refs.has(t))throw new Error(`Circular reference not resolved: ${t}`);return n.refs.get(t)});n.processing.add(t);const o=Ey(t,n),a=de(o,n);return n.refs.set(t,a),n.processing.delete(t),a}if(e.enum!==void 0){const t=e.enum;if(n.version==="openapi-3.0"&&e.nullable===!0&&t.length===1&&t[0]===null)return O.null();if(t.length===0)return O.never();if(t.length===1)return O.literal(t[0]);if(t.every(a=>typeof a=="string"))return O.enum(t);const o=t.map(a=>O.literal(a));return o.length<2?o[0]:O.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return O.literal(e.const);const r=e.type;if(Array.isArray(r)){const t=r.map(o=>{const a={...e,type:o};return fm(a,n)});return t.length===0?O.never():t.length===1?t[0]:O.union(t)}if(!r)return O.any();let i;switch(r){case"string":{let t=O.string();if(e.format){const o=e.format;o==="email"?t=t.check(O.email()):o==="uri"||o==="uri-reference"?t=t.check(O.url()):o==="uuid"||o==="guid"?t=t.check(O.uuid()):o==="date-time"?t=t.check(O.iso.datetime()):o==="date"?t=t.check(O.iso.date()):o==="time"?t=t.check(O.iso.time()):o==="duration"?t=t.check(O.iso.duration()):o==="ipv4"?t=t.check(O.ipv4()):o==="ipv6"?t=t.check(O.ipv6()):o==="mac"?t=t.check(O.mac()):o==="cidr"?t=t.check(O.cidrv4()):o==="cidr-v6"?t=t.check(O.cidrv6()):o==="base64"?t=t.check(O.base64()):o==="base64url"?t=t.check(O.base64url()):o==="e164"?t=t.check(O.e164()):o==="jwt"?t=t.check(O.jwt()):o==="emoji"?t=t.check(O.emoji()):o==="nanoid"?t=t.check(O.nanoid()):o==="cuid"?t=t.check(O.cuid()):o==="cuid2"?t=t.check(O.cuid2()):o==="ulid"?t=t.check(O.ulid()):o==="xid"?t=t.check(O.xid()):o==="ksuid"&&(t=t.check(O.ksuid()))}typeof e.minLength=="number"&&(t=t.min(e.minLength)),typeof e.maxLength=="number"&&(t=t.max(e.maxLength)),e.pattern&&(t=t.regex(new RegExp(e.pattern))),i=t;break}case"number":case"integer":{let t=r==="integer"?O.number().int():O.number();typeof e.minimum=="number"&&(t=t.min(e.minimum)),typeof e.maximum=="number"&&(t=t.max(e.maximum)),typeof e.exclusiveMinimum=="number"?t=t.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(t=t.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?t=t.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(t=t.lt(e.maximum)),typeof e.multipleOf=="number"&&(t=t.multipleOf(e.multipleOf)),i=t;break}case"boolean":{i=O.boolean();break}case"null":{i=O.null();break}case"object":{const t={},o=e.properties||{},a=new Set(e.required||[]);for(const[u,s]of Object.entries(o)){const m=de(s,n);t[u]=a.has(u)?m:m.optional()}if(e.propertyNames){const u=de(e.propertyNames,n),s=e.additionalProperties&&typeof e.additionalProperties=="object"?de(e.additionalProperties,n):O.any();if(Object.keys(t).length===0){i=O.record(u,s);break}const m=O.object(t).passthrough(),d=O.looseRecord(u,s);i=O.intersection(m,d);break}if(e.patternProperties){const u=e.patternProperties,s=Object.keys(u),m=[];for(const f of s){const p=de(u[f],n),h=O.string().regex(new RegExp(f));m.push(O.looseRecord(h,p))}const d=[];if(Object.keys(t).length>0&&d.push(O.object(t).passthrough()),d.push(...m),d.length===0)i=O.object({}).passthrough();else if(d.length===1)i=d[0];else{let f=O.intersection(d[0],d[1]);for(let p=2;pde(u,n)),c=o&&typeof o=="object"&&!Array.isArray(o)?de(o,n):void 0;c?i=O.tuple(a).rest(c):i=O.tuple(a),typeof e.minItems=="number"&&(i=i.check(O.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(O.maxLength(e.maxItems)))}else if(Array.isArray(o)){const a=o.map(u=>de(u,n)),c=e.additionalItems&&typeof e.additionalItems=="object"?de(e.additionalItems,n):void 0;c?i=O.tuple(a).rest(c):i=O.tuple(a),typeof e.minItems=="number"&&(i=i.check(O.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(O.maxLength(e.maxItems)))}else if(o!==void 0){const a=de(o,n);let c=O.array(a);typeof e.minItems=="number"&&(c=c.min(e.minItems)),typeof e.maxItems=="number"&&(c=c.max(e.maxItems)),i=c}else i=O.array(O.any());break}default:throw new Error(`Unsupported type: ${r}`)}return i}function de(e,n){if(typeof e=="boolean")return e?O.any():O.never();let r=fm(e,n);const i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){const c=e.anyOf.map(s=>de(s,n)),u=O.union(c);r=i?O.intersection(r,u):u}if(e.oneOf&&Array.isArray(e.oneOf)){const c=e.oneOf.map(s=>de(s,n)),u=O.xor(c);r=i?O.intersection(r,u):u}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=i?r:O.any();else{let c=i?r:de(e.allOf[0],n);const u=i?0:1;for(let s=u;s0&&n.registry.add(r,t),e.description&&(r=r.describe(e.description)),r}function Ny(e,n){if(typeof e=="boolean")return e?O.any():O.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}const i=zy(r,n==null?void 0:n.defaultTarget),t=r.$defs||r.definitions||{},o={version:i,defs:t,refs:new Map,processing:new Set,rootSchema:r,registry:(n==null?void 0:n.registry)??_e};return de(r,o)}function Dy(e){return us($t,e)}function Oy(e){return bs(St,e)}function jy(e){return Is(wt,e)}function xy(e){return Es(It,e)}function Ty(e){return Vs(An,e)}const Cy=Object.freeze(Object.defineProperty({__proto__:null,bigint:xy,boolean:jy,date:Ty,number:Oy,string:Dy},Symbol.toStringTag,{value:"Module"}));se(Yc());const ee=Object.freeze(Object.defineProperty({__proto__:null,$brand:Hi,$input:ls,$output:as,NEVER:Ki,TimePrecision:ms,ZodAny:yo,ZodArray:Io,ZodBase64:Dn,ZodBase64URL:On,ZodBigInt:It,ZodBigIntFormat:Cn,ZodBoolean:wt,ZodCIDRv4:En,ZodCIDRv6:Nn,ZodCUID:_n,ZodCUID2:yn,ZodCatch:Go,ZodCodec:xt,ZodCustom:Tt,ZodCustomStringFormat:Xe,ZodDate:An,ZodDefault:Mo,ZodDiscriminatedUnion:Eo,ZodE164:jn,ZodEmail:hn,ZodEmoji:bn,ZodEnum:Qe,ZodError:_y,ZodExactOptional:Vo,ZodFile:Ao,get ZodFirstPartyTypeKind(){return ai},ZodFunction:ri,ZodGUID:yt,ZodIPv4:In,ZodIPv6:zn,ZodISODate:uo,ZodISODateTime:so,ZodISODuration:fo,ZodISOTime:mo,ZodIntersection:No,ZodIssueCode:ky,ZodJWT:xn,ZodKSUID:wn,ZodLazy:ei,ZodLiteral:Uo,ZodMAC:po,ZodMap:To,ZodNaN:Ko,ZodNanoID:$n,ZodNever:So,ZodNonOptional:Mn,ZodNull:$o,ZodNullable:Zo,ZodNumber:St,ZodNumberFormat:Ze,ZodObject:Et,ZodOptional:Zn,ZodPipe:jt,ZodPrefault:Lo,ZodPreprocess:Ho,ZodPromise:ni,ZodReadonly:Xo,ZodRealError:he,ZodRecord:Ye,ZodSet:Co,ZodString:$t,ZodStringFormat:Q,ZodSuccess:qo,ZodSymbol:ho,ZodTemplateLiteral:Qo,ZodTransform:Po,ZodTuple:Oo,ZodType:J,ZodULID:kn,ZodURL:kt,ZodUUID:Ie,ZodUndefined:bo,ZodUnion:Nt,ZodUnknown:ko,ZodVoid:wo,ZodXID:Sn,ZodXor:zo,_ZodString:vn,_default:Fo,_function:Ln,any:Ad,array:zt,base64:$d,base64url:_d,bigint:jd,boolean:vo,catch:Wo,check:im,cidrv4:hd,cidrv6:bd,clone:be,codec:tm,coerce:Cy,config:se,core:by,cuid:sd,cuid2:ud,custom:am,date:Vd,decode:Ju,decodeAsync:Gu,describe:lm,discriminatedUnion:Rd,e164:yd,email:Qu,emoji:ld,encode:Ru,encodeAsync:qu,endsWith:sn,enum:Vn,exactOptional:Bo,file:Xd,flattenError:lr,float32:Ed,float64:Nd,formatError:cr,fromJSONSchema:Ny,function:Ln,getErrorMap:wy,globalRegistry:_e,gt:je,gte:pe,guid:ed,hash:zd,hex:Id,hostname:wd,httpUrl:ad,includes:ln,instanceof:sm,int:Tn,int32:Dd,int64:xd,intersection:Do,invertCodec:nm,ipv4:pd,ipv6:vd,iso:Vu,json:dm,jwt:kd,keyof:Bd,ksuid:fd,lazy:ti,length:gt,literal:Hd,locales:os,looseObject:Fd,looseRecord:qd,lowercase:on,lt:Oe,lte:ye,mac:gd,map:Gd,maxLength:pt,maxSize:Ge,meta:cm,mime:un,minLength:Be,minSize:xe,multipleOf:qe,nan:em,nanoid:cd,nativeEnum:Kd,negative:no,never:Un,nonnegative:oo,nonoptional:Jo,nonpositive:ro,normalize:dn,null:_o,nullable:Ot,nullish:Yd,number:go,object:Zd,optional:Dt,overwrite:Ee,parse:Zu,parseAsync:Mu,partialRecord:Jd,pipe:Fn,positive:to,prefault:Ro,preprocess:mm,prettifyError:$a,promise:om,property:io,readonly:Yo,record:xo,refine:oi,regex:rn,regexes:kr,registry:Cr,safeDecode:Ku,safeDecodeAsync:Xu,safeEncode:Wu,safeEncodeAsync:Hu,safeParse:Fu,safeParseAsync:Lu,set:Wd,setErrorMap:Sy,size:ft,slugify:gn,startsWith:cn,strictObject:Md,string:_t,stringFormat:Sd,stringbool:um,success:Qd,superRefine:ii,symbol:Cd,templateLiteral:rm,toJSONSchema:Tu,toLowerCase:fn,toUpperCase:pn,transform:Bn,treeifyError:ha,trim:mn,tuple:jo,uint32:Od,uint64:Td,ulid:dd,undefined:Ud,union:Pn,unknown:Me,uppercase:an,url:id,util:ga,uuid:td,uuidv4:nd,uuidv6:rd,uuidv7:od,void:Pd,xid:md,xor:Ld},Symbol.toStringTag,{value:"Module"}));var Uy={};globalThis.cacheMemoria_cache=Uy;var Ay=(e=>(e.codigo="codigo",e.excluido="excluido",e.data_hora_criacao="data_hora_criacao",e.data_hora_atualizacao="data_hora_atualizacao",e.codigo_usuario_criacao="codigo_usuario_criacao",e.codigo_usuario_atualizacao="codigo_usuario_atualizacao",e.versao="versao",e))(Ay||{}),Py=(e=>(e.token="token",e))(Py||{}),Vy=(e=>(e.Usuario="usuario",e.Fornecedor="fornecedor",e))(Vy||{}),By=(e=>(e["="]="=",e["!="]="!=",e[">"]=">",e[">="]=">=",e["<"]="<",e["<="]="<=",e.like="like",e.in="in",e.isNull="isNull",e.notIn="notIn",e))(By||{}),Zy=ee.enum(["=","!=",">",">=","<","<=","like","in","isNull","notIn"]);ee.object({coluna:ee.string(),valor:ee.any(),operador:Zy,ou:ee.boolean().optional()});var My=(e=>(e.RASTREAMENTO="RASTREAMENTO",e.DEPURACAO="DEPURACAO",e.INFORMACAO="INFORMACAO",e.AVISO="AVISO",e.ERRO="ERRO",e.CRITICO="CRITICO",e))(My||{}),Fy=ee.enum([">","<",">=","<=","=","!=","in","like","∩"]),Ly=/^\{[\w:]+\}$/,Ry=/^\w+(\.\w+)*$/,Jy=ee.string().regex(Ry,"Coluna inválida").describe("nome da coluna ou caminho aninhado do jsonb"),qy=ee.object({id:ee.string().describe("id da condição do filtro").regex(Ly,"O id deve seguir o formato {identificador}"),coluna:Jy,operador:Fy,valor:ee.any().describe("valor de comparação")}),Gy=e=>{let n=(e.match(/\{[\w:]+\}|\bNAO\b|\bE\b|\bOU\b|\(|\)/g)||[]).join(""),r=e.replace(/\s+/g,""),i=n.replace(/\s+/g,"");if(r!==i)return!1;let t=e.replace(/\{[\w:]+\}/g,"true").replace(/\bNAO\b/g,"!").replace(/\bE\b/g,"&&").replace(/\bOU\b/g,"||");try{return new Function(`return (${t})`)(),!0}catch{return!1}},Wy=ee.object({condicoes:ee.array(qy),formula:ee.string().refine(Gy,{message:"Fórmula inválida. Use apenas referências de condições {id} ou {id:sufixo}, operadores E/OU/NAO e parênteses."})}).superRefine((e,n)=>{let r=new Set(e.condicoes.map(t=>t.id)),i=e.formula.match(/\{[\w:]+\}/g)||[];for(let t of i)r.has(t)||n.addIssue({code:"custom",path:["formula"],message:`A referência ${t} não existe em condicoes.`})}),Ky=e=>Wy.parse(e),Hy=()=>({criarFiltroDelta:Ky}),Xy=(e=>(e["e-licencie"]="e-licencie",e["gov.e-licencie"]="gov.e-licencie",e))(Xy||{}),Yy=(e=>(e.modelo="000_modelo",e.vencida="100_vencida",e.expirado="200_expirado",e.alerta="300_alerta",e.protocoladafora="350_protocoladafora",e.protocolada="400_protocolada",e.protocoladaApenas="430_protocolada",e.protocolada_alteracao="450_protocolada",e.prazo="500_prazo",e.emitida="515_emitida",e.valida="518_valida",e.novo="520_novo",e.recebido="521_recebido",e.em_andamento="530_em_andamento",e.aguardando="530_aguardando",e.aguardandoresposta="540_aguardandoresposta",e.suspensaotemporaria="540_suspensaotemporaria",e.cancelada="550_cancelada",e.execucao="560_execucao",e.pendente="570_pendente",e.executadafora="600_executadafora",e.executada="700_executada",e.naoexecutada="701_naoexecutada",e.concluida="730_concluida",e.respondido_negado="740_respondido_negado",e.respondido_aceito="741_respondido_aceito",e.atendidoparcial="742_atendidoparcial",e.naoatendido="743_naoatendido",e.atendido="744_atendido",e.renovada="760_renovada",e.finalizada="800_finalizada",e.emitirnota="101_emitirnota",e.faturaatrasada="301_faturaatrasada",e.pagarfatura="302_pagarfatura",e.aguardandoconfirmacao="531_aguardandoconfirmacao",e.agendado="701_agendado",e.faturapaga="801_faturapaga",e.excluida="999_excluida",e.requerida="401_requerida",e.vigente="516_vigente",e.emrenovacao="402_emrenovacao",e.arquivada="801_arquivada",e.aguardando_sincronizacao="999_aguardando_sincronizacao",e.nao_conforme="710_nao_conforme",e.conforme="720_conforme",e.nao_aplicavel="730_nao_aplicavel",e.parcial="715_parcial",e))(Yy||{}),Qy=(e=>(e.UN="UN",e.KG="KG",e.TON="TON",e.g="g",e["M³"]="M³",e.Lt="Lt",e))(Qy||{});ee.object({formato:ee.literal("decimal").default("decimal"),datum:ee.literal("EPSG:4326").default("EPSG:4326"),latitude:ee.number(),longitude:ee.number()});var ek=/^\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2}$/,tk=/^[A-Z0-9]{2}\.[A-Z0-9]{3}\.[A-Z0-9]{3}\/[A-Z0-9]{4}-\d{2}$/i,nk=Number(new Date().toISOString().slice(0,7).replace("-","")),rk=ee.string().regex(nk<202407?ek:tk).describe("Documento (CNPJ) no formato XX.XXX.XXX/XXXX-XX"),ok=ee.string().regex(/^\d{3}\.\d{3}\.\d{3}-\d{2}$/).describe("Documento (CPF) no formato XXX.XXX.XXX-XX");ok.or(rk).describe("CPF ou CNPJ");var li=e=>{if(typeof e=="number"||typeof e!="string")return e;let n=e;return n.includes(",")&&(n=n.replace(/\./g,"").replace(",",".")),n=n.replace(/[^0-9.]/g,""),n==""?null:Number(n)};ee.preprocess(li,ee.number()),ee.preprocess(li,ee.number().positive()),ee.preprocess(li,ee.number().int());const pm={"--cor-eli-primaria-bg":"#EEF3D0","--cor-eli-primaria-zebra":"#F6F9E8","--cor-eli-primaria-suave":"#BFC99C","--cor-eli-primaria-header":"#ADCC44","--cor-eli-primaria-clara":"#D4E290","--cor-eli-primaria-media":"#ADCC44","--cor-eli-primaria-acao":"#8AAF00","--cor-eli-primaria":"#688C00","--cor-eli-primaria-escura":"#4A6500","--cor-eli-primaria-texto":"#2E3F00","--cor-eli-fundo-suave":"#F8F9F5","--cor-eli-fundo":"#F2F3EE","--cor-eli-borda":"#D5D8CC","--cor-eli-borda-forte":"#B5BAA8","--cor-eli-neutro":"#5E6553","--cor-eli-neutro-escuro":"#3E4436","--cor-eli-superficie":"#FFFFFF"},gm={"--cor-eli-primaria-bg":"#EBF3FC","--cor-eli-primaria-zebra":"#F4F8FD","--cor-eli-primaria-suave":"#D0E3F9","--cor-eli-primaria-header":"#9BC5F6","--cor-eli-primaria-clara":"#66A8F4","--cor-eli-primaria-media":"#338BF2","--cor-eli-primaria-acao":"#0069D9","--cor-eli-primaria":"#007BFF","--cor-eli-primaria-escura":"#0056B3","--cor-eli-primaria-texto":"#0A2E5C","--cor-eli-fundo-suave":"#F7F9FC","--cor-eli-fundo":"#F0F4F8","--cor-eli-borda":"#D0D7DE","--cor-eli-borda-forte":"#A8B6C5","--cor-eli-neutro":"#4B5563","--cor-eli-neutro-escuro":"#1E293B","--cor-eli-superficie":"#FFFFFF"},vm={primary:"#688C00","primary-dark":"#4A6500","primary-light":"#EEF3D0"},hm={primary:"#007BFF","primary-dark":"#0056B3","primary-light":"#EBF3FC"},ci={verde:pm,azul:gm},si={verde:vm,azul:hm};function bm(e){return ci[e]??ci.verde}function ik(e){return si[e]??si.verde}function ak(e,n){var t,o;if(typeof document>"u")return;const r=(n==null?void 0:n.elemento)??document.documentElement,i=bm(e);for(const[a,c]of Object.entries(i))c&&r.style.setProperty(a,c);r.setAttribute("data-eli-tema",e),(o=(t=n==null?void 0:n.vuetify)==null?void 0:t.theme)!=null&&o.global&&(n.vuetify.theme.global.name.value=e)}const lk={install(e){e.component("EliOlaMundo",Gi),e.component("EliBotao",qn),e.component("EliBadge",At),e.component("EliCartao",fi),e.component("EliTabela",Ji),e.component("EliEntradaTexto",Zt),e.component("EliEntradaNumero",Hn),e.component("EliEntradaDataHora",Wn),e.component("EliEntradaParagrafo",Xn),e.component("EliEntradaSelecao",Yn),e.component("EliEntradaSelecaoMultipla",Qn),e.component("EliEntradaCoordenadas",yi),e.component("EliFeedbackWidget",qi)}};L.CORES_VUETIFY_AZUL=hm,L.CORES_VUETIFY_VERDE=vm,L.EliBadge=At,L.EliBotao=qn,L.EliCartao=fi,L.EliEntradaConfirmacao=pi,L.EliEntradaCoordenadas=yi,L.EliEntradaDataHora=Wn,L.EliEntradaNumero=Hn,L.EliEntradaParagrafo=Xn,L.EliEntradaSelecao=Yn,L.EliEntradaSelecaoMultipla=Qn,L.EliEntradaTexto=Zt,L.EliFeedbackWidget=qi,L.EliOlaMundo=Gi,L.EliTabela=Ji,L.MAPA_CORES_VUETIFY_TEMAS=si,L.MAPA_TOKENS_TEMAS=ci,L.TOKENS_TEMA_AZUL=gm,L.TOKENS_TEMA_VERDE=pm,L.celulaTabela=Jh,L.default=lk,L.definirTemaAplicacao=ak,L.iniciarFiltroDelta=Hy,L.obterCoresVuetifyTema=ik,L.obterTokensTema=bm,Object.defineProperties(L,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
diff --git a/package.json b/package.json
index 1ca4fe5..616a9e7 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "eli-vue",
- "version": "0.1.242",
+ "version": "0.1.249",
"private": false,
"main": "./dist/eli-vue.umd.js",
"module": "./dist/eli-vue.es.js",
@@ -13,14 +13,14 @@
}
},
"scripts": {
- "biome": "pnpm exec biome check --write",
- "check": "pnpm run biome && npx tsc --noEmit",
+ "biome": "bun x @biomejs/biome check --write",
+ "check": "bun run biome && bun x tsc --noEmit",
"prebuild": "npm version patch --no-git-tag-version",
"build:types": "tsc -p tsconfig.build.json --declaration --emitDeclarationOnly",
- "build": "pnpm run audit && sh ./.agent/verificar-linhas.sh || exit 1 && pnpm run biome && vite build && npm run build:types",
- "dev": "sh ./.agent/verificar-linhas.sh || exit 1 && pnpm run biome && pnpm run fechar && vite",
+ "build": "bun run audit && sh ./.agent/verificar-linhas.sh || exit 1 && bun run biome && vite build && bun run build:types",
+ "dev": "sh ./.agent/verificar-linhas.sh || exit 1 && bun run biome && bun run fechar && vite",
"preview": "vite preview",
- "audit": "pnpm audit --audit-level moderate > ./pnpm-audit.txt",
+ "audit": "bun audit --audit-level moderate > ./bun-audit.txt",
"fechar": "fuser -k 5555/tcp || true"
},
"peerDependencies": {
@@ -53,9 +53,7 @@
"uuid": "^13.0.0",
"zod": "4.4.3"
},
- "pnpm": {
- "overrides": {
- "react-native-fs": "-"
- }
+ "overrides": {
+ "nanoid": "^3.3.18"
}
}
diff --git a/pnpm-audit.txt b/pnpm-audit.txt
deleted file mode 100644
index 5c418af..0000000
--- a/pnpm-audit.txt
+++ /dev/null
@@ -1 +0,0 @@
-No known vulnerabilities found
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
deleted file mode 100644
index a3ca29e..0000000
--- a/pnpm-lock.yaml
+++ /dev/null
@@ -1,1880 +0,0 @@
-lockfileVersion: '9.0'
-
-settings:
- autoInstallPeers: true
- excludeLinksFromLockfile: false
-
-overrides:
- react-native-fs: '-'
-
-importers:
-
- .:
- dependencies:
- '@lucide/vue':
- specifier: ^1.16.0
- version: 1.28.0(vue@3.5.40(typescript@7.0.2))
- alasql:
- specifier: ^4.17.3
- version: 4.17.3
- cross-fetch:
- specifier: ^4.1.0
- version: 4.1.0
- dayjs:
- specifier: ^1.11.19
- version: 1.11.21
- p-comuns:
- specifier: git+https://git2.idz.one/publico/_comuns.git
- version: git+https://git2.idz.one/publico/_comuns.git#314cd46534d3c4d2e01f47290bc8908fe47b0e11(dayjs@1.11.21)(uuid@13.0.2)(zod@4.4.3)
- p-respostas:
- specifier: git+https://git2.idz.one/publico/_respostas.git
- version: git+https://git2.idz.one/publico/_respostas.git#387b928e7fc43d287e3f22d2f209f8712fac5368(p-comuns@git+https://git2.idz.one/publico/_comuns.git#314cd46534d3c4d2e01f47290bc8908fe47b0e11(dayjs@1.11.21)(uuid@13.0.2)(zod@4.4.3))(zod@4.4.3)
- uuid:
- specifier: ^13.0.0
- version: 13.0.2
- zod:
- specifier: 4.4.3
- version: 4.4.3
- devDependencies:
- '@biomejs/biome':
- specifier: ^2
- version: 2.4.12
- '@mdi/font':
- specifier: ^7.4.47
- version: 7.4.47
- '@types/leaflet':
- specifier: ^1.9.21
- version: 1.9.22
- '@vitejs/plugin-vue':
- specifier: ^5.0.0
- version: 5.2.4(vite@6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0))(vue@3.5.40(typescript@7.0.2))
- leaflet:
- specifier: ^1.9.4
- version: 1.9.4
- sass:
- specifier: ^1.94.2
- version: 1.102.0
- typescript:
- specifier: ^7
- version: 7.0.2
- vite:
- specifier: ^6.0.0
- version: 6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0)
- vite-plugin-css-injected-by-js:
- specifier: ^3.5.2
- version: 3.5.2(vite@6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0))
- vite-plugin-vuetify:
- specifier: ^2.1.2
- version: 2.1.3(vite@6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0))(vue@3.5.40(typescript@7.0.2))(vuetify@3.13.0)
- vue:
- specifier: ^3.5.34
- version: 3.5.40(typescript@7.0.2)
- vue-tsc:
- specifier: ^3.1.6
- version: 3.3.9(typescript@7.0.2)
- vuetify:
- specifier: ^3.12.6
- version: 3.13.0(typescript@7.0.2)(vite-plugin-vuetify@2.1.3)(vue@3.5.40(typescript@7.0.2))
-
-packages:
-
- '@babel/helper-string-parser@7.29.7':
- resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==}
- engines: {node: '>=6.9.0'}
-
- '@babel/helper-validator-identifier@7.29.7':
- resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==}
- engines: {node: '>=6.9.0'}
-
- '@babel/parser@7.29.8':
- resolution: {integrity: sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==}
- engines: {node: '>=6.0.0'}
- hasBin: true
-
- '@babel/types@7.29.8':
- resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==}
- engines: {node: '>=6.9.0'}
-
- '@biomejs/biome@2.4.12':
- resolution: {integrity: sha512-Rro7adQl3NLq/zJCIL98eElXKI8eEiBtoeu5TbXF/U3qbjuSc7Jb5rjUbeHHcquDWeSf3HnGP7XI5qGrlRk/pA==}
- engines: {node: '>=14.21.3'}
- hasBin: true
-
- '@biomejs/cli-darwin-arm64@2.4.12':
- resolution: {integrity: sha512-BnMU4Pc3ciEVteVpZ0BK33MLr7X57F5w1dwDLDn+/iy/yTrA4Q/N2yftidFtsA4vrDh0FMXDpacNV/Tl3fbmng==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [darwin]
-
- '@biomejs/cli-darwin-x64@2.4.12':
- resolution: {integrity: sha512-x9uJ0bI1rJsWICp3VH8w/5PnAVD3A7SqzDpbrfoUQX1QyWrK5jSU4fRLo/wSgGeplCivbxBRKmt5Xq4/nWvq8A==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [darwin]
-
- '@biomejs/cli-linux-arm64-musl@2.4.12':
- resolution: {integrity: sha512-FhfpkAAlKL6kwvcVap0Hgp4AhZmtd3YImg0kK1jd7C/aSoh4SfsB2f++yG1rU0lr8Y5MCFJrcSkmssiL9Xnnig==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [linux]
-
- '@biomejs/cli-linux-arm64@2.4.12':
- resolution: {integrity: sha512-tOwuCuZZtKi1jVzbk/5nXmIsziOB6yqN8c9r9QM0EJYPU6DpQWf11uBOSCfFKKM4H3d9ZoarvlgMfbcuD051Pw==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [linux]
-
- '@biomejs/cli-linux-x64-musl@2.4.12':
- resolution: {integrity: sha512-dwTIgZrGutzhkQCuvHynCkyW6hJxUuyZqKKO0YNfaS2GUoRO+tOvxXZqZB6SkWAOdfZTzwaw8IEdUnIkHKHoew==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [linux]
-
- '@biomejs/cli-linux-x64@2.4.12':
- resolution: {integrity: sha512-8pFeAnLU9QdW9jCIslB/v82bI0lhBmz2ZAKc8pVMFPO0t0wAHsoEkrUQUbMkIorTRIjbqyNZHA3lEXavsPWYSw==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [linux]
-
- '@biomejs/cli-win32-arm64@2.4.12':
- resolution: {integrity: sha512-B0DLnx0vA9ya/3v7XyCaP+/lCpnbWbMOfUFFve+xb5OxyYvdHaS55YsSddr228Y+JAFk58agCuZTsqNiw2a6ig==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [win32]
-
- '@biomejs/cli-win32-x64@2.4.12':
- resolution: {integrity: sha512-yMckRzTyZ83hkk8iDFWswqSdU8tvZxspJKnYNh7JZr/zhZNOlzH13k4ecboU6MurKExCe2HUkH75pGI/O2JwGA==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [win32]
-
- '@esbuild/aix-ppc64@0.25.12':
- resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [aix]
-
- '@esbuild/android-arm64@0.25.12':
- resolution: {integrity: sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [android]
-
- '@esbuild/android-arm@0.25.12':
- resolution: {integrity: sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [android]
-
- '@esbuild/android-x64@0.25.12':
- resolution: {integrity: sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [android]
-
- '@esbuild/darwin-arm64@0.25.12':
- resolution: {integrity: sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [darwin]
-
- '@esbuild/darwin-x64@0.25.12':
- resolution: {integrity: sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [darwin]
-
- '@esbuild/freebsd-arm64@0.25.12':
- resolution: {integrity: sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [freebsd]
-
- '@esbuild/freebsd-x64@0.25.12':
- resolution: {integrity: sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [freebsd]
-
- '@esbuild/linux-arm64@0.25.12':
- resolution: {integrity: sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [linux]
-
- '@esbuild/linux-arm@0.25.12':
- resolution: {integrity: sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [linux]
-
- '@esbuild/linux-ia32@0.25.12':
- resolution: {integrity: sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [linux]
-
- '@esbuild/linux-loong64@0.25.12':
- resolution: {integrity: sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==}
- engines: {node: '>=18'}
- cpu: [loong64]
- os: [linux]
-
- '@esbuild/linux-mips64el@0.25.12':
- resolution: {integrity: sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==}
- engines: {node: '>=18'}
- cpu: [mips64el]
- os: [linux]
-
- '@esbuild/linux-ppc64@0.25.12':
- resolution: {integrity: sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [linux]
-
- '@esbuild/linux-riscv64@0.25.12':
- resolution: {integrity: sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==}
- engines: {node: '>=18'}
- cpu: [riscv64]
- os: [linux]
-
- '@esbuild/linux-s390x@0.25.12':
- resolution: {integrity: sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==}
- engines: {node: '>=18'}
- cpu: [s390x]
- os: [linux]
-
- '@esbuild/linux-x64@0.25.12':
- resolution: {integrity: sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [linux]
-
- '@esbuild/netbsd-arm64@0.25.12':
- resolution: {integrity: sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [netbsd]
-
- '@esbuild/netbsd-x64@0.25.12':
- resolution: {integrity: sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [netbsd]
-
- '@esbuild/openbsd-arm64@0.25.12':
- resolution: {integrity: sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [openbsd]
-
- '@esbuild/openbsd-x64@0.25.12':
- resolution: {integrity: sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [openbsd]
-
- '@esbuild/openharmony-arm64@0.25.12':
- resolution: {integrity: sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [openharmony]
-
- '@esbuild/sunos-x64@0.25.12':
- resolution: {integrity: sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [sunos]
-
- '@esbuild/win32-arm64@0.25.12':
- resolution: {integrity: sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [win32]
-
- '@esbuild/win32-ia32@0.25.12':
- resolution: {integrity: sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [win32]
-
- '@esbuild/win32-x64@0.25.12':
- resolution: {integrity: sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [win32]
-
- '@jridgewell/gen-mapping@0.3.13':
- resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
-
- '@jridgewell/resolve-uri@3.1.2':
- resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
- engines: {node: '>=6.0.0'}
-
- '@jridgewell/source-map@0.3.11':
- resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==}
-
- '@jridgewell/sourcemap-codec@1.5.5':
- resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
-
- '@jridgewell/trace-mapping@0.3.31':
- resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
-
- '@lucide/vue@1.28.0':
- resolution: {integrity: sha512-cO89UyNM/0i2Srdi04nFWeEOQkqzDZlM2ehtWyBhcMpRTJDKpMZPCGAVlmVBgBgr5HaeL5L6FsU8RHsOdwXtKw==}
- peerDependencies:
- vue: '>=3.0.1'
-
- '@mdi/font@7.4.47':
- resolution: {integrity: sha512-43MtGpd585SNzHZPcYowu/84Vz2a2g31TvPMTm9uTiCSWzaheQySUcSyUH/46fPnuPQWof2yd0pGBtzee/IQWw==}
-
- '@napi-rs/lzma-linux-x64-gnu@1.5.1':
- resolution: {integrity: sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==}
- engines: {node: ^22.20 || ^24.12 || >=25}
- cpu: [x64]
- os: [linux]
-
- '@parcel/watcher-android-arm64@2.6.0':
- resolution: {integrity: sha512-trgpLSCKRC/huFjXX/Smh+0sWe4+YtKfktIToiMl59ghz7z+qkH6kMvNnUbLyRs9N11t8l4svSCs1+5B3rOAhA==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm64]
- os: [android]
-
- '@parcel/watcher-darwin-arm64@2.6.0':
- resolution: {integrity: sha512-Y3QV0gl7Q1zbfueunkWIERICbEojQFCgpyG7YqOGNFLsckXyI1xu9mAIUpKY9QBYzBtSkN8dBPwd3yiAO9ovMw==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm64]
- os: [darwin]
-
- '@parcel/watcher-darwin-x64@2.6.0':
- resolution: {integrity: sha512-Ohv6OpzhUfKYD7Beb8kDvG0jbIxORCYY1JRdZnaBtnjjkJxgD7ZVL0nw2sCYd0yTMKTvz3nnTnOF3cDifK+kvw==}
- engines: {node: '>= 10.0.0'}
- cpu: [x64]
- os: [darwin]
-
- '@parcel/watcher-freebsd-x64@2.6.0':
- resolution: {integrity: sha512-5HmXvDgs8VK+74jF9y9/2FE3/OnlcKmc56tjmSrEuZjpSZOGL+fvAu+HKJBdPs9uwoP2hE6TlSUpXZ/C5jUFmQ==}
- engines: {node: '>= 10.0.0'}
- cpu: [x64]
- os: [freebsd]
-
- '@parcel/watcher-linux-arm-glibc@2.6.0':
- resolution: {integrity: sha512-Ps/hui3A+vMbjdqlqAowK2ZL8+BO8dBjxeWXj6npTBs3jx4wWmbPpaLuqwrQrSqIVMCnpWo238bJ1U37GhQOYg==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm]
- os: [linux]
-
- '@parcel/watcher-linux-arm-musl@2.6.0':
- resolution: {integrity: sha512-9c6AUHgHoG+IY88MRIHupztQiQnrbqHYQjkM2btA+Bf/wQnQMuiD0Wfk1EVv3TlNT3x41uU71rn6E4xh/+zvkw==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm]
- os: [linux]
-
- '@parcel/watcher-linux-arm64-glibc@2.6.0':
- resolution: {integrity: sha512-yHRqS2owEXe6Hic9z6Mh1ECsCd+ODVOGvZDyciqRd21+v+o+DnXMOrw50DSpIG2sb8GPEaPPmfeCAWKPJdq46g==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm64]
- os: [linux]
-
- '@parcel/watcher-linux-arm64-musl@2.6.0':
- resolution: {integrity: sha512-WhB2e/V7rqdHHWZusBSPuy5Ei8S6lSz6FE5TKKQz5h3a0O+C+mhY7vxU9b/stqvMb8beLnPY82ZrFTLKs+SrKA==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm64]
- os: [linux]
-
- '@parcel/watcher-linux-x64-glibc@2.6.0':
- resolution: {integrity: sha512-ulGE6x6Oz6iAwg75T8YQSoguBWasniIbX+QWpaYPcCnDOpdWX3k+4xbEYPZVLxOuoJI+svJJPD3sEj8G7lrQ3A==}
- engines: {node: '>= 10.0.0'}
- cpu: [x64]
- os: [linux]
-
- '@parcel/watcher-linux-x64-musl@2.6.0':
- resolution: {integrity: sha512-tkBYKt7YQrjIJWYDnto2YgO8MRkjlMTSNoRHzsXinBqbLdeOM3L32wPZJvIZxqaLMfSlS/4sUjH/6STVP/XDLw==}
- engines: {node: '>= 10.0.0'}
- cpu: [x64]
- os: [linux]
-
- '@parcel/watcher-win32-arm64@2.6.0':
- resolution: {integrity: sha512-gIZAP23jaHjGWasY/TY6yL7NHFClf0Ga7FN+iINvk+KN94rhm94lYZhFsbYFNcA04/onvGD9kKmiJLJB2HbNwQ==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm64]
- os: [win32]
-
- '@parcel/watcher-win32-x64@2.6.0':
- resolution: {integrity: sha512-cA+/pXV2YkfxlIcXOQ5fSWqAzzPyD78/x5qbK/I0vUkrlYHA8TIz+MXjAbGouguKVSI4bOmkTSJ1/poVSsgt+A==}
- engines: {node: '>= 10.0.0'}
- cpu: [x64]
- os: [win32]
-
- '@parcel/watcher@2.6.0':
- resolution: {integrity: sha512-7FNeNl8NCE7aINx7WXiKQrPYZWC/hvrTsmk6zmxbI7LTXE7hVek/n8AfVgpe2y82zl3w0HvCHN0bVKMBoJcC0w==}
- engines: {node: '>= 10.0.0'}
-
- '@rollup/rollup-android-arm-eabi@4.62.4':
- resolution: {integrity: sha512-RrPokAb7dmbxFoeO3TloqHyOjgye8RkBhSqmp4aJMIex4c9r46ZstPnleDQOq1t46VOVjwIuwNogIqbodV1Vvg==}
- cpu: [arm]
- os: [android]
-
- '@rollup/rollup-android-arm64@4.62.4':
- resolution: {integrity: sha512-JKuJc+pnpks2pjy7L/N3v/cAkZxYlnmuZoD840ldbMI5KDbC4iO9NKwPKYdjYFCMAIIlBzYSFHxIJVYzRo2/8A==}
- cpu: [arm64]
- os: [android]
-
- '@rollup/rollup-darwin-arm64@4.62.4':
- resolution: {integrity: sha512-krw5uS2STmvJ02x0uTXHbqQNuz+9eZ1iw+qXk9dmW2gvV4jV7O2hEoOnuhFrpOPiel1mBFtqbxYZZtC46hXLOw==}
- cpu: [arm64]
- os: [darwin]
-
- '@rollup/rollup-darwin-x64@4.62.4':
- resolution: {integrity: sha512-wsTxtgApb4PrOsNJIm0FZ1h3WvCC+k9uxLJ4ad75hgoS4NiRes2SoJFlDAyMwiUY8IssDqGcHbXuN0sx1tfF1A==}
- cpu: [x64]
- os: [darwin]
-
- '@rollup/rollup-freebsd-arm64@4.62.4':
- resolution: {integrity: sha512-GUOnQlyZe3yAXhWOtOMsn5Qkrv5E5mZXa0thbARWi5Ei2szlVXJFQhddZ4HbAzh8q92w5twp+CQvs/eFanz9YQ==}
- cpu: [arm64]
- os: [freebsd]
-
- '@rollup/rollup-freebsd-x64@4.62.4':
- resolution: {integrity: sha512-/Y7f3QuxjzPKsjA/rfEDa3+0vXqyjmJ50Ln8dPpCmWkKTrUoWHG1cWhTqaAMLob2m2nESWuC7yGrREz019Ztqg==}
- cpu: [x64]
- os: [freebsd]
-
- '@rollup/rollup-linux-arm-gnueabihf@4.62.4':
- resolution: {integrity: sha512-81wiiX3v7aqy+T+bT61TJ78yJjRquqFFTTbAPt08imfQQzkPIW8t6aJbkTagtCCrXMNc9D66+geqlK7ydLPNqA==}
- cpu: [arm]
- os: [linux]
-
- '@rollup/rollup-linux-arm-musleabihf@4.62.4':
- resolution: {integrity: sha512-9kmDIvNZqdoHOBZgNtpTBeLWYO/LVipM3H/j62P8848/l/VPEQL6N3uxU9pvP1oZAsXyC2MEnFP3ovRjo7WYNQ==}
- cpu: [arm]
- os: [linux]
-
- '@rollup/rollup-linux-arm64-gnu@4.62.4':
- resolution: {integrity: sha512-CcnXHWnXg69g+DX5VWL3FHts3qMRN2uVEHX+BZvGLdd07/gXkn3ePjYtO1LDJvxkGKVHMclKBRa1QUTH+6toYQ==}
- cpu: [arm64]
- os: [linux]
-
- '@rollup/rollup-linux-arm64-musl@4.62.4':
- resolution: {integrity: sha512-iFOibiHnTRuhrWLlRsOQFdZJJIa7S8OwkneJr4ocALP16u5yk6lWLINFwhHaEqBFMsKDUZofLkGos7+CPzGB3g==}
- cpu: [arm64]
- os: [linux]
-
- '@rollup/rollup-linux-loong64-gnu@4.62.4':
- resolution: {integrity: sha512-XnWYMI7euHlb5a871xPja+Gm7DRCFU+FGRrtS2sMq9N8FvqtpagUy6gD4YOemC5MRk9xbh8+jYMEJbigFQwsgA==}
- cpu: [loong64]
- os: [linux]
-
- '@rollup/rollup-linux-loong64-musl@4.62.4':
- resolution: {integrity: sha512-qGDAlO0U8xedCcsdRm9oaoQY8DAx/QT7uIxJWhCdx0ceIWX783UC9QSYkdpzAe29wNiVfp24+bZdQmn49o45SQ==}
- cpu: [loong64]
- os: [linux]
-
- '@rollup/rollup-linux-ppc64-gnu@4.62.4':
- resolution: {integrity: sha512-ru4H6ezD7ysA5EiEK6qkkaEb4modH8CTej6kUy/gQi20u3kB3G7Zn8snXXkeJSCOFKG/rbPPtM/+9Wgas1961w==}
- cpu: [ppc64]
- os: [linux]
-
- '@rollup/rollup-linux-ppc64-musl@4.62.4':
- resolution: {integrity: sha512-2W4MO5WQVJnbJaZdvDb9rhBDuFU1nKIepPFpJUBsTh2k1YY2g+ODViaWuyOAjQ5cOP7NvrvLzt3wvHOoiAvc7w==}
- cpu: [ppc64]
- os: [linux]
-
- '@rollup/rollup-linux-riscv64-gnu@4.62.4':
- resolution: {integrity: sha512-+fxjfuoAmVMCYV5QyjoIpu0cp5DOiOTeqYFk1AVaxGr+/ravWLX89XfQmptsoWcaVy/TGf2hexzbUOrCQIL1CQ==}
- cpu: [riscv64]
- os: [linux]
-
- '@rollup/rollup-linux-riscv64-musl@4.62.4':
- resolution: {integrity: sha512-jTn8JfHGL4djjFxPuM06LmNUJDsst2jeVlsd9OmIH6zc5sC9K6rIuO4YajXatLUpBmBKl6b35ro1QZocLi+tcA==}
- cpu: [riscv64]
- os: [linux]
-
- '@rollup/rollup-linux-s390x-gnu@4.62.4':
- resolution: {integrity: sha512-oCJCJL4pXsoDcP2QZ+JVlPTIRc6266zsIaeJJsWImmF7HO0W8nb6HuSgZlMWxJwaPf8ehbSw8yo0EUw925hKsA==}
- cpu: [s390x]
- os: [linux]
-
- '@rollup/rollup-linux-x64-gnu@4.62.4':
- resolution: {integrity: sha512-W69hukhZ3KKNRCaMIEzKvcFye42hh0FE1+YoYaf5+Ikacuftoco6yO/xouz0hc5d5W/s3yBro5jRiuEE/Q5vUw==}
- cpu: [x64]
- os: [linux]
-
- '@rollup/rollup-linux-x64-musl@4.62.4':
- resolution: {integrity: sha512-qiXbGG2jkjXhzXpsFZSR2Xpb8DN/UaxYsbb/STbuR/6fpaDgRmmaq1B/LmtF2wQFOFOSsK2jdE0RZ3a0zHn4QA==}
- cpu: [x64]
- os: [linux]
-
- '@rollup/rollup-openbsd-x64@4.62.4':
- resolution: {integrity: sha512-nWeM//hxv8mIo6jD7Hu4o48DVmV9pbV6gsKaWU+4NFyqHoPKwrkRiZGLKUhOBk8qNmDmpwFtPKg80Bo/Tn4xiQ==}
- cpu: [x64]
- os: [openbsd]
-
- '@rollup/rollup-openharmony-arm64@4.62.4':
- resolution: {integrity: sha512-s62SQ/vgsRSvMwDkOEfTqfgASF0f26ZNaQuTA6Aok5lrikf89yI2W0gFHvZb2Jpgc6N8JnOKZgCK2iciO3CsxQ==}
- cpu: [arm64]
- os: [openharmony]
-
- '@rollup/rollup-win32-arm64-msvc@4.62.4':
- resolution: {integrity: sha512-J6wGf8TVGbXJq+HH+ttTvrcfNKPbuZecV6KT1B8I18BC5IURUh5kl4Yl5OEP5eFIUoI5BWxCsyYMhFsDx8kekw==}
- cpu: [arm64]
- os: [win32]
-
- '@rollup/rollup-win32-ia32-msvc@4.62.4':
- resolution: {integrity: sha512-zmfrQd/0wu6oJs8Vq8KwY/YtsKSsLtKe/HwAP4Wqy8LhWjeT55fHRAkOhYQ12wI3ayS4Tt12d5CDRD7N96SAYQ==}
- cpu: [ia32]
- os: [win32]
-
- '@rollup/rollup-win32-x64-gnu@4.62.4':
- resolution: {integrity: sha512-qPzHqdj9rfUD+w79dtE07zi/kFwKyCJqplp5K5ygeLTp7jLpAoc16OAH39HSmRC9UpozaecsleI8uAdEj6v2yw==}
- cpu: [x64]
- os: [win32]
-
- '@rollup/rollup-win32-x64-msvc@4.62.4':
- resolution: {integrity: sha512-zD6NdeWEByGE9QF9vCrlJ5YQB4oq9q91kPZS37Jwj5hOkvR1lTBSpsKhKDw4IJtbQ35LsTS1HD9DZYGKIshU1Q==}
- cpu: [x64]
- os: [win32]
-
- '@types/estree@1.0.9':
- resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==}
-
- '@types/geojson@7946.0.16':
- resolution: {integrity: sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==}
-
- '@types/leaflet@1.9.22':
- resolution: {integrity: sha512-h3lhECYEKDasG7LFHu+GiHqAvsgLuQvlJvVZzJDGONo3sEL+wUOqSFLnwkZlK0qVxnxbuGFW8iBlJNYs5wgndA==}
-
- '@types/node@26.1.2':
- resolution: {integrity: sha512-Vu4a5UFA9rIIFJ7rB/Vaafh9lrCQszopTCx6KjFboXTGQbPNasehVR5TEiithSDGyd1DEiUByggTZsg8jukeIg==}
-
- '@typescript/typescript-aix-ppc64@7.0.2':
- resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==}
- engines: {node: '>=16.20.0'}
- cpu: [ppc64]
- os: [aix]
-
- '@typescript/typescript-darwin-arm64@7.0.2':
- resolution: {integrity: sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [darwin]
-
- '@typescript/typescript-darwin-x64@7.0.2':
- resolution: {integrity: sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [darwin]
-
- '@typescript/typescript-freebsd-arm64@7.0.2':
- resolution: {integrity: sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [freebsd]
-
- '@typescript/typescript-freebsd-x64@7.0.2':
- resolution: {integrity: sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [freebsd]
-
- '@typescript/typescript-linux-arm64@7.0.2':
- resolution: {integrity: sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [linux]
-
- '@typescript/typescript-linux-arm@7.0.2':
- resolution: {integrity: sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==}
- engines: {node: '>=16.20.0'}
- cpu: [arm]
- os: [linux]
-
- '@typescript/typescript-linux-loong64@7.0.2':
- resolution: {integrity: sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==}
- engines: {node: '>=16.20.0'}
- cpu: [loong64]
- os: [linux]
-
- '@typescript/typescript-linux-mips64el@7.0.2':
- resolution: {integrity: sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==}
- engines: {node: '>=16.20.0'}
- cpu: [mips64el]
- os: [linux]
-
- '@typescript/typescript-linux-ppc64@7.0.2':
- resolution: {integrity: sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==}
- engines: {node: '>=16.20.0'}
- cpu: [ppc64]
- os: [linux]
-
- '@typescript/typescript-linux-riscv64@7.0.2':
- resolution: {integrity: sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==}
- engines: {node: '>=16.20.0'}
- cpu: [riscv64]
- os: [linux]
-
- '@typescript/typescript-linux-s390x@7.0.2':
- resolution: {integrity: sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==}
- engines: {node: '>=16.20.0'}
- cpu: [s390x]
- os: [linux]
-
- '@typescript/typescript-linux-x64@7.0.2':
- resolution: {integrity: sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [linux]
-
- '@typescript/typescript-netbsd-arm64@7.0.2':
- resolution: {integrity: sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [netbsd]
-
- '@typescript/typescript-netbsd-x64@7.0.2':
- resolution: {integrity: sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [netbsd]
-
- '@typescript/typescript-openbsd-arm64@7.0.2':
- resolution: {integrity: sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [openbsd]
-
- '@typescript/typescript-openbsd-x64@7.0.2':
- resolution: {integrity: sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [openbsd]
-
- '@typescript/typescript-sunos-x64@7.0.2':
- resolution: {integrity: sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [sunos]
-
- '@typescript/typescript-win32-arm64@7.0.2':
- resolution: {integrity: sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [win32]
-
- '@typescript/typescript-win32-x64@7.0.2':
- resolution: {integrity: sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [win32]
-
- '@vitejs/plugin-vue@5.2.4':
- resolution: {integrity: sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA==}
- engines: {node: ^18.0.0 || >=20.0.0}
- peerDependencies:
- vite: ^5.0.0 || ^6.0.0
- vue: ^3.2.25
-
- '@volar/language-core@2.4.28':
- resolution: {integrity: sha512-w4qhIJ8ZSitgLAkVay6AbcnC7gP3glYM3fYwKV3srj8m494E3xtrCv6E+bWviiK/8hs6e6t1ij1s2Endql7vzQ==}
-
- '@volar/source-map@2.4.28':
- resolution: {integrity: sha512-yX2BDBqJkRXfKw8my8VarTyjv48QwxdJtvRgUpNE5erCsgEUdI2DsLbpa+rOQVAJYshY99szEcRDmyHbF10ggQ==}
-
- '@volar/typescript@2.4.28':
- resolution: {integrity: sha512-Ja6yvWrbis2QtN4ClAKreeUZPVYMARDYZl9LMEv1iQ1QdepB6wn0jTRxA9MftYmYa4DQ4k/DaSZpFPUfxl8giw==}
-
- '@vue/compiler-core@3.5.40':
- resolution: {integrity: sha512-39E8IgOhTbVDnoJFMKc2DvYnypcZwUqgUhQkccva/0m6FUwtIKSGV7n1hpVmYcFaoRAwf9pBcwnKlCEsN63ZEQ==}
-
- '@vue/compiler-dom@3.5.40':
- resolution: {integrity: sha512-pwkx4vqlqOspFstrcmzwkKLePVMD3PT65imRzLhanU2V1Fj4K13g6OXjanOyzw3aTAuRk84BOmY8f3rEHqPaVA==}
-
- '@vue/compiler-sfc@3.5.40':
- resolution: {integrity: sha512-gIf497P4kpuALcvs5n3AEg1Vdn0pSY4XbjASIfHNYF1/MP3T2Mf2STERTubysBxCRxzJGJYtF/O7vwJrxFB3Vw==}
-
- '@vue/compiler-ssr@3.5.40':
- resolution: {integrity: sha512-rrE5xiXG663+vHCHa3J9p2z5OcBRjXmoqenprJxAFQxg5pSshzeBiCE6pu46axapRJ2Adk0YDA2BRZVjiHXnhg==}
-
- '@vue/language-core@3.3.9':
- resolution: {integrity: sha512-in/68oAa4BCtVY6n/nkuhLIkV8DHYd2UivedJ6cMZ6UYtlq9jaoaSNUBHYCVO44z3nKg7MdE5OBoHKt5SxeBKQ==}
-
- '@vue/reactivity@3.5.40':
- resolution: {integrity: sha512-B7ot9UlUZOi1zbq61/LvE88ZLTV8IlajTdiZTAEiDQgrnIMIZoPr9kGw0Zw46ObW62O9+H/Be3kMbfb7kYPQZA==}
-
- '@vue/runtime-core@3.5.40':
- resolution: {integrity: sha512-KAZLweuZ6uUJPK1PMSQPgBU5gCjgrrfjUhSglmU9NhH+Zjepa8cnwSydPWDWHDwOgY4g3VcZ+PljbiHlURNCbw==}
-
- '@vue/runtime-dom@3.5.40':
- resolution: {integrity: sha512-ZfrX8ssZQds900L9pr8AuK05ddnMsR4MPMZr8cPN9GoqoPWcXLhjvvbIA2SMv+7a97sJ1vv9pj/zxK0Cq/eEFQ==}
-
- '@vue/server-renderer@3.5.40':
- resolution: {integrity: sha512-XNJym9WpevhTVt1HuwOrCRJ5Q+9z4BjTMrDtjTrvx74SmUll8spNTw6whWJa9mEkO4PKn5TihI/bm/8ds2QVJw==}
-
- '@vue/shared@3.5.40':
- resolution: {integrity: sha512-WxnBtruIqOoV3rA4jeKDWzrYI5h7Cp4+pjwDi8kWGHz+IslhiN+wguLVVhtv2l8VoU02rzDCVfDjgCl1lNpZVg==}
-
- '@vuetify/loader-shared@2.1.2':
- resolution: {integrity: sha512-X+1jBLmXHkpQEnC0vyOb4rtX2QSkBiFhaFXz8yhQqN2A4vQ6k2nChxN4Ol7VAY5KoqMdFoRMnmNdp/1qYXDQig==}
- peerDependencies:
- vue: ^3.0.0
- vuetify: '>=3'
-
- acorn@8.18.0:
- resolution: {integrity: sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==}
- engines: {node: '>=0.4.0'}
- hasBin: true
-
- alasql@4.17.3:
- resolution: {integrity: sha512-EOBD6zfZJ1u6Y76672MapJOyahzjDIQGE7nspt4yKhBWZB2k0cIHHakx6iJaolKkjB4vMPIo09ysw52aQfZ9rw==}
- engines: {node: '>=15'}
- hasBin: true
-
- alien-signals@3.2.1:
- resolution: {integrity: sha512-I8FjmltrfnDFoZedi5CG8DghVYNhzb/Ijluz7tCSJH0xpd0484Kowhbb1XDYOxfJpU1p5wnM2X54dA+IfGyD1g==}
-
- ansi-regex@5.0.1:
- resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
- engines: {node: '>=8'}
-
- ansi-styles@4.3.0:
- resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
- engines: {node: '>=8'}
-
- buffer-from@1.1.2:
- resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
-
- chokidar@5.0.0:
- resolution: {integrity: sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==}
- engines: {node: '>= 20.19.0'}
-
- cliui@7.0.4:
- resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==}
-
- color-convert@2.0.1:
- resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
- engines: {node: '>=7.0.0'}
-
- color-name@1.1.4:
- resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
-
- commander@2.20.3:
- resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
-
- cross-fetch@4.1.0:
- resolution: {integrity: sha512-uKm5PU+MHTootlWEY+mZ4vvXoCn4fLQxT9dSc1sXVMSFkINTJVN8cAQROpwcKm8bJ/c7rgZVIBWzH5T78sNZZw==}
-
- csstype@3.2.3:
- resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}
-
- dayjs@1.11.21:
- resolution: {integrity: sha512-98IT+HOahAisibz/yjKbzuOBwYcjJ7BCLPzARyHiyEBmRz4fatF+KPJszEHXsGYjUG234aH/cOjW1wwTbKUZlA==}
-
- debug@4.4.3:
- resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==}
- engines: {node: '>=6.0'}
- peerDependencies:
- supports-color: '*'
- peerDependenciesMeta:
- supports-color:
- optional: true
-
- detect-libc@2.1.2:
- resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
- engines: {node: '>=8'}
-
- emoji-regex@8.0.0:
- resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
-
- entities@7.0.1:
- resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==}
- engines: {node: '>=0.12'}
-
- esbuild@0.25.12:
- resolution: {integrity: sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==}
- engines: {node: '>=18'}
- hasBin: true
-
- escalade@3.2.0:
- resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
- engines: {node: '>=6'}
-
- estree-walker@2.0.2:
- resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
-
- fdir@6.5.0:
- resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}
- engines: {node: '>=12.0.0'}
- peerDependencies:
- picomatch: ^3 || ^4
- peerDependenciesMeta:
- picomatch:
- optional: true
-
- fsevents@2.3.3:
- resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
- engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
- os: [darwin]
-
- get-caller-file@2.0.5:
- resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}
- engines: {node: 6.* || 8.* || >= 10.*}
-
- immutable@5.1.9:
- resolution: {integrity: sha512-m8nVez3rwrgmWxtLMt1ZYXB2Lv7OKYn/disyxAlSDYAlKSlFoPPfIAmAM/M5xqL4m4C/wAPw7S2/CNaUii1Hxg==}
-
- is-extglob@2.1.1:
- resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
- engines: {node: '>=0.10.0'}
-
- is-fullwidth-code-point@3.0.0:
- resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
- engines: {node: '>=8'}
-
- is-glob@4.0.3:
- resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
- engines: {node: '>=0.10.0'}
-
- leaflet@1.9.4:
- resolution: {integrity: sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==}
-
- magic-string@0.30.21:
- resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
-
- ms@2.1.3:
- resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
-
- muggle-string@0.4.1:
- resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==}
-
- nanoid@3.3.17:
- resolution: {integrity: sha512-xQLf0A3HOMlgHq0n247/LRuAOYmB7dXJ/DvAxGvsSBij45XtBSmQycu+F8ODbHwns/XyFZagyL1+J0Offw1E0g==}
- engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
- hasBin: true
-
- node-addon-api@7.1.1:
- resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==}
-
- node-fetch@2.7.0:
- resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==}
- engines: {node: 4.x || >=6.0.0}
- peerDependencies:
- encoding: ^0.1.0
- peerDependenciesMeta:
- encoding:
- optional: true
-
- p-comuns@git+https://git2.idz.one/publico/_comuns.git#314cd46534d3c4d2e01f47290bc8908fe47b0e11:
- resolution: {commit: 314cd46534d3c4d2e01f47290bc8908fe47b0e11, repo: https://git2.idz.one/publico/_comuns.git, type: git}
- version: 0.352.0
- peerDependencies:
- dayjs: ^1.11.18
- uuid: ^11.1.0
- zod: 4.4.3
-
- p-respostas@git+https://git2.idz.one/publico/_respostas.git#387b928e7fc43d287e3f22d2f209f8712fac5368:
- resolution: {commit: 387b928e7fc43d287e3f22d2f209f8712fac5368, repo: https://git2.idz.one/publico/_respostas.git, type: git}
- version: 0.69.0
- engines: {node: '>=20'}
- peerDependencies:
- p-comuns: git+https://git2.idz.one/publico/_comuns.git
- zod: 4.4.3
-
- path-browserify@1.0.1:
- resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==}
-
- picocolors@1.1.1:
- resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
-
- picomatch@4.0.5:
- resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==}
- engines: {node: '>=12'}
-
- postcss@8.5.25:
- resolution: {integrity: sha512-DTPx3RWSSnWyzLxQnlH0rJP+EW5ekl16ZU4/psbIhA0e53kJfdgaN5vKM+xP7yJtXVu+nfdVFmlgFDEKAe4Pyw==}
- engines: {node: ^10 || ^12 || >=14}
-
- readdirp@5.0.0:
- resolution: {integrity: sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==}
- engines: {node: '>= 20.19.0'}
-
- require-directory@2.1.1:
- resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}
- engines: {node: '>=0.10.0'}
-
- rollup@4.62.4:
- resolution: {integrity: sha512-RXOqwaPsBGjMNMa4sQjDjHieHEZDFoj/Rdr46l2MU5DfEs16wHJPC2RPTPHWhNl+M3aI472LLqFkFKut4SblOg==}
- engines: {node: '>=18.0.0', npm: '>=8.0.0'}
- hasBin: true
-
- sass@1.102.0:
- resolution: {integrity: sha512-NSOyTnaQF7rTAEOtI2fwb386vL+akyiQLBZu8Na7hXCb+umJy0GAqlcMIaqACZ6Z1VgTBS4K9PG6B3IdjHGJsw==}
- engines: {node: '>=20.19.0'}
- hasBin: true
-
- source-map-js@1.2.1:
- resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
- engines: {node: '>=0.10.0'}
-
- source-map-support@0.5.21:
- resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
-
- source-map@0.6.1:
- resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
- engines: {node: '>=0.10.0'}
-
- string-width@4.2.3:
- resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
- engines: {node: '>=8'}
-
- strip-ansi@6.0.1:
- resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
- engines: {node: '>=8'}
-
- terser@5.49.1:
- resolution: {integrity: sha512-7A2xlQ5EnGT8KPA92dUh6RbRYTVw8hEaEN9L1K68l4UOXFuV511NnAqObGoRqGOQofQcMypisu1s3xawCEHrvA==}
- engines: {node: '>=10'}
- hasBin: true
-
- tinyglobby@0.2.17:
- resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==}
- engines: {node: '>=12.0.0'}
-
- tr46@0.0.3:
- resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
-
- typescript@7.0.2:
- resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==}
- engines: {node: '>=16.20.0'}
- hasBin: true
-
- undici-types@8.3.0:
- resolution: {integrity: sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==}
-
- upath@2.0.1:
- resolution: {integrity: sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==}
- engines: {node: '>=4'}
-
- uuid@13.0.2:
- resolution: {integrity: sha512-vzi9uRZ926x4XV73S/4qQaTwPXM2JBj6/6lI/byHH1jOpCzb0zDbfytgA9LcN/hzb2l7WQSQnxITOVx5un/wGw==}
- hasBin: true
-
- vite-plugin-css-injected-by-js@3.5.2:
- resolution: {integrity: sha512-2MpU/Y+SCZyWUB6ua3HbJCrgnF0KACAsmzOQt1UvRVJCGF6S8xdA3ZUhWcWdM9ivG4I5az8PnQmwwrkC2CAQrQ==}
- peerDependencies:
- vite: '>2.0.0-0'
-
- vite-plugin-vuetify@2.1.3:
- resolution: {integrity: sha512-Q4SC/4TqbNvaZIFb9YsfBqkGlYHbJJJ6uU3CnRBZqLUF3s5eCMVZAaV4GkTbehIH/bhSj42lMXztOwc71u6rVw==}
- engines: {node: ^18.0.0 || >=20.0.0}
- peerDependencies:
- vite: '>=5'
- vue: ^3.0.0
- vuetify: '>=3'
-
- vite@6.4.3:
- resolution: {integrity: sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A==}
- engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
- hasBin: true
- peerDependencies:
- '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
- jiti: '>=1.21.0'
- less: '*'
- lightningcss: ^1.21.0
- sass: '*'
- sass-embedded: '*'
- stylus: '*'
- sugarss: '*'
- terser: ^5.16.0
- tsx: ^4.8.1
- yaml: ^2.4.2
- peerDependenciesMeta:
- '@types/node':
- optional: true
- jiti:
- optional: true
- less:
- optional: true
- lightningcss:
- optional: true
- sass:
- optional: true
- sass-embedded:
- optional: true
- stylus:
- optional: true
- sugarss:
- optional: true
- terser:
- optional: true
- tsx:
- optional: true
- yaml:
- optional: true
-
- vscode-uri@3.1.0:
- resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==}
-
- vue-tsc@3.3.9:
- resolution: {integrity: sha512-TS3Y1ux/IRoE8OCP2PpACAeOseuIs0UvWrcr7u+w3PmfY+SlCfEf8zjrBgnQksHUgLpthi5vHlffcQTQTdPBZA==}
- hasBin: true
- peerDependencies:
- typescript: '>=5.0.0'
-
- vue@3.5.40:
- resolution: {integrity: sha512-+8PJ4SJXdn/cHGImF4CKdxlWHIN5Dkt7DoufRREM6h6uVCx2m7QxgcEQmmzyOK8A9mcafg7sFbJFYsdFVubTig==}
- peerDependencies:
- typescript: '*'
- peerDependenciesMeta:
- typescript:
- optional: true
-
- vuetify@3.13.0:
- resolution: {integrity: sha512-ODQZHKni5d9o2XVBVfnmlRwssdIko1WCM8DlPvpo4maeoPrNgjoIa38VvhLWYH/FeKgif4w0LlUTdW5Rkg7R5Q==}
- peerDependencies:
- typescript: '>=4.7'
- vite-plugin-vuetify: '>=2.1.0'
- vue: ^3.5.0
- webpack-plugin-vuetify: '>=3.1.0'
- peerDependenciesMeta:
- typescript:
- optional: true
- vite-plugin-vuetify:
- optional: true
- webpack-plugin-vuetify:
- optional: true
-
- webidl-conversions@3.0.1:
- resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
-
- whatwg-url@5.0.0:
- resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}
-
- wrap-ansi@7.0.0:
- resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
- engines: {node: '>=10'}
-
- y18n@5.0.8:
- resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}
- engines: {node: '>=10'}
-
- yaml@2.9.0:
- resolution: {integrity: sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==}
- engines: {node: '>= 14.6'}
- hasBin: true
-
- yargs-parser@20.2.9:
- resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==}
- engines: {node: '>=10'}
-
- yargs@16.2.2:
- resolution: {integrity: sha512-Nt9ZJjXTv5R8MHbqby/wXQ6Gi0Bb3TcYZkR1bzuL4yB2OxWPkXknz513gEF0GoA6tn00UpbPvERW8rzCuWCA6w==}
- engines: {node: '>=10'}
-
- zod@4.4.3:
- resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==}
-
-snapshots:
-
- '@babel/helper-string-parser@7.29.7': {}
-
- '@babel/helper-validator-identifier@7.29.7': {}
-
- '@babel/parser@7.29.8':
- dependencies:
- '@babel/types': 7.29.8
-
- '@babel/types@7.29.8':
- dependencies:
- '@babel/helper-string-parser': 7.29.7
- '@babel/helper-validator-identifier': 7.29.7
-
- '@biomejs/biome@2.4.12':
- optionalDependencies:
- '@biomejs/cli-darwin-arm64': 2.4.12
- '@biomejs/cli-darwin-x64': 2.4.12
- '@biomejs/cli-linux-arm64': 2.4.12
- '@biomejs/cli-linux-arm64-musl': 2.4.12
- '@biomejs/cli-linux-x64': 2.4.12
- '@biomejs/cli-linux-x64-musl': 2.4.12
- '@biomejs/cli-win32-arm64': 2.4.12
- '@biomejs/cli-win32-x64': 2.4.12
-
- '@biomejs/cli-darwin-arm64@2.4.12':
- optional: true
-
- '@biomejs/cli-darwin-x64@2.4.12':
- optional: true
-
- '@biomejs/cli-linux-arm64-musl@2.4.12':
- optional: true
-
- '@biomejs/cli-linux-arm64@2.4.12':
- optional: true
-
- '@biomejs/cli-linux-x64-musl@2.4.12':
- optional: true
-
- '@biomejs/cli-linux-x64@2.4.12':
- optional: true
-
- '@biomejs/cli-win32-arm64@2.4.12':
- optional: true
-
- '@biomejs/cli-win32-x64@2.4.12':
- optional: true
-
- '@esbuild/aix-ppc64@0.25.12':
- optional: true
-
- '@esbuild/android-arm64@0.25.12':
- optional: true
-
- '@esbuild/android-arm@0.25.12':
- optional: true
-
- '@esbuild/android-x64@0.25.12':
- optional: true
-
- '@esbuild/darwin-arm64@0.25.12':
- optional: true
-
- '@esbuild/darwin-x64@0.25.12':
- optional: true
-
- '@esbuild/freebsd-arm64@0.25.12':
- optional: true
-
- '@esbuild/freebsd-x64@0.25.12':
- optional: true
-
- '@esbuild/linux-arm64@0.25.12':
- optional: true
-
- '@esbuild/linux-arm@0.25.12':
- optional: true
-
- '@esbuild/linux-ia32@0.25.12':
- optional: true
-
- '@esbuild/linux-loong64@0.25.12':
- optional: true
-
- '@esbuild/linux-mips64el@0.25.12':
- optional: true
-
- '@esbuild/linux-ppc64@0.25.12':
- optional: true
-
- '@esbuild/linux-riscv64@0.25.12':
- optional: true
-
- '@esbuild/linux-s390x@0.25.12':
- optional: true
-
- '@esbuild/linux-x64@0.25.12':
- optional: true
-
- '@esbuild/netbsd-arm64@0.25.12':
- optional: true
-
- '@esbuild/netbsd-x64@0.25.12':
- optional: true
-
- '@esbuild/openbsd-arm64@0.25.12':
- optional: true
-
- '@esbuild/openbsd-x64@0.25.12':
- optional: true
-
- '@esbuild/openharmony-arm64@0.25.12':
- optional: true
-
- '@esbuild/sunos-x64@0.25.12':
- optional: true
-
- '@esbuild/win32-arm64@0.25.12':
- optional: true
-
- '@esbuild/win32-ia32@0.25.12':
- optional: true
-
- '@esbuild/win32-x64@0.25.12':
- optional: true
-
- '@jridgewell/gen-mapping@0.3.13':
- dependencies:
- '@jridgewell/sourcemap-codec': 1.5.5
- '@jridgewell/trace-mapping': 0.3.31
- optional: true
-
- '@jridgewell/resolve-uri@3.1.2':
- optional: true
-
- '@jridgewell/source-map@0.3.11':
- dependencies:
- '@jridgewell/gen-mapping': 0.3.13
- '@jridgewell/trace-mapping': 0.3.31
- optional: true
-
- '@jridgewell/sourcemap-codec@1.5.5': {}
-
- '@jridgewell/trace-mapping@0.3.31':
- dependencies:
- '@jridgewell/resolve-uri': 3.1.2
- '@jridgewell/sourcemap-codec': 1.5.5
- optional: true
-
- '@lucide/vue@1.28.0(vue@3.5.40(typescript@7.0.2))':
- dependencies:
- vue: 3.5.40(typescript@7.0.2)
-
- '@mdi/font@7.4.47': {}
-
- '@napi-rs/lzma-linux-x64-gnu@1.5.1':
- optional: true
-
- '@parcel/watcher-android-arm64@2.6.0':
- optional: true
-
- '@parcel/watcher-darwin-arm64@2.6.0':
- optional: true
-
- '@parcel/watcher-darwin-x64@2.6.0':
- optional: true
-
- '@parcel/watcher-freebsd-x64@2.6.0':
- optional: true
-
- '@parcel/watcher-linux-arm-glibc@2.6.0':
- optional: true
-
- '@parcel/watcher-linux-arm-musl@2.6.0':
- optional: true
-
- '@parcel/watcher-linux-arm64-glibc@2.6.0':
- optional: true
-
- '@parcel/watcher-linux-arm64-musl@2.6.0':
- optional: true
-
- '@parcel/watcher-linux-x64-glibc@2.6.0':
- optional: true
-
- '@parcel/watcher-linux-x64-musl@2.6.0':
- optional: true
-
- '@parcel/watcher-win32-arm64@2.6.0':
- optional: true
-
- '@parcel/watcher-win32-x64@2.6.0':
- optional: true
-
- '@parcel/watcher@2.6.0':
- dependencies:
- detect-libc: 2.1.2
- is-glob: 4.0.3
- node-addon-api: 7.1.1
- picomatch: 4.0.5
- optionalDependencies:
- '@parcel/watcher-android-arm64': 2.6.0
- '@parcel/watcher-darwin-arm64': 2.6.0
- '@parcel/watcher-darwin-x64': 2.6.0
- '@parcel/watcher-freebsd-x64': 2.6.0
- '@parcel/watcher-linux-arm-glibc': 2.6.0
- '@parcel/watcher-linux-arm-musl': 2.6.0
- '@parcel/watcher-linux-arm64-glibc': 2.6.0
- '@parcel/watcher-linux-arm64-musl': 2.6.0
- '@parcel/watcher-linux-x64-glibc': 2.6.0
- '@parcel/watcher-linux-x64-musl': 2.6.0
- '@parcel/watcher-win32-arm64': 2.6.0
- '@parcel/watcher-win32-x64': 2.6.0
- optional: true
-
- '@rollup/rollup-android-arm-eabi@4.62.4':
- optional: true
-
- '@rollup/rollup-android-arm64@4.62.4':
- optional: true
-
- '@rollup/rollup-darwin-arm64@4.62.4':
- optional: true
-
- '@rollup/rollup-darwin-x64@4.62.4':
- optional: true
-
- '@rollup/rollup-freebsd-arm64@4.62.4':
- optional: true
-
- '@rollup/rollup-freebsd-x64@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-arm-gnueabihf@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-arm-musleabihf@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-arm64-gnu@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-arm64-musl@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-loong64-gnu@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-loong64-musl@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-ppc64-gnu@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-ppc64-musl@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-riscv64-gnu@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-riscv64-musl@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-s390x-gnu@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-x64-gnu@4.62.4':
- optional: true
-
- '@rollup/rollup-linux-x64-musl@4.62.4':
- optional: true
-
- '@rollup/rollup-openbsd-x64@4.62.4':
- optional: true
-
- '@rollup/rollup-openharmony-arm64@4.62.4':
- optional: true
-
- '@rollup/rollup-win32-arm64-msvc@4.62.4':
- optional: true
-
- '@rollup/rollup-win32-ia32-msvc@4.62.4':
- optional: true
-
- '@rollup/rollup-win32-x64-gnu@4.62.4':
- optional: true
-
- '@rollup/rollup-win32-x64-msvc@4.62.4':
- optional: true
-
- '@types/estree@1.0.9': {}
-
- '@types/geojson@7946.0.16': {}
-
- '@types/leaflet@1.9.22':
- dependencies:
- '@types/geojson': 7946.0.16
-
- '@types/node@26.1.2':
- dependencies:
- undici-types: 8.3.0
- optional: true
-
- '@typescript/typescript-aix-ppc64@7.0.2':
- optional: true
-
- '@typescript/typescript-darwin-arm64@7.0.2':
- optional: true
-
- '@typescript/typescript-darwin-x64@7.0.2':
- optional: true
-
- '@typescript/typescript-freebsd-arm64@7.0.2':
- optional: true
-
- '@typescript/typescript-freebsd-x64@7.0.2':
- optional: true
-
- '@typescript/typescript-linux-arm64@7.0.2':
- optional: true
-
- '@typescript/typescript-linux-arm@7.0.2':
- optional: true
-
- '@typescript/typescript-linux-loong64@7.0.2':
- optional: true
-
- '@typescript/typescript-linux-mips64el@7.0.2':
- optional: true
-
- '@typescript/typescript-linux-ppc64@7.0.2':
- optional: true
-
- '@typescript/typescript-linux-riscv64@7.0.2':
- optional: true
-
- '@typescript/typescript-linux-s390x@7.0.2':
- optional: true
-
- '@typescript/typescript-linux-x64@7.0.2':
- optional: true
-
- '@typescript/typescript-netbsd-arm64@7.0.2':
- optional: true
-
- '@typescript/typescript-netbsd-x64@7.0.2':
- optional: true
-
- '@typescript/typescript-openbsd-arm64@7.0.2':
- optional: true
-
- '@typescript/typescript-openbsd-x64@7.0.2':
- optional: true
-
- '@typescript/typescript-sunos-x64@7.0.2':
- optional: true
-
- '@typescript/typescript-win32-arm64@7.0.2':
- optional: true
-
- '@typescript/typescript-win32-x64@7.0.2':
- optional: true
-
- '@vitejs/plugin-vue@5.2.4(vite@6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0))(vue@3.5.40(typescript@7.0.2))':
- dependencies:
- vite: 6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0)
- vue: 3.5.40(typescript@7.0.2)
-
- '@volar/language-core@2.4.28':
- dependencies:
- '@volar/source-map': 2.4.28
-
- '@volar/source-map@2.4.28': {}
-
- '@volar/typescript@2.4.28':
- dependencies:
- '@volar/language-core': 2.4.28
- path-browserify: 1.0.1
- vscode-uri: 3.1.0
-
- '@vue/compiler-core@3.5.40':
- dependencies:
- '@babel/parser': 7.29.8
- '@vue/shared': 3.5.40
- entities: 7.0.1
- estree-walker: 2.0.2
- source-map-js: 1.2.1
-
- '@vue/compiler-dom@3.5.40':
- dependencies:
- '@vue/compiler-core': 3.5.40
- '@vue/shared': 3.5.40
-
- '@vue/compiler-sfc@3.5.40':
- dependencies:
- '@babel/parser': 7.29.8
- '@vue/compiler-core': 3.5.40
- '@vue/compiler-dom': 3.5.40
- '@vue/compiler-ssr': 3.5.40
- '@vue/shared': 3.5.40
- estree-walker: 2.0.2
- magic-string: 0.30.21
- postcss: 8.5.25
- source-map-js: 1.2.1
-
- '@vue/compiler-ssr@3.5.40':
- dependencies:
- '@vue/compiler-dom': 3.5.40
- '@vue/shared': 3.5.40
-
- '@vue/language-core@3.3.9':
- dependencies:
- '@volar/language-core': 2.4.28
- '@vue/compiler-dom': 3.5.40
- '@vue/shared': 3.5.40
- alien-signals: 3.2.1
- muggle-string: 0.4.1
- path-browserify: 1.0.1
- picomatch: 4.0.5
-
- '@vue/reactivity@3.5.40':
- dependencies:
- '@vue/shared': 3.5.40
-
- '@vue/runtime-core@3.5.40':
- dependencies:
- '@vue/reactivity': 3.5.40
- '@vue/shared': 3.5.40
-
- '@vue/runtime-dom@3.5.40':
- dependencies:
- '@vue/reactivity': 3.5.40
- '@vue/runtime-core': 3.5.40
- '@vue/shared': 3.5.40
- csstype: 3.2.3
-
- '@vue/server-renderer@3.5.40':
- dependencies:
- '@vue/compiler-ssr': 3.5.40
- '@vue/runtime-dom': 3.5.40
- '@vue/shared': 3.5.40
-
- '@vue/shared@3.5.40': {}
-
- '@vuetify/loader-shared@2.1.2(vue@3.5.40(typescript@7.0.2))(vuetify@3.13.0)':
- dependencies:
- upath: 2.0.1
- vue: 3.5.40(typescript@7.0.2)
- vuetify: 3.13.0(typescript@7.0.2)(vite-plugin-vuetify@2.1.3)(vue@3.5.40(typescript@7.0.2))
-
- acorn@8.18.0:
- optional: true
-
- alasql@4.17.3:
- dependencies:
- cross-fetch: 4.1.0
- yargs: 16.2.2
- transitivePeerDependencies:
- - encoding
-
- alien-signals@3.2.1: {}
-
- ansi-regex@5.0.1: {}
-
- ansi-styles@4.3.0:
- dependencies:
- color-convert: 2.0.1
-
- buffer-from@1.1.2:
- optional: true
-
- chokidar@5.0.0:
- dependencies:
- readdirp: 5.0.0
-
- cliui@7.0.4:
- dependencies:
- string-width: 4.2.3
- strip-ansi: 6.0.1
- wrap-ansi: 7.0.0
-
- color-convert@2.0.1:
- dependencies:
- color-name: 1.1.4
-
- color-name@1.1.4: {}
-
- commander@2.20.3:
- optional: true
-
- cross-fetch@4.1.0:
- dependencies:
- node-fetch: 2.7.0
- transitivePeerDependencies:
- - encoding
-
- csstype@3.2.3: {}
-
- dayjs@1.11.21: {}
-
- debug@4.4.3:
- dependencies:
- ms: 2.1.3
-
- detect-libc@2.1.2:
- optional: true
-
- emoji-regex@8.0.0: {}
-
- entities@7.0.1: {}
-
- esbuild@0.25.12:
- optionalDependencies:
- '@esbuild/aix-ppc64': 0.25.12
- '@esbuild/android-arm': 0.25.12
- '@esbuild/android-arm64': 0.25.12
- '@esbuild/android-x64': 0.25.12
- '@esbuild/darwin-arm64': 0.25.12
- '@esbuild/darwin-x64': 0.25.12
- '@esbuild/freebsd-arm64': 0.25.12
- '@esbuild/freebsd-x64': 0.25.12
- '@esbuild/linux-arm': 0.25.12
- '@esbuild/linux-arm64': 0.25.12
- '@esbuild/linux-ia32': 0.25.12
- '@esbuild/linux-loong64': 0.25.12
- '@esbuild/linux-mips64el': 0.25.12
- '@esbuild/linux-ppc64': 0.25.12
- '@esbuild/linux-riscv64': 0.25.12
- '@esbuild/linux-s390x': 0.25.12
- '@esbuild/linux-x64': 0.25.12
- '@esbuild/netbsd-arm64': 0.25.12
- '@esbuild/netbsd-x64': 0.25.12
- '@esbuild/openbsd-arm64': 0.25.12
- '@esbuild/openbsd-x64': 0.25.12
- '@esbuild/openharmony-arm64': 0.25.12
- '@esbuild/sunos-x64': 0.25.12
- '@esbuild/win32-arm64': 0.25.12
- '@esbuild/win32-ia32': 0.25.12
- '@esbuild/win32-x64': 0.25.12
-
- escalade@3.2.0: {}
-
- estree-walker@2.0.2: {}
-
- fdir@6.5.0(picomatch@4.0.5):
- optionalDependencies:
- picomatch: 4.0.5
-
- fsevents@2.3.3:
- optional: true
-
- get-caller-file@2.0.5: {}
-
- immutable@5.1.9: {}
-
- is-extglob@2.1.1:
- optional: true
-
- is-fullwidth-code-point@3.0.0: {}
-
- is-glob@4.0.3:
- dependencies:
- is-extglob: 2.1.1
- optional: true
-
- leaflet@1.9.4: {}
-
- magic-string@0.30.21:
- dependencies:
- '@jridgewell/sourcemap-codec': 1.5.5
-
- ms@2.1.3: {}
-
- muggle-string@0.4.1: {}
-
- nanoid@3.3.17: {}
-
- node-addon-api@7.1.1:
- optional: true
-
- node-fetch@2.7.0:
- dependencies:
- whatwg-url: 5.0.0
-
- p-comuns@git+https://git2.idz.one/publico/_comuns.git#314cd46534d3c4d2e01f47290bc8908fe47b0e11(dayjs@1.11.21)(uuid@13.0.2)(zod@4.4.3):
- dependencies:
- dayjs: 1.11.21
- uuid: 13.0.2
- zod: 4.4.3
-
- p-respostas@git+https://git2.idz.one/publico/_respostas.git#387b928e7fc43d287e3f22d2f209f8712fac5368(p-comuns@git+https://git2.idz.one/publico/_comuns.git#314cd46534d3c4d2e01f47290bc8908fe47b0e11(dayjs@1.11.21)(uuid@13.0.2)(zod@4.4.3))(zod@4.4.3):
- dependencies:
- p-comuns: git+https://git2.idz.one/publico/_comuns.git#314cd46534d3c4d2e01f47290bc8908fe47b0e11(dayjs@1.11.21)(uuid@13.0.2)(zod@4.4.3)
- zod: 4.4.3
-
- path-browserify@1.0.1: {}
-
- picocolors@1.1.1: {}
-
- picomatch@4.0.5: {}
-
- postcss@8.5.25:
- dependencies:
- nanoid: 3.3.17
- picocolors: 1.1.1
- source-map-js: 1.2.1
-
- readdirp@5.0.0: {}
-
- require-directory@2.1.1: {}
-
- rollup@4.62.4:
- dependencies:
- '@types/estree': 1.0.9
- optionalDependencies:
- '@napi-rs/lzma-linux-x64-gnu': 1.5.1
- '@rollup/rollup-android-arm-eabi': 4.62.4
- '@rollup/rollup-android-arm64': 4.62.4
- '@rollup/rollup-darwin-arm64': 4.62.4
- '@rollup/rollup-darwin-x64': 4.62.4
- '@rollup/rollup-freebsd-arm64': 4.62.4
- '@rollup/rollup-freebsd-x64': 4.62.4
- '@rollup/rollup-linux-arm-gnueabihf': 4.62.4
- '@rollup/rollup-linux-arm-musleabihf': 4.62.4
- '@rollup/rollup-linux-arm64-gnu': 4.62.4
- '@rollup/rollup-linux-arm64-musl': 4.62.4
- '@rollup/rollup-linux-loong64-gnu': 4.62.4
- '@rollup/rollup-linux-loong64-musl': 4.62.4
- '@rollup/rollup-linux-ppc64-gnu': 4.62.4
- '@rollup/rollup-linux-ppc64-musl': 4.62.4
- '@rollup/rollup-linux-riscv64-gnu': 4.62.4
- '@rollup/rollup-linux-riscv64-musl': 4.62.4
- '@rollup/rollup-linux-s390x-gnu': 4.62.4
- '@rollup/rollup-linux-x64-gnu': 4.62.4
- '@rollup/rollup-linux-x64-musl': 4.62.4
- '@rollup/rollup-openbsd-x64': 4.62.4
- '@rollup/rollup-openharmony-arm64': 4.62.4
- '@rollup/rollup-win32-arm64-msvc': 4.62.4
- '@rollup/rollup-win32-ia32-msvc': 4.62.4
- '@rollup/rollup-win32-x64-gnu': 4.62.4
- '@rollup/rollup-win32-x64-msvc': 4.62.4
- fsevents: 2.3.3
-
- sass@1.102.0:
- dependencies:
- chokidar: 5.0.0
- immutable: 5.1.9
- source-map-js: 1.2.1
- optionalDependencies:
- '@parcel/watcher': 2.6.0
-
- source-map-js@1.2.1: {}
-
- source-map-support@0.5.21:
- dependencies:
- buffer-from: 1.1.2
- source-map: 0.6.1
- optional: true
-
- source-map@0.6.1:
- optional: true
-
- string-width@4.2.3:
- dependencies:
- emoji-regex: 8.0.0
- is-fullwidth-code-point: 3.0.0
- strip-ansi: 6.0.1
-
- strip-ansi@6.0.1:
- dependencies:
- ansi-regex: 5.0.1
-
- terser@5.49.1:
- dependencies:
- '@jridgewell/source-map': 0.3.11
- acorn: 8.18.0
- commander: 2.20.3
- source-map-support: 0.5.21
- optional: true
-
- tinyglobby@0.2.17:
- dependencies:
- fdir: 6.5.0(picomatch@4.0.5)
- picomatch: 4.0.5
-
- tr46@0.0.3: {}
-
- typescript@7.0.2:
- optionalDependencies:
- '@typescript/typescript-aix-ppc64': 7.0.2
- '@typescript/typescript-darwin-arm64': 7.0.2
- '@typescript/typescript-darwin-x64': 7.0.2
- '@typescript/typescript-freebsd-arm64': 7.0.2
- '@typescript/typescript-freebsd-x64': 7.0.2
- '@typescript/typescript-linux-arm': 7.0.2
- '@typescript/typescript-linux-arm64': 7.0.2
- '@typescript/typescript-linux-loong64': 7.0.2
- '@typescript/typescript-linux-mips64el': 7.0.2
- '@typescript/typescript-linux-ppc64': 7.0.2
- '@typescript/typescript-linux-riscv64': 7.0.2
- '@typescript/typescript-linux-s390x': 7.0.2
- '@typescript/typescript-linux-x64': 7.0.2
- '@typescript/typescript-netbsd-arm64': 7.0.2
- '@typescript/typescript-netbsd-x64': 7.0.2
- '@typescript/typescript-openbsd-arm64': 7.0.2
- '@typescript/typescript-openbsd-x64': 7.0.2
- '@typescript/typescript-sunos-x64': 7.0.2
- '@typescript/typescript-win32-arm64': 7.0.2
- '@typescript/typescript-win32-x64': 7.0.2
-
- undici-types@8.3.0:
- optional: true
-
- upath@2.0.1: {}
-
- uuid@13.0.2: {}
-
- vite-plugin-css-injected-by-js@3.5.2(vite@6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0)):
- dependencies:
- vite: 6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0)
-
- vite-plugin-vuetify@2.1.3(vite@6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0))(vue@3.5.40(typescript@7.0.2))(vuetify@3.13.0):
- dependencies:
- '@vuetify/loader-shared': 2.1.2(vue@3.5.40(typescript@7.0.2))(vuetify@3.13.0)
- debug: 4.4.3
- upath: 2.0.1
- vite: 6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0)
- vue: 3.5.40(typescript@7.0.2)
- vuetify: 3.13.0(typescript@7.0.2)(vite-plugin-vuetify@2.1.3)(vue@3.5.40(typescript@7.0.2))
- transitivePeerDependencies:
- - supports-color
-
- vite@6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0):
- dependencies:
- esbuild: 0.25.12
- fdir: 6.5.0(picomatch@4.0.5)
- picomatch: 4.0.5
- postcss: 8.5.25
- rollup: 4.62.4
- tinyglobby: 0.2.17
- optionalDependencies:
- '@types/node': 26.1.2
- fsevents: 2.3.3
- sass: 1.102.0
- terser: 5.49.1
- yaml: 2.9.0
-
- vscode-uri@3.1.0: {}
-
- vue-tsc@3.3.9(typescript@7.0.2):
- dependencies:
- '@volar/typescript': 2.4.28
- '@vue/language-core': 3.3.9
- typescript: 7.0.2
-
- vue@3.5.40(typescript@7.0.2):
- dependencies:
- '@vue/compiler-dom': 3.5.40
- '@vue/compiler-sfc': 3.5.40
- '@vue/runtime-dom': 3.5.40
- '@vue/server-renderer': 3.5.40
- '@vue/shared': 3.5.40
- optionalDependencies:
- typescript: 7.0.2
-
- vuetify@3.13.0(typescript@7.0.2)(vite-plugin-vuetify@2.1.3)(vue@3.5.40(typescript@7.0.2)):
- dependencies:
- vue: 3.5.40(typescript@7.0.2)
- optionalDependencies:
- typescript: 7.0.2
- vite-plugin-vuetify: 2.1.3(vite@6.4.3(@types/node@26.1.2)(sass@1.102.0)(terser@5.49.1)(yaml@2.9.0))(vue@3.5.40(typescript@7.0.2))(vuetify@3.13.0)
-
- webidl-conversions@3.0.1: {}
-
- whatwg-url@5.0.0:
- dependencies:
- tr46: 0.0.3
- webidl-conversions: 3.0.1
-
- wrap-ansi@7.0.0:
- dependencies:
- ansi-styles: 4.3.0
- string-width: 4.2.3
- strip-ansi: 6.0.1
-
- y18n@5.0.8: {}
-
- yaml@2.9.0:
- optional: true
-
- yargs-parser@20.2.9: {}
-
- yargs@16.2.2:
- dependencies:
- cliui: 7.0.4
- escalade: 3.2.0
- get-caller-file: 2.0.5
- require-directory: 2.1.1
- string-width: 4.2.3
- y18n: 5.0.8
- yargs-parser: 20.2.9
-
- zod@4.4.3: {}
diff --git a/src/env.d.ts b/src/env.d.ts
index 149dfee..1b97007 100644
--- a/src/env.d.ts
+++ b/src/env.d.ts
@@ -2,6 +2,7 @@
declare module "*.vue" {
import type { DefineComponent } from "vue"
+
const component: DefineComponent, Record, unknown>
export default component
}