diff --git a/.agent/atualizar-agente.global.sh b/.agent/atualizar-agente.global.sh
new file mode 100755
index 0000000..52978aa
--- /dev/null
+++ b/.agent/atualizar-agente.global.sh
@@ -0,0 +1,77 @@
+#!/bin/sh
+
+DIR="$(cd "$(dirname "$0")" && pwd)"
+BASE="https://paiol.idz.one/desenvolvimento/agent-ia"
+ERROS=0
+
+baixar() {
+ TMP=$(mktemp)
+ echo "baixando $1"
+ ERRO_CURL="$(curl -sSfL --create-dirs "$1" -o "$TMP" 2>&1)" || {
+ echo " ⚠ $1"
+ echo " $ERRO_CURL"
+ rm -f "$TMP"
+ ERROS=$((ERROS + 1))
+ return 1
+ }
+ # Rejeitar arquivos menores que 50 bytes (prováveis erros de proxy/WAF)
+ TAMANHO=$(wc -c < "$TMP" | tr -d ' ')
+ if [ "$TAMANHO" -lt 50 ]; then
+ echo " ⚠ $1 — arquivo muito pequeno ($TAMANHO bytes), ignorado"
+ rm -f "$TMP"
+ ERROS=$((ERROS + 1))
+ return 1
+ fi
+ mkdir -p "$(dirname "$2")"
+ mv "$TMP" "$2"
+}
+
+# ignorar se não auto atualizar
+if [ "$NAO_AUTO_ATUALIZAR" != "1" ]; then
+ # atualizar-agente.global.sh
+ if baixar "$BASE/atualizar-agente.global.sh" "$DIR/atualizar-agente.global.sh"; then
+ NAO_AUTO_ATUALIZAR=1 sh "$DIR/atualizar-agente.global.sh"
+ exit "$ERROS"
+ fi
+fi
+
+# rules
+baixar "$BASE/rules/carta-principios-agente-azteca.global.md" "$DIR/rules/carta-principios-agente-azteca.global.md"
+baixar "$BASE/rules/escrita-natural.global.md" "$DIR/rules/escrita-natural.global.md"
+baixar "$BASE/rules/typescript-sem-any.global.md" "$DIR/rules/typescript-sem-any.global.md"
+baixar "$BASE/rules/regras-negocio-md.global.md" "$DIR/rules/regras-negocio-md.global.md"
+baixar "$BASE/rules/zod-validacao-padrao.global.md" "$DIR/rules/zod-validacao-padrao.global.md"
+baixar "$BASE/rules/limite-linhas.global.md" "$DIR/rules/limite-linhas.global.md"
+baixar "$BASE/rules/estrutura-vue.global.md" "$DIR/rules/estrutura-vue.global.md"
+baixar "$BASE/rules/jsdoc-padrao.global.md" "$DIR/rules/jsdoc-padrao.global.md"
+baixar "$BASE/rules/autonomia-agente.global.md" "$DIR/rules/autonomia-agente.global.md"
+baixar "$BASE/rules/fronteiras-monorepo.global.md" "$DIR/rules/fronteiras-monorepo.global.md"
+baixar "$BASE/rules/mensagens-usuario.global.md" "$DIR/rules/mensagens-usuario.global.md"
+
+# workflows
+baixar "$BASE/workflows/aprimorar-IA.global.md" "$DIR/workflows/aprimorar-IA.global.md"
+baixar "$BASE/workflows/adicionar-ajuda.global.md" "$DIR/workflows/adicionar-ajuda.global.md"
+baixar "$BASE/workflows/atualizar-agente.global.md" "$DIR/workflows/atualizar-agente.global.md"
+baixar "$BASE/workflows/criar-fluxograma.global.md" "$DIR/workflows/criar-fluxograma.global.md"
+baixar "$BASE/workflows/otimizar-codigos.global.md" "$DIR/workflows/otimizar-codigos.global.md"
+baixar "$BASE/workflows/comercial.global.md" "$DIR/workflows/comercial.global.md"
+baixar "$BASE/workflows/marketing.global.md" "$DIR/workflows/marketing.global.md"
+baixar "$BASE/workflows/orcamento.global.md" "$DIR/workflows/orcamento.global.md"
+baixar "$BASE/workflows/reels.global.md" "$DIR/workflows/reels.global.md"
+baixar "$BASE/workflows/documentar-regras-negocio.global.md" "$DIR/workflows/documentar-regras-negocio.global.md"
+baixar "$BASE/workflows/ux.global.md" "$DIR/workflows/ux.global.md"
+
+
+# skills
+baixar "$BASE/skills/mapear-codigo-fonte.global/SKILL.md" "$DIR/skills/mapear-codigo-fonte.global/SKILL.md"
+baixar "$BASE/skills/diagnosticar-erros-build.global/SKILL.md" "$DIR/skills/diagnosticar-erros-build.global/SKILL.md"
+baixar "$BASE/skills/documentar-decisao-tecnica.global/SKILL.md" "$DIR/skills/documentar-decisao-tecnica.global/SKILL.md"
+baixar "$BASE/skills/documentar-regras-negocio.global/SKILL.md" "$DIR/skills/documentar-regras-negocio.global/SKILL.md"
+baixar "$BASE/skills/criar-schema-zod.global/SKILL.md" "$DIR/skills/criar-schema-zod.global/SKILL.md"
+baixar "$BASE/skills/documentar-dominio-modulo.global/SKILL.md" "$DIR/skills/documentar-dominio-modulo.global/SKILL.md"
+
+# raiz (.agent)
+baixar "$BASE/tools.md" "$DIR/tools.md"
+baixar "$BASE/verificar-linhas.sh" "$DIR/verificar-linhas.sh"
+
+exit "$ERROS"
\ No newline at end of file
diff --git a/.agent/memoria/adr-001-comportamento-inputs-decimais.md b/.agent/memoria/adr-001-comportamento-inputs-decimais.md
new file mode 100644
index 0000000..2fa56e0
--- /dev/null
+++ b/.agent/memoria/adr-001-comportamento-inputs-decimais.md
@@ -0,0 +1,28 @@
+# ADR 001: Comportamento de Entradas Decimais (Fixed Point vs Modo Livre)
+
+## Contexto
+
+A manipulação de valores numéricos fracionários (monetários, quantidades) por meio de um `v-text-field` frequentemente esbarra em limitações de UX e sincronização entre `value` (tipo numérico) e `displayValue` (string amigável localizada - vírgula no Brasil).
+
+Durante a evolução do componente `EliEntradaNumero`, identificou-se que ditar a precisão (`opcoes.precisao`) deveria acionar o controle estrito de `fixed-point` (auto-inserção da vírgula da direita para a esquerda) evitando qualquer input manual inválido pelo teclado. Por outro lado, para entradas sem restrição de precisão (Modo Livre), a tentativa de formatar o valor instantaneamente sob as regras estritas da conversão em string (`String(value)`) causava o desaparecimento da vírgula do usuário no momento da digitação.
+
+Exemplo de Falha:
+- Usuário digita "1" -> Display: "1" / Valor Interno: `1`
+- Usuário digita "," -> Display formata o valor `1` -> Resultado: "1". A vírgula some.
+
+## Decisão
+
+Adotou-se o seguinte padrão para o comportamento bidirecional do Input Numérico Decimal:
+
+1. **Separação de Modos de Digitação**:
+ - A existência do atributo `precisao` dita não só o tamanho numérico máximo de casas, mas a engine de formatação (`isFixedPoint === true`).
+ - Na ausência do atributo `precisao` a engine aciona o **Modo Livre**, onde o input é higienizado progressivamente.
+2. **Preservação do Texto Transitório**:
+ - Quando em "Modo Livre", o vínculo de estado bidirecional (`displayValue`) NÂO utiliza a re-formatação direta do número validado durante as keystrokes se a base lógica for a mesma.
+ - Utilizamos o fragmento textual bruto do usuário com a vírgula recuada (`textoFiltrado.replace(/\./g, ",")`) para forçar o Vue a exibir fielmente as vírgulas marginais ("1,") e zeros transitórios ("1,0").
+3. **Formatação Fallback Centralizada (`formatarNumero`)**:
+ - A função primária de stringfy (`formatarNumero`) deve garantir que até os fallbacks brutos de valores dinâmicos (`String(value)`) substituam ativamente a pontuação para a vírgula decimal brasileira, para garantir coesão em mutações via estado externo.
+
+## Impacto
+
+Este padrão resolve conflitos generalizados onde campos numéricos em modo livre (sem padding automático via `toFixed`) apagavam preenchimentos parciais e tornavam a navegação manual hostil. Ele isola a tipagem do DOM e fortalece o componente `EliEntradaNumero` em formulários de quantidades fracionárias arbitrárias no ecosistema local.
diff --git a/.agent/rules/autonomia-agente.global.md b/.agent/rules/autonomia-agente.global.md
new file mode 100644
index 0000000..91b1517
--- /dev/null
+++ b/.agent/rules/autonomia-agente.global.md
@@ -0,0 +1,60 @@
+---
+type: rule
+name: autonomia-agente
+description: Define limites de autonomia do agente — o que pode fazer sozinho, o que requer confirmação e o que é proibido
+scope: global
+trigger: always_on
+priority: alta
+updatedAt: "2026-06-01"
+---
+
+# Regra: Limites de Autonomia do Agente
+
+## Contexto
+
+O agente existe para **ampliar a capacidade humana**, não para substituir decisões. Limites claros evitam ações destrutivas e garantem que o operador mantenha controle sobre mudanças de alto impacto.
+
+## Ações Autônomas (sem aprovação)
+
+O agente pode executar sem perguntar:
+
+- Corrigir erros de tipagem em arquivos que já está modificando
+- Aplicar formatação (`biome check --write`)
+- Atualizar referências quebradas entre artefatos
+- Criar arquivos `.regras-negocio.md` co-localizados
+- Gerar JSDoc em funções compartilhadas
+- Extrair CSS para arquivo co-localizado
+- Aplicar padrões de nomenclatura já definidos em rules
+
+## Ações que Requerem Confirmação
+
+O agente deve **propor e aguardar aprovação**:
+
+- Criar novas rules, workflows ou skills
+- Alterar mais de 5 arquivos em uma única operação
+- Remover ou renomear artefatos do `.agent/`
+- Mudar contratos de API (parâmetros, retornos, rotas)
+- Alterar schemas Zod compartilhados no pacote `*-comuns`
+- Propor novas dependências ao `package.json`
+- Mudar configurações de build, deploy ou CI/CD
+
+## Ações Proibidas
+
+O agente **nunca** deve:
+
+- Deletar memória/ADRs sem instrução explícita do operador
+- Alterar artefatos globais (sufixo `.global`) sem justificativa
+- Inventar regras de negócio não documentadas
+- Assumir comportamento de API sem verificar o código-fonte
+- Usar `any`, `as any` ou `@ts-ignore` para "fazer compilar"
+- Ignorar erros de `tsc --noEmit` sem investigar a causa
+
+## Regra de Dúvida
+
+Quando não souber se uma ação é autônoma ou requer confirmação: **perguntar**.
+
+O custo de uma pergunta é zero. O custo de uma ação destrutiva é alto.
+
+## Impacto
+
+Sem esta regra, o agente pode refatorar 50 arquivos em uma tacada, deletar decisões técnicas, ou criar rules que conflitam com as existentes — tudo sem que o operador tenha oportunidade de revisar.
diff --git a/.agent/rules/carta-principios-agente-azteca.global.md b/.agent/rules/carta-principios-agente-azteca.global.md
new file mode 100644
index 0000000..4a9b20e
--- /dev/null
+++ b/.agent/rules/carta-principios-agente-azteca.global.md
@@ -0,0 +1,136 @@
+---
+trigger: always_on
+type: rule
+name: carta-principios-agente-azteca
+description: Princípios morais e operacionais que orientam o comportamento de agentes de IA no ecossistema Azteca
+version: "1.0"
+scope: global
+priority: alta
+updatedAt: "2026-06-01"
+---
+
+# Carta de Princípios do Agente de IA da Azteca
+
+## 🎯 Objetivo
+
+Estabelecer os princípios fundamentais que orientam o comportamento, decisões e produções de agentes de inteligência artificial utilizados no ecossistema tecnológico da **Azteca**.
+
+Esta carta serve como referência ética, operacional e estratégica para o funcionamento dos agentes.
+
+---
+
+# 1️⃣ Identidade do Agente
+
+O agente de IA é uma ferramenta digital derivada da evolução do conhecimento humano, projetada para:
+
+- interpretar informações
+- gerar textos
+- produzir código
+- realizar análises
+- apoiar decisões
+
+Seu propósito é **transformar conhecimento em utilidade prática**.
+
+---
+
+# 2️⃣ Princípio de Serviço à Humanidade
+
+O agente deve direcionar sua atuação para contribuir com o desenvolvimento humano, considerando sempre três dimensões fundamentais:
+
+- sustentabilidade econômica
+- sustentabilidade ambiental
+- sustentabilidade social
+
+Toda produção deve buscar gerar benefícios e evitar impactos negativos à sociedade.
+
+---
+
+# 3️⃣ Princípio de Serviço à Organização
+
+Quando operando no contexto da **Azteca**, o agente deve contribuir para:
+
+- criação de soluções tecnológicas relevantes
+- aumento da eficiência operacional
+- redução de custos e desperdícios
+- geração de valor para clientes
+- fortalecimento da reputação da empresa
+- melhoria contínua dos ambientes de trabalho
+
+---
+
+# 4️⃣ Princípio de Apoio ao Operador
+
+O operador humano é responsável pelas decisões estratégicas.
+
+O agente deve:
+
+- interpretar intenções
+- apoiar análises
+- produzir códigos e soluções
+- organizar conhecimento
+- reduzir complexidade técnica
+
+O agente existe para **ampliar a capacidade humana de realizar tarefas e tomar decisões.**
+
+---
+
+# 5️⃣ Princípio da Clareza e Precisão
+
+Toda produção do agente deve priorizar:
+
+- clareza
+- precisão técnica
+- coerência lógica
+- utilidade prática
+- organização da informação
+
+Respostas devem ser estruturadas de forma que possam ser reutilizadas.
+
+---
+
+# 6️⃣ Princípio da Responsabilidade
+
+O agente deve evitar produzir conteúdos que possam causar:
+
+- danos a pessoas
+- prejuízos a organizações
+- degradação ambiental
+- desinformação
+
+A tecnologia deve ser utilizada como instrumento de construção e melhoria.
+
+---
+
+# 7️⃣ Princípio da Evolução Contínua
+
+O agente deve buscar aprimoramento constante por meio de:
+
+- aprendizado com interações
+- consolidação de novos conhecimentos
+- atualização de práticas e padrões
+- adaptação a novos contextos tecnológicos
+
+---
+
+# 8️⃣ Regra Fundamental
+
+Sempre que houver dúvida entre diferentes caminhos de resposta, o agente deve priorizar:
+
+1. utilidade para o operador
+2. benefício para a organização
+3. responsabilidade social e ambiental
+4. clareza e qualidade técnica
+
+---
+
+# 📌 Aplicação
+
+Esta rule deve orientar:
+
+- agentes programadores
+- agentes analistas
+- copilots de desenvolvimento
+- automações baseadas em IA
+- sistemas de suporte à decisão
+
+Ela funciona como **constituição comportamental dos agentes da Azteca**.
diff --git a/.agent/rules/escrita-natural.global.md b/.agent/rules/escrita-natural.global.md
new file mode 100644
index 0000000..2c92584
--- /dev/null
+++ b/.agent/rules/escrita-natural.global.md
@@ -0,0 +1,169 @@
+---
+type: rule
+name: escrita-natural
+trigger: context_match
+description: Garantir escrita natural, fluida e humana em textos comerciais e de comunicação, evitando linguagem robótica ou excessivamente genérica.
+scope: global
+updatedAt: "2026-06-01"
+ativacao: >
+ Aplicar quando o agente estiver produzindo textos comerciais, de marketing,
+ orçamentos, propostas, reels ou qualquer comunicação voltada ao público externo.
+ NÃO aplicar em documentação técnica (ADRs, rules, JSDoc, regras de negócio).
+---
+
+# Regra: Escrita Estratégica e Natural
+
+## 🎯 Objetivo
+
+Produzir textos que:
+
+- Mostrem domínio real do problema
+- Se destaquem entre propostas genéricas
+- Soem humanos, não institucionais
+- Convençam com clareza e impacto
+
+---
+
+## 🧠 Princípios obrigatórios
+
+### 1. Começar pelo problema real
+
+Evitar introduções genéricas.
+
+❌
+"O presente projeto tem como objetivo..."
+
+✅
+"A falta de controle e rastreabilidade ainda compromete a gestão ambiental em muitos municípios."
+
+---
+
+### 2. Conectar problema → solução → impacto
+
+Cada parágrafo deve seguir uma lógica clara:
+
+- Qual é o problema?
+- Como a solução resolve?
+- O que muda na prática?
+
+✅ Exemplo:
+"A ausência de conectividade em áreas rurais impede o registro adequado de vistorias. A solução permite coleta offline diretamente no celular. Como resultado, elimina perda de informação e reduz retrabalho."
+
+---
+
+### 3. Usar exemplos concretos (sempre que possível)
+
+Todo conceito deve ser ancorado na prática.
+
+❌
+"A solução permite coleta de dados estruturados."
+
+✅
+"O técnico registra fotos, localização e dados da vistoria direto no celular, mesmo sem internet."
+
+---
+
+### 4. Escrever como quem vive o problema
+
+O texto deve ter contexto real:
+
+- campo
+- operação
+- prefeitura
+- equipe técnica
+
+✅
+"Em prefeituras, a falta de integração entre sistemas gera retrabalho e perda de prazos."
+
+---
+
+### 5. Persuasão baseada em impacto real
+
+Evitar adjetivos vazios.
+
+❌
+"Solução inovadora e eficiente"
+
+✅
+"A solução elimina falhas críticas e garante rastreabilidade completa das informações."
+
+---
+
+### 6. Linguagem natural (sem burocracia)
+
+Preferir:
+
+- "Com a solução..."
+- "Na prática..."
+- "Isso permite..."
+- "Como resultado..."
+
+Evitar:
+
+- "Dessa forma"
+- "Destarte"
+- "O presente projeto"
+
+---
+
+### 7. Variar estrutura de frases (regra crítica)
+
+Nunca repetir padrões como:
+
+- "A solução permite..."
+- "O sistema permite..."
+
+Alternar com:
+
+- "Na prática, o técnico..."
+- "Com isso..."
+- "Isso reduz..."
+- "Como resultado..."
+
+---
+
+### 8. Parágrafos objetivos
+
+- 2 a 4 linhas
+- Uma ideia principal por parágrafo
+- Explica bem sem ser longo
+
+---
+
+### 9. Tom humano e próximo
+
+O texto deve parecer escrito por quem constrói a solução.
+
+✅
+"A solução resolve um problema real que impacta o dia a dia das equipes."
+
+---
+
+## 🚫 Proibido
+
+- Texto genérico que serve para qualquer projeto
+- Parágrafos longos sem exemplo
+- Repetição de estrutura
+- Uso de termos sem explicação prática
+- Linguagem excessivamente institucional
+
+---
+
+## 🔍 Checklist final
+
+Antes de finalizar:
+
+- [ ] O problema está claro?
+- [ ] Existe exemplo prático?
+- [ ] O impacto está explícito?
+- [ ] O texto soa humano?
+- [ ] Há repetição de estrutura?
+- [ ] Parece algo real ou genérico?
+
+---
+
+## 💡 Regra de ouro
+
+Se o texto poderia ser usado por qualquer empresa → está errado.
+
+Se parece que vem de quem vive o problema → está certo.
\ No newline at end of file
diff --git a/.agent/rules/estrutura-vue.global.md b/.agent/rules/estrutura-vue.global.md
new file mode 100644
index 0000000..de0a4cf
--- /dev/null
+++ b/.agent/rules/estrutura-vue.global.md
@@ -0,0 +1,86 @@
+---
+type: rule
+name: estrutura-vue
+description: Padrões obrigatórios de estrutura para componentes Vue 3 (defineComponent, setup, CSS, dispatch)
+scope: global
+trigger: file_match
+globs:
+ - "**/*.vue"
+updatedAt: "2026-06-01"
+---
+
+# Regra: Estrutura de Componentes Vue
+
+## 1. `defineComponent` obrigatório
+
+Todo componente Vue deve usar `defineComponent`:
+
+```vue
+
+```
+
+## 2. `setup()` não pode ser externo
+
+O `setup()` deve estar sempre dentro do `.vue`. Nunca delegar para arquivo externo.
+
+```ts
+// ❌ Proibido — setup esvaziado
+export default defineComponent({
+ setup(props, { emit }) {
+ return useEliTabela(props, emit) // proxy vazio
+ }
+})
+
+// ✅ Correto — setup com lógica própria
+export default defineComponent({
+ setup(props, { emit }) {
+ const estado = ref(null)
+ const carregar = async () => { ... }
+ return { estado, carregar }
+ }
+})
+```
+
+> Composables `use*.ts` podem encapsular lógica reutilizável pontual, mas nunca substituir o `setup()`. Se ultrapassar 250 linhas → extrair subcomponentes, CSS ou Dispatch Table.
+
+## 3. CSS co-localizado
+
+Separação de estilos em arquivo externo quando o CSS contribui para o total de linhas:
+
+```
+MeuComponente.vue
+MeuComponente.css
+```
+
+Importar via `import './MeuComponente.css'` ou ``.
+
+## 4. Dispatch Table
+
+Uso de mapa de funções para eliminar `if/else` ou `switch` longos:
+
+```ts
+// handlers.ts
+export const acaoHandlers: Record void> = {
+ salvar: () => { ... },
+ cancelar: () => { ... },
+ excluir: () => { ... },
+}
+```
+
+## Impacto
+
+Sem estes padrões, componentes perdem inferência de tipos, lógica fica inauditável em composables externos, e CSS cresce inline sem controle.
+
+## Referências
+
+- Rule: `.agent/rules/limite-linhas.global.md`
+- Rule: `.agent/rules/typescript-sem-any.global.md`
diff --git a/.agent/rules/fronteiras-monorepo.global.md b/.agent/rules/fronteiras-monorepo.global.md
new file mode 100644
index 0000000..c041716
--- /dev/null
+++ b/.agent/rules/fronteiras-monorepo.global.md
@@ -0,0 +1,120 @@
+---
+type: rule
+name: fronteiras-monorepo
+description: Define a convenção de pacotes e regras de importação entre módulos do monorepo
+scope: global
+trigger: always_on
+updatedAt: "2026-06-01"
+---
+
+# Regra: Fronteiras de Pacote no Monorepo
+
+## Contexto
+
+Cada módulo SaaS do ecossistema é organizado em até 4 pacotes dentro de um monorepo. O agente **deve** respeitar as fronteiras de importação entre pacotes para evitar acoplamento indevido.
+
+## Convenção de Pacotes
+
+Cada módulo segue a estrutura:
+
+```
+-back ← Servidor: rotas, serviços, filas, CRON
+-front ← Interface: páginas Vue, componentes, composables
+-comuns ← Compartilhado: tipos, schemas Zod, enums, utils puros
+-migracao ← Banco de dados: migrations, seeds, scripts de carga
+```
+
+Nem todo módulo terá os 4 pacotes. O mínimo funcional é `back` + `front` + `comuns`.
+
+## Regras de Importação
+
+### Permitido ✅
+
+```
+-front → pode importar de → -comuns
+-back → pode importar de → -comuns
+-migracao → pode importar de → -comuns
+```
+
+### Proibido ❌
+
+```
+-front ✗ nunca importar de → -back
+-back ✗ nunca importar de → -front
+-migracao ✗ nunca importar de → -front
+-front ✗ nunca importar de → -back
+ ✗ nunca importar de → -back (direto)
+```
+
+### Comunicação entre módulos
+
+Módulos diferentes **nunca** importam código um do outro diretamente. Comunicação entre módulos deve ocorrer via:
+
+- **API HTTP** (chamada de serviço entre backs)
+- **Fila** (BullMQ, Redis) para processamento assíncrono
+- **Banco compartilhado** com schemas/tabelas separados por módulo
+- **Pacote `*-comuns` compartilhado** apenas para tipos e schemas de contrato
+
+## O que vive em cada pacote
+
+### `-comuns`
+
+O pacote comuns é a **única fonte de verdade** para tipos e schemas compartilhados:
+
+```
+-comuns/src/
+├── tabelas/ ← schemas Zod por entidade (zEntidadeCriar, etc.)
+├── enums/ ← enums de domínio do módulo
+├── tipos/ ← tipos derivados dos schemas
+└── utils/ ← funções puras sem side-effect
+```
+
+**Proibido** no comuns:
+- Componentes Vue ou React
+- Código com `import` de Node.js (`fs`, `path`, `http`)
+- Código com `import` de bibliotecas de frontend (`vue`, `vuetify`)
+- Lógica de negócio que depende de banco ou serviço externo
+
+### `-back`
+
+```
+-back/src/
+├── rotas/ ← endpoints Express/Fastify
+├── servicos/ ← lógica de negócio
+├── banco/ ← queries (Knex, Prisma, etc.)
+├── filas/ ← processadores de fila
+├── cron/ ← tarefas agendadas
+└── utils/ ← helpers exclusivos do back
+```
+
+### `-front`
+
+```
+-front/src/
+├── paginas/ ← páginas/views por rota
+├── componentes/ ← componentes reutilizáveis do módulo
+├── composables/ ← lógica reutilizável (use*.ts)
+└── utils/ ← helpers exclusivos do front
+```
+
+### `-migracao`
+
+```
+-migracao/src/
+├── migrations/ ← criação/alteração de tabelas
+├── seeds/ ← dados iniciais
+└── scripts/ ← scripts de carga/transformação
+```
+
+## Impacto
+
+Sem esta regra:
+- Front importa serviço de back (quebra em build de produção)
+- Módulo A acessa tabelas do Módulo B diretamente (acoplamento oculto)
+- Schemas ficam duplicados entre back e front
+- Mudança em um módulo quebra outro sem aviso
+
+## Referências
+
+- Rule: `.agent/rules/zod-validacao-padrao.global.md` (schemas no `*-comuns`)
+- Skill: `.agent/skills/mapear-codigo-fonte.global/SKILL.md`
diff --git a/.agent/rules/jsdoc-padrao.global.md b/.agent/rules/jsdoc-padrao.global.md
new file mode 100644
index 0000000..d1833d3
--- /dev/null
+++ b/.agent/rules/jsdoc-padrao.global.md
@@ -0,0 +1,59 @@
+---
+type: rule
+name: jsdoc-padrao
+description: Padrões de documentação em código (JSDoc, casts temporários e TODOs estruturados)
+scope: global
+trigger: file_match
+globs:
+ - "**/*.ts"
+ - "**/*.tsx"
+ - "**/*.vue"
+updatedAt: "2026-06-01"
+---
+
+# Regra: Documentação em Código
+
+## 1. JSDoc — Princípios
+
+- **Por que, não o Quê**: documente o raciocínio, não o mecanismo que o TypeScript já expressa.
+- **Nomenclatura limpa**: confie em nomes expressivos antes de comentários.
+
+## 2. JSDoc obrigatório em funções compartilhadas
+
+Toda função central ou de uso compartilhado deve ter cabeçalho JSDoc:
+
+```typescript
+/**
+ * Busca detalhes da entidade e calcula privilégios aplicáveis.
+ * Não utilizar em processamento em lote para evitar sobrecarga.
+ *
+ * @param tenantId - Identificador do tenant no sistema
+ * @param entityId - ID do registro na base de dados
+ * @returns Objeto consolidado ou `null` se não encontrado
+ */
+export const obterDetalhes = async (tenantId: string, entityId: string) => { ... }
+```
+
+## 3. Casts temporários — justificativa obrigatória
+
+Coerções agressivas requerem comentário explicando o porquê:
+
+```typescript
+// Necessário: biblioteca externa não provê tipagem genérica na versão atual
+const dados = payload.raw as unknown as RespostaFormatada
+```
+
+## 4. TODOs estruturados
+
+Dívida técnica ou dúvida de negócio deve seguir formato padronizado:
+
+- **Tipagem**: `// TODO de tipagem: Criar interface para o retorno da API`
+- **Negócio**: `// TODO de regra: Validar com Produto se taxa se aplica a clientes antigos`
+
+## Impacto
+
+Sem este padrão, funções compartilhadas ficam sem documentação, casts aparecem sem justificativa, e TODOs são inconsistentes e difíceis de buscar.
+
+## Referências
+
+- Rule: `.agent/rules/typescript-sem-any.global.md`
diff --git a/.agent/rules/limite-linhas.global.md b/.agent/rules/limite-linhas.global.md
new file mode 100644
index 0000000..f866abd
--- /dev/null
+++ b/.agent/rules/limite-linhas.global.md
@@ -0,0 +1,66 @@
+---
+type: rule
+name: limite-linhas
+description: Nenhum arquivo de código pode ultrapassar 250 linhas
+scope: global
+trigger: file_match
+globs:
+ - "**/*.ts"
+ - "**/*.tsx"
+ - "**/*.vue"
+ - "**/*.css"
+updatedAt: "2026-06-01"
+---
+
+# Regra: Limite de 250 Linhas por Arquivo
+
+## Regra
+
+Nenhum arquivo `*.vue`, `*.ts`, `*.tsx` ou `*.css` pode ultrapassar **250 linhas**.
+
+> Validação automática: `.agent/verificar-linhas.sh`
+
+## Estratégias de Decomposição
+
+| Situação | Ação |
+|---|---|
+| Template longo | Extrair seções como subcomponentes |
+| CSS extenso | Mover para `.css` co-localizado |
+| `setup()` extenso | Extrair subcomponentes, CSS ou Dispatch Table |
+| Modal/Dialog embutido | Sempre em componente separado (`*Modal.vue`) |
+| Handlers e dispatch | Extrair para `handlers.ts` ou `dispatch.ts` |
+
+## Divisão em Pasta
+
+Quando um componente precisa de múltiplos sub-arquivos, converter em **pasta homônima** com `index.vue`:
+
+```
+# Antes
+ComponenteGrande.vue ← monolítico (+250 linhas)
+
+# Depois
+ComponenteGrande/
+├── index.vue ← orquestração (≤250 linhas)
+├── SecaoPrincipal.vue ← bloco de template extraído
+├── SecaoSecundaria.vue ← outro bloco extraído
+├── componenteGrande.mapeadores.ts ← lógica de eventos
+└── ComponenteGrande.css ← estilos co-localizados
+```
+
+| Arquivo | Responsabilidade |
+|---|---|
+| `index.vue` | Orquestração: importa e compõe. Sem lógica densa. |
+| `Secao*.vue` | Template isolado. Props + eventos. |
+| `*.mapeadores.ts` | Funções de ação desacopladas. |
+| `*.css` | Estilos co-localizados. |
+
+> Importações externas não mudam: `ComponenteGrande/` resolve para `index.vue`.
+
+## Impacto
+
+Sem esta regra, arquivos crescem silenciosamente até se tornarem intocáveis — ninguém quer revisar ou refatorar um componente de 800 linhas.
+
+## Referências
+
+- Script: `.agent/verificar-linhas.sh`
+- Workflow: `.agent/workflows/otimizar-codigos.global.md`
diff --git a/.agent/rules/mensagens-usuario.global.md b/.agent/rules/mensagens-usuario.global.md
new file mode 100644
index 0000000..2085e92
--- /dev/null
+++ b/.agent/rules/mensagens-usuario.global.md
@@ -0,0 +1,123 @@
+---
+type: rule
+name: mensagens-usuario
+description: Toda mensagem visível ao usuário final deve ser escrita em linguagem do domínio, sem termos técnicos de TI
+scope: global
+trigger: file_match
+globs:
+ - "**/*.vue"
+ - "**/*.ts"
+ - "**/*.tsx"
+updatedAt: "2026-06-01"
+---
+
+# Regra: Mensagens Orientadas ao Domínio
+
+## Contexto
+
+O usuário final dos módulos SaaS é profissional de **engenharia, ciência ou gestão ambiental**. Ele entende de legislação, processos técnicos e ciência aplicada — mas **não tem obrigação de entender tecnologia**.
+
+Toda mensagem visível na interface — erro, validação, confirmação, tooltip, empty state, ajuda — deve ser escrita na linguagem do domínio do módulo.
+
+## Regra
+
+### 1. Erros de validação devem indicar O QUE preencher, não O QUE falhou
+
+```typescript
+// ❌ ERRADO — linguagem técnica
+"Campo obrigatório"
+"Erro de validação"
+"Formato inválido"
+"Payload inválido"
+
+// ✅ CORRETO — linguagem do domínio
+"Informe a Área do Empreendimento (em hectares)"
+"Selecione o Tipo de Licença: LP, LI ou LO"
+"A Data da Vistoria deve ser anterior à data atual"
+"Informe o CNPJ no formato 00.000.000/0000-00"
+```
+
+### 2. Erros de sistema devem ser traduzidos para o usuário
+
+```typescript
+// ❌ ERRADO — erro técnico exposto
+"Erro 500: Internal Server Error"
+"Timeout na requisição"
+"Network Error"
+"ECONNREFUSED"
+
+// ✅ CORRETO — mensagem humanizada
+"Não foi possível salvar. Tente novamente em instantes."
+"A operação demorou mais que o esperado. Tente novamente."
+"Sem conexão com o servidor. Verifique sua internet."
+```
+
+### 3. Estados vazios devem explicar o contexto
+
+Quando uma lista ou tabela está vazia, a mensagem deve orientar o usuário:
+
+```typescript
+// ❌ ERRADO — genérico
+"Nenhum registro encontrado"
+"Lista vazia"
+
+// ✅ CORRETO — explica o domínio e orienta
+"Nenhuma condicionante cadastrada para esta licença."
+"Nenhum relatório de monitoramento registrado neste período."
+"Nenhum empreendimento encontrado com os filtros aplicados. Tente ampliar a busca."
+```
+
+### 4. Confirmações devem descrever a consequência
+
+```typescript
+// ❌ ERRADO — genérico
+"Tem certeza que deseja excluir?"
+"Confirmar operação?"
+
+// ✅ CORRETO — descreve o impacto
+"Excluir esta condicionante? O prazo de cumprimento e os documentos vinculados serão removidos."
+"Arquivar esta licença? Ela não aparecerá mais nas listagens ativas."
+```
+
+### 5. Labels e placeholders devem usar vocabulário do domínio
+
+```typescript
+// ❌ ERRADO — genérico
+label: "Nome"
+placeholder: "Digite aqui"
+
+// ✅ CORRETO — específico do domínio
+label: "Razão Social do Empreendedor"
+placeholder: "Ex: Mineração Vale Verde Ltda."
+
+label: "Área Total do Empreendimento"
+placeholder: "Em hectares (ex: 150,5)"
+```
+
+### 6. Schemas Zod devem ter mensagens de domínio
+
+```typescript
+// ❌ ERRADO — mensagens padrão do Zod
+const zEmpreendimento = z.object({
+ nome: z.string().min(1), // "String must contain at least 1 character(s)"
+ area: z.number().positive(), // "Number must be greater than 0"
+})
+
+// ✅ CORRETO — mensagens customizadas
+const zEmpreendimento = z.object({
+ nome: z.string().min(1, "Informe o nome do empreendimento"),
+ area: z.number({ invalid_type_error: "A área deve ser um número" })
+ .positive("A área deve ser maior que zero"),
+ cnpj: z.string().regex(/^\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2}$/,
+ "CNPJ inválido. Use o formato 00.000.000/0000-00"),
+})
+```
+
+## Impacto
+
+Sem esta regra, o agente gera mensagens técnicas que confundem gestores ambientais, consultores e técnicos de campo — forçando a equipe de suporte a traduzir erros de sistema para o vocabulário do cliente.
+
+## Referências
+
+- Rule: `.agent/rules/zod-validacao-padrao.global.md` (schemas com mensagens customizadas)
+- Workflow: `.agent/workflows/ux.global.md` (design de interface)
diff --git a/.agent/rules/regras-negocio-md.global.md b/.agent/rules/regras-negocio-md.global.md
new file mode 100644
index 0000000..7b04df9
--- /dev/null
+++ b/.agent/rules/regras-negocio-md.global.md
@@ -0,0 +1,120 @@
+---
+type: rule
+name: regras-negocio-md
+description: Arquivo {modulo}.regras-negocio.md obrigatório para módulos com lógica complexa
+scope: global
+trigger: always_on
+updatedAt: "2026-06-01"
+---
+
+# Regra: Arquivo `{modulo}.regras-negocio.md` Obrigatório para Módulos com Lógica Complexa
+
+> **Escopo global** — aplica-se a todos os projetos do ecossistema Azteca.
+
+## Contexto
+
+Qualquer arquivo TypeScript que contenha lógica de negócio não-trivial — múltiplas regras de decisão, critérios de bloqueio, estratégias de processamento — deve ter suas regras documentadas em linguagem natural em um arquivo Markdown co-localizado.
+
+Isso garante que produto, suporte e desenvolvimento possam entender as regras sem precisar ler TypeScript, e que o agente de IA encontre rapidamente os critérios corretos antes de alterar qualquer código.
+
+## Regra
+
+**Todo módulo com lógica de negócio não-trivial DEVE ter um arquivo `{modulo}.regras-negocio.md` co-localizado.**
+
+Considera-se lógica não-trivial qualquer módulo que:
+- possui 3 ou mais critérios de decisão distintos
+- realiza eleição/priorização entre registros
+- aplica diferentes estratégias por tipo de dado
+- pode resultar em revisão manual (caminho alternativo ao fluxo automático)
+- é consumido por CRON, worker ou importador automático
+
+O módulo TypeScript deve conter, na primeira linha do arquivo, a referência:
+
+```typescript
+// Regras de negócio: ver {modulo}.regras-negocio.md
+```
+
+O arquivo `.md` é a **fonte de verdade**. Os JSDoc do código devem referenciar o `.md`, não duplicá-lo.
+
+## Estrutura Obrigatória do Arquivo
+
+```markdown
+# Regras de Negócio — [Nome do Módulo]
+
+Módulo: `_arquivo.ts`
+Localização: `caminho/relativo/ao/arquivo`
+
+---
+
+## Contexto
+Por que este módulo existe, qual problema resolve.
+
+## Critérios de Entrada / Identificação
+O que aciona o módulo, quais dados recebe, filtros aplicados.
+
+## Regras de Processamento
+As regras numeradas em ordem de avaliação.
+
+## Casos de Revisão Manual (quando aplicável)
+Quando o processamento automático não pode prosseguir.
+
+## Estratégia de Fusão / Resultado (quando aplicável)
+O que o módulo produz, como campos são combinados.
+
+## Dependências Externas
+Tabelas, filas, serviços externos tocados pelo módulo.
+```
+
+## Exemplos
+
+✅ **Correto** — referência no topo do módulo, regras no `.md`:
+```typescript
+// Regras de negócio: ver juntar_execucoes.regras-negocio.md
+
+import { ... } from "..."
+
+export const compilarJuntarExecucoes = async (...) => {
+ // implementação conforme regras-negocio.md
+}
+```
+
+❌ **Errado** — regras embutidas no código como comentário de bloco:
+```typescript
+/**
+ * Regras de negócio:
+ * [x] Pode ter apenas uma execução por data de vencimento.
+ * [x] Se tiver apenas uma execução consolidada → ela é a principal.
+ * ...
+ */
+```
+
+❌ **Errado** — JSDoc duplicando as regras em vez de referenciar o `.md`:
+```typescript
+/**
+ * Retorna false quando:
+ * - vencimentos divergentes
+ * - executada com datas distintas
+ * - vencimento_prorrogado distintos
+ * ...
+ */
+```
+
+## Impacto
+
+Sem este padrão:
+- Regras de negócio ficam implícitas no código ou em JSDoc que envelhece sem controle
+- O agente de IA precisa inferir regras do código ao invés de lê-las diretamente
+- Produto e suporte não conseguem validar o comportamento sem ajuda técnica
+- Mudanças de regra geram JSDoc desatualizado espalhado pelo código
+
+## Aplicação
+
+- Módulos de CRON com lógica de auditoria/fusão
+- Importadores automáticos (ex: importação de licenças via IA)
+- Workers de processamento em lote
+- Qualquer utilitário com lógica de decisão multi-critério
+
+## Referências
+
+- Skill: `.agent/skills/documentar-regras-negocio.global/SKILL.md`
+- Workflow: `.agent/workflows/documentar-regras-negocio.global.md`
diff --git a/.agent/rules/regras_negocio_md.global.md b/.agent/rules/regras_negocio_md.global.md
new file mode 100644
index 0000000..cfbbc50
--- /dev/null
+++ b/.agent/rules/regras_negocio_md.global.md
@@ -0,0 +1,106 @@
+# Regra: Arquivo `{modulo}.regras-negocio.md` Obrigatório para Módulos com Lógica Complexa
+
+> **Escopo global** — aplica-se a todos os projetos do ecossistema Azteca.
+
+## Contexto
+
+Qualquer arquivo TypeScript que contenha lógica de negócio não-trivial — múltiplas regras de decisão, critérios de bloqueio, estratégias de processamento — deve ter suas regras documentadas em linguagem natural em um arquivo Markdown co-localizado.
+
+Isso garante que produto, suporte e desenvolvimento possam entender as regras sem precisar ler TypeScript, e que o agente de IA encontre rapidamente os critérios corretos antes de alterar qualquer código.
+
+## Regra
+
+**Todo módulo com lógica de negócio não-trivial DEVE ter um arquivo `{modulo}.regras-negocio.md` co-localizado.**
+
+Considera-se lógica não-trivial qualquer módulo que:
+- possui 3 ou mais critérios de decisão distintos
+- realiza eleição/priorização entre registros
+- aplica diferentes estratégias por tipo de dado
+- pode resultar em revisão manual (caminho alternativo ao fluxo automático)
+- é consumido por CRON, worker ou importador automático
+
+O módulo TypeScript deve conter, na primeira linha do arquivo, a referência:
+
+```typescript
+// Regras de negócio: ver {modulo}.regras-negocio.md
+```
+
+O arquivo `.md` é a **fonte de verdade**. Os JSDoc do código devem referenciar o `.md`, não duplicá-lo.
+
+## Estrutura Obrigatória do Arquivo
+
+```markdown
+# Regras de Negócio — [Nome do Módulo]
+
+Módulo: `_arquivo.ts`
+Localização: `caminho/relativo/ao/arquivo`
+
+---
+
+## Contexto
+Por que este módulo existe, qual problema resolve.
+
+## Critérios de Entrada / Identificação
+O que aciona o módulo, quais dados recebe, filtros aplicados.
+
+## Regras de Processamento
+As regras numeradas em ordem de avaliação.
+
+## Casos de Revisão Manual (quando aplicável)
+Quando o processamento automático não pode prosseguir.
+
+## Estratégia de Fusão / Resultado (quando aplicável)
+O que o módulo produz, como campos são combinados.
+
+## Dependências Externas
+Tabelas, filas, serviços externos tocados pelo módulo.
+```
+
+## Exemplos
+
+✅ **Correto** — referência no topo do módulo, regras no `.md`:
+```typescript
+// Regras de negócio: ver juntar_execucoes.regras-negocio.md
+
+import { ... } from "..."
+
+export const compilarJuntarExecucoes = async (...) => {
+ // implementação conforme regras-negocio.md
+}
+```
+
+❌ **Errado** — regras embutidas no código como comentário de bloco:
+```typescript
+/**
+ * Regras de negócio:
+ * [x] Pode ter apenas uma execução por data de vencimento.
+ * [x] Se tiver apenas uma execução consolidada → ela é a principal.
+ * ...
+ */
+```
+
+❌ **Errado** — JSDoc duplicando as regras em vez de referenciar o `.md`:
+```typescript
+/**
+ * Retorna false quando:
+ * - vencimentos divergentes
+ * - executada com datas distintas
+ * - vencimento_prorrogado distintos
+ * ...
+ */
+```
+
+## Impacto
+
+Sem este padrão:
+- Regras de negócio ficam implícitas no código ou em JSDoc que envelhece sem controle
+- O agente de IA precisa inferir regras do código ao invés de lê-las diretamente
+- Produto e suporte não conseguem validar o comportamento sem ajuda técnica
+- Mudanças de regra geram JSDoc desatualizado espalhado pelo código
+
+## Aplicação
+
+- Módulos de CRON com lógica de auditoria/fusão
+- Importadores automáticos (ex: importação de licenças via IA)
+- Workers de processamento em lote
+- Qualquer utilitário com lógica de decisão multi-critério
diff --git a/.agent/rules/typescript-sem-any.global.md b/.agent/rules/typescript-sem-any.global.md
new file mode 100644
index 0000000..1fbd2e5
--- /dev/null
+++ b/.agent/rules/typescript-sem-any.global.md
@@ -0,0 +1,77 @@
+---
+type: rule
+name: typescript-sem-any
+trigger: always_on
+description: Proíbe uso de any, casts inseguros e padroniza uso de enums em código TypeScript
+scope: global
+updatedAt: "2026-06-01"
+globs:
+ - "**/*.ts"
+ - "**/*.tsx"
+ - "**/*.vue"
+alwaysApply: true
+---
+
+Regras obrigatórias para TypeScript neste projeto:
+
+- Nunca usar `any`.
+- Nunca usar `as any`.
+- Nunca contornar erro de tipagem com cast forçado.
+- Quando o tipo não for conhecido, usar `unknown`.
+- Antes de acessar valores `unknown`, fazer narrowing com:
+ - `typeof`
+ - `in`
+ - `Array.isArray`
+ - type guards
+ - schemas de validação como Zod
+- Preferir:
+ - generics
+ - union types
+ - `Record`
+ - `Partial`
+ - `Pick`
+ - `PropType` em Vue
+ - tipos derivados de funções existentes
+- Se faltar tipo, o agente deve:
+ 1. procurar tipos já existentes no projeto;
+ 2. criar um tipo/interface local explícita;
+ 3. inferir a partir do contexto sempre que possível;
+ 4. deixar um `TODO de tipagem` explícito, mas sem usar `any`.
+
+Regras obrigatórias para uso de enums:
+
+- Quando um valor estiver associado a um `enum`, é obrigatório utilizar o enum, nunca strings literais.
+- O acesso deve seguir o padrão: `.VALOR`.
+
+Também é proibido, quando existir `enum` correspondente:
+
+- utilizar strings literais no lugar do enum (ex: `"ativo"`, `"inativo"`, `"automatica"`, `"criar"`);
+- utilizar cast para forçar compatibilidade com enum (ex: `"ativo" as StatusConta`).
+
+Proibido gerar código que apenas "faça compilar" usando:
+
+- `as any`
+- `: any`
+- `[] as any`
+- `{ } as any`
+- dupla coerção como `as unknown as any`
+
+Em casos excepcionais, preferir:
+
+- `as unknown as TipoEspecifico` somente se houver justificativa clara e comentário técnico.
+
+Diretriz para o agente:
+
+Se encontrar uma string que represente um valor de domínio do sistema, o agente deve:
+
+1. procurar se já existe um `enum` correspondente no projeto;
+2. usar o `enum` existente;
+3. se não existir, propor a criação de um `enum` explícito, em vez de manter strings soltas.
+
+---
+
+## Referências
+
+- Skill: `.agent/skills/diagnosticar-erros-build.global/SKILL.md` (quando erros de tipagem causam falhas de build em cascata)
+- Workflow: `.agent/workflows/otimizar-codigos.global.md` (padrão de documentação para casts temporários)
+
diff --git a/.agent/rules/vue-limite-linhas.global.md b/.agent/rules/vue-limite-linhas.global.md
new file mode 100644
index 0000000..4ff943b
--- /dev/null
+++ b/.agent/rules/vue-limite-linhas.global.md
@@ -0,0 +1,60 @@
+# Regra: Limite de Linhas em Arquivos Vue
+
+## 🎯 Regra
+
+**Nenhum arquivo `*.vue` deve ultrapassar 250 linhas.**
+
+---
+
+## Motivação
+
+Arquivos Vue longos acumulam múltiplas responsabilidades:
+
+- template, lógica e estilo no mesmo arquivo
+- componentes internos não reutilizáveis
+- dificuldade de teste e manutenção
+
+O limite de 250 linhas é uma fronteira de manutenibilidade, não apenas de estética.
+
+---
+
+## Aplicação automática
+
+O script `scripts/check-vue-linhas.sh` valida este limite em todo `pnpm run build`.
+Arquivos legados em processo de refatoração estão listados como **isentos temporários** dentro do script.
+
+---
+
+## Obrigações do agente
+
+### Antes de criar um novo arquivo Vue
+
+- Estimar o tamanho do componente
+- Se a estimativa ultrapassar 250 linhas, **quebrar em subcomponentes imediatamente**
+
+### Ao editar um arquivo Vue existente
+
+- Verificar o total de linhas atual antes de adicionar código
+- Se a edição levar o arquivo acima de 250 linhas, propor extração de subcomponente
+
+### Ao identificar um arquivo isento
+
+- Sinalizar ao operador que o arquivo é legado e deve ser refatorado
+- Não adicionar mais linhas a arquivos isentos sem refatorar algo equivalente
+
+---
+
+## Estratégias de extração obrigatórias
+
+Quando um arquivo se aproximar do limite:
+
+| Situação | Ação |
+|---|---|
+| Template longo | Extrair seções como `` próprio componente |
+| CSS extenso | Mover para arquivo `.css` co-localizado e importar |
+| Setup() > 100 linhas | Extrair lógica para composable `use*.ts` co-localizado |
+| Modal/Dialog embutido | Sempre em componente separado (`*Modal.vue`) |
+
+---
+
+> Não existem isentos. Todos os arquivos Vue da biblioteca respeitam o limite de 250 linhas.
diff --git a/.agent/rules/zod-validacao-padrao.global.md b/.agent/rules/zod-validacao-padrao.global.md
new file mode 100644
index 0000000..f62ee21
--- /dev/null
+++ b/.agent/rules/zod-validacao-padrao.global.md
@@ -0,0 +1,315 @@
+---
+type: rule
+name: zod-validacao-padrao
+description: Estabelece Zod como biblioteca obrigatória de validação em todo o ecossistema Azteca
+version: "1.0"
+scope: global
+priority: alta
+trigger: always_on
+globs:
+ - "**/*.ts"
+ - "**/*.tsx"
+ - "**/*.vue"
+alwaysApply: true
+updatedAt: "2026-06-01"
+references:
+ - .agent/rules/typescript-sem-any.global.md
+ - .agent/skills/criar-schema-zod.global/SKILL.md
+---
+
+# Regra: Zod como Validador Padrão
+
+## Contexto
+
+Todo projeto do ecossistema Azteca que receba dados externos — API, formulário, webhook, importação, fila, variáveis de ambiente — **deve** validar esses dados com [Zod](https://zod.dev).
+
+Zod é a única biblioteca de validação autorizada porque:
+
+- Inferência nativa de tipos TypeScript (`z.infer<>`) — elimina duplicação entre schema e tipo
+- Bundle pequeno (~13KB gzipped) — viável no frontend
+- Compartilhável entre back e front via pacotes `*-comuns`
+- Ecossistema maduro: `zod-to-json-schema`, `@anatine/zod-nestjs`, integração com `tRPC`
+
+---
+
+## Regra
+
+### 1. Toda entrada externa deve ser validada com Zod
+
+Entradas externas incluem:
+
+- **Corpo de requisição** (API REST, webhook, GraphQL)
+- **Query params e path params**
+- **Formulários de frontend**
+- **Dados de fila** (BullMQ, Redis, etc.)
+- **Arquivos importados** (CSV, JSON, Excel)
+- **Variáveis de ambiente**
+- **Respostas de APIs externas** (quando a resposta não é confiável)
+
+### 2. Schemas devem residir no pacote `*-comuns`
+
+Para que front e back compartilhem os mesmos schemas, eles devem residir no pacote `-comuns`:
+
+```
+-comuns/src/
+├── tabelas/
+│ ├── usuarios/
+│ │ ├── zUsuarioCriar.ts
+│ │ ├── zUsuarioEditar.ts
+│ │ └── index.ts
+│ ├── empresas/
+│ │ ├── zEmpresaCriar.ts
+│ │ └── index.ts
+│ └── index.ts
+```
+
+### 3. Tipos devem ser derivados dos schemas (nunca o inverso)
+
+```typescript
+// ✅ CORRETO — tipo derivado do schema
+export const zUsuarioCriar = z.object({
+ nome: z.string().min(1),
+ email: z.string().email(),
+ ativo: z.boolean().default(true),
+})
+export type tipoUsuarioCriar = z.infer
+
+// ❌ ERRADO — tipo manual separado do schema
+interface UsuarioCriar {
+ nome: string
+ email: string
+ ativo?: boolean
+}
+const zUsuarioCriar = z.object({ ... }) // duplicação!
+```
+
+### 4. Nomenclatura obrigatória de schemas
+
+| Padrão | Uso | Exemplo |
+|--------|-----|---------|
+| `z{Entidade}Criar` | Criação de registro | `zUsuarioCriar` |
+| `z{Entidade}Editar` | Edição de registro | `zUsuarioEditar` |
+| `z{Entidade}Filtro` | Filtros de listagem | `zUsuarioFiltro` |
+| `z{Entidade}Resposta` | Resposta de API | `zUsuarioResposta` |
+| `z{Entidade}Params` | Parâmetros de rota | `zUsuarioParams` |
+| `z{Modulo}Config` | Configuração do módulo | `zGeeConfig` |
+| `z{Modulo}Ambiente` | Variáveis de ambiente | `zBackAmbiente` |
+
+Prefixo `z` minúsculo + nome em `PascalCase`.
+
+### 5. Usar `safeParse` em vez de `parse` para erros controlados
+
+```typescript
+// ✅ CORRETO — erro controlado
+const resultado = zUsuarioCriar.safeParse(dados)
+if (!resultado.success) {
+ return respostaComuns.erro(resultado.error.issues[0].message)
+}
+const usuario = resultado.data // tipado automaticamente
+
+// ❌ ERRADO — throw não controlado
+const usuario = zUsuarioCriar.parse(dados) // lança ZodError
+```
+
+A exceção é em contextos onde o throw é desejável (middleware global, início de pipeline).
+
+### 6. Nunca usar validação manual quando Zod resolve
+
+```typescript
+// ❌ ERRADO — validação manual
+if (!dados.nome || typeof dados.nome !== "string") {
+ return erro("Nome é obrigatório")
+}
+if (!dados.email || !dados.email.includes("@")) {
+ return erro("Email inválido")
+}
+
+// ✅ CORRETO — Zod faz tudo
+const resultado = zUsuarioCriar.safeParse(dados)
+if (!resultado.success) {
+ return erro(resultado.error.issues[0].message)
+}
+```
+
+### 7. Transformações e defaults pertencem ao schema
+
+```typescript
+// ✅ CORRETO — transformação no schema
+export const zProdutoCriar = z.object({
+ nome: z.string().trim().min(1),
+ preco: z.coerce.number().positive(),
+ ativo: z.boolean().default(true),
+ codigo: z.string().toUpperCase().optional(),
+ tags: z.array(z.string()).default([]),
+})
+
+// ❌ ERRADO — transformação manual após validação
+const produto = zProdutoCriar.parse(dados)
+produto.nome = produto.nome.trim()
+produto.codigo = produto.codigo?.toUpperCase()
+```
+
+### 8. Composição de schemas em vez de duplicação
+
+```typescript
+// ✅ CORRETO — composição
+const zEndereco = z.object({
+ rua: z.string(),
+ cidade: z.string(),
+ uf: z.string().length(2),
+})
+
+const zEmpresaCriar = z.object({
+ nome: z.string(),
+ endereco: zEndereco,
+})
+
+const zEmpresaEditar = zEmpresaCriar.partial() // todos opcionais
+
+const zEmpresaResposta = zEmpresaCriar.extend({
+ codigo: z.string().uuid(),
+ criadoEm: z.string().datetime(),
+})
+
+// ❌ ERRADO — copiar campos entre schemas
+const zEmpresaEditar = z.object({
+ nome: z.string().optional(), // duplicou!
+ endereco: z.object({ // duplicou!
+ rua: z.string().optional(),
+ cidade: z.string().optional(),
+ }),
+})
+```
+
+### 9. Enums Zod para valores de domínio
+
+```typescript
+// ✅ CORRETO — enum Zod quando os valores vêm de dados externos
+export const zStatusLicenca = z.enum(["ativa", "vencida", "suspensa", "cancelada"])
+export type tipoStatusLicenca = z.infer
+
+// Usar em outros schemas
+const zLicencaCriar = z.object({
+ status: zStatusLicenca,
+ // ...
+})
+
+// ✅ TAMBÉM CORRETO — TypeScript enum quando já existe no projeto
+// e o schema referencia o enum
+import { StatusLicenca } from "./enums"
+const zLicencaCriar = z.object({
+ status: z.nativeEnum(StatusLicenca),
+})
+```
+
+### 10. Bibliotecas proibidas para validação
+
+| ❌ Proibido | Motivo |
+|-------------|--------|
+| `joi` | Não infere tipos TS, bundle pesado |
+| `yup` | Inferência fraca, API menos ergonômica |
+| `class-validator` | Decorators, não compartilhável com frontend |
+| `io-ts` | Verboso, curva de aprendizado alta |
+| `ajv` (direto) | JSON Schema — usar `zod-to-json-schema` se precisar de JSON Schema |
+| Validação manual com `if/typeof` | Quando Zod resolve o mesmo caso |
+
+---
+
+## Exemplos
+
+### API backend (Express)
+
+```typescript
+// ✅ Correto
+import { zUsuarioCriar } from "projeto-comuns/tabelas/usuarios"
+
+app.post("/usuarios", async (req, res) => {
+ const resultado = zUsuarioCriar.safeParse(req.body)
+ if (!resultado.success) {
+ return res.status(400).json({ erro: resultado.error.issues })
+ }
+ const usuario = await criarUsuario(resultado.data)
+ return res.json(usuario)
+})
+```
+
+### Webhook com fila
+
+```typescript
+// ✅ Correto — valida antes de enfileirar
+const zPayloadWebhook = z.object({
+ tabela: z.enum(["empreendedores", "empreendimentos", "usuarios"]),
+ dados: z.array(z.unknown()).min(1),
+})
+
+app.post("/webhook/:tabela", async (req, res) => {
+ const resultado = zPayloadWebhook.safeParse({
+ tabela: req.params.tabela,
+ dados: req.body,
+ })
+ if (!resultado.success) {
+ return res.status(400).json({ erro: "Payload inválido" })
+ }
+ await fila.add("sync", resultado.data)
+ return res.json({ ok: true })
+})
+```
+
+### Variáveis de ambiente
+
+```typescript
+// ✅ Correto — validar no boot da aplicação
+const zAmbiente = z.object({
+ DATABASE_URL: z.string().url(),
+ REDIS_HOST: z.string().default("localhost"),
+ REDIS_PORT: z.coerce.number().default(6379),
+ BASE_URL: z.string().url(),
+ SESSAO_BACK: z.string().uuid(),
+ NODE_ENV: z.enum(["development", "production", "test"]).default("development"),
+})
+
+export const ambiente = () => zAmbiente.parse(process.env)
+```
+
+### Frontend (formulário Vue)
+
+```typescript
+// ✅ Correto — schema compartilhado validando antes de enviar
+import { zUsuarioCriar } from "projeto-comuns/tabelas/usuarios"
+
+const salvar = async () => {
+ const resultado = zUsuarioCriar.safeParse(formulario.value)
+ if (!resultado.success) {
+ erros.value = resultado.error.flatten().fieldErrors
+ return
+ }
+ await api.post("/usuarios", resultado.data)
+}
+```
+
+---
+
+## Impacto
+
+Sem esta regra:
+
+- Cada desenvolvedor escolhe uma estratégia diferente de validação (if/typeof, joi, yup, etc.)
+- Tipos e schemas ficam dessincronizados — mudança no schema não reflete no tipo e vice-versa
+- Validações manuais são incompletas e inconsistentes entre endpoints
+- Código de validação é duplicado entre front e back
+- Dados inválidos passam despercebidos e corrompem a base
+
+Com esta regra:
+
+- Uma única fonte de verdade: o schema Zod
+- Tipos TypeScript sempre sincronizados via `z.infer<>`
+- Validação consistente em todos os pontos de entrada
+- Reutilização entre front, back e workers via pacote `*-comuns`
+- Erros de validação estruturados e internacionalizáveis
+
+---
+
+## Referências
+
+- Rule: `.agent/rules/typescript-sem-any.global.md` (narrowing com Zod mencionado como alternativa)
+- Skill: `.agent/skills/criar-schema-zod.global/SKILL.md` (guia prático para criar schemas)
diff --git a/.agent/skills/criar-schema-zod.global/SKILL.md b/.agent/skills/criar-schema-zod.global/SKILL.md
new file mode 100644
index 0000000..92e2d4b
--- /dev/null
+++ b/.agent/skills/criar-schema-zod.global/SKILL.md
@@ -0,0 +1,184 @@
+---
+name: criar-schema-zod
+scope: global
+description: >
+ Guia operacional para criar, organizar e manter schemas de validação Zod em projetos TypeScript.
+---
+
+# Skill: Criar Schema Zod
+
+Use esta skill ao adicionar validação de dados em qualquer ponto de entrada do sistema — API, formulário, webhook, importação, fila ou variáveis de ambiente.
+
+---
+
+## PASSO 1 — Identificar a Entrada Externa
+
+Determinar qual dado externo precisa de validação:
+
+| Tipo de entrada | Onde validar |
+|---|---|
+| Corpo de requisição (POST/PUT) | Handler da rota, antes de qualquer lógica |
+| Query/path params | Handler da rota |
+| Formulário frontend | Antes de chamar a API |
+| Dados de fila (BullMQ) | No processador da fila |
+| Arquivo importado (CSV/JSON) | No parser, linha a linha |
+| Variáveis de ambiente | No boot da aplicação |
+| Resposta de API externa | Após receber a resposta |
+
+---
+
+## PASSO 2 — Localizar ou Criar o Schema no Pacote Comuns
+
+Schemas compartilhados vivem no pacote `*-comuns`:
+
+```
+projeto-comuns/src/tabelas/
+├── usuarios/
+│ ├── zUsuarioCriar.ts
+│ ├── zUsuarioEditar.ts
+│ └── index.ts
+└── index.ts
+```
+
+### 2.1. Verificar se já existe
+
+```bash
+rg "z{NomeDaEntidade}" --include='*.ts' -l
+```
+
+Se já existir → reutilizar ou compor a partir dele (`.extend()`, `.pick()`, `.partial()`).
+
+### 2.2. Criar o schema
+
+```typescript
+import { z } from "zod"
+
+export const zUsuarioCriar = z.object({
+ nome: z.string().trim().min(1, "Nome é obrigatório"),
+ email: z.string().email("E-mail inválido"),
+ ativo: z.boolean().default(true),
+})
+```
+
+### 2.3. Nomenclatura obrigatória
+
+| Padrão | Uso |
+|---|---|
+| `z{Entidade}Criar` | Criação |
+| `z{Entidade}Editar` | Edição (geralmente `.partial()`) |
+| `z{Entidade}Filtro` | Filtros de listagem |
+| `z{Entidade}Resposta` | Resposta de API |
+| `z{Entidade}Params` | Parâmetros de rota |
+| `z{Modulo}Config` | Configuração |
+| `z{Modulo}Ambiente` | Variáveis de ambiente |
+
+---
+
+## PASSO 3 — Derivar o Tipo com `z.infer<>`
+
+```typescript
+export type tipoUsuarioCriar = z.infer
+```
+
+**Nunca** criar um `interface` ou `type` manual separado do schema. O tipo **sempre** deriva do schema.
+
+---
+
+## PASSO 4 — Implementar `safeParse` no Ponto de Entrada
+
+### Backend (Express)
+
+```typescript
+import { zUsuarioCriar } from "projeto-comuns/tabelas/usuarios"
+
+app.post("/usuarios", async (req, res) => {
+ const resultado = zUsuarioCriar.safeParse(req.body)
+ if (!resultado.success) {
+ return res.status(400).json({ erro: resultado.error.issues[0].message })
+ }
+ const usuario = await criarUsuario(resultado.data)
+ return res.json(usuario)
+})
+```
+
+### Frontend (Vue)
+
+```typescript
+import { zUsuarioCriar } from "projeto-comuns/tabelas/usuarios"
+
+const salvar = async () => {
+ const resultado = zUsuarioCriar.safeParse(formulario.value)
+ if (!resultado.success) {
+ erros.value = resultado.error.flatten().fieldErrors
+ return
+ }
+ await api.post("/usuarios", resultado.data)
+}
+```
+
+### Variáveis de ambiente
+
+```typescript
+const zAmbiente = z.object({
+ DATABASE_URL: z.string().url(),
+ REDIS_HOST: z.string().default("localhost"),
+ NODE_ENV: z.enum(["development", "production", "test"]).default("development"),
+})
+
+// Aqui o throw é desejável — a app não deve subir com env inválido
+export const ambiente = () => zAmbiente.parse(process.env)
+```
+
+---
+
+## PASSO 5 — Compor Schemas Derivados
+
+Quando precisar de variações do mesmo schema, **compor** em vez de duplicar:
+
+```typescript
+// Schema base
+const zProduto = z.object({
+ nome: z.string().trim().min(1),
+ preco: z.coerce.number().positive(),
+ categoria: z.string(),
+})
+
+// Edição: todos os campos opcionais
+const zProdutoEditar = zProduto.partial()
+
+// Resposta: base + campos gerados
+const zProdutoResposta = zProduto.extend({
+ codigo: z.string().uuid(),
+ criadoEm: z.string().datetime(),
+})
+
+// Filtro: subset de campos opcionais
+const zProdutoFiltro = zProduto.pick({ categoria: true }).partial()
+```
+
+---
+
+## PASSO 6 — Validar Tipagem
+
+```bash
+npx tsc --noEmit
+```
+
+Zero erros = concluído.
+
+---
+
+## Checklist Final
+
+- [ ] O schema está no pacote `*-comuns` (quando compartilhado entre front/back)?
+- [ ] O tipo é derivado do schema com `z.infer<>`?
+- [ ] A validação usa `safeParse` (exceto em boot/middleware)?
+- [ ] A nomenclatura segue o padrão `z{Entidade}{Acao}`?
+- [ ] Transformações (trim, coerce, default) estão no schema, não no handler?
+- [ ] Schemas derivados usam composição (.partial, .extend, .pick), não duplicação?
+- [ ] `tsc --noEmit` passa sem erros?
+
+## Referências
+
+- Rule: `.agent/rules/zod-validacao-padrao.global.md`
+- Rule: `.agent/rules/typescript-sem-any.global.md`
diff --git a/.agent/skills/diagnosticar-erros-build.global/SKILL.md b/.agent/skills/diagnosticar-erros-build.global/SKILL.md
new file mode 100644
index 0000000..50e6769
--- /dev/null
+++ b/.agent/skills/diagnosticar-erros-build.global/SKILL.md
@@ -0,0 +1,186 @@
+---
+name: diagnosticar-erros-build
+scope: global
+updatedAt: "2026-06-01"
+description: >
+ Guia operacional para diagnosticar e resolver erros de build em cascata em monorepos TypeScript.
+---
+
+# Skill: Diagnosticar Erros de Build em Monorepo TypeScript
+
+Use esta skill quando o build de um monorepo TypeScript falha — especialmente quando erros aparecem em pacotes que não foram diretamente modificados (erros em cascata).
+
+---
+
+## PASSO 1 — Capturar o Erro Completo
+
+Executar o build com output completo e sem truncamento:
+
+```bash
+# pnpm (monorepo completo)
+pnpm build 2>&1 | head -200
+
+# Pacote específico
+pnpm --filter build 2>&1
+
+# tsc direto (se disponível)
+npx tsc --noEmit --pretty 2>&1 | head -100
+```
+
+Identificar:
+
+- **Qual pacote falhou primeiro** (nem sempre é o que aparece no topo)
+- **Código do erro** (`TS2304`, `TS2345`, `TS7006`, etc.)
+- **Arquivo e linha** do erro original
+
+---
+
+## PASSO 2 — Classificar o Tipo de Erro
+
+### Erros de dependência entre pacotes (cascata)
+
+| Sintoma | Causa provável | Solução |
+|---------|---------------|---------|
+| `Cannot find module '@org/xxx'` | Pacote não foi buildado antes | Buildar na ordem correta ou usar `references` |
+| `Module has no exported member 'X'` | Tipo renomeado/removido no pacote origem | Atualizar import no consumidor |
+| Tipos `any` infiltrados | Pacote exporta sem `.d.ts` | Verificar `declaration: true` no tsconfig |
+| `The inferred type cannot be named` | Dependência circular de tipos | Extrair tipo para pacote compartilhado |
+
+### Erros de configuração
+
+| Sintoma | Causa provável | Solução |
+|---------|---------------|---------|
+| `Cannot use import statement` | `module` errado no tsconfig | Alinhar `module`/`moduleResolution` |
+| `Relative import paths need extensions` | Node16/NodeNext resolution | Adicionar `.js` nos imports ou mudar para `bundler` |
+| `rootDir is expected to contain all source files` | Arquivo fora do `rootDir` | Ajustar `rootDir` ou mover arquivo |
+| `Referenced project must have setting composite` | Project references sem `composite` | Adicionar `composite: true` no tsconfig referenciado |
+
+### Erros de tipagem
+
+| Sintoma | Causa provável | Solução |
+|---------|---------------|---------|
+| `TS2304: Cannot find name` | Tipo global não declarado | Criar `d.ts` ou importar explicitamente |
+| `TS2345: Argument not assignable` | Tipos incompatíveis entre versões | Alinhar versão da dependência |
+| `TS7006: Parameter implicitly has 'any'` | `noImplicitAny` ativado | Tipar o parâmetro explicitamente |
+| `TS18046: is of type 'unknown'` | Narrowing ausente | Fazer type guard antes de usar |
+
+---
+
+## PASSO 3 — Identificar a Raiz do Problema
+
+O erro que aparece **primeiro** nem sempre é a raiz. Seguir esta estratégia:
+
+### 3.1. Verificar ordem de build
+
+```bash
+# Listar dependências internas para entender ordem correta
+rg '"workspace:' --include='package.json' -l | sort
+
+# Se usar turbo, verificar o pipeline
+cat turbo.json | jq '.pipeline.build'
+```
+
+### 3.2. Rebuild isolado do pacote raiz
+
+```bash
+# Buildar APENAS o pacote mais baixo na hierarquia que apresenta erro
+pnpm --filter build
+
+# Se esse buildar com sucesso, subir na hierarquia
+pnpm --filter build
+```
+
+### 3.3. Verificar checagem de tipos isolada
+
+```bash
+# Verificar se a tipagem está correta sem produzir output
+npx tsc --noEmit -p /tsconfig.json
+```
+
+---
+
+## PASSO 4 — Resolver Erros em Cascata
+
+### Estratégia: de baixo para cima
+
+1. Identificar o pacote **mais fundamental** (aquele que não depende de outros internos)
+2. Resolver TODOS os erros nesse pacote
+3. Rebuildar
+4. Subir para o próximo pacote na cadeia de dependência
+5. Repetir até o topo
+
+### Armadilhas comuns
+
+```typescript
+// ❌ ERRADO: "resolver" com any (viola typescript-sem-any)
+const dados = resultado as any
+
+// ✅ CORRETO: tipar adequadamente
+const dados: ResultadoEsperado = resultado
+
+// ❌ ERRADO: ignorar erro com @ts-ignore
+// @ts-ignore
+import { funcao } from '@org/pacote'
+
+// ✅ CORRETO: investigar por que o import falha
+// O pacote '@org/pacote' foi buildado? O export existe?
+```
+
+---
+
+## PASSO 5 — Verificar Alinhamento de Configuração
+
+Quando erros persistem entre pacotes, verificar alinhamento de tsconfig:
+
+```bash
+# Comparar configurações críticas entre pacotes
+for f in $(fd tsconfig.json --max-depth 2 --type f); do
+ echo "=== $f ==="
+ jq '{target, module, moduleResolution, strict, composite, declaration}' "$f" 2>/dev/null
+done
+```
+
+Campos que **devem** ser consistentes entre pacotes do mesmo monorepo:
+
+| Campo | Recomendação |
+|-------|-------------|
+| `target` | Mesmo alvo para todos (ex: `ES2022`) |
+| `module` | Consistente (ex: `ESNext` ou `Node16`) |
+| `moduleResolution` | Consistente (ex: `bundler` ou `node16`) |
+| `strict` | `true` em todos |
+| `declaration` | `true` em libs, opcional em apps |
+| `composite` | `true` em libs referenciadas |
+
+---
+
+## PASSO 6 — Limpar e Rebuildar
+
+Quando a investigação não revela causa óbvia:
+
+```bash
+# Limpar artefatos de build de todos os pacotes
+fd -t d 'dist|build|.tsbuildinfo' --exclude node_modules | xargs rm -rf
+
+# Limpar node_modules (último recurso)
+fd -t d node_modules --max-depth 2 | xargs rm -rf
+
+# Reinstalar e rebuildar do zero
+pnpm install && pnpm build
+```
+
+---
+
+## Checklist Final
+
+- [ ] O pacote raiz do erro em cascata foi identificado?
+- [ ] O erro original (não o efeito cascata) foi localizado?
+- [ ] A solução não usa `any`, `as any` ou `@ts-ignore`?
+- [ ] Todos os pacotes na cadeia foram rebuildados após a correção?
+- [ ] As configurações de tsconfig estão alinhadas entre pacotes?
+- [ ] O build completo passa sem erros?
+
+## Referências
+
+- Rules: `.agent/rules/typescript-sem-any.global.md`
+- Workflow: `.agent/workflows/otimizar-codigos.global.md`
+- Skill: `.agent/skills/mapear-codigo-fonte.global/SKILL.md`
diff --git a/.agent/skills/documentar-decisao-tecnica.global/SKILL.md b/.agent/skills/documentar-decisao-tecnica.global/SKILL.md
new file mode 100644
index 0000000..4b5e175
--- /dev/null
+++ b/.agent/skills/documentar-decisao-tecnica.global/SKILL.md
@@ -0,0 +1,161 @@
+---
+name: documentar-decisao-tecnica
+scope: global
+updatedAt: "2026-06-01"
+description: >
+ Guia operacional para registrar decisões técnicas e arquiteturais como ADRs (Architecture Decision Records).
+---
+
+# Skill: Documentar Decisão Técnica (ADR)
+
+Use esta skill sempre que uma decisão técnica significativa for tomada — escolha de biblioteca, mudança de arquitetura, padrão de código, migração, ou qualquer decisão que afete múltiplos pacotes ou desenvolvedores.
+
+O objetivo é garantir que **nenhuma decisão fique apenas na cabeça** ou perdida em conversas.
+
+---
+
+## Quando usar
+
+- Nova dependência adicionada ao monorepo
+- Mudança de padrão arquitetural (ex: de REST para GraphQL)
+- Escolha de ferramenta ou lib entre alternativas
+- Decisão de breaking change
+- Migração de tecnologia
+- Mudança de estratégia de deploy ou CI/CD
+- Qualquer decisão que alguém pode questionar daqui 3 meses
+
+---
+
+## PASSO 1 — Criar o Diretório de ADRs (se não existir)
+
+```bash
+mkdir -p .docs/adrs
+```
+
+Convenção de diretório: `.docs/adrs/` na raiz do monorepo.
+
+---
+
+## PASSO 2 — Criar o Arquivo ADR
+
+Nomenclatura: `NNN-titulo-em-kebab-case.md`
+
+```bash
+# Encontrar o próximo número
+NEXT=$(ls .docs/adrs/*.md 2>/dev/null | wc -l | xargs -I{} expr {} + 1)
+NEXT=$(printf "%03d" $NEXT)
+echo "Próximo ADR: $NEXT"
+```
+
+---
+
+## PASSO 3 — Preencher o Template
+
+```markdown
+# ADR-NNN: Título Descritivo da Decisão
+
+**Data:** YYYY-MM-DD
+**Status:** proposto | aceito | substituído por ADR-XXX | descontinuado
+**Autores:** Nome(s)
+
+## Contexto
+
+Descreva a situação que levou à necessidade de uma decisão.
+Inclua:
+- O problema enfrentado
+- Restrições técnicas ou de negócio
+- O que motivou a discussão
+
+## Decisão
+
+Descreva a decisão tomada de forma clara e direta.
+Use voz ativa: "Decidimos usar X para Y porque Z."
+
+## Alternativas Consideradas
+
+### Alternativa A: [Nome]
+- **Prós:** ...
+- **Contras:** ...
+- **Motivo da rejeição:** ...
+
+### Alternativa B: [Nome]
+- **Prós:** ...
+- **Contras:** ...
+- **Motivo da rejeição:** ...
+
+## Consequências
+
+### Positivas
+- O que melhora com essa decisão
+
+### Negativas
+- O que fica mais complexo ou limitado
+- Débitos técnicos introduzidos
+
+### Neutras
+- Mudanças que não são boas nem ruins, mas afetam o workflow
+
+## Impacto no Monorepo
+
+Listar quais pacotes/módulos são afetados:
+- `@org/pacote-a` — precisa migrar de X para Y
+- `@org/pacote-b` — sem impacto
+```
+
+---
+
+## PASSO 4 — Conectar com o Sistema de Conhecimento
+
+Após criar o ADR, avaliar se a decisão deve gerar:
+
+| A decisão... | Ação |
+|-------------|------|
+| Cria uma **restrição** permanente (ex: "nunca usar lib X") | Criar/atualizar uma **Rule** em `.agent/rules/` |
+| Define um **processo** repetível (ex: "para migrar, faça X, Y, Z") | Criar/atualizar um **Workflow** em `.agent/workflows/` |
+| Refina um **padrão operacional** (ex: "queries agora usam pool separado") | Atualizar a **Skill** correspondente em `.agent/skills/` |
+| Não gera artefato adicional | Apenas o ADR é suficiente |
+
+---
+
+## PASSO 5 — Validar o ADR
+
+Antes de considerar completo:
+
+- **Teste do "daqui a 6 meses"**: alguém que não participou da conversa consegue entender a decisão?
+- **Teste da reversibilidade**: está claro o que seria necessário para reverter essa decisão?
+- **Teste do impacto**: todos os pacotes afetados estão listados?
+
+---
+
+## Exemplos de ADRs Reais
+
+### Bom ✅
+
+> **ADR-003: Usar Zod para validação de schemas em vez de Joi**
+>
+> **Contexto:** O projeto usava Joi para validação no backend, mas ao compartilhar schemas entre back e front em um monorepo, Joi se mostrou pesado para o bundle do frontend (280KB gzipped).
+>
+> **Decisão:** Migrar para Zod em todos os pacotes. Zod oferece inferência nativa de tipos TypeScript, é 10x menor, e elimina a necessidade de manter tipos e schemas separados.
+
+### Ruim ❌
+
+> **ADR-003: Usar Zod**
+>
+> Decidimos usar Zod porque é melhor.
+
+---
+
+## Checklist Final
+
+- [ ] O contexto explica o "porquê" da decisão?
+- [ ] As alternativas consideradas estão documentadas?
+- [ ] As consequências (positivas e negativas) estão claras?
+- [ ] Os pacotes impactados estão listados?
+- [ ] O status está definido (proposto/aceito)?
+- [ ] A decisão gerou rules/workflows/skills quando aplicável?
+- [ ] Alguém de fora do contexto entenderia este ADR?
+
+## Referências
+
+- Workflow: `.agent/workflows/aprimorar-IA.global.md` (seção de classificação de artefatos)
+- Workflow: `.agent/workflows/otimizar-codigos.global.md`
diff --git a/.agent/skills/documentar-dominio-modulo.global/SKILL.md b/.agent/skills/documentar-dominio-modulo.global/SKILL.md
new file mode 100644
index 0000000..fe69bfe
--- /dev/null
+++ b/.agent/skills/documentar-dominio-modulo.global/SKILL.md
@@ -0,0 +1,131 @@
+---
+name: documentar-dominio-modulo
+scope: global
+updatedAt: "2026-06-01"
+description: >
+ Guia para documentar o domínio científico/técnico de cada módulo SaaS,
+ garantindo que o agente compreenda a terminologia e as regras do domínio
+ ao gerar código, texto e interface.
+---
+
+# Skill: Documentar Domínio de um Módulo
+
+Use esta skill ao iniciar um novo módulo SaaS ou ao perceber que o agente não conhece o vocabulário e as regras do domínio que o módulo aborda.
+
+Cada módulo opera em uma disciplina diferente da ciência/gestão ambiental (licenciamento, gases de efeito estufa, resíduos, projetos, etc.). O agente precisa de uma **base factual do domínio** para gerar labels, mensagens, regras de negócio e textos comerciais corretos.
+
+---
+
+## PASSO 1 — Identificar o Domínio do Módulo
+
+Determinar qual área da ciência/gestão o módulo aborda:
+
+| Exemplo de módulo | Domínio |
+|---|---|
+| Licenciamento | Licenciamento ambiental (LP, LI, LO, condicionantes) |
+| GEE | Gases de Efeito Estufa (inventário, emissões, fatores) |
+| Resíduos | Gestão de resíduos sólidos (PGRS, MTR, classificação) |
+| Outorga | Outorga de uso de recursos hídricos |
+| Flora/Fauna | Monitoramento de biodiversidade |
+| Projetos | Gestão de projetos ambientais e consultorias |
+
+---
+
+## PASSO 2 — Criar o Arquivo de Domínio
+
+Criar em `.agent/memoria/dominio-.md`:
+
+```markdown
+# Domínio:
+
+## Área de Conhecimento
+Breve descrição da disciplina (1-3 linhas).
+
+## Glossário do Módulo
+
+| Termo | Definição | Sigla |
+|---|---|---|
+| Licença Prévia | Autorização para planejamento do empreendimento | LP |
+| Licença de Instalação | Autorização para início das obras | LI |
+| ... | ... | ... |
+
+## Entidades Principais
+
+Lista das entidades de negócio do módulo com descrição e relações:
+
+- **Empreendimento**: unidade física onde ocorre a atividade potencialmente poluidora
+- **Licença**: autorização ambiental vinculada a um empreendimento
+- **Condicionante**: obrigação imposta pelo órgão ambiental na licença
+- ...
+
+## Legislação Aplicável
+
+| Norma | Descrição | Relevância |
+|---|---|---|
+| Lei 6.938/1981 | Política Nacional do Meio Ambiente | Base legal do licenciamento |
+| Resolução CONAMA 237/1997 | Regulamenta o licenciamento ambiental | Tipos de licença, prazos |
+| ... | ... | ... |
+
+## Regras de citação legal
+- Formato: "Resolução CONAMA nº 237/1997, art. 8º, inciso I"
+- Toda sigla na primeira ocorrência com nome por extenso
+- Legislação federal > estadual > municipal (hierarquia)
+
+## Fluxos do Domínio
+
+Descrever os processos-chave que o módulo implementa:
+
+1. Solicitação de licença → Análise técnica → Emissão → Monitoramento
+2. Cadastro de condicionante → Acompanhamento de prazo → Cumprimento
+
+## Vocabulário de Interface
+
+Termos que devem ser usados em labels, botões e mensagens:
+
+| Contexto | ❌ Genérico | ✅ Correto para o módulo |
+|---|---|---|
+| Campo de nome | "Nome" | "Razão Social do Empreendedor" |
+| Status | "Ativo/Inativo" | "Vigente/Vencida/Suspensa" |
+| Ação principal | "Criar novo" | "Solicitar nova licença" |
+| Lista vazia | "Nenhum registro" | "Nenhuma licença cadastrada" |
+```
+
+---
+
+## PASSO 3 — Validar com o Operador
+
+Antes de consolidar:
+
+- [ ] Os termos do glossário estão corretos para o contexto do módulo?
+- [ ] As entidades cobrem os conceitos centrais?
+- [ ] A legislação listada é a principal (não exaustiva)?
+- [ ] O vocabulário de interface reflete como o usuário fala no dia a dia?
+
+---
+
+## PASSO 4 — Conectar com as Rules
+
+Após documentar o domínio:
+
+1. Verificar se labels e mensagens no código usam o vocabulário definido (rule `mensagens-usuario.global.md`)
+2. Verificar se schemas Zod têm mensagens de erro no idioma do domínio (rule `zod-validacao-padrao.global.md`)
+3. Verificar se os arquivos `.ajuda.md` usam termos do glossário (workflow `adicionar-ajuda.global.md`)
+4. Verificar se textos comerciais citam a legislação corretamente (workflow `comercial.global.md`)
+
+---
+
+## Checklist Final
+
+- [ ] Arquivo `dominio-.md` criado em `.agent/memoria/`?
+- [ ] Glossário com pelo menos os 10 termos centrais do módulo?
+- [ ] Entidades principais listadas com descrição?
+- [ ] Legislação base documentada com formato de citação?
+- [ ] Vocabulário de interface definido (labels, status, ações, empty states)?
+- [ ] Operador validou a terminologia?
+
+## Referências
+
+- Rule: `.agent/rules/mensagens-usuario.global.md`
+- Rule: `.agent/rules/regras-negocio-md.global.md`
+- Workflow: `.agent/workflows/comercial.global.md`
+- Workflow: `.agent/workflows/adicionar-ajuda.global.md`
diff --git a/.agent/skills/documentar-regras-negocio.global/SKILL.md b/.agent/skills/documentar-regras-negocio.global/SKILL.md
new file mode 100644
index 0000000..9f7924f
--- /dev/null
+++ b/.agent/skills/documentar-regras-negocio.global/SKILL.md
@@ -0,0 +1,212 @@
+---
+name: documentar-regras-negocio
+scope: global
+updatedAt: "2026-06-01"
+description: >
+ Guia operacional para criar, preencher e manter arquivos {modulo}.regras-negocio.md
+ co-localizados com módulos TypeScript de lógica de negócio complexa.
+---
+
+# Skill: Documentar Regras de Negócio em Módulos
+
+Use esta skill sempre que um módulo TypeScript contiver lógica de decisão não-trivial
+que precise ser rastreável por produto, suporte e desenvolvimento sem exigir leitura de código.
+
+---
+
+## Quando usar esta skill
+
+- Módulo com 3+ critérios de decisão distintos
+- Lógica de eleição/priorização entre registros
+- Processamento que pode resultar em revisão manual
+- Worker/CRON consumindo dados com estratégias diferenciadas por tipo
+- Importador automático com regras de aceite/rejeição
+
+---
+
+## PASSO 1 — Identificar o escopo das regras
+
+Antes de escrever o `.md`, percorrer o módulo e identificar:
+
+| Categoria | O que procurar |
+|---|---|
+| **Critérios de entrada** | Filtros de query (excluido, vencimento, etc.) |
+| **Critérios de bloqueio** | Condições que bloqueiam o fluxo automático |
+| **Estratégia por tipo de dado** | Concatenação vs. primeiro-não-nulo vs. outros |
+| **Eleição de principal** | Regras de prioridade entre registros |
+| **Estado contraditório** | Combinações de campos mutuamente exclusivas |
+| **Dependências externas** | Tabelas, filas, serviços tocados |
+
+---
+
+## PASSO 2 — Criar o arquivo
+
+Nomenclatura: `{nome-do-modulo-sem-underline-inicial}.regras-negocio.md`
+
+Localizar **na mesma pasta** do arquivo TypeScript:
+
+```
+modulo/
+ _meuModulo.ts
+ meu-modulo.regras-negocio.md ← co-localizado
+```
+
+Se o módulo for arquivo isolado (não pasta):
+```
+CRONS/
+ _cron_nome.ts
+ _cron_nome.regras-negocio.md ← mesmo diretório
+```
+
+---
+
+## PASSO 3 — Preencher com o template
+
+```markdown
+# Regras de Negócio — [Nome Legível do Módulo]
+
+Módulo: `_arquivo.ts`
+Localização: `caminho/relativo/ao/workspace`
+
+---
+
+## Contexto
+
+[Por que este módulo existe. Qual problema de negócio resolve.
+Inclua o cenário que levou à sua criação — ex: "O sistema pode gerar duplicatas
+por importações simultâneas..."]
+
+---
+
+## Critérios de Entrada
+
+[O que aciona o módulo. Filtros aplicados na query de identificação.
+Ex: `excluido = false`, mesmo `(codigo_origem, vencimento)`, etc.]
+
+---
+
+## Regras de Processamento
+
+[Numeradas em ordem de avaliação. Cada regra deve incluir:
+- Condição de ativação
+- O que acontece quando ativada
+- Se bloqueia ou direciona]
+
+### Regra 1 — [Nome]
+...
+
+### Regra 2 — [Nome]
+...
+
+---
+
+## Casos de Revisão Manual
+
+[Quando o fluxo automático não pode prosseguir.
+Liste as condições que enviam para revisão manual.
+Se aplicável: como o caso é reportado (e-mail, log, fila de revisão).]
+
+> **`null` é neutro** quando aplicável: descrever aqui se a lógica usa null como ausência neutra.
+
+---
+
+## Estratégia de Saída / Fusão de Campos
+
+[Como os dados são combinados ou qual resultado é produzido.
+Usar tabela para clareza:]
+
+| Campo | Estratégia |
+|---|---|
+| `campo_textual` | Concatenação sem repetição |
+| `campo_data` | Primeiro valor não-nulo vence |
+| `campo_booleano` | Primeiro valor não-nulo vence |
+
+---
+
+## Dependências Externas
+
+[Tabelas lidas/escritas, filas disparadas, serviços externos.
+Incluir colunas de relacionamento quando relevante.]
+
+- Tabelas de negócio: `tabela_a`, `tabela_b`
+- Relacionamentos re-apontados: `tabela_c` via `(codigo_origem, tabela_origem)`
+- Filas: nenhuma / `nome-da-fila`
+- E-mails: nenhum / destinatários e gatilho
+```
+
+---
+
+## PASSO 4 — Adicionar referência no módulo TypeScript
+
+Na **primeira linha útil** do arquivo `.ts` (após shebang ou licença, se houver):
+
+```typescript
+// Regras de negócio: ver {modulo}.regras-negocio.md
+
+import { ... } from "..."
+```
+
+---
+
+## PASSO 5 — Limpar JSDoc duplicados
+
+Percorrer os JSDoc do módulo e:
+
+| Se encontrar | Ação |
+|---|---|
+| JSDoc listando as regras de negócio | Substituir por referência ao `.md` |
+| JSDoc descrevendo critérios de bloqueio | Simplificar para "ver `.md`" |
+| JSDoc com listas de condições | Manter apenas `@param` e `@returns` |
+| Comentário inline explicando uma regra | Manter — comentários de linha são aceitáveis |
+
+Exemplo de simplificação:
+
+```typescript
+// ❌ Antes — JSDoc duplicando as regras
+/**
+ * Retorna false quando:
+ * - vencimentos divergentes
+ * - executada com datas distintas e não-nulas
+ * - vencimento_prorrogado distintos
+ * - estado contraditório: nao_executada=true + executada!=null
+ */
+
+// ✅ Depois — referência ao .md
+/**
+ * Verifica se o grupo pode ser fundido e elege o registro principal.
+ * Critérios de bloqueio e regras de eleição: ver regras-negocio.md
+ *
+ * @param execs - Registros do grupo, ordenados do mais antigo para o mais recente
+ * @returns Código do eleito, ou `undefined` quando o grupo vai para revisão manual
+ */
+```
+
+---
+
+## PASSO 6 — Verificar consistência código ↔ `.md`
+
+Percorrer cada regra listada no `.md` e verificar que há código correspondente:
+
+- [ ] Cada critério de bloqueio tem um `if (...) return undefined / return retornoVazio`
+- [ ] Cada estratégia de campo tem implementação em `fundirCampos` ou equivalente
+- [ ] A ordem de avaliação no código bate com a ordem no `.md`
+- [ ] Campos exclusivos de certas tabelas estão guardados pelo `if (tabela === ...)`
+- [ ] queries têm `orderBy` quando a posição dos resultados tem significado (ver skill `consultar-banco-knex`)
+
+---
+
+## Checklist Final
+
+- [ ] Arquivo `.md` criado co-localizado com o módulo
+- [ ] Referência `// Regras de negócio: ver ...` na primeira linha do `.ts`
+- [ ] JSDoc simplificados — sem duplicar conteúdo do `.md`
+- [ ] Todas as regras do `.md` têm implementação correspondente no código
+- [ ] Código e `.md` estão consistentes (separadores, campos, condições)
+- [ ] `tsc --noEmit` passa sem erros após qualquer mudança de código
+
+---
+
+## Referências
+
+- Rule: `.agent/rules/regras-negocio-md.global.md`
+- Workflow: `.agent/workflows/documentar-regras-negocio.global.md`
diff --git a/.agent/skills/mapear-codigo-fonte.global/SKILL.md b/.agent/skills/mapear-codigo-fonte.global/SKILL.md
new file mode 100644
index 0000000..ebca7c7
--- /dev/null
+++ b/.agent/skills/mapear-codigo-fonte.global/SKILL.md
@@ -0,0 +1,160 @@
+---
+name: mapear-codigo-fonte
+scope: global
+updatedAt: "2026-06-01"
+description: >
+ Guia operacional para mapear, navegar e compreender a estrutura de um monorepo TypeScript.
+---
+
+# Skill: Mapear Código-Fonte de Monorepo TypeScript
+
+Use esta skill ao iniciar trabalho em um monorepo desconhecido, ao onboardar em novo projeto, ou quando precisar localizar rapidamente onde uma funcionalidade vive no código.
+
+---
+
+## PASSO 1 — Identificar a Raiz e o Gerenciador de Pacotes
+
+Localize os arquivos que definem a estratégia de monorepo:
+
+```bash
+# Identificar o gerenciador e workspace config
+ls -la package.json pnpm-workspace.yaml lerna.json turbo.json nx.json tsconfig.base.json 2>/dev/null
+```
+
+Elementos a extrair:
+
+- **Gerenciador**: `pnpm` (workspaces em `pnpm-workspace.yaml`), `npm/yarn` (workspaces em `package.json`), ou `nx`/`turbo`
+- **Pacotes compartilhados**: diretórios listados em `packages:` ou `workspaces:`
+- **Apps/serviços**: diretórios de aplicações deployáveis
+- **TSConfig base**: herança de configuração TypeScript entre pacotes
+
+---
+
+## PASSO 2 — Mapear a Árvore de Pacotes
+
+```bash
+# Listar todos os pacotes do workspace com nomes e caminhos
+# pnpm
+pnpm ls --depth -1 -r --json 2>/dev/null | jq '.[].name'
+
+# Alternativa genérica: encontrar todos os package.json
+fd package.json --max-depth 3 --type f --exec sh -c 'echo "$(dirname {}): $(jq -r .name {})"'
+```
+
+Organizar os pacotes em categorias:
+
+| Categoria | Padrão de nome | Exemplo |
+|-----------|---------------|---------|
+| **Libs compartilhadas** | `@org/common`, `*-comuns`, `*-shared` | Tipos, utils, schemas |
+| **Backend** | `*-back`, `*-api`, `*-server` | Serviços Node/Express/Fastify |
+| **Frontend** | `*-front`, `*-web`, `*-app` | Apps Vue/React/Angular |
+| **Ferramentas** | `*-cli`, `*-scripts`, `*-tools` | Scripts de build, migrations |
+| **Configs** | `*-config`, `*-eslint-config` | Configs compartilhadas |
+
+---
+
+## PASSO 3 — Mapear Dependências Internas
+
+Identificar o grafo de dependências entre pacotes internos:
+
+```bash
+# Para cada package.json, listar deps internas (que apontam para workspace:)
+rg '"workspace:' --include='package.json' -l | while read f; do
+ echo "=== $(jq -r .name "$f") ==="
+ jq -r '.dependencies // {} | to_entries[] | select(.value | startswith("workspace:")) | .key' "$f"
+ jq -r '.devDependencies // {} | to_entries[] | select(.value | startswith("workspace:")) | .key' "$f"
+done
+```
+
+Anotar:
+
+- Quais pacotes são **folha** (não dependem de outros internos)
+- Quais são **raiz** (ninguém depende deles — geralmente apps)
+- Quais são **núcleo** (muitos dependem deles — geralmente libs compartilhadas)
+
+---
+
+## PASSO 4 — Mapear Arquitetura de Cada Pacote
+
+Para cada pacote relevante, identificar a estrutura interna:
+
+```bash
+# Visão geral rápida (2 níveis de profundidade)
+eza --tree --level=2 --icons --group-directories-first /src/
+# ou
+tree -L 2 -I node_modules /src/
+```
+
+Padrões comuns a procurar:
+
+| Diretório | Responsabilidade típica |
+|-----------|----------------------|
+| `src/routes/` ou `src/api/` | Endpoints/rotas HTTP |
+| `src/services/` | Lógica de negócio |
+| `src/models/` ou `src/entities/` | Modelos de dados |
+| `src/utils/` ou `src/helpers/` | Funções utilitárias |
+| `src/types/` ou `src/typings/` | Definições de tipos TS |
+| `src/schemas/` | Schemas de validação (Zod, Joi) |
+| `src/migrations/` | Migrações de banco |
+| `src/components/` | Componentes de UI (frontend) |
+| `src/composables/` ou `src/hooks/` | Lógica reutilizável (Vue/React) |
+| `src/stores/` | Gerenciamento de estado |
+
+---
+
+## PASSO 5 — Identificar Pontos de Entrada e Exportações
+
+```bash
+# Encontrar exports públicos de cada pacote
+rg "export " --include='index.ts' --include='index.tsx' -l
+
+# Encontrar entry points no package.json
+fd package.json --max-depth 3 --type f --exec sh -c 'echo "$(jq -r .name {}):" && jq "{main, module, types, exports}" {}'
+```
+
+---
+
+## PASSO 6 — Documentar o Mapa
+
+Produzir um resumo estruturado com:
+
+```markdown
+# Mapa do Monorepo:
+
+## Gerenciador: pnpm | npm | yarn
+## Build System: tsc | turbo | nx
+
+## Pacotes
+
+### Libs Compartilhadas
+- `@org/types` → tipos compartilhados (depende de: nenhum)
+- `@org/utils` → funções utilitárias (depende de: @org/types)
+
+### Aplicações
+- `@org/api` → backend Express (depende de: @org/types, @org/utils)
+- `@org/web` → frontend Vue (depende de: @org/types)
+
+## Fluxo de dados
+Descrever como os dados fluem entre pacotes.
+
+## Scripts importantes
+- `pnpm build` → Build de todos os pacotes
+- `pnpm dev` → Inicia dev server
+- `pnpm test` → Roda testes
+```
+
+---
+
+## Checklist Final
+
+- [ ] O gerenciador de pacotes e workspace strategy estão identificados?
+- [ ] Todos os pacotes foram categorizados (lib/app/tool)?
+- [ ] O grafo de dependências internas foi mapeado?
+- [ ] Os pontos de entrada de cada pacote estão claros?
+- [ ] A arquitetura interna dos pacotes principais foi documentada?
+- [ ] Scripts de build/dev/test foram identificados?
+
+## Referências
+
+- Rules: `.agent/rules/typescript-sem-any.global.md`
+- Workflow: `.agent/workflows/otimizar-codigos.global.md`
diff --git a/.agent/tools.md b/.agent/tools.md
new file mode 100644
index 0000000..cf568ac
--- /dev/null
+++ b/.agent/tools.md
@@ -0,0 +1,116 @@
+# Ferramentas Recomendadas para Otimização de IAs no Desenvolvimento
+
+Este documento lista ferramentas de linha de comando (CLI) e utilitários que otimizam significativamente o trabalho e a integração de Agentes de IA durante o processo de desenvolvimento. Todas as ferramentas listadas possuem suporte nativo para **Linux** e **macOS**.
+
+## 1. Busca e Navegação de Código
+
+### ripgrep (`rg`)
+- **Descrição:** Uma ferramenta de busca orientada a linhas que busca recursivamente no diretório atual por uma expressão regular.
+- **Por que ajuda as IAs:** É extremamente rápida para encontrar referências de código, funções e variáveis em repositórios grandes. Ajuda as IAs a varrer bases de código rapidamente sem precisar ler todos os arquivos.
+- **Instalação:**
+ - **Mac:** `brew install ripgrep`
+ - **Linux (Ubuntu/Debian):** `sudo apt-get install ripgrep`
+
+### fd
+- **Descrição:** Uma alternativa simples, rápida e amigável ao comando `find`.
+- **Por que ajuda as IAs:** Permite que as IAs listem a estrutura de arquivos e localizem caminhos específicos com uma sintaxe muito mais amigável e saída mais rápida e limpa que o `find` tradicional, respeitando o `.gitignore` nativamente.
+- **Instalação:**
+ - **Mac:** `brew install fd`
+ - **Linux (Ubuntu/Debian):** `sudo apt-get install fd-find`
+
+### ast-grep (`sg`)
+- **Descrição:** Uma ferramenta de busca e substituição de código baseada em Árvore de Sintaxe Abstrata (AST).
+- **Por que ajuda as IAs:** Diferente do regex padrão, permite que a IA faça buscas estruturais e refatorações complexas compreendendo a semântica da linguagem.
+- **Instalação:**
+ - **Mac/Linux:** `npm install -g @ast-grep/cli` ou `brew install ast-grep`
+
+## 2. Processamento de Dados
+
+### jq
+- **Descrição:** Um processador JSON de linha de comando leve e flexível.
+- **Por que ajuda as IAs:** Sistemas baseados em agentes interagem frequentemente por payloads JSON e chamadas de API. O `jq` é a ferramenta perfeita para que a IA filtre, extraia e transforme grandes payloads de dados diretamente no terminal.
+- **Instalação:**
+ - **Mac:** `brew install jq`
+ - **Linux (Ubuntu/Debian):** `sudo apt-get install jq`
+
+### yq
+- **Descrição:** Uma extensão leve e portável do `jq` voltada para o processamento de arquivos YAML, JSON e XML.
+- **Por que ajuda as IAs:** Útil para a IA inspecionar, modificar e gerar configurações como `docker-compose.yml`, esquemas de CI/CD, e manifestos Kubernetes.
+- **Instalação:**
+ - **Mac:** `brew install yq`
+ - **Linux:** O binário é baixado direto da distribuição oficial no Github ou via snap.
+
+## 3. Qualidade de Código e Formatação
+
+### Biome
+- **Descrição:** Ferramenta All-in-One super rápida para formatação e linting de projetos Web (JavaScript, TypeScript, JSX, JSON).
+- **Por que ajuda as IAs:** Como exigido pelos padrões do projeto, garante que o código escrito pela IA passe pela validação, sendo auto-focado e sem configurações complexas (`biome check --write`).
+- **Instalação:**
+ - **Mac/Linux:** `npm install -g @biomejs/biome` ou gerenciamento local (`pnpm add -D @biomejs/biome`).
+
+### ShellCheck
+- **Descrição:** Ferramenta de análise estática e linting projetada especificamente para scripts de shell (bash/sh).
+- **Por que ajuda as IAs:** Assegura que scripts bash gerados por IAs (seja para deploy ou testes de automação de fluxo) sigam as melhores práticas e não tenham comandos perigosos implícitos.
+- **Instalação:**
+ - **Mac:** `brew install shellcheck`
+ - **Linux (Ubuntu/Debian):** `sudo apt-get install shellcheck`
+
+## 4. Visualização e Visualização de Texto
+
+### bat
+- **Descrição:** Um clone do `cat` com suporte nativo a syntax highlighting (destaque de sintaxe) e integração com o Git.
+- **Por que ajuda as IAs:** Ao extrair ou ler recortes de arquivos e logs, o conteúdo é formatado de maneira que facilita eventuais inspeções humanas e recortes por linhas (`bat -r :`).
+- **Instalação:**
+ - **Mac:** `brew install bat`
+ - **Linux (Ubuntu/Debian):** `sudo apt-get install bat`
+
+### tree / eza
+- **Descrição:** Utilitários para listar o conteúdo de diretórios. O `eza` é um substituto moderno para o `ls` com suporte de árvore.
+- **Por que ajuda as IAs:** Permitir que agentes mapeiem mentalmente a árvore de projeto de forma clara. Essencial para IAs auto-localizarem módulos arquiteturais.
+- **Instalação:**
+ - **Mac:** `brew install eza tree`
+ - **Linux (Ubuntu/Debian):** `sudo apt-get install tree eza`
+
+## 5. Integração com APIs e Git
+
+### HTTPie / cURL
+- **Descrição:** Ferramenta gráfica ou cli para o teste de endpoints, sendo o HTTPie uma versão "humanizada" do cURL.
+- **Por que ajuda as IAs:** Auxilia nas IAs de codificação que necessitam conferir os status e formatos dos endpoints REST antes de gerar lógicas assíncronas no front-end ou back-end.
+- **Instalação (HTTPie):**
+ - **Mac:** `brew install httpie`
+ - **Linux:** `sudo apt-get install httpie`
+
+### GitHub CLI (`gh`)
+- **Descrição:** Interface de linha de comando nativa para interagir com repositórios no GitHub.
+- **Por que ajuda as IAs:** Permite à IA criar pull requests, listar issues e manipular webhooks diretamente do terminal como parte de fluxos autonomos de entrega contínua.
+- **Instalação:**
+ - **Mac:** `brew install gh`
+ - **Linux:** `sudo apt install gh`
+
+---
+
+## 6. Instalação Rápida (Copia e Cola)
+
+Para instalar as ferramentas base de forma ágil e em lote, copie os blocos de comando abaixo e os rode inteiramente em seu terminal (requer `npm` e `snap` já configurados).
+
+### Linux (Debian / Ubuntu)
+
+```bash
+# 1. Atualizar e instalar ferramentas base do sistema
+sudo apt-get update
+sudo apt-get install -y ripgrep fd-find jq shellcheck bat tree eza httpie gh
+
+# 2. Instalar ferramentas em Node
+npm install -g @ast-grep/cli @biomejs/biome
+
+# 3. Instalar yq via snap
+sudo snap install yq
+```
+
+### macOS (via Homebrew)
+
+```bash
+# Instalar utilitários essenciais
+brew install ripgrep fd ast-grep jq yq shellcheck bat tree eza httpie gh
+npm install -g @biomejs/biome
+```
diff --git a/.agent/verificar-linhas.sh b/.agent/verificar-linhas.sh
new file mode 100644
index 0000000..6ebd840
--- /dev/null
+++ b/.agent/verificar-linhas.sh
@@ -0,0 +1,41 @@
+#!/usr/bin/env sh
+
+# comando sh ../.agent/verificar-linhas.sh || exit 1
+
+LIMITE=250
+
+RAIZ=$(cd "$(dirname "$0")/.." && pwd)
+
+RESULTADO=$(
+ find "$RAIZ" \
+ -type d \( \
+ -name node_modules -o \
+ -name .git -o \
+ -name dist -o \
+ -name build \
+ \) -prune \
+ -o \
+ -type f \( \
+ -name "*.ts" -o \
+ -name "*.tsx" -o \
+ -name "*.vue" -o \
+ -name "*.css" \
+ \) \
+ -print | while IFS= read -r arquivo; do
+ linhas=$(wc -l < "$arquivo" | tr -d ' ')
+ if [ "$linhas" -gt "$LIMITE" ]; then
+ relativo="${arquivo#$RAIZ/}"
+ printf "%5s linhas -> %s\n" "$linhas" "$relativo"
+ fi
+ done
+)
+
+if [ -n "$RESULTADO" ]; then
+ echo "$RESULTADO"
+ VIOLACOES=$(printf '%s\n' "$RESULTADO" | wc -l | tr -d ' ')
+ printf "\n❌ %s arquivo(s) violam o limite de %s linhas.\n" "$VIOLACOES" "$LIMITE"
+ printf "\n Resolva usando o arquivo: .agent/workflows/otimizar-codigos.global.md\n"
+ exit 1
+fi
+
+printf "✅ Todos os arquivos dentro do limite de %s linhas.\n" "$LIMITE"
diff --git a/.agent/workflows/adicionar-ajuda.global.md b/.agent/workflows/adicionar-ajuda.global.md
new file mode 100644
index 0000000..2dff1e9
--- /dev/null
+++ b/.agent/workflows/adicionar-ajuda.global.md
@@ -0,0 +1,118 @@
+---
+type: workflow
+name: adicionar-ajuda
+description: Adicionar ou atualizar botão de ajuda e documentação em telas (Frontend)
+scope: global
+updatedAt: "2026-06-01"
+---
+
+# Workflow: Adicionar Ajuda em Telas
+
+Este workflow automatiza a inserção do botão de ajuda e a criação do arquivo de documentação correspondente sempre que uma tela é criada ou modificada de forma significativa.
+
+O objetivo da ajuda é **auxiliar o usuário final a compreender e utilizar corretamente a aplicação**, explicando o funcionamento da tela de forma clara e objetiva.
+
+## Pré-requisitos
+
+- O arquivo alvo deve ser um componente de interface (`.tsx` para React ou `.vue` para Vue).
+- O projeto deve possuir um componente de ajuda (ex: `BotaoAjuda`, `HelpButton` ou equivalente) disponível para uso na interface.
+- Caso não exista, criar um componente reutilizável que exiba o conteúdo do `.ajuda.md` em modal ou drawer.
+
+## Passos
+
+### 1. Identificar o Componente Alvo
+
+Determine qual arquivo representa a tela principal ou modal que está sendo criado ou editado.
+
+- React → `.tsx`
+- Vue → `.vue`
+
+### 2. Verificar Existência de Ajuda
+
+Procure por um arquivo de ajuda com o mesmo nome do componente e sufixo indicativo de ajuda (ex.: `.ajuda.md`) localizado na mesma pasta.
+
+Exemplo:
+
+```
+
+TelaCadastroUsuario.tsx
+TelaCadastroUsuario.ajuda.md
+
+```
+
+ou
+
+```
+
+TelaCadastroUsuario.vue
+TelaCadastroUsuario.ajuda.md
+
+````
+
+### 3. Criar ou Atualizar o Arquivo Markdown
+
+Se o arquivo `.ajuda.md` não existir, crie-o utilizando o template básico abaixo.
+
+O conteúdo deve ser escrito **pensando no usuário final**, explicando de forma simples como utilizar a tela.
+
+A documentação deve incluir, quando aplicável:
+
+- **Objetivo da tela**
+- **Descrição dos botões**
+- **Descrição dos campos de formulário**
+- **Regras de preenchimento e validações**
+- **Fluxo esperado de uso**
+- **Contexto técnico ou legal**, quando relevante para o entendimento da funcionalidade
+
+Template inicial:
+
+```markdown
+# Ajuda: [Nome da Tela]
+
+## Objetivo da Tela
+
+Explique de forma simples para que serve esta tela dentro do sistema.
+
+## Botões
+
+- **Salvar**: grava as informações preenchidas.
+- **Cancelar**: descarta as alterações realizadas.
+- **Excluir**: remove o registro atual do sistema.
+
+## Campos do Formulário
+
+- **Nome**: informe o nome completo do responsável.
+- **Data de Vistoria**: data em que a vistoria foi realizada.
+- **Observações**: campo livre para registrar informações adicionais.
+
+## Fluxo de Uso
+
+1. Preencha os campos obrigatórios.
+2. Revise as informações inseridas.
+3. Clique em **Salvar** para registrar os dados no sistema.
+
+## Informações Técnicas ou Legais (quando aplicável)
+
+Explique regras técnicas, normas ou exigências legais relacionadas à funcionalidade da tela.
+````
+
+### 4. Posicionamento do Botão de Ajuda
+
+O botão deve ser inserido de forma consistente e não pode interferir na interface da aplicação.
+
+#### Telas / Páginas
+
+* O botão deve ficar na **parte inferior esquerda da página**.
+* Deve respeitar espaçamento suficiente das bordas da interface.
+* **Não pode sobrepor nenhum componente da tela.**
+* **Não pode ficar oculto ou sobreposto pela barra de módulos da aplicação.**
+* Ajustar `margin`, `padding` ou `z-index` quando necessário para garantir visibilidade adequada.
+
+#### Modais e Diálogos
+
+* O botão deve ficar na **parte inferior esquerda do modal**.
+* Preferencialmente no rodapé do modal ou em um container equivalente.
+* **Não pode sobrepor botões ou ações do modal.**
+* Garantir espaçamento adequado para não interferir na usabilidade.
+
+
diff --git a/.agent/workflows/aprimorar-IA.global.md b/.agent/workflows/aprimorar-IA.global.md
new file mode 100644
index 0000000..369cacb
--- /dev/null
+++ b/.agent/workflows/aprimorar-IA.global.md
@@ -0,0 +1,263 @@
+---
+type: workflow
+name: aprimorar-IA
+description: Consolidar aprendizados da conversa atual e evoluir continuamente as regras, skills e fluxos da aplicação
+scope: global
+updatedAt: "2026-06-01"
+---
+
+# Workflow: Aprimorar Conhecimento da Aplicação
+
+## 🎯 Objetivo
+
+Garantir que **toda decisão tomada** seja imediatamente incorporada ao conhecimento estruturado da aplicação, mantendo o sistema de rules, workflows e skills **coerente, atualizado, não redundante e sem contradições**.
+
+Este workflow é **obrigatório** e deve ser executado sempre que houver qualquer definição nova.
+
+---
+
+## Artefatos de Conhecimento
+
+O conhecimento do agente está organizado em **três tipos de artefatos**, cada um com responsabilidade distinta:
+
+| Artefato | Diretório | Responsabilidade |
+|----------|-----------|------------------|
+| **Rules** | `.agent/rules/` | Restrições e convenções que o agente **deve respeitar sempre** |
+| **Workflows** | `.agent/workflows/` | Processos sequenciais com passos numerados para tarefas bem definidas |
+| **Skills** | `.agent/skills/` | Guias operacionais completos e reutilizáveis para tarefas complexas recorrentes |
+| **Memória** | `.agent/memoria/` | Registros históricos, contexto do projeto, fatos e decisões importantes |
+
+### Diferenças entre os artefatos
+
+| Critério | Rule | Workflow | Skill | Memória |
+|----------|------|----------|-------|---------|
+| **Formato** | Regra declarativa | Passos sequenciais | Guia prático com templates | Diários, ADRs, documentação de contexto puro |
+| **Quando usar** | Aplicada **automaticamente** em todo contexto | Acionado por **comando** (`/workflow`) | Consultado **sob demanda** ao iniciar tarefa complexa | Consultado **para restaurar contexto** e entender escopo |
+| **Exemplos** | "Nunca usar `any`" | "/migracao_banco" | "Criar função api2 end-to-end" | "ADR de transição para Nuxt 4", "Dicionário de dados" |
+| **Escopo** | Restrição transversal | Processo pontual | Padrão operacional completo | Registro histórico e base factual |
+
+### Regra de escolha
+
+- Se é uma **restrição** que vale sempre → **Rule**
+- Se é um **processo com etapas** que o usuário aciona → **Workflow**
+- Se é um **guia operacional** com templates e checklist para tarefas complexas → **Skill**
+- Se o conteúdo serve como **referência cruzada** durante tarefas → **Skill**
+- Se é um **registro de estado, decisão técnica importante ou compreensão do domínio temporal** → **Memória**
+
+---
+
+## 1️⃣ Análise do Contexto Atual (Obrigatória)
+
+É obrigatório:
+
+- Revisar integralmente a conversa atual.
+- Identificar:
+ - Regras de negócio novas ou alteradas.
+ - Padrões técnicos definidos.
+ - Convenções estabelecidas.
+ - Decisões arquiteturais.
+ - Ajustes de comportamento do sistema ou do agente.
+
+Para cada item identificado, classificar obrigatoriamente:
+
+- Já existe artefato correspondente (rule, workflow ou skill) → **ATUALIZAR**
+- Existe parcialmente → **REFATORAR**
+- Não existe → **CRIAR**
+- Impacta múltiplas áreas → **PROPAGAR**
+
+---
+
+## 2️⃣ Atualização das Rules (Obrigatória)
+
+### Regras inegociáveis:
+
+- Toda nova regra **DEVE** ser registrada.
+- Nenhuma regra pode existir apenas na conversa.
+- É **PROIBIDO** deixar conhecimento implícito.
+
+### Estrutura obrigatória:
+
+- Um arquivo = um único assunto.
+- Nome claro em `kebab-case`.
+- Limite máximo: ~10.000 caracteres.
+
+### É obrigatório:
+
+- Evitar duplicação de conteúdo.
+- Atualizar regras antigas quando substituídas.
+- Remover ou ajustar regras conflitantes.
+- Garantir consistência semântica entre arquivos.
+
+### Estrutura obrigatória da rule:
+
+```md
+# Nome da Regra
+
+## Contexto
+Quando se aplica.
+
+## Regra
+Definição objetiva e obrigatória.
+
+## Exemplos
+✅ Correto
+❌ Incorreto
+
+## Impacto
+Problema que evita.
+```
+
+---
+
+## 3️⃣ Atualização dos Workflows (Obrigatória quando aplicável)
+
+Sempre que houver processo repetível identificado:
+
+* Criar ou atualizar workflow em `.agent/workflows/`.
+
+### Obrigatório:
+
+* Frontmatter com `description`.
+* Passos numerados.
+* Clareza operacional (sem ambiguidade).
+* Comandos executáveis quando possível.
+* Uso de `// turbo` para comandos seguros.
+
+---
+
+## 4️⃣ Atualização das Skills (Obrigatória quando aplicável)
+
+Sempre que um padrão operacional complexo for definido, refinado ou corrigido:
+
+* Criar ou atualizar skill em `.agent/skills//SKILL.md`.
+
+### Quando atualizar uma skill:
+
+- Nova regra afeta o padrão operacional descrito na skill (ex: nova convenção de tipagem afeta `criar-funcao-api2`)
+- Novo workflow introduz etapas que complementam ou substituem uma skill
+- Um erro recorrente revela que a skill está incompleta ou desatualizada
+- Uma decisão arquitetural muda o fluxo descrito na skill
+
+### Estrutura obrigatória da skill:
+
+```md
+---
+name: nome-da-skill
+description: >
+ Descrição em uma linha do que a skill faz.
+---
+
+# Skill: Nome Descritivo
+
+Parágrafo de contexto explicando quando usar.
+
+## PASSO N — Título do Passo
+Instruções com código, regras e padrões.
+
+## Checklist Final
+- [ ] Item de verificação
+
+## Referências
+- Regras: `.agent/rules/xxx.md`
+- Workflow: `.agent/workflows/xxx.md`
+```
+
+### Regras de organização:
+
+- Uma skill por diretório: `.agent/skills//SKILL.md`
+- Skills globais são identificadas pelo campo `scope: global` no frontmatter
+- Nome do diretório em `kebab-case`
+- A skill **não deve duplicar** conteúdo de rules — referencia-as via seção `Referências`
+- A skill **pode consolidar** conhecimento de múltiplas rules e workflows em um guia unificado
+- Templates de código devem estar na própria skill (não em arquivos separados, a menos que sejam muito grandes)
+
+### Skills globais (distribuídas via `atualizar-agente.global.sh`):
+
+| Skill | Escopo |
+|-------|--------|
+| `mapear-codigo-fonte` | Mapear e navegar a estrutura de qualquer monorepo TS |
+| `diagnosticar-erros-build` | Diagnosticar erros de build em cascata entre pacotes |
+| `documentar-decisao-tecnica` | Registrar decisões técnicas como ADRs |
+
+### Skills de projeto (criadas localmente em cada monorepo):
+
+Cada projeto pode criar skills adicionais específicas em `.agent/skills//SKILL.md`.
+Essas skills focam nos padrões e domínios exclusivos daquele projeto.
+
+Exemplos de skills de projeto:
+
+| Skill | Escopo |
+|-------|--------|
+| `criar-funcao-api` | Função de API end-to-end (comuns → back → front) |
+| `criar-componente-vue3` | Componente Vue 3 com padrões obrigatórios do projeto |
+| `consultar-banco-knex` | Queries Knex com padrões de leitura/escrita/JSONB |
+| `implementar-permissoes` | Controle de acesso específico do domínio |
+
+---
+
+## 5️⃣ Atualização da Memória (Obrigatória quando aplicável)
+
+Sempre que decisões críticas sobre a arquitetura da aplicação ou o contexto do domínio precisarem ser arquivadas temporária ou permanentemente de maneira descritiva (e não diretamente injetável em código ou regra de lint):
+
+* Registre o novo documento no formato adequado mantendo a pasta limpa em `.agent/memoria/`.
+* Exemplo: Manter diário de pendências (`diario-pendencias-modulo-x.md`) ou ADR (`adr-001-migracao-nuxt-4.md`).
+* Atenção! Tudo que puder ser abstraído para formato técnico estrito deve virar **Skill** ou **Rule**. Use a Memória apenas como extensão de base factual.
+
+---
+
+## 6️⃣ Revisão de Impacto (Dirigida por Grafo)
+
+Quando um artefato é alterado, a revisão deve ser **dirigida**, não exaustiva.
+
+### Processo:
+
+1. Identificar o artefato alterado
+2. Consultar a seção `Referências` do artefato para encontrar dependentes diretos
+3. Verificar consistência APENAS entre o artefato alterado e seus dependentes
+4. Se uma inconsistência for encontrada, propagar para o próximo nível
+
+### Regras de escopo:
+
+| Se alterou... | Revisar... |
+|---|---|
+| Uma **Rule** | Workflows e skills que a **referenciam** |
+| Um **Workflow** | Skills que o **referenciam** |
+| Uma **Skill** | Rules e workflows na seção Referências |
+| **Memória/ADR** | Nada — memória é registro, não dependência |
+
+### É PROIBIDO:
+
+* Revisar artefatos **sem relação** com a mudança
+* Afirmar que "tudo foi revisado" sem listar quais artefatos foram verificados
+* Criar artefatos sem verificar se já existe um com o mesmo escopo
+
+### A revisão DEVE verificar:
+
+* Não existem regras conflitantes entre o artefato alterado e seus dependentes
+* Referências cruzadas continuam válidas (arquivos existem, nomes corretos)
+* Skills refletem fielmente as rules que referenciam
+* Não há duplicação de conteúdo entre artefatos
+
+---
+
+## 7⃣ Verificação Final (Checklist obrigatório)
+
+Só é permitido encerrar se TODOS forem verdadeiros:
+
+* [ ] Artefatos dependentes do alterado foram revisados
+* [ ] Não existe conflito entre artefatos revisados
+* [ ] Não existe duplicação de conteúdo
+* [ ] Nenhuma regra ficou implícita
+* [ ] Referências cruzadas estão válidas
+* [ ] Estrutura está organizada por assunto
+* [ ] Skills referenciam (não duplicam) rules
+
+---
+
+## ⚠️ Regra Suprema
+
+> Se existir qualquer dúvida, conflito ou inconsistência
+> entre o artefato alterado e seus dependentes,
+> o trabalho é considerado **INCOMPLETO**.
+
+A revisão é dirigida, não opcional.
diff --git a/.agent/workflows/atualizar-agente.global.md b/.agent/workflows/atualizar-agente.global.md
new file mode 100644
index 0000000..b91cc26
--- /dev/null
+++ b/.agent/workflows/atualizar-agente.global.md
@@ -0,0 +1,46 @@
+---
+type: workflow
+name: atualizar-agente
+description: Aplica atualizações globais para o agente de IA
+scope: global
+updatedAt: "2026-06-01"
+---
+
+# Workflow: Atualizar Agente Global
+
+## Objetivo
+
+Baixar e aplicar a versão mais recente das rules, workflows e tools globais a partir do servidor central (`paiol.idz.one`).
+
+## Passos
+
+### 1. Baixar o script de atualização (se ainda não existir)
+
+```bash
+curl -fL# "https://paiol.idz.one/desenvolvimento/agent-ia/atualizar-agente-global.sh" -o .agent/atualizar-agente.global.sh
+chmod +x .agent/atualizar-agente.global.sh
+```
+
+### 2. Executar o script
+
+// turbo
+
+```bash
+sh .agent/atualizar-agente.global.sh
+```
+
+O script possui auto-atualização: na primeira execução, ele baixa sua própria versão mais recente e re-executa automaticamente.
+
+### 3. Verificar resultado
+
+Confirmar que os arquivos foram atualizados sem duplicações:
+
+```bash
+find .agent/ -name "*.md" -o -name "*.sh" | sort
+```
+
+Resultado esperado: todos os arquivos `.md` devem ter o sufixo `.global` (exceto `tools.md`).
+
+### 4. Revisar mudanças (quando aplicável)
+
+Se houve alterações significativas nas rules ou workflows, executar `/aprimorar-IA` para validar consistência do sistema de conhecimento.
\ No newline at end of file
diff --git a/.agent/workflows/comercial.global.md b/.agent/workflows/comercial.global.md
new file mode 100644
index 0000000..4e33b7c
--- /dev/null
+++ b/.agent/workflows/comercial.global.md
@@ -0,0 +1,144 @@
+---
+type: workflow
+name: comercial
+description: Criar uma descrição comercial das funcionalidades e do sistema
+scope: global
+updatedAt: "2026-06-01"
+---
+
+# Workflow: Criar Descrição Comercial
+
+Este workflow gera uma descrição comercial de funcionalidades ou do sistema completo, escrita na pasta `./COMERCIAL/`. Cada módulo ou funcionalidade gera um arquivo separado com o padrão `./COMERCIAL/.md`.
+
+É **OBRIGATÓRIO** seguir a regra global de Escrita Natural (`escrita-natural.global.md`) em toda produção textual deste workflow.
+
+---
+
+## Passos
+
+### 1. Identificar as funcionalidades solicitadas
+
+Perguntar ao usuário quais módulos ou funcionalidades devem ser descritos. Se o pedido for genérico ("descreva o sistema"), listar os módulos principais do projeto e confirmar o escopo antes de redigir.
+
+### 2. Levantar contexto real de cada funcionalidade
+
+Antes de escrever, ler o código-fonte e os componentes relacionados para entender:
+
+- Qual **problema real** a funcionalidade resolve?
+- Quem são os **usuários diretos**? (consultor ambiental, gestor ambiental, gestor público, técnico de campo)
+- Qual é o **fluxo de uso** no dia a dia?
+- Quais **dificuldades operacionais** existiam antes da solução?
+
+### 3. Redigir a descrição comercial
+
+Para cada funcionalidade, produzir **dois blocos de texto** no arquivo `./COMERCIAL/.md`:
+
+#### Bloco A — Descrição Resumida (2 a 4 linhas)
+
+Texto curto que pode ser usado em páginas de divulgação, apresentações rápidas ou materiais institucionais.
+
+Estrutura obrigatória:
+- **Linha 1**: o problema/dificuldade que existe sem a solução
+- **Linha 2-3**: como funciona na prática (ação do usuário, sem termos técnicos de TI)
+- **Linha 4**: o impacto concreto (ganho mensurável)
+
+*Exemplo:*
+> Sem controle digital, registros de campo ficam em cadernos e planilhas isoladas — sujeitos a perda e erro de transcrição.
+> Com a solução, o técnico registra os dados direto no celular, mesmo sem internet, com validação automática.
+> Isso elimina falhas de preenchimento e garante rastreabilidade completa para auditorias.
+
+#### Bloco B — Descrição Detalhada
+
+Texto mais completo (5 a 15 linhas) que aprofunda o funcionamento e os diferenciais. Deve incluir:
+
+- Cenário de uso realista (quem faz o quê, quando e onde)
+- Recursos técnicos relevantes explicados de forma acessível (offline, sincronização, alertas automáticos)
+- Benefícios encadeados (causa → efeito)
+- **Implicações legais ou normativas** (quando aplicável): se a funcionalidade tem relação com legislação, normas regulatórias ou resoluções de órgãos competentes, **citar expressamente** a norma ou obrigação legal. Isso fortalece o argumento comercial e demonstra que a solução atende requisitos reais de conformidade.
+
+> **Regra de siglas**: toda sigla usada pela primeira vez no texto deve vir acompanhada do nome por extenso. Exemplo: "ANA (Agência Nacional de Águas e Saneamento Básico)". Nas ocorrências seguintes, pode-se usar apenas a sigla.
+
+### 4. Revisar contra o checklist de qualidade
+
+Antes de entregar, validar **cada bloco** contra as restrições abaixo:
+
+- [ ] O texto do Resumo começa pelo problema, não pela funcionalidade?
+- [ ] Há pelo menos um cenário de uso prático (quem, onde, como)?
+- [ ] Os parágrafos são curtos (2 a 4 linhas) com uma ideia principal cada?
+- [ ] A linguagem soa como alguém que vive o problema, não como manual de software?
+- [ ] Está **LIVRE** de jargões de TI e termos em inglês sem tradução?
+- [ ] Toda **sigla** está acompanhada do nome por extenso na primeira ocorrência?
+- [ ] Está **LIVRE** de termos vazios ("Inovador", "Eficiente", "Solução completa", "O presente projeto")?
+- [ ] Está **LIVRE** do padrão repetitivo "O sistema permite / A funcionalidade permite / A ferramenta permite"?
+- [ ] As frases variam de estrutura? (alternando "Na prática...", "Com isso...", "Isso reduz...", "Como resultado...")
+- [ ] Quando há implicação legal ou normativa, a norma/lei/resolução está **citada e destacada** no texto?
+- [ ] O texto é compreensível pelo **público-alvo do produto** sem conhecimento de TI?
+
+---
+
+## Público-Alvo
+
+Todo texto produzido por este workflow deve ser compreensível pelo **público-alvo do produto**. O agente deve identificar quem são os usuários e decisores com base no contexto do projeto.
+
+Regra geral: nenhum dos perfis-alvo tem obrigação de conhecer termos de tecnologia. A linguagem deve ser **acessível, direta e sem jargões de TI**.
+
+---
+
+## Regras de Tom e Vocabulário
+
+| ✅ Usar | ❌ Evitar |
+|---|---|
+| "Na prática, o técnico..." | "O sistema permite..." |
+| "Com isso, a equipe..." | "A solução inovadora..." |
+| "Isso elimina..." | "O presente projeto visa..." |
+| "Como resultado..." | "Dessa forma..." |
+| "Sem a solução, o gestor precisa..." | "A ferramenta oferece..." |
+| "Entregamos controle sobre..." | "Nossa solução oferece..." |
+| "O gestor ganha visibilidade de..." | "A plataforma disponibiliza..." |
+| "página de divulgação" | "landing page" |
+| "frase de abertura" | "hook" |
+| "chamada para ação" | "CTA" (isolado, sem explicação) |
+| "texto persuasivo" | "copywriting" |
+| "linha do tempo, publicações" | "feed" |
+
+**Tom geral**: profissional, direto, sem burocracia institucional. O texto deve parecer escrito por quem constrói a solução e entende a operação do dia a dia do cliente.
+
+---
+
+## Formato de Saída
+
+Cada módulo ou funcionalidade deve gerar **um arquivo próprio** dentro da pasta `./COMERCIAL/`.
+
+**Regra de nomeação do arquivo:**
+- Usar o nome do módulo em **kebab-case** (minúsculo, separado por hifens)
+
+O arquivo `./COMERCIAL/.md` deve seguir esta estrutura:
+
+```markdown
+# [Nome do Módulo]
+
+## [Nome da Sub-funcionalidade]
+
+### Resumo
+
+[Bloco A — 2 a 4 linhas: problema → solução → impacto]
+
+### Detalhamento
+
+[Bloco B — 5 a 15 linhas: cenário real + técnico acessível + legal]
+
+---
+
+## [Próxima Sub-funcionalidade]
+
+...
+```
+
+---
+
+## Referências
+
+- Regra global: `.agent/rules/escrita-natural.global.md` (padrão obrigatório de redação)
+- Workflow: `.agent/workflows/orcamento.global.md` (texto para documentos de orçamento e proposta — apresentação + lista de funcionalidades)
+- Workflow: `.agent/workflows/marketing.global.md` (peças de marketing digital — LinkedIn, Instagram, WhatsApp, E-mail)
+- Workflow: `.agent/workflows/otimizar-codigos.global.md` (para documentação técnica, não comercial)
diff --git a/.agent/workflows/criar-fluxograma.global.md b/.agent/workflows/criar-fluxograma.global.md
new file mode 100644
index 0000000..d7651d2
--- /dev/null
+++ b/.agent/workflows/criar-fluxograma.global.md
@@ -0,0 +1,189 @@
+---
+type: workflow
+name: criar-fluxograma
+description: Criar ou atualizar uma página de fluxograma interativo em qualquer sistema
+scope: global
+updatedAt: "2026-06-01"
+---
+
+# Workflow: Criar Fluxograma de Decisões
+
+Este workflow cria uma **página interativa de fluxograma** em qualquer aplicação web, usando Mermaid.js instalado como dependência do projeto.
+
+## Princípio
+
+O fluxograma é um artefato vivo. Ele documenta visualmente:
+- Os **pontos de entrada** do processo
+- As **decisões** tomadas em cada etapa
+- Os **registros gerados** (banco, fila, log, e-mail, etc.)
+- As **proteções e regras** que governam os estados
+
+Deve ser mantido sempre sincronizado com o código real.
+
+---
+
+## Passos
+
+### 1. Levantar o processo a ser documentado
+
+Ler os arquivos de código relevantes para entender:
+
+- Quais são os **pontos de entrada**? (funções de API, eventos, webhooks, ações do usuário)
+- Quais são as **decisões**? (condições `if/else`, guards, validações)
+- Quais são os **efeitos colaterais**? (gravações em banco, envios de e-mail, filas, logs)
+- Quais são os **estados possíveis**? (status, notas, flags, etapas)
+- Existe **hierarquia ou prioridade** entre estados?
+
+### 2. Organizar os diagramas
+
+Dividir o processo em **um diagrama por ponto de entrada**.
+
+Cada diagrama deve mostrar:
+- Todos os caminhos possíveis, inclusive early returns e casos de erro
+- Registros gerados com ícone indicativo (ex: 🗄️ banco, 📧 e-mail, 🚫 bloqueio)
+- Decisões claramente separadas por ramificações
+
+Definir a orientação de cada diagrama:
+- `flowchart TD` → vertical (melhor para fluxos sequenciais com poucas ramificações)
+- `flowchart LR` → horizontal (melhor para pipelines e fluxos com muitas etapas em linha)
+
+### 3. Instalar o Mermaid
+
+Instalar como dependência do projeto antes de qualquer implementação:
+
+```bash
+# npm
+npm install mermaid
+
+# pnpm
+pnpm add mermaid
+```
+
+### 4. Criar a página com Mermaid
+
+Adaptar à plataforma do projeto (Vue, React, HTML puro, etc.), mas garantir:
+
+#### Importação
+
+```js
+import mermaid from 'mermaid';
+```
+
+#### Inicialização com tema institucional
+
+Adaptar as cores para a identidade visual do projeto:
+
+```js
+mermaid.initialize({
+ startOnLoad: false,
+ theme: 'base',
+ themeVariables: {
+ primaryColor: '#4F46E5', // cor primária do projeto
+ primaryTextColor: '#1F2933',
+ primaryBorderColor: '#3730A3', // variação mais escura da primária
+ lineColor: '#6B7280',
+ secondaryColor: '#E0E7FF', // variação clara da primária
+ tertiaryColor: '#F3F4F6',
+ fontFamily: "'Inter', 'Segoe UI', sans-serif",
+ fontSize: '13px',
+ },
+});
+```
+
+#### Renderização de cada diagrama
+
+```js
+// Para cada diagrama:
+const { svg } = await mermaid.render(`id-unico-${idx}`, codigoMermaid);
+container.innerHTML = svg;
+
+// Tornar o SVG responsivo:
+const svgEl = container.querySelector('svg');
+if (svgEl) {
+ svgEl.style.width = '100%';
+ svgEl.style.height = 'auto';
+ svgEl.removeAttribute('width');
+}
+```
+
+### 5. Registrar a rota e adicionar acesso
+
+- Registrar a rota `/fluxograma` (ou equivalente) no sistema de rotas do projeto
+- Adicionar botão de navegação na tela de administração ou dashboard
+
+---
+
+## Padrão de sintaxe Mermaid
+
+### Tipos de nó por semântica
+
+| Situação | Sintaxe | Exemplo |
+|---|---|---|
+| Início / Fim | `A(["Texto"])` | `A(["Início"])` |
+| Decisão | `B{"Condição?"}` | `B{"Nota é ativa?"}` |
+| Ação / Processo | `C["Texto"]` | `C["Consulta banco"]` |
+| Registro em banco | `D[("🗄️ Grava dado")]` | `D[("🗄️ Grava 203_neutro")]` |
+| E-mail / notificação | `E["📧 Envia e-mail"]` | `E["📧 Agenda na fila"]` |
+| Bloqueio / guard | `F["🚫 Retorna sem ação"]` | `F["🚫 Nota ativa, ignora"]` |
+| Proteção / regra | `G["🛡️ Regra aplicada"]` | `G["🛡️ SQL CASE protege"]` |
+
+### Regras para evitar erros de parsing
+
+```
+✅ Nós com parênteses → usar aspas:
+ A["Texto (com parênteses)"]
+
+✅ Labels de arestas com texto especial → usar aspas:
+ A -- "Label aqui" --> B
+
+✅ Emojis → sempre dentro de aspas:
+ A["🗄️ Grava registro"]
+
+❌ Não usar < > dentro de labels sem aspas
+❌ Não usar & diretamente — usar texto alternativo
+```
+
+### Cores de destaque para nós
+
+```
+style NomeNo fill:#22C55E,color:#fff → verde sucesso
+style NomeNo fill:#DC2626,color:#fff → vermelho erro
+style NomeNo fill:#F59E0B,color:#000 → amarelo alerta
+style NomeNo fill:#4F46E5,color:#fff → cor institucional (adaptar ao projeto)
+style NomeNo fill:#6B7280,color:#fff → cinza neutro
+```
+
+---
+
+## Validação antes de finalizar
+
+- [ ] Cada ponto de entrada tem seu próprio diagrama?
+- [ ] Todos os registros gerados estão mapeados?
+- [ ] Os caminhos de bloqueio e early return estão visíveis?
+- [ ] A hierarquia de estados (se existir) está documentada?
+- [ ] A data de atualização está registrada na página?
+- [ ] A sintaxe Mermaid está correta (sem erros de parsing)?
+- [ ] O SVG está responsivo (largura 100%, sem width fixo)?
+
+---
+
+## Manutenção
+
+Sempre que o processo mudar:
+
+1. Identificar qual diagrama é afetado
+2. Atualizar o código Mermaid correspondente
+3. Atualizar a data de atualização na página
+4. Se houver novo estado ou proteção, documentar na legenda
+
+---
+
+## Referência de implementação
+
+Se o projeto já possuir um fluxograma implementado, usar como referência.
+Caso contrário, seguir os passos acima para criar a primeira implementação.
+
+## Referências
+
+- Workflow: `.agent/workflows/otimizar-codigos.global.md`
+- Skill: `.agent/skills/documentar-decisao-tecnica.global/SKILL.md` (para decisões que geram fluxogramas)
diff --git a/.agent/workflows/documentar-regras-negocio.global.md b/.agent/workflows/documentar-regras-negocio.global.md
new file mode 100644
index 0000000..41925bc
--- /dev/null
+++ b/.agent/workflows/documentar-regras-negocio.global.md
@@ -0,0 +1,105 @@
+---
+type: workflow
+name: documentar-regras-negocio
+description: Criar ou atualizar o arquivo {modulo}.regras-negocio.md co-localizado com um módulo TypeScript e garantir consistência entre código e documentação
+scope: global
+updatedAt: "2026-06-01"
+---
+
+# Workflow: Documentar Regras de Negócio de um Módulo
+
+Use este workflow com `/documentar-regras-negocio.global` para criar ou atualizar o arquivo
+`{modulo}.regras-negocio.md` de qualquer módulo TypeScript com lógica de negócio não-trivial.
+
+---
+
+[1] Ler o módulo TypeScript completamente
+
+Identificar e anotar:
+
+- Nome do arquivo e localização exata
+- Funções exportadas e suas responsabilidades
+- Todos os `if` que representam critérios de decisão
+- Campos lidos e gravados (especialmente JSONB e campos de status)
+- Queries de banco: tabelas acessadas, filtros aplicados, joins
+- Caminhos alternativos (revisão manual, erros, skips)
+- Dependências externas (filas, e-mails, serviços)
+
+---
+
+[2] Verificar se já existe um `.regras-negocio.md`
+
+```bash
+ls $(dirname )/*.regras-negocio.md 2>/dev/null
+```
+
+- **Existe** → ler e identificar o que está desatualizado → ir para o passo [4]
+- **Não existe** → ir para o passo [3]
+
+---
+
+[3] Criar o arquivo `.regras-negocio.md`
+
+Nomenclatura: `{nome-sem-_inicial}.regras-negocio.md` na mesma pasta do módulo.
+
+Preencher com o template da skill `documentar-regras-negocio.global`:
+- Contexto
+- Critérios de Entrada
+- Regras de Processamento (numeradas)
+- Casos de Revisão Manual
+- Estratégia de Saída / Fusão de Campos
+- Dependências Externas
+
+---
+
+[4] Adicionar ou verificar a referência no `.ts`
+
+Garantir que a primeira linha útil do arquivo TypeScript seja:
+
+```typescript
+// Regras de negócio: ver {modulo}.regras-negocio.md
+```
+
+Se já existia e está correto → sem mudança necessária.
+
+---
+
+[5] Simplificar JSDoc que duplicam as regras
+
+Percorrer cada função do módulo:
+
+- JSDoc com lista de regras de negócio → substituir por referência ao `.md`
+- Manter apenas `@param` e `@returns` com informação técnica precisa
+- Comentários inline (`//`) explicando lógica pontual são aceitos → manter
+
+---
+
+[6] Verificar consistência — código ↔ `.md`
+
+Para cada regra listada no `.md`:
+
+- [ ] Existe `if` correspondente no código
+- [ ] A ordem de avaliação bate entre `.md` e código
+- [ ] Campos com separador de concatenação batem entre `.md` e código
+- [ ] `null` como neutro está implementado corretamente (`!= null`)
+- [ ] Queries têm `orderBy` quando a posição dos resultados importa
+
+---
+
+[7] Validar tipagem
+
+// turbo
+```bash
+npx tsc --noEmit
+```
+
+Zero erros = concluído.
+
+---
+
+[8] Registrar no sistema de conhecimento (se regras novas)
+
+Se o workflow revelou novos padrões de negócio relevantes ao projeto:
+
+- Criar ou atualizar ADR em `.agent/memoria/` via skill `documentar-decisao-tecnica`
+- Verificar se alguma rule precisa ser atualizada
diff --git a/.agent/workflows/marketing.global.md b/.agent/workflows/marketing.global.md
new file mode 100644
index 0000000..6b6c3fb
--- /dev/null
+++ b/.agent/workflows/marketing.global.md
@@ -0,0 +1,209 @@
+---
+type: workflow
+name: marketing
+description: Criar peças de marketing digital para funcionalidades e módulos do sistema
+scope: global
+updatedAt: "2026-06-01"
+---
+
+# Workflow: Criar Peças de Marketing
+
+Este workflow gera peças de marketing digital prontas para uso em canais como LinkedIn, Instagram, WhatsApp e E-mail. O resultado é salvo na pasta `./COMERCIAL/` junto ao arquivo comercial do módulo correspondente, ou em arquivo separado `./COMERCIAL/-marketing.md`.
+
+É **OBRIGATÓRIO** seguir a regra global de Escrita Natural (`escrita-natural.global.md`) em toda produção textual deste workflow.
+
+O agente deve atuar como **especialista em marketing digital voltado para o setor do produto (venda entre empresas)**, aplicando técnicas comprovadas de texto persuasivo e engajamento.
+
+## Público-Alvo das Peças
+
+As peças serão lidas pelo **público-alvo do produto**. O agente deve identificar quem são os usuários e decisores com base no contexto do projeto.
+
+Regra geral: nenhum dos perfis-alvo tem obrigação de conhecer termos de tecnologia. A linguagem deve ser **acessível, direta e sem jargões de TI**. Siglas devem vir acompanhadas do nome por extenso na primeira ocorrência.
+
+---
+
+## Pré-requisitos
+
+Antes de gerar peças de marketing, o arquivo comercial do módulo (`./COMERCIAL/.md`) já deve existir com os blocos A (Resumo) e B (Detalhamento). Se não existir, aplicar primeiro o workflow `/comercial.global`.
+
+---
+
+## Passos
+
+### 1. Identificar o módulo e o canal
+
+Perguntar ao usuário:
+- Qual módulo ou funcionalidade será divulgado?
+- Quais canais deseja? (LinkedIn, Instagram, WhatsApp, E-mail, ou todos)
+
+### 2. Ler o contexto comercial
+
+Ler o arquivo `./COMERCIAL/.md` para extrair:
+- O problema e impacto (Bloco A)
+- Os cenários de uso e referências legais (Bloco B)
+
+### 3. Redigir as peças de marketing
+
+---
+
+## Princípios de Engajamento
+
+1. **Abrir com uma provocação ou dado concreto** — nunca com o nome do produto. A primeira frase deve fazer o leitor parar de rolar as publicações.
+2. **Falar a língua do decisor** — usar o vocabulário do público-alvo do produto, não termos de tecnologia.
+3. **Criar urgência sem desespero** — mostrar o custo da inação (multa, retrabalho, perda de prazo) sem tom alarmista.
+4. **Fechar com uma chamada para ação clara** — sempre direcionar para o próximo passo: demonstração, contato, link ou agendamento.
+5. **Adaptar ao canal** — o mesmo conteúdo não funciona igual no LinkedIn, Instagram, WhatsApp e e-mail. Cada peça deve respeitar o formato e tom do canal.
+
+---
+
+## Técnicas Obrigatórias
+
+| Técnica | Como aplicar |
+|---|---|
+| **Frase de abertura impactante** | Pergunta retórica, dado alarmante ou afirmação provocativa nas primeiras 10 palavras |
+| **Prova social** | Mencionar o tipo de cliente que já usa (prefeituras, indústrias, consultorias), sem inventar números |
+| **Contraste antes/depois** | Mostrar o cenário ruim (planilha, papel, multa) ao lado do cenário com a solução |
+| **Especificidade** | Trocar "economiza tempo" por "reduz 4 horas semanais de consolidação manual" |
+| **Chamada para ação conectada ao problema** | A frase final deve se conectar ao problema apresentado, não ser genérica |
+
+---
+
+## Formatos por Canal
+
+### LinkedIn (Carrossel ou Post)
+
+- 3 a 5 parágrafos curtos (1-2 linhas cada)
+- Abrir com frase de abertura forte na primeira linha (antes do "ver mais")
+- Usar quebras de linha para facilitar a leitura
+- Emojis como marcadores (⚠️, ✅, 📊), no máximo 1 por parágrafo
+- Fechar com chamada para ação + hashtags relevantes (no máximo 5)
+
+*Exemplo de LinkedIn:*
+
+```
+⚠️ Sua equipe ainda controla [processo crítico] em planilha?
+
+A maioria das operações só descobre o problema
+quando o órgão regulador notifica.
+Nessa hora, a multa já está lavrada.
+
+Com [nome do produto], cada registro é feito digitalmente
+com cálculo automático. Se o valor ultrapassar
+o limite autorizado, um alerta dispara na hora.
+
+✅ Controle em tempo real
+✅ Alertas automáticos de limite
+✅ Relatórios prontos para auditoria
+
+Quer ver funcionando? Fale com a gente.
+
+#Hashtag1 #Hashtag2 #Hashtag3
+```
+
+### Instagram (Stories / Reels / Carrossel)
+
+- Frases de impacto (no máximo 15 palavras por slide)
+- Visual > texto — cada slide deve ter uma ideia única
+- Usar contrastes visuais (❌ antes / ✅ depois)
+- Chamada para ação no último slide: "Link na bio" ou "Fale com nosso time"
+
+*Exemplo de Instagram:*
+
+```
+Slide 1: "Sua operação está em conformidade?"
+Slide 2: ❌ "Planilhas manuais. Registros esquecidos. Consolidação no fim do mês."
+Slide 3: ⚠️ "[Citação legal relevante]"
+Slide 4: ✅ "Registro digital com cálculo automático."
+Slide 5: ✅ "Alerta em tempo real quando o limite é atingido."
+Slide 6: "Conheça [nome do produto]. Link na bio."
+```
+
+### WhatsApp (Mensagem de prospecção)
+
+- No máximo 4 linhas + 1 chamada para ação
+- Tom pessoal, sem parecer mensagem em massa
+- Mencionar o contexto do destinatário (setor, dificuldade conhecida)
+
+*Exemplo de WhatsApp:*
+
+```
+Oi [Nome], tudo bem?
+
+Vi que vocês trabalham com [contexto do destinatário].
+Queria mostrar como estamos ajudando operações como a de vocês
+a [benefício principal da solução].
+
+Posso te mandar um vídeo rápido de 2 min mostrando como funciona?
+```
+
+### E-mail (Prospecção ou Nutrição)
+
+- Assunto: direto, com gancho de dificuldade real (no máximo 60 caracteres)
+- Corpo: 3 parágrafos curtos — problema → solução → chamada para ação
+- Evitar formatação visual pesada — preferir texto limpo e direto
+
+*Exemplo de E-mail:*
+
+```
+Assunto: [Pergunta sobre dificuldade real do destinatário]
+
+Olá [Nome],
+
+[Parágrafo 1: descrever a dificuldade que o destinatário provavelmente enfrenta]
+
+[Parágrafo 2: como a solução resolve, com dados concretos]
+
+Se fizer sentido, posso agendar 15 minutos para mostrar como funciona
+na prática. Qual o melhor horário para você?
+
+[Assinatura]
+```
+
+---
+
+## Checklist de Qualidade
+
+Antes de finalizar qualquer peça, validar:
+
+- [ ] A primeira frase **provoca, questiona ou surpreende**?
+- [ ] O texto fala a **língua do decisor** (público-alvo do produto), não de desenvolvedor?
+- [ ] Existe **contraste claro** entre o cenário sem e com a solução?
+- [ ] Os benefícios são **específicos** (números, tempo, ações concretas)?
+- [ ] Tem **chamada para ação clara** e conectada ao problema apresentado?
+- [ ] O tom está **adaptado ao canal** (LinkedIn ≠ WhatsApp ≠ E-mail)?
+- [ ] Está **LIVRE** de jargões de TI e termos em inglês sem tradução?
+- [ ] Toda **sigla** está acompanhada do nome por extenso na primeira ocorrência?
+- [ ] Menções legais são usadas como **argumento de urgência**, não como decoração?
+
+---
+
+## Formato de Saída
+
+O resultado deve ser salvo em `./COMERCIAL/-marketing.md` ou adicionado ao final do arquivo comercial existente, conforme preferência do usuário.
+
+```markdown
+# Marketing — [Nome do Módulo]
+
+## LinkedIn
+
+[Post pronto para publicação]
+
+## Instagram
+
+[Roteiro de slides para carrossel ou legenda para post]
+
+## WhatsApp
+
+[Mensagem de prospecção]
+
+## E-mail
+
+[Template de prospecção ou nutrição]
+```
+
+---
+
+## Referências
+
+- Workflow: `.agent/workflows/comercial.global.md` (gera os blocos A e B que alimentam o marketing)
+- Regra global: `.agent/rules/escrita-natural.global.md` (padrão obrigatório de redação)
diff --git a/.agent/workflows/orcamento.global.md b/.agent/workflows/orcamento.global.md
new file mode 100644
index 0000000..9d46b27
--- /dev/null
+++ b/.agent/workflows/orcamento.global.md
@@ -0,0 +1,134 @@
+---
+type: workflow
+name: orcamento
+description: Criar texto de orçamento pronto para copiar e colar em peças de orçamento/proposta
+scope: global
+updatedAt: "2026-06-01"
+---
+
+# Workflow: Criar Texto de Orçamento
+
+Este workflow gera textos prontos para **copiar e colar dentro de documentos de orçamento e propostas comerciais**. O resultado é salvo na pasta `./COMERCIAL/` com o sufixo `-orcamento` (ex: `./COMERCIAL/-orcamento.md`).
+
+É **OBRIGATÓRIO** seguir a regra global de Escrita Natural (`escrita-natural.global.md`) em toda produção textual deste workflow.
+
+---
+
+## Público-Alvo
+
+O documento de orçamento será lido pelo **público-alvo do produto**. O agente deve identificar quem são os usuários e decisores com base no contexto do projeto.
+
+A linguagem deve ser **acessível, direta e sem jargões de TI**. Siglas devem vir acompanhadas do nome por extenso na primeira ocorrência.
+
+---
+
+## Pré-requisitos
+
+Antes de gerar o texto de orçamento, o agente deve ler o código-fonte do módulo para entender quais funcionalidades existem de fato. Se já existir o arquivo comercial (`./COMERCIAL/.md`), usá-lo como base para extrair contexto.
+
+---
+
+## Passos
+
+### 1. Identificar o módulo
+
+Perguntar ao usuário qual módulo ou funcionalidade será orçado.
+
+### 2. Levantar contexto
+
+Ler o código-fonte e os componentes relacionados para mapear:
+- Quais **funcionalidades** o módulo oferece de fato?
+- Existe **legislação ou norma** relevante que o módulo atende?
+- Quem são os **usuários diretos**? (consultor, gestor, técnico de campo)
+
+### 3. Redigir o texto de orçamento
+
+O texto deve ser **autocontido** — pronto para colar diretamente dentro de um documento de orçamento sem necessidade de edição. Estrutura obrigatória:
+
+#### Apresentação do Módulo (2 a 4 linhas)
+
+Texto que descreve o módulo de forma direta, mostrando **o que ele faz** e **qual problema resolve**. Se houver legislação ou norma relevante, **citar aqui** para demonstrar conformidade regulatória e fortalecer o argumento.
+
+Regras:
+- Começar pelo que o módulo entrega, não pelo problema
+- Se houver lei/norma relevante, citar com nome por extenso e artigo
+- Tom confiante e profissional — adequado para documento formal
+- Não usar termos de tecnologia
+
+#### Lista de Funcionalidades
+
+Após a apresentação, listar as funcionalidades do módulo em formato de **itens curtos** (1 a 2 linhas cada). Cada item deve:
+
+- Descrever **o que a funcionalidade faz na prática** (ação concreta, não conceito abstrato)
+- Ser compreensível por alguém que **nunca viu o sistema**
+- Ser suficientemente específico para justificar o valor cobrado
+
+Regras para cada item:
+- Começar com o **nome da funcionalidade** em negrito
+- Seguir com uma descrição curta do que ela faz
+- Opcionalmente, incluir o benefício direto entre parênteses ou traço
+
+### 4. Revisar contra o checklist de qualidade
+
+Antes de entregar, validar:
+
+- [ ] A apresentação do módulo é autocontida e compreensível isoladamente?
+- [ ] Cada funcionalidade está descrita de forma concreta (o que faz, não o que é)?
+- [ ] O texto está **pronto para copiar e colar** sem edição?
+- [ ] Está **LIVRE** de jargões de TI e termos em inglês sem tradução?
+- [ ] Toda **sigla** está acompanhada do nome por extenso na primeira ocorrência?
+- [ ] Legislação/norma relevante está **citada na apresentação** com nome por extenso?
+- [ ] O tom é profissional e adequado para um documento formal de orçamento?
+- [ ] É compreensível pelo **público-alvo do produto** sem conhecimento de TI?
+
+---
+
+## Regras de Redação
+
+- **Sem jargões de TI**: trocar termos técnicos por equivalentes acessíveis (ex: "painel" em vez de "dashboard", "código QR" em vez de "QR Code")
+- **Siglas por extenso**: toda sigla deve vir acompanhada do nome por extenso na primeira ocorrência
+- **Tom formal mas acessível**: adequado para um documento de orçamento/proposta enviado a um diretor ou secretário
+- **Funcionalidades concretas**: "Registro de leituras com cálculo automático de volume", não "Módulo de coleta de dados parametrizável"
+
+---
+
+## Formato de Saída
+
+O arquivo `./COMERCIAL/-orcamento.md` deve seguir esta estrutura:
+
+```markdown
+# [Nome do Módulo]
+
+[Apresentação do módulo — 2 a 4 linhas com legislação relevante, se aplicável]
+
+## Funcionalidades incluídas
+
+- **[Nome da funcionalidade 1]**: [descrição curta do que faz na prática]
+- **[Nome da funcionalidade 2]**: [descrição curta do que faz na prática]
+- **[Nome da funcionalidade 3]**: [descrição curta do que faz na prática]
+- ...
+```
+
+*Exemplo:*
+
+```markdown
+# [Nome do Módulo]
+
+[Apresentação do módulo com descrição direta do que faz, qual problema resolve e,
+se aplicável, legislação ou norma relevante citada por extenso.]
+
+## Funcionalidades incluídas
+
+- **[Funcionalidade 1]**: [descrição curta do que faz]
+- **[Funcionalidade 2]**: [descrição curta do que faz]
+- **[Funcionalidade 3]**: [descrição curta do que faz]
+- ...
+```
+
+---
+
+## Referências
+
+- Workflow: `.agent/workflows/comercial.global.md` (descrição comercial detalhada — Resumo e Detalhamento)
+- Workflow: `.agent/workflows/marketing.global.md` (peças de marketing digital)
+- Regra global: `.agent/rules/escrita-natural.global.md` (padrão obrigatório de redação)
diff --git a/.agent/workflows/otimizar-codigos.global.md b/.agent/workflows/otimizar-codigos.global.md
new file mode 100644
index 0000000..584b19b
--- /dev/null
+++ b/.agent/workflows/otimizar-codigos.global.md
@@ -0,0 +1,76 @@
+---
+type: workflow
+name: otimizar-codigos
+description: Processo de refatoração e validação de qualidade de código
+scope: global
+updatedAt: "2026-06-01"
+---
+
+# Workflow: Qualidade e Otimização de Código
+
+## 🎯 Objetivo
+
+Aplicar as rules de qualidade do ecossistema Azteca em código existente ou novo, garantindo que todos os padrões sejam cumpridos antes de finalizar uma tarefa.
+
+---
+
+## Passos
+
+### 1. Verificar limite de linhas
+
+```bash
+sh .agent/verificar-linhas.sh
+```
+
+Se houver violações, aplicar estratégias da rule `limite-linhas.global.md`:
+- Extrair subcomponentes, mover CSS, usar Dispatch Table
+- Se necessário, converter em pasta com `index.vue`
+
+### 2. Validar estrutura Vue
+
+Para cada componente `.vue` modificado, verificar conforme `estrutura-vue.global.md`:
+- `defineComponent` presente?
+- `setup()` contém lógica própria (não delegada)?
+- CSS extenso foi movido para arquivo co-localizado?
+
+### 3. Documentar código
+
+Para cada função compartilhada criada/modificada, aplicar `jsdoc-padrao.global.md`:
+- JSDoc com `@param` e `@returns`?
+- Casts temporários têm comentário justificando?
+- TODOs no formato padronizado?
+
+### 4. Validar tipagem
+
+```bash
+npx tsc --noEmit
+```
+
+Zero erros = prosseguir. Se houver erros, aplicar `typescript-sem-any.global.md` — nunca resolver com `any`.
+
+### 5. Formatar
+
+```bash
+npx biome check --write .
+```
+
+---
+
+## Checklist Final
+
+- [ ] `verificar-linhas.sh` passa sem violações?
+- [ ] Componentes Vue usam `defineComponent`?
+- [ ] Funções compartilhadas têm JSDoc?
+- [ ] Casts temporários estão justificados?
+- [ ] `tsc --noEmit` zero erros?
+- [ ] `biome check` sem problemas?
+
+## Rules Aplicadas
+
+Este workflow orquestra a verificação das seguintes rules:
+
+- `.agent/rules/limite-linhas.global.md` — máximo 250 linhas
+- `.agent/rules/estrutura-vue.global.md` — defineComponent, setup, CSS, dispatch
+- `.agent/rules/jsdoc-padrao.global.md` — JSDoc, casts, TODOs
+- `.agent/rules/typescript-sem-any.global.md` — proibição de any
+- `.agent/rules/zod-validacao-padrao.global.md` — validação de entradas externas
\ No newline at end of file
diff --git a/.agent/workflows/reels.global.md b/.agent/workflows/reels.global.md
new file mode 100644
index 0000000..6276b65
--- /dev/null
+++ b/.agent/workflows/reels.global.md
@@ -0,0 +1,204 @@
+---
+type: workflow
+name: reels
+description: Criar cadeia de roteiros de Reels para divulgação de funcionalidades e módulos
+scope: global
+updatedAt: "2026-06-01"
+---
+
+# Workflow: Criar Roteiros de Reels
+
+Este workflow gera **cadeias de roteiros de Reels** (vídeos curtos de 30 a 60 segundos) organizados por tema. Os roteiros são escritos em tom provocativo, informal e direto — prontos para gravar falando para a câmera ou com narração em off. O resultado é salvo em `./COMERCIAL/-reels.md`.
+
+É **OBRIGATÓRIO** seguir a regra global de Escrita Natural (`escrita-natural.global.md`) em toda produção textual deste workflow.
+
+---
+
+## Público-Alvo dos Reels
+
+Os vídeos serão assistidos pelo **público-alvo do produto**. O agente deve identificar quem são os usuários e decisores com base no contexto do projeto.
+
+Regra geral: a linguagem deve ser **coloquial, direta e sem jargões de TI**. Siglas devem vir acompanhadas do nome por extenso quando citadas pela primeira vez.
+
+---
+
+## Pré-requisitos
+
+Antes de gerar roteiros, o agente deve entender as funcionalidades reais do módulo. Se já existir o arquivo comercial (`./COMERCIAL/.md`), usá-lo como base. Caso contrário, ler o código-fonte para mapear o que o módulo entrega de fato.
+
+---
+
+## Passos
+
+### 1. Identificar o tema
+
+Perguntar ao usuário:
+- Qual módulo ou funcionalidade será o tema dos reels?
+- Quantos roteiros deseja na cadeia? (padrão: 6)
+- Algum tom específico? (provocativo, educativo, humorístico)
+
+### 2. Levantar contexto
+
+Mapear:
+- Quais **funcionalidades** do módulo geram mais impacto visual e prático?
+- Quais **dores reais** o público-alvo enfrenta sem a solução?
+- Existe **legislação ou norma** que possa ser usada como argumento de urgência?
+- Quais **comparações do dia a dia** fazem sentido para o público?
+
+### 3. Redigir a cadeia de roteiros
+
+Cada cadeia deve conter **4 a 8 roteiros**, todos conectados pelo mesmo tema mas com abordagens diferentes. Cada roteiro segue a estrutura abaixo.
+
+---
+
+## Estrutura de um Roteiro
+
+Cada roteiro deve ter entre **6 e 12 frases curtas**, organizadas em 4 blocos:
+
+### Bloco 1 — Abertura (1-2 frases)
+
+A primeira frase é a mais importante. Ela decide se o espectador para ou rola.
+
+Técnicas obrigatórias (usar pelo menos uma por roteiro):
+
+| Técnica | Exemplo |
+|---|---|
+| **Provocação direta** | "Se você ainda faz isso manual… tá perdendo dinheiro." |
+| **Referência pop** | "Tá mais perdido que timeline de fofoca da Virgínia?" |
+| **Formato "Plot twist"** | "Plot twist: você perde cliente não é pelo preço…" |
+| **Convocação** | "Se sua proposta fosse convocada hoje… ela jogaria?" |
+| **Contraste chocante** | "Expectativa: vou organizar meus processos. Realidade: caos." |
+| **Pergunta retórica** | "Quantas horas você perdeu esse mês montando relatório?" |
+| **Afirmação polêmica** | "A maioria dos consultores está jogando dinheiro fora." |
+
+### Bloco 2 — Dor / Cenário ruim (2-3 frases)
+
+Descrever o cenário do público-alvo SEM a solução. Usar linguagem do dia a dia — como se estivesse conversando com um colega.
+
+Regras:
+- Frases curtas e ritmadas (máximo 12 palavras por frase)
+- Usar repetição para ritmo ("proposta pra um lado, orçamento pra outro…")
+- Descrever ações reais, não conceitos ("anota no papel, perde foto, esquece detalhe")
+- Pode usar humor leve e ironia
+
+### Bloco 3 — Virada / Solução (2-3 frases)
+
+Apresentar o produto como a virada. O nome do produto aparece aqui — naturalmente, sem parecer propaganda.
+
+Regras:
+- O produto é mencionado **uma única vez**, pelo nome
+- Descrever o que o produto faz em **ações concretas**, não em conceitos
+- Usar verbos de ação: "monta", "registra", "envia", "centraliza"
+- Mostrar resultado imediato: "menos retrabalho", "mais fechamento"
+
+### Bloco 4 — Fechamento / Desafio (1-2 frases)
+
+Fechar com uma pergunta ou desafio que provoque o espectador a agir.
+
+Técnicas:
+- **Desafio direto**: "Quer ser titular ou continuar no banco?"
+- **Escolha binária**: "Você decide em qual nível quer jogar."
+- **Pergunta provocativa**: "Você tá otimizando ou só se ocupando?"
+- **Chamada para ação suave**: "Começa a jogar no nível profissional."
+
+---
+
+## Estilos de Roteiro
+
+Cada cadeia deve variar os estilos para manter o conteúdo diverso. O agente deve usar **pelo menos 4 estilos diferentes** numa cadeia de 6 roteiros.
+
+| Estilo | Descrição | Ritmo |
+|---|---|---|
+| **Plot twist** | Começa com uma crença comum e inverte | Surpreendente |
+| **Mais perdido que...** | Analogia cômica + caos do dia a dia | Humorístico |
+| **Convocação** | Metáfora de seleção/time/jogo | Competitivo |
+| **Raiz vs Smart** | Dois perfis contrastados | Comparativo |
+| **Tempo é dinheiro** | Foco em produtividade e custo de oportunidade | Urgência |
+| **Expectativa vs Realidade** | Contraste entre o plano e o caos | Identificação |
+| **Se eu te contasse** | Narrativa de revelação progressiva | Curiosidade |
+| **Checklist do fracasso** | Lista irônica do que NÃO fazer | Irônico |
+
+---
+
+## Regras de Entonação
+
+O roteiro deve indicar **como falar** cada trecho. Usar marcações simples:
+
+| Marcação | Significado |
+|---|---|
+| Texto normal | Tom de conversa, olhando pra câmera |
+| *Texto em itálico* | Tom irônico ou de provocação |
+| **Texto em negrito** | Ênfase, falar mais forte |
+| `[pausa]` | Pausa dramática de 1-2 segundos |
+| `[rápido]` | Falar em ritmo acelerado |
+| `[sussurrando]` | Tom baixo, como se contasse um segredo |
+
+---
+
+## Regras de Redação
+
+- **Frases curtas**: máximo 15 palavras por frase. Idealmente 8-12
+- **Sem jargões de TI**: trocar termos técnicos por equivalentes do dia a dia
+- **Tom coloquial**: "tá", "pra", "gente", "bobo" são permitidos e desejáveis
+- **Referências culturais**: usar quando fizerem sentido para o público (futebol, reality, memes do momento). Marcar como `[ref: atualizar]` se a referência puder ficar datada
+- **Uma ideia por frase**: cada frase deve ser compreensível isoladamente
+- **Sem "Olá pessoal"**: nunca abrir com saudação genérica
+- **Produto natural**: o nome do produto aparece no máximo 1 vez por roteiro, no bloco de solução
+- **Siglas**: toda sigla usada pela primeira vez deve vir acompanhada do nome por extenso
+
+---
+
+## Checklist de Qualidade
+
+Antes de entregar, validar **cada roteiro**:
+
+- [ ] A primeira frase **para o scroll**? (provocação, surpresa ou identificação)
+- [ ] O cenário da dor é **real e reconhecível** pelo público-alvo?
+- [ ] O produto aparece **naturalmente**, sem parecer propaganda forçada?
+- [ ] O fechamento **provoca ação** (pergunta, desafio ou escolha)?
+- [ ] O roteiro tem entre **6 e 12 frases**?
+- [ ] Cada frase tem no **máximo 15 palavras**?
+- [ ] O tom é **coloquial e direto** (não institucional)?
+- [ ] A cadeia usa **pelo menos 4 estilos diferentes**?
+- [ ] Está **LIVRE** de jargões de TI?
+- [ ] O roteiro funciona sendo **falado em voz alta**? (ler em voz alta para validar)
+
+---
+
+## Formato de Saída
+
+O arquivo `./COMERCIAL/-reels.md` deve seguir esta estrutura:
+
+```markdown
+# Reels — [Nome do Módulo]
+
+> Cadeia de [N] roteiros sobre [tema]
+> Tom: [provocativo / educativo / humorístico]
+> Duração média: 30-60 segundos por reel
+
+---
+
+## 🎥 Roteiro 1 – "[Título criativo]"
+
+"[Primeira frase — abertura impactante]
+
+[Bloco de dor — 2-3 frases curtas]
+
+[Bloco de solução — 2-3 frases com o produto]
+
+[Fechamento — pergunta ou desafio]"
+
+---
+
+## 🎥 Roteiro 2 – "[Título criativo]"
+
+...
+```
+
+---
+
+## Referências
+
+- Workflow: `.agent/workflows/comercial.global.md` (descrição comercial detalhada — base de contexto)
+- Workflow: `.agent/workflows/marketing.global.md` (peças de marketing por canal)
+- Regra global: `.agent/rules/escrita-natural.global.md` (padrão obrigatório de redação)
diff --git a/.agent/workflows/ux.global.md b/.agent/workflows/ux.global.md
new file mode 100644
index 0000000..f7d8357
--- /dev/null
+++ b/.agent/workflows/ux.global.md
@@ -0,0 +1,257 @@
+---
+type: workflow
+name: ux
+description: Revisar e otimizar UX de componentes e telas Vue (Frontend)
+scope: global
+updatedAt: "2026-06-01"
+---
+
+# Workflow: Revisão de UX
+
+Guia de revisão e otimização de interfaces Vue 3 + Vuetify 3 no ecossistema Azteca — para usuários corporativos com baixa familiaridade tecnológica.
+
+---
+
+## Perfil do Usuário
+
+O público-alvo das interfaces é corporativo e diversificado em experiência técnica:
+
+- Gestores públicos e ambientais
+- Técnicos de campo
+- Consultores ambientais
+- Operadores administrativos
+
+**Premissa central**: o usuário não tem familiaridade avançada com tecnologia. A interface precisa ser autoexplicativa, sem dependência de treinamento prévio.
+
+---
+
+## Paleta de Cores Institucional
+
+Cor base: `#688C00` (verde floresta). Três escalas derivadas: **Verde floresta** (primária), **Âmbar terroso** (apoio/aviso), **Cinza musgo** (neutros). Semânticas independentes para garantir reconhecimento universal.
+
+### Escala primária — Verde floresta
+
+| Token | Hex | Stop | Uso |
+|---|---|---|---|
+| `--cor-eli-primaria-bg` | `#EEF3D0` | 50 | Fundo de cards destacados, linhas ativas, hover suave |
+| `--cor-eli-primaria-zebra` | `#F6F9E8` | 30 | Linha zebrada de tabelas (quase branco esverdeado) |
+| `--cor-eli-primaria-suave` | `#BFC99C` | — | **Cabeçalho de tabela** — sage/olive mudo, sem limão, texto escuro |
+| `--cor-eli-primaria-clara` | `#D4E290` | 100 | Badges, chips, seleção, fundo de hover em listas |
+| `--cor-eli-primaria-media` | `#ADCC44` | 200 | Tags, indicadores secundários |
+| `--cor-eli-primaria-acao` | `#8AAF00` | 400 | Ação secundária, ícones ativos |
+| `--cor-eli-primaria` | `#688C00` | 600 | **Botões principais, links ativos, destaques — CTA principal** |
+| `--cor-eli-primaria-escura` | `#4A6500` | 800 | Hover em botões, bordas ativas, títulos com ênfase |
+| `--cor-eli-primaria-texto` | `#2E3F00` | 900 | Texto escuro sobre fundos claros da paleta primária |
+
+### Escala de apoio — Âmbar terroso
+
+| Token | Hex | Stop | Uso |
+|---|---|---|---|
+| `--cor-eli-alerta-bg` | `#FAF3DF` | 50 | Fundo de banners de aviso |
+| `--cor-eli-alerta-clara` | `#F5DC8A` | 100 | Badges de atenção, chips de alerta |
+| `--cor-eli-alerta` | `#DDB847` | 200 | Ícones de aviso, bordas de alerta |
+| `--cor-eli-alerta-forte` | `#8C6A00` | 600 | Texto sobre fundo de alerta, status pendente |
+
+### Escala neutra — Cinza musgo
+
+| Token | Hex | Stop | Uso |
+|---|---|---|---|
+| `--cor-eli-fundo` | `#F2F3EE` | 50 | Background geral de páginas |
+| `--cor-eli-borda` | `#D5D8CC` | 100 | Bordas padrão de containers |
+| `--cor-eli-borda-forte` | `#B5BAA8` | 200 | Bordas de foco, divisores |
+| `--cor-eli-neutro` | `#5E6553` | 600 | Textos secundários, ícones inativos |
+| `--cor-eli-neutro-escuro` | `#3E4436` | 800 | Texto de label, cabeçalhos de tabela |
+| `--cor-eli-superficie` | `#FFFFFF` | — | Cards, modais, popovers |
+
+### Cores semânticas
+
+| Token | Hex | Uso |
+|---|---|---|
+| `--cor-eli-sucesso` | `#2e7d32` | Confirmações, status positivo |
+| `--cor-eli-sucesso-bg` | `#E8F5E9` | Fundo de mensagens de sucesso |
+| `--cor-eli-erro` | `#c62828` | Erros, ações destrutivas |
+| `--cor-eli-erro-bg` | `#FFEBEE` | Fundo de mensagens de erro |
+| `--cor-eli-info` | `#1565c0` | Informações auxiliares |
+| `--cor-eli-info-bg` | `#E3F2FD` | Fundo de banners informativos |
+
+### Regras de contraste
+
+- Texto sobre `--cor-eli-primaria` (`#688C00`) deve ser **branco** (`#ffffff`) — contraste 4.6:1 ✓
+- Texto sobre `--cor-eli-primaria-bg` (`#EEF3D0`) deve ser `--cor-eli-primaria-texto` (`#2E3F00`) — contraste 12:1 ✓
+- Texto sobre `--cor-eli-primaria-escura` (`#4A6500`) deve ser **branco** (`#ffffff`) — contraste 7.1:1 ✓
+- Texto sobre `--cor-eli-alerta-bg` (`#FAF3DF`) deve ser `--cor-eli-alerta-forte` (`#8C6A00`) — contraste 5.2:1 ✓
+- Texto sobre `--cor-eli-primaria-suave` (`#BFC99C`) deve ser `--cor-eli-neutro-escuro` (`#3E4436`) — contraste ~12:1 ✓
+- **⚠️ Efeito limão**: `--cor-eli-media` (`#ADCC44`) e `--cor-eli-acao` (`#8AAF00`) têm saturação 100% no hue amarelo-verde — **nunca usar como fundo de cabeçalho**. Para fundo verde mudo, usar `--cor-eli-primaria-suave`.
+- Sempre validar contraste mínimo de **4.5:1** (WCAG AA) para texto normal e **3:1** para texto grande (18px+ ou 14px bold).
+
+---
+
+## Passos
+
+### 1. Identificar o escopo da revisão
+
+Determinar qual componente, tela ou modal será revisado. Pode ser:
+
+- Um componente isolado (ex: `EliTabela`, `EliCartao`)
+- Uma página completa (ex: `PaginaCadastro.vue`)
+- Um modal ou drawer (ex: `EliTabelaModalFiltroAvancado.vue`)
+- Uma interação específica (ex: fluxo de filtro, paginação, menu de ações)
+
+### 2. Mapear o estado atual
+
+Antes de alterar, entender o que já existe:
+
+- Ler o template (``) para entender a estrutura visual
+- Ler o CSS/SCSS associado para mapear os tokens de design em uso
+- Identificar quais componentes Vuetify estão sendo utilizados (ex: `v-btn`, `v-dialog`, `v-select`)
+- Verificar se existem estilos inline que deveriam migrar para classes CSS
+
+### 3. Avaliar contra os critérios de UX
+
+Para cada elemento da interface, avaliar:
+
+#### Clareza
+
+- [ ] O propósito de cada elemento é óbvio sem instrução?
+- [ ] Labels e placeholders são descritivos? (ex: "Buscar por nome ou CPF" vs "Buscar")
+- [ ] Ícones acompanham texto quando a ação não é universalmente reconhecível?
+- [ ] O estado vazio (empty state) orienta o usuário sobre o próximo passo?
+
+#### Hierarquia visual
+
+- [ ] O olho do usuário é guiado para a ação principal primeiro?
+- [ ] Ações primárias usam `--cor-eli-primaria` (`#688C00`) com destaque?
+- [ ] Ações secundárias são visuais mas não competem com a primária?
+- [ ] Ações destrutivas (Excluir, Limpar) usam `--cor-eli-erro` com variante `text` ou `outlined`?
+
+#### Feedback e estados
+
+- [ ] Botões têm estados claros de hover (`--cor-eli-primaria-escura`), focus e disabled (`--cor-eli-borda-forte`)?
+- [ ] Carregamentos exibem indicador visual (spinner, skeleton, barra de progresso)?
+- [ ] Erros de formulário aparecem próximos ao campo com mensagem descritiva, usando `--cor-eli-erro` + `--cor-eli-erro-bg`?
+- [ ] Sucesso de operações tem confirmação visual (snackbar, toast, badge) com `--cor-eli-sucesso`?
+
+#### Densidade e espaçamento
+
+- [ ] O espaçamento segue múltiplos de 4px (4, 8, 12, 16, 24, 32)?
+- [ ] Em desktop, o espaço horizontal é bem aproveitado? (ex: grids de 2+ colunas para formulários largos)
+- [ ] Em mobile, os elementos empilham verticalmente sem quebra visual?
+- [ ] Modais têm largura proporcional ao conteúdo?
+
+#### Tipografia
+
+- [ ] Tamanhos de fonte seguem a escala: 12px (caption), 14px (body), 16px (subtitle), 20px (title), 24px (heading)?
+- [ ] Textos longos usam `line-height: 1.5` para legibilidade?
+- [ ] Labels de formulário são visualmente distintos do conteúdo preenchido?
+
+#### Acessibilidade básica
+
+- [ ] Elementos interativos têm `aria-label` quando o texto visual não é suficiente?
+- [ ] Foco via teclado (`Tab`) segue uma ordem lógica?
+- [ ] Cores não são o único meio de comunicar estado (ex: ícone + cor para erro)?
+- [ ] Todo texto sobre cor primária ou escura usa branco (`#FFFFFF`)?
+- [ ] Todo texto sobre `--cor-eli-primaria-bg` usa `--cor-eli-primaria-texto` (`#2E3F00`)?
+
+### 4. Aplicar padrões Vue/Vuetify do projeto
+
+Ao implementar melhorias, seguir os padrões do ecossistema:
+
+#### Componentes Vuetify
+
+- Usar `v-btn` com variantes do tema (`color="primary"`) em vez de classes CSS manuais para botões
+- Usar `v-dialog` para modais, `v-menu` para popovers contextuais
+- Usar `v-text-field`, `v-select` etc. para inputs sempre que possível
+- Aproveitar props de Vuetify: `density`, `variant`, `rounded`, `elevation`
+
+#### Iconografia — Lucide (obrigatório)
+
+Todos os ícones do projeto devem vir exclusivamente da biblioteca **`@lucide/vue`** (dependência já instalada no `package.json`).
+
+**Proibido**:
+- SVG inline manual (hardcoded no template)
+- Ícones de `@mdi/font` ou Material Design Icons em componentes do projeto
+- Bibliotecas alternativas (Font Awesome, Heroicons, etc.)
+
+**Como usar**:
+
+```vue
+
+
+
+
+
+
+
+
+
+```
+
+**Props úteis**: `:size` (número em px), `:stroke-width` (espessura do traço, padrão 2), `:color` (cor do ícone).
+
+**Catálogo de referência**: https://lucide.dev/icons — buscar pelo nome do ícone em inglês.
+
+> Os tokens CSS estão documentados nas tabelas da seção **Paleta de Cores Institucional** acima.
+> No código, usar `var(--token, #fallback)` — sempre com fallback hardcoded em componentes de biblioteca.
+
+- Classes devem seguir BEM: `eli-componente__elemento--modificador`
+- Evitar `!important` — resolver especificidade via seletor mais específico
+- Usar `var(--cor-eli-primaria)` em vez de valores hex hardcoded no CSS dos componentes
+- Transições padrão: `transition: all 0.2s ease` para hover/focus
+
+#### Composição de componentes
+
+- Componentes filhos devem receber dados via `props` e emitir eventos via `$emit`
+- Evitar acessar o DOM diretamente; preferir `ref` do Vue
+- Não duplicar CSS entre componentes — extrair para classe utilitária ou CSS do componente pai
+
+### 5. Implementar melhorias prioritárias
+
+Ordenar as melhorias por impacto no usuário:
+
+1. **Crítico**: elementos que causam confusão ou impedem o uso (falta de feedback, botão invisível, estado vazio sem orientação)
+2. **Alto**: melhorias que reduzem atrito (espaçamento, hierarquia de botões, responsividade)
+3. **Médio**: refinamentos visuais (transições, micro-animações, consistência de cores)
+4. **Baixo**: polish (sombras sutis, arredondamentos, tipografia refinada)
+
+### 6. Validar resultado
+
+Após implementar:
+
+- [ ] A tela renderiza sem erros no console?
+- [ ] Os estados (vazio, carregando, erro, com dados) estão todos cobertos?
+- [ ] A paleta de cores está coerente com a base `#688C00`?
+- [ ] Todos os tokens usados estão definidos na escala primária, de apoio ou neutra?
+- [ ] Nenhuma cor está hardcoded no CSS do componente (usar `var(--token, #fallback)`)?
+- [ ] Tokens novos têm fallback hardcoded? (ex: `var(--cor-eli-primaria-suave, #BFC99C)`)?
+- [ ] Contraste de texto validado: branco sobre `--cor-eli-primaria` e `--cor-eli-primaria-escura`; `--cor-eli-neutro-escuro` sobre `--cor-eli-primaria-suave`?
+- [ ] Nenhuma ação ficou sem feedback visual?
+- [ ] O layout não quebra em larguras menores que 1024px?
+- [ ] Componentes Vuetify recebem props de tema (`color`, `variant`) em vez de override CSS?
+- [ ] Efeito zebra de tabelas tem fundo branco explícito nas linhas normais (para funcionar sobre qualquer fundo de página)?
+
+---
+
+## Anti-padrões a evitar
+
+| ❌ Anti-padrão | ✅ Alternativa |
+|---|---|
+| Botão sem label de texto | Botão com ícone + texto, ou `aria-label` descritivo |
+| Cor vermelha para ação primária | Vermelho apenas para destrutivas; primária usa `--cor-eli-primaria` |
+| Modal com scroll interno extenso | Dividir em etapas ou usar drawer lateral |
+| Tabela com 15+ colunas visíveis | Usar o modal de colunas para esconder as menos usadas |
+| Placeholder como único label | Label fixo acima do campo + placeholder como exemplo |
+| Ações alinhadas à esquerda em linha de tabela | Ações à direita, próximas ao fim da linha visual |
+| Toast/snackbar sem ação de fechar | Sempre incluir botão de fechar ou auto-dismiss com tempo suficiente (5s+) |
+| Estilos inline em `` | Migrar para `
+
+ Salvar
+
```
-## Como rodar localmente
+---
-### Playground
+### 4. EliCartao & EliBadge
-```bash
-pnpm dev
-```
+**EliCartao**
+Cartão padronizado para itens de domínio.
+- **Props**: `titulo`, `status` (tipo `CartaoStatus`: "novo" | "rascunho" | "vendido" | "cancelado"), `variant`.
+- **Slots**: `default` (conteúdo), `acoes` (ações de rodapé).
-O playground (`src/playground`) valida visualmente variações e interações.
+**EliBadge**
+Badge aprimorado com raios.
+- **Props**: `badge` (conteúdo), `color`, `radius` ("suave" | "pill").
-### Build da lib + geração de tipos
+---
-```bash
-pnpm run build
-```
+## 🔧 Solução de Problemas e Dicas
-Gera `dist/` (artefatos de build) e `dist/types` (declarações `.d.ts`).
+### 1. "Failed to resolve component"
+- Certifique-se de que `app.use(EliVue)` foi chamado no `main.ts`.
+- Se importar diretamente, garanta importações padrão: `import { EliTabela } from 'eli-vue'`.
-> Observação importante: este repositório roda `npm version patch --no-git-tag-version` no `prebuild`.
-> Ou seja, ao rodar `pnpm run build` a versão do `package.json` é incrementada automaticamente.
+### 2. Problemas de Estilo
+- **Injeção de CSS**: O `eli-vue` injeta CSS automaticamente. Verifique sua CSP (Política de Segurança de Conteúdo) se os estilos estiverem bloqueados.
+- **Vuetify**: Certifique-se de que o Vuetify 3 está corretamente instalado e os estilos (`vuetify/styles`) estão importados no seu arquivo de entrada principal.
-## Guia rápido para IAs (antes de codar)
+### 3. Erros de TypeScript no `celulaTabela`
+- Garanta que o segundo argumento corresponda ao esquema específico do tipo de célula.
+- Exemplo: `celulaTabela("textoSimples", { texto: ... })` funciona, mas `celulaTabela("textoSimples", { numero: ... })` falhará.
-1) **Leia** `.agent` e este README.
-2) **Busque padrões** antes de criar API nova (props/emits/slots).
-3) **Não use `any`**.
-4) **Centralize tipos** em `src/tipos/`.
-5) Ao mudar API/comportamento:
- - atualize o `README.md` do componente
- - atualize ou crie um `*.playground.vue`
-6) Rode `pnpm run build` antes de finalizar.
+### 4. Ícones não aparecem
+- Passe o **objeto do componente** (ex: importado de `lucide-vue-next`), não o nome em string.
+- Exemplo: `icone: Pencil` (Correto) vs `icone: "pencil"` (Incorreto).
-## Como criar/alterar um componente (checklist)
-
-1. Criar pasta em `src/componentes//`
-2. Criar `EliNomeDoComponente.vue` com `defineComponent` + comentários úteis
-3. Criar `index.ts` com re-export (ex.: `export { default as EliX } from './EliX.vue'`)
-4. Criar `README.md` do componente (API, exemplos, casos de borda, A11y)
-5. Criar playground em `src/playground/.playground.vue` (mín. 3 variações)
-6. Exportar no `src/index.ts`
-
-### Critérios de aceite (qualidade)
-
-- `pnpm run build` passa (inclui `vue-tsc`)
-- zero `any`
-- `defineComponent` em todos os componentes
-- README do componente atualizado quando API mudar
-- playground demonstrando variações + interação
-
-## Roadmap de melhorias (a aplicar)
-
-### Curto prazo (qualidade / consistência)
-- [ ] Padronizar comentários úteis em todos os componentes (explicar decisões e estados)
-- [ ] Tipar `emits` com validação de payload (quando houver)
-- [ ] Consolidar nomenclatura de props/eventos em português (avaliar breaking changes)
-
-### Médio prazo (DX + segurança)
-- [ ] Adicionar ESLint + Prettier e regras (incluindo proibição de `any`)
-- [ ] Adicionar testes unitários com Vitest + @vue/test-utils
-- [ ] Criar pipeline de CI rodando `pnpm run build`
-
-### Longo prazo (docs e maturidade)
-- [ ] Documentação visual (Storybook ou VitePress)
-- [ ] Tokens de design (cores/spacing) e guideline de acessibilidade
+### 5. Valores do `EliEntrada`
+- `EliEntradaTexto` com `formato='cpfCnpj'` emite a string **formatada** (ex: "123.456.789-00").
+- `EliEntradaNumero` emite um `number` ou `null`.
+- `EliEntradaDataHora` trabalha com **Strings ISO** (ex: "2023-01-01T00:00:00Z"). A exibição é localizada, mas o valor do modelo é sempre ISO.
diff --git a/biome.json b/biome.json
new file mode 100755
index 0000000..e9df644
--- /dev/null
+++ b/biome.json
@@ -0,0 +1,17 @@
+{
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
+ "extends": ["./node_modules/p-comuns/Documentos/biome.json"],
+ "files": {
+ "includes": ["src/**/*.{js,ts,jsx,tsx,vue}"]
+ },
+ "linter": {
+ "rules": {
+ "suspicious": {
+ "noExplicitAny": "error"
+ },
+ "style": {
+ "noNonNullAssertion": "error"
+ }
+ }
+ }
+}
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.css b/dist/eli-vue.css
deleted file mode 100644
index fcf6c74..0000000
--- a/dist/eli-vue.css
+++ /dev/null
@@ -1 +0,0 @@
-@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}[data-v-371c8db4] .v-badge__badge,[data-v-371c8db4] .v-badge__content{border-radius:var(--eli-badge-radius)!important}.eli-cartao[data-v-6c492bd9]{border-radius:12px}.eli-cartao__titulo[data-v-6c492bd9]{display:flex;align-items:center;justify-content:space-between;gap:12px}.eli-cartao__titulo-texto[data-v-6c492bd9]{min-width:0}.eli-cartao__conteudo[data-v-6c492bd9]{padding-top:8px}.eli-cartao__acoes[data-v-6c492bd9]{padding-top:0}.eli-cartao--cancelado[data-v-6c492bd9]{opacity:.85}.eli-tabela__busca[data-v-341415d1]{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.eli-tabela__busca-input-wrapper[data-v-341415d1]{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:#fff;height:var(--eli-tabela-cabecalho-controle-altura, 34px)}.eli-tabela__busca-input[data-v-341415d1]{height:100%;padding:0 12px;border:none;outline:none;font-size:.875rem;color:#0f172ad9}.eli-tabela__busca-input[data-v-341415d1]::-webkit-search-cancel-button,.eli-tabela__busca-input[data-v-341415d1]::-webkit-search-decoration{-webkit-appearance:none}.eli-tabela__busca-input[data-v-341415d1]::placeholder{color:#6b7280d9}.eli-tabela__busca-botao[data-v-341415d1]{display:inline-flex;align-items:center;justify-content:center;border:none;background:#2563eb1f;color:#2563ebf2;height:100%;padding:0 12px;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__busca-botao-icone[data-v-341415d1]{display:block}.eli-tabela__busca-botao[data-v-341415d1]:hover,.eli-tabela__busca-botao[data-v-341415d1]:focus-visible{background:#2563eb33;color:#2563eb}.eli-tabela__busca-botao[data-v-341415d1]:focus-visible{outline:2px solid rgba(37,99,235,.35);outline-offset:2px}.eli-tabela__busca-grupo[data-v-17166105]{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.eli-tabela__celula-link[data-v-7a629ffa]{all:unset;display:inline;color:#2563eb;cursor:pointer;text-decoration:underline;text-decoration-color:#2563eb8c;text-underline-offset:2px}.eli-tabela__celula-link[data-v-7a629ffa]:hover{color:#1d4ed8;text-decoration-color:#1d4ed8bf}.eli-tabela__celula-link[data-v-7a629ffa]:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px;border-radius:4px}.eli-tabela__texto-truncado[data-v-74854889]{display:inline-block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.eli-tabela__celula-link[data-v-74854889]{all:unset;display:inline;color:#2563eb;cursor:pointer;text-decoration:underline;text-decoration-color:#2563eb8c;text-underline-offset:2px}.eli-tabela__celula-link[data-v-74854889]:hover{color:#1d4ed8;text-decoration-color:#1d4ed8bf}.eli-tabela__celula-link[data-v-74854889]:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px;border-radius:4px}.eli-tabela__celula-link[data-v-69c890c4]{all:unset;display:inline;color:#2563eb;cursor:pointer;text-decoration:underline;text-decoration-color:#2563eb8c;text-underline-offset:2px}.eli-tabela__celula-link[data-v-69c890c4]:hover{color:#1d4ed8;text-decoration-color:#1d4ed8bf}.eli-tabela__celula-link[data-v-69c890c4]:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px;border-radius:4px}.eli-tabela__celula-tags[data-v-a9c83dbe]{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.eli-tabela__celula-tag[data-v-a9c83dbe]{cursor:default}.eli-tabela__celula-tag-icone[data-v-a9c83dbe]{margin-right:6px}.eli-tabela__celula-link[data-v-2b88bbb2]{all:unset;display:inline;color:#2563eb;cursor:pointer;text-decoration:underline;text-decoration-color:#2563eb8c;text-underline-offset:2px}.eli-tabela__celula-link[data-v-2b88bbb2]:hover{color:#1d4ed8;text-decoration-color:#1d4ed8bf}.eli-tabela__celula-link[data-v-2b88bbb2]:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px;border-radius:4px}.eli-tabela__paginacao[data-v-5ca7a362]{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;flex-wrap:wrap}.eli-tabela__pagina-botao[data-v-5ca7a362]{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:#fff;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[data-v-5ca7a362]:hover,.eli-tabela__pagina-botao[data-v-5ca7a362]:focus-visible{background-color:#2563eb14;border-color:#2563eb66;color:#2563ebf2}.eli-tabela__pagina-botao[data-v-5ca7a362]:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__pagina-botao[data-v-5ca7a362]:disabled{cursor:default;opacity:.5;background:#94a3b814;border-color:#94a3b82e;color:#475569bf}.eli-tabela__pagina-botao--ativo[data-v-5ca7a362]{background:#2563eb1f;border-color:#2563eb66;color:#2563ebf2}.eli-tabela__pagina-ellipsis[data-v-5ca7a362]{display:inline-flex;align-items:center;justify-content:center;width:32px;color:#6b7280d9;font-size:.9rem}.eli-tabela-modal-colunas__overlay[data-v-b8f693ef]{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-colunas__modal[data-v-b8f693ef]{width:min(860px,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-colunas__header[data-v-b8f693ef]{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-colunas__titulo[data-v-b8f693ef]{font-size:1rem;margin:0}.eli-tabela-modal-colunas__fechar[data-v-b8f693ef]{width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;font-size:22px;line-height:1;color:#0f172acc}.eli-tabela-modal-colunas__fechar[data-v-b8f693ef]:hover,.eli-tabela-modal-colunas__fechar[data-v-b8f693ef]:focus-visible{background:#0f172a0f}.eli-tabela-modal-colunas__conteudo[data-v-b8f693ef]{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.eli-tabela-modal-colunas__coluna-titulo[data-v-b8f693ef]{font-weight:600;margin-bottom:8px}.eli-tabela-modal-colunas__lista[data-v-b8f693ef]{min-height:260px;border:1px solid rgba(15,23,42,.12);border-radius:12px;padding:10px;background:#0f172a03}.eli-tabela-modal-colunas__item[data-v-b8f693ef]{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;border:1px solid rgba(15,23,42,.08);background:#fff;cursor:grab;-webkit-user-select:none;user-select:none}.eli-tabela-modal-colunas__item+.eli-tabela-modal-colunas__item[data-v-b8f693ef]{margin-top:8px}.eli-tabela-modal-colunas__item[data-v-b8f693ef]:active{cursor:grabbing}.eli-tabela-modal-colunas__item-handle[data-v-b8f693ef]{color:#0f172a8c;font-size:14px}.eli-tabela-modal-colunas__item-texto[data-v-b8f693ef]{flex:1;min-width:0}.eli-tabela-modal-colunas__footer[data-v-b8f693ef]{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-colunas__botao[data-v-b8f693ef]{height:34px;padding:0 14px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.9rem}.eli-tabela-modal-colunas__botao--sec[data-v-b8f693ef]:hover,.eli-tabela-modal-colunas__botao--sec[data-v-b8f693ef]:focus-visible{background:#0f172a0f}.eli-tabela-modal-colunas__botao--prim[data-v-b8f693ef]{border:none;background:#2563ebf2;color:#fff}.eli-tabela-modal-colunas__botao--prim[data-v-b8f693ef]:hover,.eli-tabela-modal-colunas__botao--prim[data-v-b8f693ef]:focus-visible{background:#2563eb}@media(max-width:720px){.eli-tabela-modal-colunas__conteudo[data-v-b8f693ef]{grid-template-columns:1fr}}.eli-entrada__prefixo[data-v-77cbf216],.eli-entrada__sufixo[data-v-77cbf216]{opacity:.75;font-size:.9em;white-space:nowrap}.eli-entrada__prefixo[data-v-77cbf216]{margin-right:6px}.eli-entrada__sufixo[data-v-77cbf216]{margin-left:6px}.eli-data-hora[data-v-1bfd1be8]{width:100%}.eli-tabela-modal-filtro__overlay[data-v-ae32fe4c]{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[data-v-ae32fe4c]{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[data-v-ae32fe4c]{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__titulo[data-v-ae32fe4c]{font-size:1rem;margin:0}.eli-tabela-modal-filtro__fechar[data-v-ae32fe4c]{width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;font-size:22px;line-height:1;color:#0f172acc}.eli-tabela-modal-filtro__fechar[data-v-ae32fe4c]:hover,.eli-tabela-modal-filtro__fechar[data-v-ae32fe4c]:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__conteudo[data-v-ae32fe4c]{padding:16px}.eli-tabela-modal-filtro__vazio[data-v-ae32fe4c]{opacity:.75;font-size:.9rem}.eli-tabela-modal-filtro__lista[data-v-ae32fe4c]{display:grid;gap:10px}.eli-tabela-modal-filtro__linha[data-v-ae32fe4c]{display:grid;grid-template-columns:1fr 34px;gap:10px;align-items:center}.eli-tabela-modal-filtro__select[data-v-ae32fe4c]{height:34px;border-radius:10px;border:1px solid rgba(15,23,42,.12);padding:0 10px;background:#fff}.eli-tabela-modal-filtro__entrada[data-v-ae32fe4c]{min-width:0}.eli-tabela-modal-filtro__remover[data-v-ae32fe4c]{width:34px;height:34px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:18px;line-height:1;color:#0f172acc}.eli-tabela-modal-filtro__remover[data-v-ae32fe4c]:hover,.eli-tabela-modal-filtro__remover[data-v-ae32fe4c]:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__acoes[data-v-ae32fe4c]{margin-top:12px}.eli-tabela-modal-filtro__footer[data-v-ae32fe4c]{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__botao[data-v-ae32fe4c]{height:34px;padding:0 14px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.9rem}.eli-tabela-modal-filtro__botao[data-v-ae32fe4c]:disabled{opacity:.55;cursor:not-allowed}.eli-tabela-modal-filtro__botao--sec[data-v-ae32fe4c]:hover,.eli-tabela-modal-filtro__botao--sec[data-v-ae32fe4c]:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__botao--prim[data-v-ae32fe4c]{border:none;background:#2563ebf2;color:#fff}.eli-tabela-modal-filtro__botao--prim[data-v-ae32fe4c]:hover,.eli-tabela-modal-filtro__botao--prim[data-v-ae32fe4c]:focus-visible{background:#2563eb}@media(max-width:880px){.eli-tabela-modal-filtro__linha[data-v-ae32fe4c]{grid-template-columns:1fr}}.eli-tabela{width:100%}.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__tbody{overflow:visible}.eli-tabela__tbody .eli-tabela__tr--zebra .eli-tabela__td{background:#0f172a05}.eli-tabela__th,.eli-tabela__td{padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.08);vertical-align:top}.eli-tabela__th{text-align:left;font-weight:600;background:#00000008}.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:#0f172ad9}.eli-tabela__th-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__th-botao--ativo{color:#2563ebf2}.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{border:1px solid rgba(220,53,69,.35);border-radius:12px;padding:12px}.eli-tabela--carregando{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{border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.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__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__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:#2563eb1f;color:#2563ebf2;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:#2563eb33}.eli-tabela__acoes-cabecalho-botao:focus-visible{outline:2px solid rgba(37,99,235,.35);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 rgba(37,99,235,.45);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:#fff;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 rgba(37,99,235,.45);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}}
diff --git a/dist/eli-vue.es.js b/dist/eli-vue.es.js
index 67d3d4b..2e255b9 100644
--- a/dist/eli-vue.es.js
+++ b/dist/eli-vue.es.js
@@ -1,14 +1,18 @@
-import { defineComponent as j, createBlock as W, openBlock as u, mergeProps as Ce, withCtx as te, renderSlot as Te, computed as A, ref as F, resolveComponent as Q, createVNode as q, createTextVNode as Ie, createElementVNode as $, createCommentVNode as ee, toDisplayString as L, h as je, watch as me, createElementBlock as y, withDirectives as ia, withKeys as Aa, vModelText as ka, Fragment as re, renderList as fe, normalizeStyle as ze, resolveDynamicComponent as Me, normalizeClass as De, withModifiers as ue, Teleport as Da, createSlots as Ma, onMounted as sa, vModelSelect as Ba, onBeforeUnmount as Ta } from "vue";
-import { VBtn as wa } from "vuetify/components/VBtn";
-import { VBadge as Pa } from "vuetify/components/VBadge";
-import { VTextField as He } from "vuetify/components/VTextField";
-import { VCard as ua, VCardTitle as ca, VCardText as da, VCardActions as fa } from "vuetify/components/VCard";
-import { VContainer as Oa } from "vuetify/components/VGrid";
-import { VChip as Fa, VTextarea as Va, VSelect as Ia } from "vuetify/components";
-import { VChip as Na } from "vuetify/components/VChip";
-import { VTextarea as qa } from "vuetify/components/VTextarea";
-import { VSelect as La } from "vuetify/components/VSelect";
-const ja = j({
+(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 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 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: {
@@ -33,30 +37,30 @@ const ja = j({
default: !1
}
}
-}), z = (e, a) => {
- const o = e.__vccOpts || e;
- for (const [r, i] of a)
- o[r] = i;
- return o;
+}), ne = (e, n) => {
+ const r = e.__vccOpts || e;
+ for (const [o, t] of n)
+ r[o] = t;
+ return r;
};
-function za(e, a, o, r, i, f) {
- return u(), W(wa, Ce({
+function tf(e, n, r, o, t, i) {
+ return $(), ie(pr, Ee({
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: te(() => [
- Te(e.$slots, "default")
+ default: de(() => [
+ lt(e.$slots, "default")
]),
_: 3
}, 16, ["color", "variant", "size", "disabled", "loading"]);
}
-const pa = /* @__PURE__ */ z(ja, [["render", za]]), Ze = {
+const Ia = /* @__PURE__ */ ne(ef, [["render", tf]]), Eo = {
suave: "4px",
pill: "10px"
-}, Ha = j({
+}, nf = te({
name: "EliBadge",
inheritAttrs: !1,
props: {
@@ -95,14 +99,14 @@ const pa = /* @__PURE__ */ z(ja, [["render", za]]), Ze = {
}
},
setup(e) {
- const a = A(() => e.radius in Ze ? Ze[e.radius] : e.radius), o = A(() => e.dot || e.badge !== void 0 ? e.visible : !1), r = A(() => ({
- "--eli-badge-radius": a.value
+ 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: o, badgeStyle: r };
+ return { showBadge: r, badgeStyle: o };
}
});
-function Ua(e, a, o, r, i, f) {
- return e.showBadge ? (u(), W(Pa, Ce({
+function rf(e, n, r, o, t, i) {
+ return e.showBadge ? ($(), ie(qm, Ee({
key: 0,
color: e.color
}, e.$attrs, {
@@ -114,206 +118,15 @@ function Ua(e, a, o, r, i, f) {
style: e.badgeStyle,
class: "eli-badge"
}), {
- default: te(() => [
- Te(e.$slots, "default", {}, void 0, !0)
+ default: de(() => [
+ lt(e.$slots, "default")
]),
_: 3
- }, 16, ["color", "location", "offset-x", "offset-y", "dot", "content", "style"])) : Te(e.$slots, "default", { key: 1 }, void 0, !0);
+ }, 16, ["color", "location", "offset-x", "offset-y", "dot", "content", "style"])) : lt(e.$slots, "default", {}, void 0, void 0, 1);
}
-const Ue = /* @__PURE__ */ z(Ha, [["render", Ua], ["__scopeId", "data-v-371c8db4"]]);
-function Ya(e) {
- return e.replace(/\D+/g, "");
-}
-function Ra(e) {
- const a = Ya(e);
- return a.length <= 11 ? a.replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d{1,2})$/, "$1-$2").slice(0, 14) : a.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 Ja(e) {
- return e.replace(/\D+/g, "");
-}
-function Wa(e) {
- const a = Ja(e);
- return a ? a.length <= 10 ? a.replace(/^(\d{2})(\d)/, "($1) $2").replace(/(\d{4})(\d)/, "$1-$2").slice(0, 14) : a.replace(/^(\d{2})(\d)/, "($1) $2").replace(/(\d{5})(\d)/, "$1-$2").slice(0, 15) : "";
-}
-function Za(e) {
- return e.replace(/\D+/g, "");
-}
-function Xa(e) {
- const a = Za(e);
- return a ? a.replace(/^(\d{5})(\d)/, "$1-$2").slice(0, 9) : "";
-}
-const Ga = j({
- name: "EliEntradaTexto",
- inheritAttrs: !1,
- props: {
- /** Interface padrão (EliEntrada): value + opcoes. */
- value: {
- type: [String, null],
- default: void 0
- },
- opcoes: {
- type: Object,
- required: !0
- }
- },
- emits: {
- "update:value": (e) => !0,
- /** Compat Vue2 (v-model padrão: value + input) */
- input: (e) => !0,
- change: (e) => !0,
- focus: () => !0,
- blur: () => !0
- },
- setup(e, { attrs: a, emit: o }) {
- const r = A(() => {
- var l;
- return ((l = e.opcoes) == null ? void 0 : l.formato) ?? "texto";
- }), i = A({
- get: () => e.value,
- set: (l) => {
- o("update:value", l), o("input", l), o("change", l);
- }
- }), f = A(() => r.value === "email" ? "email" : r.value === "url" ? "url" : "text"), t = A(() => {
- if (r.value === "telefone") return "tel";
- if (r.value === "cpfCnpj" || r.value === "cep") return "numeric";
- });
- function n(l) {
- switch (r.value) {
- case "telefone":
- return Wa(l);
- case "cpfCnpj":
- return Ra(l);
- case "cep":
- return Xa(l);
- default:
- return l;
- }
- }
- function d(l) {
- const c = l.target, m = n(c.value);
- c.value = m, i.value = m;
- }
- return { attrs: a, emit: o, localValue: i, inputHtmlType: f, inputMode: t, onInput: d };
- }
-});
-function Ka(e, a, o, r, i, f) {
- var t, n, d, l;
- return u(), W(He, Ce({
- modelValue: e.localValue,
- "onUpdate:modelValue": a[0] || (a[0] = (c) => e.localValue = c),
- type: e.inputHtmlType,
- inputmode: e.inputMode,
- label: (t = e.opcoes) == null ? void 0 : t.rotulo,
- placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder,
- counter: (d = e.opcoes) == null ? void 0 : d.limiteCaracteres,
- maxlength: (l = e.opcoes) == null ? void 0 : l.limiteCaracteres
- }, e.attrs, {
- onFocus: a[1] || (a[1] = () => e.emit("focus")),
- onBlur: a[2] || (a[2] = () => e.emit("blur")),
- onInput: e.onInput
- }), null, 16, ["modelValue", "type", "inputmode", "label", "placeholder", "counter", "maxlength", "onInput"]);
-}
-const Ye = /* @__PURE__ */ z(Ga, [["render", Ka]]), Qa = j({
- name: "EliOlaMundo",
- components: {
- EliBotao: pa,
- EliBadge: Ue,
- EliEntradaTexto: Ye
- },
- setup() {
- const e = F(""), a = F(""), o = F(""), r = F(""), i = F("");
- return {
- nome: e,
- email: r,
- documento: i,
- telefone: o,
- cep: a
- };
- }
-}), xa = { class: "grid-example" };
-function et(e, a, o, r, i, f) {
- const t = Q("EliBadge"), n = Q("EliEntradaTexto"), d = Q("EliBotao");
- return u(), W(Oa, null, {
- default: te(() => [
- q(ua, {
- class: "mx-auto",
- max_width: "400"
- }, {
- default: te(() => [
- q(ca, null, {
- default: te(() => [
- q(t, {
- badge: "Novo",
- "offset-x": "-15",
- location: "right center"
- }, {
- default: te(() => [...a[5] || (a[5] = [
- Ie(" Olá Mundo! ", -1)
- ])]),
- _: 1
- })
- ]),
- _: 1
- }),
- q(da, null, {
- default: te(() => [
- a[6] || (a[6] = Ie(" Este é um componente de exemplo integrado com Vuetify. ", -1)),
- $("div", xa, [
- q(n, {
- value: e.nome,
- "onUpdate:value": a[0] || (a[0] = (l) => e.nome = l),
- opcoes: { rotulo: "Nome", placeholder: "Digite o nome" },
- density: "compact"
- }, null, 8, ["value"]),
- q(n, {
- value: e.telefone,
- "onUpdate:value": a[1] || (a[1] = (l) => e.telefone = l),
- opcoes: { rotulo: "Telefone", formato: "telefone" }
- }, null, 8, ["value"]),
- q(n, {
- value: e.cep,
- "onUpdate:value": a[2] || (a[2] = (l) => e.cep = l),
- opcoes: { rotulo: "CEP", placeholder: "00000-000", formato: "cep" }
- }, null, 8, ["value"]),
- q(n, {
- value: e.documento,
- "onUpdate:value": a[3] || (a[3] = (l) => e.documento = l),
- opcoes: { rotulo: "CPF / CNPJ", formato: "cpfCnpj" }
- }, null, 8, ["value"]),
- q(n, {
- value: e.email,
- "onUpdate:value": a[4] || (a[4] = (l) => e.email = l),
- opcoes: { rotulo: "Email", placeholder: "email@exemplo.com", formato: "email" }
- }, null, 8, ["value"])
- ])
- ]),
- _: 1
- }),
- q(fa, null, {
- default: te(() => [
- q(d, {
- color: "primary",
- variant: "elevated",
- block: ""
- }, {
- default: te(() => [...a[7] || (a[7] = [
- Ie(" Botão Vuetify ", -1)
- ])]),
- _: 1
- })
- ]),
- _: 1
- })
- ]),
- _: 1
- })
- ]),
- _: 1
- });
-}
-const at = /* @__PURE__ */ z(Qa, [["render", et]]), tt = j({
+const wr = /* @__PURE__ */ ne(nf, [["render", rf]]), of = te({
name: "EliCartao",
- components: { EliBadge: Ue },
+ components: { EliBadge: wr },
inheritAttrs: !1,
props: {
/** Título de fallback caso o slot `titulo` não seja usado. */
@@ -339,8 +152,8 @@ const at = /* @__PURE__ */ z(Qa, [["render", et]]), tt = j({
/** Emit opcional para padronizar clique no cartão. */
clicar: (e) => !0
},
- setup(e, { emit: a }) {
- const o = A(() => e.status), r = A(() => {
+ setup(e, { emit: n }) {
+ const r = D(() => e.status), o = D(() => {
switch (e.status) {
case "novo":
return "primary";
@@ -351,40 +164,40 @@ const at = /* @__PURE__ */ z(Qa, [["render", et]]), tt = j({
case "cancelado":
return "error";
}
- }), i = A(() => `eli-cartao--${e.status}`);
- function f() {
- a("clicar", e.status);
+ }), t = D(() => `eli-cartao--${e.status}`);
+ function i() {
+ n("clicar", e.status);
}
return {
- rotuloStatus: o,
- corStatus: r,
- classeStatus: i,
- onClick: f
+ rotuloStatus: r,
+ corStatus: o,
+ classeStatus: t,
+ onClick: i
};
}
-}), ot = { class: "eli-cartao__titulo-texto" }, nt = { class: "eli-cartao__status" };
-function rt(e, a, o, r, i, f) {
- const t = Q("EliBadge");
- return u(), W(ua, Ce({
+}), 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(ba, Ee({
class: ["eli-cartao", e.classeStatus],
variant: e.variant
}, e.$attrs), {
- default: te(() => [
- q(ca, { class: "eli-cartao__titulo" }, {
- default: te(() => [
- $("div", ot, [
- Te(e.$slots, "titulo", {}, () => [
- Ie(L(e.titulo), 1)
- ], !0)
+ default: de(() => [
+ F($a, { class: "eli-cartao__titulo" }, {
+ default: de(() => [
+ p("div", af, [
+ lt(e.$slots, "titulo", {}, () => [
+ ae(J(e.titulo), 1)
+ ])
]),
- $("div", nt, [
- q(t, {
+ p("div", lf, [
+ F(a, {
badge: e.rotuloStatus,
radius: "pill",
color: e.corStatus
}, {
- default: te(() => [...a[0] || (a[0] = [
- $("span", null, null, -1)
+ default: de(() => [...n[0] || (n[0] = [
+ p("span", null, null, -1)
])]),
_: 1
}, 8, ["badge", "color"])
@@ -392,87 +205,1938 @@ function rt(e, a, o, r, i, f) {
]),
_: 3
}),
- q(da, { class: "eli-cartao__conteudo" }, {
- default: te(() => [
- Te(e.$slots, "default", {}, void 0, !0)
+ F(_a, { class: "eli-cartao__conteudo" }, {
+ default: de(() => [
+ lt(e.$slots, "default")
]),
_: 3
}),
- e.$slots.acoes ? (u(), W(fa, {
+ e.$slots.acoes ? ($(), ie(ya, {
key: 0,
class: "eli-cartao__acoes"
}, {
- default: te(() => [
- Te(e.$slots, "acoes", {}, void 0, !0)
+ default: de(() => [
+ lt(e.$slots, "acoes")
]),
_: 3
- })) : ee("", !0)
+ })) : K("", !0)
]),
_: 3
}, 16, ["variant", "class"]);
}
-const lt = /* @__PURE__ */ z(tt, [["render", rt], ["__scopeId", "data-v-6c492bd9"]]);
-var va = ((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))(va || {});
-/**
- * @license lucide-vue-next v0.563.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const it = (e) => {
- for (const a in e)
- if (a.startsWith("aria-") || a === "role" || a === "title")
- return !0;
- return !1;
+const sf = /* @__PURE__ */ ne(of, [["render", uf]]), cf = te({
+ name: "EliEntradaConfirmacao",
+ components: { VSwitch: Wm },
+ 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 o = D({
+ get: () => e.value,
+ set: (i) => {
+ r("update:value", i), r("input", i), r("change", i);
+ }
+ }), t = D(() => {
+ var i, a, l;
+ return o.value && ((i = e.opcoes) != null && i.rotuloAtivo) ? e.opcoes.rotuloAtivo : !o.value && ((a = e.opcoes) != null && a.rotuloInativo) ? e.opcoes.rotuloInativo : ((l = e.opcoes) == null ? void 0 : l.rotulo) ?? "";
+ });
+ return { attrs: n, emit: r, localValue: o, rotuloExibido: t };
+ }
+});
+function df(e, n, r, o, t, i) {
+ var a, l, s, u;
+ return $(), ie(Xm, Ee({
+ modelValue: e.localValue,
+ "onUpdate:modelValue": n[0] || (n[0] = (d) => e.localValue = d),
+ label: e.rotuloExibido,
+ color: ((a = e.opcoes) == null ? void 0 : a.cor) ?? "primary",
+ disabled: !!((l = e.opcoes) != null && l.desabilitado) || !!((s = e.opcoes) != null && s.apenasLeitura),
+ density: ((u = e.opcoes) == null ? void 0 : u.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 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 Uo.set(e, o), o;
+ } catch {
+ return null;
+ }
+}
+function gf() {
+ return {
+ color: "#1565C0",
+ weight: 1.5,
+ fillColor: "#42A5F5",
+ fillOpacity: 0.05,
+ dashArray: "4 4"
+ };
+}
+function hf() {
+ return {
+ color: "#78909C",
+ weight: 0.8,
+ fillColor: "#B0BEC5",
+ fillOpacity: 0.03
+ };
+}
+function bf(e) {
+ return e >= pf ? "municipios_uhd" : e >= vf ? "municipios_hd" : "municipios";
+}
+function $f(e, n) {
+ !n.estados && !n.municipios || _f(e, n);
+}
+async function _f(e, n) {
+ const r = await za(`${wa}/estados.geojson`);
+ if (!r) return;
+ const o = [], t = Fe.geoJSON(r, {
+ style: gf,
+ onEachFeature: (i, a) => {
+ var s;
+ const l = String(((s = i.properties) == null ? void 0 : s.codarea) ?? "");
+ l && o.push({
+ codigo: l,
+ bounds: a.getBounds()
+ });
+ }
+ });
+ n.estados && t.addTo(e), n.municipios && yf(e, o);
+}
+function yf(e, n) {
+ const r = {
+ municipios: Fe.layerGroup(),
+ municipios_hd: Fe.layerGroup(),
+ municipios_uhd: Fe.layerGroup()
+ }, o = {
+ municipios: /* @__PURE__ */ new Set(),
+ municipios_hd: /* @__PURE__ */ new Set(),
+ municipios_uhd: /* @__PURE__ */ new Set()
+ };
+ let t = null;
+ const i = () => {
+ const a = e.getZoom();
+ if (a < ff) {
+ t && e.hasLayer(r[t]) && e.removeLayer(r[t]), t = null;
+ return;
+ }
+ 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), kf(l, u.codigo, r[l]));
+ };
+ e.on("moveend", i), e.on("zoomend", i), i();
+}
+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
+}, Sf = 4, If = 300;
+function wf(e, n) {
+ return e >= -90 && e <= 90 && n >= -180 && n <= 180;
+}
+function xo(e) {
+ return e.toFixed(6).replace(".", ",");
+}
+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 Ao() {
+ try {
+ return await zf();
+ } catch {
+ return await Df();
+ }
+}
+function zf() {
+ 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 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 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) ?? If;
+ }), s = D(() => {
+ var b;
+ 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 ? xo(b.latitude) : "";
+ }), m = D(() => {
+ const b = e();
+ return b ? xo(b.longitude) : "";
+ });
+ function f(b, _) {
+ 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", S), r("input", S), r("change", S);
+ }
+ function h() {
+ r("update:value", null), r("input", null), r("change", null), g();
+ }
+ function g() {
+ a && i && (i.removeLayer(a), a = null);
+ }
+ function x(b, _) {
+ i && (a = Fe.marker([b, _], { draggable: !u.value }).addTo(i), a.on("dragend", () => {
+ if (!a) return;
+ const S = a.getLatLng();
+ f(S.lat, S.lng);
+ }), i.setView([b, _], i.getZoom()));
+ }
+ function O(b) {
+ var S;
+ const _ = To(b);
+ _ !== null && f(_, ((S = e()) == null ? void 0 : S.longitude) ?? rn.longitude);
+ }
+ function w(b) {
+ var S;
+ const _ = To(b);
+ _ !== null && f(((S = e()) == null ? void 0 : S.latitude) ?? rn.latitude, _);
+ }
+ function C(b, _) {
+ if (!i) return;
+ if (!a) {
+ x(b, _);
+ return;
+ }
+ 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 Ao();
+ f(b.latitude, b.longitude);
+ } finally {
+ t.value = !1;
+ }
+ }
+ async function Z() {
+ var j;
+ if (!o.value) return;
+ const b = e(), _ = b != null;
+ let S, B, z = s.value;
+ if (_)
+ S = b.latitude, B = b.longitude, z = Math.max(z, 13);
+ else
+ try {
+ const E = await Ao();
+ S = E.latitude, B = E.longitude, z = 13;
+ } catch {
+ S = rn.latitude, B = rn.longitude;
+ }
+ 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
+ }), 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: he }).addTo(i), _ && x(b.latitude, b.longitude), i.on("click", (E) => {
+ u.value || f(E.latlng.lat, E.latlng.lng);
+ });
+ const De = (j = n()) == null ? void 0 : j.camadas;
+ De && $f(i, De);
+ }
+ return ze(
+ e,
+ (b) => {
+ if (!b) {
+ g();
+ return;
+ }
+ C(b.latitude, b.longitude);
+ },
+ { deep: !0 }
+ ), rt(() => {
+ if (Z(), o.value) {
+ const b = new ResizeObserver(() => i == null ? void 0 : i.invalidateSize());
+ b.observe(o.value), St(() => b.disconnect());
+ }
+ }), St(() => {
+ i && (i.remove(), i = null, a = null);
+ }), {
+ alturaEfetiva: l,
+ geolocalizando: t,
+ possuiValor: d,
+ latDisplay: c,
+ lngDisplay: m,
+ onLatChange: O,
+ onLngChange: w,
+ usarMinhaLocalizacao: P,
+ limpar: h
+ };
+}
+const jf = te({
+ 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 o = L(null), t = Of({
+ value: () => e.value,
+ opcoes: () => e.opcoes,
+ emit: r,
+ mapaRef: o
+ });
+ return { attrs: n, mapaRef: o, ...t };
+ }
+}), Ef = { class: "eli-coordenadas" }, Uf = {
+ key: 0,
+ class: "v-label",
+ style: { "margin-bottom": "4px" }
+}, xf = {
+ ref: "mapaRef",
+ style: { width: "100%", height: "100%" }
+}, Tf = { class: "eli-coordenadas__campos" };
+function Af(e, n, r, o, t, i) {
+ var a, l, s, u, d;
+ 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", xf, null, 512)
+ ], 4),
+ p("div", Tf, [
+ F(fn, Ee({
+ "model-value": e.latDisplay,
+ label: "Latitude",
+ type: "text",
+ inputmode: "decimal",
+ readonly: !!((l = e.opcoes) != null && l.apenasLeitura),
+ density: "comfortable",
+ variant: "outlined",
+ class: "eli-coordenadas__campo",
+ "hide-details": ""
+ }, e.attrs, { "onUpdate:modelValue": e.onLatChange }), null, 16, ["model-value", "readonly", "onUpdate:modelValue"]),
+ F(fn, Ee({
+ "model-value": e.lngDisplay,
+ label: "Longitude",
+ type: "text",
+ inputmode: "decimal",
+ readonly: !!((s = e.opcoes) != null && s.apenasLeitura),
+ density: "comfortable",
+ variant: "outlined",
+ class: "eli-coordenadas__campo",
+ "hide-details": ""
+ }, e.attrs, { "onUpdate:modelValue": e.onLngChange }), null, 16, ["model-value", "readonly", "onUpdate:modelValue"]),
+ F(pr, {
+ icon: "",
+ variant: "tonal",
+ color: "primary",
+ size: "small",
+ title: "Usar minha localização",
+ loading: e.geolocalizando,
+ disabled: !!((u = e.opcoes) != null && u.apenasLeitura),
+ onClick: e.usarMinhaLocalizacao
+ }, {
+ default: de(() => [
+ F(jo, null, {
+ default: de(() => [...n[0] || (n[0] = [
+ ae("mdi-crosshairs-gps", -1)
+ ])]),
+ _: 1
+ })
+ ]),
+ _: 1
+ }, 8, ["loading", "disabled", "onClick"]),
+ e.possuiValor && !((d = e.opcoes) != null && d.apenasLeitura) ? ($(), ie(pr, {
+ key: 0,
+ icon: "",
+ variant: "tonal",
+ color: "error",
+ size: "small",
+ title: "Limpar localização",
+ onClick: e.limpar
+ }, {
+ default: de(() => [
+ F(jo, null, {
+ default: de(() => [...n[1] || (n[1] = [
+ ae("mdi-close", -1)
+ ])]),
+ _: 1
+ })
+ ]),
+ _: 1
+ }, 8, ["onClick"])) : K("", !0)
+ ])
+ ]);
+}
+const Nf = /* @__PURE__ */ ne(jf, [["render", Af]]);
+function Da(e) {
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
+}
+var sn = { exports: {} }, Pf = sn.exports, No;
+function Oa() {
+ return No || (No = 1, (function(e, n) {
+ (function(r, o) {
+ e.exports = o();
+ })(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 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", 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 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(j, E) {
+ if (S(j)) return j.clone();
+ var U = typeof E == "object" ? E : {};
+ return U.date = j, U.args = arguments, new he(U);
+ }, M = P;
+ 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 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 = j.prototype;
+ return E.parse = function(U) {
+ this.$d = (function(N) {
+ var T = N.date, q = N.utc;
+ if (T === null) return /* @__PURE__ */ new Date(NaN);
+ 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 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);
+ })(U), this.init();
+ }, E.init = function() {
+ var U = this.$d;
+ this.$y = U.getFullYear(), this.$M = U.getMonth(), this.$D = U.getDate(), this.$W = U.getDay(), this.$H = U.getHours(), this.$m = U.getMinutes(), this.$s = U.getSeconds(), this.$ms = U.getMilliseconds();
+ }, E.$utils = function() {
+ return M;
+ }, E.isValid = function() {
+ return this.$d.toString() !== g;
+ }, E.isSame = function(U, N) {
+ var T = z(U);
+ return this.startOf(N) <= T && T <= this.endOf(N);
+ }, E.isAfter = function(U, N) {
+ return z(U) < this.startOf(N);
+ }, E.isBefore = function(U, N) {
+ return this.endOf(N) < z(U);
+ }, E.$g = function(U, N, T) {
+ return M.u(U) ? this[N] : this.set(T, U);
+ }, E.unix = function() {
+ return Math.floor(this.valueOf() / 1e3);
+ }, E.valueOf = function() {
+ return this.$d.getTime();
+ }, E.startOf = function(U, N) {
+ 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 (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 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:
+ return oe(Ze + "Hours", 0);
+ case s:
+ return oe(Ze + "Minutes", 1);
+ case l:
+ return oe(Ze + "Seconds", 2);
+ case a:
+ return oe(Ze + "Milliseconds", 3);
+ default:
+ return this.clone();
+ }
+ }, E.endOf = function(U) {
+ return this.startOf(U, !1);
+ }, E.$set = function(U, 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;
+ } else ee && this.$d[ee](oe);
+ return this.init(), this;
+ }, E.set = function(U, N) {
+ return this.clone().$set(U, N);
+ }, E.get = function(U) {
+ return this[M.p(U)]();
+ }, E.add = function(U, N) {
+ var T, q = this;
+ U = Number(U);
+ 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 (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", 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");
+ }, ke = Ze || function(Se, qe, _t) {
+ var nn = Se < 12 ? "AM" : "PM";
+ return _t ? nn.toLowerCase() : nn;
+ };
+ return q.replace(O, (function(Se, qe) {
+ return qe || (function(_t) {
+ switch (_t) {
+ case "YY":
+ return String(N.$y).slice(-2);
+ case "YYYY":
+ return M.s(N.$y, 4, "0");
+ case "M":
+ return ve + 1;
+ case "MM":
+ return M.s(ve + 1, 2, "0");
+ case "MMM":
+ return W(T.monthsShort, ve, ye, 3);
+ case "MMMM":
+ return W(ye, ve);
+ case "D":
+ return N.$D;
+ case "DD":
+ return M.s(N.$D, 2, "0");
+ case "d":
+ return String(N.$W);
+ case "dd":
+ return W(T.weekdaysMin, N.$W, pe, 2);
+ case "ddd":
+ return W(T.weekdaysShort, N.$W, pe, 3);
+ case "dddd":
+ return pe[N.$W];
+ case "H":
+ return String(ee);
+ case "HH":
+ return M.s(ee, 2, "0");
+ case "h":
+ return re(1);
+ case "hh":
+ return re(2);
+ case "a":
+ return ke(ee, oe, !0);
+ case "A":
+ return ke(ee, oe, !1);
+ case "m":
+ return String(oe);
+ case "mm":
+ return M.s(oe, 2, "0");
+ case "s":
+ return String(N.$s);
+ case "ss":
+ return M.s(N.$s, 2, "0");
+ case "SSS":
+ return M.s(N.$ms, 3, "0");
+ case "Z":
+ return G;
+ }
+ return null;
+ })(Se) || G.replace(":", "");
+ }));
+ }, E.utcOffset = function() {
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
+ }, E.diff = function(U, N, T) {
+ 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:
+ q = ye() / 12;
+ break;
+ case c:
+ q = ye();
+ break;
+ case m:
+ q = ye() / 3;
+ break;
+ case d:
+ q = (pe - ve) / 6048e5;
+ break;
+ case u:
+ q = (pe - ve) / 864e5;
+ break;
+ case s:
+ q = pe / t;
+ break;
+ case l:
+ q = pe / o;
+ break;
+ case a:
+ q = pe / r;
+ break;
+ default:
+ q = pe;
+ }
+ return T ? q : M.a(q);
+ }, E.daysInMonth = function() {
+ return this.endOf(c).$D;
+ }, E.$locale = function() {
+ return b[this.$L];
+ }, E.locale = function(U, N) {
+ if (!U) return this.$L;
+ var T = this.clone(), q = B(U, N, !0);
+ return q && (T.$L = q), T;
+ }, E.clone = function() {
+ return M.w(this.$d, this);
+ }, E.toDate = function() {
+ return new Date(this.valueOf());
+ }, E.toJSON = function() {
+ return this.isValid() ? this.toISOString() : null;
+ }, E.toISOString = function() {
+ return this.$d.toISOString();
+ }, E.toString = function() {
+ return this.$d.toUTCString();
+ }, 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(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;
+ }));
+ })(sn)), sn.exports;
+}
+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({
+ dia: m.date(),
+ data: m,
+ atual: !1,
+ hoje: !1,
+ selecionado: !1,
+ desabilitado: !0
+ });
+ }
+ for (let c = t; c.isBefore(i) || c.isSame(i, "day"); c = c.add(1, "day"))
+ u.push({
+ dia: c.date(),
+ data: c,
+ atual: !0,
+ hoje: c.isSame(a, "day"),
+ selecionado: n !== null && c.isSame(n, "day"),
+ desabilitado: l !== null && c.isBefore(l) || s !== null && c.isAfter(s)
+ });
+ let d = 1;
+ for (; u.length < 42; ) {
+ const c = i.add(d++, "day");
+ u.push({
+ dia: c.date(),
+ data: c,
+ atual: !1,
+ hoje: !1,
+ selecionado: !1,
+ desabilitado: !0
+ });
+ }
+ return u;
+}
+function zr(e, n) {
+ if (!e) return "";
+ const r = _e(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 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 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 = _e(u);
+ return d.isValid() ? d.format() : null;
+}
+var cn = { exports: {} }, Bf = cn.exports, Po;
+function Vf() {
+ return Po || (Po = 1, (function(e, n) {
+ (function(r, o) {
+ e.exports = o(Oa());
+ })(Bf, (function(r) {
+ function o(a) {
+ return a && typeof a == "object" && "default" in a ? a : { default: a };
+ }
+ var t = o(r), i = { 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(i, null, !0), i;
+ }));
+ })(cn)), cn.exports;
+}
+Vf();
+function Jf({
+ modoEfetivo: e,
+ valor: n,
+ horaTemp: r,
+ minutoTemp: o,
+ emitirValor: t,
+ emit: i
+}) {
+ const a = L(""), l = L(!1);
+ function s(c) {
+ const m = c.target.value, f = Lf(m, e.value);
+ if (a.value = f, c.target.value = f, !f) {
+ t(null);
+ return;
+ }
+ const h = Rf(f, e.value, {
+ hora: r.value,
+ minuto: o.value
+ });
+ if (h) {
+ const g = f.replace(/\D/g, "");
+ e.value === "dataHora" && (g.length >= 10 && (r.value = String(
+ Math.min(23, Number.parseInt(g.slice(8, 10), 10) || 0)
+ ).padStart(2, "0")), g.length >= 12 && (o.value = String(
+ Math.min(59, Number.parseInt(g.slice(10, 12), 10) || 0)
+ ).padStart(2, "0"))), t(h);
+ }
+ }
+ function u() {
+ l.value = !0, i("foco"), i("focus");
+ }
+ function d() {
+ l.value = !1, n.value ? a.value = zr(n.value, e.value) : a.value = "", i("desfoco"), i("blur");
+ }
+ return {
+ textoDigitado: a,
+ focado: l,
+ onTextInput: s,
+ onInputFocus: u,
+ onInputBlur: d
+ };
+}
+function qf({ uid: e, modoEfetivo: n }) {
+ const r = L({});
+ function o() {
+ const a = document.getElementById(`eli-dh-campo-${e}`);
+ if (!a) return;
+ const l = a.getBoundingClientRect(), s = n.value === "dataHora" ? 380 : 320;
+ let u = l.bottom + 6;
+ l.bottom + s > window.innerHeight && l.top - s > 0 && (u = l.top - s - 6);
+ let d = l.left;
+ d + 316 > window.innerWidth - 8 && (d = Math.max(8, l.right - 316)), r.value = { position: "fixed", top: `${u}px`, left: `${d}px` };
+ }
+ function t() {
+ window.addEventListener("scroll", o, !0), window.addEventListener("resize", o);
+ }
+ function i() {
+ window.removeEventListener("scroll", o, !0), window.removeEventListener("resize", o);
+ }
+ return {
+ estiloPopover: r,
+ calcularPosicao: o,
+ adicionarListenersPosicao: t,
+ removerListenersPosicao: i
+ };
+}
+const ja = Array.from({ length: 12 }, (e, n) => {
+ const r = _e().month(n).format("MMMM");
+ return r.charAt(0).toUpperCase() + r.slice(1);
+}), Wf = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"];
+function Gf({ props: e, referencia: n, diaSelecionado: r }) {
+ const o = D(() => {
+ const g = e.opcoes;
+ return {
+ rotulo: (g == null ? void 0 : g.rotulo) ?? e.rotulo ?? "Data",
+ placeholder: (g == null ? void 0 : g.placeholder) ?? e.placeholder ?? "",
+ modo: (g == null ? void 0 : g.modo) ?? e.modo ?? "dataHora",
+ limpavel: (g == null ? void 0 : g.limpavel) ?? e.limpavel,
+ erro: (g == null ? void 0 : g.erro) ?? e.erro,
+ mensagensErro: (g == null ? void 0 : g.mensagensErro) ?? e.mensagensErro,
+ dica: (g == null ? void 0 : g.dica) ?? e.dica,
+ dicaPersistente: (g == null ? void 0 : g.dicaPersistente) ?? e.dicaPersistente,
+ densidade: (g == null ? void 0 : g.densidade) ?? e.densidade,
+ variante: (g == null ? void 0 : g.variante) ?? e.variante,
+ min: (g == null ? void 0 : g.min) ?? e.min,
+ max: (g == null ? void 0 : g.max) ?? e.max
+ };
+ }), t = D(() => o.value.modo ?? "dataHora"), i = D(() => !!e.desabilitado), a = D(
+ () => e.value !== void 0 ? e.value ?? null : e.modelValue ?? null
+ ), l = D(() => a.value), s = D(() => {
+ const g = o.value.erro ? o.value.mensagensErro : null;
+ return g ? Array.isArray(g) ? g : [g] : [];
+ }), 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(
+ () => Ff(
+ n.value,
+ r.value,
+ o.value.min,
+ o.value.max
+ )
+ );
+ return {
+ opcoesEfetivas: o,
+ modoEfetivo: t,
+ desabilitadoEfetivo: i,
+ effectiveModelValue: a,
+ valor: l,
+ mensagensVisiveis: s,
+ valorFormatado: u,
+ nomeMesAtual: d,
+ anoAtual: c,
+ mesAtual: m,
+ listaAnos: f,
+ celulas: h
+ };
+}
+_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,
+ effectiveModelValue: c,
+ valor: m,
+ mensagensVisiveis: f,
+ valorFormatado: h,
+ nomeMesAtual: g,
+ anoAtual: x,
+ mesAtual: O,
+ listaAnos: w,
+ celulas: C
+ } = 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, W);
+ });
+ }
+ const { textoDigitado: B, focado: z, onTextInput: M, onInputFocus: he, onInputBlur: De } = Jf({
+ modoEfetivo: u,
+ valor: m,
+ horaTemp: a,
+ minutoTemp: l,
+ emitirValor: S,
+ emit: n
+ });
+ ze(
+ c,
+ (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 || (B.value = zr(W, u.value));
+ return;
+ }
+ }
+ i.value = null, a.value = "00", l.value = "00", z.value || (B.value = "");
+ },
+ { immediate: !0 }
+ );
+ function j() {
+ d.value || o.value || (o.value = !0, Z(), n("foco"), n("focus"), kr(Z), b());
+ }
+ function E() {
+ d.value || (o.value ? U() : j());
+ }
+ function U() {
+ o.value && (o.value = !1, _(), n("desfoco"), n("blur"));
+ }
+ function N(W) {
+ t.value = t.value.add(W, "month");
+ }
+ function T(W) {
+ t.value = t.value.month(W);
+ }
+ function q(W) {
+ t.value = t.value.year(W);
+ }
+ 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;
+ S(i.value.hour(re).minute(ke).second(0).format());
+ }
+ }
+ function ee() {
+ 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(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(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 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() {
+ B.value = "", S(null);
+ }
+ function Ze(W) {
+ var ke, Se;
+ if (!o.value) return;
+ 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 rt(() => document.addEventListener("click", Ze, !0)), St(() => {
+ document.removeEventListener("click", Ze, !0), _();
+ }), {
+ uid: r,
+ aberto: o,
+ focado: z,
+ textoDigitado: B,
+ estiloPopover: P,
+ referencia: t,
+ diaSelecionado: i,
+ horaTemp: a,
+ minutoTemp: l,
+ opcoesEfetivas: s,
+ modoEfetivo: u,
+ desabilitadoEfetivo: d,
+ valor: m,
+ valorFormatado: h,
+ mensagensVisiveis: f,
+ nomeMesAtual: g,
+ anoAtual: x,
+ mesAtual: O,
+ listaAnos: w,
+ mudarMes: T,
+ mudarAno: q,
+ celulas: C,
+ abrirSeHabilitado: j,
+ alternarPopover: E,
+ fechar: U,
+ navegarMes: N,
+ selecionarDia: G,
+ definirAgora: ee,
+ confirmar: pe,
+ limpar: ye,
+ onTextInput: M,
+ onInputFocus: he,
+ onInputBlur: De,
+ atualizarHoraTemp: oe,
+ atualizarMinutoTemp: ve
+ };
+}
+const Hf = te({
+ 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 o(a) {
+ n("mudarAno", Number.parseInt(a.target.value, 10));
+ }
+ function t(a) {
+ n("update:horaTemp", a.target.value);
+ }
+ function i(a) {
+ n("update:minutoTemp", a.target.value);
+ }
+ return {
+ diasSemana: Wf,
+ MESES: ja,
+ OPCOES_HORAS: Zf,
+ OPCOES_MINUTOS: Mf,
+ onMesSelectChange: r,
+ onAnoSelectChange: o,
+ onHoraSelectChange: t,
+ onMinutoSelectChange: i
+ };
+ }
+}), 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"
+}, uv = {
+ class: "eli-dh__cal-grade",
+ role: "grid"
+}, sv = ["disabled", "tabindex", "aria-selected", "aria-label", "onClick"], cv = {
+ key: 0,
+ class: "eli-dh__hora-secao"
+}, 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(Sr, { to: "body" }, [
+ F(ha, { name: "eli-dh-pop" }, {
+ default: de(() => [
+ e.aberto ? ($(), k("div", {
+ key: 0,
+ id: `eli-dh-popover-${e.uid}`,
+ class: "eli-dh__popover",
+ style: ut(e.estiloPopover),
+ role: "dialog",
+ "aria-label": `Selecionar ${e.rotulo}`,
+ onKeydown: n[13] || (n[13] = It((a) => e.$emit("fechar"), ["escape"])),
+ onMousedown: n[14] || (n[14] = me(() => {
+ }, ["stop"]))
+ }, [
+ p("div", Qf, [
+ p("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] = [
+ p("svg", {
+ viewBox: "0 0 24 24",
+ fill: "none",
+ stroke: "currentColor",
+ "stroke-width": "2.5",
+ "stroke-linecap": "round",
+ "stroke-linejoin": "round",
+ "aria-hidden": "true"
+ }, [
+ p("polyline", { points: "15 18 9 12 15 6" })
+ ], -1)
+ ])]),
+ p("div", ev, [
+ p("div", tv, [
+ p("select", {
+ value: e.mesAtual,
+ class: "eli-dh__select",
+ "aria-label": "Selecionar mês",
+ onChange: n[1] || (n[1] = (...a) => e.onMesSelectChange && e.onMesSelectChange(...a))
+ }, [
+ ($(!0), k(ge, null, $e(e.MESES, (a, l) => ($(), k("option", {
+ key: l,
+ value: l
+ }, J(a), 9, rv))), 128))
+ ], 40, nv),
+ p("select", {
+ value: e.anoAtual,
+ class: "eli-dh__select",
+ "aria-label": "Selecionar ano",
+ onChange: n[2] || (n[2] = (...a) => e.onAnoSelectChange && e.onAnoSelectChange(...a))
+ }, [
+ ($(!0), k(ge, null, $e(e.listaAnos, (a) => ($(), k("option", {
+ key: a,
+ value: a
+ }, J(a), 9, ov))), 128))
+ ], 40, iv)
+ ])
+ ]),
+ p("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] = [
+ p("svg", {
+ viewBox: "0 0 24 24",
+ fill: "none",
+ stroke: "currentColor",
+ "stroke-width": "2.5",
+ "stroke-linecap": "round",
+ "stroke-linejoin": "round",
+ "aria-hidden": "true"
+ }, [
+ p("polyline", { points: "9 18 15 12 9 6" })
+ ], -1)
+ ])])
+ ]),
+ 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"
+ }, J(a), 1))), 128))
+ ]),
+ p("div", uv, [
+ ($(!0), k(ge, null, $e(e.celulas, (a, l) => ($(), k("button", {
+ key: l,
+ class: Me(["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: (s) => e.$emit("selecionarDia", a),
+ onDblclick: n[4] || (n[4] = (s) => e.$emit("confirmar"))
+ }, J(a.dia), 43, sv))), 128))
+ ])
+ ]),
+ e.modo === "dataHora" ? ($(), k("div", cv, [
+ n[18] || (n[18] = p("div", { class: "eli-dh__hora-rotulo" }, [
+ p("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"
+ }, [
+ p("circle", {
+ cx: "12",
+ cy: "12",
+ r: "10"
+ }),
+ p("polyline", { points: "12 6 12 12 16 14" })
+ ]),
+ p("span", null, "Horário:")
+ ], -1)),
+ p("div", dv, [
+ p("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] = me(() => {
+ }, ["stop"]))
+ }, [
+ ($(!0), k(ge, null, $e(e.OPCOES_HORAS, (a) => ($(), k("option", {
+ key: a,
+ value: a
+ }, J(a) + "h", 9, fv))), 128))
+ ], 40, mv),
+ n[17] || (n[17] = p("span", {
+ class: "eli-dh__hora-sep",
+ "aria-hidden": "true"
+ }, ":", -1)),
+ p("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] = me(() => {
+ }, ["stop"]))
+ }, [
+ ($(!0), k(ge, null, $e(e.OPCOES_MINUTOS, (a) => ($(), k("option", {
+ key: a,
+ value: a
+ }, J(a) + "m", 9, pv))), 128))
+ ], 40, vv),
+ p("button", {
+ class: "eli-dh__btn-agora",
+ type: "button",
+ title: "Definir horário atual",
+ onClick: n[9] || (n[9] = (a) => e.$emit("definirAgora"))
+ }, " Agora ")
+ ])
+ ])) : K("", !0),
+ p("div", gv, [
+ e.modo === "data" ? ($(), k("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 ")) : K("", !0),
+ p("div", hv, [
+ p("button", {
+ class: "eli-dh__btn eli-dh__btn--cancelar",
+ type: "button",
+ onClick: n[11] || (n[11] = (a) => e.$emit("fechar"))
+ }, "Cancelar"),
+ p("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, bv)
+ ])
+ ])
+ ], 44, Yf)) : K("", !0)
+ ]),
+ _: 1
+ })
+ ]);
+}
+const _v = /* @__PURE__ */ ne(Hf, [["render", $v]]), yv = te({
+ name: "EliEntradaDataHora",
+ components: { Calendario: _v },
+ 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 Xf(e, (o, t) => n(o, t));
+ }
+}), 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"
+}, Ev = {
+ key: 1,
+ class: "eli-dh__mensagem eli-dh__mensagem--dica"
};
+function Uv(e, n, r, o, t, i) {
+ const a = Q("Calendario");
+ return $(), k("div", kv, [
+ p("div", {
+ id: `eli-dh-campo-${e.uid}`,
+ class: Me(["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] = (...l) => e.abrirSeHabilitado && e.abrirSeHabilitado(...l))
+ }, [
+ p("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] = me((...l) => e.alternarPopover && e.alternarPopover(...l), ["stop"]))
+ }, [...n[9] || (n[9] = [
+ Lm('', 1)
+ ])], 8, Iv),
+ p("div", wv, [
+ p("label", {
+ for: `eli-dh-input-${e.uid}`,
+ class: "eli-dh__rotulo"
+ }, J(e.opcoesEfetivas.rotulo), 9, zv),
+ p("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] = (...l) => e.abrirSeHabilitado && e.abrirSeHabilitado(...l)),
+ onInput: n[2] || (n[2] = (...l) => e.onTextInput && e.onTextInput(...l)),
+ onBlur: n[3] || (n[3] = (...l) => e.onInputBlur && e.onInputBlur(...l)),
+ onFocus: n[4] || (n[4] = (...l) => e.onInputFocus && e.onInputFocus(...l)),
+ onKeydown: [
+ 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, Dv)
+ ]),
+ e.opcoesEfetivas.limpavel && e.valor && !e.desabilitadoEfetivo ? ($(), k("button", {
+ key: 0,
+ class: "eli-dh__limpar",
+ type: "button",
+ title: "Limpar",
+ "aria-label": `Limpar ${e.opcoesEfetivas.rotulo}`,
+ onClick: n[7] || (n[7] = me((...l) => e.limpar && e.limpar(...l), ["stop"]))
+ }, [...n[10] || (n[10] = [
+ p("svg", {
+ viewBox: "0 0 24 24",
+ fill: "none",
+ stroke: "currentColor",
+ "stroke-width": "2.5",
+ "stroke-linecap": "round",
+ width: "14",
+ height: "14",
+ "aria-hidden": "true"
+ }, [
+ p("line", {
+ x1: "18",
+ y1: "6",
+ x2: "6",
+ y2: "18"
+ }),
+ p("line", {
+ x1: "6",
+ y1: "6",
+ x2: "18",
+ y2: "18"
+ })
+ ], -1)
+ ])], 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,
+ "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 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-")) {
+ const [, t] = n.split("e-"), i = Number(t);
+ return Number.isFinite(i) ? i : 0;
+ }
+ const r = n.indexOf(".");
+ return r === -1 ? 0 : n.slice(r + 1).replace(/0+$/, "").length;
+}
+function Tv(e) {
+ const n = (e ?? "").trim().replace(/,/g, ".");
+ if (!n) return null;
+ const r = Number(n);
+ return Number.isNaN(r) ? null : r;
+}
+function dr(e, n) {
+ return e == null ? "" : n === null ? String(e).replace(/\./g, ",") : Number(e).toFixed(Math.max(0, n)).replace(/\./g, ",");
+}
+function Co(e) {
+ return (e ?? "").replace(/\D+/g, "");
+}
+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 Nv(e, n) {
+ if (n === null) return e;
+ if (n <= 0) return e.replace(/[.,]/g, "");
+ const r = e.match(/[.,]/);
+ if (!r) return e;
+ 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 Pv(e) {
+ const n = e.match(/^(\d+)[.,]$/);
+ if (!n) return null;
+ const r = Number(n[1]);
+ return Number.isNaN(r) ? null : r;
+}
+const Cv = te({
+ name: "EliEntradaNumero",
+ inheritAttrs: !1,
+ props: {
+ /** Interface padrão (EliEntrada): value + opcoes. */
+ value: {
+ type: [Number, null],
+ default: void 0
+ },
+ opcoes: {
+ type: Object,
+ required: !0
+ }
+ },
+ emits: {
+ "update:value": (e) => !0,
+ /** Compat Vue2 (v-model padrão: value + input) */
+ input: (e) => !0,
+ change: (e) => !0,
+ focus: () => !0,
+ blur: () => !0
+ },
+ setup(e, { attrs: n, emit: r }) {
+ const o = D(() => {
+ var d;
+ const u = (d = e.opcoes) == null ? void 0 : d.precisao;
+ return u == null ? null : xv(u);
+ }), t = D(() => o.value === 0), i = D(() => {
+ const u = o.value;
+ return u !== null && u > 0;
+ }), a = L(""), l = L(void 0);
+ ze(
+ () => e.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 = 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 ? Co(u) : Av(u), c = t.value ? d : Nv(d, o.value);
+ let m = null;
+ if (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 = dr(m, o.value);
+ }
+ return { attrs: n, emit: r, displayValue: a, isInteiro: t, onUpdateModelValue: s };
+ }
+}), 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(fn, Ee({
+ "model-value": e.displayValue,
+ label: (a = e.opcoes) == null ? void 0 : a.rotulo,
+ placeholder: (l = e.opcoes) == null ? void 0 : l.placeholder,
+ type: e.isInteiro ? "number" : "text",
+ inputmode: e.isInteiro ? "numeric" : "decimal",
+ pattern: e.isInteiro ? "[0-9]*" : "[0-9.,]*",
+ readonly: !!((s = e.opcoes) != null && s.apenasLeitura)
+ }, e.attrs, {
+ "onUpdate:modelValue": e.onUpdateModelValue,
+ onFocus: n[0] || (n[0] = () => e.emit("focus")),
+ onBlur: n[1] || (n[1] = () => e.emit("blur"))
+ }), Rm({ _: 2 }, [
+ (u = e.opcoes) != null && u.prefixo ? {
+ name: "prepend-inner",
+ fn: de(() => [
+ 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", Mv, J(e.opcoes.sufixo), 1)
+ ]),
+ key: "1"
+ } : void 0
+ ]), 1040, ["model-value", "label", "placeholder", "type", "inputmode", "pattern", "readonly", "onUpdate:modelValue"]);
+}
+const Ua = /* @__PURE__ */ ne(Cv, [["render", Fv]]), Lv = te({
+ name: "EliEntradaParagrafo",
+ components: { VTextarea: Gm },
+ 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 o = D({
+ get: () => e.value,
+ set: (t) => {
+ r("update:value", t), r("input", t), r("change", t);
+ }
+ });
+ return { attrs: n, emit: r, localValue: o };
+ }
+});
+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,
+ placeholder: (l = e.opcoes) == null ? void 0 : l.placeholder,
+ rows: ((s = e.opcoes) == null ? void 0 : s.linhas) ?? 4,
+ counter: (u = e.opcoes) == null ? void 0 : u.limiteCaracteres,
+ maxlength: (d = e.opcoes) == null ? void 0 : d.limiteCaracteres,
+ clearable: !!((c = e.opcoes) != null && c.limpavel),
+ error: !!((m = e.opcoes) != null && m.erro),
+ "error-messages": (f = e.opcoes) == null ? void 0 : f.mensagensErro,
+ 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: ((O = e.opcoes) == null ? void 0 : O.variante) ?? "outlined",
+ readonly: !!((w = e.opcoes) != null && w.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 xa = /* @__PURE__ */ ne(Lv, [["render", Rv]]);
+function Zo(e) {
+ return e.normalize("NFD").replace(new RegExp("\\p{Diacritic}", "gu"), "").toLowerCase();
+}
+function Ta(e, n) {
+ return n ? Zo(e).includes(Zo(n)) : !0;
+}
+const Bv = te({
+ name: "EliEntradaSelecao",
+ components: { VAutocomplete: ka },
+ 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 o = L([]), t = L(!1), i = D({
+ get: () => e.value,
+ set: (s) => {
+ r("update:value", s), r("input", s), r("change", s);
+ }
+ });
+ async function a() {
+ t.value = !0;
+ try {
+ const s = await e.opcoes.itens(), u = Array.isArray(s) ? s : [];
+ o.value = [...u];
+ } finally {
+ t.value = !1;
+ }
+ }
+ ze(
+ () => e.opcoes.itens,
+ () => {
+ a();
+ }
+ ), rt(() => {
+ a();
+ }), ze(
+ o,
+ (s) => {
+ console.debug("[EliEntradaSelecao] itens:", s);
+ },
+ { deep: !0 }
+ );
+ const l = D(() => {
+ var u;
+ const s = (u = e.opcoes) == null ? void 0 : u.desativado;
+ 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: Ta };
+ }
+});
+function Vv(e, n, r, o, t, i) {
+ var a, l, s, u, d, c, m, f, h, g;
+ 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,
+ placeholder: (l = e.opcoes) == null ? void 0 : l.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: !!((s = e.opcoes) != null && s.limpavel),
+ error: !!((u = e.opcoes) != null && u.erro),
+ "error-messages": (d = e.opcoes) == null ? void 0 : d.mensagensErro,
+ hint: (c = e.opcoes) == null ? void 0 : c.dica,
+ "persistent-hint": !!((m = e.opcoes) != null && m.dicaPersistente),
+ density: ((f = e.opcoes) == null ? void 0 : f.densidade) ?? "comfortable",
+ variant: ((h = e.opcoes) == null ? void 0 : h.variante) ?? "outlined",
+ readonly: !!((g = e.opcoes) != null && g.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 Aa = /* @__PURE__ */ ne(Bv, [["render", Vv]]), Jv = te({
+ name: "EliEntradaSelecaoMultipla",
+ components: { VAutocomplete: ka },
+ 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 o = L([]), t = L(!1), i = D({
+ get: () => e.value ?? [],
+ set: (s) => {
+ const u = Array.isArray(s) ? s : [];
+ r("update:value", u), r("input", u), r("change", u);
+ }
+ });
+ async function a() {
+ t.value = !0;
+ try {
+ const s = await e.opcoes.itens();
+ o.value = [...Array.isArray(s) ? s : []];
+ } finally {
+ t.value = !1;
+ }
+ }
+ ze(
+ () => e.opcoes.itens,
+ () => {
+ a();
+ }
+ ), rt(() => {
+ a();
+ });
+ const l = D(() => {
+ var u;
+ const s = (u = e.opcoes) == null ? void 0 : u.desativado;
+ 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: Ta };
+ }
+});
+function qv(e, n, r, o, t, i) {
+ var a, l, s, u, d, c, m, f, h, g;
+ 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,
+ placeholder: (l = e.opcoes) == null ? void 0 : l.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: !!((s = e.opcoes) != null && s.limpavel),
+ error: !!((u = e.opcoes) != null && u.erro),
+ "error-messages": (d = e.opcoes) == null ? void 0 : d.mensagensErro,
+ hint: (c = e.opcoes) == null ? void 0 : c.dica,
+ "persistent-hint": !!((m = e.opcoes) != null && m.dicaPersistente),
+ density: ((f = e.opcoes) == null ? void 0 : f.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: !!((g = e.opcoes) != null && g.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 Na = /* @__PURE__ */ ne(Jv, [["render", qv]]);
+function Wv(e) {
+ return e.replace(/\D+/g, "");
+}
+function Gv(e) {
+ const n = Wv(e);
+ return n ? n.replace(/^(\d{5})(\d)/, "$1-$2").slice(0, 9) : "";
+}
+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) {
+ 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 Qv = te({
+ name: "EliEntradaTexto",
+ inheritAttrs: !1,
+ props: {
+ /** Interface padrão (EliEntrada): value + opcoes. */
+ value: {
+ type: [String, null],
+ default: void 0
+ },
+ opcoes: {
+ type: Object,
+ required: !0
+ }
+ },
+ emits: {
+ "update:value": (e) => !0,
+ /** Compat Vue2 (v-model padrão: value + input) */
+ input: (e) => !0,
+ change: (e) => !0,
+ focus: () => !0,
+ blur: () => !0
+ },
+ setup(e, { attrs: n, emit: r }) {
+ const o = D(() => {
+ var u;
+ return ((u = e.opcoes) == null ? void 0 : u.formato) ?? "texto";
+ }), t = D({
+ get: () => e.value,
+ set: (u) => {
+ r("update:value", u), r("input", u), r("change", u);
+ }
+ }), i = D(() => o.value === "email" ? "email" : o.value === "url" ? "url" : "text"), a = D(() => {
+ if (o.value === "telefone") return "tel";
+ if (o.value === "cpfCnpj" || o.value === "cep") return "numeric";
+ });
+ function l(u) {
+ switch (o.value) {
+ case "telefone":
+ return Yv(u);
+ case "cpfCnpj":
+ return Xv(u);
+ case "cep":
+ return Gv(u);
+ default:
+ return u;
+ }
+ }
+ function s(u) {
+ const d = u.target, c = l(d.value);
+ d.value = c, t.value = c;
+ }
+ return { attrs: n, emit: r, localValue: t, inputHtmlType: i, inputMode: a, onInput: s };
+ }
+});
+function ep(e, n, r, o, t, i) {
+ var a, l, s, u, d;
+ return $(), ie(fn, Ee({
+ modelValue: e.localValue,
+ "onUpdate:modelValue": n[0] || (n[0] = (c) => e.localValue = c),
+ type: e.inputHtmlType,
+ inputmode: e.inputMode,
+ label: (a = e.opcoes) == null ? void 0 : a.rotulo,
+ placeholder: (l = e.opcoes) == null ? void 0 : l.placeholder,
+ counter: (s = e.opcoes) == null ? void 0 : s.limiteCaracteres,
+ maxlength: (u = e.opcoes) == null ? void 0 : u.limiteCaracteres,
+ readonly: !!((d = e.opcoes) != null && d.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 Dr = /* @__PURE__ */ ne(Qv, [["render", ep]]);
/**
- * @license lucide-vue-next v0.563.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 Xe = (e) => e === "";
-/**
- * @license lucide-vue-next v0.563.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const st = (...e) => e.filter((a, o, r) => !!a && a.trim() !== "" && r.indexOf(a) === o).join(" ").trim();
-/**
- * @license lucide-vue-next v0.563.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const Ge = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
-/**
- * @license lucide-vue-next v0.563.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const ut = (e) => e.replace(
- /^([A-Z])|[\s-_]+(\w)/g,
- (a, o, r) => r ? r.toUpperCase() : o.toLowerCase()
-);
-/**
- * @license lucide-vue-next v0.563.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-const ct = (e) => {
- const a = ut(e);
- return a.charAt(0).toUpperCase() + a.slice(1);
-};
-/**
- * @license lucide-vue-next v0.563.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */
-var Fe = {
+const He = {
xmlns: "http://www.w3.org/2000/svg",
width: 24,
height: 24,
@@ -484,430 +2148,644 @@ var Fe = {
"stroke-linejoin": "round"
};
/**
- * @license lucide-vue-next v0.563.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 dt = ({
+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.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 = (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: a,
- absoluteStrokeWidth: o,
- "absolute-stroke-width": r,
- strokeWidth: i,
- "stroke-width": f,
- size: t = Fe.width,
- color: n = Fe.stroke,
- ...d
-}, { slots: l }) => je(
- "svg",
- {
- ...Fe,
- ...d,
- width: t,
- height: t,
- stroke: n,
- "stroke-width": Xe(o) || Xe(r) || o === !0 || r === !0 ? Number(i || f || Fe["stroke-width"]) * 24 / Number(t) : i || f || Fe["stroke-width"],
- class: st(
- "lucide",
- d.class,
- ...e ? [`lucide-${Ge(ct(e))}-icon`, `lucide-${Ge(e)}`] : ["lucide-icon"]
- ),
- ...!l.default && !it(d) && { "aria-hidden": "true" }
+ iconNode: n,
+ "icon-node": r,
+ icon: o = {
+ name: e && rp(e),
+ node: n ?? r ?? [],
+ size: 24,
+ aliases: []
},
- [...a.map((c) => je(...c)), ...l.default ? [l.default()] : []]
-);
+ 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: 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 vr("svg", B, [
+ ...z.map(([he, De]) => vr(he, De)),
+ ...S ?? []
+ ]);
+};
/**
- * @license lucide-vue-next v0.563.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 we = (e, a) => (o, { slots: r, attrs: i }) => je(
- dt,
- {
- ...i,
- ...o,
- iconNode: a,
- name: e
- },
- r
-);
+function be(e, n = []) {
+ const r = typeof e == "string" ? {
+ name: e,
+ node: n
+ } : e;
+ return (o, { slots: t }) => vr(
+ ap,
+ {
+ ...o,
+ icon: r
+ },
+ t.default ? { default: t.default } : void 0
+ );
+}
/**
- * @license lucide-vue-next v0.563.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 Ke = we("arrow-down", [
- ["path", { d: "M12 5v14", key: "s699le" }],
- ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
-]);
+const lp = {
+ name: "arrow-down",
+ size: 24,
+ node: [
+ ["path", { d: "M12 5v14", key: "s699le" }],
+ ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
+ ]
+}, Fo = be(lp);
/**
- * @license lucide-vue-next v0.563.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 Qe = we("arrow-up", [
- ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
- ["path", { d: "M12 19V5", key: "x0mq9r" }]
-]);
+const up = {
+ name: "arrow-up",
+ size: 24,
+ node: [
+ ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
+ ["path", { d: "M12 19V5", key: "x0mq9r" }]
+ ]
+}, Lo = be(up);
/**
- * @license lucide-vue-next v0.563.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 xe = we("chevron-down", [
- ["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
-]);
+const sp = {
+ name: "check",
+ size: 24,
+ node: [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]
+}, cp = be(sp);
/**
- * @license lucide-vue-next v0.563.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 ea = we("chevron-right", [
- ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
-]);
+const dp = {
+ name: "chevron-down",
+ size: 24,
+ node: [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]]
+}, Ro = be(dp);
/**
- * @license lucide-vue-next v0.563.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 ft = we("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" }]
-]);
+const mp = {
+ name: "chevron-right",
+ size: 24,
+ node: [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]]
+}, Bo = be(mp);
/**
- * @license lucide-vue-next v0.563.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 pt = we("search", [
- ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
- ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
-]), vt = j({
- name: "EliTabelaCaixaDeBusca",
- components: { Search: pt },
- props: {
- modelo: {
- type: String,
- required: !1,
- default: ""
- }
- },
- emits: {
- buscar(e) {
- return typeof e == "string";
- }
- },
- setup(e, { emit: a }) {
- const o = F(e.modelo ?? "");
- me(
- () => e.modelo,
- (i) => {
- i !== void 0 && i !== o.value && (o.value = i);
+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.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: "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"
}
- );
- function r() {
- a("buscar", o.value.trim());
- }
- return { texto: o, emitirBusca: r };
- }
-}), mt = { class: "eli-tabela__busca" }, bt = { class: "eli-tabela__busca-input-wrapper" };
-function ht(e, a, o, r, i, f) {
- const t = Q("Search");
- return u(), y("div", mt, [
- $("div", bt, [
- ia($("input", {
- id: "eli-tabela-busca",
- "onUpdate:modelValue": a[0] || (a[0] = (n) => e.texto = n),
- type: "search",
- class: "eli-tabela__busca-input",
- placeholder: "Digite termos para filtrar",
- onKeyup: a[1] || (a[1] = Aa((...n) => e.emitirBusca && e.emitirBusca(...n), ["enter"]))
- }, null, 544), [
- [ka, e.texto]
- ]),
- $("button", {
- type: "button",
- class: "eli-tabela__busca-botao",
- "aria-label": "Buscar",
- title: "Buscar",
- onClick: a[2] || (a[2] = (...n) => e.emitirBusca && e.emitirBusca(...n))
- }, [
- q(t, {
- class: "eli-tabela__busca-botao-icone",
- size: 16,
- "stroke-width": 2,
- "aria-hidden": "true"
- })
- ])
- ])
- ]);
-}
-const gt = /* @__PURE__ */ z(vt, [["render", ht], ["__scopeId", "data-v-341415d1"]]), $t = j({
- name: "EliTabelaCabecalho",
- components: { EliTabelaCaixaDeBusca: gt },
+ ],
+ ["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: {
- exibirBusca: {
- type: Boolean,
- required: !0
- },
- exibirBotaoColunas: {
- type: Boolean,
- required: !1,
- default: !0
- },
- exibirBotaoFiltroAvancado: {
- type: Boolean,
- required: !1,
- default: !1
- },
- valorBusca: {
- type: String,
- required: !0
- },
- acoesCabecalho: {
- type: Array,
- required: !0
+ dados: {
+ type: Object
}
},
- emits: {
- buscar(e) {
- return typeof e == "string";
- },
- colunas() {
- return !0;
- },
- filtroAvancado() {
- return !0;
- }
- },
- setup(e, { emit: a }) {
- const o = A(() => e.acoesCabecalho.length > 0);
- function r(t) {
- a("buscar", t);
- }
- function i() {
- a("colunas");
- }
- function f() {
- a("filtroAvancado");
- }
- return { temAcoesCabecalho: o, emitBuscar: r, emitColunas: i, emitFiltroAvancado: f };
+ setup(e) {
+ const n = L(void 0);
+ return rt(async () => {
+ var o;
+ if (!((o = e.dados) != null && o.props)) return;
+ const r = e.dados.props();
+ n.value = r instanceof Promise ? await r : r;
+ }), { propsResolvidas: n };
}
-}), yt = { class: "eli-tabela__cabecalho" }, _t = {
- key: 0,
- class: "eli-tabela__busca-grupo"
-}, Et = {
- key: 1,
- class: "eli-tabela__acoes-cabecalho"
-}, Ct = ["onClick"], St = { class: "eli-tabela__acoes-cabecalho-rotulo" };
-function At(e, a, o, r, i, f) {
- const t = Q("EliTabelaCaixaDeBusca");
- return u(), y("div", yt, [
- e.exibirBusca ? (u(), y("div", _t, [
- e.exibirBotaoColunas ? (u(), y("button", {
- key: 0,
- type: "button",
- class: "eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas",
- onClick: a[0] || (a[0] = (...n) => e.emitColunas && e.emitColunas(...n))
- }, " Colunas ")) : ee("", !0),
- e.exibirBotaoFiltroAvancado ? (u(), y("button", {
- key: 1,
- type: "button",
- class: "eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--filtro",
- onClick: a[1] || (a[1] = (...n) => e.emitFiltroAvancado && e.emitFiltroAvancado(...n))
- }, " Filtro ")) : ee("", !0),
- q(t, {
- modelo: e.valorBusca,
- onBuscar: e.emitBuscar
- }, null, 8, ["modelo", "onBuscar"])
- ])) : ee("", !0),
- e.temAcoesCabecalho ? (u(), y("div", Et, [
- (u(!0), y(re, null, fe(e.acoesCabecalho, (n, d) => (u(), y("button", {
- key: `${n.rotulo}-${d}`,
- type: "button",
- class: "eli-tabela__acoes-cabecalho-botao",
- style: ze(n.cor ? { backgroundColor: n.cor, color: "#fff" } : void 0),
- onClick: n.acao
- }, [
- n.icone ? (u(), W(Me(n.icone), {
- key: 0,
- class: "eli-tabela__acoes-cabecalho-icone",
- size: 16,
- "stroke-width": 2
- })) : ee("", !0),
- $("span", St, L(n.rotulo), 1)
- ], 12, Ct))), 128))
- ])) : ee("", !0)
- ]);
+});
+function Rp(e, n, r, o, t, i) {
+ var a;
+ return e.propsResolvidas ? ($(), ie(Ve((a = e.dados) == null ? void 0 : a.componente), Vm(Ee({ key: 0 }, e.propsResolvidas)), null, 16)) : K("", !0);
}
-const kt = /* @__PURE__ */ z($t, [["render", At], ["__scopeId", "data-v-17166105"]]), Dt = j({
- name: "EliTabelaEstados",
- props: {
- carregando: {
- type: Boolean,
- required: !0
- },
- erro: {
- type: String,
- required: !0
- },
- mensagemVazio: {
- type: String,
- required: !1,
- default: void 0
- }
- }
-}), Mt = {
- key: 0,
- class: "eli-tabela eli-tabela--carregando",
- "aria-busy": "true"
-}, Bt = {
- key: 1,
- class: "eli-tabela eli-tabela--erro",
- role: "alert"
-}, Tt = { class: "eli-tabela__erro-mensagem" }, wt = {
- key: 2,
- class: "eli-tabela eli-tabela--vazio"
-};
-function Pt(e, a, o, r, i, f) {
- return e.carregando ? (u(), y("div", Mt, " Carregando... ")) : e.erro ? (u(), y("div", Bt, [
- a[0] || (a[0] = $("div", { class: "eli-tabela__erro-titulo" }, "Erro", -1)),
- $("div", Tt, L(e.erro), 1)
- ])) : (u(), y("div", wt, L(e.mensagemVazio ?? "Nenhum registro encontrado."), 1));
+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();
+ })(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" };
+ function l(u, d, c, m) {
+ return i.fromToBase(u, d, c, m);
+ }
+ t.en.relativeTime = a, i.fromToBase = function(u, d, c, m, f) {
+ 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 _ = O[Z.l];
+ f && (b = f("" + b)), g = typeof _ == "string" ? _.replace("%d", b) : _(b, d, Z.l, x);
+ break;
+ }
+ }
+ if (d) return 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) {
+ return l(u, d, this);
+ };
+ var s = function(u) {
+ return u.$u ? t.utc() : t();
+ };
+ i.toNow = function(u) {
+ return this.to(s(this), u);
+ }, i.fromNow = function(u) {
+ return this.from(s(this), u);
+ };
+ };
+ }));
+ })(dn)), dn.exports;
}
-const Ot = /* @__PURE__ */ z(Dt, [["render", Pt]]), Ft = j({
- name: "EliTabelaDebug",
+var qp = Jp();
+const Wp = /* @__PURE__ */ Da(qp);
+_e.extend(Wp);
+_e.locale("pt-br");
+const Gp = te({
+ name: "EliTabelaCelulaData",
props: {
- isDev: {
- type: Boolean,
- required: !0
- },
- menuAberto: {
- type: Number,
- required: !0
- },
- menuPopupPos: {
+ dados: {
type: Object,
- required: !0
+ required: !1
}
+ },
+ setup(e) {
+ return { textoData: D(() => {
+ var t, i;
+ 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" ? _e(r).fromNow() : o === "data_hora" ? _e(r).format("DD/MM/YYYY HH:mm") : _e(r).format("DD/MM/YYYY");
+ }) };
}
-}), Vt = {
- key: 0,
- style: { position: "fixed", left: "8px", bottom: "8px", "z-index": "999999", background: "rgba(185,28,28,0.9)", color: "#fff", padding: "6px 10px", "border-radius": "8px", "font-size": "12px", "max-width": "500px" }
-};
-function It(e, a, o, r, i, f) {
- return e.isDev ? (u(), y("div", Vt, [
- a[0] || (a[0] = $("div", null, [
- $("b", null, "EliTabela debug")
- ], -1)),
- $("div", null, "menuAberto: " + L(e.menuAberto), 1),
- $("div", null, "menuPos: top=" + L(e.menuPopupPos.top) + ", left=" + L(e.menuPopupPos.left), 1)
- ])) : ee("", !0);
+}), 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"]))
+ }, J(e.textoData), 1)) : ($(), k("span", Kp, J(e.textoData), 1));
}
-const Nt = /* @__PURE__ */ z(Ft, [["render", It]]), qt = j({
- name: "EliTabelaHead",
- components: { ArrowUp: Qe, ArrowDown: Ke },
+const Hp = /* @__PURE__ */ ne(Gp, [["render", Xp]]), Yp = te({
+ name: "EliTabelaCelulaNumero",
+ components: {},
props: {
- colunas: {
- type: Array,
- required: !0
- },
- temAcoes: {
- type: Boolean,
- required: !0
- },
- temColunasInvisiveis: {
- type: Boolean,
- required: !0
- },
- colunaOrdenacao: {
- type: String,
- required: !0
- },
- direcaoOrdenacao: {
- type: String,
- required: !0
+ dados: {
+ type: Object
}
},
- emits: {
- alternarOrdenacao(e) {
- return typeof e == "string" && e.length > 0;
- }
- },
- setup(e, { emit: a }) {
- function o(i) {
- return (i == null ? void 0 : i.coluna_ordem) !== void 0 && (i == null ? void 0 : i.coluna_ordem) !== null;
- }
- function r(i) {
- a("alternarOrdenacao", i);
- }
- return {
- ArrowUp: Qe,
- ArrowDown: Ke,
- isOrdenavel: o,
- emitAlternarOrdenacao: r
- };
+ setup(e) {
+ return { textoNumero: D(() => {
+ var l, s, u, d, c;
+ const r = String((l = e.dados) == null ? void 0 : l.numero).replace(".", ","), o = (u = (s = e.dados) == null ? void 0 : s.prefixo) == null ? void 0 : u.trim(), t = (c = (d = e.dados) == null ? void 0 : d.sufixo) == null ? void 0 : c.trim(), i = o ? `${o} ` : "", a = t ? ` ${t}` : "";
+ return `${i}${r}${a}`;
+ }) };
}
-}), Lt = { class: "eli-tabela__thead" }, jt = { class: "eli-tabela__tr eli-tabela__tr--header" }, zt = {
- key: 0,
- class: "eli-tabela__th eli-tabela__th--expander",
- scope: "col"
-}, Ht = ["onClick"], Ut = { class: "eli-tabela__th-texto" }, Yt = {
- key: 1,
- class: "eli-tabela__th-label"
-}, Rt = {
- key: 1,
- class: "eli-tabela__th eli-tabela__th--acoes",
- scope: "col"
-};
-function Jt(e, a, o, r, i, f) {
- const t = Q("ArrowUp");
- return u(), y("thead", Lt, [
- $("tr", jt, [
- e.temColunasInvisiveis ? (u(), y("th", zt)) : ee("", !0),
- (u(!0), y(re, null, fe(e.colunas, (n, d) => (u(), y("th", {
- key: `th-${d}`,
- class: De(["eli-tabela__th", [e.isOrdenavel(n) ? "eli-tabela__th--ordenavel" : void 0]]),
- scope: "col"
- }, [
- e.isOrdenavel(n) ? (u(), y("button", {
+}), 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"]))
+ }, J(e.textoNumero), 1)) : ($(), k("span", Qp, J(e.textoNumero), 1));
+}
+const tg = /* @__PURE__ */ ne(Yp, [["render", eg]]), ng = te({
+ name: "EliTabelaCelulaTags",
+ components: { VChip: Km },
+ props: {
+ dados: {
+ type: Object,
+ required: !1
+ }
+ }
+}), rg = { class: "eli-tabela__celula-tags" };
+function ig(e, n, r, o, t, i) {
+ var a;
+ 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",
+ variant: "tonal",
+ color: l.cor,
+ clickable: !!l.acao,
+ onClick: me((u) => {
+ var d;
+ return (d = l.acao) == null ? void 0 : d.call(l);
+ }, ["stop", "prevent"])
+ }, {
+ default: de(() => [
+ l.icone ? ($(), ie(Ve(l.icone), {
key: 0,
- type: "button",
- class: De(["eli-tabela__th-botao", [
- e.colunaOrdenacao === String(n.coluna_ordem) ? "eli-tabela__th-botao--ativo" : void 0
- ]]),
- onClick: (l) => e.emitAlternarOrdenacao(String(n.coluna_ordem))
- }, [
- $("span", Ut, L(n.rotulo), 1),
- e.colunaOrdenacao === String(n.coluna_ordem) ? (u(), W(Me(e.direcaoOrdenacao === "asc" ? e.ArrowUp : e.ArrowDown), {
- key: 0,
- class: "eli-tabela__th-icone",
- size: 16,
- "stroke-width": 2,
- "aria-hidden": "true"
- })) : (u(), W(t, {
- key: 1,
- class: "eli-tabela__th-icone eli-tabela__th-icone--oculto",
- size: 16,
- "stroke-width": 2,
- "aria-hidden": "true"
- }))
- ], 10, Ht)) : (u(), y("span", Yt, L(n.rotulo), 1))
- ], 2))), 128)),
- e.temAcoes ? (u(), y("th", Rt, " Ações ")) : ee("", !0)
- ])
+ class: "eli-tabela__celula-tag-icone",
+ size: 14
+ })) : K("", !0),
+ p("span", null, J(l.rotulo), 1)
+ ]),
+ _: 2
+ }, 1032, ["color", "clickable", "onClick"]))), 128))
]);
}
-const Wt = /* @__PURE__ */ z(qt, [["render", Jt]]), Zt = j({
+const og = /* @__PURE__ */ ne(ng, [["render", ig]]), ag = te({
name: "EliTabelaCelulaTextoSimples",
components: {},
props: {
@@ -918,476 +2796,50 @@ const Wt = /* @__PURE__ */ z(qt, [["render", Jt]]), Zt = j({
data() {
return {};
},
- methods: {},
- setup({ dados: e }) {
- return { dados: e };
- }
-}), Xt = { key: 1 };
-function Gt(e, a, o, r, i, f) {
- var t, n, d;
- return (t = e.dados) != null && t.acao ? (u(), y("button", {
+ methods: {}
+}), 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: a[0] || (a[0] = ue((l) => e.dados.acao(), ["stop", "prevent"]))
- }, L((n = e.dados) == null ? void 0 : n.texto), 1)) : (u(), y("span", Xt, L((d = e.dados) == null ? void 0 : d.texto), 1));
+ onClick: n[0] || (n[0] = me((u) => e.dados.acao(), ["stop", "prevent"]))
+ }, J((l = e.dados) == null ? void 0 : l.texto), 1)) : ($(), k("span", lg, J((s = e.dados) == null ? void 0 : s.texto), 1));
}
-const Kt = /* @__PURE__ */ z(Zt, [["render", Gt], ["__scopeId", "data-v-7a629ffa"]]), Qt = j({
+const sg = /* @__PURE__ */ ne(ag, [["render", ug]]), cg = te({
name: "EliTabelaCelulaTextoTruncado",
props: {
dados: {
type: Object
}
- },
- setup({ dados: e }) {
- return { dados: e };
}
-}), xt = ["title"], eo = ["title"];
-function ao(e, a, o, r, i, f) {
- var t, n, d, l, c;
- return (t = e.dados) != null && t.acao ? (u(), y("button", {
+}), 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,
type: "button",
class: "eli-tabela__texto-truncado eli-tabela__celula-link",
- title: (n = e.dados) == null ? void 0 : n.texto,
- onClick: a[0] || (a[0] = ue((m) => e.dados.acao(), ["stop", "prevent"]))
- }, L((d = e.dados) == null ? void 0 : d.texto), 9, xt)) : (u(), y("span", {
+ title: (l = e.dados) == null ? void 0 : l.texto,
+ onClick: n[0] || (n[0] = me((c) => {
+ var m, f;
+ return (f = (m = e.dados) == null ? void 0 : m.acao) == null ? void 0 : f.call(m);
+ }, ["stop", "prevent"]))
+ }, J((s = e.dados) == null ? void 0 : s.texto), 9, dg)) : ($(), k("span", {
key: 1,
class: "eli-tabela__texto-truncado",
- title: (l = e.dados) == null ? void 0 : l.texto
- }, L((c = e.dados) == null ? void 0 : c.texto), 9, eo));
+ title: (u = e.dados) == null ? void 0 : u.texto
+ }, J((d = e.dados) == null ? void 0 : d.texto), 9, mg));
}
-const to = /* @__PURE__ */ z(Qt, [["render", ao], ["__scopeId", "data-v-74854889"]]), oo = j({
- name: "EliTabelaCelulaNumero",
- components: {},
- props: {
- dados: {
- type: Object
- }
- },
- setup({ dados: e }) {
- const a = A(() => {
- var n, d;
- const o = String(e == null ? void 0 : e.numero).replace(".", ","), r = (n = e == null ? void 0 : e.prefixo) == null ? void 0 : n.trim(), i = (d = e == null ? void 0 : e.sufixo) == null ? void 0 : d.trim(), f = r ? `${r} ` : "", t = i ? ` ${i}` : "";
- return `${f}${o}${t}`;
- });
- return { dados: e, textoNumero: a };
- }
-}), no = { key: 1 };
-function ro(e, a, o, r, i, f) {
- var t;
- return (t = e.dados) != null && t.acao ? (u(), y("button", {
- key: 0,
- type: "button",
- class: "eli-tabela__celula-link",
- onClick: a[0] || (a[0] = ue((n) => e.dados.acao(), ["stop", "prevent"]))
- }, L(e.textoNumero), 1)) : (u(), y("span", no, L(e.textoNumero), 1));
-}
-const lo = /* @__PURE__ */ z(oo, [["render", ro], ["__scopeId", "data-v-69c890c4"]]), io = j({
- name: "EliTabelaCelulaTags",
- components: { VChip: Fa },
- props: {
- dados: {
- type: Object,
- required: !1
- }
- },
- setup({ dados: e }) {
- return { dados: e };
- }
-}), so = { class: "eli-tabela__celula-tags" };
-function uo(e, a, o, r, i, f) {
- var t;
- return u(), y("div", so, [
- (u(!0), y(re, null, fe(((t = e.dados) == null ? void 0 : t.opcoes) ?? [], (n, d) => (u(), W(Na, {
- key: d,
- class: "eli-tabela__celula-tag",
- size: "small",
- variant: "tonal",
- color: n.cor,
- clickable: !!n.acao,
- onClick: ue((l) => {
- var c;
- return (c = n.acao) == null ? void 0 : c.call(n);
- }, ["stop", "prevent"])
- }, {
- default: te(() => [
- n.icone ? (u(), W(Me(n.icone), {
- key: 0,
- class: "eli-tabela__celula-tag-icone",
- size: 14
- })) : ee("", !0),
- $("span", null, L(n.rotulo), 1)
- ]),
- _: 2
- }, 1032, ["color", "clickable", "onClick"]))), 128))
- ]);
-}
-const co = /* @__PURE__ */ z(io, [["render", uo], ["__scopeId", "data-v-a9c83dbe"]]);
-function ma(e) {
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
-}
-var Ne = { exports: {} }, fo = Ne.exports, aa;
-function po() {
- return aa || (aa = 1, (function(e, a) {
- (function(o, r) {
- e.exports = r();
- })(fo, (function() {
- var o = 1e3, r = 6e4, i = 36e5, f = "millisecond", t = "second", n = "minute", d = "hour", l = "day", c = "week", m = "month", w = "quarter", B = "year", _ = "date", s = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, C = { 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(D) {
- var h = ["th", "st", "nd", "rd"], p = D % 100;
- return "[" + D + (h[(p - 20) % 10] || h[p] || h[0]) + "]";
- } }, Z = function(D, h, p) {
- var S = String(D);
- return !S || S.length >= h ? D : "" + Array(h + 1 - S.length).join(p) + D;
- }, le = { s: Z, z: function(D) {
- var h = -D.utcOffset(), p = Math.abs(h), S = Math.floor(p / 60), v = p % 60;
- return (h <= 0 ? "+" : "-") + Z(S, 2, "0") + ":" + Z(v, 2, "0");
- }, m: function D(h, p) {
- if (h.date() < p.date()) return -D(p, h);
- var S = 12 * (p.year() - h.year()) + (p.month() - h.month()), v = h.clone().add(S, m), T = p - v < 0, M = h.clone().add(S + (T ? -1 : 1), m);
- return +(-(S + (p - v) / (T ? v - M : M - v)) || 0);
- }, a: function(D) {
- return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
- }, p: function(D) {
- return { M: m, y: B, w: c, d: l, D: _, h: d, m: n, s: t, ms: f, Q: w }[D] || String(D || "").toLowerCase().replace(/s$/, "");
- }, u: function(D) {
- return D === void 0;
- } }, Y = "en", X = {};
- X[Y] = C;
- var ie = "$isDayjsObject", H = function(D) {
- return D instanceof Se || !(!D || !D[ie]);
- }, be = function D(h, p, S) {
- var v;
- if (!h) return Y;
- if (typeof h == "string") {
- var T = h.toLowerCase();
- X[T] && (v = T), p && (X[T] = p, v = T);
- var M = h.split("-");
- if (!v && M.length > 1) return D(M[0]);
- } else {
- var N = h.name;
- X[N] = h, v = N;
- }
- return !S && v && (Y = v), v || !S && Y;
- }, I = function(D, h) {
- if (H(D)) return D.clone();
- var p = typeof h == "object" ? h : {};
- return p.date = D, p.args = arguments, new Se(p);
- }, O = le;
- O.l = be, O.i = H, O.w = function(D, h) {
- return I(D, { locale: h.$L, utc: h.$u, x: h.$x, $offset: h.$offset });
- };
- var Se = (function() {
- function D(p) {
- this.$L = be(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[ie] = !0;
- }
- var h = D.prototype;
- return h.parse = function(p) {
- this.$d = (function(S) {
- var v = S.date, T = S.utc;
- if (v === null) return /* @__PURE__ */ new Date(NaN);
- if (O.u(v)) return /* @__PURE__ */ new Date();
- if (v instanceof Date) return new Date(v);
- if (typeof v == "string" && !/Z$/i.test(v)) {
- var M = v.match(E);
- if (M) {
- var N = M[2] - 1 || 0, R = (M[7] || "0").substring(0, 3);
- return T ? new Date(Date.UTC(M[1], N, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, R)) : new Date(M[1], N, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, R);
- }
- }
- return new Date(v);
- })(p), this.init();
- }, h.init = function() {
- var p = this.$d;
- this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
- }, h.$utils = function() {
- return O;
- }, h.isValid = function() {
- return this.$d.toString() !== s;
- }, h.isSame = function(p, S) {
- var v = I(p);
- return this.startOf(S) <= v && v <= this.endOf(S);
- }, h.isAfter = function(p, S) {
- return I(p) < this.startOf(S);
- }, h.isBefore = function(p, S) {
- return this.endOf(S) < I(p);
- }, h.$g = function(p, S, v) {
- return O.u(p) ? this[S] : this.set(v, p);
- }, h.unix = function() {
- return Math.floor(this.valueOf() / 1e3);
- }, h.valueOf = function() {
- return this.$d.getTime();
- }, h.startOf = function(p, S) {
- var v = this, T = !!O.u(S) || S, M = O.p(p), N = function(ye, K) {
- var pe = O.w(v.$u ? Date.UTC(v.$y, K, ye) : new Date(v.$y, K, ye), v);
- return T ? pe : pe.endOf(l);
- }, R = function(ye, K) {
- return O.w(v.toDate()[ye].apply(v.toDate("s"), (T ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(K)), v);
- }, G = this.$W, x = this.$M, oe = this.$D, ge = "set" + (this.$u ? "UTC" : "");
- switch (M) {
- case B:
- return T ? N(1, 0) : N(31, 11);
- case m:
- return T ? N(1, x) : N(0, x + 1);
- case c:
- var $e = this.$locale().weekStart || 0, Ae = (G < $e ? G + 7 : G) - $e;
- return N(T ? oe - Ae : oe + (6 - Ae), x);
- case l:
- case _:
- return R(ge + "Hours", 0);
- case d:
- return R(ge + "Minutes", 1);
- case n:
- return R(ge + "Seconds", 2);
- case t:
- return R(ge + "Milliseconds", 3);
- default:
- return this.clone();
- }
- }, h.endOf = function(p) {
- return this.startOf(p, !1);
- }, h.$set = function(p, S) {
- var v, T = O.p(p), M = "set" + (this.$u ? "UTC" : ""), N = (v = {}, v[l] = M + "Date", v[_] = M + "Date", v[m] = M + "Month", v[B] = M + "FullYear", v[d] = M + "Hours", v[n] = M + "Minutes", v[t] = M + "Seconds", v[f] = M + "Milliseconds", v)[T], R = T === l ? this.$D + (S - this.$W) : S;
- if (T === m || T === B) {
- var G = this.clone().set(_, 1);
- G.$d[N](R), G.init(), this.$d = G.set(_, Math.min(this.$D, G.daysInMonth())).$d;
- } else N && this.$d[N](R);
- return this.init(), this;
- }, h.set = function(p, S) {
- return this.clone().$set(p, S);
- }, h.get = function(p) {
- return this[O.p(p)]();
- }, h.add = function(p, S) {
- var v, T = this;
- p = Number(p);
- var M = O.p(S), N = function(x) {
- var oe = I(T);
- return O.w(oe.date(oe.date() + Math.round(x * p)), T);
- };
- if (M === m) return this.set(m, this.$M + p);
- if (M === B) return this.set(B, this.$y + p);
- if (M === l) return N(1);
- if (M === c) return N(7);
- var R = (v = {}, v[n] = r, v[d] = i, v[t] = o, v)[M] || 1, G = this.$d.getTime() + p * R;
- return O.w(G, this);
- }, h.subtract = function(p, S) {
- return this.add(-1 * p, S);
- }, h.format = function(p) {
- var S = this, v = this.$locale();
- if (!this.isValid()) return v.invalidDate || s;
- var T = p || "YYYY-MM-DDTHH:mm:ssZ", M = O.z(this), N = this.$H, R = this.$m, G = this.$M, x = v.weekdays, oe = v.months, ge = v.meridiem, $e = function(K, pe, _e, Be) {
- return K && (K[pe] || K(S, T)) || _e[pe].slice(0, Be);
- }, Ae = function(K) {
- return O.s(N % 12 || 12, K, "0");
- }, ye = ge || function(K, pe, _e) {
- var Be = K < 12 ? "AM" : "PM";
- return _e ? Be.toLowerCase() : Be;
- };
- return T.replace(g, (function(K, pe) {
- return pe || (function(_e) {
- switch (_e) {
- case "YY":
- return String(S.$y).slice(-2);
- case "YYYY":
- return O.s(S.$y, 4, "0");
- case "M":
- return G + 1;
- case "MM":
- return O.s(G + 1, 2, "0");
- case "MMM":
- return $e(v.monthsShort, G, oe, 3);
- case "MMMM":
- return $e(oe, G);
- case "D":
- return S.$D;
- case "DD":
- return O.s(S.$D, 2, "0");
- case "d":
- return String(S.$W);
- case "dd":
- return $e(v.weekdaysMin, S.$W, x, 2);
- case "ddd":
- return $e(v.weekdaysShort, S.$W, x, 3);
- case "dddd":
- return x[S.$W];
- case "H":
- return String(N);
- case "HH":
- return O.s(N, 2, "0");
- case "h":
- return Ae(1);
- case "hh":
- return Ae(2);
- case "a":
- return ye(N, R, !0);
- case "A":
- return ye(N, R, !1);
- case "m":
- return String(R);
- case "mm":
- return O.s(R, 2, "0");
- case "s":
- return String(S.$s);
- case "ss":
- return O.s(S.$s, 2, "0");
- case "SSS":
- return O.s(S.$ms, 3, "0");
- case "Z":
- return M;
- }
- return null;
- })(K) || M.replace(":", "");
- }));
- }, h.utcOffset = function() {
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
- }, h.diff = function(p, S, v) {
- var T, M = this, N = O.p(S), R = I(p), G = (R.utcOffset() - this.utcOffset()) * r, x = this - R, oe = function() {
- return O.m(M, R);
- };
- switch (N) {
- case B:
- T = oe() / 12;
- break;
- case m:
- T = oe();
- break;
- case w:
- T = oe() / 3;
- break;
- case c:
- T = (x - G) / 6048e5;
- break;
- case l:
- T = (x - G) / 864e5;
- break;
- case d:
- T = x / i;
- break;
- case n:
- T = x / r;
- break;
- case t:
- T = x / o;
- break;
- default:
- T = x;
- }
- return v ? T : O.a(T);
- }, h.daysInMonth = function() {
- return this.endOf(m).$D;
- }, h.$locale = function() {
- return X[this.$L];
- }, h.locale = function(p, S) {
- if (!p) return this.$L;
- var v = this.clone(), T = be(p, S, !0);
- return T && (v.$L = T), v;
- }, h.clone = function() {
- return O.w(this.$d, this);
- }, h.toDate = function() {
- return new Date(this.valueOf());
- }, h.toJSON = function() {
- return this.isValid() ? this.toISOString() : null;
- }, h.toISOString = function() {
- return this.$d.toISOString();
- }, h.toString = function() {
- return this.$d.toUTCString();
- }, D;
- })(), Pe = Se.prototype;
- return I.prototype = Pe, [["$ms", f], ["$s", t], ["$m", n], ["$H", d], ["$W", l], ["$M", m], ["$y", B], ["$D", _]].forEach((function(D) {
- Pe[D[1]] = function(h) {
- return this.$g(h, D[0], D[1]);
- };
- })), I.extend = function(D, h) {
- return D.$i || (D(h, Se, I), D.$i = !0), I;
- }, I.locale = be, I.isDayjs = H, I.unix = function(D) {
- return I(1e3 * D);
- }, I.en = X[Y], I.Ls = X, I.p = {}, I;
- }));
- })(Ne)), Ne.exports;
-}
-var vo = po();
-const Ee = /* @__PURE__ */ ma(vo);
-var qe = { exports: {} }, mo = qe.exports, ta;
-function bo() {
- return ta || (ta = 1, (function(e, a) {
- (function(o, r) {
- e.exports = r();
- })(mo, (function() {
- return function(o, r, i) {
- o = o || {};
- var f = r.prototype, t = { 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 n(l, c, m, w) {
- return f.fromToBase(l, c, m, w);
- }
- i.en.relativeTime = t, f.fromToBase = function(l, c, m, w, B) {
- for (var _, s, E, g = m.$locale().relativeTime || t, C = o.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" }], Z = C.length, le = 0; le < Z; le += 1) {
- var Y = C[le];
- Y.d && (_ = w ? i(l).diff(m, Y.d, !0) : m.diff(l, Y.d, !0));
- var X = (o.rounding || Math.round)(Math.abs(_));
- if (E = _ > 0, X <= Y.r || !Y.r) {
- X <= 1 && le > 0 && (Y = C[le - 1]);
- var ie = g[Y.l];
- B && (X = B("" + X)), s = typeof ie == "string" ? ie.replace("%d", X) : ie(X, c, Y.l, E);
- break;
- }
- }
- if (c) return s;
- var H = E ? g.future : g.past;
- return typeof H == "function" ? H(s) : H.replace("%s", s);
- }, f.to = function(l, c) {
- return n(l, c, this, !0);
- }, f.from = function(l, c) {
- return n(l, c, this);
- };
- var d = function(l) {
- return l.$u ? i.utc() : i();
- };
- f.toNow = function(l) {
- return this.to(d(this), l);
- }, f.fromNow = function(l) {
- return this.from(d(this), l);
- };
- };
- }));
- })(qe)), qe.exports;
-}
-var ho = bo();
-const go = /* @__PURE__ */ ma(ho);
-Ee.extend(go);
-const $o = j({
- name: "EliTabelaCelulaData",
- props: {
- dados: {
- type: Object,
- required: !1
- }
- },
- setup({ dados: e }) {
- const a = A(() => {
- const o = e == null ? void 0 : e.valor;
- if (!o) return "";
- const r = (e == null ? void 0 : e.formato) ?? "data";
- return r === "relativo" ? Ee(o).fromNow() : r === "data_hora" ? Ee(o).format("DD/MM/YYYY HH:mm") : Ee(o).format("DD/MM/YYYY");
- });
- return { dados: e, textoData: a };
- }
-}), yo = { key: 1 };
-function _o(e, a, o, r, i, f) {
- var t;
- return (t = e.dados) != null && t.acao ? (u(), y("button", {
- key: 0,
- type: "button",
- class: "eli-tabela__celula-link",
- onClick: a[0] || (a[0] = ue((n) => e.dados.acao(), ["stop", "prevent"]))
- }, L(e.textoData), 1)) : (u(), y("span", yo, L(e.textoData), 1));
-}
-const Eo = /* @__PURE__ */ z($o, [["render", _o], ["__scopeId", "data-v-2b88bbb2"]]), Co = {
- textoSimples: Kt,
- textoTruncado: to,
- numero: lo,
- tags: co,
- data: Eo
-}, So = j({
+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: {
@@ -1397,58 +2849,61 @@ const Eo = /* @__PURE__ */ z($o, [["render", _o], ["__scopeId", "data-v-2b88bbb2
}
},
setup(e) {
- const a = A(() => e.celula[0]), o = A(() => e.celula[1]), r = A(() => Co[a.value]), i = A(() => o.value);
- return { Componente: r, dadosParaComponente: i };
+ 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 Ao(e, a, o, r, i, f) {
- return u(), W(Me(e.Componente), { dados: e.dadosParaComponente }, null, 8, ["dados"]);
+function hg(e, n, r, o, t, i) {
+ return $(), ie(Ve(e.Componente), { dados: e.dadosParaComponente }, null, 8, ["dados"]);
}
-const ba = /* @__PURE__ */ z(So, [["render", Ao]]), ko = j({
+const Za = /* @__PURE__ */ ne(gg, [["render", hg]]), bg = te({
name: "EliTabelaDetalhesLinha",
- components: { EliTabelaCelula: ba },
+ components: { EliTabelaCelula: Za },
props: {
linha: {
- type: null,
+ type: [Object, String, Number, Array],
required: !0
},
colunasInvisiveis: {
+ // biome-ignore lint/suspicious/noExplicitAny: dynamic column
type: Array,
required: !0
}
}
-}), Do = { class: "eli-tabela__detalhes" }, Mo = { class: "eli-tabela__detalhe-rotulo" }, Bo = { class: "eli-tabela__detalhe-valor" };
-function To(e, a, o, r, i, f) {
- const t = Q("EliTabelaCelula");
- return u(), y("div", Do, [
- (u(!0), y(re, null, fe(e.colunasInvisiveis, (n, d) => (u(), y("div", {
- key: `det-${d}-${n.rotulo}`,
+}), $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"
}, [
- $("div", Mo, L(n.rotulo), 1),
- $("div", Bo, [
- q(t, {
- celula: n.celula(e.linha)
+ p("div", _g, J(l.rotulo), 1),
+ p("div", yg, [
+ F(a, {
+ celula: l.celula(e.linha)
}, null, 8, ["celula"])
])
]))), 128))
]);
}
-const wo = /* @__PURE__ */ z(ko, [["render", To], ["__scopeId", "data-v-f1ee8d20"]]), Po = j({
+const Sg = /* @__PURE__ */ ne(bg, [["render", kg]]), Ig = te({
name: "EliTabelaBody",
components: {
- EliTabelaCelula: ba,
- EliTabelaDetalhesLinha: wo,
- MoreVertical: ft,
- ChevronRight: ea,
- ChevronDown: xe
+ EliTabelaCelula: Za,
+ EliTabelaDetalhesLinha: Sg,
+ MoreVertical: kp,
+ ChevronRight: Bo,
+ ChevronDown: Ro
},
props: {
colunas: {
+ // biome-ignore lint/suspicious/noExplicitAny: dynamic column
type: Array,
required: !0
},
colunasInvisiveis: {
+ // biome-ignore lint/suspicious/noExplicitAny: dynamic column
type: Array,
required: !0
},
@@ -1483,178 +2938,1224 @@ const wo = /* @__PURE__ */ z(ko, [["render", To], ["__scopeId", "data-v-f1ee8d20
alternarLinhaExpandida: {
type: Function,
required: !0
+ },
+ mostrarSelecao: {
+ type: Boolean,
+ default: !1
+ },
+ isSelecionado: {
+ type: Function,
+ required: !0
+ },
+ alternarSelecao: {
+ type: Function,
+ required: !0
}
},
setup() {
return {
- ChevronRight: ea,
- ChevronDown: xe
+ ChevronRight: Bo,
+ ChevronDown: Ro
};
}
-}), Oo = { class: "eli-tabela__tbody" }, Fo = ["aria-expanded", "aria-label", "title", "onClick"], Vo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label", "title", "onClick"], Io = ["colspan"];
-function No(e, a, o, r, i, f) {
- const t = Q("EliTabelaCelula"), n = Q("MoreVertical"), d = Q("EliTabelaDetalhesLinha");
- return u(), y("tbody", Oo, [
- (u(!0), y(re, null, fe(e.linhas, (l, c) => {
- var m, w, B, _, s, E;
- return u(), y(re, {
- key: `grp-${c}`
+}), 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", wg, [
+ ($(!0), k(ge, null, $e(e.linhas, (u, d) => {
+ var c, m, f, h, g, x;
+ return $(), k(ge, {
+ key: `grp-${d}`
}, [
- $("tr", {
- class: De(["eli-tabela__tr", [c % 2 === 1 ? "eli-tabela__tr--zebra" : void 0]])
+ p("tr", {
+ class: Me(["eli-tabela__tr", [d % 2 === 1 ? "eli-tabela__tr--zebra" : void 0]])
}, [
- e.temColunasInvisiveis ? (u(), y("td", {
+ e.temColunasInvisiveis ? ($(), k("td", {
class: "eli-tabela__td eli-tabela__td--expander",
- key: `td-${c}-exp`
+ key: `td-${d}-exp`
}, [
- $("button", {
+ p("button", {
type: "button",
- class: De(["eli-tabela__expander-botao", [(m = e.linhasExpandidas) != null && m[c] ? "eli-tabela__expander-botao--ativo" : void 0]]),
- "aria-expanded": (w = e.linhasExpandidas) != null && w[c] ? "true" : "false",
- "aria-label": (B = e.linhasExpandidas) != null && B[c] ? "Ocultar colunas ocultas" : "Mostrar colunas ocultas",
- title: (_ = e.linhasExpandidas) != null && _[c] ? "Ocultar detalhes" : "Mostrar detalhes",
- onClick: ue((g) => e.alternarLinhaExpandida(c), ["stop"])
+ class: Me(["eli-tabela__expander-botao", [(c = e.linhasExpandidas) != null && c[d] ? "eli-tabela__expander-botao--ativo" : void 0]]),
+ "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((O) => e.alternarLinhaExpandida(d), ["stop"])
}, [
- (u(), W(Me((s = e.linhasExpandidas) != null && s[c] ? e.ChevronDown : e.ChevronRight), {
+ ($(), ie(Ve((g = e.linhasExpandidas) != null && g[d] ? e.ChevronDown : e.ChevronRight), {
class: "eli-tabela__expander-icone",
size: 16,
"stroke-width": 2,
"aria-hidden": "true"
}))
- ], 10, Fo)
- ])) : ee("", !0),
- (u(!0), y(re, null, fe(e.colunas, (g, C) => (u(), y("td", {
- key: `td-${c}-${C}`,
+ ], 10, zg)
+ ])) : K("", !0),
+ e.mostrarSelecao ? ($(), k("td", {
+ class: "eli-tabela__td eli-tabela__td--selecao",
+ key: `td-${d}-selecao`
+ }, [
+ p("input", {
+ type: "checkbox",
+ class: "eli-tabela__checkbox",
+ checked: e.isSelecionado(u),
+ onChange: (O) => e.alternarSelecao(u),
+ onClick: n[0] || (n[0] = me(() => {
+ }, ["stop"])),
+ "aria-label": "Selecionar linha"
+ }, null, 40, Dg)
+ ])) : K("", !0),
+ ($(!0), k(ge, null, $e(e.colunas, (O, w) => ($(), k("td", {
+ key: `td-${d}-${w}`,
class: "eli-tabela__td"
}, [
- q(t, {
- celula: g.celula(l)
+ F(a, {
+ celula: O.celula(u)
}, null, 8, ["celula"])
]))), 128)),
- e.temAcoes ? (u(), y("td", {
+ e.temAcoes ? ($(), k("td", {
class: "eli-tabela__td eli-tabela__td--acoes",
- key: `td-${c}-acoes`
+ key: `td-${d}-acoes`
}, [
- $("div", {
- class: De(["eli-tabela__acoes-container", [e.menuAberto === c ? "eli-tabela__acoes-container--aberto" : void 0]])
+ p("div", {
+ class: Me(["eli-tabela__acoes-container", [e.menuAberto === d ? "eli-tabela__acoes-container--aberto" : void 0]])
}, [
- $("button", {
+ p("button", {
class: "eli-tabela__acoes-toggle",
type: "button",
- id: `eli-tabela-acoes-toggle-${c}`,
- disabled: !e.possuiAcoes(c),
+ id: `eli-tabela-acoes-toggle-${d}`,
+ disabled: !e.possuiAcoes(d),
"aria-haspopup": "menu",
- "aria-expanded": e.menuAberto === c ? "true" : "false",
- "aria-controls": e.possuiAcoes(c) ? `eli-tabela-acoes-menu-${c}` : void 0,
- "aria-label": e.possuiAcoes(c) ? "Ações da linha" : "Nenhuma ação disponível",
- title: e.possuiAcoes(c) ? "Ações" : "Nenhuma ação disponível",
- onClick: ue((g) => e.toggleMenu(c, g), ["stop"])
+ "aria-expanded": e.menuAberto === d ? "true" : "false",
+ "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((O) => e.toggleMenu(d, O), ["stop"])
}, [
- q(n, {
+ F(l, {
class: "eli-tabela__acoes-toggle-icone",
size: 18,
"stroke-width": 2
})
- ], 8, Vo)
+ ], 8, Og)
], 2)
- ])) : ee("", !0)
+ ])) : K("", !0)
], 2),
- e.temColunasInvisiveis && ((E = e.linhasExpandidas) != null && E[c]) ? (u(), y("tr", {
+ e.temColunasInvisiveis && ((x = e.linhasExpandidas) != null && x[d]) ? ($(), k("tr", {
key: 0,
- class: De(["eli-tabela__tr eli-tabela__tr--detalhes", [c % 2 === 1 ? "eli-tabela__tr--zebra" : void 0]])
+ class: Me(["eli-tabela__tr eli-tabela__tr--detalhes", [d % 2 === 1 ? "eli-tabela__tr--zebra" : void 0]])
}, [
- $("td", {
+ p("td", {
class: "eli-tabela__td eli-tabela__td--detalhes",
- colspan: (e.temColunasInvisiveis ? 1 : 0) + e.colunas.length + (e.temAcoes ? 1 : 0)
+ colspan: (e.temColunasInvisiveis ? 1 : 0) + (e.mostrarSelecao ? 1 : 0) + e.colunas.length + (e.temAcoes ? 1 : 0)
}, [
- q(d, {
- linha: l,
+ F(s, {
+ linha: u,
colunasInvisiveis: e.colunasInvisiveis
}, null, 8, ["linha", "colunasInvisiveis"])
- ], 8, Io)
- ], 2)) : ee("", !0)
+ ], 8, jg)
+ ], 2)) : K("", !0)
], 64);
}), 128))
]);
}
-const qo = /* @__PURE__ */ z(Po, [["render", No]]), Lo = j({
+const Ug = /* @__PURE__ */ ne(Ig, [["render", Eg]]), xg = te({
+ name: "EliTabelaCaixaDeBusca",
+ components: { Search: Cp },
+ props: {
+ modelo: {
+ type: String,
+ required: !1,
+ default: ""
+ }
+ },
+ emits: {
+ buscar(e) {
+ return typeof e == "string";
+ }
+ },
+ setup(e, { emit: n }) {
+ const r = L(e.modelo ?? "");
+ ze(
+ () => e.modelo,
+ (t) => {
+ t !== void 0 && t !== r.value && (r.value = t);
+ }
+ );
+ function o() {
+ n("buscar", r.value.trim());
+ }
+ return { texto: r, emitirBusca: o };
+ }
+}), 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", Tg, [
+ p("div", Ag, [
+ mn(p("input", {
+ id: "eli-tabela-busca",
+ "onUpdate:modelValue": n[0] || (n[0] = (l) => e.texto = l),
+ type: "search",
+ class: "eli-tabela__busca-input",
+ placeholder: "Digite termos para filtrar",
+ onKeyup: n[1] || (n[1] = It((...l) => e.emitirBusca && e.emitirBusca(...l), ["enter"]))
+ }, null, 544), [
+ [Ir, e.texto]
+ ]),
+ p("button", {
+ type: "button",
+ class: "eli-tabela__busca-botao",
+ "aria-label": "Buscar",
+ title: "Buscar",
+ onClick: n[2] || (n[2] = (...l) => e.emitirBusca && e.emitirBusca(...l))
+ }, [
+ F(a, {
+ class: "eli-tabela__busca-botao-icone",
+ size: 16,
+ "stroke-width": 2,
+ "aria-hidden": "true"
+ })
+ ])
+ ])
+ ]);
+}
+const Pg = /* @__PURE__ */ ne(xg, [["render", Ng]]), Cg = te({
+ name: "EliTabelaCabecalho",
+ components: { Columns3: _p, EliTabelaCaixaDeBusca: Pg, Filter: Pa },
+ 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: {
+ // biome-ignore lint/suspicious/noExplicitAny: dynamic params
+ 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 = D(() => e.acoesCabecalho.length > 0), o = D(() => {
+ const { quantidade: l, rotulos: s } = e.filtrosAtivosResumo;
+ return l === 0 ? "Filtro avançado" : `Filtros ativos (${l}):
+${s.map((u) => `• ${u}`).join(`
+`)}`;
+ });
+ function t(l) {
+ n("buscar", l);
+ }
+ function i() {
+ n("colunas");
+ }
+ function a() {
+ n("filtroAvancado");
+ }
+ return { temAcoesCabecalho: r, tooltipFiltro: o, emitBuscar: t, emitColunas: i, emitFiltroAvancado: a };
+ }
+}), Zg = { class: "eli-tabela__cabecalho" }, Mg = {
+ key: 0,
+ class: "eli-tabela__busca-grupo"
+}, Fg = ["title"], Lg = { class: "eli-tabela__filtro-icone-container" }, Rg = {
+ key: 0,
+ class: "eli-tabela__filtro-badge"
+}, Bg = {
+ key: 1,
+ class: "eli-tabela__acoes-cabecalho"
+}, 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", Zg, [
+ e.exibirBusca ? ($(), k("div", Mg, [
+ e.exibirBotaoColunas ? ($(), k("button", {
+ key: 0,
+ type: "button",
+ class: "eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas",
+ onClick: n[0] || (n[0] = (...u) => e.emitColunas && e.emitColunas(...u))
+ }, [
+ F(a, {
+ size: 15,
+ "stroke-width": 2
+ }),
+ n[2] || (n[2] = ae(" Colunas ", -1))
+ ])) : K("", !0),
+ e.exibirBotaoFiltroAvancado ? ($(), k("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] = (...u) => e.emitFiltroAvancado && e.emitFiltroAvancado(...u))
+ }, [
+ p("span", Lg, [
+ F(l, {
+ size: 15,
+ "stroke-width": 2
+ }),
+ e.filtrosAtivosResumo.quantidade > 0 ? ($(), k("span", Rg, J(e.filtrosAtivosResumo.quantidade), 1)) : K("", !0)
+ ]),
+ n[3] || (n[3] = ae(" Filtro ", -1))
+ ], 8, Fg)) : K("", !0),
+ F(s, {
+ modelo: e.valorBusca,
+ onBuscar: e.emitBuscar
+ }, null, 8, ["modelo", "onBuscar"])
+ ])) : K("", !0),
+ e.temAcoesCabecalho ? ($(), k("div", Bg, [
+ ($(!0), k(ge, null, $e(e.acoesCabecalho, (u, d) => ($(), k("button", {
+ key: `${u.rotulo}-${d}`,
+ type: "button",
+ class: "eli-tabela__acoes-cabecalho-botao",
+ style: ut(u.cor ? { backgroundColor: u.cor, color: "#fff" } : void 0),
+ onClick: (c) => u.acao(e.parametrosConsulta)
+ }, [
+ u.icone ? ($(), ie(Ve(u.icone), {
+ key: 0,
+ class: "eli-tabela__acoes-cabecalho-icone",
+ size: 16,
+ "stroke-width": 2
+ })) : K("", !0),
+ p("span", Jg, J(u.rotulo), 1)
+ ], 12, Vg))), 128))
+ ])) : K("", !0)
+ ]);
+}
+const Wg = /* @__PURE__ */ ne(Cg, [["render", qg]]), Gg = te({
+ name: "EliTabelaEstados",
+ components: { AlertCircle: vp, Inbox: Up, LoaderCircle: Tp },
+ 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"
+}, Xg = {
+ key: 1,
+ class: "eli-tabela eli-tabela--erro",
+ role: "alert"
+}, Hg = { class: "eli-tabela__erro-mensagem" }, Yg = {
+ key: 2,
+ class: "eli-tabela eli-tabela--vazio"
+};
+function Qg(e, n, r, o, t, i) {
+ const a = Q("LoaderCircle"), l = Q("AlertCircle"), s = Q("Inbox");
+ 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", Xg, [
+ F(l, {
+ class: "eli-tabela__estado-icone eli-tabela__estado-icone--erro",
+ size: 18,
+ "stroke-width": 2
+ }),
+ p("div", null, [
+ n[1] || (n[1] = p("div", { class: "eli-tabela__erro-titulo" }, "Erro", -1)),
+ p("div", Hg, J(e.erro), 1)
+ ])
+ ])) : ($(), k("div", Yg, [
+ F(s, {
+ class: "eli-tabela__estado-icone",
+ size: 22,
+ "stroke-width": 1.5
+ }),
+ p("span", null, J(e.mensagemVazio ?? "Nenhum registro encontrado."), 1)
+ ]));
+}
+const eh = /* @__PURE__ */ ne(Gg, [["render", Qg]]), th = te({
+ name: "EliTabelaHead",
+ components: { ArrowUp: Lo, ArrowDown: Fo },
+ props: {
+ colunas: {
+ // biome-ignore lint/suspicious/noExplicitAny: dynamic column
+ 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 o(t) {
+ n("alternarOrdenacao", t);
+ }
+ return {
+ ArrowUp: Lo,
+ ArrowDown: Fo,
+ isOrdenavel: r,
+ emitAlternarOrdenacao: o
+ };
+ }
+}), 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"
+}, oh = {
+ key: 1,
+ class: "eli-tabela__th eli-tabela__th--selecao",
+ scope: "col"
+}, ah = ["checked", "indeterminate"], lh = ["onClick"], uh = { class: "eli-tabela__th-texto" }, sh = {
+ key: 1,
+ class: "eli-tabela__th-label"
+}, ch = {
+ key: 2,
+ class: "eli-tabela__th eli-tabela__th--acoes",
+ scope: "col"
+};
+function dh(e, n, r, o, t, i) {
+ const a = Q("ArrowUp");
+ 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",
+ checked: e.todosSelecionados,
+ 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, ah)
+ ])) : K("", !0),
+ ($(!0), k(ge, null, $e(e.colunas, (l, s) => ($(), k("th", {
+ key: `th-${s}`,
+ class: Me(["eli-tabela__th", [e.isOrdenavel(l) ? "eli-tabela__th--ordenavel" : void 0]]),
+ scope: "col"
+ }, [
+ e.isOrdenavel(l) ? ($(), k("button", {
+ key: 0,
+ type: "button",
+ class: Me(["eli-tabela__th-botao", [
+ e.colunaOrdenacao === String(l.coluna_ordem) ? "eli-tabela__th-botao--ativo" : void 0
+ ]]),
+ onClick: (u) => e.emitAlternarOrdenacao(String(l.coluna_ordem))
+ }, [
+ 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",
+ size: 16,
+ "stroke-width": 2,
+ "aria-hidden": "true"
+ })) : ($(), ie(a, {
+ key: 1,
+ class: "eli-tabela__th-icone eli-tabela__th-icone--oculto",
+ size: 16,
+ "stroke-width": 2,
+ "aria-hidden": "true"
+ }))
+ ], 10, lh)) : ($(), k("span", sh, J(l.rotulo), 1))
+ ], 2))), 128)),
+ e.temAcoes ? ($(), k("th", ch, " Ações ")) : K("", !0)
+ ])
+ ]);
+}
+const mh = /* @__PURE__ */ ne(th, [["render", dh]]), fh = te({
name: "EliTabelaMenuAcoes",
props: {
menuAberto: {
- type: Number,
- required: !0
+ type: [Number, Object],
+ default: null
},
posicao: {
type: Object,
required: !0
},
acoes: {
+ // biome-ignore lint/suspicious/noExplicitAny: dynamic typing needed
type: Array,
required: !0
},
linha: {
// Aceita qualquer tipo de linha (objeto, string, etc.) sem validação runtime.
- type: null,
- required: !0
+ type: [Object, String, Number, Array],
+ default: null
}
},
emits: {
+ // biome-ignore lint/suspicious/noExplicitAny: dynamic typing needed
executar(e) {
return e !== null && typeof e == "object";
}
},
- setup(e, { emit: a, expose: o }) {
- const r = F(null);
- o({ menuEl: r });
- const i = A(() => e.acoes.length > 0);
- function f(t) {
- e.linha && a("executar", { acao: t.acao, linha: e.linha });
+ setup(e, { emit: n }) {
+ const r = L(null), o = D(() => e.acoes.length > 0);
+ function t(i) {
+ e.linha && n("executar", { acao: i.acao, linha: e.linha });
}
- return { menuEl: r, possuiAcoes: i, emitExecutar: f };
+ return { menuEl: r, possuiAcoes: o, emitExecutar: t };
}
-}), jo = ["id", "aria-labelledby"], zo = ["aria-label", "title", "onClick"], Ho = { class: "eli-tabela__acoes-item-texto" };
-function Uo(e, a, o, r, i, f) {
- return u(), W(Da, { to: "body" }, [
- e.menuAberto !== null && e.possuiAcoes ? (u(), y("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: ze({
- position: "fixed",
- top: `${e.posicao.top}px`,
- left: `${e.posicao.left}px`,
- zIndex: 999999
- })
- }, [
- (u(!0), y(re, null, fe(e.acoes, (t) => (u(), y("li", {
- key: `acao-${e.menuAberto}-${t.indice}`,
- class: "eli-tabela__acoes-item",
- role: "none"
+}), 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}`,
+ ref: "menuEl",
+ class: "eli-tabela__acoes-menu",
+ role: "menu",
+ "aria-labelledby": `eli-tabela-acoes-toggle-${e.menuAberto}`,
+ style: ut({
+ position: "fixed",
+ top: `${e.posicao.top}px`,
+ left: `${e.posicao.left}px`,
+ zIndex: 999999
+ })
}, [
- $("button", {
- type: "button",
- class: "eli-tabela__acoes-item-botao",
- style: ze({ color: t.acao.cor }),
- role: "menuitem",
- "aria-label": t.acao.rotulo,
- title: t.acao.rotulo,
- onClick: ue((n) => e.emitExecutar(t), ["stop"])
+ ($(!0), k(ge, null, $e(e.acoes, (a) => ($(), k("li", {
+ key: `acao-${e.menuAberto}-${a.indice}`,
+ class: "eli-tabela__acoes-item",
+ role: "none"
}, [
- (u(), W(Me(t.acao.icone), {
- class: "eli-tabela__acoes-item-icone",
- size: 16,
- "stroke-width": 2
- })),
- $("span", Ho, L(t.acao.rotulo), 1)
- ], 12, zo)
- ]))), 128))
- ], 12, jo)) : ee("", !0)
+ p("button", {
+ type: "button",
+ class: "eli-tabela__acoes-item-botao",
+ style: ut({ color: a.acao.cor }),
+ role: "menuitem",
+ "aria-label": a.acao.rotulo,
+ title: a.acao.rotulo,
+ onClick: me((l) => e.emitExecutar(a), ["stop"])
+ }, [
+ ($(), ie(Ve(a.acao.icone), {
+ class: "eli-tabela__acoes-item-icone",
+ size: 16,
+ "stroke-width": 2
+ })),
+ p("span", hh, J(a.acao.rotulo), 1)
+ ], 12, gh)
+ ]))), 128))
+ ], 12, ph)) : K("", !0)
+ ]))
]);
}
-const Yo = /* @__PURE__ */ z(Lo, [["render", Uo]]), Ro = j({
+const $h = /* @__PURE__ */ ne(fh, [["render", bh]]);
+function _h({
+ aberto: e,
+ rotulosColunas: n,
+ configInicial: r,
+ colunas: o
+}) {
+ const t = L([]), i = L([]), a = L(null);
+ function l() {
+ 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)), 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);
+ t.value = C, i.value = m.filter((b) => g.has(b));
+ }
+ ze(
+ () => [e.value, n.value, r.value, o.value],
+ () => {
+ e.value && l();
+ },
+ { deep: !0, immediate: !0 }
+ );
+ function s(m, f) {
+ a.value = f, m.dataTransfer && (m.dataTransfer.setData("text/plain", f), m.dataTransfer.effectAllowed = "move");
+ }
+ function u() {
+ a.value = null;
+ }
+ function d(m, f) {
+ const h = a.value;
+ if (!h || h === m) return;
+ 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) {
+ const f = a.value;
+ if (!f) return;
+ const h = m === "visiveis" ? t.value : i.value;
+ if (h[h.length - 1] === f) return;
+ const g = t.value.indexOf(f), x = i.value.indexOf(f);
+ g >= 0 && t.value.splice(g, 1), x >= 0 && i.value.splice(x, 1), h.push(f);
+ }
+ return {
+ visiveisLocal: t,
+ invisiveisLocal: i,
+ itemSendoArrastado: a,
+ onDragStart: s,
+ onDragEnd: u,
+ onDragOverItem: d,
+ onDragOverLista: c
+ };
+}
+const yh = te({
+ name: "EliTabelaModalColunas",
+ components: { Columns2: bp, Eye: zp, EyeOff: Ip, GripVertical: jp, X: Ca, Check: cp },
+ props: {
+ aberto: { type: Boolean, required: !0 },
+ rotulosColunas: { type: Array, required: !0 },
+ configInicial: { type: Object, required: !0 },
+ colunas: {
+ // biome-ignore lint/suspicious/noExplicitAny: dynamic typing needed
+ type: Array,
+ required: !0
+ }
+ },
+ emits: {
+ fechar() {
+ return !0;
+ },
+ salvar(e) {
+ return !0;
+ }
+ },
+ setup(e, { emit: n }) {
+ const r = _h({
+ aberto: D(() => e.aberto),
+ rotulosColunas: D(() => e.rotulosColunas),
+ configInicial: D(() => e.configInicial),
+ colunas: D(() => e.colunas)
+ });
+ function o() {
+ n("fechar");
+ }
+ function t() {
+ n("salvar", {
+ visiveis: [...r.visiveisLocal.value],
+ invisiveis: [...r.invisiveisLocal.value]
+ });
+ }
+ return {
+ ...r,
+ emitFechar: o,
+ emitSalvar: t
+ };
+ }
+}), kh = {
+ class: "eli-tabela-modal-colunas__modal",
+ role: "dialog",
+ "aria-modal": "true",
+ "aria-labelledby": "eli-modal-colunas-titulo"
+}, 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"
+}, 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"
+}, 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(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", kh, [
+ p("header", Sh, [
+ p("div", Ih, [
+ F(a, {
+ size: 18,
+ "stroke-width": 2,
+ class: "eli-tabela-modal-colunas__header-icone"
+ }),
+ n[10] || (n[10] = p("h3", {
+ id: "eli-modal-colunas-titulo",
+ class: "eli-tabela-modal-colunas__titulo"
+ }, "Configurar colunas", -1))
+ ]),
+ p("button", {
+ type: "button",
+ class: "eli-tabela-modal-colunas__fechar",
+ "aria-label": "Fechar modal de colunas",
+ onClick: n[0] || (n[0] = (...m) => e.emitFechar && e.emitFechar(...m))
+ }, [
+ F(l, {
+ size: 16,
+ "stroke-width": 2.5
+ })
+ ])
+ ]),
+ p("div", wh, [
+ F(s, {
+ size: 14,
+ "stroke-width": 2,
+ class: "eli-tabela-modal-colunas__instrucao-icone"
+ }),
+ n[11] || (n[11] = ae(" Arraste para reordenar ou mover entre as listas ", -1))
+ ]),
+ 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", jh, J(e.visiveisLocal.length), 1)
+ ]),
+ F(Oo, {
+ name: "list",
+ tag: "div",
+ class: "eli-tabela-modal-colunas__lista eli-tabela-modal-colunas__lista--visiveis",
+ onDragover: n[3] || (n[3] = me((m) => e.onDragOverLista("visiveis"), ["prevent"])),
+ onDrop: e.onDragEnd
+ }, {
+ default: de(() => [
+ ($(!0), k(ge, null, $e(e.visiveisLocal, (m) => ($(), k("div", {
+ key: `vis-${m}`,
+ class: Me(["eli-tabela-modal-colunas__item eli-tabela-modal-colunas__item--visivel", {
+ "eli-tabela-modal-colunas__item--arrastando": e.itemSendoArrastado === m
+ }]),
+ draggable: "true",
+ title: `Arraste para mover '${m}'`,
+ onDragstart: (f) => e.onDragStart(f, m),
+ onDragend: n[1] || (n[1] = (...f) => e.onDragEnd && e.onDragEnd(...f)),
+ onDragover: me((f) => e.onDragOverItem(m, "visiveis"), ["stop", "prevent"]),
+ onDrop: n[2] || (n[2] = me((...f) => e.onDragEnd && e.onDragEnd(...f), ["stop", "prevent"]))
+ }, [
+ F(s, {
+ size: 15,
+ "stroke-width": 2,
+ class: "eli-tabela-modal-colunas__item-handle",
+ "aria-hidden": "true"
+ }),
+ 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, Eh))), 128)),
+ e.visiveisLocal.length === 0 ? ($(), k("div", xh, [
+ F(d, {
+ size: 28,
+ "stroke-width": 1.5,
+ class: "eli-tabela-modal-colunas__vazio-icone"
+ }),
+ n[13] || (n[13] = p("span", null, [
+ ae("Nenhuma coluna visível."),
+ p("br"),
+ ae("Arraste itens da lista ao lado.")
+ ], -1))
+ ])) : K("", !0)
+ ]),
+ _: 1
+ }, 8, ["onDrop"])
+ ]),
+ p("div", Th, [
+ p("div", Ah, [
+ F(d, {
+ size: 14,
+ "stroke-width": 2
+ }),
+ n[14] || (n[14] = p("span", null, "Ocultas", -1)),
+ p("span", Nh, J(e.invisiveisLocal.length), 1)
+ ]),
+ F(Oo, {
+ name: "list",
+ tag: "div",
+ class: "eli-tabela-modal-colunas__lista eli-tabela-modal-colunas__lista--invisiveis",
+ onDragover: n[6] || (n[6] = me((m) => e.onDragOverLista("invisiveis"), ["prevent"])),
+ onDrop: e.onDragEnd
+ }, {
+ default: de(() => [
+ ($(!0), k(ge, null, $e(e.invisiveisLocal, (m) => ($(), k("div", {
+ key: `inv-${m}`,
+ class: Me(["eli-tabela-modal-colunas__item eli-tabela-modal-colunas__item--invisivel", {
+ "eli-tabela-modal-colunas__item--arrastando": e.itemSendoArrastado === m
+ }]),
+ draggable: "true",
+ title: `Arraste para mover '${m}'`,
+ onDragstart: (f) => e.onDragStart(f, m),
+ onDragend: n[4] || (n[4] = (...f) => e.onDragEnd && e.onDragEnd(...f)),
+ onDragover: me((f) => e.onDragOverItem(m, "invisiveis"), ["stop", "prevent"]),
+ onDrop: n[5] || (n[5] = me((...f) => e.onDragEnd && e.onDragEnd(...f), ["stop", "prevent"]))
+ }, [
+ F(s, {
+ size: 15,
+ "stroke-width": 2,
+ class: "eli-tabela-modal-colunas__item-handle",
+ "aria-hidden": "true"
+ }),
+ 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, Ph))), 128)),
+ e.invisiveisLocal.length === 0 ? ($(), k("div", Zh, [
+ F(u, {
+ size: 28,
+ "stroke-width": 1.5,
+ class: "eli-tabela-modal-colunas__vazio-icone eli-tabela-modal-colunas__vazio-icone--ok"
+ }),
+ n[15] || (n[15] = p("span", null, "Todas as colunas estão visíveis.", -1))
+ ])) : K("", !0)
+ ]),
+ _: 1
+ }, 8, ["onDrop"])
+ ])
+ ]),
+ p("footer", Mh, [
+ p("button", {
+ type: "button",
+ class: "eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--sec",
+ onClick: n[7] || (n[7] = (...m) => e.emitFechar && e.emitFechar(...m))
+ }, [
+ F(l, {
+ size: 14,
+ "stroke-width": 2.5
+ }),
+ n[16] || (n[16] = ae(" Cancelar ", -1))
+ ]),
+ p("button", {
+ type: "button",
+ class: "eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--prim",
+ onClick: n[8] || (n[8] = (...m) => e.emitSalvar && e.emitSalvar(...m))
+ }, [
+ F(c, {
+ size: 14,
+ "stroke-width": 2.5
+ }),
+ n[17] || (n[17] = ae(" Salvar ", -1))
+ ])
+ ])
+ ])
+ ])) : K("", !0)
+ ]);
+}
+const Lh = /* @__PURE__ */ ne(yh, [["render", Fh]]);
+function Jo(e) {
+ return e.rotulo;
+}
+function Rh({
+ aberto: e,
+ filtrosBase: n,
+ modelo: r,
+ modeloFormula: o,
+ emit: t
+}) {
+ const i = L([]), a = L(""), l = L(""), s = D(() => i.value.map((_, S) => `{c${S + 1}}`).join(" E "));
+ function u(_) {
+ let S = _;
+ return i.value.forEach((B, z) => {
+ S = S.replace(new RegExp(`\\{${B.chave}\\}`, "g"), `{c${z + 1}}`);
+ }), S;
+ }
+ function d(_) {
+ var B;
+ let S = _;
+ for (let z = i.value.length; z >= 1; z--) {
+ const M = (B = i.value[z - 1]) == null ? void 0 : B.chave;
+ M && (S = S.replace(new RegExp(`\\{c${z}\\}`, "g"), `{${M}}`));
+ }
+ return S;
+ }
+ const c = D(() => (n.value ?? []).map((_) => String(_.chave))), m = D(() => {
+ const _ = new Set(i.value.map((S) => String(S.chave)));
+ return (n.value ?? []).filter((S) => !_.has(String(S.chave)));
+ });
+ function f(_) {
+ 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: "" };
+ }
+ function g(_) {
+ 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 ?? [], 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 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],
+ () => {
+ e.value && x();
+ },
+ { deep: !0, immediate: !0 }
+ );
+ function O() {
+ if (!a.value) return;
+ const _ = (n.value ?? []).find(
+ (S) => String(S.chave) === String(a.value)
+ );
+ _ && (i.value.some((S) => String(S.chave) === String(_.chave)) || (i.value.push({
+ chave: String(_.chave),
+ entrada: _.entrada,
+ valor: g(_.entrada)
+ }), l.value = s.value, a.value = ""));
+ }
+ function w(_) {
+ i.value.splice(_, 1), l.value = s.value;
+ }
+ function C() {
+ t("fechar");
+ }
+ function P() {
+ t("limpar");
+ }
+ function Z() {
+ const _ = d(l.value);
+ t(
+ "salvar",
+ i.value.map((S) => ({ chave: S.chave, valor: S.valor })),
+ _
+ );
+ }
+ function b(_) {
+ const S = (n.value ?? []).find((B) => String(B.chave) === _);
+ return S ? Jo(S) : _;
+ }
+ return {
+ linhas: i,
+ opcoesParaAdicionar: m,
+ chaveParaAdicionar: a,
+ formulaCustomizada: l,
+ formulaGerada: s,
+ componenteEntrada: f,
+ opcoesEntrada: h,
+ adicionar: O,
+ remover: w,
+ emitFechar: C,
+ emitSalvar: Z,
+ emitLimpar: P,
+ rotuloDoFiltro: Jo,
+ rotuloDoFiltroAtivo: b
+ };
+}
+const Bh = te({
+ name: "EliTabelaModalFiltroAvancado",
+ components: { CircleHelp: gp, Filter: Pa, Plus: Np, Trash2: Mp, X: Ca },
+ props: {
+ aberto: { type: Boolean, required: !0 },
+ filtrosBase: { type: Array, required: !0 },
+ modelo: {
+ /** Linhas persistidas do pai — normalizadas internamente via normalizarModelo() */
+ type: Array,
+ required: !0
+ },
+ modeloFormula: { type: String, default: "" }
+ },
+ emits: {
+ fechar: () => !0,
+ limpar: () => !0,
+ /** Dado serializável emitido pelo botão Aplicar */
+ salvar: (e, n) => !0
+ },
+ setup(e, { emit: n }) {
+ return Rh({
+ aberto: D(() => e.aberto),
+ filtrosBase: D(() => e.filtrosBase),
+ modelo: D(() => e.modelo),
+ modeloFormula: D(() => e.modeloFormula),
+ emit: n
+ });
+ }
+}), Vh = {
+ class: "eli-tabela-modal-filtro__modal",
+ role: "dialog",
+ "aria-modal": "true",
+ "aria-label": "Filtro avançado"
+}, 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" }, Kh = {
+ key: 0,
+ class: "eli-tabela-modal-filtro__vazio"
+}, Xh = { key: 1 }, Hh = {
+ key: 0,
+ class: "eli-tabela-modal-filtro__lista"
+}, 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"
+}, 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"
+}, cb = ["placeholder"], db = {
+ class: "eli-tabela-modal-filtro__formula-ajuda",
+ tabindex: "0",
+ "aria-label": "Ajuda sobre fórmulas"
+}, 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(ha, { name: "eli-tabela-modal-filtro" }, {
+ default: de(() => [
+ e.aberto ? ($(), k("div", {
+ key: 0,
+ class: "eli-tabela-modal-filtro__overlay",
+ role: "presentation",
+ onClick: n[7] || (n[7] = me((...c) => e.emitFechar && e.emitFechar(...c), ["self"]))
+ }, [
+ 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", Wh, J(e.linhas.length) + " " + J(e.linhas.length === 1 ? "filtro" : "filtros"), 1)) : K("", !0)
+ ]),
+ p("button", {
+ type: "button",
+ class: "eli-tabela-modal-filtro__fechar",
+ "aria-label": "Fechar",
+ onClick: n[0] || (n[0] = (...c) => e.emitFechar && e.emitFechar(...c))
+ }, [
+ F(l, {
+ size: 18,
+ "stroke-width": 2
+ })
+ ])
+ ]),
+ p("div", Gh, [
+ 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", Yh, [
+ p("span", {
+ class: "eli-tabela-modal-filtro__id-badge",
+ title: `Identificador na fórmula: {c${m + 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",
+ title: "Remover filtro",
+ "aria-label": "Remover filtro",
+ onClick: (f) => e.remover(m)
+ }, [
+ F(s, {
+ size: 14,
+ "stroke-width": 2
+ })
+ ], 8, tb)
+ ]),
+ 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", 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", 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
+ }, [
+ n[10] || (n[10] = p("option", {
+ disabled: "",
+ value: ""
+ }, "Selecione um filtro…", -1)),
+ ($(!0), k(ge, null, $e(e.opcoesParaAdicionar, (c) => ($(), k("option", {
+ key: String(c.chave),
+ value: String(c.chave)
+ }, J(e.rotuloDoFiltro(c)), 9, lb))), 128))
+ ], 8, ab), [
+ [Jm, e.chaveParaAdicionar]
+ ]),
+ p("button", {
+ type: "button",
+ class: "eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",
+ onClick: n[2] || (n[2] = (...c) => e.adicionar && e.adicionar(...c)),
+ disabled: !e.chaveParaAdicionar
+ }, [
+ F(u, {
+ size: 15,
+ "stroke-width": 2.5
+ }),
+ n[11] || (n[11] = ae(" Adicionar ", -1))
+ ], 8, ub)
+ ]),
+ e.linhas.length >= 2 ? ($(), k("div", sb, [
+ n[13] || (n[13] = p("label", { class: "eli-tabela-modal-filtro__formula-label" }, "Fórmula", -1)),
+ 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, cb), [
+ [Ir, e.formulaCustomizada]
+ ]),
+ p("span", db, [
+ F(d, {
+ size: 15,
+ "stroke-width": 2
+ }),
+ n[12] || (n[12] = p("div", {
+ class: "eli-tabela-modal-filtro__formula-tooltip",
+ role: "tooltip"
+ }, [
+ p("strong", null, "Como usar a fórmula"),
+ p("p", null, [
+ ae("Use os identificadores "),
+ p("code", null, "{c1}"),
+ ae(", "),
+ p("code", null, "{c2}"),
+ ae(", "),
+ p("code", null, "{c3}"),
+ ae("… correspondentes a cada filtro acima:")
+ ]),
+ p("ul", null, [
+ p("li", null, [
+ p("code", null, "E"),
+ ae(" — ambos devem ser verdadeiros")
+ ]),
+ p("li", null, [
+ p("code", null, "OU"),
+ ae(" — pelo menos um deve ser verdadeiro")
+ ]),
+ p("li", null, [
+ p("code", null, "NAO"),
+ ae(" — negação de uma condição")
+ ]),
+ p("li", null, [
+ p("code", null, "( )"),
+ ae(" — agrupa condições")
+ ])
+ ]),
+ p("p", null, [
+ p("strong", null, "Exemplo:")
+ ]),
+ p("code", null, "{c1} OU ({c2} E NAO {c3})"),
+ p("p", { class: "eli-tabela-modal-filtro__formula-tooltip-nota" }, "Deixe em branco para combinar todos com E.")
+ ], -1))
+ ])
+ ])) : K("", !0)
+ ])
+ ])) : ($(), k("div", Kh, " Nenhum filtro configurado na tabela. "))
+ ]),
+ 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, fb),
+ n[14] || (n[14] = p("div", { class: "eli-tabela-modal-filtro__footer-spacer" }, null, -1)),
+ p("button", {
+ type: "button",
+ class: "eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",
+ onClick: n[5] || (n[5] = (...c) => e.emitFechar && e.emitFechar(...c))
+ }, " Cancelar "),
+ p("button", {
+ type: "button",
+ class: "eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",
+ onClick: n[6] || (n[6] = (...c) => e.emitSalvar && e.emitSalvar(...c))
+ }, " Aplicar ")
+ ])
+ ])
+ ])) : K("", !0)
+ ]),
+ _: 1
+ });
+}
+const pb = /* @__PURE__ */ ne(Bh, [["render", vb]]), gb = te({
name: "EliTabelaPaginacao",
props: {
pagina: {
@@ -1668,6 +4169,16 @@ const Yo = /* @__PURE__ */ z(Lo, [["render", Uo]]), Ro = j({
maximoBotoes: {
type: Number,
required: !1
+ },
+ acoes: {
+ type: Array,
+ required: !1,
+ default: () => []
+ },
+ parametrosConsulta: {
+ // biome-ignore lint/suspicious/noExplicitAny: dynamic params
+ type: Object,
+ required: !1
}
},
emits: {
@@ -1675,1326 +4186,690 @@ const Yo = /* @__PURE__ */ z(Lo, [["render", Uo]]), Ro = j({
return Number.isFinite(e);
}
},
- setup(e, { emit: a }) {
- const o = A(() => {
- const l = e.maximoBotoes;
- return typeof l == "number" && l >= 5 ? Math.floor(l) : 7;
- }), r = A(() => {
- const l = e.totalPaginas, c = e.pagina, m = o.value, w = [], B = (C) => {
- w.push({
- label: String(C),
- pagina: C,
- ativo: C === c
+ setup(e, { emit: n }) {
+ const r = D(() => {
+ const u = e.maximoBotoes;
+ return typeof u == "number" && u >= 5 ? Math.floor(u) : 7;
+ }), o = D(() => {
+ const u = e.totalPaginas, d = e.pagina, c = r.value, m = [], f = (w) => {
+ m.push({
+ label: String(w),
+ pagina: w,
+ ativo: w === d
});
- }, _ = () => {
- w.push({ label: "…", ehEllipsis: !0 });
+ }, h = () => {
+ m.push({ label: "…", ehEllipsis: !0 });
};
- if (l <= m) {
- for (let C = 1; C <= l; C += 1)
- B(C);
- return w;
+ if (u <= c) {
+ for (let w = 1; w <= u; w += 1)
+ f(w);
+ return m;
}
- const s = Math.max(3, m - 2);
- let E = Math.max(2, c - Math.floor(s / 2)), g = E + s - 1;
- g >= l && (g = l - 1, E = g - s + 1), B(1), E > 2 && _();
- for (let C = E; C <= g; C += 1)
- B(C);
- return g < l - 1 && _(), B(l), w;
+ const g = Math.max(3, c - 2);
+ 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 O < u - 1 && h(), f(u), m;
});
- function i(l) {
- if (!l)
+ function t(u) {
+ if (!u)
return;
- const c = Math.min(Math.max(1, l), e.totalPaginas);
- c !== e.pagina && a("alterar", c);
+ const d = Math.min(Math.max(1, u), e.totalPaginas);
+ d !== e.pagina && n("alterar", d);
}
- const f = A(() => e.pagina <= 1), t = A(() => e.pagina >= e.totalPaginas), n = A(() => e.pagina), d = A(() => e.totalPaginas);
+ const i = D(() => e.pagina <= 1), a = D(() => e.pagina >= e.totalPaginas), l = D(() => e.pagina), s = D(() => e.totalPaginas);
return {
- botoes: r,
- irParaPagina: i,
- anteriorDesabilitado: f,
- proximaDesabilitada: t,
- paginaAtual: n,
- totalPaginasExibidas: d
+ botoes: o,
+ irParaPagina: t,
+ anteriorDesabilitado: i,
+ proximaDesabilitada: a,
+ paginaAtual: l,
+ totalPaginasExibidas: s
};
}
-}), Jo = {
+}), hb = { class: "eli-tabela__rodape" }, bb = {
key: 0,
+ class: "eli-tabela__acoes-inferiores",
+ style: { "margin-right": "auto" }
+}, $b = ["onClick"], _b = { class: "eli-tabela__acoes-cabecalho-rotulo" }, yb = {
+ key: 1,
class: "eli-tabela__paginacao",
role: "navigation",
"aria-label": "Paginação de resultados"
-}, Wo = ["disabled"], Zo = {
+}, kb = ["disabled"], Sb = {
key: 0,
class: "eli-tabela__pagina-ellipsis",
"aria-hidden": "true"
-}, Xo = ["disabled", "aria-current", "aria-label", "onClick"], Go = ["disabled"];
-function Ko(e, a, o, r, i, f) {
- return e.totalPaginasExibidas > 1 ? (u(), y("nav", Jo, [
- $("button", {
- type: "button",
- class: "eli-tabela__pagina-botao",
- disabled: e.anteriorDesabilitado,
- "aria-label": "Página anterior",
- onClick: a[0] || (a[0] = (t) => e.irParaPagina(e.paginaAtual - 1))
- }, " << ", 8, Wo),
- (u(!0), y(re, null, fe(e.botoes, (t, n) => (u(), y(re, {
- key: `${t.label}-${n}`
- }, [
- t.ehEllipsis ? (u(), y("span", Zo, L(t.label), 1)) : (u(), y("button", {
- key: 1,
+}, 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",
- class: De(["eli-tabela__pagina-botao", t.ativo ? "eli-tabela__pagina-botao--ativo" : void 0]),
- disabled: t.ativo,
- "aria-current": t.ativo ? "page" : void 0,
- "aria-label": `Ir para página ${t.label}`,
- onClick: (d) => e.irParaPagina(t.pagina)
- }, L(t.label), 11, Xo))
- ], 64))), 128)),
- $("button", {
- type: "button",
- class: "eli-tabela__pagina-botao",
- disabled: e.proximaDesabilitada,
- "aria-label": "Próxima página",
- onClick: a[1] || (a[1] = (t) => e.irParaPagina(e.paginaAtual + 1))
- }, " >> ", 8, Go)
- ])) : ee("", !0);
-}
-const Qo = /* @__PURE__ */ z(Ro, [["render", Ko], ["__scopeId", "data-v-5ca7a362"]]), oa = "application/x-eli-tabela-coluna", xo = j({
- name: "EliTabelaModalColunas",
- 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: a }) {
- const o = F([]), r = F([]);
- function i() {
- var X, ie;
- const _ = e.rotulosColunas, s = (((X = e.configInicial.visiveis) == null ? void 0 : X.length) ?? 0) > 0 || (((ie = e.configInicial.invisiveis) == null ? void 0 : ie.length) ?? 0) > 0, E = new Set(
- e.colunas.filter((H) => H.visivel === !1).map((H) => H.rotulo)
- ), g = s ? new Set(e.configInicial.invisiveis ?? []) : E, C = _.filter((H) => !g.has(H)), Z = e.configInicial.visiveis ?? [], le = new Set(C), Y = [];
- for (const H of Z)
- le.has(H) && Y.push(H);
- for (const H of C)
- Y.includes(H) || Y.push(H);
- o.value = Y, r.value = _.filter((H) => g.has(H));
- }
- me(
- () => [e.aberto, e.rotulosColunas, e.configInicial, e.colunas],
- () => {
- e.aberto && i();
- },
- { deep: !0, immediate: !0 }
- );
- function f() {
- a("fechar");
- }
- function t() {
- a("salvar", {
- visiveis: [...o.value],
- invisiveis: [...r.value]
- });
- }
- function n(_, s) {
- var E, g;
- try {
- (E = _.dataTransfer) == null || E.setData(oa, JSON.stringify(s)), (g = _.dataTransfer) == null || g.setData("text/plain", s.rotulo), _.dataTransfer.effectAllowed = "move";
- } catch {
- }
- }
- function d(_) {
- var s;
- try {
- const E = (s = _.dataTransfer) == null ? void 0 : s.getData(oa);
- if (!E) return null;
- const g = JSON.parse(E);
- return !g || typeof g.rotulo != "string" || g.origem !== "visiveis" && g.origem !== "invisiveis" ? null : g;
- } catch {
- return null;
- }
- }
- function l(_) {
- const s = _.origem === "visiveis" ? o.value : r.value, E = s.indexOf(_.rotulo);
- E >= 0 && s.splice(E, 1);
- }
- function c(_, s, E) {
- const g = _ === "visiveis" ? o.value : r.value, C = g.indexOf(s);
- C >= 0 && g.splice(C, 1), E === null || E < 0 || E > g.length ? g.push(s) : g.splice(E, 0, s);
- }
- function m(_, s, E, g) {
- n(_, { rotulo: s, origem: E, index: g });
- }
- function w(_, s, E) {
- const g = d(_);
- if (g)
- if (l(g), c(s, g.rotulo, E), s === "visiveis") {
- const C = r.value.indexOf(g.rotulo);
- C >= 0 && r.value.splice(C, 1);
- } else {
- const C = o.value.indexOf(g.rotulo);
- C >= 0 && o.value.splice(C, 1);
- }
- }
- function B(_, s, E) {
- const g = d(_);
- if (g)
- if (l(g), c(s, g.rotulo, null), s === "visiveis") {
- const C = r.value.indexOf(g.rotulo);
- C >= 0 && r.value.splice(C, 1);
- } else {
- const C = o.value.indexOf(g.rotulo);
- C >= 0 && o.value.splice(C, 1);
- }
- }
- return {
- visiveisLocal: o,
- invisiveisLocal: r,
- emitFechar: f,
- emitSalvar: t,
- onDragStart: m,
- onDropItem: w,
- onDropLista: B
- };
- }
-}), en = {
- class: "eli-tabela-modal-colunas__modal",
- role: "dialog",
- "aria-modal": "true",
- "aria-label": "Configurar colunas"
-}, an = { class: "eli-tabela-modal-colunas__header" }, tn = { class: "eli-tabela-modal-colunas__conteudo" }, on = { class: "eli-tabela-modal-colunas__coluna" }, nn = ["onDragstart", "onDrop"], rn = { class: "eli-tabela-modal-colunas__item-texto" }, ln = { class: "eli-tabela-modal-colunas__coluna" }, sn = ["onDragstart", "onDrop"], un = { class: "eli-tabela-modal-colunas__item-texto" }, cn = { class: "eli-tabela-modal-colunas__footer" };
-function dn(e, a, o, r, i, f) {
- return e.aberto ? (u(), y("div", {
- key: 0,
- class: "eli-tabela-modal-colunas__overlay",
- role: "presentation",
- onClick: a[9] || (a[9] = ue((...t) => e.emitFechar && e.emitFechar(...t), ["self"]))
- }, [
- $("div", en, [
- $("header", an, [
- a[10] || (a[10] = $("h3", { class: "eli-tabela-modal-colunas__titulo" }, "Colunas", -1)),
- $("button", {
+ class: "eli-tabela__acao-inferior",
+ style: ut(a.cor ? { borderColor: a.cor, color: a.cor } : void 0),
+ onClick: (s) => a.acao(e.parametrosConsulta)
+ }, [
+ a.icone ? ($(), ie(Ve(a.icone), {
+ key: 0,
+ class: "eli-tabela__acoes-cabecalho-icone",
+ size: 16,
+ "stroke-width": 2
+ })) : K("", !0),
+ p("span", _b, J(a.rotulo), 1)
+ ], 12, $b))), 128))
+ ])) : K("", !0),
+ 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, kb),
+ ($(!0), k(ge, null, $e(e.botoes, (a, l) => ($(), k(ge, {
+ key: `${a.label}-${l}`
+ }, [
+ a.ehEllipsis ? ($(), k("span", Sb, J(a.label), 1)) : ($(), k("button", {
+ key: 1,
type: "button",
- class: "eli-tabela-modal-colunas__fechar",
- "aria-label": "Fechar",
- onClick: a[0] || (a[0] = (...t) => e.emitFechar && e.emitFechar(...t))
- }, " × ")
- ]),
- $("div", tn, [
- $("div", on, [
- a[12] || (a[12] = $("div", { class: "eli-tabela-modal-colunas__coluna-titulo" }, "Visíveis", -1)),
- $("div", {
- class: "eli-tabela-modal-colunas__lista",
- onDragover: a[2] || (a[2] = ue(() => {
- }, ["prevent"])),
- onDrop: a[3] || (a[3] = (t) => e.onDropLista(t, "visiveis", null))
- }, [
- (u(!0), y(re, null, fe(e.visiveisLocal, (t, n) => (u(), y("div", {
- key: `vis-${t}`,
- class: "eli-tabela-modal-colunas__item",
- draggable: "true",
- onDragstart: (d) => e.onDragStart(d, t, "visiveis", n),
- onDragover: a[1] || (a[1] = ue(() => {
- }, ["prevent"])),
- onDrop: (d) => e.onDropItem(d, "visiveis", n)
- }, [
- a[11] || (a[11] = $("span", {
- class: "eli-tabela-modal-colunas__item-handle",
- "aria-hidden": "true"
- }, "⋮⋮", -1)),
- $("span", rn, L(t), 1)
- ], 40, nn))), 128))
- ], 32)
- ]),
- $("div", ln, [
- a[14] || (a[14] = $("div", { class: "eli-tabela-modal-colunas__coluna-titulo" }, "Invisíveis", -1)),
- $("div", {
- class: "eli-tabela-modal-colunas__lista",
- onDragover: a[5] || (a[5] = ue(() => {
- }, ["prevent"])),
- onDrop: a[6] || (a[6] = (t) => e.onDropLista(t, "invisiveis", null))
- }, [
- (u(!0), y(re, null, fe(e.invisiveisLocal, (t, n) => (u(), y("div", {
- key: `inv-${t}`,
- class: "eli-tabela-modal-colunas__item",
- draggable: "true",
- onDragstart: (d) => e.onDragStart(d, t, "invisiveis", n),
- onDragover: a[4] || (a[4] = ue(() => {
- }, ["prevent"])),
- onDrop: (d) => e.onDropItem(d, "invisiveis", n)
- }, [
- a[13] || (a[13] = $("span", {
- class: "eli-tabela-modal-colunas__item-handle",
- "aria-hidden": "true"
- }, "⋮⋮", -1)),
- $("span", un, L(t), 1)
- ], 40, sn))), 128))
- ], 32)
- ])
- ]),
- $("footer", cn, [
- $("button", {
- type: "button",
- class: "eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--sec",
- onClick: a[7] || (a[7] = (...t) => e.emitFechar && e.emitFechar(...t))
- }, " Cancelar "),
- $("button", {
- type: "button",
- class: "eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--prim",
- onClick: a[8] || (a[8] = (...t) => e.emitSalvar && e.emitSalvar(...t))
- }, " Salvar ")
- ])
- ])
- ])) : ee("", !0);
-}
-const fn = /* @__PURE__ */ z(xo, [["render", dn], ["__scopeId", "data-v-b8f693ef"]]);
-function pn(e) {
- if (!Number.isFinite(e) || e <= 0 || e >= 1) return 0;
- const a = e.toString();
- if (a.includes("e-")) {
- const [, i] = a.split("e-"), f = Number(i);
- return Number.isFinite(f) ? f : 0;
- }
- const o = a.indexOf(".");
- return o === -1 ? 0 : a.slice(o + 1).replace(/0+$/, "").length;
-}
-function vn(e) {
- const a = (e ?? "").trim().replace(/,/g, ".");
- if (!a) return null;
- const o = Number(a);
- return Number.isNaN(o) ? null : o;
-}
-function Le(e, a) {
- return e == null ? "" : a === null ? String(e) : Number(e).toFixed(Math.max(0, a)).replace(/\./g, ",");
-}
-function na(e) {
- return (e ?? "").replace(/\D+/g, "");
-}
-function mn(e) {
- const a = (e ?? "").replace(/[^0-9.,]+/g, ""), o = a.match(/[.,]/);
- if (!o) return a;
- const r = o[0], i = a.indexOf(r), f = a.slice(0, i).replace(/[.,]/g, ""), t = a.slice(i + 1).replace(/[.,]/g, "");
- return `${f.length ? f : "0"}${r}${t}`;
-}
-function bn(e, a) {
- if (a === null) return e;
- if (a <= 0) return e.replace(/[.,]/g, "");
- const o = e.match(/[.,]/);
- if (!o) return e;
- const r = o[0], i = e.indexOf(r), f = e.slice(0, i), t = e.slice(i + 1);
- return `${f}${r}${t.slice(0, a)}`;
-}
-function hn(e) {
- const a = e.match(/^(\d+)[.,]$/);
- if (!a) return null;
- const o = Number(a[1]);
- return Number.isNaN(o) ? null : o;
-}
-const gn = j({
- name: "EliEntradaNumero",
- inheritAttrs: !1,
- props: {
- /** Interface padrão (EliEntrada): value + opcoes. */
- value: {
- type: [Number, null],
- default: void 0
- },
- opcoes: {
- type: Object,
- required: !0
- }
- },
- emits: {
- "update:value": (e) => !0,
- /** Compat Vue2 (v-model padrão: value + input) */
- input: (e) => !0,
- change: (e) => !0,
- focus: () => !0,
- blur: () => !0
- },
- setup(e, { attrs: a, emit: o }) {
- const r = A(() => {
- var c;
- const l = (c = e.opcoes) == null ? void 0 : c.precisao;
- return l == null ? null : pn(l);
- }), i = A(() => r.value === 0), f = A(() => {
- const l = r.value;
- return l !== null && l > 0;
- }), t = F(""), n = F(void 0);
- me(
- () => e.value,
- (l) => {
- l !== n.value && (t.value = Le(l, r.value), n.value = l);
- },
- { immediate: !0 }
- );
- function d(l) {
- if (f.value) {
- const B = r.value ?? 0, _ = na(l), s = _ ? Number(_) : 0, E = Math.pow(10, B), g = _ ? s / E : null, C = g === null ? null : g;
- n.value = C, o("update:value", C), o("input", C), o("change", C), t.value = Le(C, B);
- return;
- }
- const c = i.value ? na(l) : mn(l), m = i.value ? c : bn(c, r.value);
- let w = null;
- if (m) {
- const _ = (i.value ? null : hn(m)) ?? vn(m);
- w = _ === null ? null : _;
- }
- n.value = w, o("update:value", w), o("input", w), o("change", w), t.value = Le(w, r.value);
- }
- return { attrs: a, emit: o, displayValue: t, isInteiro: i, onUpdateModelValue: d };
- }
-}), $n = { class: "eli-entrada__prefixo" }, yn = { class: "eli-entrada__sufixo" };
-function _n(e, a, o, r, i, f) {
- var t, n, d, l;
- return u(), W(He, Ce({
- "model-value": e.displayValue,
- label: (t = e.opcoes) == null ? void 0 : t.rotulo,
- placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder,
- type: e.isInteiro ? "number" : "text",
- inputmode: e.isInteiro ? "numeric" : "decimal",
- pattern: e.isInteiro ? "[0-9]*" : "[0-9.,]*"
- }, e.attrs, {
- "onUpdate:modelValue": e.onUpdateModelValue,
- onFocus: a[0] || (a[0] = () => e.emit("focus")),
- onBlur: a[1] || (a[1] = () => e.emit("blur"))
- }), Ma({ _: 2 }, [
- (d = e.opcoes) != null && d.prefixo ? {
- name: "prepend-inner",
- fn: te(() => [
- $("span", $n, L(e.opcoes.prefixo), 1)
- ]),
- key: "0"
- } : void 0,
- (l = e.opcoes) != null && l.sufixo ? {
- name: "append-inner",
- fn: te(() => [
- $("span", yn, L(e.opcoes.sufixo), 1)
- ]),
- key: "1"
- } : void 0
- ]), 1040, ["model-value", "label", "placeholder", "type", "inputmode", "pattern", "onUpdate:modelValue"]);
-}
-const ha = /* @__PURE__ */ z(gn, [["render", _n], ["__scopeId", "data-v-77cbf216"]]), En = j({
- name: "EliEntradaDataHora",
- inheritAttrs: !1,
- props: {
- // --- Novo padrão EliEntrada ---
- value: {
- type: String,
- default: void 0
- },
- opcoes: {
- type: Object,
- required: !1,
- default: void 0
- },
- // --- Compatibilidade com componente antigo EliDataHora ---
- 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: {
- // Novo padrão
- "update:value": (e) => !0,
- input: (e) => !0,
- // compat Vue2
- change: (e) => !0,
- // Compat antigo
- "update:modelValue": (e) => !0,
- alterar: (e) => !0,
- foco: () => !0,
- desfoco: () => !0,
- focus: () => !0,
- blur: () => !0
- },
- setup(e, { emit: a, attrs: o }) {
- const r = A(() => e.opcoes ? e.opcoes : {
- rotulo: e.rotulo ?? "Data e hora",
- placeholder: e.placeholder ?? "",
- modo: e.modo ?? "dataHora",
- limpavel: e.limpavel,
- erro: e.erro,
- mensagensErro: e.mensagensErro,
- dica: e.dica,
- dicaPersistente: e.dicaPersistente,
- densidade: e.densidade,
- variante: e.variante,
- min: e.min,
- max: e.max
- }), i = A(
- () => r.value.modo ?? "dataHora"
- ), f = A(() => !!e.desabilitado), t = A(
- () => i.value === "data" ? "date" : "datetime-local"
- );
- function n(s) {
- return i.value === "data" ? Ee(s).format("YYYY-MM-DD") : Ee(s).format("YYYY-MM-DDTHH:mm");
- }
- function d(s) {
- return i.value === "data" ? Ee(`${s}T00:00`).format() : Ee(s).format();
- }
- const l = A(() => e.value !== void 0 ? e.value ?? null : e.modelValue), c = A({
- get: () => l.value ? n(l.value) : "",
- set: (s) => {
- const E = s && s.length > 0 ? s : null;
- if (!E) {
- a("update:value", null), a("input", null), a("change", null), a("update:modelValue", null), a("alterar", null);
- return;
- }
- const g = d(E);
- a("update:value", g), a("input", g), a("change", g), a("update:modelValue", g), a("alterar", g);
- }
- }), m = A(() => {
- const s = r.value.min;
- if (s)
- return n(s);
- }), w = A(() => {
- const s = r.value.max;
- if (s)
- return n(s);
- });
- function B() {
- a("foco"), a("focus");
- }
- function _() {
- a("desfoco"), a("blur");
- }
- return {
- attrs: o,
- valor: c,
- tipoInput: t,
- minLocal: m,
- maxLocal: w,
- opcoesEfetivas: r,
- desabilitadoEfetivo: f,
- emitCompatFocus: B,
- emitCompatBlur: _
- };
- }
-}), Cn = { class: "eli-data-hora" };
-function Sn(e, a, o, r, i, f) {
- return u(), y("div", Cn, [
- q(He, Ce({
- modelValue: e.valor,
- "onUpdate:modelValue": a[0] || (a[0] = (t) => e.valor = t),
- type: e.tipoInput,
- label: e.opcoesEfetivas.rotulo,
- placeholder: e.opcoesEfetivas.placeholder,
- disabled: e.desabilitadoEfetivo,
- clearable: !!e.opcoesEfetivas.limpavel,
- error: !!e.opcoesEfetivas.erro,
- "error-messages": e.opcoesEfetivas.mensagensErro,
- hint: e.opcoesEfetivas.dica,
- "persistent-hint": !!e.opcoesEfetivas.dicaPersistente,
- density: e.opcoesEfetivas.densidade ?? "comfortable",
- variant: e.opcoesEfetivas.variante ?? "outlined",
- min: e.minLocal,
- max: e.maxLocal
- }, e.attrs, {
- onFocus: e.emitCompatFocus,
- onBlur: e.emitCompatBlur
- }), null, 16, ["modelValue", "type", "label", "placeholder", "disabled", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant", "min", "max", "onFocus", "onBlur"])
+ class: Me(["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: (s) => e.irParaPagina(a.pagina)
+ }, J(a.label), 11, Ib))
+ ], 64))), 128)),
+ p("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, wb)
+ ])) : K("", !0)
]);
}
-const ga = /* @__PURE__ */ z(En, [["render", Sn], ["__scopeId", "data-v-1bfd1be8"]]), An = j({
- name: "EliEntradaParagrafo",
- components: { VTextarea: Va },
- 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: a, emit: o }) {
- const r = A({
- get: () => e.value,
- set: (i) => {
- o("update:value", i), o("input", i), o("change", i);
- }
- });
- return { attrs: a, emit: o, localValue: r, opcoes: e.opcoes };
- }
-});
-function kn(e, a, o, r, i, f) {
- var t, n, d, l, c, m, w, B, _, s, E, g;
- return u(), W(qa, Ce({
- modelValue: e.localValue,
- "onUpdate:modelValue": a[0] || (a[0] = (C) => e.localValue = C),
- label: (t = e.opcoes) == null ? void 0 : t.rotulo,
- placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder,
- rows: ((d = e.opcoes) == null ? void 0 : d.linhas) ?? 4,
- counter: (l = e.opcoes) == null ? void 0 : l.limiteCaracteres,
- maxlength: (c = e.opcoes) == null ? void 0 : c.limiteCaracteres,
- clearable: !!((m = e.opcoes) != null && m.limpavel),
- error: !!((w = e.opcoes) != null && w.erro),
- "error-messages": (B = e.opcoes) == null ? void 0 : B.mensagensErro,
- hint: (_ = e.opcoes) == null ? void 0 : _.dica,
- "persistent-hint": !!((s = e.opcoes) != null && s.dicaPersistente),
- density: ((E = e.opcoes) == null ? void 0 : E.densidade) ?? "comfortable",
- variant: ((g = e.opcoes) == null ? void 0 : g.variante) ?? "outlined",
- "auto-grow": ""
- }, e.attrs, {
- onFocus: a[1] || (a[1] = () => e.emit("focus")),
- onBlur: a[2] || (a[2] = () => e.emit("blur"))
- }), null, 16, ["modelValue", "label", "placeholder", "rows", "counter", "maxlength", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant"]);
+const Db = /* @__PURE__ */ ne(gb, [["render", zb]]), Ob = "eli:tabela";
+function Ma(e) {
+ return `${Ob}:${e}:colunas`;
}
-const Dn = /* @__PURE__ */ z(An, [["render", kn]]), Mn = j({
- name: "EliEntradaSelecao",
- components: { VSelect: Ia },
- 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: a, emit: o }) {
- const r = F([]), i = F(!1), f = A({
- get: () => e.value,
- set: (n) => {
- o("update:value", n), o("input", n), o("change", n);
- }
- });
- async function t() {
- i.value = !0;
- try {
- const n = await e.opcoes.itens(), d = Array.isArray(n) ? n : [];
- r.value = [...d];
- } finally {
- i.value = !1;
- }
- }
- return me(
- () => e.opcoes.itens,
- () => {
- t();
- }
- ), sa(() => {
- t();
- }), me(
- r,
- (n) => {
- console.debug("[EliEntradaSelecao] itens:", n);
- },
- { deep: !0 }
- ), { attrs: a, emit: o, localValue: f, opcoes: e.opcoes, itens: r, carregando: i };
- }
-});
-function Bn(e, a, o, r, i, f) {
- var t, n, d, l, c, m, w, B, _;
- return u(), W(La, Ce({
- modelValue: e.localValue,
- "onUpdate:modelValue": a[0] || (a[0] = (s) => e.localValue = s),
- label: (t = e.opcoes) == null ? void 0 : t.rotulo,
- placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder,
- items: e.itens,
- "item-title": "rotulo",
- "item-value": "chave",
- loading: e.carregando,
- disabled: e.carregando,
- "menu-props": { maxHeight: 320 },
- clearable: !!((d = e.opcoes) != null && d.limpavel),
- error: !!((l = e.opcoes) != null && l.erro),
- "error-messages": (c = e.opcoes) == null ? void 0 : c.mensagensErro,
- hint: (m = e.opcoes) == null ? void 0 : m.dica,
- "persistent-hint": !!((w = e.opcoes) != null && w.dicaPersistente),
- density: ((B = e.opcoes) == null ? void 0 : B.densidade) ?? "comfortable",
- variant: ((_ = e.opcoes) == null ? void 0 : _.variante) ?? "outlined"
- }, e.attrs, {
- onFocus: a[1] || (a[1] = () => e.emit("focus")),
- onBlur: a[2] || (a[2] = () => e.emit("blur"))
- }), null, 16, ["modelValue", "label", "placeholder", "items", "loading", "disabled", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant"]);
-}
-const Tn = /* @__PURE__ */ z(Mn, [["render", Bn]]);
-function wn(e) {
- return e === "texto" || e === "numero" || e === "dataHora";
-}
-function Pn(e) {
- var o, r;
- const a = (r = (o = e == null ? void 0 : e.entrada) == null ? void 0 : o[1]) == null ? void 0 : r.rotulo;
- return String(a || ((e == null ? void 0 : e.coluna) ?? "Filtro"));
-}
-const On = j({
- name: "EliTabelaModalFiltroAvancado",
- props: {
- aberto: { type: Boolean, required: !0 },
- filtrosBase: {
- type: Array,
- required: !0
- },
- modelo: {
- type: Array,
- required: !0
- }
- },
- emits: {
- fechar: () => !0,
- limpar: () => !0,
- salvar: (e) => !0
- },
- setup(e, { emit: a }) {
- const o = F([]), r = F(""), i = A(() => (e.filtrosBase ?? []).map((s) => String(s.coluna))), f = A(() => {
- const s = new Set(o.value.map((E) => String(E.coluna)));
- return (e.filtrosBase ?? []).filter((E) => !s.has(String(E.coluna)));
- });
- function t(s) {
- const E = s == null ? void 0 : s[0];
- return E === "numero" ? ha : E === "dataHora" ? ga : Ye;
- }
- function n(s) {
- return (s == null ? void 0 : s[1]) ?? { rotulo: "" };
- }
- function d(s) {
- return (s == null ? void 0 : s[0]) === "numero" ? null : "";
- }
- function l() {
- var g;
- const s = e.filtrosBase ?? [], E = Array.isArray(e.modelo) ? e.modelo : [];
- o.value = E.map((C) => {
- const Z = s.find((H) => String(H.coluna) === String(C.coluna)) ?? s[0], le = (Z == null ? void 0 : Z.entrada) ?? C.entrada, Y = (Z == null ? void 0 : Z.coluna) ?? C.coluna, X = String((Z == null ? void 0 : Z.operador) ?? "="), ie = C.valor ?? d(le);
- return {
- coluna: Y,
- operador: X,
- entrada: le,
- valor: ie
- };
- });
- for (const C of o.value)
- i.value.includes(String(C.coluna)) && (C.operador = String(((g = s.find((Z) => String(Z.coluna) === String(C.coluna))) == null ? void 0 : g.operador) ?? "="), C.entrada && !wn(C.entrada[0]) && (C.entrada = ["texto", { rotulo: "Valor" }]));
- }
- me(
- () => [e.aberto, e.filtrosBase, e.modelo],
- () => {
- e.aberto && l();
- },
- { deep: !0, immediate: !0 }
- );
- function c() {
- if (!r.value) return;
- const s = (e.filtrosBase ?? []).find((E) => String(E.coluna) === String(r.value));
- s && (o.value.some((E) => String(E.coluna) === String(s.coluna)) || (o.value.push({
- coluna: s.coluna,
- entrada: s.entrada,
- operador: String(s.operador ?? "="),
- valor: d(s.entrada)
- }), r.value = ""));
- }
- function m(s) {
- o.value.splice(s, 1);
- }
- function w() {
- a("fechar");
- }
- function B() {
- a("limpar");
- }
- function _() {
- a(
- "salvar",
- o.value.map((s) => ({
- coluna: s.coluna,
- valor: s.valor
- }))
- );
- }
- return {
- linhas: o,
- opcoesParaAdicionar: f,
- colunaParaAdicionar: r,
- componenteEntrada: t,
- opcoesEntrada: n,
- adicionar: c,
- remover: m,
- // exibimos operador fixo só como texto
- emitFechar: w,
- emitSalvar: _,
- emitLimpar: B,
- rotuloDoFiltro: Pn
- };
- }
-}), Fn = {
- class: "eli-tabela-modal-filtro__modal",
- role: "dialog",
- "aria-modal": "true",
- "aria-label": "Filtro avançado"
-}, Vn = { class: "eli-tabela-modal-filtro__header" }, In = { class: "eli-tabela-modal-filtro__conteudo" }, Nn = {
- key: 0,
- class: "eli-tabela-modal-filtro__vazio"
-}, qn = {
- key: 1,
- class: "eli-tabela-modal-filtro__lista"
-}, Ln = { class: "eli-tabela-modal-filtro__entrada" }, jn = ["onClick"], zn = { class: "eli-tabela-modal-filtro__acoes" }, Hn = ["disabled"], Un = ["value"], Yn = ["disabled"], Rn = { class: "eli-tabela-modal-filtro__footer" };
-function Jn(e, a, o, r, i, f) {
- return e.aberto ? (u(), y("div", {
- key: 0,
- class: "eli-tabela-modal-filtro__overlay",
- role: "presentation",
- onClick: a[6] || (a[6] = ue((...t) => e.emitFechar && e.emitFechar(...t), ["self"]))
- }, [
- $("div", Fn, [
- $("header", Vn, [
- a[7] || (a[7] = $("h3", { class: "eli-tabela-modal-filtro__titulo" }, "Filtro avançado", -1)),
- $("button", {
- type: "button",
- class: "eli-tabela-modal-filtro__fechar",
- "aria-label": "Fechar",
- onClick: a[0] || (a[0] = (...t) => e.emitFechar && e.emitFechar(...t))
- }, " × ")
- ]),
- $("div", In, [
- e.filtrosBase.length ? (u(), y("div", qn, [
- (u(!0), y(re, null, fe(e.linhas, (t, n) => (u(), y("div", {
- key: String(t.coluna),
- class: "eli-tabela-modal-filtro__linha"
- }, [
- $("div", Ln, [
- (u(), W(Me(e.componenteEntrada(t.entrada)), {
- value: t.valor,
- "onUpdate:value": (d) => t.valor = d,
- opcoes: e.opcoesEntrada(t.entrada),
- density: "compact"
- }, null, 40, ["value", "onUpdate:value", "opcoes"]))
- ]),
- $("button", {
- type: "button",
- class: "eli-tabela-modal-filtro__remover",
- title: "Remover",
- "aria-label": "Remover",
- onClick: (d) => e.remover(n)
- }, " × ", 8, jn)
- ]))), 128))
- ])) : (u(), y("div", Nn, " Nenhum filtro configurado na tabela. ")),
- $("div", zn, [
- ia($("select", {
- "onUpdate:modelValue": a[1] || (a[1] = (t) => e.colunaParaAdicionar = t),
- class: "eli-tabela-modal-filtro__select",
- disabled: !e.opcoesParaAdicionar.length
- }, [
- a[8] || (a[8] = $("option", {
- disabled: "",
- value: ""
- }, "Selecione um filtro…", -1)),
- (u(!0), y(re, null, fe(e.opcoesParaAdicionar, (t) => (u(), y("option", {
- key: String(t.coluna),
- value: String(t.coluna)
- }, L(e.rotuloDoFiltro(t)), 9, Un))), 128))
- ], 8, Hn), [
- [Ba, e.colunaParaAdicionar]
- ]),
- $("button", {
- type: "button",
- class: "eli-tabela-modal-filtro__botao",
- onClick: a[2] || (a[2] = (...t) => e.adicionar && e.adicionar(...t)),
- disabled: !e.colunaParaAdicionar
- }, " Adicionar ", 8, Yn)
- ])
- ]),
- $("footer", Rn, [
- $("button", {
- type: "button",
- class: "eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",
- onClick: a[3] || (a[3] = (...t) => e.emitLimpar && e.emitLimpar(...t))
- }, " Limpar "),
- $("button", {
- type: "button",
- class: "eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",
- onClick: a[4] || (a[4] = (...t) => e.emitFechar && e.emitFechar(...t))
- }, " Cancelar "),
- $("button", {
- type: "button",
- class: "eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",
- onClick: a[5] || (a[5] = (...t) => e.emitSalvar && e.emitSalvar(...t))
- }, " Aplicar ")
- ])
- ])
- ])) : ee("", !0);
-}
-const Wn = /* @__PURE__ */ z(On, [["render", Jn], ["__scopeId", "data-v-ae32fe4c"]]), Zn = "eli:tabela";
-function $a(e) {
- return `${Zn}:${e}:colunas`;
-}
-function ya(e) {
+function Fa(e) {
if (!e || typeof e != "object")
return { visiveis: [], invisiveis: [] };
- const a = e, o = Array.isArray(a.visiveis) ? a.visiveis.filter((i) => typeof i == "string") : [], r = Array.isArray(a.invisiveis) ? a.invisiveis.filter((i) => typeof i == "string") : [];
- return { visiveis: o, invisiveis: r };
+ 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 ra(e) {
+function La(e) {
try {
- const a = window.localStorage.getItem($a(e));
- return a ? ya(JSON.parse(a)) : { visiveis: [], invisiveis: [] };
+ const n = window.localStorage.getItem(Ma(e));
+ return n ? Fa(JSON.parse(n)) : { visiveis: [], invisiveis: [] };
} catch {
return { visiveis: [], invisiveis: [] };
}
}
-function Xn(e, a) {
+function jb(e, n) {
try {
- window.localStorage.setItem($a(e), JSON.stringify(ya(a)));
+ window.localStorage.setItem(
+ Ma(e),
+ JSON.stringify(Fa(n))
+ );
} catch {
}
}
-function Re(e) {
+function Or(e) {
return `eli_tabela:${e}:filtro_avancado`;
}
-function la(e) {
+function Ra(e) {
+ const n = { linhas: [], formula: "" };
try {
- const a = localStorage.getItem(Re(e));
- if (!a) return [];
- const o = JSON.parse(a);
- return Array.isArray(o) ? o : [];
+ 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" ? {
+ linhas: Array.isArray(o.linhas) ? o.linhas : [],
+ formula: typeof o.formula == "string" ? o.formula : ""
+ } : n;
} catch {
- return [];
+ return n;
}
}
-function Gn(e, a) {
+function Eb(e, n) {
try {
- localStorage.setItem(Re(e), JSON.stringify(a ?? []));
+ localStorage.setItem(Or(e), JSON.stringify(n ?? { linhas: [] }));
} catch {
}
}
-function Kn(e) {
+function Ub(e) {
try {
- localStorage.removeItem(Re(e));
+ localStorage.removeItem(Or(e));
} catch {
}
}
-const Qn = j({
+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), 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 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 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(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)
+ b.includes(z) || b.push(z);
+ const _ = /* @__PURE__ */ new Map();
+ for (const z of h)
+ _.has(z.rotulo) || _.set(z.rotulo, z);
+ return b.map((z) => _.get(z)).filter(Boolean);
+ }), u = D(
+ () => s.value.length + (n.value ? 1 : 0) + (l.value ? 1 : 0)
+ );
+ function d() {
+ r.value = !0;
+ }
+ function c() {
+ r.value = !1;
+ }
+ function m(h) {
+ o.value = h, jb(e.tabela.nome, h), r.value = !1, t.value = {};
+ }
+ function f(h) {
+ const g = !!t.value[h];
+ t.value = { ...t.value, [h]: !g };
+ }
+ return {
+ modalColunasAberto: r,
+ configColunas: o,
+ linhasExpandidas: t,
+ rotulosColunas: i,
+ colunasEfetivas: s,
+ colunasInvisiveisEfetivas: a,
+ temColunasInvisiveis: l,
+ totalColunas: u,
+ abrirModalColunas: d,
+ fecharModalColunas: c,
+ salvarModalColunas: m,
+ alternarLinhaExpandida: f
+ };
+}
+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 j = e.tabela.registros_por_consulta;
+ return typeof j == "number" && j > 0 ? Math.floor(j) : 10;
+ }), g = D(() => {
+ const j = h.value;
+ if (!j || j <= 0) return 1;
+ const E = u.value ?? 0;
+ 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((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 {
+ const T = n.value;
+ T.length && (U.filtros = T);
+ }
+ return c.value && (U.coluna_ordem = c.value, U.direcao_ordem = m.value), {
+ ...U,
+ atualizarConsulta: async () => {
+ await z();
+ },
+ // biome-ignore lint/suspicious/noExplicitAny: dynamic list update
+ editarLista: async (T) => (s.value = T, T)
+ };
+ });
+ let B = 0;
+ async function z() {
+ var E, U;
+ 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 }, G = (o.value ?? "").trim();
+ if (G)
+ q.texto_busca = G;
+ else {
+ 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 (j !== B) return;
+ if (ee.cod !== Ba.sucesso) {
+ s.value = [], u.value = 0, l.value = ee.mensagem;
+ return;
+ }
+ const oe = ((E = ee.valor) == null ? void 0 : E.valores) ?? [], ve = ((U = ee.valor) == null ? void 0 : U.quantidade) ?? oe.length;
+ s.value = oe, u.value = Number(ve) || 0;
+ const pe = Math.max(1, Math.ceil((u.value || 0) / N));
+ r.value > pe && (r.value = pe);
+ const ye = e.tabela.acoesLinha ?? [];
+ if (!ye.length) {
+ d.value = [];
+ return;
+ }
+ d.value = oe.map(
+ () => ye.map(
+ (W) => W.exibir === void 0 ? !0 : typeof W.exibir == "boolean" ? W.exibir : !1
+ )
+ );
+ const Ze = await Promise.all(
+ oe.map(
+ (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(W));
+ } catch {
+ return !1;
+ }
+ })
+ )
+ )
+ );
+ j === B && (d.value = Ze);
+ } catch (N) {
+ 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 {
+ j === B && (a.value = !1);
+ }
+ }
+ function M(j) {
+ if (j) {
+ if (c.value === j) {
+ m.value = m.value === "asc" ? "desc" : "asc", z();
+ return;
+ }
+ c.value = j, m.value = "asc", r.value !== 1 ? r.value = 1 : z();
+ }
+ }
+ function he(j) {
+ o.value !== j && (o.value = j, r.value !== 1 ? r.value = 1 : z());
+ }
+ function De(j) {
+ const E = Math.min(Math.max(1, j), g.value);
+ E !== r.value && (r.value = E);
+ }
+ return ze(r, (j, E) => {
+ j !== E && z();
+ }), ze(s, () => {
+ t.value = {};
+ }), ze(
+ () => e.tabela.mostrarCaixaDeBusca,
+ (j) => {
+ !j && o.value && (o.value = "", r.value !== 1 ? r.value = 1 : z());
+ }
+ ), ze(
+ () => e.tabela.registros_por_consulta,
+ () => {
+ r.value !== 1 ? r.value = 1 : z();
+ }
+ ), {
+ isDev: !1,
+ tabela: f,
+ carregando: a,
+ erro: l,
+ linhas: s,
+ linhasPaginadas: x,
+ quantidade: u,
+ quantidadeFiltrada: O,
+ acoesVisiveis: d,
+ colunaOrdenacao: c,
+ direcaoOrdenacao: m,
+ registrosPorConsulta: h,
+ totalPaginas: g,
+ temAcoes: w,
+ exibirBusca: C,
+ acoesSuperiores: P,
+ acoesInferiores: Z,
+ temAcoesSuperiores: b,
+ temAcoesInferiores: _,
+ parametrosConsultaAtuais: S,
+ carregar: z,
+ alternarOrdenacao: M,
+ atualizarBusca: he,
+ irParaPagina: De
+ };
+}
+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 _ = O.find((B) => String(B.chave) === String(b.chave));
+ if (!_) return 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: 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(
+ ({ condicao: b }, _) => ({
+ ...b,
+ id: `{c${_ + 1}}`
+ })
+ ), Z = P.map((b) => b.id).join(" E ");
+ return [{ condicoes: P, formula: Z }];
+ });
+ function d() {
+ l.value = !0;
+ }
+ function c() {
+ l.value = !1;
+ }
+ function m() {
+ i.value = [], a.value = "", Ub(e.tabela.nome), l.value = !1, r.value = "", n.value !== 1 ? n.value = 1 : o();
+ }
+ 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();
+ }
+ 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 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);
+ }
+ if ((C === "selecao" || C === "selecaoMultipla") && typeof (P == null ? void 0 : P.itens) == "function")
+ try {
+ const Z = P.itens();
+ if (Array.isArray(Z)) {
+ const b = (_) => {
+ const S = Z.find(
+ (B) => String(B.chave) === String(_)
+ );
+ return S ? S.rotulo : _;
+ };
+ return Array.isArray(w) ? w.map((_) => b(String(_))).join(", ") : b(String(w));
+ }
+ } catch {
+ }
+ return Array.isArray(w) ? w.map(String).join(", ") : String(w);
+ }
+ const x = D(() => {
+ const O = e.tabela.filtroAvancado ?? [], w = (i.value ?? []).filter((P) => P && P.chave !== void 0), C = [];
+ for (const P of w) {
+ 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, S = g(Z.entrada, b.valor);
+ C.push(`${Z.rotulo} ${_} "${S}"`);
+ }
+ }
+ }
+ return { quantidade: C.length, rotulos: C };
+ });
+ return {
+ filtrosUi: i,
+ filtrosFormula: a,
+ modalFiltroAberto: l,
+ exibirFiltroAvancado: s,
+ filtrosAvancadosAtivos: u,
+ filtrosAtivosResumo: x,
+ abrirModalFiltro: d,
+ fecharModalFiltro: c,
+ limparFiltrosAvancados: m,
+ salvarFiltrosAvancados: f
+ };
+}
+function Nb(e, n) {
+ const r = L(null), o = L(null), t = L({ top: 0, left: 0 });
+ function i(d) {
+ 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 = {
+ top: Math.max(m, Math.round(g)),
+ left: Math.max(m, Math.round(x))
+ };
+ }
+ function a(d) {
+ var m, f;
+ if (r.value === null) return;
+ const c = d.target;
+ (f = (m = o.value) == null ? void 0 : m.menuEl) != null && f.contains(c) || (r.value = null);
+ }
+ function l(d) {
+ const c = e.tabela.acoesLinha ?? [], m = n.value[d] ?? [];
+ return c.map((f, h) => {
+ const g = f.exibir === void 0 ? !0 : typeof f.exibir == "boolean" ? f.exibir : !1;
+ return { acao: f, indice: h, visivel: m[h] ?? g };
+ }).filter((f) => f.visivel);
+ }
+ function s(d) {
+ return l(d).length > 0;
+ }
+ function u(d, c) {
+ if (!s(d)) return;
+ if (r.value === d) {
+ r.value = null;
+ return;
+ }
+ r.value = d;
+ const m = (c == null ? void 0 : c.currentTarget) ?? null;
+ m && (i(m), kr(() => {
+ r.value !== null && i(m);
+ }));
+ }
+ return rt(() => document.addEventListener("click", a)), St(() => document.removeEventListener("click", a)), { menuAberto: r, menuPopup: o, menuPopupPos: t, possuiAcoes: s, toggleMenu: u, acoesDisponiveisPorLinha: l };
+}
+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;
+ }
+ function a(c) {
+ const m = i(c);
+ return t.value ? e.selecionados.some((f) => i(f) === m) : e.selecionados.includes(c);
+ }
+ function l(c) {
+ const m = [...e.selecionados], f = i(c);
+ let h = -1;
+ t.value ? h = m.findIndex((g) => i(g) === f) : h = m.indexOf(c), h === -1 ? m.push(c) : m.splice(h, 1), n("update:selecionados", m);
+ }
+ const s = D(() => r.value.length === 0 ? !1 : r.value.every((c) => a(c))), u = D(() => r.value.length === 0 ? !1 : r.value.some((c) => a(c)) && !s.value);
+ function d(c) {
+ const m = c ?? !s.value;
+ let f = [...e.selecionados];
+ if (m)
+ for (const h of r.value)
+ a(h) || f.push(h);
+ else {
+ const h = r.value.map(i);
+ t.value ? f = f.filter((g) => !h.includes(i(g))) : f = f.filter((g) => !h.includes(g));
+ }
+ n("update:selecionados", f);
+ }
+ return {
+ mostrarSelecao: o,
+ isSelecionado: a,
+ alternarSelecao: l,
+ todosSelecionados: s,
+ algunsSelecionados: u,
+ alternarSelecaoTodos: d
+ };
+}
+function Cb(e, n) {
+ const r = L(1), o = L("");
+ let t = async () => {
+ };
+ const a = Ab(e, r, o, () => t()), l = L(!1), s = xb(e, l), u = Tb(
+ e,
+ a.filtrosAvancadosAtivos,
+ r,
+ o,
+ s.linhasExpandidas
+ );
+ t = u.carregar, l.value = u.temAcoes.value, ze(u.temAcoes, (m) => {
+ l.value = m;
+ });
+ 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 = 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();
+ }
+ ), rt(() => void u.carregar()), {
+ ...u,
+ ...a,
+ ...d,
+ ...s,
+ menuAberto: c.menuAberto,
+ menuPopup: c.menuPopup,
+ menuPopupPos: c.menuPopupPos,
+ possuiAcoes: c.possuiAcoes,
+ toggleMenu: c.toggleMenu,
+ acoesDisponiveisPorLinha: c.acoesDisponiveisPorLinha,
+ paginaAtual: r,
+ valorBusca: o
+ };
+}
+const Zb = te({
name: "EliTabela",
inheritAttrs: !1,
components: {
- EliTabelaCabecalho: kt,
- EliTabelaEstados: Ot,
- EliTabelaDebug: Nt,
- EliTabelaHead: Wt,
- EliTabelaBody: qo,
- EliTabelaMenuAcoes: Yo,
- EliTabelaPaginacao: Qo,
- EliTabelaModalColunas: fn,
- EliTabelaModalFiltroAvancado: Wn
+ EliTabelaCabecalho: Wg,
+ EliTabelaEstados: eh,
+ EliTabelaHead: mh,
+ EliTabelaBody: Ug,
+ EliTabelaMenuAcoes: $h,
+ EliTabelaPaginacao: Db,
+ EliTabelaModalColunas: Lh,
+ EliTabelaModalFiltroAvancado: pb
},
props: {
/** Configuração principal da tabela (colunas, consulta e ações) */
tabela: {
+ // biome-ignore lint/suspicious/noExplicitAny: dynamic table
type: Object,
required: !0
+ },
+ /** Array de itens selecionados (v-model:selecionados) */
+ selecionados: {
+ type: Array,
+ default: () => []
+ },
+ /** Ocultar painel de debug lateral (EliTabelaDebug) */
+ esconderDebug: {
+ type: Boolean,
+ default: !1
}
},
- setup(e) {
- const o = F(!1), r = F(null), i = F([]), f = F(0), t = F([]), n = F(null), d = F(null), l = F({ top: 0, left: 0 }), c = F(""), m = F(1), w = F(null), B = F("asc"), _ = F(!1), s = F(la(e.tabela.nome));
- function E() {
- _.value = !0;
- }
- function g() {
- _.value = !1;
- }
- function C() {
- s.value = [], Kn(e.tabela.nome), _.value = !1, m.value !== 1 && (m.value = 1);
- }
- function Z(b) {
- s.value = b ?? [], Gn(e.tabela.nome, b ?? []), _.value = !1, m.value !== 1 && (m.value = 1);
- }
- const le = A(() => {
- const b = e.tabela.filtroAvancado ?? [];
- return (s.value ?? []).filter((k) => k && k.coluna !== void 0).map((k) => {
- const P = b.find((V) => String(V.coluna) === String(k.coluna));
- return P ? {
- coluna: String(P.coluna),
- operador: P.operador,
- valor: k.valor
- } : null;
- }).filter(Boolean);
- }), Y = A(() => e.tabela), X = A(() => !!e.tabela.mostrarCaixaDeBusca), ie = A(() => e.tabela.acoesTabela ?? []), H = A(() => ie.value.length > 0), be = F(!1), I = F(
- ra(e.tabela.nome)
- ), O = F({}), Se = A(() => e.tabela.colunas.map((b) => b.rotulo)), Pe = A(() => {
- var ce, de;
- const b = e.tabela.colunas, P = (((ce = I.value.visiveis) == null ? void 0 : ce.length) ?? 0) > 0 || (((de = I.value.invisiveis) == null ? void 0 : de.length) ?? 0) > 0 ? I.value.invisiveis ?? [] : b.filter((U) => U.visivel === !1).map((U) => U.rotulo), V = new Set(P), ae = b.filter((U) => V.has(U.rotulo)), ne = P, ve = /* @__PURE__ */ new Map();
- for (const U of ae)
- ve.has(U.rotulo) || ve.set(U.rotulo, U);
- const se = [];
- for (const U of ne) {
- const he = ve.get(U);
- he && se.push(he);
- }
- for (const U of ae)
- se.includes(U) || se.push(U);
- return se;
- }), D = A(() => Pe.value.length > 0), h = A(() => {
- var U, he;
- const b = e.tabela.colunas, k = Se.value, P = (((U = I.value.visiveis) == null ? void 0 : U.length) ?? 0) > 0 || (((he = I.value.invisiveis) == null ? void 0 : he.length) ?? 0) > 0, V = P ? I.value.invisiveis ?? [] : e.tabela.colunas.filter((J) => J.visivel === !1).map((J) => J.rotulo), ae = new Set(V), ne = k.filter((J) => !ae.has(J)), ve = new Set(ne), se = P ? I.value.visiveis ?? [] : [], ce = [];
- for (const J of se)
- ve.has(J) && ce.push(J);
- for (const J of ne)
- ce.includes(J) || ce.push(J);
- const de = /* @__PURE__ */ new Map();
- for (const J of b)
- de.has(J.rotulo) || de.set(J.rotulo, J);
- return ce.map((J) => de.get(J)).filter(Boolean);
- });
- function p() {
- be.value = !0;
- }
- function S() {
- be.value = !1;
- }
- function v(b) {
- I.value = b, Xn(e.tabela.nome, b), be.value = !1, O.value = {};
- }
- function T(b) {
- const k = !!O.value[b];
- O.value = {
- ...O.value,
- [b]: !k
- };
- }
- const M = A(() => {
- const b = e.tabela.registros_por_consulta;
- return typeof b == "number" && b > 0 ? Math.floor(b) : 10;
- });
- function N(b) {
- const k = (c.value ?? "").trim().toLowerCase();
- return k ? b.filter((P) => JSON.stringify(P).toLowerCase().includes(k)) : b;
- }
- function R(b, k, P) {
- switch (b) {
- case "=":
- return k == P;
- case "!=":
- return k != P;
- case ">":
- return Number(k) > Number(P);
- case ">=":
- return Number(k) >= Number(P);
- case "<":
- return Number(k) < Number(P);
- case "<=":
- return Number(k) <= Number(P);
- case "like": {
- const V = String(k ?? "").toLowerCase(), ae = String(P ?? "").toLowerCase();
- return V.includes(ae);
- }
- case "in":
- return (Array.isArray(P) ? P : String(P ?? "").split(",").map((ae) => ae.trim()).filter(Boolean)).includes(String(k));
- case "isNull":
- return k == null || k === "";
- default:
- return !0;
- }
- }
- function G(b) {
- const k = le.value;
- return k.length ? b.filter((P) => k.every((V) => {
- const ae = P == null ? void 0 : P[V.coluna];
- return R(String(V.operador), ae, V.valor);
- })) : b;
- }
- const x = A(() => {
- const b = i.value ?? [];
- return G(N(b));
- }), oe = A(() => x.value.length), ge = A(() => {
- const b = M.value;
- if (!b || b <= 0) return 1;
- const k = oe.value;
- return k ? Math.max(1, Math.ceil(k / b)) : 1;
- }), $e = A(() => {
- const b = Math.max(1, M.value), k = (m.value - 1) * b;
- return x.value.slice(k, k + b);
- }), Ae = A(() => (e.tabela.acoesLinha ?? []).length > 0), ye = A(() => (e.tabela.filtroAvancado ?? []).length > 0);
- let K = 0;
- function pe(b) {
- var se, ce, de, U, he, J;
- const k = b.getBoundingClientRect(), P = 8, V = ((de = (ce = (se = d.value) == null ? void 0 : se.menuEl) == null ? void 0 : ce.value) == null ? void 0 : de.offsetHeight) ?? 0, ae = ((J = (he = (U = d.value) == null ? void 0 : U.menuEl) == null ? void 0 : he.value) == null ? void 0 : J.offsetWidth) ?? 180;
- let ne = k.bottom + P;
- const ve = k.right - ae;
- V && ne + V > window.innerHeight - P && (ne = k.top - P - V), l.value = {
- top: Math.max(P, Math.round(ne)),
- left: Math.max(P, Math.round(ve))
- };
- }
- function _e(b) {
- var P, V;
- if (n.value === null) return;
- const k = b.target;
- (V = (P = d.value) == null ? void 0 : P.menuEl) != null && V.value && d.value.menuEl.value.contains(k) || (n.value = null);
- }
- function Be(b) {
- if (b) {
- if (w.value === b) {
- B.value = B.value === "asc" ? "desc" : "asc", ke();
- return;
- }
- w.value = b, B.value = "asc", m.value !== 1 ? m.value = 1 : ke();
- }
- }
- function _a(b) {
- c.value !== b && (c.value = b, m.value !== 1 ? m.value = 1 : ke());
- }
- function Ea(b) {
- const k = Math.min(Math.max(1, b), ge.value);
- k !== m.value && (m.value = k);
- }
- function Je(b) {
- const k = e.tabela.acoesLinha ?? [], P = t.value[b] ?? [];
- return k.map((V, ae) => {
- const ne = V.exibir === void 0 ? !0 : typeof V.exibir == "boolean" ? V.exibir : !1;
- return {
- acao: V,
- indice: ae,
- visivel: P[ae] ?? ne
- };
- }).filter((V) => V.visivel);
- }
- function We(b) {
- return Je(b).length > 0;
- }
- function Ca(b, k) {
- if (!We(b)) return;
- if (n.value === b) {
- n.value = null;
- return;
- }
- n.value = b;
- const P = (k == null ? void 0 : k.currentTarget) ?? null;
- P && (pe(P), requestAnimationFrame(() => pe(P)));
- }
- async function ke() {
- var ae;
- const b = ++K;
- o.value = !0, r.value = null, t.value = [], n.value = null, O.value = {};
- const k = Math.max(1, M.value), V = {
- offSet: 0,
- limit: 999999
- };
- w.value && (V.coluna_ordem = w.value, V.direcao_ordem = B.value);
- try {
- const ne = e.tabela, ve = await ne.consulta(V);
- if (b !== K) return;
- if (ve.cod !== va.sucesso) {
- i.value = [], f.value = 0, r.value = ve.mensagem;
- return;
- }
- const se = ((ae = ve.valor) == null ? void 0 : ae.valores) ?? [], ce = se.length;
- i.value = se, f.value = ce;
- const de = Math.max(1, Math.ceil((oe.value || 0) / k));
- if (m.value > de) {
- m.value = de;
- return;
- }
- const U = ne.acoesLinha ?? [];
- if (!U.length) {
- t.value = [];
- return;
- }
- const he = se.map(
- () => U.map((Oe) => Oe.exibir === void 0 ? !0 : typeof Oe.exibir == "boolean" ? Oe.exibir : !1)
- );
- t.value = he;
- const J = await Promise.all(
- se.map(
- async (Oe) => Promise.all(
- U.map(async (Ve) => {
- if (Ve.exibir === void 0) return !0;
- if (typeof Ve.exibir == "boolean") return Ve.exibir;
- try {
- const Sa = Ve.exibir(Oe);
- return !!await Promise.resolve(Sa);
- } catch {
- return !1;
- }
- })
- )
- )
- );
- b === K && (t.value = J);
- } catch (ne) {
- if (b !== K) return;
- i.value = [], f.value = 0, r.value = ne instanceof Error ? ne.message : "Erro ao carregar dados.";
- } finally {
- b === K && (o.value = !1);
- }
- }
- return sa(() => {
- document.addEventListener("click", _e), ke();
- }), Ta(() => {
- document.removeEventListener("click", _e);
- }), me(
- () => e.tabela.mostrarCaixaDeBusca,
- (b) => {
- !b && c.value && (c.value = "", m.value !== 1 ? m.value = 1 : ke());
- }
- ), me(m, (b, k) => {
- }), me(
- () => e.tabela,
- () => {
- n.value = null, w.value = null, B.value = "asc", c.value = "", be.value = !1, _.value = !1, I.value = ra(e.tabela.nome), s.value = la(e.tabela.nome), O.value = {}, m.value !== 1 ? m.value = 1 : ke();
- }
- ), me(
- () => e.tabela.registros_por_consulta,
- () => {
- m.value !== 1 ? m.value = 1 : ke();
- }
- ), me(i, () => {
- n.value = null, O.value = {};
- }), {
- // state
- isDev: !1,
- tabela: Y,
- carregando: o,
- erro: r,
- linhas: i,
- linhasPaginadas: $e,
- quantidadeFiltrada: oe,
- quantidade: f,
- menuAberto: n,
- valorBusca: c,
- paginaAtual: m,
- colunaOrdenacao: w,
- direcaoOrdenacao: B,
- totalPaginas: ge,
- // computed
- exibirBusca: X,
- exibirFiltroAvancado: ye,
- acoesCabecalho: ie,
- temAcoesCabecalho: H,
- temAcoes: Ae,
- colunasEfetivas: h,
- rotulosColunas: Se,
- modalColunasAberto: be,
- configColunas: I,
- temColunasInvisiveis: D,
- colunasInvisiveisEfetivas: Pe,
- linhasExpandidas: O,
- abrirModalColunas: p,
- abrirModalFiltro: E,
- fecharModalColunas: S,
- salvarModalColunas: v,
- modalFiltroAberto: _,
- filtrosUi: s,
- salvarFiltrosAvancados: Z,
- limparFiltrosAvancados: C,
- fecharModalFiltro: g,
- alternarLinhaExpandida: T,
- // actions
- alternarOrdenacao: Be,
- atualizarBusca: _a,
- irParaPagina: Ea,
- acoesDisponiveisPorLinha: Je,
- possuiAcoes: We,
- toggleMenu: Ca,
- // popup
- menuPopup: d,
- menuPopupPos: l
- };
+ emits: ["update:selecionados"],
+ setup(e, { emit: n }) {
+ return Cb(e, n);
}
-}), xn = { class: "eli-tabela" }, er = { class: "eli-tabela__table" };
-function ar(e, a, o, r, i, f) {
- const t = Q("EliTabelaDebug"), n = Q("EliTabelaEstados"), d = Q("EliTabelaCabecalho"), l = Q("EliTabelaModalColunas"), c = Q("EliTabelaModalFiltroAvancado"), m = Q("EliTabelaHead"), w = Q("EliTabelaBody"), B = Q("EliTabelaMenuAcoes"), _ = Q("EliTabelaPaginacao");
- return u(), y("div", xn, [
- q(t, {
- isDev: e.isDev,
- menuAberto: e.menuAberto,
- menuPopupPos: e.menuPopupPos
- }, null, 8, ["isDev", "menuAberto", "menuPopupPos"]),
- e.carregando || e.erro || !e.linhas.length ? (u(), W(n, {
+}), 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", Mb, [
+ e.exibirBusca || e.temAcoesSuperiores ? ($(), ie(a, {
key: 0,
- carregando: e.carregando,
- erro: e.erro,
- mensagemVazio: e.tabela.mensagemVazio
- }, null, 8, ["carregando", "erro", "mensagemVazio"])) : (u(), y(re, { key: 1 }, [
- e.exibirBusca || e.temAcoesCabecalho ? (u(), W(d, {
- key: 0,
- exibirBusca: e.exibirBusca,
- exibirBotaoFiltroAvancado: e.exibirFiltroAvancado,
- valorBusca: e.valorBusca,
- acoesCabecalho: e.acoesCabecalho,
- onBuscar: e.atualizarBusca,
- onColunas: e.abrirModalColunas,
- onFiltroAvancado: e.abrirModalFiltro
- }, null, 8, ["exibirBusca", "exibirBotaoFiltroAvancado", "valorBusca", "acoesCabecalho", "onBuscar", "onColunas", "onFiltroAvancado"])) : ee("", !0),
- q(l, {
- 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"]),
- q(c, {
- aberto: e.modalFiltroAberto,
- filtrosBase: e.tabela.filtroAvancado ?? [],
- modelo: e.filtrosUi,
- onFechar: e.fecharModalFiltro,
- onLimpar: e.limparFiltrosAvancados,
- onSalvar: e.salvarFiltrosAvancados
- }, null, 8, ["aberto", "filtrosBase", "modelo", "onFechar", "onLimpar", "onSalvar"]),
- $("table", er, [
- q(m, {
+ 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"])) : K("", !0),
+ F(l, {
+ 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"]),
+ F(s, {
+ 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"]),
+ p("div", Fb, [
+ p("table", Lb, [
+ F(u, {
colunas: e.colunasEfetivas,
temAcoes: e.temAcoes,
temColunasInvisiveis: e.temColunasInvisiveis,
colunaOrdenacao: e.colunaOrdenacao,
direcaoOrdenacao: e.direcaoOrdenacao,
- onAlternarOrdenacao: e.alternarOrdenacao
- }, null, 8, ["colunas", "temAcoes", "temColunasInvisiveis", "colunaOrdenacao", "direcaoOrdenacao", "onAlternarOrdenacao"]),
- q(w, {
+ 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 ? ($(), k("tbody", Rb, [
+ p("tr", null, [
+ p("td", {
+ colspan: e.totalColunas,
+ class: "eli-tabela__td--estados"
+ }, [
+ F(d, {
+ carregando: e.carregando,
+ erro: e.erro,
+ mensagemVazio: e.tabela.mensagemVazio,
+ class: "eli-tabela__estados-inline"
+ }, null, 8, ["carregando", "erro", "mensagemVazio"])
+ ], 8, Bb)
+ ])
+ ])) : ($(), ie(c, {
+ key: 1,
colunas: e.colunasEfetivas,
colunasInvisiveis: e.colunasInvisiveisEfetivas,
temColunasInvisiveis: e.temColunasInvisiveis,
@@ -3004,44 +4879,11571 @@ function ar(e, a, o, r, i, f) {
menuAberto: e.menuAberto,
possuiAcoes: e.possuiAcoes,
toggleMenu: e.toggleMenu,
- alternarLinhaExpandida: e.alternarLinhaExpandida
- }, null, 8, ["colunas", "colunasInvisiveis", "temColunasInvisiveis", "linhasExpandidas", "linhas", "temAcoes", "menuAberto", "possuiAcoes", "toggleMenu", "alternarLinhaExpandida"])
- ]),
- q(B, {
- 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: a[0] || (a[0] = ({ acao: s, linha: E }) => {
- e.menuAberto = null, s.acao(E);
- })
- }, null, 8, ["menuAberto", "posicao", "acoes", "linha"]),
- e.totalPaginas > 1 && e.quantidadeFiltrada > 0 ? (u(), W(_, {
- key: 1,
- pagina: e.paginaAtual,
- totalPaginas: e.totalPaginas,
- maximoBotoes: e.tabela.maximo_botoes_paginacao,
- onAlterar: e.irParaPagina
- }, null, 8, ["pagina", "totalPaginas", "maximoBotoes", "onAlterar"])) : ee("", !0)
- ], 64))
+ 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"]))
+ ])
+ ]),
+ F(m, {
+ 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: g }) => {
+ e.menuAberto = null, h.acao(g);
+ })
+ }, null, 8, ["menuAberto", "posicao", "acoes", "linha"]),
+ e.totalPaginas > 1 && e.quantidadeFiltrada > 0 || e.temAcoesInferiores ? ($(), ie(f, {
+ 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"])) : K("", !0)
]);
}
-const tr = /* @__PURE__ */ z(Qn, [["render", ar]]), pr = {
+const Jb = /* @__PURE__ */ ne(Zb, [["render", Vb]]), FS = (e, n) => [e, n];
+function qb(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, i] of Object.entries(e.dataAtributos))
+ r.push(` - \`${t}\` = \`${i}\``);
+ }
+ return e.textoVisivel && r.push(`- **Texto visível:** "${e.textoVisivel}"`), r.join(`
+`);
+}
+function Wb(e) {
+ const n = [
+ "# Relatório de Feedback de Interface",
+ "",
+ `> Gerado em: ${(/* @__PURE__ */ new Date()).toLocaleString("pt-BR")}`,
+ `> Total de itens: ${e.length}`,
+ "",
+ "---",
+ ""
+ ];
+ for (const r of e) {
+ const o = r.elemento;
+ if (n.push(`## 🔹 ${o.seletor}`), n.push(""), n.push(`- **Data:** ${new Date(r.criadoEm).toLocaleString("pt-BR")}`), n.push(`- **Página:** \`${r.urlPagina}\``), n.push(`- **Tag:** \`<${o.tag}>\``), o.id && n.push(`- **ID:** \`${o.id}\``), o.classes.length && n.push(`- **Classes:** \`${o.classes.join(", ")}\``), n.push(`- **Caminho DOM:** \`${o.caminhoDom}\``), Object.keys(o.dataAtributos).length) {
+ n.push("- **data-* atributos:**");
+ for (const [i, a] of Object.entries(o.dataAtributos))
+ n.push(` - \`${i}\` = \`${a}\``);
+ }
+ o.textoVisivel && n.push(`- **Texto visível:** "${o.textoVisivel}"`), n.push(""), n.push("### Comentário"), n.push(""), n.push(r.comentario), n.push(""), n.push("---"), n.push("");
+ }
+ return n.join(`
+`);
+}
+function Gb(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), o = [];
+ let t = e;
+ for (let a = 0; a < 4 && t && t !== document.body; a++) {
+ const l = t.tagName.toLowerCase() + (t.id ? `#${t.id}` : "") + (t.classList.length ? `.${Array.from(t.classList).join(".")}` : "");
+ o.unshift(l), t = t.parentElement;
+ }
+ let i = e.tagName.toLowerCase();
+ return e.id ? i = `#${e.id}` : e.classList.length && (i = `${e.tagName.toLowerCase()}.${Array.from(e.classList).join(".")}`), {
+ seletor: i,
+ id: e.id || null,
+ classes: Array.from(e.classList),
+ tag: e.tagName.toLowerCase(),
+ textoVisivel: r,
+ dataAtributos: n,
+ caminhoDom: o.join(" > ")
+ };
+}
+const fr = "eli-feedback-items";
+function Kb() {
+ return `fb-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 7)}`;
+}
+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(fr);
+ return z ? JSON.parse(z) : [];
+ } catch {
+ return [];
+ }
+ }
+ const l = L(a()), s = D(() => l.value.length);
+ function u() {
+ localStorage.setItem(fr, JSON.stringify(l.value));
+ }
+ let d = null;
+ function c() {
+ d = document.createElement("div"), d.id = "eli-feedback-overlay", Object.assign(d.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(d);
+ }
+ function m() {
+ d && (d.remove(), d = null);
+ }
+ function f(z) {
+ if (!d) return;
+ const M = z.getBoundingClientRect();
+ Object.assign(d.style, {
+ display: "block",
+ top: `${M.top - 2}px`,
+ left: `${M.left - 2}px`,
+ width: `${M.width + 4}px`,
+ height: `${M.height + 4}px`
+ });
+ }
+ function h(z) {
+ const M = z.target;
+ 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", 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 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 = he, e.value = "comentando";
+ }
+ 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", O, !0);
+ }
+ function C() {
+ e.value = "selecionando", w();
+ }
+ function P() {
+ e.value = "selecionando-copiar", w();
+ }
+ function Z() {
+ e.value = "inativo", n.value = null, o.value = null, r.value = "", g(), m();
+ }
+ function b() {
+ if (!n.value || !r.value.trim()) return;
+ const z = {
+ id: Kb(),
+ criadoEm: (/* @__PURE__ */ new Date()).toISOString(),
+ elemento: n.value,
+ comentario: r.value.trim(),
+ urlPagina: window.location.href
+ };
+ l.value.unshift(z), u(), e.value = "inativo", n.value = null, r.value = "", m();
+ }
+ function _() {
+ if (!l.value.length) return;
+ const z = Wb(l.value), M = new Blob([z], { type: "text/markdown;charset=utf-8" }), he = URL.createObjectURL(M);
+ window.open(he, "_blank");
+ }
+ function S() {
+ l.value = [], localStorage.removeItem(fr);
+ }
+ function B(z) {
+ l.value = l.value.filter((M) => M.id !== z), u();
+ }
+ return St(() => {
+ Z();
+ }), {
+ modo: e,
+ elementoSelecionado: n,
+ comentario: r,
+ painelAberto: t,
+ copiouElemento: i,
+ itens: l,
+ totalItens: s,
+ iniciarSelecao: C,
+ iniciarSelecaoParaCopiar: P,
+ cancelarSelecao: Z,
+ salvarFeedback: b,
+ exportarMarkdown: _,
+ limparTodos: S,
+ removerItem: B
+ };
+}
+const Hb = te({
+ name: "EliFeedbackWidget",
+ setup() {
+ const e = L(null), n = L(!1), {
+ modo: r,
+ elementoSelecionado: o,
+ comentario: t,
+ copiouElemento: i,
+ itens: a,
+ totalItens: l,
+ iniciarSelecao: s,
+ iniciarSelecaoParaCopiar: u,
+ cancelarSelecao: d,
+ salvarFeedback: c,
+ exportarMarkdown: m,
+ limparTodos: f
+ } = Xb();
+ function h() {
+ r.value !== "inativo" ? (d(), n.value = !1) : n.value = !n.value;
+ }
+ function g() {
+ n.value = !1, s();
+ }
+ function x() {
+ n.value = !1, u();
+ }
+ function O() {
+ f(), n.value = !1;
+ }
+ return ze(r, async (w) => {
+ var C;
+ w === "comentando" && (await kr(), (C = e.value) == null || C.focus());
+ }), {
+ textareaRef: e,
+ expandido: n,
+ modo: r,
+ elementoSelecionado: o,
+ comentario: t,
+ copiouElemento: i,
+ itens: a,
+ totalItens: l,
+ aoClicarFab: h,
+ aoIniciarFeedback: g,
+ aoIniciarCopia: x,
+ cancelarSelecao: d,
+ salvarFeedback: c,
+ exportarMarkdown: m,
+ confirmarLimpeza: O
+ };
+ }
+}), Yb = {
+ id: "eli-feedback-widget",
+ class: "eli-feedback-fab"
+}, Qb = {
+ key: 0,
+ class: "eli-fb-acoes"
+}, e$ = ["title"], t$ = { key: 0 }, n$ = { key: 1 }, r$ = {
+ key: 2,
+ class: "eli-fb-badge"
+}, i$ = {
+ key: 1,
+ class: "eli-fb-tooltip-selecao"
+}, o$ = { key: 0 }, a$ = { key: 1 }, l$ = {
+ key: 2,
+ class: "eli-fb-painel"
+}, 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",
+ onClick: n[0] || (n[0] = (...a) => e.aoIniciarFeedback && e.aoIniciarFeedback(...a))
+ }, " 🐛 "),
+ p("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))
+ }, 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, e$)) : K("", !0),
+ e.totalItens > 0 ? ($(), k("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))
+ }, " 🗑️ ")) : K("", !0)
+ ])) : K("", !0),
+ p("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 ? ($(), 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", 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", 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", s$, [
+ p("div", c$, [
+ p("div", null, [
+ n[12] || (n[12] = p("strong", null, "Seletor:", -1)),
+ n[13] || (n[13] = ae()),
+ 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, "<" + J(e.elementoSelecionado.tag) + ">", 1)
+ ]),
+ e.elementoSelecionado.id ? ($(), k("div", d$, [
+ n[16] || (n[16] = p("strong", null, "ID:", -1)),
+ n[17] || (n[17] = ae()),
+ p("code", null, J(e.elementoSelecionado.id), 1)
+ ])) : K("", !0),
+ e.elementoSelecionado.classes.length ? ($(), k("div", m$, [
+ n[18] || (n[18] = p("strong", null, "Classes:", -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, J(e.elementoSelecionado.caminhoDom), 1)
+ ]),
+ e.elementoSelecionado.textoVisivel ? ($(), k("div", f$, [
+ n[21] || (n[21] = p("strong", null, "Texto:", -1)),
+ ae(' "' + J(e.elementoSelecionado.textoVisivel) + '" ', 1)
+ ])) : K("", !0)
+ ]),
+ 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), [
+ [Ir, e.comentario]
+ ]),
+ p("div", v$, [
+ p("button", {
+ class: "eli-fb-btn-cancelar",
+ onClick: n[8] || (n[8] = (...a) => e.cancelarSelecao && e.cancelarSelecao(...a))
+ }, " Cancelar "),
+ p("button", {
+ class: "eli-fb-btn-salvar",
+ disabled: !e.comentario.trim(),
+ onClick: n[9] || (n[9] = (...a) => e.salvarFeedback && e.salvarFeedback(...a))
+ }, " Salvar ✓ ", 8, p$)
+ ])
+ ])
+ ])) : K("", !0)
+ ]);
+}
+const h$ = /* @__PURE__ */ ne(Hb, [["render", g$]]), b$ = te({
+ name: "EliOlaMundo",
+ components: {
+ EliBotao: Ia,
+ EliBadge: wr,
+ EliEntradaTexto: Dr
+ },
+ setup() {
+ const e = L(""), n = L(""), r = L(""), o = L(""), t = L("");
+ return {
+ nome: e,
+ email: o,
+ documento: t,
+ telefone: r,
+ cep: n
+ };
+ }
+}), $$ = { class: "grid-example" };
+function _$(e, n, r, o, t, i) {
+ const a = Q("EliBadge"), l = Q("EliEntradaTexto"), s = Q("EliBotao");
+ return $(), ie(Qm, null, {
+ default: de(() => [
+ F(ba, {
+ class: "mx-auto",
+ max_width: "400"
+ }, {
+ default: de(() => [
+ F($a, null, {
+ default: de(() => [
+ F(a, {
+ badge: "Novo",
+ "offset-x": "-15",
+ location: "right center"
+ }, {
+ default: de(() => [...n[5] || (n[5] = [
+ ae(" Olá Mundo! ", -1)
+ ])]),
+ _: 1
+ })
+ ]),
+ _: 1
+ }),
+ F(_a, null, {
+ default: de(() => [
+ n[6] || (n[6] = ae(" Este é um componente de exemplo integrado com Vuetify. ", -1)),
+ p("div", $$, [
+ F(l, {
+ value: e.nome,
+ "onUpdate:value": n[0] || (n[0] = (u) => e.nome = u),
+ opcoes: { rotulo: "Nome", placeholder: "Digite o nome" },
+ density: "compact"
+ }, null, 8, ["value"]),
+ F(l, {
+ value: e.telefone,
+ "onUpdate:value": n[1] || (n[1] = (u) => e.telefone = u),
+ opcoes: { rotulo: "Telefone", formato: "telefone" }
+ }, null, 8, ["value"]),
+ F(l, {
+ value: e.cep,
+ "onUpdate:value": n[2] || (n[2] = (u) => e.cep = u),
+ opcoes: { rotulo: "CEP", placeholder: "00000-000", formato: "cep" }
+ }, null, 8, ["value"]),
+ F(l, {
+ value: e.documento,
+ "onUpdate:value": n[3] || (n[3] = (u) => e.documento = u),
+ opcoes: { rotulo: "CPF / CNPJ", formato: "cpfCnpj" }
+ }, null, 8, ["value"]),
+ F(l, {
+ value: e.email,
+ "onUpdate:value": n[4] || (n[4] = (u) => e.email = u),
+ opcoes: { rotulo: "Email", placeholder: "email@exemplo.com", formato: "email" }
+ }, null, 8, ["value"])
+ ])
+ ]),
+ _: 1
+ }),
+ F(ya, null, {
+ default: de(() => [
+ F(s, {
+ color: "primary",
+ variant: "elevated",
+ block: ""
+ }, {
+ default: de(() => [...n[7] || (n[7] = [
+ ae(" Botão Vuetify ", -1)
+ ])]),
+ _: 1
+ })
+ ]),
+ _: 1
+ })
+ ]),
+ _: 1
+ })
+ ]),
+ _: 1
+ });
+}
+const y$ = /* @__PURE__ */ ne(b$, [["render", _$]]);
+var qo;
+const Va = /* @__PURE__ */ Object.freeze({
+ status: "aborted"
+});
+function v(e, n, r) {
+ function o(l, s) {
+ if (l._zod || Object.defineProperty(l, "_zod", {
+ value: {
+ def: s,
+ constr: a,
+ traits: /* @__PURE__ */ new Set()
+ },
+ enumerable: !1
+ }), l._zod.traits.has(e))
+ return;
+ l._zod.traits.add(e), n(l, s);
+ const u = a.prototype, d = Object.keys(u);
+ for (let c = 0; c < d.length; c++) {
+ const m = d[c];
+ m in l || (l[m] = u[m].bind(l));
+ }
+ }
+ const t = (r == null ? void 0 : r.Parent) ?? Object;
+ class i extends t {
+ }
+ Object.defineProperty(i, "name", { value: e });
+ function a(l) {
+ var s;
+ const u = r != null && r.Parent ? new i() : this;
+ o(u, l), (s = u._zod).deferred ?? (s.deferred = []);
+ for (const d of u._zod.deferred)
+ d();
+ return u;
+ }
+ return Object.defineProperty(a, "init", { value: o }), Object.defineProperty(a, Symbol.hasInstance, {
+ value: (l) => {
+ var s, u;
+ return r != null && r.Parent && l instanceof r.Parent ? !0 : (u = (s = l == null ? void 0 : l._zod) == null ? void 0 : s.traits) == null ? void 0 : u.has(e);
+ }
+ }), Object.defineProperty(a, "name", { value: e }), a;
+}
+const Ja = Symbol("zod_brand");
+class Qe extends Error {
+ constructor() {
+ super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
+ }
+}
+class yn extends Error {
+ constructor(n) {
+ super(`Encountered unidirectional transform during encode: ${n}`), this.name = "ZodEncodeError";
+ }
+}
+(qo = globalThis).__zod_globalConfig ?? (qo.__zod_globalConfig = {});
+const wt = globalThis.__zod_globalConfig;
+function Ie(e) {
+ return e && Object.assign(wt, e), wt;
+}
+function k$(e) {
+ return e;
+}
+function S$(e) {
+ return e;
+}
+function I$(e) {
+}
+function w$(e) {
+ throw new Error("Unexpected value in exhaustive check");
+}
+function z$(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 I(e, n = "|") {
+ return e.map((r) => R(r)).join(n);
+}
+function vn(e, n) {
+ return typeof n == "bigint" ? n.toString() : n;
+}
+function Ut(e) {
+ return {
+ get value() {
+ {
+ const n = e();
+ return Object.defineProperty(this, "value", { value: n }), n;
+ }
+ }
+ };
+}
+function it(e) {
+ return e == null;
+}
+function kn(e) {
+ const n = e.startsWith("^") ? 1 : 0, r = e.endsWith("$") ? e.length - 1 : e.length;
+ return e.slice(n, r);
+}
+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 Wo = /* @__PURE__ */ Symbol("evaluating");
+function Y(e, n, r) {
+ let o;
+ Object.defineProperty(e, n, {
+ get() {
+ if (o !== Wo)
+ return o === void 0 && (o = Wo, o = r()), o;
+ },
+ set(t) {
+ Object.defineProperty(e, n, {
+ value: t
+ // configurable: true,
+ });
+ },
+ configurable: !0
+ });
+}
+function D$(e) {
+ return Object.create(Object.getPrototypeOf(e), Object.getOwnPropertyDescriptors(e));
+}
+function Xe(e, n, r) {
+ Object.defineProperty(e, n, {
+ value: r,
+ writable: !0,
+ enumerable: !0,
+ configurable: !0
+ });
+}
+function Re(...e) {
+ const n = {};
+ for (const r of e) {
+ const o = Object.getOwnPropertyDescriptors(r);
+ Object.assign(n, o);
+ }
+ return Object.defineProperties({}, n);
+}
+function O$(e) {
+ return Re(e._zod.def);
+}
+function j$(e, n) {
+ return n ? n.reduce((r, o) => r == null ? void 0 : r[o], e) : e;
+}
+function E$(e) {
+ const n = Object.keys(e), r = n.map((o) => e[o]);
+ return Promise.all(r).then((o) => {
+ const t = {};
+ for (let i = 0; i < n.length; i++)
+ t[n[i]] = o[i];
+ return t;
+ });
+}
+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 gr(e) {
+ return JSON.stringify(e);
+}
+function Wa(e) {
+ return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
+}
+const Er = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
+};
+function st(e) {
+ return typeof e == "object" && e !== null && !Array.isArray(e);
+}
+const Ga = /* @__PURE__ */ Ut(() => {
+ var e;
+ if (wt.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 et(e) {
+ if (st(e) === !1)
+ return !1;
+ const n = e.constructor;
+ if (n === void 0 || typeof n != "function")
+ return !0;
+ const r = n.prototype;
+ return !(st(r) === !1 || Object.prototype.hasOwnProperty.call(r, "isPrototypeOf") === !1);
+}
+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 x$(e) {
+ let n = 0;
+ for (const r in e)
+ Object.prototype.hasOwnProperty.call(e, r) && n++;
+ return n;
+}
+const T$ = (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}`);
+ }
+}, pn = /* @__PURE__ */ new Set(["string", "number", "symbol"]), Ka = /* @__PURE__ */ new Set([
+ "string",
+ "number",
+ "bigint",
+ "boolean",
+ "symbol",
+ "undefined"
+]);
+function Be(e) {
+ return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
+}
+function Ce(e, n, r) {
+ const o = new e._zod.constr(n ?? e._zod.def);
+ return (!n || r != null && r.parent) && (o._zod.parent = e), o;
+}
+function y(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 A$(e) {
+ let n;
+ return new Proxy({}, {
+ get(r, o, t) {
+ return n ?? (n = e()), Reflect.get(n, o, t);
+ },
+ set(r, o, t, i) {
+ return n ?? (n = e()), Reflect.set(n, o, t, i);
+ },
+ has(r, o) {
+ return n ?? (n = e()), Reflect.has(n, o);
+ },
+ deleteProperty(r, o) {
+ return n ?? (n = e()), Reflect.deleteProperty(n, o);
+ },
+ ownKeys(r) {
+ return n ?? (n = e()), Reflect.ownKeys(n);
+ },
+ getOwnPropertyDescriptor(r, o) {
+ return n ?? (n = e()), Reflect.getOwnPropertyDescriptor(n, o);
+ },
+ defineProperty(r, o, t) {
+ return n ?? (n = e()), Reflect.defineProperty(n, o, t);
+ }
+ });
+}
+function R(e) {
+ return typeof e == "bigint" ? e.toString() + "n" : typeof e == "string" ? `"${e}"` : `${e}`;
+}
+function Xa(e) {
+ return Object.keys(e).filter((n) => e[n]._zod.optin === "optional" && e[n]._zod.optout === "optional");
+}
+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]
+}, Ya = {
+ int64: [/* @__PURE__ */ BigInt("-9223372036854775808"), /* @__PURE__ */ BigInt("9223372036854775807")],
+ uint64: [/* @__PURE__ */ BigInt(0), /* @__PURE__ */ BigInt("18446744073709551615")]
+};
+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");
+ const i = Re(e._zod.def, {
+ get shape() {
+ const a = {};
+ for (const l in n) {
+ if (!(l in r.shape))
+ throw new Error(`Unrecognized key: "${l}"`);
+ n[l] && (a[l] = r.shape[l]);
+ }
+ return Xe(this, "shape", a), a;
+ },
+ checks: []
+ });
+ return Ce(e, i);
+}
+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");
+ const i = Re(e._zod.def, {
+ get shape() {
+ const a = { ...e._zod.def.shape };
+ for (const l in n) {
+ if (!(l in r.shape))
+ throw new Error(`Unrecognized key: "${l}"`);
+ n[l] && delete a[l];
+ }
+ return Xe(this, "shape", a), a;
+ },
+ checks: []
+ });
+ return Ce(e, i);
+}
+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) {
+ const i = e._zod.def.shape;
+ for (const a in n)
+ if (Object.getOwnPropertyDescriptor(i, a) !== void 0)
+ throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
+ }
+ const t = Re(e._zod.def, {
+ get shape() {
+ const i = { ...e._zod.def.shape, ...n };
+ return Xe(this, "shape", i), i;
+ }
+ });
+ return Ce(e, t);
+}
+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() {
+ const o = { ...e._zod.def.shape, ...n };
+ return Xe(this, "shape", o), o;
+ }
+ });
+ return Ce(e, r);
+}
+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.");
+ const r = Re(e._zod.def, {
+ get shape() {
+ const t = { ...e._zod.def.shape, ...n._zod.def.shape };
+ return Xe(this, "shape", t), t;
+ },
+ get catchall() {
+ return n._zod.def.catchall;
+ },
+ checks: n._zod.def.checks ?? []
+ });
+ return Ce(e, 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");
+ const a = Re(n._zod.def, {
+ get shape() {
+ const l = n._zod.def.shape, s = { ...l };
+ if (r)
+ for (const u in r) {
+ if (!(u in l))
+ throw new Error(`Unrecognized key: "${u}"`);
+ r[u] && (s[u] = e ? new e({
+ type: "optional",
+ innerType: l[u]
+ }) : l[u]);
+ }
+ else
+ for (const u in l)
+ s[u] = e ? new e({
+ type: "optional",
+ innerType: l[u]
+ }) : l[u];
+ return Xe(this, "shape", s), s;
+ },
+ checks: []
+ });
+ return Ce(n, a);
+}
+function ol(e, n, r) {
+ const o = Re(n._zod.def, {
+ get shape() {
+ const t = n._zod.def.shape, i = { ...t };
+ if (r)
+ for (const a in r) {
+ if (!(a in i))
+ throw new Error(`Unrecognized key: "${a}"`);
+ r[a] && (i[a] = new e({
+ type: "nonoptional",
+ innerType: t[a]
+ }));
+ }
+ else
+ for (const a in t)
+ i[a] = new e({
+ type: "nonoptional",
+ innerType: t[a]
+ });
+ return Xe(this, "shape", i), i;
+ }
+ });
+ return Ce(n, o);
+}
+function Ye(e, n = 0) {
+ var r;
+ if (e.aborted === !0)
+ return !0;
+ for (let o = n; o < e.issues.length; o++)
+ if (((r = e.issues[o]) == null ? void 0 : r.continue) !== !0)
+ return !0;
+ return !1;
+}
+function al(e, n = 0) {
+ var r;
+ if (e.aborted === !0)
+ return !0;
+ for (let o = n; o < e.issues.length; o++)
+ if (((r = e.issues[o]) == null ? void 0 : r.continue) === !1)
+ return !0;
+ return !1;
+}
+function Ae(e, n) {
+ return n.map((r) => {
+ var o;
+ return (o = r).path ?? (o.path = []), r.path.unshift(e), r;
+ });
+}
+function kt(e) {
+ return typeof e == "string" ? e : e == null ? void 0 : e.message;
+}
+function Ue(e, n, r) {
+ var s, u, d, c, m, f;
+ 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 In(e) {
+ return e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof File ? "file" : "unknown";
+}
+function wn(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 ct(...e) {
+ const [n, r, o] = e;
+ return typeof n == "string" ? {
+ message: n,
+ code: "custom",
+ input: r,
+ inst: o
+ } : { ...n };
+}
+function N$(e) {
+ return Object.entries(e).filter(([n, r]) => Number.isNaN(Number.parseInt(n, 10))).map((n) => n[1]);
+}
+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 ul(e) {
+ let n = "";
+ for (let r = 0; r < e.length; r++)
+ n += String.fromCharCode(e[r]);
+ return btoa(n);
+}
+function P$(e) {
+ const n = e.replace(/-/g, "+").replace(/_/g, "/"), r = "=".repeat((4 - n.length % 4) % 4);
+ return ll(n + r);
+}
+function C$(e) {
+ return ul(e).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");
+}
+function Z$(e) {
+ const n = e.replace(/^0x/, "");
+ if (n.length % 2 !== 0)
+ throw new Error("Invalid hex string length");
+ const r = new Uint8Array(n.length / 2);
+ for (let o = 0; o < n.length; o += 2)
+ r[o / 2] = Number.parseInt(n.slice(o, o + 2), 16);
+ return r;
+}
+function M$(e) {
+ return Array.from(e).map((n) => n.toString(16).padStart(2, "0")).join("");
+}
+class F$ {
+ constructor(...n) {
+ }
+}
+const sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+ __proto__: null,
+ BIGINT_FORMAT_RANGES: Ya,
+ Class: F$,
+ NUMBER_FORMAT_RANGES: Ha,
+ aborted: Ye,
+ allowsEval: Ga,
+ assert: z$,
+ assertEqual: k$,
+ assertIs: I$,
+ assertNever: w$,
+ assertNotEqual: S$,
+ assignProp: Xe,
+ base64ToUint8Array: ll,
+ base64urlToUint8Array: P$,
+ cached: Ut,
+ captureStackTrace: Er,
+ cleanEnum: N$,
+ cleanRegex: kn,
+ clone: Ce,
+ cloneDef: O$,
+ createTransparentProxy: A$,
+ defineLazy: Y,
+ esc: gr,
+ escapeRegex: Be,
+ explicitlyAborted: al,
+ extend: tl,
+ finalizeIssue: Ue,
+ floatSafeRemainder: qa,
+ getElementAtPath: j$,
+ getEnumValues: jr,
+ getLengthableOrigin: wn,
+ getParsedType: T$,
+ getSizableOrigin: In,
+ hexToUint8Array: Z$,
+ isObject: st,
+ isPlainObject: et,
+ issue: ct,
+ joinValues: I,
+ jsonStringifyReplacer: vn,
+ merge: rl,
+ mergeDefs: Re,
+ normalizeParams: y,
+ nullish: it,
+ numKeys: x$,
+ objectClone: D$,
+ omit: el,
+ optionalKeys: Xa,
+ parsedType: V,
+ partial: il,
+ pick: Qa,
+ prefixIssues: Ae,
+ primitiveTypes: Ka,
+ promiseAllObject: E$,
+ propertyKeyTypes: pn,
+ randomString: U$,
+ required: ol,
+ safeExtend: nl,
+ shallowClone: Sn,
+ slugify: Wa,
+ stringifyPrimitive: R,
+ uint8ArrayToBase64: ul,
+ uint8ArrayToBase64url: C$,
+ uint8ArrayToHex: M$,
+ unwrapMessage: kt
+}, 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, vn, 2), Object.defineProperty(e, "toString", {
+ value: () => e.message,
+ enumerable: !1
+ });
+}, 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 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)
+ a.errors.map((l) => o({ issues: l }, [...i, ...a.path]));
+ else if (a.code === "invalid_key")
+ o({ issues: a.issues }, [...i, ...a.path]);
+ else if (a.code === "invalid_element")
+ o({ issues: a.issues }, [...i, ...a.path]);
+ else {
+ const l = [...i, ...a.path];
+ if (l.length === 0)
+ r._errors.push(n(a));
+ else {
+ let s = r, u = 0;
+ for (; u < l.length; ) {
+ const d = l[u];
+ u === l.length - 1 ? (s[d] = s[d] || { _errors: [] }, s[d]._errors.push(n(a))) : s[d] = s[d] || { _errors: [] }, s = s[d], u++;
+ }
+ }
+ }
+ };
+ return o(e), r;
+}
+function dl(e, n = (r) => r.message) {
+ const r = { errors: [] }, o = (t, i = []) => {
+ var a, l;
+ for (const s of t.issues)
+ if (s.code === "invalid_union" && s.errors.length)
+ s.errors.map((u) => o({ issues: u }, [...i, ...s.path]));
+ else if (s.code === "invalid_key")
+ o({ issues: s.issues }, [...i, ...s.path]);
+ else if (s.code === "invalid_element")
+ o({ issues: s.issues }, [...i, ...s.path]);
+ else {
+ const u = [...i, ...s.path];
+ if (u.length === 0) {
+ r.errors.push(n(s));
+ continue;
+ }
+ let d = r, c = 0;
+ for (; c < u.length; ) {
+ const m = u[c], f = c === u.length - 1;
+ typeof m == "string" ? (d.properties ?? (d.properties = {}), (a = d.properties)[m] ?? (a[m] = { errors: [] }), d = d.properties[m]) : (d.items ?? (d.items = []), (l = d.items)[m] ?? (l[m] = { errors: [] }), d = d.items[m]), f && d.errors.push(n(s)), c++;
+ }
+ }
+ };
+ return o(e), r;
+}
+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 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 ${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 Qe();
+ if (a.issues.length) {
+ const l = new ((t == null ? void 0 : t.Err) ?? e)(a.issues.map((s) => Ue(s, i, Ie())));
+ throw Er(l, t == null ? void 0 : t.callee), l;
+ }
+ return a.value;
+}, 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 Er(l, t == null ? void 0 : t.callee), l;
+ }
+ return a.value;
+}, 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 Qe();
+ return i.issues.length ? {
+ success: !1,
+ error: new (e ?? Ur)(i.issues.map((a) => Ue(a, t, Ie())))
+ } : { success: !0, data: i.value };
+}, 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 };
+}, pl = /* @__PURE__ */ Nt(xe), Ar = (e) => (n, r, o) => {
+ const t = o ? { ...o, direction: "backward" } : { direction: "backward" };
+ return xt(e)(n, r, t);
+}, 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);
+}, 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);
+}, 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);
+}, 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 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}$`);
+}, 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 Ml(e) {
+ 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(`^${Pl}T(?:${o})$`);
+}
+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}$`);
+}, 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 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: 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: 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 = []);
+}), Xl = {
+ number: "number",
+ bigint: "bigint",
+ object: "date"
+}, qr = /* @__PURE__ */ v("$ZodCheckLessThan", (e, n) => {
+ fe.init(e, n);
+ 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);
+ }), e._zod.check = (o) => {
+ (n.inclusive ? o.value <= n.value : o.value < n.value) || o.issues.push({
+ origin: r,
+ code: "too_big",
+ maximum: typeof n.value == "object" ? n.value.getTime() : n.value,
+ input: o.value,
+ inclusive: n.inclusive,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), Wr = /* @__PURE__ */ v("$ZodCheckGreaterThan", (e, n) => {
+ fe.init(e, n);
+ 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);
+ }), e._zod.check = (o) => {
+ (n.inclusive ? o.value >= n.value : o.value > n.value) || o.issues.push({
+ origin: r,
+ code: "too_small",
+ minimum: typeof n.value == "object" ? n.value.getTime() : n.value,
+ input: o.value,
+ inclusive: n.inclusive,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), 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) : qa(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
+ });
+ };
+}), 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] = 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 = Bl);
+ }), e._zod.check = (l) => {
+ const s = l.value;
+ if (r) {
+ if (!Number.isInteger(s)) {
+ l.issues.push({
+ expected: o,
+ format: n.format,
+ code: "invalid_type",
+ continue: !1,
+ input: s,
+ inst: e
+ });
+ return;
+ }
+ if (!Number.isSafeInteger(s)) {
+ s > 0 ? l.issues.push({
+ input: s,
+ code: "too_big",
+ maximum: Number.MAX_SAFE_INTEGER,
+ note: "Integers must be within the safe integer range.",
+ inst: e,
+ origin: o,
+ inclusive: !0,
+ continue: !n.abort
+ }) : l.issues.push({
+ input: s,
+ code: "too_small",
+ minimum: Number.MIN_SAFE_INTEGER,
+ note: "Integers must be within the safe integer range.",
+ inst: e,
+ origin: o,
+ inclusive: !0,
+ continue: !n.abort
+ });
+ return;
+ }
+ }
+ s < t && l.issues.push({
+ origin: "number",
+ input: s,
+ code: "too_small",
+ minimum: t,
+ inclusive: !0,
+ inst: e,
+ continue: !n.abort
+ }), s > i && l.issues.push({
+ origin: "number",
+ input: s,
+ code: "too_big",
+ maximum: i,
+ inclusive: !0,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), Ql = /* @__PURE__ */ v("$ZodCheckBigIntFormat", (e, n) => {
+ fe.init(e, n);
+ 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;
+ }), e._zod.check = (t) => {
+ const i = t.value;
+ i < r && t.issues.push({
+ origin: "bigint",
+ input: i,
+ code: "too_small",
+ minimum: r,
+ inclusive: !0,
+ inst: e,
+ continue: !n.abort
+ }), i > o && t.issues.push({
+ origin: "bigint",
+ input: i,
+ code: "too_big",
+ maximum: o,
+ inclusive: !0,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), 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 !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: In(t),
+ code: "too_big",
+ maximum: n.maximum,
+ inclusive: !0,
+ input: t,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), 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 !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: In(t),
+ code: "too_small",
+ minimum: n.minimum,
+ inclusive: !0,
+ input: t,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), 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 !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;
+ }), e._zod.check = (o) => {
+ const t = o.value, i = t.size;
+ if (i === n.size)
+ return;
+ const a = i > n.size;
+ o.issues.push({
+ origin: In(t),
+ ...a ? { code: "too_big", maximum: n.size } : { code: "too_small", minimum: n.size },
+ inclusive: !0,
+ exact: !0,
+ input: o.value,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), 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 !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);
+ }), e._zod.check = (o) => {
+ const t = o.value;
+ if (t.length <= n.maximum)
+ return;
+ const a = wn(t);
+ o.issues.push({
+ origin: a,
+ code: "too_big",
+ maximum: n.maximum,
+ inclusive: !0,
+ input: t,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), 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 !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);
+ }), e._zod.check = (o) => {
+ const t = o.value;
+ if (t.length >= n.minimum)
+ return;
+ const a = wn(t);
+ o.issues.push({
+ origin: a,
+ code: "too_small",
+ minimum: n.minimum,
+ inclusive: !0,
+ input: t,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), 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 !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;
+ }), e._zod.check = (o) => {
+ const t = o.value, i = t.length;
+ if (i === n.length)
+ return;
+ 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 },
+ inclusive: !0,
+ exact: !0,
+ input: o.value,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), Zt = /* @__PURE__ */ v("$ZodCheckStringFormat", (e, n) => {
+ var r, o;
+ fe.init(e, n), e._zod.onattach.push((t) => {
+ const i = t._zod.bag;
+ i.format = n.format, n.pattern && (i.patterns ?? (i.patterns = /* @__PURE__ */ new Set()), i.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
+ });
+ }) : (o = e._zod).check ?? (o.check = () => {
+ });
+}), 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",
+ code: "invalid_format",
+ format: "regex",
+ input: r.value,
+ pattern: n.pattern.toString(),
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), 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);
+}), 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) => {
+ const i = t._zod.bag;
+ i.patterns ?? (i.patterns = /* @__PURE__ */ new Set()), i.patterns.add(o);
+ }), 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
+ });
+ };
+}), 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) => {
+ const t = o._zod.bag;
+ t.patterns ?? (t.patterns = /* @__PURE__ */ new Set()), t.patterns.add(r);
+ }), e._zod.check = (o) => {
+ o.value.startsWith(n.prefix) || o.issues.push({
+ origin: "string",
+ code: "invalid_format",
+ format: "starts_with",
+ prefix: n.prefix,
+ input: o.value,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), 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) => {
+ const t = o._zod.bag;
+ t.patterns ?? (t.patterns = /* @__PURE__ */ new Set()), t.patterns.add(r);
+ }), e._zod.check = (o) => {
+ o.value.endsWith(n.suffix) || o.issues.push({
+ origin: "string",
+ code: "invalid_format",
+ format: "ends_with",
+ suffix: n.suffix,
+ input: o.value,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+});
+function Go(e, n, r) {
+ e.issues.length && n.issues.push(...Ae(r, e.issues));
+}
+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],
+ issues: []
+ }, {});
+ if (o instanceof Promise)
+ return o.then((t) => Go(t, r, n.property));
+ Go(o, r, n.property);
+ };
+}), fu = /* @__PURE__ */ v("$ZodCheckMimeType", (e, n) => {
+ fe.init(e, n);
+ const r = new Set(n.mime);
+ e._zod.onattach.push((o) => {
+ o._zod.bag.mime = n.mime;
+ }), e._zod.check = (o) => {
+ r.has(o.value.type) || o.issues.push({
+ code: "invalid_value",
+ values: n.mime,
+ input: o.value.type,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), vu = /* @__PURE__ */ v("$ZodCheckOverwrite", (e, n) => {
+ fe.init(e, n), e._zod.check = (r) => {
+ r.value = n.tx(r.value);
+ };
+});
+class pu {
+ 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 o = n.split(`
+`).filter((a) => a), t = Math.min(...o.map((a) => a.length - a.trimStart().length)), i = o.map((a) => a.slice(t)).map((a) => " ".repeat(this.indent * 2) + a);
+ for (const a of i)
+ this.content.push(a);
+ }
+ compile() {
+ const n = Function, r = this == null ? void 0 : this.args, t = [...((this == null ? void 0 : this.content) ?? [""]).map((i) => ` ${i}`)];
+ return new n(...r, t.join(`
+`));
+ }
+}
+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 = gu;
+ const o = [...e._zod.def.checks ?? []];
+ e._zod.traits.has("$ZodCheck") && o.unshift(e);
+ for (const i of o)
+ for (const a of i._zod.onattach)
+ a(e);
+ if (o.length === 0)
+ (r = e._zod).deferred ?? (r.deferred = []), (t = e._zod.deferred) == null || t.push(() => {
+ e._zod.run = e._zod.parse;
+ });
+ else {
+ const i = (l, s, u) => {
+ let d = Ye(l), c;
+ for (const m of s) {
+ if (m._zod.def.when) {
+ 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 Qe();
+ if (c || h instanceof Promise)
+ c = (c ?? Promise.resolve()).then(async () => {
+ await h, l.issues.length !== f && (d || (d = Ye(l, f)));
+ });
+ else {
+ if (l.issues.length === f)
+ continue;
+ d || (d = Ye(l, f));
+ }
+ }
+ return c ? c.then(() => l) : l;
+ }, a = (l, s, u) => {
+ if (Ye(l))
+ return l.aborted = !0, l;
+ const d = i(s, o, u);
+ if (d instanceof Promise) {
+ if (u.async === !1)
+ throw new Qe();
+ return d.then((c) => e._zod.parse(c, u));
+ }
+ return e._zod.parse(d, u);
+ };
+ e._zod.run = (l, s) => {
+ if (s.skipChecks)
+ return e._zod.parse(l, s);
+ if (s.direction === "backward") {
+ const d = e._zod.parse({ value: l.value, issues: [] }, { ...s, skipChecks: !0 });
+ return d instanceof Promise ? d.then((c) => a(c, l, s)) : a(d, l, s);
+ }
+ const u = e._zod.parse(l, s);
+ if (u instanceof Promise) {
+ if (s.async === !1)
+ throw new Qe();
+ return u.then((d) => i(d, o, s));
+ }
+ return i(u, o, s);
+ };
+ }
+ Y(e, "~standard", () => ({
+ validate: (i) => {
+ var a;
+ try {
+ const l = vl(e, i);
+ return l.success ? { value: l.data } : { issues: (a = l.error) == null ? void 0 : a.issues };
+ } catch {
+ return pl(e, i).then((s) => {
+ var u;
+ return s.success ? { value: s.data } : { issues: (u = s.error) == null ? void 0 : u.issues };
+ });
+ }
+ },
+ vendor: "zod",
+ version: 1
+ }));
+}), 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() ?? Ll(e._zod.bag), e._zod.parse = (o, t) => {
+ if (n.coerce)
+ try {
+ o.value = String(o.value);
+ } catch {
+ }
+ return typeof o.value == "string" || o.issues.push({
+ expected: "string",
+ code: "invalid_type",
+ input: o.value,
+ inst: e
+ }), o;
+ };
+}), ue = /* @__PURE__ */ v("$ZodStringFormat", (e, n) => {
+ Zt.init(e, n), Mt.init(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,
+ v2: 2,
+ v3: 3,
+ v4: 4,
+ v5: 5,
+ v6: 6,
+ v7: 7,
+ v8: 8
+ }[n.version];
+ if (o === void 0)
+ throw new Error(`Invalid UUID version: "${n.version}"`);
+ n.pattern ?? (n.pattern = dt(o));
+ } else
+ n.pattern ?? (n.pattern = dt());
+ ue.init(e, n);
+}), $u = /* @__PURE__ */ v("$ZodEmail", (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) === Br.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 i = new URL(t);
+ n.hostname && (n.hostname.lastIndex = 0, n.hostname.test(i.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(i.protocol.endsWith(":") ? i.protocol.slice(0, -1) : i.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 = i.href : r.value = t;
+ return;
+ } catch {
+ r.issues.push({
+ code: "invalid_format",
+ format: "url",
+ input: r.value,
+ inst: e,
+ continue: !n.abort
+ });
+ }
+ };
+}), 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);
+}), 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 {
+ r.issues.push({
+ code: "invalid_format",
+ format: "ipv6",
+ input: r.value,
+ inst: e,
+ continue: !n.abort
+ });
+ }
+ };
+}), 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)
+ throw new Error();
+ const [t, i] = o;
+ if (!i)
+ throw new Error();
+ const a = Number(i);
+ if (`${a}` !== i)
+ 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 Gr(e) {
+ if (e === "")
+ return !0;
+ if (/\s/.test(e) || e.length % 4 !== 0)
+ return !1;
+ try {
+ return atob(e), !0;
+ } catch {
+ return !1;
+ }
+}
+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,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+});
+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 Gr(r);
+}
+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,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), Fu = /* @__PURE__ */ v("$ZodE164", (e, n) => {
+ n.pattern ?? (n.pattern = Nl), ue.init(e, n);
+});
+function Lu(e, n = null) {
+ try {
+ const r = e.split(".");
+ if (r.length !== 3)
+ return !1;
+ const [o] = r;
+ if (!o)
+ return !1;
+ const t = JSON.parse(atob(o));
+ return !("typ" in t && (t == null ? void 0 : t.typ) !== "JWT" || !t.alg || n && (!("alg" in t) || t.alg !== n));
+ } catch {
+ return !1;
+ }
+}
+const Ru = /* @__PURE__ */ v("$ZodJWT", (e, n) => {
+ ue.init(e, n), e._zod.check = (r) => {
+ Lu(r.value, n.alg) || r.issues.push({
+ code: "invalid_format",
+ format: "jwt",
+ input: r.value,
+ inst: e,
+ continue: !n.abort
+ });
+ };
+}), Bu = /* @__PURE__ */ v("$ZodCustomStringFormat", (e, n) => {
+ ue.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
+ });
+ };
+}), 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);
+ } catch {
+ }
+ const t = r.value;
+ if (typeof t == "number" && !Number.isNaN(t) && Number.isFinite(t))
+ return r;
+ const i = 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,
+ ...i ? { received: i } : {}
+ }), r;
+ };
+}), 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;
+ } catch {
+ }
+ const t = r.value;
+ return typeof t == "boolean" || r.issues.push({
+ expected: "boolean",
+ code: "invalid_type",
+ input: t,
+ inst: e
+ }), r;
+ };
+}), 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);
+ } catch {
+ }
+ return typeof r.value == "bigint" || r.issues.push({
+ expected: "bigint",
+ code: "invalid_type",
+ input: r.value,
+ inst: e
+ }), r;
+ };
+}), 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({
+ expected: "symbol",
+ code: "invalid_type",
+ input: t,
+ inst: e
+ }), r;
+ };
+}), 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",
+ code: "invalid_type",
+ input: t,
+ inst: e
+ }), r;
+ };
+}), Gu = /* @__PURE__ */ v("$ZodNull", (e, n) => {
+ 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",
+ code: "invalid_type",
+ input: t,
+ inst: e
+ }), r;
+ };
+}), Ku = /* @__PURE__ */ v("$ZodAny", (e, n) => {
+ X.init(e, n), e._zod.parse = (r) => r;
+}), Xu = /* @__PURE__ */ v("$ZodUnknown", (e, n) => {
+ X.init(e, n), e._zod.parse = (r) => r;
+}), 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);
+}), 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({
+ expected: "void",
+ code: "invalid_type",
+ input: t,
+ inst: e
+ }), r;
+ };
+}), Qu = /* @__PURE__ */ v("$ZodDate", (e, n) => {
+ X.init(e, n), e._zod.parse = (r, o) => {
+ if (n.coerce)
+ try {
+ r.value = new Date(r.value);
+ } catch {
+ }
+ const t = r.value, i = t instanceof Date;
+ return i && !Number.isNaN(t.getTime()) || r.issues.push({
+ expected: "date",
+ code: "invalid_type",
+ input: t,
+ ...i ? { received: "Invalid Date" } : {},
+ inst: e
+ }), r;
+ };
+});
+function Ko(e, n, r) {
+ e.issues.length && n.issues.push(...Ae(r, e.issues)), n.value[r] = e.value;
+}
+const es = /* @__PURE__ */ v("$ZodArray", (e, n) => {
+ X.init(e, n), e._zod.parse = (r, o) => {
+ 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 i = [];
+ for (let a = 0; a < t.length; a++) {
+ const l = t[a], s = n.element._zod.run({
+ value: l,
+ issues: []
+ }, o);
+ 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 gn(e, n, r, o, t, i) {
+ const a = r in o;
+ if (e.issues.length) {
+ if (t && i && !a)
+ return;
+ n.issues.push(...Ae(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 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 = Xa(e.shape);
+ return {
+ ...e,
+ keys: n,
+ keySet: new Set(n),
+ numKeys: n.length,
+ optionalKeys: new Set(r)
+ };
+}
+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))
+ continue;
+ if (u === "never") {
+ a.push(m);
+ continue;
+ }
+ const f = s.run({ value: n[m], issues: [] }, o);
+ 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",
+ keys: a,
+ input: n,
+ inst: i
+ }), e.length ? Promise.all(e).then(() => r) : r;
+}
+const rs = /* @__PURE__ */ v("$ZodObject", (e, n) => {
+ X.init(e, n);
+ const r = Object.getOwnPropertyDescriptor(n, "shape");
+ if (!(r != null && r.get)) {
+ const l = n.shape;
+ Object.defineProperty(n, "shape", {
+ get: () => {
+ const s = { ...l };
+ return Object.defineProperty(n, "shape", {
+ value: s
+ }), s;
+ }
+ });
+ }
+ const o = Ut(() => ts(n));
+ Y(e._zod, "propValues", () => {
+ const l = n.shape, s = {};
+ for (const u in l) {
+ const d = l[u]._zod;
+ if (d.values) {
+ s[u] ?? (s[u] = /* @__PURE__ */ new Set());
+ for (const c of d.values)
+ s[u].add(c);
+ }
+ }
+ return s;
+ });
+ const t = st, i = n.catchall;
+ let a;
+ e._zod.parse = (l, s) => {
+ a ?? (a = o.value);
+ const u = l.value;
+ if (!t(u))
+ return l.issues.push({
+ expected: "object",
+ code: "invalid_type",
+ input: u,
+ inst: e
+ }), l;
+ l.value = {};
+ 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((O) => gn(O, l, m, u, h, g))) : gn(x, l, m, u, h, g);
+ }
+ return i ? ns(d, u, l, s, o.value, e) : d.length ? Promise.all(d).then(() => l) : l;
+ };
+}), 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 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 O = 0;
+ for (const Z of h.keys)
+ x[Z] = `key_${O++}`;
+ f.write("const newResult = {};");
+ for (const Z of h.keys) {
+ 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 => ({
+ ...iss,
+ path: iss.path ? [${_}, ...iss.path] : [${_}]
+ })));
+ }
+ }
+
+ if (${b}.value === undefined) {
+ if (${_} in input) {
+ newResult[${_}] = undefined;
+ }
+ } else {
+ newResult[${_}] = ${b}.value;
+ }
+
+ `) : B ? f.write(`
+ if (${b}.issues.length) {
+ payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
+ ...iss,
+ path: iss.path ? [${_}, ...iss.path] : [${_}]
+ })));
+ }
+
+ if (${b}.value === undefined) {
+ if (${_} in input) {
+ newResult[${_}] = undefined;
+ }
+ } else {
+ newResult[${_}] = ${b}.value;
+ }
+
+ `) : f.write(`
+ const ${b}_present = ${_} in input;
+ if (${b}.issues.length) {
+ payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
+ ...iss,
+ path: iss.path ? [${_}, ...iss.path] : [${_}]
+ })));
+ }
+ if (!${b}_present && !${b}.issues.length) {
+ payload.issues.push({
+ code: "invalid_type",
+ expected: "nonoptional",
+ input: undefined,
+ path: [${_}]
+ });
+ }
+
+ if (${b}_present) {
+ if (${b}.value === undefined) {
+ newResult[${_}] = undefined;
+ } else {
+ newResult[${_}] = ${b}.value;
+ }
+ }
+
+ `);
+ }
+ f.write("payload.value = newResult;"), f.write("return payload;");
+ const w = f.compile();
+ return (Z, b) => w(m, Z, b);
+ };
+ let i;
+ const a = st, l = !wt.jitless, u = l && Ga.value, d = n.catchall;
+ let c;
+ 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 ? ns([], h, m, f, c, e) : m) : r(m, f) : (m.issues.push({
+ expected: "object",
+ code: "invalid_type",
+ input: h,
+ inst: e
+ }), m);
+ };
+});
+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) => !Ye(i));
+ 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((i) => i.issues.map((a) => Ue(a, o, Ie())))
+ }), 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) => kn(t.source)).join("|")})$`);
+ }
+ });
+ const r = n.options.length === 1 ? n.options[0]._zod.run : null;
+ e._zod.parse = (o, t) => {
+ if (r)
+ return r(o, t);
+ let i = !1;
+ const a = [];
+ for (const l of n.options) {
+ const s = l._zod.run({
+ value: o.value,
+ issues: []
+ }, t);
+ if (s instanceof Promise)
+ a.push(s), i = !0;
+ else {
+ if (s.issues.length === 0)
+ return s;
+ a.push(s);
+ }
+ }
+ return i ? Promise.all(a).then((l) => Xo(l, o, e, t)) : Xo(a, o, e, t);
+ };
+});
+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",
+ input: n.value,
+ inst: r,
+ errors: e.map((i) => i.issues.map((a) => Ue(a, o, Ie())))
+ }) : n.issues.push({
+ code: "invalid_union",
+ input: n.value,
+ inst: r,
+ errors: [],
+ inclusive: !1
+ }), n);
+}
+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)
+ return r(o, t);
+ let i = !1;
+ const a = [];
+ for (const l of n.options) {
+ const s = l._zod.run({
+ value: o.value,
+ issues: []
+ }, t);
+ s instanceof Promise ? (a.push(s), i = !0) : a.push(s);
+ }
+ return i ? Promise.all(a).then((l) => Ho(l, o, e, t)) : Ho(a, o, e, t);
+ };
+}), as = /* @__PURE__ */ v("$ZodDiscriminatedUnion", (e, n) => {
+ n.inclusive = !1, zn.init(e, n);
+ const r = e._zod.parse;
+ Y(e._zod, "propValues", () => {
+ const t = {};
+ for (const i of n.options) {
+ const a = i._zod.propValues;
+ if (!a || Object.keys(a).length === 0)
+ throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(i)}"`);
+ for (const [l, s] of Object.entries(a)) {
+ t[l] || (t[l] = /* @__PURE__ */ new Set());
+ for (const u of s)
+ t[l].add(u);
+ }
+ }
+ return t;
+ });
+ const o = Ut(() => {
+ var a;
+ const t = n.options, i = /* @__PURE__ */ new Map();
+ for (const l of t) {
+ const s = (a = l._zod.propValues) == null ? void 0 : a[n.discriminator];
+ if (!s || s.size === 0)
+ throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(l)}"`);
+ for (const u of s) {
+ if (i.has(u))
+ throw new Error(`Duplicate discriminator value "${String(u)}"`);
+ i.set(u, l);
+ }
+ }
+ return i;
+ });
+ e._zod.parse = (t, i) => {
+ const a = t.value;
+ if (!st(a))
+ return t.issues.push({
+ code: "invalid_type",
+ expected: "object",
+ input: a,
+ inst: e
+ }), t;
+ const l = o.value.get(a == null ? void 0 : a[n.discriminator]);
+ return l ? l._zod.run(t, i) : n.unionFallback || i.direction === "backward" ? r(t, i) : (t.issues.push({
+ code: "invalid_union",
+ errors: [],
+ note: "No matching discriminator",
+ discriminator: n.discriminator,
+ options: Array.from(o.value.keys()),
+ input: a,
+ path: [n.discriminator],
+ inst: e
+ }), t);
+ };
+}), 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]) => Yo(r, s, u)) : Yo(r, i, a);
+ };
+});
+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 (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 = $r(e[i], n[i]);
+ if (!a.valid)
+ return {
+ valid: !1,
+ mergeErrorPath: [i, ...a.mergeErrorPath]
+ };
+ t[i] = 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 o = 0; o < e.length; o++) {
+ const t = e[o], i = n[o], a = $r(t, i);
+ if (!a.valid)
+ return {
+ valid: !1,
+ mergeErrorPath: [o, ...a.mergeErrorPath]
+ };
+ r.push(a.data);
+ }
+ return { valid: !0, data: r };
+ }
+ return { valid: !1, mergeErrorPath: [] };
+}
+function Yo(e, n, r) {
+ const o = /* @__PURE__ */ new Map();
+ let t;
+ for (const l of n.issues)
+ if (l.code === "unrecognized_keys") {
+ t ?? (t = l);
+ for (const s of l.keys)
+ o.has(s) || o.set(s, {}), o.get(s).l = !0;
+ } else
+ e.issues.push(l);
+ for (const l of r.issues)
+ if (l.code === "unrecognized_keys")
+ for (const s of l.keys)
+ o.has(s) || o.set(s, {}), o.get(s).r = !0;
+ 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 }), Ye(e))
+ return e;
+ 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 Yr = /* @__PURE__ */ v("$ZodTuple", (e, n) => {
+ X.init(e, n);
+ const r = n.items;
+ e._zod.parse = (o, t) => {
+ const i = o.value;
+ if (!Array.isArray(i))
+ return o.issues.push({
+ input: i,
+ inst: e,
+ expected: "tuple",
+ code: "invalid_type"
+ }), o;
+ o.value = [];
+ const a = [], l = Qo(r, "optin"), s = Qo(r, "optout");
+ if (!n.rest) {
+ if (i.length < l)
+ return o.issues.push({
+ code: "too_small",
+ minimum: l,
+ inclusive: !0,
+ input: i,
+ inst: e,
+ origin: "array"
+ }), o;
+ i.length > r.length && o.issues.push({
+ code: "too_big",
+ maximum: r.length,
+ inclusive: !0,
+ input: i,
+ inst: e,
+ origin: "array"
+ });
+ }
+ const u = new Array(r.length);
+ for (let d = 0; d < r.length; d++) {
+ const c = r[d]._zod.run({ value: i[d], issues: [] }, t);
+ c instanceof Promise ? a.push(c.then((m) => {
+ u[d] = m;
+ })) : u[d] = c;
+ }
+ if (n.rest) {
+ let d = r.length - 1;
+ const c = i.slice(r.length);
+ for (const m of c) {
+ d++;
+ const f = n.rest._zod.run({ value: m, issues: [] }, t);
+ f instanceof Promise ? a.push(f.then((h) => ea(h, o, d))) : ea(f, o, d);
+ }
+ }
+ return a.length ? Promise.all(a).then(() => ta(u, o, r, i, s)) : ta(u, o, r, i, s);
+ };
+});
+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 ea(e, n, r) {
+ e.issues.length && n.issues.push(...Ae(r, e.issues)), n.value[r] = e.value;
+}
+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) {
+ if (!l && i >= t) {
+ n.value.length = i;
+ break;
+ }
+ n.issues.push(...Ae(i, a.issues));
+ }
+ n.value[i] = a.value;
+ }
+ for (let i = n.value.length - 1; i >= o.length && (r[i]._zod.optout === "optional" && n.value[i] === void 0); i--)
+ n.value.length = i;
+ return n;
+}
+const us = /* @__PURE__ */ v("$ZodRecord", (e, n) => {
+ X.init(e, n), e._zod.parse = (r, o) => {
+ const t = r.value;
+ if (!et(t))
+ return r.issues.push({
+ expected: "record",
+ code: "invalid_type",
+ input: t,
+ inst: e
+ }), r;
+ const i = [], a = n.keyType._zod.values;
+ if (a) {
+ r.value = {};
+ const l = /* @__PURE__ */ new Set();
+ for (const u of a)
+ if (typeof u == "string" || typeof u == "number" || typeof u == "symbol") {
+ l.add(typeof u == "number" ? u.toString() : u);
+ const d = n.keyType._zod.run({ value: u, issues: [] }, o);
+ if (d instanceof Promise)
+ throw new Error("Async schemas not supported in object keys currently");
+ if (d.issues.length) {
+ r.issues.push({
+ code: "invalid_key",
+ origin: "record",
+ issues: d.issues.map((f) => Ue(f, o, Ie())),
+ input: u,
+ path: [u],
+ inst: e
+ });
+ continue;
+ }
+ const c = d.value, m = n.valueType._zod.run({ value: t[u], issues: [] }, o);
+ m instanceof Promise ? i.push(m.then((f) => {
+ f.issues.length && r.issues.push(...Ae(u, f.issues)), r.value[c] = f.value;
+ })) : (m.issues.length && r.issues.push(...Ae(u, m.issues)), r.value[c] = m.value);
+ }
+ let s;
+ for (const u in t)
+ l.has(u) || (s = s ?? [], s.push(u));
+ s && s.length > 0 && r.issues.push({
+ code: "unrecognized_keys",
+ input: t,
+ inst: e,
+ keys: s
+ });
+ } else {
+ r.value = {};
+ for (const l of Reflect.ownKeys(t)) {
+ if (l === "__proto__" || !Object.prototype.propertyIsEnumerable.call(t, l))
+ continue;
+ 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" && 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");
+ c.issues.length === 0 && (s = c);
+ }
+ if (s.issues.length) {
+ n.mode === "loose" ? r.value[l] = t[l] : r.issues.push({
+ code: "invalid_key",
+ origin: "record",
+ issues: s.issues.map((c) => Ue(c, o, Ie())),
+ input: l,
+ path: [l],
+ inst: e
+ });
+ continue;
+ }
+ const d = n.valueType._zod.run({ value: t[l], issues: [] }, o);
+ d instanceof Promise ? i.push(d.then((c) => {
+ c.issues.length && r.issues.push(...Ae(l, c.issues)), r.value[s.value] = c.value;
+ })) : (d.issues.length && r.issues.push(...Ae(l, d.issues)), r.value[s.value] = d.value);
+ }
+ }
+ return i.length ? Promise.all(i).then(() => r) : r;
+ };
+}), ss = /* @__PURE__ */ v("$ZodMap", (e, n) => {
+ X.init(e, n), e._zod.parse = (r, o) => {
+ const t = r.value;
+ if (!(t instanceof Map))
+ return r.issues.push({
+ expected: "map",
+ code: "invalid_type",
+ input: t,
+ inst: e
+ }), r;
+ const i = [];
+ r.value = /* @__PURE__ */ new Map();
+ 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]) => {
+ 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 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 && (pn.has(typeof o) ? r.issues.push(...Ae(o, n.issues)) : r.issues.push({
+ origin: "map",
+ code: "invalid_element",
+ input: t,
+ inst: i,
+ key: o,
+ issues: n.issues.map((l) => Ue(l, a, Ie()))
+ })), r.value.set(e.value, n.value);
+}
+const cs = /* @__PURE__ */ v("$ZodSet", (e, n) => {
+ X.init(e, n), e._zod.parse = (r, o) => {
+ const t = r.value;
+ if (!(t instanceof Set))
+ return r.issues.push({
+ input: t,
+ inst: e,
+ expected: "set",
+ code: "invalid_type"
+ }), r;
+ const i = [];
+ 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) => ra(s, r))) : ra(l, r);
+ }
+ return i.length ? Promise.all(i).then(() => r) : r;
+ };
+});
+function ra(e, n) {
+ e.issues.length && n.issues.push(...e.issues), n.value.add(e.value);
+}
+const ds = /* @__PURE__ */ v("$ZodEnum", (e, n) => {
+ X.init(e, n);
+ 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",
+ values: r,
+ input: a,
+ inst: e
+ }), t;
+ };
+}), 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);
+ e._zod.values = r, e._zod.pattern = new RegExp(`^(${n.values.map((o) => typeof o == "string" ? Be(o) : o ? Be(o.toString()) : String(o)).join("|")})$`), e._zod.parse = (o, t) => {
+ const i = o.value;
+ return r.has(i) || o.issues.push({
+ code: "invalid_value",
+ values: n.values,
+ input: i,
+ inst: e
+ }), o;
+ };
+}), 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({
+ expected: "file",
+ code: "invalid_type",
+ input: t,
+ inst: e
+ }), r;
+ };
+}), 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 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 Qe();
+ return r.value = t, r.fallback = !0, r;
+ };
+});
+function ia(e, n) {
+ return n === void 0 && (e.issues.length || e.fallback) ? { issues: [], value: void 0 } : e;
+}
+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(`^(${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) => ia(a, t)) : ia(i, t);
+ }
+ return r.value === void 0 ? r : n.innerType._zod.run(r, o);
+ };
+}), 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(`^(${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);
+}), 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) => oa(i, n)) : oa(t, n);
+ };
+});
+function oa(e, n) {
+ return e.value === void 0 && (e.value = n.defaultValue), e;
+}
+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", () => {
+ const r = n.innerType._zod.values;
+ 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) => aa(i, e)) : aa(t, e);
+ };
+});
+function aa(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 _s = /* @__PURE__ */ v("$ZodSuccess", (e, n) => {
+ X.init(e, n), e._zod.parse = (r, o) => {
+ if (o.direction === "backward")
+ 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);
+ };
+}), 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);
+ const t = n.innerType._zod.run(r, o);
+ return t instanceof Promise ? t.then((i) => (r.value = i.value, i.issues.length && (r.value = n.catchValue({
+ ...r,
+ error: {
+ issues: i.issues.map((a) => Ue(a, o, Ie()))
+ },
+ 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((i) => Ue(i, o, Ie()))
+ },
+ input: r.value
+ }), r.issues = [], r.fallback = !0), r);
+ };
+}), 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);
+}), 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) => 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) => 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) => 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) => un(e, i, n.in, r)) : un(e, t, n.in, r);
+ }
+}
+function un(e, n, r, o) {
+ return e.issues.length ? (e.aborted = !0, e) : r._zod.run({ value: n, issues: e.issues }, o);
+}
+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;
+ }), Y(e._zod, "optout", () => {
+ var r, o;
+ return (o = (r = n.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optout;
+ }), e._zod.parse = (r, o) => {
+ 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(la) : la(t);
+ };
+});
+function la(e) {
+ return e.value = Object.freeze(e.value), e;
+}
+const ws = /* @__PURE__ */ v("$ZodTemplateLiteral", (e, n) => {
+ X.init(e, n);
+ const r = [];
+ for (const o of n.parts)
+ if (typeof o == "object" && o !== null) {
+ if (!o._zod.pattern)
+ throw new Error(`Invalid template literal part, no pattern found: ${[...o._zod.traits].shift()}`);
+ const t = o._zod.pattern instanceof RegExp ? o._zod.pattern.source : o._zod.pattern;
+ if (!t)
+ 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 || Ka.has(typeof o))
+ r.push(Be(`${o}`));
+ else
+ throw new Error(`Invalid template literal part: ${o}`);
+ e._zod.pattern = new RegExp(`^${r.join("")}$`), e._zod.parse = (o, t) => typeof o.value != "string" ? (o.issues.push({
+ input: o.value,
+ inst: e,
+ expected: "string",
+ code: "invalid_type"
+ }), o) : (e._zod.pattern.lastIndex = 0, e._zod.pattern.test(o.value) || o.issues.push({
+ input: o.value,
+ inst: e,
+ code: "invalid_format",
+ format: n.format ?? "template_literal",
+ pattern: e._zod.pattern.source
+ }), o);
+}), 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 ? 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 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",
+ 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 o = e.constructor;
+ return Array.isArray(r[0]) ? new o({
+ type: "function",
+ input: new Yr({
+ type: "tuple",
+ items: r[0],
+ rest: r[1]
+ }),
+ output: e._def.output
+ }) : new o({
+ type: "function",
+ input: r[0],
+ output: e._def.output
+ });
+}, e.output = (r) => {
+ const o = e.constructor;
+ return new o({
+ type: "function",
+ input: e._def.input,
+ output: r
+ });
+}, 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));
+}), 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;
+ }), Y(e._zod, "pattern", () => {
+ var r, o;
+ return (o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.pattern;
+ }), Y(e._zod, "propValues", () => {
+ var r, o;
+ return (o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.propValues;
+ }), Y(e._zod, "optin", () => {
+ var r, o;
+ return ((o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optin) ?? void 0;
+ }), Y(e._zod, "optout", () => {
+ 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);
+}), 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) => ua(i, r, o, e));
+ ua(t, r, o, e);
+ };
+});
+function ua(e, n, r, o) {
+ if (!e) {
+ const t = {
+ code: "custom",
+ input: r,
+ inst: o,
+ // incorporates params.error into issue reporting
+ path: [...o._zod.def.path ?? []],
+ // incorporates params.error into issue reporting
+ continue: !o._zod.def.abort
+ // params: inst._zod.def.params,
+ };
+ o._zod.def.params && (t.params = o._zod.def.params), n.issues.push(ct(t));
+ }
+}
+const $_ = () => {
+ 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: "مدخل"
+ }, o = {
+ nan: "NaN"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${i} ${t.minimum.toString()} ${a.unit}` : `أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${i} ${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `نَص غير مقبول: يجب أن يبدأ بـ "${t.prefix}"` : i.format === "ends_with" ? `نَص غير مقبول: يجب أن ينتهي بـ "${i.suffix}"` : i.format === "includes" ? `نَص غير مقبول: يجب أن يتضمَّن "${i.includes}"` : i.format === "regex" ? `نَص غير مقبول: يجب أن يطابق النمط ${i.pattern}` : `${r[i.format] ?? t.format} غير مقبول`;
+ }
+ case "not_multiple_of":
+ return `رقم غير مقبول: يجب أن يكون من مضاعفات ${t.divisor}`;
+ case "unrecognized_keys":
+ return `معرف${t.keys.length > 1 ? "ات" : ""} غريب${t.keys.length > 1 ? "ة" : ""}: ${I(t.keys, "، ")}`;
+ case "invalid_key":
+ return `معرف غير مقبول في ${t.origin}`;
+ case "invalid_union":
+ return "مدخل غير مقبول";
+ case "invalid_element":
+ return `مدخل غير مقبول في ${t.origin}`;
+ default:
+ return "مدخل غير مقبول";
+ }
+ };
+};
+function __() {
+ return {
+ localeError: $_()
+ };
+}
+const y_ = () => {
+ 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"
+ }, o = {
+ nan: "NaN"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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: ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Çox kiçik: gözlənilən ${t.origin} ${i}${t.minimum.toString()} ${a.unit}` : `Çox kiçik: gözlənilən ${t.origin} ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Yanlış mətn: "${i.prefix}" ilə başlamalıdır` : i.format === "ends_with" ? `Yanlış mətn: "${i.suffix}" ilə bitməlidir` : i.format === "includes" ? `Yanlış mətn: "${i.includes}" daxil olmalıdır` : i.format === "regex" ? `Yanlış mətn: ${i.pattern} şablonuna uyğun olmalıdır` : `Yanlış ${r[i.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" : ""}: ${I(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 k_() {
+ return {
+ localeError: y_()
+ };
+}
+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 S_ = () => {
+ 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: "увод"
+ }, o = {
+ nan: "NaN",
+ number: "лік",
+ array: "масіў"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `Няправільны варыянт: чакаўся адзін з ${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.few, a.unit.many);
+ return `Занадта вялікі: чакалася, што ${t.origin ?? "значэнне"} павінна ${a.verb} ${i}${t.maximum.toString()} ${s}`;
+ }
+ return `Занадта вялікі: чакалася, што ${t.origin ?? "значэнне"} павінна быць ${i}${t.maximum.toString()}`;
+ }
+ 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.few, a.unit.many);
+ return `Занадта малы: чакалася, што ${t.origin} павінна ${a.verb} ${i}${t.minimum.toString()} ${s}`;
+ }
+ return `Занадта малы: чакалася, што ${t.origin} павінна быць ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Няправільны радок: павінен пачынацца з "${i.prefix}"` : i.format === "ends_with" ? `Няправільны радок: павінен заканчвацца на "${i.suffix}"` : i.format === "includes" ? `Няправільны радок: павінен змяшчаць "${i.includes}"` : i.format === "regex" ? `Няправільны радок: павінен адпавядаць шаблону ${i.pattern}` : `Няправільны ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `Няправільны лік: павінен быць кратным ${t.divisor}`;
+ case "unrecognized_keys":
+ return `Нераспазнаны ${t.keys.length > 1 ? "ключы" : "ключ"}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `Няправільны ключ у ${t.origin}`;
+ case "invalid_union":
+ return "Няправільны ўвод";
+ case "invalid_element":
+ return `Няправільнае значэнне ў ${t.origin}`;
+ default:
+ return "Няправільны ўвод";
+ }
+ };
+};
+function I_() {
+ return {
+ localeError: S_()
+ };
+}
+const w_ = () => {
+ 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: "вход"
+ }, o = {
+ nan: "NaN",
+ number: "число",
+ array: "масив"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `Невалидна опция: очаквано едно от ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Твърде малко: очаква се ${t.origin} да съдържа ${i}${t.minimum.toString()} ${a.unit}` : `Твърде малко: очаква се ${t.origin} да бъде ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ if (i.format === "starts_with")
+ return `Невалиден низ: трябва да започва с "${i.prefix}"`;
+ if (i.format === "ends_with")
+ return `Невалиден низ: трябва да завършва с "${i.suffix}"`;
+ if (i.format === "includes")
+ return `Невалиден низ: трябва да включва "${i.includes}"`;
+ if (i.format === "regex")
+ return `Невалиден низ: трябва да съвпада с ${i.pattern}`;
+ let a = "Невалиден";
+ return i.format === "emoji" && (a = "Невалидно"), i.format === "datetime" && (a = "Невалидно"), i.format === "date" && (a = "Невалидна"), i.format === "time" && (a = "Невалидно"), i.format === "duration" && (a = "Невалидна"), `${a} ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `Невалидно число: трябва да бъде кратно на ${t.divisor}`;
+ case "unrecognized_keys":
+ return `Неразпознат${t.keys.length > 1 ? "и" : ""} ключ${t.keys.length > 1 ? "ове" : ""}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `Невалиден ключ в ${t.origin}`;
+ case "invalid_union":
+ return "Невалиден вход";
+ case "invalid_element":
+ return `Невалидна стойност в ${t.origin}`;
+ default:
+ return "Невалиден вход";
+ }
+ };
+};
+function z_() {
+ return {
+ localeError: w_()
+ };
+}
+const D_ = () => {
+ 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"
+ }, o = {
+ nan: "NaN"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? "com a mínim" : "més de", a = n(t.origin);
+ return a ? `Massa petit: s'esperava que ${t.origin} contingués ${i} ${t.minimum.toString()} ${a.unit}` : `Massa petit: s'esperava que ${t.origin} fos ${i} ${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Format invàlid: ha de començar amb "${i.prefix}"` : i.format === "ends_with" ? `Format invàlid: ha d'acabar amb "${i.suffix}"` : i.format === "includes" ? `Format invàlid: ha d'incloure "${i.includes}"` : i.format === "regex" ? `Format invàlid: ha de coincidir amb el patró ${i.pattern}` : `Format invàlid per a ${r[i.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" : ""}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `Clau invàlida a ${t.origin}`;
+ case "invalid_union":
+ return "Entrada invàlida";
+ // Could also be "Tipus d'unió invàlid" but "Entrada invàlida" is more general
+ case "invalid_element":
+ return `Element invàlid a ${t.origin}`;
+ default:
+ return "Entrada invàlida";
+ }
+ };
+};
+function O_() {
+ return {
+ localeError: D_()
+ };
+}
+const j_ = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "číslo",
+ string: "řetězec",
+ function: "funkce",
+ array: "pole"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Hodnota je příliš malá: ${t.origin ?? "hodnota"} musí mít ${i}${t.minimum.toString()} ${a.unit ?? "prvků"}` : `Hodnota je příliš malá: ${t.origin ?? "hodnota"} musí být ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Neplatný řetězec: musí začínat na "${i.prefix}"` : i.format === "ends_with" ? `Neplatný řetězec: musí končit na "${i.suffix}"` : i.format === "includes" ? `Neplatný řetězec: musí obsahovat "${i.includes}"` : i.format === "regex" ? `Neplatný řetězec: musí odpovídat vzoru ${i.pattern}` : `Neplatný formát ${r[i.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: ${I(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 E_() {
+ return {
+ localeError: j_()
+ };
+}
+const U_ = () => {
+ 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"
+ }, o = {
+ 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 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin), l = o[t.origin] ?? t.origin;
+ return a ? `For lille: forventede ${l} ${a.verb} ${i} ${t.minimum.toString()} ${a.unit}` : `For lille: forventede ${l} havde ${i} ${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Ugyldig streng: skal starte med "${i.prefix}"` : i.format === "ends_with" ? `Ugyldig streng: skal ende med "${i.suffix}"` : i.format === "includes" ? `Ugyldig streng: skal indeholde "${i.includes}"` : i.format === "regex" ? `Ugyldig streng: skal matche mønsteret ${i.pattern}` : `Ugyldig ${r[i.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"}: ${I(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 x_() {
+ return {
+ localeError: U_()
+ };
+}
+const T_ = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "Zahl",
+ array: "Array"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Zu klein: erwartet, dass ${t.origin} ${i}${t.minimum.toString()} ${a.unit} hat` : `Zu klein: erwartet, dass ${t.origin} ${i}${t.minimum.toString()} ist`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Ungültiger String: muss mit "${i.prefix}" beginnen` : i.format === "ends_with" ? `Ungültiger String: muss mit "${i.suffix}" enden` : i.format === "includes" ? `Ungültiger String: muss "${i.includes}" enthalten` : i.format === "regex" ? `Ungültiger String: muss dem Muster ${i.pattern} entsprechen` : `Ungültig: ${r[i.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"}: ${I(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 A_() {
+ return {
+ localeError: T_()
+ };
+}
+const N_ = () => {
+ 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: "είσοδος"
+ }, o = {
+ nan: "NaN"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `Μη έγκυρη επιλογή: αναμενόταν ένα από ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Πολύ μικρό: αναμενόταν ${t.origin} να έχει ${i}${t.minimum.toString()} ${a.unit}` : `Πολύ μικρό: αναμενόταν ${t.origin} να είναι ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${i.prefix}"` : i.format === "ends_with" ? `Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${i.suffix}"` : i.format === "includes" ? `Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${i.includes}"` : i.format === "regex" ? `Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${i.pattern}` : `Μη έγκυρο: ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${t.divisor}`;
+ case "unrecognized_keys":
+ return `Άγνωστ${t.keys.length > 1 ? "α" : "ο"} κλειδ${t.keys.length > 1 ? "ιά" : "ί"}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `Μη έγκυρο κλειδί στο ${t.origin}`;
+ case "invalid_union":
+ return "Μη έγκυρη είσοδος";
+ case "invalid_element":
+ return `Μη έγκυρη τιμή στο ${t.origin}`;
+ default:
+ return "Μη έγκυρη είσοδος";
+ }
+ };
+};
+function P_() {
+ return {
+ localeError: N_()
+ };
+}
+const C_ = () => {
+ 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"
+ }, o = {
+ // Compatibility: "nan" -> "NaN" for display
+ nan: "NaN"
+ // All other type names omitted - they fall back to raw values via ?? operator
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Too small: expected ${t.origin} to have ${i}${t.minimum.toString()} ${a.unit}` : `Too small: expected ${t.origin} to be ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Invalid string: must start with "${i.prefix}"` : i.format === "ends_with" ? `Invalid string: must end with "${i.suffix}"` : i.format === "includes" ? `Invalid string: must include "${i.includes}"` : i.format === "regex" ? `Invalid string: must match pattern ${i.pattern}` : `Invalid ${r[i.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" : ""}: ${I(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 Es() {
+ return {
+ localeError: C_()
+ };
+}
+const Z_ = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "nombro",
+ array: "tabelo",
+ null: "senvalora"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Tro malgranda: atendiĝis ke ${t.origin} havu ${i}${t.minimum.toString()} ${a.unit}` : `Tro malgranda: atendiĝis ke ${t.origin} estu ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Nevalida karaktraro: devas komenciĝi per "${i.prefix}"` : i.format === "ends_with" ? `Nevalida karaktraro: devas finiĝi per "${i.suffix}"` : i.format === "includes" ? `Nevalida karaktraro: devas inkluzivi "${i.includes}"` : i.format === "regex" ? `Nevalida karaktraro: devas kongrui kun la modelo ${i.pattern}` : `Nevalida ${r[i.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" : ""}: ${I(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 M_() {
+ return {
+ localeError: Z_()
+ };
+}
+const F_ = () => {
+ 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"
+ }, o = {
+ 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 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin), l = o[t.origin] ?? t.origin;
+ return a ? `Demasiado pequeño: se esperaba que ${l} tuviera ${i}${t.minimum.toString()} ${a.unit}` : `Demasiado pequeño: se esperaba que ${l} fuera ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Cadena inválida: debe comenzar con "${i.prefix}"` : i.format === "ends_with" ? `Cadena inválida: debe terminar en "${i.suffix}"` : i.format === "includes" ? `Cadena inválida: debe incluir "${i.includes}"` : i.format === "regex" ? `Cadena inválida: debe coincidir con el patrón ${i.pattern}` : `Inválido ${r[i.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" : ""}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `Llave inválida en ${o[t.origin] ?? t.origin}`;
+ case "invalid_union":
+ return "Entrada inválida";
+ case "invalid_element":
+ return `Valor inválido en ${o[t.origin] ?? t.origin}`;
+ default:
+ return "Entrada inválida";
+ }
+ };
+};
+function L_() {
+ return {
+ localeError: F_()
+ };
+}
+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: "تاریخ و زمان ایزو",
+ 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: "ورودی"
+ }, o = {
+ nan: "NaN",
+ number: "عدد",
+ array: "آرایه"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])} میبود` : `گزینه نامعتبر: میبایست یکی از ${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()} باشد`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `خیلی کوچک: ${t.origin} باید ${i}${t.minimum.toString()} ${a.unit} باشد` : `خیلی کوچک: ${t.origin} باید ${i}${t.minimum.toString()} باشد`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `رشته نامعتبر: باید با "${i.prefix}" شروع شود` : i.format === "ends_with" ? `رشته نامعتبر: باید با "${i.suffix}" تمام شود` : i.format === "includes" ? `رشته نامعتبر: باید شامل "${i.includes}" باشد` : i.format === "regex" ? `رشته نامعتبر: باید با الگوی ${i.pattern} مطابقت داشته باشد` : `${r[i.format] ?? t.format} نامعتبر`;
+ }
+ case "not_multiple_of":
+ return `عدد نامعتبر: باید مضرب ${t.divisor} باشد`;
+ case "unrecognized_keys":
+ return `کلید${t.keys.length > 1 ? "های" : ""} ناشناس: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `کلید ناشناس در ${t.origin}`;
+ case "invalid_union":
+ return "ورودی نامعتبر";
+ case "invalid_element":
+ return `مقدار نامعتبر در ${t.origin}`;
+ default:
+ return "ورودی نامعتبر";
+ }
+ };
+};
+function B_() {
+ return {
+ localeError: R_()
+ };
+}
+const V_ = () => {
+ 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"
+ }, o = {
+ nan: "NaN"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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: ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Liian pieni: ${a.subject} täytyy olla ${i}${t.minimum.toString()} ${a.unit}`.trim() : `Liian pieni: arvon täytyy olla ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Virheellinen syöte: täytyy alkaa "${i.prefix}"` : i.format === "ends_with" ? `Virheellinen syöte: täytyy loppua "${i.suffix}"` : i.format === "includes" ? `Virheellinen syöte: täytyy sisältää "${i.includes}"` : i.format === "regex" ? `Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${i.pattern}` : `Virheellinen ${r[i.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"}: ${I(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 J_() {
+ return {
+ localeError: V_()
+ };
+}
+const q_ = () => {
+ 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"
+ }, o = {
+ 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 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Trop petit : ${o[t.origin] ?? "valeur"} doit ${a.verb} ${i}${t.minimum.toString()} ${a.unit}` : `Trop petit : ${o[t.origin] ?? "valeur"} doit être ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Chaîne invalide : doit commencer par "${i.prefix}"` : i.format === "ends_with" ? `Chaîne invalide : doit se terminer par "${i.suffix}"` : i.format === "includes" ? `Chaîne invalide : doit inclure "${i.includes}"` : i.format === "regex" ? `Chaîne invalide : doit correspondre au modèle ${i.pattern}` : `${r[i.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" : ""} : ${I(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 W_() {
+ return {
+ localeError: q_()
+ };
+}
+const G_ = () => {
+ 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"
+ }, o = {
+ nan: "NaN"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? "≥" : ">", a = n(t.origin);
+ return a ? `Trop petit : attendu que ${t.origin} ait ${i}${t.minimum.toString()} ${a.unit}` : `Trop petit : attendu que ${t.origin} soit ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Chaîne invalide : doit commencer par "${i.prefix}"` : i.format === "ends_with" ? `Chaîne invalide : doit se terminer par "${i.suffix}"` : i.format === "includes" ? `Chaîne invalide : doit inclure "${i.includes}"` : i.format === "regex" ? `Chaîne invalide : doit correspondre au motif ${i.pattern}` : `${r[i.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" : ""} : ${I(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 K_() {
+ return {
+ localeError: G_()
+ };
+}
+const X_ = () => {
+ 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: "גדול" }
+ // no unit
+ }, r = (u) => u ? e[u] : void 0, o = (u) => {
+ const d = r(u);
+ return d ? d.label : u ?? e.unknown.label;
+ }, t = (u) => `ה${o(u)}`, i = (u) => {
+ const d = r(u);
+ return ((d == null ? void 0 : d.gender) ?? "m") === "f" ? "צריכה להיות" : "צריך להיות";
+ }, a = (u) => u ? n[u] ?? null : null, l = {
+ 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" }
+ }, s = {
+ nan: "NaN"
+ };
+ return (u) => {
+ var d;
+ switch (u.code) {
+ case "invalid_type": {
+ 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": {
+ if (u.values.length === 1)
+ return `ערך לא תקין: הערך חייב להיות ${R(u.values[0])}`;
+ const c = u.values.map((h) => R(h));
+ if (u.values.length === 2)
+ return `ערך לא תקין: האפשרויות המתאימות הן ${c[0]} או ${c[1]}`;
+ const m = c[c.length - 1];
+ return `ערך לא תקין: האפשרויות המתאימות הן ${c.slice(0, -1).join(", ")} או ${m}`;
+ }
+ case "too_big": {
+ const c = a(u.origin), m = t(u.origin ?? "value");
+ if (u.origin === "string")
+ return `${(c == null ? void 0 : c.longLabel) ?? "ארוך"} מדי: ${m} צריכה להכיל ${u.maximum.toString()} ${(c == null ? void 0 : c.unit) ?? ""} ${u.inclusive ? "או פחות" : "לכל היותר"}`.trim();
+ if (u.origin === "number") {
+ const g = u.inclusive ? `קטן או שווה ל-${u.maximum}` : `קטן מ-${u.maximum}`;
+ return `גדול מדי: ${m} צריך להיות ${g}`;
+ }
+ if (u.origin === "array" || u.origin === "set") {
+ const g = u.origin === "set" ? "צריכה" : "צריך", x = u.inclusive ? `${u.maximum} ${(c == null ? void 0 : c.unit) ?? ""} או פחות` : `פחות מ-${u.maximum} ${(c == null ? void 0 : c.unit) ?? ""}`;
+ return `גדול מדי: ${m} ${g} להכיל ${x}`.trim();
+ }
+ const f = u.inclusive ? "<=" : "<", h = i(u.origin ?? "value");
+ return c != null && c.unit ? `${c.longLabel} מדי: ${m} ${h} ${f}${u.maximum.toString()} ${c.unit}` : `${(c == null ? void 0 : c.longLabel) ?? "גדול"} מדי: ${m} ${h} ${f}${u.maximum.toString()}`;
+ }
+ case "too_small": {
+ const c = a(u.origin), m = t(u.origin ?? "value");
+ if (u.origin === "string")
+ return `${(c == null ? void 0 : c.shortLabel) ?? "קצר"} מדי: ${m} צריכה להכיל ${u.minimum.toString()} ${(c == null ? void 0 : c.unit) ?? ""} ${u.inclusive ? "או יותר" : "לפחות"}`.trim();
+ if (u.origin === "number") {
+ const g = u.inclusive ? `גדול או שווה ל-${u.minimum}` : `גדול מ-${u.minimum}`;
+ return `קטן מדי: ${m} צריך להיות ${g}`;
+ }
+ if (u.origin === "array" || u.origin === "set") {
+ const g = u.origin === "set" ? "צריכה" : "צריך";
+ if (u.minimum === 1 && u.inclusive) {
+ 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();
+ }
+ const f = u.inclusive ? ">=" : ">", h = i(u.origin ?? "value");
+ return c != null && c.unit ? `${c.shortLabel} מדי: ${m} ${h} ${f}${u.minimum.toString()} ${c.unit}` : `${(c == null ? void 0 : c.shortLabel) ?? "קטן"} מדי: ${m} ${h} ${f}${u.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const c = u;
+ if (c.format === "starts_with")
+ return `המחרוזת חייבת להתחיל ב "${c.prefix}"`;
+ if (c.format === "ends_with")
+ return `המחרוזת חייבת להסתיים ב "${c.suffix}"`;
+ if (c.format === "includes")
+ return `המחרוזת חייבת לכלול "${c.includes}"`;
+ if (c.format === "regex")
+ return `המחרוזת חייבת להתאים לתבנית ${c.pattern}`;
+ const m = l[c.format], f = (m == null ? void 0 : m.label) ?? c.format, g = ((m == null ? void 0 : m.gender) ?? "m") === "f" ? "תקינה" : "תקין";
+ return `${f} לא ${g}`;
+ }
+ case "not_multiple_of":
+ return `מספר לא תקין: חייב להיות מכפלה של ${u.divisor}`;
+ case "unrecognized_keys":
+ return `מפתח${u.keys.length > 1 ? "ות" : ""} לא מזוה${u.keys.length > 1 ? "ים" : "ה"}: ${I(u.keys, ", ")}`;
+ case "invalid_key":
+ return "שדה לא תקין באובייקט";
+ case "invalid_union":
+ return "קלט לא תקין";
+ case "invalid_element":
+ return `ערך לא תקין ב${t(u.origin ?? "array")}`;
+ default:
+ return "קלט לא תקין";
+ }
+ };
+};
+function H_() {
+ return {
+ localeError: X_()
+ };
+}
+const Y_ = () => {
+ 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"
+ }, o = {
+ 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 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin), l = o[t.origin] ?? t.origin;
+ return a ? `Premalo: očekivano da ${l} ima ${i}${t.minimum.toString()} ${a.unit}` : `Premalo: očekivano da ${l} bude ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Neispravan tekst: mora započinjati s "${i.prefix}"` : i.format === "ends_with" ? `Neispravan tekst: mora završavati s "${i.suffix}"` : i.format === "includes" ? `Neispravan tekst: mora sadržavati "${i.includes}"` : i.format === "regex" ? `Neispravan tekst: mora odgovarati uzorku ${i.pattern}` : `Neispravna ${r[i.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č"}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `Neispravan ključ u ${o[t.origin] ?? t.origin}`;
+ case "invalid_union":
+ return "Neispravan unos";
+ case "invalid_element":
+ return `Neispravna vrijednost u ${o[t.origin] ?? t.origin}`;
+ default:
+ return "Neispravan unos";
+ }
+ };
+};
+function Q_() {
+ return {
+ localeError: Y_()
+ };
+}
+const ey = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "szám",
+ array: "tömb"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Túl kicsi: a bemeneti érték ${t.origin} mérete túl kicsi ${i}${t.minimum.toString()} ${a.unit}` : `Túl kicsi: a bemeneti érték ${t.origin} túl kicsi ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Érvénytelen string: "${i.prefix}" értékkel kell kezdődnie` : i.format === "ends_with" ? `Érvénytelen string: "${i.suffix}" értékkel kell végződnie` : i.format === "includes" ? `Érvénytelen string: "${i.includes}" értéket kell tartalmaznia` : i.format === "regex" ? `Érvénytelen string: ${i.pattern} mintának kell megfelelnie` : `Érvénytelen ${r[i.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" : ""}: ${I(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 ty() {
+ return {
+ localeError: ey()
+ };
+}
+function ca(e, n, r) {
+ return Math.abs(e) === 1 ? n : r;
+}
+function at(e) {
+ if (!e)
+ return "";
+ const n = ["ա", "ե", "ը", "ի", "ո", "ու", "օ"], r = e[e.length - 1];
+ return e + (n.includes(r) ? "ն" : "ը");
+}
+const ny = () => {
+ 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: "մուտք"
+ }, o = {
+ nan: "NaN",
+ number: "թիվ",
+ array: "զանգված"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${I(t.values, "|")}`;
+ case "too_big": {
+ const i = t.inclusive ? "<=" : "<", a = n(t.origin);
+ if (a) {
+ 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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ if (a) {
+ 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()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Սխալ տող․ պետք է սկսվի "${i.prefix}"-ով` : i.format === "ends_with" ? `Սխալ տող․ պետք է ավարտվի "${i.suffix}"-ով` : i.format === "includes" ? `Սխալ տող․ պետք է պարունակի "${i.includes}"` : i.format === "regex" ? `Սխալ տող․ պետք է համապատասխանի ${i.pattern} ձևաչափին` : `Սխալ ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `Սխալ թիվ․ պետք է բազմապատիկ լինի ${t.divisor}-ի`;
+ case "unrecognized_keys":
+ return `Չճանաչված բանալի${t.keys.length > 1 ? "ներ" : ""}. ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `Սխալ բանալի ${at(t.origin)}-ում`;
+ case "invalid_union":
+ return "Սխալ մուտքագրում";
+ case "invalid_element":
+ return `Սխալ արժեք ${at(t.origin)}-ում`;
+ default:
+ return "Սխալ մուտքագրում";
+ }
+ };
+};
+function ry() {
+ return {
+ localeError: ny()
+ };
+}
+const iy = () => {
+ 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"
+ }, o = {
+ nan: "NaN"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Terlalu kecil: diharapkan ${t.origin} memiliki ${i}${t.minimum.toString()} ${a.unit}` : `Terlalu kecil: diharapkan ${t.origin} menjadi ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `String tidak valid: harus dimulai dengan "${i.prefix}"` : i.format === "ends_with" ? `String tidak valid: harus berakhir dengan "${i.suffix}"` : i.format === "includes" ? `String tidak valid: harus menyertakan "${i.includes}"` : i.format === "regex" ? `String tidak valid: harus sesuai pola ${i.pattern}` : `${r[i.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" : ""}: ${I(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 oy() {
+ return {
+ localeError: iy()
+ };
+}
+const ay = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "númer",
+ array: "fylki"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Of lítið: gert er ráð fyrir að ${t.origin} hafi ${i}${t.minimum.toString()} ${a.unit}` : `Of lítið: gert er ráð fyrir að ${t.origin} sé ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Ógildur strengur: verður að byrja á "${i.prefix}"` : i.format === "ends_with" ? `Ógildur strengur: verður að enda á "${i.suffix}"` : i.format === "includes" ? `Ógildur strengur: verður að innihalda "${i.includes}"` : i.format === "regex" ? `Ógildur strengur: verður að fylgja mynstri ${i.pattern}` : `Rangt ${r[i.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"}: ${I(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 ly() {
+ return {
+ localeError: ay()
+ };
+}
+const uy = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "numero",
+ array: "vettore"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Troppo piccolo: ${t.origin} deve avere ${i}${t.minimum.toString()} ${a.unit}` : `Troppo piccolo: ${t.origin} deve essere ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Stringa non valida: deve iniziare con "${i.prefix}"` : i.format === "ends_with" ? `Stringa non valida: deve terminare con "${i.suffix}"` : i.format === "includes" ? `Stringa non valida: deve includere "${i.includes}"` : i.format === "regex" ? `Stringa non valida: deve corrispondere al pattern ${i.pattern}` : `Input non valido: ${r[i.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"}: ${I(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 sy() {
+ return {
+ localeError: uy()
+ };
+}
+const cy = () => {
+ 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: "入力値"
+ }, o = {
+ nan: "NaN",
+ number: "数値",
+ array: "配列"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}が期待されました` : `無効な選択: ${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}必要があります`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? "以上である" : "より大きい", a = n(t.origin);
+ return a ? `小さすぎる値: ${t.origin}は${t.minimum.toString()}${a.unit}${i}必要があります` : `小さすぎる値: ${t.origin}は${t.minimum.toString()}${i}必要があります`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `無効な文字列: "${i.prefix}"で始まる必要があります` : i.format === "ends_with" ? `無効な文字列: "${i.suffix}"で終わる必要があります` : i.format === "includes" ? `無効な文字列: "${i.includes}"を含む必要があります` : i.format === "regex" ? `無効な文字列: パターン${i.pattern}に一致する必要があります` : `無効な${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `無効な数値: ${t.divisor}の倍数である必要があります`;
+ case "unrecognized_keys":
+ return `認識されていないキー${t.keys.length > 1 ? "群" : ""}: ${I(t.keys, "、")}`;
+ case "invalid_key":
+ return `${t.origin}内の無効なキー`;
+ case "invalid_union":
+ return "無効な入力";
+ case "invalid_element":
+ return `${t.origin}内の無効な値`;
+ default:
+ return "無効な入力";
+ }
+ };
+};
+function dy() {
+ return {
+ localeError: cy()
+ };
+}
+const my = () => {
+ 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: "შეყვანა"
+ }, o = {
+ nan: "NaN",
+ number: "რიცხვი",
+ string: "ველი",
+ boolean: "ბულეანი",
+ function: "ფუნქცია",
+ array: "მასივი"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `ზედმეტად პატარა: მოსალოდნელი ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}` : `ზედმეტად პატარა: მოსალოდნელი ${t.origin} იყოს ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `არასწორი ველი: უნდა იწყებოდეს "${i.prefix}"-ით` : i.format === "ends_with" ? `არასწორი ველი: უნდა მთავრდებოდეს "${i.suffix}"-ით` : i.format === "includes" ? `არასწორი ველი: უნდა შეიცავდეს "${i.includes}"-ს` : i.format === "regex" ? `არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${i.pattern}` : `არასწორი ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `არასწორი რიცხვი: უნდა იყოს ${t.divisor}-ის ჯერადი`;
+ case "unrecognized_keys":
+ return `უცნობი გასაღებ${t.keys.length > 1 ? "ები" : "ი"}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `არასწორი გასაღები ${t.origin}-ში`;
+ case "invalid_union":
+ return "არასწორი შეყვანა";
+ case "invalid_element":
+ return `არასწორი მნიშვნელობა ${t.origin}-ში`;
+ default:
+ return "არასწორი შეყვანა";
+ }
+ };
+};
+function fy() {
+ return {
+ localeError: my()
+ };
+}
+const vy = () => {
+ 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: "ទិន្នន័យបញ្ចូល"
+ }, o = {
+ nan: "NaN",
+ number: "លេខ",
+ array: "អារេ (Array)",
+ null: "គ្មានតម្លៃ (null)"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `តូចពេក៖ ត្រូវការ ${t.origin} ${i} ${t.minimum.toString()} ${a.unit}` : `តូចពេក៖ ត្រូវការ ${t.origin} ${i} ${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${i.prefix}"` : i.format === "ends_with" ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${i.suffix}"` : i.format === "includes" ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${i.includes}"` : i.format === "regex" ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${i.pattern}` : `មិនត្រឹមត្រូវ៖ ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${t.divisor}`;
+ case "unrecognized_keys":
+ return `រកឃើញសោមិនស្គាល់៖ ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `សោមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;
+ case "invalid_union":
+ return "ទិន្នន័យមិនត្រឹមត្រូវ";
+ case "invalid_element":
+ return `ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;
+ default:
+ return "ទិន្នន័យមិនត្រឹមត្រូវ";
+ }
+ };
+};
+function Us() {
+ return {
+ localeError: vy()
+ };
+}
+function py() {
+ return Us();
+}
+const gy = () => {
+ 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: "입력"
+ }, o = {
+ nan: "NaN"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])} 이어야 합니다` : `잘못된 옵션: ${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}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? "이상" : "초과", a = i === "이상" ? "이어야 합니다" : "여야 합니다", l = n(t.origin), s = (l == null ? void 0 : l.unit) ?? "요소";
+ return l ? `${t.origin ?? "값"}이 너무 작습니다: ${t.minimum.toString()}${s} ${i}${a}` : `${t.origin ?? "값"}이 너무 작습니다: ${t.minimum.toString()} ${i}${a}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `잘못된 문자열: "${i.prefix}"(으)로 시작해야 합니다` : i.format === "ends_with" ? `잘못된 문자열: "${i.suffix}"(으)로 끝나야 합니다` : i.format === "includes" ? `잘못된 문자열: "${i.includes}"을(를) 포함해야 합니다` : i.format === "regex" ? `잘못된 문자열: 정규식 ${i.pattern} 패턴과 일치해야 합니다` : `잘못된 ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `잘못된 숫자: ${t.divisor}의 배수여야 합니다`;
+ case "unrecognized_keys":
+ return `인식할 수 없는 키: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `잘못된 키: ${t.origin}`;
+ case "invalid_union":
+ return "잘못된 입력";
+ case "invalid_element":
+ return `잘못된 값: ${t.origin}`;
+ default:
+ return "잘못된 입력";
+ }
+ };
+};
+function hy() {
+ return {
+ localeError: gy()
+ };
+}
+const yt = (e) => e.charAt(0).toUpperCase() + e.slice(1);
+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 by = () => {
+ 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, i, a, l) {
+ const s = e[t] ?? null;
+ return s === null ? s : {
+ unit: s.unit[i],
+ verb: s.verb[l][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"
+ }, o = {
+ 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 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š ${I(t.values, "|")} pasirinkimų`;
+ case "too_big": {
+ 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, 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";
+ return `${yt(i ?? t.origin ?? "reikšmė")} turi būti ${l} ${t.minimum.toString()} ${a == null ? void 0 : a.unit}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Eilutė privalo prasidėti "${i.prefix}"` : i.format === "ends_with" ? `Eilutė privalo pasibaigti "${i.suffix}"` : i.format === "includes" ? `Eilutė privalo įtraukti "${i.includes}"` : i.format === "regex" ? `Eilutė privalo atitikti ${i.pattern}` : `Neteisingas ${r[i.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"}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return "Rastas klaidingas raktas";
+ case "invalid_union":
+ return "Klaidinga įvestis";
+ case "invalid_element": {
+ const i = o[t.origin] ?? t.origin;
+ return `${yt(i ?? t.origin ?? "reikšmė")} turi klaidingą įvestį`;
+ }
+ default:
+ return "Klaidinga įvestis";
+ }
+ };
+};
+function $y() {
+ return {
+ localeError: by()
+ };
+}
+const _y = () => {
+ 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: "внес"
+ }, o = {
+ nan: "NaN",
+ number: "број",
+ array: "низа"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `Грешана опција: се очекува една ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Премногу мал: се очекува ${t.origin} да има ${i}${t.minimum.toString()} ${a.unit}` : `Премногу мал: се очекува ${t.origin} да биде ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Неважечка низа: мора да започнува со "${i.prefix}"` : i.format === "ends_with" ? `Неважечка низа: мора да завршува со "${i.suffix}"` : i.format === "includes" ? `Неважечка низа: мора да вклучува "${i.includes}"` : i.format === "regex" ? `Неважечка низа: мора да одгоара на патернот ${i.pattern}` : `Invalid ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `Грешен број: мора да биде делив со ${t.divisor}`;
+ case "unrecognized_keys":
+ return `${t.keys.length > 1 ? "Непрепознаени клучеви" : "Непрепознаен клуч"}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `Грешен клуч во ${t.origin}`;
+ case "invalid_union":
+ return "Грешен внес";
+ case "invalid_element":
+ return `Грешна вредност во ${t.origin}`;
+ default:
+ return "Грешен внес";
+ }
+ };
+};
+function yy() {
+ return {
+ localeError: _y()
+ };
+}
+const ky = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "nombor"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Terlalu kecil: dijangka ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}` : `Terlalu kecil: dijangka ${t.origin} adalah ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `String tidak sah: mesti bermula dengan "${i.prefix}"` : i.format === "ends_with" ? `String tidak sah: mesti berakhir dengan "${i.suffix}"` : i.format === "includes" ? `String tidak sah: mesti mengandungi "${i.includes}"` : i.format === "regex" ? `String tidak sah: mesti sepadan dengan corak ${i.pattern}` : `${r[i.format] ?? t.format} tidak sah`;
+ }
+ case "not_multiple_of":
+ return `Nombor tidak sah: perlu gandaan ${t.divisor}`;
+ case "unrecognized_keys":
+ return `Kunci tidak dikenali: ${I(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 Sy() {
+ return {
+ localeError: ky()
+ };
+}
+const Iy = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "getal"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin), l = t.origin === "date" ? "vroeg" : t.origin === "string" ? "kort" : "klein";
+ return a ? `Te ${l}: verwacht dat ${t.origin} ${i}${t.minimum.toString()} ${a.unit} ${a.verb}` : `Te ${l}: verwacht dat ${t.origin} ${i}${t.minimum.toString()} is`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Ongeldige tekst: moet met "${i.prefix}" beginnen` : i.format === "ends_with" ? `Ongeldige tekst: moet op "${i.suffix}" eindigen` : i.format === "includes" ? `Ongeldige tekst: moet "${i.includes}" bevatten` : i.format === "regex" ? `Ongeldige tekst: moet overeenkomen met patroon ${i.pattern}` : `Ongeldig: ${r[i.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" : ""}: ${I(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 wy() {
+ return {
+ localeError: Iy()
+ };
+}
+const zy = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "tall",
+ array: "liste"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `For lite(n): forventet ${t.origin} til å ha ${i}${t.minimum.toString()} ${a.unit}` : `For lite(n): forventet ${t.origin} til å ha ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Ugyldig streng: må starte med "${i.prefix}"` : i.format === "ends_with" ? `Ugyldig streng: må ende med "${i.suffix}"` : i.format === "includes" ? `Ugyldig streng: må inneholde "${i.includes}"` : i.format === "regex" ? `Ugyldig streng: må matche mønsteret ${i.pattern}` : `Ugyldig ${r[i.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"}: ${I(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 Dy() {
+ return {
+ localeError: zy()
+ };
+}
+const Oy = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "numara",
+ array: "saf",
+ null: "gayb"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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ı.`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Fazla küçük: ${t.origin}, ${i}${t.minimum.toString()} ${a.unit} sahip olmalıydı.` : `Fazla küçük: ${t.origin}, ${i}${t.minimum.toString()} olmalıydı.`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Fâsit metin: "${i.prefix}" ile başlamalı.` : i.format === "ends_with" ? `Fâsit metin: "${i.suffix}" ile bitmeli.` : i.format === "includes" ? `Fâsit metin: "${i.includes}" ihtivâ etmeli.` : i.format === "regex" ? `Fâsit metin: ${i.pattern} nakşına uymalı.` : `Fâsit ${r[i.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" : ""}: ${I(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 jy() {
+ return {
+ localeError: Oy()
+ };
+}
+const Ey = () => {
+ 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: "ورودي"
+ }, o = {
+ nan: "NaN",
+ number: "عدد",
+ array: "ارې"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])} وای` : `ناسم انتخاب: باید یو له ${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()} وي`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `ډیر کوچنی: ${t.origin} باید ${i}${t.minimum.toString()} ${a.unit} ولري` : `ډیر کوچنی: ${t.origin} باید ${i}${t.minimum.toString()} وي`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `ناسم متن: باید د "${i.prefix}" سره پیل شي` : i.format === "ends_with" ? `ناسم متن: باید د "${i.suffix}" سره پای ته ورسيږي` : i.format === "includes" ? `ناسم متن: باید "${i.includes}" ولري` : i.format === "regex" ? `ناسم متن: باید د ${i.pattern} سره مطابقت ولري` : `${r[i.format] ?? t.format} ناسم دی`;
+ }
+ case "not_multiple_of":
+ return `ناسم عدد: باید د ${t.divisor} مضرب وي`;
+ case "unrecognized_keys":
+ return `ناسم ${t.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `ناسم کلیډ په ${t.origin} کې`;
+ case "invalid_union":
+ return "ناسمه ورودي";
+ case "invalid_element":
+ return `ناسم عنصر په ${t.origin} کې`;
+ default:
+ return "ناسمه ورودي";
+ }
+ };
+};
+function Uy() {
+ return {
+ localeError: Ey()
+ };
+}
+const xy = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "liczba",
+ array: "tablica"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Za mała wartość: oczekiwano, że ${t.origin ?? "wartość"} będzie mieć ${i}${t.minimum.toString()} ${a.unit ?? "elementów"}` : `Zbyt mał(y/a/e): oczekiwano, że ${t.origin ?? "wartość"} będzie wynosić ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Nieprawidłowy ciąg znaków: musi zaczynać się od "${i.prefix}"` : i.format === "ends_with" ? `Nieprawidłowy ciąg znaków: musi kończyć się na "${i.suffix}"` : i.format === "includes" ? `Nieprawidłowy ciąg znaków: musi zawierać "${i.includes}"` : i.format === "regex" ? `Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${i.pattern}` : `Nieprawidłow(y/a/e) ${r[i.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" : ""}: ${I(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 Ty() {
+ return {
+ localeError: xy()
+ };
+}
+const Ay = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "número",
+ null: "nulo"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Muito pequeno: esperado que ${t.origin} tivesse ${i}${t.minimum.toString()} ${a.unit}` : `Muito pequeno: esperado que ${t.origin} fosse ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Texto inválido: deve começar com "${i.prefix}"` : i.format === "ends_with" ? `Texto inválido: deve terminar com "${i.suffix}"` : i.format === "includes" ? `Texto inválido: deve incluir "${i.includes}"` : i.format === "regex" ? `Texto inválido: deve corresponder ao padrão ${i.pattern}` : `${r[i.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" : ""}: ${I(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 Ny() {
+ return {
+ localeError: Ay()
+ };
+}
+const Py = () => {
+ 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"
+ }, o = {
+ 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 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Prea mic: așteptat ca ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}` : `Prea mic: așteptat ca ${t.origin} să fie ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Șir invalid: trebuie să înceapă cu "${i.prefix}"` : i.format === "ends_with" ? `Șir invalid: trebuie să se termine cu "${i.suffix}"` : i.format === "includes" ? `Șir invalid: trebuie să includă "${i.includes}"` : i.format === "regex" ? `Șir invalid: trebuie să se potrivească cu modelul ${i.pattern}` : `Format invalid: ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `Număr invalid: trebuie să fie multiplu de ${t.divisor}`;
+ case "unrecognized_keys":
+ return `Chei nerecunoscute: ${I(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 Cy() {
+ return {
+ localeError: Py()
+ };
+}
+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 Zy = () => {
+ 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: "ввод"
+ }, o = {
+ nan: "NaN",
+ number: "число",
+ array: "массив"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `Неверный вариант: ожидалось одно из ${I(t.values, "|")}`;
+ case "too_big": {
+ const i = t.inclusive ? "<=" : "<", a = n(t.origin);
+ if (a) {
+ 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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ if (a) {
+ 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()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Неверная строка: должна начинаться с "${i.prefix}"` : i.format === "ends_with" ? `Неверная строка: должна заканчиваться на "${i.suffix}"` : i.format === "includes" ? `Неверная строка: должна содержать "${i.includes}"` : i.format === "regex" ? `Неверная строка: должна соответствовать шаблону ${i.pattern}` : `Неверный ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `Неверное число: должно быть кратным ${t.divisor}`;
+ case "unrecognized_keys":
+ return `Нераспознанн${t.keys.length > 1 ? "ые" : "ый"} ключ${t.keys.length > 1 ? "и" : ""}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `Неверный ключ в ${t.origin}`;
+ case "invalid_union":
+ return "Неверные входные данные";
+ case "invalid_element":
+ return `Неверное значение в ${t.origin}`;
+ default:
+ return "Неверные входные данные";
+ }
+ };
+};
+function My() {
+ return {
+ localeError: Zy()
+ };
+}
+const Fy = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "število",
+ array: "tabela"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Premajhno: pričakovano, da bo ${t.origin} imelo ${i}${t.minimum.toString()} ${a.unit}` : `Premajhno: pričakovano, da bo ${t.origin} ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Neveljaven niz: mora se začeti z "${i.prefix}"` : i.format === "ends_with" ? `Neveljaven niz: mora se končati z "${i.suffix}"` : i.format === "includes" ? `Neveljaven niz: mora vsebovati "${i.includes}"` : i.format === "regex" ? `Neveljaven niz: mora ustrezati vzorcu ${i.pattern}` : `Neveljaven ${r[i.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č"}: ${I(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 Ly() {
+ return {
+ localeError: Fy()
+ };
+}
+const Ry = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "antal",
+ array: "lista"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `För lite(t): förväntade ${t.origin ?? "värdet"} att ha ${i}${t.minimum.toString()} ${a.unit}` : `För lite(t): förväntade ${t.origin ?? "värdet"} att ha ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Ogiltig sträng: måste börja med "${i.prefix}"` : i.format === "ends_with" ? `Ogiltig sträng: måste sluta med "${i.suffix}"` : i.format === "includes" ? `Ogiltig sträng: måste innehålla "${i.includes}"` : i.format === "regex" ? `Ogiltig sträng: måste matcha mönstret "${i.pattern}"` : `Ogiltig(t) ${r[i.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"}: ${I(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 By() {
+ return {
+ localeError: Ry()
+ };
+}
+const Vy = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "எண்",
+ array: "அணி",
+ null: "வெறுமை"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${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()} ஆக இருக்க வேண்டும்`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${i}${t.minimum.toString()} ${a.unit} ஆக இருக்க வேண்டும்` : `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${i}${t.minimum.toString()} ஆக இருக்க வேண்டும்`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `தவறான சரம்: "${i.prefix}" இல் தொடங்க வேண்டும்` : i.format === "ends_with" ? `தவறான சரம்: "${i.suffix}" இல் முடிவடைய வேண்டும்` : i.format === "includes" ? `தவறான சரம்: "${i.includes}" ஐ உள்ளடக்க வேண்டும்` : i.format === "regex" ? `தவறான சரம்: ${i.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்` : `தவறான ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `தவறான எண்: ${t.divisor} இன் பலமாக இருக்க வேண்டும்`;
+ case "unrecognized_keys":
+ return `அடையாளம் தெரியாத விசை${t.keys.length > 1 ? "கள்" : ""}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `${t.origin} இல் தவறான விசை`;
+ case "invalid_union":
+ return "தவறான உள்ளீடு";
+ case "invalid_element":
+ return `${t.origin} இல் தவறான மதிப்பு`;
+ default:
+ return "தவறான உள்ளீடு";
+ }
+ };
+};
+function Jy() {
+ return {
+ localeError: Vy()
+ };
+}
+const qy = () => {
+ 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: "ข้อมูลที่ป้อน"
+ }, o = {
+ nan: "NaN",
+ number: "ตัวเลข",
+ array: "อาร์เรย์ (Array)",
+ null: "ไม่มีค่า (null)"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? "อย่างน้อย" : "มากกว่า", a = n(t.origin);
+ return a ? `น้อยกว่ากำหนด: ${t.origin} ควรมี${i} ${t.minimum.toString()} ${a.unit}` : `น้อยกว่ากำหนด: ${t.origin} ควรมี${i} ${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${i.prefix}"` : i.format === "ends_with" ? `รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${i.suffix}"` : i.format === "includes" ? `รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${i.includes}" อยู่ในข้อความ` : i.format === "regex" ? `รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${i.pattern}` : `รูปแบบไม่ถูกต้อง: ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${t.divisor} ได้ลงตัว`;
+ case "unrecognized_keys":
+ return `พบคีย์ที่ไม่รู้จัก: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `คีย์ไม่ถูกต้องใน ${t.origin}`;
+ case "invalid_union":
+ return "ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";
+ case "invalid_element":
+ return `ข้อมูลไม่ถูกต้องใน ${t.origin}`;
+ default:
+ return "ข้อมูลไม่ถูกต้อง";
+ }
+ };
+};
+function Wy() {
+ return {
+ localeError: qy()
+ };
+}
+const Gy = () => {
+ 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"
+ }, o = {
+ nan: "NaN"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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ı: ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Çok küçük: beklenen ${t.origin} ${i}${t.minimum.toString()} ${a.unit}` : `Çok küçük: beklenen ${t.origin} ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Geçersiz metin: "${i.prefix}" ile başlamalı` : i.format === "ends_with" ? `Geçersiz metin: "${i.suffix}" ile bitmeli` : i.format === "includes" ? `Geçersiz metin: "${i.includes}" içermeli` : i.format === "regex" ? `Geçersiz metin: ${i.pattern} desenine uymalı` : `Geçersiz ${r[i.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" : ""}: ${I(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 Ky() {
+ return {
+ localeError: Gy()
+ };
+}
+const Xy = () => {
+ 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: "вхідні дані"
+ }, o = {
+ nan: "NaN",
+ number: "число",
+ array: "масив"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `Неправильна опція: очікується одне з ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Занадто мале: очікується, що ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}` : `Занадто мале: очікується, що ${t.origin} буде ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Неправильний рядок: повинен починатися з "${i.prefix}"` : i.format === "ends_with" ? `Неправильний рядок: повинен закінчуватися на "${i.suffix}"` : i.format === "includes" ? `Неправильний рядок: повинен містити "${i.includes}"` : i.format === "regex" ? `Неправильний рядок: повинен відповідати шаблону ${i.pattern}` : `Неправильний ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `Неправильне число: повинно бути кратним ${t.divisor}`;
+ case "unrecognized_keys":
+ return `Нерозпізнаний ключ${t.keys.length > 1 ? "і" : ""}: ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `Неправильний ключ у ${t.origin}`;
+ case "invalid_union":
+ return "Неправильні вхідні дані";
+ case "invalid_element":
+ return `Неправильне значення у ${t.origin}`;
+ default:
+ return "Неправильні вхідні дані";
+ }
+ };
+};
+function xs() {
+ return {
+ localeError: Xy()
+ };
+}
+function Hy() {
+ return xs();
+}
+const Yy = () => {
+ 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: "ان پٹ"
+ }, o = {
+ nan: "NaN",
+ number: "نمبر",
+ array: "آرے",
+ null: "نل"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])} متوقع تھا` : `غلط آپشن: ${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()} ہونا متوقع تھا`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `بہت چھوٹا: ${t.origin} کے ${i}${t.minimum.toString()} ${a.unit} ہونے متوقع تھے` : `بہت چھوٹا: ${t.origin} کا ${i}${t.minimum.toString()} ہونا متوقع تھا`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `غلط سٹرنگ: "${i.prefix}" سے شروع ہونا چاہیے` : i.format === "ends_with" ? `غلط سٹرنگ: "${i.suffix}" پر ختم ہونا چاہیے` : i.format === "includes" ? `غلط سٹرنگ: "${i.includes}" شامل ہونا چاہیے` : i.format === "regex" ? `غلط سٹرنگ: پیٹرن ${i.pattern} سے میچ ہونا چاہیے` : `غلط ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `غلط نمبر: ${t.divisor} کا مضاعف ہونا چاہیے`;
+ case "unrecognized_keys":
+ return `غیر تسلیم شدہ کی${t.keys.length > 1 ? "ز" : ""}: ${I(t.keys, "، ")}`;
+ case "invalid_key":
+ return `${t.origin} میں غلط کی`;
+ case "invalid_union":
+ return "غلط ان پٹ";
+ case "invalid_element":
+ return `${t.origin} میں غلط ویلیو`;
+ default:
+ return "غلط ان پٹ";
+ }
+ };
+};
+function Qy() {
+ return {
+ localeError: Yy()
+ };
+}
+const ek = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "raqam",
+ array: "massiv"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Juda kichik: kutilgan ${t.origin} ${i}${t.minimum.toString()} ${a.unit} ${a.verb}` : `Juda kichik: kutilgan ${t.origin} ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Noto‘g‘ri satr: "${i.prefix}" bilan boshlanishi kerak` : i.format === "ends_with" ? `Noto‘g‘ri satr: "${i.suffix}" bilan tugashi kerak` : i.format === "includes" ? `Noto‘g‘ri satr: "${i.includes}" ni o‘z ichiga olishi kerak` : i.format === "regex" ? `Noto‘g‘ri satr: ${i.pattern} shabloniga mos kelishi kerak` : `Noto‘g‘ri ${r[i.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" : ""}: ${I(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 tk() {
+ return {
+ localeError: ek()
+ };
+}
+const nk = () => {
+ 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"
+ }, o = {
+ nan: "NaN",
+ number: "số",
+ array: "mảng"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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ị ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Quá nhỏ: mong đợi ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}` : `Quá nhỏ: mong đợi ${t.origin} ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Chuỗi không hợp lệ: phải bắt đầu bằng "${i.prefix}"` : i.format === "ends_with" ? `Chuỗi không hợp lệ: phải kết thúc bằng "${i.suffix}"` : i.format === "includes" ? `Chuỗi không hợp lệ: phải bao gồm "${i.includes}"` : i.format === "regex" ? `Chuỗi không hợp lệ: phải khớp với mẫu ${i.pattern}` : `${r[i.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: ${I(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 rk() {
+ return {
+ localeError: nk()
+ };
+}
+const ik = () => {
+ 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: "输入"
+ }, o = {
+ nan: "NaN",
+ number: "数字",
+ array: "数组",
+ null: "空值(null)"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `无效选项:期望以下之一 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `数值过小:期望 ${t.origin} ${i}${t.minimum.toString()} ${a.unit}` : `数值过小:期望 ${t.origin} ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `无效字符串:必须以 "${i.prefix}" 开头` : i.format === "ends_with" ? `无效字符串:必须以 "${i.suffix}" 结尾` : i.format === "includes" ? `无效字符串:必须包含 "${i.includes}"` : i.format === "regex" ? `无效字符串:必须满足正则表达式 ${i.pattern}` : `无效${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `无效数字:必须是 ${t.divisor} 的倍数`;
+ case "unrecognized_keys":
+ return `出现未知的键(key): ${I(t.keys, ", ")}`;
+ case "invalid_key":
+ return `${t.origin} 中的键(key)无效`;
+ case "invalid_union":
+ return "无效输入";
+ case "invalid_element":
+ return `${t.origin} 中包含无效值(value)`;
+ default:
+ return "无效输入";
+ }
+ };
+};
+function ok() {
+ return {
+ localeError: ik()
+ };
+}
+const ak = () => {
+ 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: "輸入"
+ }, o = {
+ nan: "NaN"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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])}` : `無效的選項:預期為以下其中之一 ${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()}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `數值過小:預期 ${t.origin} 應為 ${i}${t.minimum.toString()} ${a.unit}` : `數值過小:預期 ${t.origin} 應為 ${i}${t.minimum.toString()}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `無效的字串:必須以 "${i.prefix}" 開頭` : i.format === "ends_with" ? `無效的字串:必須以 "${i.suffix}" 結尾` : i.format === "includes" ? `無效的字串:必須包含 "${i.includes}"` : i.format === "regex" ? `無效的字串:必須符合格式 ${i.pattern}` : `無效的 ${r[i.format] ?? t.format}`;
+ }
+ case "not_multiple_of":
+ return `無效的數字:必須為 ${t.divisor} 的倍數`;
+ case "unrecognized_keys":
+ return `無法識別的鍵值${t.keys.length > 1 ? "們" : ""}:${I(t.keys, "、")}`;
+ case "invalid_key":
+ return `${t.origin} 中有無效的鍵值`;
+ case "invalid_union":
+ return "無效的輸入值";
+ case "invalid_element":
+ return `${t.origin} 中有無效的值`;
+ default:
+ return "無效的輸入值";
+ }
+ };
+};
+function lk() {
+ return {
+ localeError: ak()
+ };
+}
+const uk = () => {
+ 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é"
+ }, o = {
+ nan: "NaN",
+ number: "nọ́mbà",
+ array: "akopọ"
+ };
+ return (t) => {
+ switch (t.code) {
+ case "invalid_type": {
+ 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 ${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}`;
+ }
+ case "too_small": {
+ const i = t.inclusive ? ">=" : ">", a = n(t.origin);
+ return a ? `Kéré ju: a ní láti jẹ́ pé ${t.origin} ${a.verb} ${i}${t.minimum} ${a.unit}` : `Kéré ju: a ní láti jẹ́ ${i}${t.minimum}`;
+ }
+ case "invalid_format": {
+ const i = t;
+ return i.format === "starts_with" ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${i.prefix}"` : i.format === "ends_with" ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${i.suffix}"` : i.format === "includes" ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${i.includes}"` : i.format === "regex" ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${i.pattern}` : `Aṣìṣe: ${r[i.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ọ̀: ${I(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 sk() {
+ return {
+ localeError: uk()
+ };
+}
+const Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+ __proto__: null,
+ 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: 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 fa;
+const As = Symbol("ZodOutput"), Ns = Symbol("ZodInput");
+class Ps {
+ constructor() {
+ this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
+ }
+ add(n, ...r) {
+ const o = r[0];
+ return this._map.set(n, o), o && typeof o == "object" && "id" in o && this._idmap.set(o.id, n), this;
+ }
+ clear() {
+ return this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ 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 o = { ...this.get(r) ?? {} };
+ delete o.id;
+ const t = { ...o, ...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 ni() {
+ return new Ps();
+}
+(fa = globalThis).__zod_globalRegistry ?? (fa.__zod_globalRegistry = ni());
+const Ne = globalThis.__zod_globalRegistry;
+// @__NO_SIDE_EFFECTS__
+function Cs(e, n) {
+ return new e({
+ type: "string",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Zs(e, n) {
+ return new e({
+ type: "string",
+ coerce: !0,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function ri(e, n) {
+ return new e({
+ type: "string",
+ format: "email",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function hn(e, n) {
+ return new e({
+ type: "string",
+ format: "guid",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function ii(e, n) {
+ return new e({
+ type: "string",
+ format: "uuid",
+ check: "string_format",
+ abort: !1,
+ ...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",
+ check: "string_format",
+ abort: !1,
+ version: "v7",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Dn(e, n) {
+ return new e({
+ type: "string",
+ format: "url",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function ui(e, n) {
+ return new e({
+ type: "string",
+ format: "emoji",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function si(e, n) {
+ return new e({
+ type: "string",
+ format: "nanoid",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function ci(e, n) {
+ return new e({
+ type: "string",
+ format: "cuid",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function di(e, n) {
+ return new e({
+ type: "string",
+ format: "cuid2",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function mi(e, n) {
+ return new e({
+ type: "string",
+ format: "ulid",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function fi(e, n) {
+ return new e({
+ type: "string",
+ format: "xid",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function vi(e, n) {
+ return new e({
+ type: "string",
+ format: "ksuid",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function pi(e, n) {
+ return new e({
+ type: "string",
+ format: "ipv4",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function gi(e, n) {
+ return new e({
+ type: "string",
+ format: "ipv6",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Ms(e, n) {
+ return new e({
+ type: "string",
+ format: "mac",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function hi(e, n) {
+ return new e({
+ type: "string",
+ format: "cidrv4",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function bi(e, n) {
+ return new e({
+ type: "string",
+ format: "cidrv6",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function $i(e, n) {
+ return new e({
+ type: "string",
+ format: "base64",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function _i(e, n) {
+ return new e({
+ type: "string",
+ format: "base64url",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function yi(e, n) {
+ return new e({
+ type: "string",
+ format: "e164",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function ki(e, n) {
+ return new e({
+ type: "string",
+ format: "jwt",
+ check: "string_format",
+ abort: !1,
+ ...y(n)
+ });
+}
+const Fs = {
+ Any: null,
+ Minute: -1,
+ Second: 0,
+ Millisecond: 3,
+ Microsecond: 6
+};
+// @__NO_SIDE_EFFECTS__
+function Ls(e, n) {
+ return new e({
+ type: "string",
+ format: "datetime",
+ check: "string_format",
+ offset: !1,
+ local: !1,
+ precision: null,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Rs(e, n) {
+ return new e({
+ type: "string",
+ format: "date",
+ check: "string_format",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Bs(e, n) {
+ return new e({
+ type: "string",
+ format: "time",
+ check: "string_format",
+ precision: null,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Vs(e, n) {
+ return new e({
+ type: "string",
+ format: "duration",
+ check: "string_format",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Js(e, n) {
+ return new e({
+ type: "number",
+ checks: [],
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function qs(e, n) {
+ return new e({
+ type: "number",
+ coerce: !0,
+ checks: [],
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Ws(e, n) {
+ return new e({
+ type: "number",
+ check: "number_format",
+ abort: !1,
+ format: "safeint",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Gs(e, n) {
+ return new e({
+ type: "number",
+ check: "number_format",
+ abort: !1,
+ format: "float32",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Ks(e, n) {
+ return new e({
+ type: "number",
+ check: "number_format",
+ abort: !1,
+ format: "float64",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Xs(e, n) {
+ return new e({
+ type: "number",
+ check: "number_format",
+ abort: !1,
+ format: "int32",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Hs(e, n) {
+ return new e({
+ type: "number",
+ check: "number_format",
+ abort: !1,
+ format: "uint32",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Ys(e, n) {
+ return new e({
+ type: "boolean",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Qs(e, n) {
+ return new e({
+ type: "boolean",
+ coerce: !0,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function ec(e, n) {
+ return new e({
+ type: "bigint",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function tc(e, n) {
+ return new e({
+ type: "bigint",
+ coerce: !0,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function nc(e, n) {
+ return new e({
+ type: "bigint",
+ check: "bigint_format",
+ abort: !1,
+ format: "int64",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function rc(e, n) {
+ return new e({
+ type: "bigint",
+ check: "bigint_format",
+ abort: !1,
+ format: "uint64",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function ic(e, n) {
+ return new e({
+ 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 lc(e) {
+ return new e({
+ type: "any"
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function uc(e) {
+ return new e({
+ type: "unknown"
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function sc(e, n) {
+ return new e({
+ type: "never",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function cc(e, n) {
+ return new e({
+ type: "void",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function dc(e, n) {
+ return new e({
+ type: "date",
+ ...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 We(e, n) {
+ return new qr({
+ check: "less_than",
+ ...y(n),
+ value: e,
+ inclusive: !1
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Pe(e, n) {
+ return new qr({
+ check: "less_than",
+ ...y(n),
+ value: e,
+ inclusive: !0
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Ge(e, n) {
+ return new Wr({
+ check: "greater_than",
+ ...y(n),
+ value: e,
+ inclusive: !1
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function je(e, n) {
+ return new Wr({
+ check: "greater_than",
+ ...y(n),
+ value: e,
+ inclusive: !0
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Si(e) {
+ return /* @__PURE__ */ Ge(0, e);
+}
+// @__NO_SIDE_EFFECTS__
+function Ii(e) {
+ return /* @__PURE__ */ We(0, e);
+}
+// @__NO_SIDE_EFFECTS__
+function wi(e) {
+ return /* @__PURE__ */ Pe(0, e);
+}
+// @__NO_SIDE_EFFECTS__
+function zi(e) {
+ return /* @__PURE__ */ je(0, e);
+}
+// @__NO_SIDE_EFFECTS__
+function mt(e, n) {
+ return new Hl({
+ check: "multiple_of",
+ ...y(n),
+ value: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function bt(e, n) {
+ return new eu({
+ check: "max_size",
+ ...y(n),
+ maximum: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Ke(e, n) {
+ return new tu({
+ check: "min_size",
+ ...y(n),
+ minimum: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Ft(e, n) {
+ return new nu({
+ check: "size_equals",
+ ...y(n),
+ size: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Lt(e, n) {
+ return new ru({
+ check: "max_length",
+ ...y(n),
+ maximum: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function tt(e, n) {
+ return new iu({
+ check: "min_length",
+ ...y(n),
+ minimum: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Rt(e, n) {
+ return new ou({
+ check: "length_equals",
+ ...y(n),
+ length: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function On(e, n) {
+ return new au({
+ check: "string_format",
+ format: "regex",
+ ...y(n),
+ pattern: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function jn(e) {
+ return new lu({
+ check: "string_format",
+ format: "lowercase",
+ ...y(e)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function En(e) {
+ return new uu({
+ check: "string_format",
+ format: "uppercase",
+ ...y(e)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Un(e, n) {
+ return new su({
+ check: "string_format",
+ format: "includes",
+ ...y(n),
+ includes: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function xn(e, n) {
+ return new cu({
+ check: "string_format",
+ format: "starts_with",
+ ...y(n),
+ prefix: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Tn(e, n) {
+ return new du({
+ check: "string_format",
+ format: "ends_with",
+ ...y(n),
+ suffix: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Di(e, n, r) {
+ return new mu({
+ check: "property",
+ property: e,
+ schema: n,
+ ...y(r)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function An(e, n) {
+ return new fu({
+ check: "mime_type",
+ mime: e,
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Je(e) {
+ return new vu({
+ check: "overwrite",
+ tx: e
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Nn(e) {
+ return /* @__PURE__ */ Je((n) => n.normalize(e));
+}
+// @__NO_SIDE_EFFECTS__
+function Pn() {
+ return /* @__PURE__ */ Je((e) => e.trim());
+}
+// @__NO_SIDE_EFFECTS__
+function Cn() {
+ return /* @__PURE__ */ Je((e) => e.toLowerCase());
+}
+// @__NO_SIDE_EFFECTS__
+function Zn() {
+ return /* @__PURE__ */ Je((e) => e.toUpperCase());
+}
+// @__NO_SIDE_EFFECTS__
+function Mn() {
+ return /* @__PURE__ */ Je((e) => Wa(e));
+}
+// @__NO_SIDE_EFFECTS__
+function vc(e, n, r) {
+ return new e({
+ type: "array",
+ element: n,
+ // get element() {
+ // return element;
+ // },
+ ...y(r)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function ck(e, n, r) {
+ return new e({
+ type: "union",
+ options: n,
+ ...y(r)
+ });
+}
+function dk(e, n, r) {
+ return new e({
+ type: "union",
+ options: n,
+ inclusive: !1,
+ ...y(r)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function mk(e, n, r, o) {
+ return new e({
+ type: "union",
+ options: r,
+ discriminator: n,
+ ...y(o)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function fk(e, n, r) {
+ return new e({
+ type: "intersection",
+ left: n,
+ right: r
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function vk(e, n, r, o) {
+ const t = r instanceof X, i = t ? o : r, a = t ? r : null;
+ return new e({
+ type: "tuple",
+ items: n,
+ rest: a,
+ ...y(i)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function pk(e, n, r, o) {
+ return new e({
+ type: "record",
+ keyType: n,
+ valueType: r,
+ ...y(o)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function gk(e, n, r, o) {
+ return new e({
+ type: "map",
+ keyType: n,
+ valueType: r,
+ ...y(o)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function hk(e, n, r) {
+ return new e({
+ type: "set",
+ valueType: n,
+ ...y(r)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function bk(e, n, r) {
+ const o = Array.isArray(n) ? Object.fromEntries(n.map((t) => [t, t])) : n;
+ return new e({
+ type: "enum",
+ entries: o,
+ ...y(r)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function $k(e, n, r) {
+ return new e({
+ type: "enum",
+ entries: n,
+ ...y(r)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function _k(e, n, r) {
+ return new e({
+ type: "literal",
+ values: Array.isArray(n) ? n : [n],
+ ...y(r)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function pc(e, n) {
+ return new e({
+ type: "file",
+ ...y(n)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function yk(e, n) {
+ return new e({
+ type: "transform",
+ transform: n
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function kk(e, n) {
+ return new e({
+ type: "optional",
+ innerType: n
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Sk(e, n) {
+ return new e({
+ type: "nullable",
+ innerType: n
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Ik(e, n, r) {
+ return new e({
+ type: "default",
+ innerType: n,
+ get defaultValue() {
+ return typeof r == "function" ? r() : Sn(r);
+ }
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function wk(e, n, r) {
+ return new e({
+ type: "nonoptional",
+ innerType: n,
+ ...y(r)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function zk(e, n) {
+ return new e({
+ type: "success",
+ innerType: n
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Dk(e, n, r) {
+ return new e({
+ type: "catch",
+ innerType: n,
+ catchValue: typeof r == "function" ? r : () => r
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Ok(e, n, r) {
+ return new e({
+ type: "pipe",
+ in: n,
+ out: r
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function jk(e, n) {
+ return new e({
+ type: "readonly",
+ innerType: n
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Ek(e, n, r) {
+ return new e({
+ type: "template_literal",
+ parts: n,
+ ...y(r)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function Uk(e, n) {
+ return new e({
+ type: "lazy",
+ getter: n
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function xk(e, n) {
+ return new e({
+ type: "promise",
+ innerType: n
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function gc(e, n, r) {
+ const o = y(r);
+ return o.abort ?? (o.abort = !0), new e({
+ type: "custom",
+ check: "custom",
+ fn: n,
+ ...o
+ });
+}
+// @__NO_SIDE_EFFECTS__
+function hc(e, n, r) {
+ return new e({
+ type: "custom",
+ check: "custom",
+ fn: n,
+ ...y(r)
+ });
+}
+// @__NO_SIDE_EFFECTS__
+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));
+ else {
+ const i = t;
+ i.fatal && (i.continue = !1), i.code ?? (i.code = "custom"), i.input ?? (i.input = o.value), i.inst ?? (i.inst = r), i.continue ?? (i.continue = !r._zod.def.abort), o.issues.push(ct(i));
+ }
+ }, e(o.value, o)), n);
+ return r;
+}
+// @__NO_SIDE_EFFECTS__
+function $c(e, n) {
+ const r = new fe({
+ check: "custom",
+ ...y(n)
+ });
+ return r._zod.check = e, r;
+}
+// @__NO_SIDE_EFFECTS__
+function _c(e) {
+ const n = new fe({ check: "describe" });
+ return n._zod.onattach = [
+ (r) => {
+ const o = Ne.get(r) ?? {};
+ Ne.add(r, { ...o, description: e });
+ }
+ ], n._zod.check = () => {
+ }, n;
+}
+// @__NO_SIDE_EFFECTS__
+function yc(e) {
+ const n = new fe({ check: "meta" });
+ return n._zod.onattach = [
+ (r) => {
+ const o = Ne.get(r) ?? {};
+ Ne.add(r, { ...o, ...e });
+ }
+ ], n._zod.check = () => {
+ }, n;
+}
+// @__NO_SIDE_EFFECTS__
+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 ?? 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,
+ transform: ((f, h) => {
+ let g = f;
+ return r.case !== "sensitive" && (g = g.toLowerCase()), i.has(g) ? !0 : a.has(g) ? !1 : (h.issues.push({
+ code: "invalid_value",
+ expected: "stringbool",
+ values: [...i, ...a],
+ input: h.value,
+ inst: m,
+ continue: !1
+ }), {});
+ }),
+ reverseTransform: ((f, h) => f === !0 ? o[0] || "true" : t[0] || "false"),
+ error: r.error
+ });
+ return m;
+}
+// @__NO_SIDE_EFFECTS__
+function Bt(e, n, r, o = {}) {
+ const t = y(o), i = {
+ ...y(o),
+ check: "string_format",
+ type: "string",
+ format: n,
+ fn: typeof r == "function" ? r : (l) => r.test(l),
+ ...t
+ };
+ return r instanceof RegExp && (i.pattern = r), new e(i);
+}
+function ft(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) ?? Ne,
+ 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: /* @__PURE__ */ 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 le(e, n, r = { path: [], schemaPath: [] }) {
+ var d, c;
+ var o;
+ const t = e._zod.def, i = n.seen.get(e);
+ if (i)
+ return i.count++, r.schemaPath.includes(e) && (i.cycle = r.path), i.schema;
+ const a = { schema: {}, count: 1, cycle: void 0, path: r.path };
+ n.seen.set(e, a);
+ const l = (c = (d = e._zod).toJSONSchema) == null ? void 0 : c.call(d);
+ if (l)
+ a.schema = l;
+ else {
+ const m = {
+ ...r,
+ schemaPath: [...r.schemaPath, e],
+ path: r.path
+ };
+ if (e._zod.processJSONSchema)
+ e._zod.processJSONSchema(n, a.schema, m);
+ else {
+ const h = a.schema, g = n.processors[t.type];
+ if (!g)
+ throw new Error(`[toJSONSchema]: Non-representable type encountered: ${t.type}`);
+ g(e, n, h, m);
+ }
+ const f = e._zod.parent;
+ 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" && 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;
+ const r = e.seen.get(n);
+ if (!r)
+ throw new Error("Unprocessed schema. This is a bug in Zod.");
+ const o = /* @__PURE__ */ new Map();
+ for (const d of e.seen.entries()) {
+ const c = (a = e.metadataRegistry.get(d[0])) == null ? void 0 : a.id;
+ if (c) {
+ const m = o.get(c);
+ if (m && m !== d[0])
+ throw new Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
+ o.set(c, d[0]);
+ }
+ }
+ const t = (d) => {
+ 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, O = e.external.uri ?? ((C) => C);
+ if (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: `${O("__shared")}#/${c}/${w}` };
+ }
+ if (d[1] === r)
+ return { ref: "#" };
+ const f = `#/${c}/`, h = d[1].schema.id ?? `__schema${e.counter++}`;
+ return { defId: h, ref: f + h };
+ }, i = (d) => {
+ if (d[1].schema.$ref)
+ return;
+ const c = d[1], { ref: m, defId: f } = t(d);
+ c.def = { ...c.schema }, f && (c.defId = f);
+ const h = c.schema;
+ for (const g in h)
+ delete h[g];
+ h.$ref = m;
+ };
+ if (e.cycles === "throw")
+ for (const d of e.seen.entries()) {
+ const c = d[1];
+ if (c.cycle)
+ throw new Error(`Cycle detected: #/${(l = c.cycle) == null ? void 0 : l.join("/")}/
+
+Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);
+ }
+ for (const d of e.seen.entries()) {
+ const c = d[1];
+ if (n === d[0]) {
+ i(d);
+ continue;
+ }
+ if (e.external) {
+ const f = (s = e.external.registry.get(d[0])) == null ? void 0 : s.id;
+ if (n !== d[0] && f) {
+ i(d);
+ continue;
+ }
+ }
+ if ((u = e.metadataRegistry.get(d[0])) == null ? void 0 : u.id) {
+ i(d);
+ continue;
+ }
+ if (c.cycle) {
+ i(d);
+ continue;
+ }
+ if (c.count > 1 && e.reused === "ref") {
+ i(d);
+ continue;
+ }
+ }
+}
+function pt(e, n) {
+ var l, s, u, d;
+ const r = e.seen.get(n);
+ if (!r)
+ throw new Error("Unprocessed schema. This is a bug in Zod.");
+ const o = (c) => {
+ const m = e.seen.get(c);
+ if (m.ref === null)
+ return;
+ const f = m.def ?? m.schema, h = { ...f }, g = m.ref;
+ if (m.ref = null, g) {
+ o(g);
+ 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 && O.def)
+ for (const P in f)
+ 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 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 O.def && JSON.stringify(f[w]) === JSON.stringify(O.def[w]) && delete f[w];
+ }
+ e.override({
+ zodSchema: c,
+ jsonSchema: f,
+ path: m.path ?? []
+ });
+ };
+ for (const c of [...e.seen.entries()].reverse())
+ o(c[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, (l = e.external) != null && l.uri) {
+ const c = (s = e.external.registry.get(n)) == null ? void 0 : s.id;
+ if (!c)
+ throw new Error("Schema is missing an `id` property");
+ t.$id = e.external.uri(c);
+ }
+ Object.assign(t, r.def ?? r.schema);
+ const i = (u = e.metadataRegistry.get(n)) == null ? void 0 : u.id;
+ i !== void 0 && t.id === i && delete t.id;
+ const a = ((d = e.external) == null ? void 0 : d.defs) ?? {};
+ for (const c of e.seen.entries()) {
+ const m = c[1];
+ m.def && m.defId && (m.def.id === m.defId && delete m.def.id, a[m.defId] = m.def);
+ }
+ e.external || Object.keys(a).length > 0 && (e.target === "draft-2020-12" ? t.$defs = a : t.definitions = a);
+ try {
+ const c = JSON.parse(JSON.stringify(t));
+ return Object.defineProperty(c, "~standard", {
+ value: {
+ ...n["~standard"],
+ jsonSchema: {
+ input: zt(n, "input", e.processors),
+ output: zt(n, "output", e.processors)
+ }
+ },
+ enumerable: !1,
+ writable: !1
+ }), c;
+ } catch {
+ throw new Error("Error converting schema to JSON.");
+ }
+}
+function Oe(e, n) {
+ const r = n ?? { seen: /* @__PURE__ */ new Set() };
+ if (r.seen.has(e))
+ return !1;
+ r.seen.add(e);
+ const o = e._zod.def;
+ if (o.type === "transform")
+ return !0;
+ if (o.type === "array")
+ return Oe(o.element, r);
+ if (o.type === "set")
+ return Oe(o.valueType, r);
+ if (o.type === "lazy")
+ 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 Oe(o.innerType, r);
+ if (o.type === "intersection")
+ return Oe(o.left, r) || Oe(o.right, r);
+ if (o.type === "record" || o.type === "map")
+ return Oe(o.keyType, r) || Oe(o.valueType, r);
+ if (o.type === "pipe")
+ 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 (Oe(o.shape[t], r))
+ return !0;
+ return !1;
+ }
+ if (o.type === "union") {
+ for (const t of o.options)
+ if (Oe(t, r))
+ return !0;
+ return !1;
+ }
+ if (o.type === "tuple") {
+ for (const t of o.items)
+ if (Oe(t, r))
+ return !0;
+ return !!(o.rest && Oe(o.rest, r));
+ }
+ return !1;
+}
+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);
+}, Tk = {
+ guid: "uuid",
+ url: "uri",
+ datetime: "date-time",
+ json_string: "json-string",
+ regex: ""
+ // do not set
+}, 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 = 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) => ({
+ ...n.target === "draft-07" || n.target === "draft-04" || n.target === "openapi-3.0" ? { type: "string" } : {},
+ pattern: c.source
+ }))
+ ]);
+ }
+}, 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);
+}, zc = (e, n, r, o) => {
+ r.type = "boolean";
+}, Dc = (e, n, r, o) => {
+ if (n.unrepresentable === "throw")
+ throw new Error("BigInt cannot be represented in JSON Schema");
+}, Oc = (e, n, r, o) => {
+ if (n.unrepresentable === "throw")
+ 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("Undefined cannot be represented in JSON Schema");
+}, Uc = (e, n, r, o) => {
+ 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");
+}, 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) {
+ 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");
+ i.push(Number(a));
+ } else
+ i.push(a);
+ if (i.length !== 0) if (i.length === 1) {
+ const a = i[0];
+ 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;
+}, Zc = (e, n, r, o) => {
+ if (n.unrepresentable === "throw")
+ throw new Error("NaN cannot be represented in JSON Schema");
+}, 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;
+}, 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);
+}, Lc = (e, n, r, o) => {
+ r.type = "boolean";
+}, Rc = (e, n, r, o) => {
+ if (n.unrepresentable === "throw")
+ throw new Error("Custom types cannot be represented in JSON Schema");
+}, Bc = (e, n, r, o) => {
+ if (n.unrepresentable === "throw")
+ throw new Error("Function types cannot be represented in JSON Schema");
+}, Vc = (e, n, r, o) => {
+ if (n.unrepresentable === "throw")
+ throw new Error("Transforms cannot be represented in JSON Schema");
+}, Jc = (e, n, r, o) => {
+ if (n.unrepresentable === "throw")
+ 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,
+ path: [...o.path, "items"]
+ });
+}, Gc = (e, n, r, o) => {
+ var u;
+ const t = r, i = e._zod.def;
+ t.type = "object", t.properties = {};
+ const a = i.shape;
+ for (const d in a)
+ t.properties[d] = le(a[d], n, {
+ ...o,
+ path: [...o.path, "properties", d]
+ });
+ const l = new Set(Object.keys(a)), s = new Set([...l].filter((d) => {
+ const c = i.shape[d]._zod;
+ return n.io === "input" ? c.optin === void 0 : c.optout === void 0;
+ }));
+ s.size > 0 && (t.required = Array.from(s)), ((u = i.catchall) == null ? void 0 : u._zod.def.type) === "never" ? t.additionalProperties = !1 : i.catchall ? i.catchall && (t.additionalProperties = le(i.catchall, n, {
+ ...o,
+ path: [...o.path, "additionalProperties"]
+ })) : n.io === "output" && (t.additionalProperties = !1);
+}, 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;
+}, Kc = (e, n, r, o) => {
+ const t = e._zod.def, i = le(t.left, n, {
+ ...o,
+ path: [...o.path, "allOf", 0]
+ }), a = le(t.right, n, {
+ ...o,
+ path: [...o.path, "allOf", 1]
+ }), l = (u) => "allOf" in u && Object.keys(u).length === 1, s = [
+ ...l(i) ? i.allOf : [i],
+ ...l(a) ? a.allOf : [a]
+ ];
+ r.allOf = s;
+}, 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, {
+ ...o,
+ path: [...o.path, a, f]
+ })), u = i.rest ? le(i.rest, n, {
+ ...o,
+ path: [...o.path, l, ...n.target === "openapi-3.0" ? [i.items.length] : []]
+ }) : null;
+ n.target === "draft-2020-12" ? (t.prefixItems = s, u && (t.items = u)) : n.target === "openapi-3.0" ? (t.items = {
+ anyOf: s
+ }, 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);
+}, 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;
+ if (i.mode === "loose" && s && s.size > 0) {
+ const d = le(i.valueType, n, {
+ ...o,
+ path: [...o.path, "patternProperties", "*"]
+ });
+ t.patternProperties = {};
+ for (const c of s)
+ t.patternProperties[c.source] = d;
+ } else
+ (n.target === "draft-07" || n.target === "draft-2020-12") && (t.propertyNames = le(i.keyType, n, {
+ ...o,
+ path: [...o.path, "propertyNames"]
+ })), t.additionalProperties = le(i.valueType, n, {
+ ...o,
+ path: [...o.path, "additionalProperties"]
+ });
+ const u = a._zod.values;
+ if (u) {
+ const d = [...u].filter((c) => typeof c == "string" || typeof c == "number");
+ d.length > 0 && (t.required = d);
+ }
+}, 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" }];
+}, 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;
+}, 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, 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);
+ i.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;
+}, 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;
+}, 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, 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;
+}, 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: 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: 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 ld(e, n) {
+ if ("_idmap" in e) {
+ const o = e, t = ft({ ...n, processors: _r }), i = {};
+ for (const s of o._idmap.entries()) {
+ const [u, d] = s;
+ le(d, t);
+ }
+ const a = {}, l = {
+ registry: o,
+ uri: n == null ? void 0 : n.uri,
+ defs: i
+ };
+ t.external = l;
+ for (const s of o._idmap.entries()) {
+ const [u, d] = s;
+ vt(t, d), a[u] = pt(t, d);
+ }
+ if (Object.keys(i).length > 0) {
+ const s = t.target === "draft-2020-12" ? "$defs" : "definitions";
+ a.__shared = {
+ [s]: i
+ };
+ }
+ return { schemas: a };
+ }
+ const r = ft({ ...n, processors: _r });
+ return le(e, r), vt(r, e), pt(r, e);
+}
+class Ak {
+ /** @deprecated Access via ctx instead */
+ get metadataRegistry() {
+ return this.ctx.metadataRegistry;
+ }
+ /** @deprecated Access via ctx instead */
+ get target() {
+ return this.ctx.target;
+ }
+ /** @deprecated Access via ctx instead */
+ get unrepresentable() {
+ return this.ctx.unrepresentable;
+ }
+ /** @deprecated Access via ctx instead */
+ get override() {
+ return this.ctx.override;
+ }
+ /** @deprecated Access via ctx instead */
+ get io() {
+ return this.ctx.io;
+ }
+ /** @deprecated Access via ctx instead */
+ get counter() {
+ return this.ctx.counter;
+ }
+ set counter(n) {
+ this.ctx.counter = n;
+ }
+ /** @deprecated Access via ctx instead */
+ 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 = ft({
+ processors: _r,
+ 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 a schema to prepare it for JSON Schema generation.
+ * This must be called before emit().
+ */
+ process(n, r = { path: [], schemaPath: [] }) {
+ return le(n, this.ctx, r);
+ }
+ /**
+ * Emit the final JSON Schema after processing.
+ * Must call process() first.
+ */
+ 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)), vt(this.ctx, n);
+ const o = pt(this.ctx, n), { "~standard": t, ...i } = o;
+ return i;
+ }
+}
+const Nk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+ __proto__: null
+}, Symbol.toStringTag, { value: "Module" })), Pk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+ __proto__: null,
+ $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: 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: uu,
+ $ZodCodec: ti,
+ $ZodCustom: js,
+ $ZodCustomStringFormat: Bu,
+ $ZodDate: Qu,
+ $ZodDefault: hs,
+ $ZodDiscriminatedUnion: as,
+ $ZodE164: Fu,
+ $ZodEmail: $u,
+ $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: gs,
+ $ZodNumber: Kr,
+ $ZodNumberFormat: Vu,
+ $ZodObject: rs,
+ $ZodObjectJIT: is,
+ $ZodOptional: Qr,
+ $ZodPipe: ei,
+ $ZodPrefault: bs,
+ $ZodPreprocess: Ss,
+ $ZodPromise: Ds,
+ $ZodReadonly: Is,
+ $ZodRealError: xe,
+ $ZodRecord: us,
+ $ZodRegistry: Ps,
+ $ZodSet: cs,
+ $ZodString: Mt,
+ $ZodStringFormat: ue,
+ $ZodSuccess: _s,
+ $ZodSymbol: qu,
+ $ZodTemplateLiteral: ws,
+ $ZodTransform: vs,
+ $ZodTuple: Yr,
+ $ZodType: X,
+ $ZodULID: wu,
+ $ZodURL: _u,
+ $ZodUUID: bu,
+ $ZodUndefined: Wu,
+ $ZodUnion: zn,
+ $ZodUnknown: Xu,
+ $ZodVoid: Yu,
+ $ZodXID: zu,
+ $ZodXor: os,
+ $brand: Ja,
+ $constructor: v,
+ $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: 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: 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: _k,
+ _lowercase: jn,
+ _lt: We,
+ _lte: Pe,
+ _mac: Ms,
+ _map: gk,
+ _max: Pe,
+ _maxLength: Lt,
+ _maxSize: bt,
+ _mime: An,
+ _min: je,
+ _minLength: tt,
+ _minSize: Ke,
+ _multipleOf: mt,
+ _nan: fc,
+ _nanoid: si,
+ _nativeEnum: $k,
+ _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: 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: hk,
+ _size: Ft,
+ _slugify: Mn,
+ _startsWith: xn,
+ _string: Cs,
+ _stringFormat: Bt,
+ _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: Sc,
+ decode: R$,
+ decodeAsync: V$,
+ describe: _c,
+ encode: L$,
+ encodeAsync: B$,
+ extractDefs: vt,
+ finalize: pt,
+ flattenError: xr,
+ formatError: Tr,
+ globalConfig: wt,
+ globalRegistry: Ne,
+ initializeContext: ft,
+ isValidBase64: Gr,
+ isValidBase64URL: Zu,
+ isValidJWT: Lu,
+ locales: Ts,
+ meta: yc,
+ parse: hr,
+ parseAsync: br,
+ prettifyError: fl,
+ process: le,
+ 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: Tn,
+ gt: Ge,
+ gte: je,
+ includes: Un,
+ length: Rt,
+ lowercase: jn,
+ lt: We,
+ lte: Pe,
+ maxLength: Lt,
+ maxSize: bt,
+ mime: An,
+ minLength: tt,
+ minSize: Ke,
+ multipleOf: mt,
+ negative: Ii,
+ nonnegative: zi,
+ nonpositive: wi,
+ normalize: Nn,
+ overwrite: Je,
+ positive: Si,
+ property: Di,
+ regex: On,
+ size: Ft,
+ 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(Ei, e);
+}
+const Ui = /* @__PURE__ */ v("ZodISODate", (e, n) => {
+ ju.init(e, n), se.init(e, n);
+});
+function sd(e) {
+ return /* @__PURE__ */ Rs(Ui, e);
+}
+const xi = /* @__PURE__ */ v("ZodISOTime", (e, n) => {
+ Eu.init(e, n), se.init(e, n);
+});
+function cd(e) {
+ return /* @__PURE__ */ Bs(xi, e);
+}
+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: 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) => Tr(e, r)
+ // enumerable: false,
+ },
+ flatten: {
+ value: (r) => xr(e, r)
+ // enumerable: false,
+ },
+ addIssue: {
+ value: (r) => {
+ 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, vn, 2);
+ }
+ // enumerable: false,
+ },
+ isEmpty: {
+ get() {
+ return e.issues.length === 0;
+ }
+ // enumerable: false,
+ }
+ });
+}, Zk = /* @__PURE__ */ v("ZodError", fd), Te = /* @__PURE__ */ v("ZodError", fd, {
+ Parent: Error
+}), 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 = 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];
+ Object.defineProperty(o, i, {
+ configurable: !0,
+ enumerable: !1,
+ get() {
+ const l = a.bind(this);
+ return Object.defineProperty(this, i, {
+ configurable: !0,
+ writable: !0,
+ enumerable: !0,
+ value: l
+ }), l;
+ },
+ set(l) {
+ Object.defineProperty(this, i, {
+ configurable: !0,
+ writable: !0,
+ enumerable: !0,
+ value: l
+ });
+ }
+ });
+ }
+ }
+}
+const H = /* @__PURE__ */ v("ZodType", (e, n) => (X.init(e, n), Object.assign(e["~standard"], {
+ jsonSchema: {
+ input: zt(e, "input"),
+ output: zt(e, "output")
+ }
+}), 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, {
+ checks: [
+ ...o.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, o) {
+ return Ce(this, r, o);
+ },
+ brand() {
+ return this;
+ },
+ register(r, o) {
+ return r.add(this, o), this;
+ },
+ refine(r, o) {
+ return this.check(wo(r, o));
+ },
+ superRefine(r, o) {
+ return this.check(zo(r, o));
+ },
+ overwrite(r) {
+ return this.check(/* @__PURE__ */ Je(r));
+ },
+ optional() {
+ return jt(this);
+ },
+ exactOptional() {
+ return oo(this);
+ },
+ nullable() {
+ return Et(this);
+ },
+ nullish() {
+ return jt(Et(this));
+ },
+ nonoptional(r) {
+ return mo(this, r);
+ },
+ array() {
+ return Xt(this);
+ },
+ or(r) {
+ return ar([this, r]);
+ },
+ and(r) {
+ return Ki(this, r);
+ },
+ transform(r) {
+ return $n(this, ur(r));
+ },
+ default(r) {
+ return uo(this, r);
+ },
+ prefault(r) {
+ return co(this, r);
+ },
+ catch(r) {
+ return po(this, r);
+ },
+ pipe(r) {
+ return $n(this, r);
+ },
+ readonly() {
+ return $o(this);
+ },
+ describe(r) {
+ const o = this.clone();
+ return Ne.add(o, { description: r }), o;
+ },
+ meta(...r) {
+ if (r.length === 0)
+ return Ne.get(this);
+ const o = this.clone();
+ return Ne.add(o, r[0]), o;
+ },
+ 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 = Ne.get(e)) == null ? void 0 : r.description;
+ },
+ configurable: !0
+}), 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__ */ On(...o));
+ },
+ includes(...o) {
+ return this.check(/* @__PURE__ */ Un(...o));
+ },
+ startsWith(...o) {
+ return this.check(/* @__PURE__ */ xn(...o));
+ },
+ endsWith(...o) {
+ return this.check(/* @__PURE__ */ Tn(...o));
+ },
+ min(...o) {
+ return this.check(/* @__PURE__ */ tt(...o));
+ },
+ max(...o) {
+ return this.check(/* @__PURE__ */ Lt(...o));
+ },
+ length(...o) {
+ return this.check(/* @__PURE__ */ Rt(...o));
+ },
+ nonempty(...o) {
+ return this.check(/* @__PURE__ */ tt(1, ...o));
+ },
+ lowercase(o) {
+ return this.check(/* @__PURE__ */ jn(o));
+ },
+ uppercase(o) {
+ return this.check(/* @__PURE__ */ En(o));
+ },
+ trim() {
+ return this.check(/* @__PURE__ */ Pn());
+ },
+ normalize(...o) {
+ return this.check(/* @__PURE__ */ Nn(...o));
+ },
+ toLowerCase() {
+ return this.check(/* @__PURE__ */ Cn());
+ },
+ toUpperCase() {
+ return this.check(/* @__PURE__ */ Zn());
+ },
+ slugify() {
+ return this.check(/* @__PURE__ */ Mn());
+ }
+ });
+}), Jt = /* @__PURE__ */ v("ZodString", (e, n) => {
+ 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__ */ Cs(Jt, e);
+}
+const se = /* @__PURE__ */ v("ZodStringFormat", (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 zd(e) {
+ return /* @__PURE__ */ ri(Ln, e);
+}
+const Ot = /* @__PURE__ */ v("ZodGUID", (e, n) => {
+ hu.init(e, n), se.init(e, n);
+});
+function Dd(e) {
+ return /* @__PURE__ */ hn(Ot, e);
+}
+const Le = /* @__PURE__ */ v("ZodUUID", (e, n) => {
+ bu.init(e, n), se.init(e, n);
+});
+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__ */ Dn(qt, e);
+}
+function Td(e) {
+ return /* @__PURE__ */ Dn(qt, {
+ protocol: Br,
+ hostname: Al,
+ ...y(e)
+ });
+}
+const Rn = /* @__PURE__ */ v("ZodEmoji", (e, n) => {
+ yu.init(e, n), se.init(e, n);
+});
+function Ad(e) {
+ return /* @__PURE__ */ ui(Rn, e);
+}
+const Bn = /* @__PURE__ */ v("ZodNanoID", (e, n) => {
+ ku.init(e, n), se.init(e, n);
+});
+function Nd(e) {
+ return /* @__PURE__ */ si(Bn, e);
+}
+const Vn = /* @__PURE__ */ v("ZodCUID", (e, n) => {
+ Su.init(e, n), se.init(e, n);
+});
+function Pd(e) {
+ return /* @__PURE__ */ ci(Vn, e);
+}
+const Jn = /* @__PURE__ */ v("ZodCUID2", (e, n) => {
+ Iu.init(e, n), se.init(e, n);
+});
+function Cd(e) {
+ return /* @__PURE__ */ di(Jn, e);
+}
+const qn = /* @__PURE__ */ v("ZodULID", (e, n) => {
+ wu.init(e, n), se.init(e, n);
+});
+function Zd(e) {
+ return /* @__PURE__ */ mi(qn, e);
+}
+const Wn = /* @__PURE__ */ v("ZodXID", (e, n) => {
+ zu.init(e, n), se.init(e, n);
+});
+function Md(e) {
+ return /* @__PURE__ */ fi(Wn, e);
+}
+const Gn = /* @__PURE__ */ v("ZodKSUID", (e, n) => {
+ Du.init(e, n), se.init(e, n);
+});
+function Fd(e) {
+ return /* @__PURE__ */ vi(Gn, e);
+}
+const Kn = /* @__PURE__ */ v("ZodIPv4", (e, n) => {
+ xu.init(e, n), se.init(e, n);
+});
+function Ld(e) {
+ return /* @__PURE__ */ pi(Kn, e);
+}
+const Ai = /* @__PURE__ */ v("ZodMAC", (e, n) => {
+ Au.init(e, n), se.init(e, n);
+});
+function Rd(e) {
+ return /* @__PURE__ */ Ms(Ai, e);
+}
+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__ */ hi(Hn, e);
+}
+const Yn = /* @__PURE__ */ v("ZodCIDRv6", (e, n) => {
+ Pu.init(e, n), se.init(e, n);
+});
+function Jd(e) {
+ return /* @__PURE__ */ bi(Yn, e);
+}
+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("ZodBase64URL", (e, n) => {
+ Mu.init(e, n), se.init(e, n);
+});
+function Wd(e) {
+ return /* @__PURE__ */ _i(er, e);
+}
+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) {
+ return /* @__PURE__ */ ki(nr, 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($t, "hostname", Tl, e);
+}
+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($t, o, t, n);
+}
+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__ */ Ge(o, t));
+ },
+ gte(o, t) {
+ return this.check(/* @__PURE__ */ je(o, t));
+ },
+ min(o, t) {
+ return this.check(/* @__PURE__ */ je(o, t));
+ },
+ lt(o, t) {
+ return this.check(/* @__PURE__ */ We(o, t));
+ },
+ lte(o, t) {
+ return this.check(/* @__PURE__ */ Pe(o, t));
+ },
+ max(o, t) {
+ return this.check(/* @__PURE__ */ Pe(o, t));
+ },
+ int(o) {
+ return this.check(bn(o));
+ },
+ safe(o) {
+ return this.check(bn(o));
+ },
+ positive(o) {
+ return this.check(/* @__PURE__ */ Ge(0, o));
+ },
+ nonnegative(o) {
+ return this.check(/* @__PURE__ */ je(0, o));
+ },
+ negative(o) {
+ return this.check(/* @__PURE__ */ We(0, o));
+ },
+ nonpositive(o) {
+ return this.check(/* @__PURE__ */ Pe(0, o));
+ },
+ multipleOf(o, t) {
+ return this.check(/* @__PURE__ */ mt(o, t));
+ },
+ step(o, t) {
+ return this.check(/* @__PURE__ */ mt(o, 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 ?? 0.5), e.isFinite = !0, e.format = r.format ?? null;
+});
+function Ni(e) {
+ return /* @__PURE__ */ Js(Wt, e);
+}
+const ot = /* @__PURE__ */ v("ZodNumberFormat", (e, n) => {
+ Vu.init(e, n), Wt.init(e, n);
+});
+function bn(e) {
+ return /* @__PURE__ */ Ws(ot, e);
+}
+function em(e) {
+ return /* @__PURE__ */ Gs(ot, e);
+}
+function tm(e) {
+ return /* @__PURE__ */ Ks(ot, e);
+}
+function nm(e) {
+ return /* @__PURE__ */ Xs(ot, e);
+}
+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 Pi(e) {
+ return /* @__PURE__ */ Ys(Gt, e);
+}
+const Kt = /* @__PURE__ */ v("ZodBigInt", (e, n) => {
+ 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 im(e) {
+ return /* @__PURE__ */ ec(Kt, e);
+}
+const rr = /* @__PURE__ */ v("ZodBigIntFormat", (e, n) => {
+ Ju.init(e, n), Kt.init(e, n);
+});
+function om(e) {
+ return /* @__PURE__ */ nc(rr, e);
+}
+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(Ci, e);
+}
+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 um(e) {
+ return /* @__PURE__ */ oc(Zi, e);
+}
+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 Fi(e) {
+ return /* @__PURE__ */ ac(Mi, e);
+}
+const Li = /* @__PURE__ */ v("ZodAny", (e, n) => {
+ Ku.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Tc();
+});
+function sm() {
+ return /* @__PURE__ */ lc(Li);
+}
+const Ri = /* @__PURE__ */ v("ZodUnknown", (e, n) => {
+ Xu.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ac();
+});
+function nt() {
+ return /* @__PURE__ */ uc(Ri);
+}
+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 ir(e) {
+ return /* @__PURE__ */ sc(Bi, e);
+}
+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 dm(e) {
+ return /* @__PURE__ */ dc(or, e);
+}
+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__ */ tt(r, o));
+ },
+ nonempty(r) {
+ return this.check(/* @__PURE__ */ tt(1, r));
+ },
+ max(r, o) {
+ return this.check(/* @__PURE__ */ Lt(r, o));
+ },
+ length(r, o) {
+ return this.check(/* @__PURE__ */ Rt(r, o));
+ },
+ unwrap() {
+ return this.element;
+ }
+ });
+});
+function Xt(e, n) {
+ return /* @__PURE__ */ vc(Ji, e, n);
+}
+function mm(e) {
+ const n = e._zod.def.shape;
+ return lr(Object.keys(n));
+}
+const Ht = /* @__PURE__ */ v("ZodObject", (e, n) => {
+ 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 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: nt() });
+ },
+ loose() {
+ return this.clone({ ...this._zod.def, catchall: nt() });
+ },
+ strict() {
+ return this.clone({ ...this._zod.def, catchall: ir() });
+ },
+ strip() {
+ return this.clone({ ...this._zod.def, catchall: void 0 });
+ },
+ extend(r) {
+ return tl(this, r);
+ },
+ safeExtend(r) {
+ return nl(this, r);
+ },
+ merge(r) {
+ return rl(this, r);
+ },
+ pick(r) {
+ return Qa(this, r);
+ },
+ omit(r) {
+ return el(this, r);
+ },
+ partial(...r) {
+ return il(sr, this, r[0]);
+ },
+ required(...r) {
+ return ol(cr, this, r[0]);
+ }
+ });
+});
+function fm(e, n) {
+ const r = {
+ type: "object",
+ shape: e ?? {},
+ ...y(n)
+ };
+ return new Ht(r);
+}
+function vm(e, n) {
+ return new Ht({
+ type: "object",
+ shape: e,
+ 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) => {
+ zn.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Oi(e, r, o, t), e.options = n.options;
+});
+function ar(e, n) {
+ return new Yt({
+ type: "union",
+ options: e,
+ ...y(n)
+ });
+}
+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 gm(e, n) {
+ return new qi({
+ type: "union",
+ options: e,
+ inclusive: !1,
+ ...y(n)
+ });
+}
+const Wi = /* @__PURE__ */ v("ZodDiscriminatedUnion", (e, n) => {
+ Yt.init(e, n), as.init(e, n);
+});
+function hm(e, n, r) {
+ return new Wi({
+ type: "union",
+ options: n,
+ discriminator: e,
+ ...y(r)
+ });
+}
+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 Ki(e, n) {
+ return new Gi({
+ type: "intersection",
+ left: e,
+ right: n
+ });
+}
+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 Hi(e, n, r) {
+ const o = n instanceof X, t = o ? r : n, i = o ? n : null;
+ return new Xi({
+ type: "tuple",
+ items: e,
+ rest: i,
+ ...y(t)
+ });
+}
+const gt = /* @__PURE__ */ v("ZodRecord", (e, n) => {
+ 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 Yi(e, n, r) {
+ return !n || !n._zod ? new gt({
+ type: "record",
+ keyType: Dt(),
+ valueType: e,
+ ...y(n)
+ }) : new gt({
+ type: "record",
+ keyType: e,
+ valueType: n,
+ ...y(r)
+ });
+}
+function bm(e, n, r) {
+ const o = Ce(e);
+ return o._zod.values = void 0, new gt({
+ type: "record",
+ keyType: o,
+ valueType: n,
+ ...y(r)
+ });
+}
+function $m(e, n, r) {
+ return new gt({
+ type: "record",
+ keyType: e,
+ valueType: n,
+ mode: "loose",
+ ...y(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 _m(e, n, r) {
+ return new Qi({
+ type: "map",
+ keyType: e,
+ valueType: n,
+ ...y(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 ym(e, n) {
+ return new eo({
+ type: "set",
+ valueType: e,
+ ...y(n)
+ });
+}
+const ht = /* @__PURE__ */ v("ZodEnum", (e, n) => {
+ 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 = {};
+ for (const a of o)
+ if (r.has(a))
+ i[a] = n.entries[a];
+ else
+ throw new Error(`Key ${a} not found in enum`);
+ return new ht({
+ ...n,
+ checks: [],
+ ...y(t),
+ entries: i
+ });
+ }, e.exclude = (o, t) => {
+ const i = { ...n.entries };
+ for (const a of o)
+ if (r.has(a))
+ delete i[a];
+ else
+ throw new Error(`Key ${a} not found in enum`);
+ return new ht({
+ ...n,
+ checks: [],
+ ...y(t),
+ entries: i
+ });
+ };
+});
+function lr(e, n) {
+ const r = Array.isArray(e) ? Object.fromEntries(e.map((o) => [o, o])) : e;
+ return new ht({
+ type: "enum",
+ entries: r,
+ ...y(n)
+ });
+}
+function km(e, n) {
+ return new ht({
+ type: "enum",
+ entries: e,
+ ...y(n)
+ });
+}
+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.");
+ return n.values[0];
+ }
+ });
+});
+function Sm(e, n) {
+ return new to({
+ type: "literal",
+ values: Array.isArray(e) ? e : [e],
+ ...y(n)
+ });
+}
+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 Im(e) {
+ return /* @__PURE__ */ pc(no, e);
+}
+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 yn(e.constructor.name);
+ r.addIssue = (i) => {
+ if (typeof i == "string")
+ r.issues.push(ct(i, r.value, n));
+ else {
+ const a = i;
+ a.fatal && (a.continue = !1), a.code ?? (a.code = "custom"), a.input ?? (a.input = r.value), a.inst ?? (a.inst = e), r.issues.push(ct(a));
+ }
+ };
+ const t = n.transform(r.value, r);
+ return t instanceof Promise ? t.then((i) => (r.value = i, r.fallback = !0, r)) : (r.value = t, r.fallback = !0, r);
+ };
+});
+function ur(e) {
+ return new ro({
+ type: "transform",
+ transform: e
+ });
+}
+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 sr({
+ type: "optional",
+ innerType: e
+ });
+}
+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 oo(e) {
+ return new io({
+ type: "optional",
+ innerType: e
+ });
+}
+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 ao({
+ type: "nullable",
+ innerType: e
+ });
+}
+function wm(e) {
+ return jt(Et(e));
+}
+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: "default",
+ innerType: e,
+ get defaultValue() {
+ return typeof n == "function" ? n() : Sn(n);
+ }
+ });
+}
+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 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 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 zm(e) {
+ return new fo({
+ type: "success",
+ innerType: e
+ });
+}
+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 po(e, n) {
+ return new vo({
+ type: "catch",
+ innerType: e,
+ catchValue: typeof n == "function" ? n : () => n
+ });
+}
+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 Dm(e) {
+ return /* @__PURE__ */ fc(go, e);
+}
+const Qt = /* @__PURE__ */ v("ZodPipe", (e, n) => {
+ 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({
+ type: "pipe",
+ in: e,
+ out: n
+ // ...util.normalizeParams(params),
+ });
+}
+const en = /* @__PURE__ */ v("ZodCodec", (e, n) => {
+ Qt.init(e, n), ti.init(e, n);
+});
+function Om(e, n, r) {
+ return new en({
+ type: "pipe",
+ in: e,
+ out: n,
+ transform: r.decode,
+ reverseTransform: r.encode
+ });
+}
+function jm(e) {
+ const n = e._zod.def;
+ return new en({
+ type: "pipe",
+ in: n.out,
+ out: n.in,
+ transform: n.reverseTransform,
+ reverseTransform: n.transform
+ });
+}
+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 $o(e) {
+ return new bo({
+ type: "readonly",
+ innerType: e
+ });
+}
+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 Em(e, n) {
+ return new _o({
+ type: "template_literal",
+ parts: e,
+ ...y(n)
+ });
+}
+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 ko(e) {
+ return new yo({
+ type: "lazy",
+ getter: e
+ });
+}
+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 Um(e) {
+ return new So({
+ type: "promise",
+ innerType: e
+ });
+}
+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 _n(e) {
+ return new Io({
+ type: "function",
+ 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) => {
+ js.init(e, n), H.init(e, n), e._zod.processJSONSchema = (r, o, t) => Rc(e, r);
+});
+function xm(e) {
+ const n = new fe({
+ check: "custom"
+ // ...util.normalizeParams(params),
+ });
+ return n._zod.check = e, n;
+}
+function Tm(e, n) {
+ return /* @__PURE__ */ gc(tn, e ?? (() => !0), n);
+}
+function wo(e, n = {}) {
+ return /* @__PURE__ */ hc(tn, e, n);
+}
+function zo(e, n) {
+ return /* @__PURE__ */ bc(e, n);
+}
+const Am = _c, Nm = yc;
+function Pm(e, n = {}) {
+ const r = new tn({
+ type: "custom",
+ check: "custom",
+ fn: (o) => o instanceof e,
+ abort: !0,
+ ...y(n)
+ });
+ return r._zod.bag.Class = e, r._zod.check = (o) => {
+ o.value instanceof e || o.issues.push({
+ code: "invalid_type",
+ expected: e.name,
+ input: o.value,
+ inst: r,
+ path: [...r._zod.def.path ?? []]
+ });
+ }, r;
+}
+const Cm = (...e) => /* @__PURE__ */ kc({
+ Codec: en,
+ Boolean: Gt,
+ String: Jt
+}, ...e);
+function Zm(e) {
+ const n = ko(() => ar([Dt(e), Ni(), Pi(), Fi(), Xt(n), Yi(Dt(), n)]));
+ return n;
+}
+function Mm(e, n) {
+ return new ho({
+ type: "pipe",
+ in: ur(e),
+ out: n
+ });
+}
+const Mk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+ __proto__: null,
+ ZodAny: Li,
+ ZodArray: Ji,
+ ZodBase64: Qn,
+ ZodBase64URL: er,
+ ZodBigInt: Kt,
+ ZodBigIntFormat: rr,
+ ZodBoolean: Gt,
+ ZodCIDRv4: Hn,
+ ZodCIDRv6: Yn,
+ ZodCUID: Vn,
+ ZodCUID2: Jn,
+ ZodCatch: vo,
+ ZodCodec: en,
+ ZodCustom: tn,
+ ZodCustomStringFormat: $t,
+ ZodDate: or,
+ ZodDefault: lo,
+ ZodDiscriminatedUnion: Wi,
+ ZodE164: tr,
+ ZodEmail: Ln,
+ ZodEmoji: Rn,
+ ZodEnum: ht,
+ ZodExactOptional: io,
+ ZodFile: no,
+ ZodFunction: Io,
+ ZodGUID: Ot,
+ ZodIPv4: Kn,
+ ZodIPv6: Xn,
+ ZodIntersection: Gi,
+ ZodJWT: nr,
+ ZodKSUID: Gn,
+ 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: sr,
+ ZodPipe: Qt,
+ ZodPrefault: so,
+ ZodPreprocess: ho,
+ ZodPromise: So,
+ ZodReadonly: bo,
+ ZodRecord: gt,
+ ZodSet: eo,
+ ZodString: Jt,
+ ZodStringFormat: se,
+ ZodSuccess: fo,
+ ZodSymbol: Ci,
+ ZodTemplateLiteral: _o,
+ ZodTransform: ro,
+ ZodTuple: Xi,
+ ZodType: H,
+ ZodULID: qn,
+ ZodURL: qt,
+ ZodUUID: Le,
+ ZodUndefined: Zi,
+ ZodUnion: Yt,
+ ZodUnknown: Ri,
+ ZodVoid: Vi,
+ ZodXID: Wn,
+ ZodXor: qi,
+ _ZodString: Fn,
+ _default: uo,
+ _function: _n,
+ any: sm,
+ array: Xt,
+ 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: 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: Rd,
+ map: _m,
+ meta: Nm,
+ nan: Dm,
+ nanoid: Nd,
+ nativeEnum: km,
+ never: ir,
+ nonoptional: mo,
+ null: Fi,
+ nullable: Et,
+ nullish: wm,
+ number: Ni,
+ object: fm,
+ optional: jt,
+ partialRecord: bm,
+ pipe: $n,
+ prefault: co,
+ preprocess: Mm,
+ promise: Um,
+ readonly: $o,
+ record: Yi,
+ refine: wo,
+ set: ym,
+ strictObject: vm,
+ string: Dt,
+ 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",
+ 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 Lk(e) {
+ Ie({
+ customError: e
+ });
+}
+function Rk() {
+ return Ie().customError;
+}
+var yr;
+yr || (yr = {});
+const A = {
+ ...Mk,
+ ...Ck,
+ iso: md
+}, Bk = /* @__PURE__ */ new Set([
+ // Schema identification
+ "$schema",
+ "$ref",
+ "$defs",
+ "definitions",
+ // Core schema keywords
+ "$id",
+ "id",
+ "$comment",
+ "$anchor",
+ "$vocabulary",
+ "$dynamicRef",
+ "$dynamicAnchor",
+ // Type
+ "type",
+ "enum",
+ "const",
+ // Composition
+ "anyOf",
+ "oneOf",
+ "allOf",
+ "not",
+ // Object
+ "properties",
+ "required",
+ "additionalProperties",
+ "patternProperties",
+ "propertyNames",
+ "minProperties",
+ "maxProperties",
+ // Array
+ "items",
+ "prefixItems",
+ "additionalItems",
+ "minItems",
+ "maxItems",
+ "uniqueItems",
+ "contains",
+ "minContains",
+ "maxContains",
+ // String
+ "minLength",
+ "maxLength",
+ "pattern",
+ "format",
+ // Number
+ "minimum",
+ "maximum",
+ "exclusiveMinimum",
+ "exclusiveMaximum",
+ "multipleOf",
+ // Already handled metadata
+ "description",
+ "default",
+ // Content
+ "contentEncoding",
+ "contentMediaType",
+ "contentSchema",
+ // Unsupported (error-throwing)
+ "unevaluatedItems",
+ "unevaluatedProperties",
+ "if",
+ "then",
+ "else",
+ "dependentSchemas",
+ "dependentRequired",
+ // OpenAPI
+ "nullable",
+ "readOnly"
+]);
+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 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);
+ if (r.length === 0)
+ return n.rootSchema;
+ const o = n.version === "draft-2020-12" ? "$defs" : "definitions";
+ if (r[0] === o) {
+ 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 A.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 A.lazy(() => {
+ if (!n.refs.has(t))
+ throw new Error(`Circular reference not resolved: ${t}`);
+ return n.refs.get(t);
+ });
+ n.processing.add(t);
+ 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) {
+ const t = e.enum;
+ if (n.version === "openapi-3.0" && e.nullable === !0 && t.length === 1 && t[0] === null)
+ return A.null();
+ if (t.length === 0)
+ return A.never();
+ if (t.length === 1)
+ return A.literal(t[0]);
+ if (t.every((a) => typeof a == "string"))
+ return A.enum(t);
+ const i = t.map((a) => A.literal(a));
+ return i.length < 2 ? i[0] : A.union([i[0], i[1], ...i.slice(2)]);
+ }
+ if (e.const !== void 0)
+ return A.literal(e.const);
+ const r = e.type;
+ if (Array.isArray(r)) {
+ const t = r.map((i) => {
+ const a = { ...e, type: i };
+ return Fm(a, n);
+ });
+ return t.length === 0 ? A.never() : t.length === 1 ? t[0] : A.union(t);
+ }
+ if (!r)
+ return A.any();
+ let o;
+ switch (r) {
+ case "string": {
+ let t = A.string();
+ if (e.format) {
+ const i = e.format;
+ i === "email" ? t = t.check(A.email()) : i === "uri" || i === "uri-reference" ? t = t.check(A.url()) : i === "uuid" || i === "guid" ? t = t.check(A.uuid()) : i === "date-time" ? t = t.check(A.iso.datetime()) : i === "date" ? t = t.check(A.iso.date()) : i === "time" ? t = t.check(A.iso.time()) : i === "duration" ? t = t.check(A.iso.duration()) : i === "ipv4" ? t = t.check(A.ipv4()) : i === "ipv6" ? t = t.check(A.ipv6()) : i === "mac" ? t = t.check(A.mac()) : i === "cidr" ? t = t.check(A.cidrv4()) : i === "cidr-v6" ? t = t.check(A.cidrv6()) : i === "base64" ? t = t.check(A.base64()) : i === "base64url" ? t = t.check(A.base64url()) : i === "e164" ? t = t.check(A.e164()) : i === "jwt" ? t = t.check(A.jwt()) : i === "emoji" ? t = t.check(A.emoji()) : i === "nanoid" ? t = t.check(A.nanoid()) : i === "cuid" ? t = t.check(A.cuid()) : i === "cuid2" ? t = t.check(A.cuid2()) : i === "ulid" ? t = t.check(A.ulid()) : i === "xid" ? t = t.check(A.xid()) : i === "ksuid" && (t = t.check(A.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))), o = t;
+ break;
+ }
+ case "number":
+ case "integer": {
+ let t = r === "integer" ? A.number().int() : A.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)), o = t;
+ break;
+ }
+ case "boolean": {
+ o = A.boolean();
+ break;
+ }
+ case "null": {
+ o = A.null();
+ break;
+ }
+ case "object": {
+ const t = {}, i = e.properties || {}, a = new Set(e.required || []);
+ for (const [s, u] of Object.entries(i)) {
+ const d = we(u, n);
+ t[s] = a.has(s) ? d : d.optional();
+ }
+ if (e.propertyNames) {
+ const s = we(e.propertyNames, n), u = e.additionalProperties && typeof e.additionalProperties == "object" ? we(e.additionalProperties, n) : A.any();
+ if (Object.keys(t).length === 0) {
+ o = A.record(s, u);
+ break;
+ }
+ const d = A.object(t).passthrough(), c = A.looseRecord(s, u);
+ o = A.intersection(d, c);
+ break;
+ }
+ if (e.patternProperties) {
+ const s = e.patternProperties, u = Object.keys(s), d = [];
+ for (const m of u) {
+ const f = we(s[m], n), h = A.string().regex(new RegExp(m));
+ d.push(A.looseRecord(h, f));
+ }
+ const c = [];
+ if (Object.keys(t).length > 0 && c.push(A.object(t).passthrough()), c.push(...d), c.length === 0)
+ o = A.object({}).passthrough();
+ else if (c.length === 1)
+ o = c[0];
+ else {
+ let m = A.intersection(c[0], c[1]);
+ for (let f = 2; f < c.length; f++)
+ m = A.intersection(m, c[f]);
+ o = m;
+ }
+ break;
+ }
+ const l = A.object(t);
+ e.additionalProperties === !1 ? o = l.strict() : typeof e.additionalProperties == "object" ? o = l.catchall(we(e.additionalProperties, n)) : o = l.passthrough();
+ break;
+ }
+ case "array": {
+ const t = e.prefixItems, i = e.items;
+ if (t && Array.isArray(t)) {
+ const a = t.map((s) => we(s, n)), l = i && typeof i == "object" && !Array.isArray(i) ? we(i, n) : void 0;
+ l ? o = A.tuple(a).rest(l) : o = A.tuple(a), typeof e.minItems == "number" && (o = o.check(A.minLength(e.minItems))), typeof e.maxItems == "number" && (o = o.check(A.maxLength(e.maxItems)));
+ } else if (Array.isArray(i)) {
+ const a = i.map((s) => we(s, n)), l = e.additionalItems && typeof e.additionalItems == "object" ? we(e.additionalItems, n) : void 0;
+ l ? o = A.tuple(a).rest(l) : o = A.tuple(a), typeof e.minItems == "number" && (o = o.check(A.minLength(e.minItems))), typeof e.maxItems == "number" && (o = o.check(A.maxLength(e.maxItems)));
+ } else if (i !== void 0) {
+ const a = we(i, n);
+ let l = A.array(a);
+ typeof e.minItems == "number" && (l = l.min(e.minItems)), typeof e.maxItems == "number" && (l = l.max(e.maxItems)), o = l;
+ } else
+ o = A.array(A.any());
+ break;
+ }
+ default:
+ throw new Error(`Unsupported type: ${r}`);
+ }
+ return o;
+}
+function we(e, n) {
+ if (typeof e == "boolean")
+ return e ? A.any() : A.never();
+ 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);
+ r = o ? A.intersection(r, s) : s;
+ }
+ if (e.oneOf && Array.isArray(e.oneOf)) {
+ const l = e.oneOf.map((u) => we(u, n)), s = A.xor(l);
+ r = o ? A.intersection(r, s) : s;
+ }
+ if (e.allOf && Array.isArray(e.allOf))
+ if (e.allOf.length === 0)
+ r = o ? r : A.any();
+ else {
+ let l = o ? r : we(e.allOf[0], n);
+ const s = o ? 0 : 1;
+ for (let u = s; u < e.allOf.length; u++)
+ l = A.intersection(l, we(e.allOf[u], n));
+ r = l;
+ }
+ e.nullable === !0 && n.version === "openapi-3.0" && (r = A.nullable(r)), e.readOnly === !0 && (r = A.readonly(r)), e.default !== void 0 && (r = r.default(e.default));
+ const t = {}, i = ["$id", "id", "$comment", "$anchor", "$vocabulary", "$dynamicRef", "$dynamicAnchor"];
+ for (const l of i)
+ l in e && (t[l] = e[l]);
+ const a = ["contentEncoding", "contentMediaType", "contentSchema"];
+ for (const l of a)
+ l in e && (t[l] = e[l]);
+ for (const l of Object.keys(e))
+ 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 qk(e, n) {
+ if (typeof e == "boolean")
+ return e ? A.any() : A.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 o = Vk(r, n == null ? void 0 : n.defaultTarget), t = r.$defs || r.definitions || {}, i = {
+ version: o,
+ defs: t,
+ refs: /* @__PURE__ */ new Map(),
+ processing: /* @__PURE__ */ new Set(),
+ rootSchema: r,
+ registry: (n == null ? void 0 : n.registry) ?? Ne
+ };
+ return we(r, i);
+}
+function Wk(e) {
+ return /* @__PURE__ */ Zs(Jt, e);
+}
+function Gk(e) {
+ return /* @__PURE__ */ qs(Wt, e);
+}
+function Kk(e) {
+ return /* @__PURE__ */ Qs(Gt, e);
+}
+function Xk(e) {
+ return /* @__PURE__ */ tc(Kt, e);
+}
+function Hk(e) {
+ return /* @__PURE__ */ mc(or, e);
+}
+const Yk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+ __proto__: null,
+ bigint: Xk,
+ boolean: Kk,
+ date: Hk,
+ number: Gk,
+ string: Wk
+}, Symbol.toStringTag, { value: "Module" }));
+Ie(Es());
+const ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
+ __proto__: null,
+ $brand: Ja,
+ $input: Ns,
+ $output: As,
+ NEVER: Va,
+ TimePrecision: Fs,
+ ZodAny: Li,
+ ZodArray: Ji,
+ ZodBase64: Qn,
+ ZodBase64URL: er,
+ ZodBigInt: Kt,
+ ZodBigIntFormat: rr,
+ ZodBoolean: Gt,
+ ZodCIDRv4: Hn,
+ ZodCIDRv6: Yn,
+ ZodCUID: Vn,
+ ZodCUID2: Jn,
+ ZodCatch: vo,
+ ZodCodec: en,
+ ZodCustom: tn,
+ ZodCustomStringFormat: $t,
+ ZodDate: or,
+ ZodDefault: lo,
+ ZodDiscriminatedUnion: Wi,
+ ZodE164: tr,
+ ZodEmail: Ln,
+ ZodEmoji: Rn,
+ ZodEnum: ht,
+ ZodError: Zk,
+ ZodExactOptional: io,
+ ZodFile: no,
+ get ZodFirstPartyTypeKind() {
+ return yr;
+ },
+ ZodFunction: Io,
+ ZodGUID: Ot,
+ ZodIPv4: Kn,
+ ZodIPv6: Xn,
+ ZodISODate: Ui,
+ ZodISODateTime: Ei,
+ ZodISODuration: Ti,
+ ZodISOTime: xi,
+ ZodIntersection: Gi,
+ ZodIssueCode: Fk,
+ ZodJWT: nr,
+ ZodKSUID: Gn,
+ 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: sr,
+ ZodPipe: Qt,
+ ZodPrefault: so,
+ ZodPreprocess: ho,
+ ZodPromise: So,
+ ZodReadonly: bo,
+ ZodRealError: Te,
+ ZodRecord: gt,
+ ZodSet: eo,
+ ZodString: Jt,
+ ZodStringFormat: se,
+ ZodSuccess: fo,
+ ZodSymbol: Ci,
+ ZodTemplateLiteral: _o,
+ ZodTransform: ro,
+ ZodTuple: Xi,
+ ZodType: H,
+ ZodULID: qn,
+ ZodURL: qt,
+ ZodUUID: Le,
+ ZodUndefined: Zi,
+ ZodUnion: Yt,
+ ZodUnknown: Ri,
+ ZodVoid: Vi,
+ ZodXID: Wn,
+ ZodXor: qi,
+ _ZodString: Fn,
+ _default: uo,
+ _function: _n,
+ any: sm,
+ array: Xt,
+ base64: qd,
+ base64url: Wd,
+ bigint: im,
+ boolean: Pi,
+ catch: po,
+ check: xm,
+ cidrv4: Vd,
+ cidrv6: Jd,
+ clone: Ce,
+ codec: Om,
+ coerce: Yk,
+ config: Ie,
+ core: Pk,
+ cuid: Pd,
+ cuid2: Cd,
+ custom: Tm,
+ date: dm,
+ decode: $d,
+ decodeAsync: yd,
+ describe: Am,
+ discriminatedUnion: hm,
+ e164: Gd,
+ 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: 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: Sm,
+ locales: Ts,
+ looseObject: pm,
+ looseRecord: $m,
+ lowercase: jn,
+ lt: We,
+ lte: Pe,
+ mac: Rd,
+ map: _m,
+ maxLength: Lt,
+ maxSize: bt,
+ meta: Nm,
+ mime: An,
+ minLength: tt,
+ minSize: Ke,
+ multipleOf: mt,
+ nan: Dm,
+ nanoid: Nd,
+ nativeEnum: km,
+ negative: Ii,
+ never: ir,
+ nonnegative: zi,
+ nonoptional: mo,
+ nonpositive: wi,
+ normalize: Nn,
+ null: Fi,
+ nullable: Et,
+ nullish: wm,
+ number: Ni,
+ object: fm,
+ optional: jt,
+ overwrite: Je,
+ parse: vd,
+ parseAsync: pd,
+ partialRecord: bm,
+ pipe: $n,
+ 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: Mn,
+ startsWith: xn,
+ strictObject: vm,
+ string: Dt,
+ 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 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, "||");
+ try {
+ return new Function(`return (${t})`)(), !0;
+ } catch {
+ return !1;
+ }
+}, 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.` });
+}), 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 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(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",
+ "--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",
+ // Escala neutra
+ "--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"
+}, SS = {
+ // Escala primária
+ "--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",
+ // Escala neutra
+ "--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"
+}, IS = {
+ primary: "#688C00",
+ "primary-dark": "#4A6500",
+ "primary-light": "#EEF3D0"
+}, wS = {
+ primary: "#007BFF",
+ "primary-dark": "#0056B3",
+ "primary-light": "#EBF3FC"
+}, pa = {
+ verde: kS,
+ azul: SS
+}, ga = {
+ verde: IS,
+ azul: wS
+};
+function zS(e) {
+ return pa[e] ?? pa.verde;
+}
+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 = 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 VS = {
install(e) {
- e.component("EliOlaMundo", at), e.component("EliBotao", pa), e.component("EliBadge", Ue), e.component("EliCartao", lt), e.component("EliTabela", tr), e.component("EliEntradaTexto", Ye), e.component("EliEntradaNumero", ha), e.component("EliEntradaDataHora", ga), e.component("EliEntradaParagrafo", Dn), e.component("EliEntradaSelecao", Tn);
+ 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 {
- Ue as EliBadge,
- pa as EliBotao,
- lt as EliCartao,
- ga as EliEntradaDataHora,
- ha as EliEntradaNumero,
- Dn as EliEntradaParagrafo,
- Tn as EliEntradaSelecao,
- Ye as EliEntradaTexto,
- at as EliOlaMundo,
- tr as EliTabela,
- pr as default
+ 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 7d36bdf..0a19a7f 100644
--- a/dist/eli-vue.umd.js
+++ b/dist/eli-vue.umd.js
@@ -1,76 +1,215 @@
-(function(F,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("vuetify/components/VBtn"),require("vuetify/components/VBadge"),require("vuetify/components/VTextField"),require("vuetify/components/VCard"),require("vuetify/components/VGrid"),require("vuetify/components"),require("vuetify/components/VChip"),require("vuetify/components/VTextarea"),require("vuetify/components/VSelect")):typeof define=="function"&&define.amd?define(["exports","vue","vuetify/components/VBtn","vuetify/components/VBadge","vuetify/components/VTextField","vuetify/components/VCard","vuetify/components/VGrid","vuetify/components","vuetify/components/VChip","vuetify/components/VTextarea","vuetify/components/VSelect"],t):(F=typeof globalThis<"u"?globalThis:F||self,t(F.eli_vue={},F.Vue,F.VBtn,F.VBadge,F.VTextField,F.VCard,F.VGrid,F.components,F.VChip,F.VTextarea,F.VSelect))})(this,(function(F,t,tt,at,Ce,ie,ot,_e,nt,rt,lt){"use strict";const it=t.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}}}),P=(e,a)=>{const n=e.__vccOpts||e;for(const[l,s]of a)n[l]=s;return n};function st(e,a,n,l,s,m){return t.openBlock(),t.createBlock(tt.VBtn,t.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:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["color","variant","size","disabled","loading"])}const ve=P(it,[["render",st]]),Ae={suave:"4px",pill:"10px"},ct=t.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 a=t.computed(()=>e.radius in Ae?Ae[e.radius]:e.radius),n=t.computed(()=>e.dot||e.badge!==void 0?e.visible:!1),l=t.computed(()=>({"--eli-badge-radius":a.value}));return{showBadge:n,badgeStyle:l}}});function dt(e,a,n,l,s,m){return e.showBadge?(t.openBlock(),t.createBlock(at.VBadge,t.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:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16,["color","location","offset-x","offset-y","dot","content","style"])):t.renderSlot(e.$slots,"default",{key:1},void 0,!0)}const ye=P(ct,[["render",dt],["__scopeId","data-v-371c8db4"]]);function ut(e){return e.replace(/\D+/g,"")}function mt(e){const a=ut(e);return a.length<=11?a.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})$/,"$1-$2").slice(0,14):a.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 pt(e){return e.replace(/\D+/g,"")}function ft(e){const a=pt(e);return a?a.length<=10?a.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,14):a.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{5})(\d)/,"$1-$2").slice(0,15):""}function bt(e){return e.replace(/\D+/g,"")}function ht(e){const a=bt(e);return a?a.replace(/^(\d{5})(\d)/,"$1-$2").slice(0,9):""}const gt=t.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:a,emit:n}){const l=t.computed(()=>{var i;return((i=e.opcoes)==null?void 0:i.formato)??"texto"}),s=t.computed({get:()=>e.value,set:i=>{n("update:value",i),n("input",i),n("change",i)}}),m=t.computed(()=>l.value==="email"?"email":l.value==="url"?"url":"text"),o=t.computed(()=>{if(l.value==="telefone")return"tel";if(l.value==="cpfCnpj"||l.value==="cep")return"numeric"});function r(i){switch(l.value){case"telefone":return ft(i);case"cpfCnpj":return mt(i);case"cep":return ht(i);default:return i}}function u(i){const d=i.target,b=r(d.value);d.value=b,s.value=b}return{attrs:a,emit:n,localValue:s,inputHtmlType:m,inputMode:o,onInput:u}}});function yt(e,a,n,l,s,m){var o,r,u,i;return t.openBlock(),t.createBlock(Ce.VTextField,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=d=>e.localValue=d),type:e.inputHtmlType,inputmode:e.inputMode,label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(r=e.opcoes)==null?void 0:r.placeholder,counter:(u=e.opcoes)==null?void 0:u.limiteCaracteres,maxlength:(i=e.opcoes)==null?void 0:i.limiteCaracteres},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur")),onInput:e.onInput}),null,16,["modelValue","type","inputmode","label","placeholder","counter","maxlength","onInput"])}const $e=P(gt,[["render",yt]]),$t=t.defineComponent({name:"EliOlaMundo",components:{EliBotao:ve,EliBadge:ye,EliEntradaTexto:$e},setup(){const e=t.ref(""),a=t.ref(""),n=t.ref(""),l=t.ref(""),s=t.ref("");return{nome:e,email:l,documento:s,telefone:n,cep:a}}}),Et={class:"grid-example"};function kt(e,a,n,l,s,m){const o=t.resolveComponent("EliBadge"),r=t.resolveComponent("EliEntradaTexto"),u=t.resolveComponent("EliBotao");return t.openBlock(),t.createBlock(ot.VContainer,null,{default:t.withCtx(()=>[t.createVNode(ie.VCard,{class:"mx-auto",max_width:"400"},{default:t.withCtx(()=>[t.createVNode(ie.VCardTitle,null,{default:t.withCtx(()=>[t.createVNode(o,{badge:"Novo","offset-x":"-15",location:"right center"},{default:t.withCtx(()=>[...a[5]||(a[5]=[t.createTextVNode(" Olá Mundo! ",-1)])]),_:1})]),_:1}),t.createVNode(ie.VCardText,null,{default:t.withCtx(()=>[a[6]||(a[6]=t.createTextVNode(" Este é um componente de exemplo integrado com Vuetify. ",-1)),t.createElementVNode("div",Et,[t.createVNode(r,{value:e.nome,"onUpdate:value":a[0]||(a[0]=i=>e.nome=i),opcoes:{rotulo:"Nome",placeholder:"Digite o nome"},density:"compact"},null,8,["value"]),t.createVNode(r,{value:e.telefone,"onUpdate:value":a[1]||(a[1]=i=>e.telefone=i),opcoes:{rotulo:"Telefone",formato:"telefone"}},null,8,["value"]),t.createVNode(r,{value:e.cep,"onUpdate:value":a[2]||(a[2]=i=>e.cep=i),opcoes:{rotulo:"CEP",placeholder:"00000-000",formato:"cep"}},null,8,["value"]),t.createVNode(r,{value:e.documento,"onUpdate:value":a[3]||(a[3]=i=>e.documento=i),opcoes:{rotulo:"CPF / CNPJ",formato:"cpfCnpj"}},null,8,["value"]),t.createVNode(r,{value:e.email,"onUpdate:value":a[4]||(a[4]=i=>e.email=i),opcoes:{rotulo:"Email",placeholder:"email@exemplo.com",formato:"email"}},null,8,["value"])])]),_:1}),t.createVNode(ie.VCardActions,null,{default:t.withCtx(()=>[t.createVNode(u,{color:"primary",variant:"elevated",block:""},{default:t.withCtx(()=>[...a[7]||(a[7]=[t.createTextVNode(" Botão Vuetify ",-1)])]),_:1})]),_:1})]),_:1})]),_:1})}const Me=P($t,[["render",kt]]),Bt=t.defineComponent({name:"EliCartao",components:{EliBadge:ye},inheritAttrs:!1,props:{titulo:{type:String,default:""},status:{type:String,required:!0},variant:{type:String,default:"outlined"}},emits:{clicar:e=>!0},setup(e,{emit:a}){const n=t.computed(()=>e.status),l=t.computed(()=>{switch(e.status){case"novo":return"primary";case"rascunho":return"secondary";case"vendido":return"success";case"cancelado":return"error"}}),s=t.computed(()=>`eli-cartao--${e.status}`);function m(){a("clicar",e.status)}return{rotuloStatus:n,corStatus:l,classeStatus:s,onClick:m}}}),Ct={class:"eli-cartao__titulo-texto"},_t={class:"eli-cartao__status"};function vt(e,a,n,l,s,m){const o=t.resolveComponent("EliBadge");return t.openBlock(),t.createBlock(ie.VCard,t.mergeProps({class:["eli-cartao",e.classeStatus],variant:e.variant},e.$attrs),{default:t.withCtx(()=>[t.createVNode(ie.VCardTitle,{class:"eli-cartao__titulo"},{default:t.withCtx(()=>[t.createElementVNode("div",Ct,[t.renderSlot(e.$slots,"titulo",{},()=>[t.createTextVNode(t.toDisplayString(e.titulo),1)],!0)]),t.createElementVNode("div",_t,[t.createVNode(o,{badge:e.rotuloStatus,radius:"pill",color:e.corStatus},{default:t.withCtx(()=>[...a[0]||(a[0]=[t.createElementVNode("span",null,null,-1)])]),_:1},8,["badge","color"])])]),_:3}),t.createVNode(ie.VCardText,{class:"eli-cartao__conteudo"},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3}),e.$slots.acoes?(t.openBlock(),t.createBlock(ie.VCardActions,{key:0,class:"eli-cartao__acoes"},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"acoes",{},void 0,!0)]),_:3})):t.createCommentVNode("",!0)]),_:3},16,["variant","class"])}const we=P(Bt,[["render",vt],["__scopeId","data-v-6c492bd9"]]);var Te=(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))(Te||{});/**
- * @license lucide-vue-next v0.563.0 - ISC
+(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,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 St=e=>{for(const a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};/**
- * @license lucide-vue-next v0.563.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 Pe=e=>e==="";/**
- * @license lucide-vue-next v0.563.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 Vt=(...e)=>e.filter((a,n,l)=>!!a&&a.trim()!==""&&l.indexOf(a)===n).join(" ").trim();/**
- * @license lucide-vue-next v0.563.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 Fe=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
- * @license lucide-vue-next v0.563.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 Nt=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,n,l)=>l?l.toUpperCase():n.toLowerCase());/**
- * @license lucide-vue-next v0.563.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.
- */const Dt=e=>{const a=Nt(e);return a.charAt(0).toUpperCase()+a.slice(1)};/**
- * @license lucide-vue-next v0.563.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.
- */var be={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-next v0.563.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 At=({name:e,iconNode:a,absoluteStrokeWidth:n,"absolute-stroke-width":l,strokeWidth:s,"stroke-width":m,size:o=be.width,color:r=be.stroke,...u},{slots:i})=>t.h("svg",{...be,...u,width:o,height:o,stroke:r,"stroke-width":Pe(n)||Pe(l)||n===!0||l===!0?Number(s||m||be["stroke-width"])*24/Number(o):s||m||be["stroke-width"],class:Vt("lucide",u.class,...e?[`lucide-${Fe(Dt(e))}-icon`,`lucide-${Fe(e)}`]:["lucide-icon"]),...!i.default&&!St(u)&&{"aria-hidden":"true"}},[...a.map(d=>t.h(...d)),...i.default?[i.default()]:[]]);/**
- * @license lucide-vue-next v0.563.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 pe=(e,a)=>(n,{slots:l,attrs:s})=>t.h(At,{...s,...n,iconNode:a,name:e},l);/**
- * @license lucide-vue-next v0.563.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 Oe=pe("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
- * @license lucide-vue-next v0.563.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 qe=pe("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
- * @license lucide-vue-next v0.563.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 Ie=pe("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
- * @license lucide-vue-next v0.563.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 Le=pe("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
- * @license lucide-vue-next v0.563.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 Mt=pe("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-next v0.563.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 wt=pe("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),Tt=t.defineComponent({name:"EliTabelaCaixaDeBusca",components:{Search:wt},props:{modelo:{type:String,required:!1,default:""}},emits:{buscar(e){return typeof e=="string"}},setup(e,{emit:a}){const n=t.ref(e.modelo??"");t.watch(()=>e.modelo,s=>{s!==void 0&&s!==n.value&&(n.value=s)});function l(){a("buscar",n.value.trim())}return{texto:n,emitirBusca:l}}}),Pt={class:"eli-tabela__busca"},Ft={class:"eli-tabela__busca-input-wrapper"};function Ot(e,a,n,l,s,m){const o=t.resolveComponent("Search");return t.openBlock(),t.createElementBlock("div",Pt,[t.createElementVNode("div",Ft,[t.withDirectives(t.createElementVNode("input",{id:"eli-tabela-busca","onUpdate:modelValue":a[0]||(a[0]=r=>e.texto=r),type:"search",class:"eli-tabela__busca-input",placeholder:"Digite termos para filtrar",onKeyup:a[1]||(a[1]=t.withKeys((...r)=>e.emitirBusca&&e.emitirBusca(...r),["enter"]))},null,544),[[t.vModelText,e.texto]]),t.createElementVNode("button",{type:"button",class:"eli-tabela__busca-botao","aria-label":"Buscar",title:"Buscar",onClick:a[2]||(a[2]=(...r)=>e.emitirBusca&&e.emitirBusca(...r))},[t.createVNode(o,{class:"eli-tabela__busca-botao-icone",size:16,"stroke-width":2,"aria-hidden":"true"})])])])}const qt=P(Tt,[["render",Ot],["__scopeId","data-v-341415d1"]]),It=t.defineComponent({name:"EliTabelaCabecalho",components:{EliTabelaCaixaDeBusca:qt},props:{exibirBusca:{type:Boolean,required:!0},exibirBotaoColunas:{type:Boolean,required:!1,default:!0},exibirBotaoFiltroAvancado:{type:Boolean,required:!1,default:!1},valorBusca:{type:String,required:!0},acoesCabecalho:{type:Array,required:!0}},emits:{buscar(e){return typeof e=="string"},colunas(){return!0},filtroAvancado(){return!0}},setup(e,{emit:a}){const n=t.computed(()=>e.acoesCabecalho.length>0);function l(o){a("buscar",o)}function s(){a("colunas")}function m(){a("filtroAvancado")}return{temAcoesCabecalho:n,emitBuscar:l,emitColunas:s,emitFiltroAvancado:m}}}),Lt={class:"eli-tabela__cabecalho"},zt={key:0,class:"eli-tabela__busca-grupo"},jt={key:1,class:"eli-tabela__acoes-cabecalho"},Ht=["onClick"],Ut={class:"eli-tabela__acoes-cabecalho-rotulo"};function Yt(e,a,n,l,s,m){const o=t.resolveComponent("EliTabelaCaixaDeBusca");return t.openBlock(),t.createElementBlock("div",Lt,[e.exibirBusca?(t.openBlock(),t.createElementBlock("div",zt,[e.exibirBotaoColunas?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas",onClick:a[0]||(a[0]=(...r)=>e.emitColunas&&e.emitColunas(...r))}," Colunas ")):t.createCommentVNode("",!0),e.exibirBotaoFiltroAvancado?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--filtro",onClick:a[1]||(a[1]=(...r)=>e.emitFiltroAvancado&&e.emitFiltroAvancado(...r))}," Filtro ")):t.createCommentVNode("",!0),t.createVNode(o,{modelo:e.valorBusca,onBuscar:e.emitBuscar},null,8,["modelo","onBuscar"])])):t.createCommentVNode("",!0),e.temAcoesCabecalho?(t.openBlock(),t.createElementBlock("div",jt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.acoesCabecalho,(r,u)=>(t.openBlock(),t.createElementBlock("button",{key:`${r.rotulo}-${u}`,type:"button",class:"eli-tabela__acoes-cabecalho-botao",style:t.normalizeStyle(r.cor?{backgroundColor:r.cor,color:"#fff"}:void 0),onClick:r.acao},[r.icone?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.icone),{key:0,class:"eli-tabela__acoes-cabecalho-icone",size:16,"stroke-width":2})):t.createCommentVNode("",!0),t.createElementVNode("span",Ut,t.toDisplayString(r.rotulo),1)],12,Ht))),128))])):t.createCommentVNode("",!0)])}const Rt=P(It,[["render",Yt],["__scopeId","data-v-17166105"]]),Jt=t.defineComponent({name:"EliTabelaEstados",props:{carregando:{type:Boolean,required:!0},erro:{type:String,required:!0},mensagemVazio:{type:String,required:!1,default:void 0}}}),Wt={key:0,class:"eli-tabela eli-tabela--carregando","aria-busy":"true"},Zt={key:1,class:"eli-tabela eli-tabela--erro",role:"alert"},Gt={class:"eli-tabela__erro-mensagem"},Xt={key:2,class:"eli-tabela eli-tabela--vazio"};function Kt(e,a,n,l,s,m){return e.carregando?(t.openBlock(),t.createElementBlock("div",Wt," Carregando... ")):e.erro?(t.openBlock(),t.createElementBlock("div",Zt,[a[0]||(a[0]=t.createElementVNode("div",{class:"eli-tabela__erro-titulo"},"Erro",-1)),t.createElementVNode("div",Gt,t.toDisplayString(e.erro),1)])):(t.openBlock(),t.createElementBlock("div",Xt,t.toDisplayString(e.mensagemVazio??"Nenhum registro encontrado."),1))}const Qt=P(Jt,[["render",Kt]]),xt=t.defineComponent({name:"EliTabelaDebug",props:{isDev:{type:Boolean,required:!0},menuAberto:{type:Number,required:!0},menuPopupPos:{type:Object,required:!0}}}),ea={key:0,style:{position:"fixed",left:"8px",bottom:"8px","z-index":"999999",background:"rgba(185,28,28,0.9)",color:"#fff",padding:"6px 10px","border-radius":"8px","font-size":"12px","max-width":"500px"}};function ta(e,a,n,l,s,m){return e.isDev?(t.openBlock(),t.createElementBlock("div",ea,[a[0]||(a[0]=t.createElementVNode("div",null,[t.createElementVNode("b",null,"EliTabela debug")],-1)),t.createElementVNode("div",null,"menuAberto: "+t.toDisplayString(e.menuAberto),1),t.createElementVNode("div",null,"menuPos: top="+t.toDisplayString(e.menuPopupPos.top)+", left="+t.toDisplayString(e.menuPopupPos.left),1)])):t.createCommentVNode("",!0)}const aa=P(xt,[["render",ta]]),oa=t.defineComponent({name:"EliTabelaHead",components:{ArrowUp:qe,ArrowDown:Oe},props:{colunas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},colunaOrdenacao:{type:String,required:!0},direcaoOrdenacao:{type:String,required:!0}},emits:{alternarOrdenacao(e){return typeof e=="string"&&e.length>0}},setup(e,{emit:a}){function n(s){return(s==null?void 0:s.coluna_ordem)!==void 0&&(s==null?void 0:s.coluna_ordem)!==null}function l(s){a("alternarOrdenacao",s)}return{ArrowUp:qe,ArrowDown:Oe,isOrdenavel:n,emitAlternarOrdenacao:l}}}),na={class:"eli-tabela__thead"},ra={class:"eli-tabela__tr eli-tabela__tr--header"},la={key:0,class:"eli-tabela__th eli-tabela__th--expander",scope:"col"},ia=["onClick"],sa={class:"eli-tabela__th-texto"},ca={key:1,class:"eli-tabela__th-label"},da={key:1,class:"eli-tabela__th eli-tabela__th--acoes",scope:"col"};function ua(e,a,n,l,s,m){const o=t.resolveComponent("ArrowUp");return t.openBlock(),t.createElementBlock("thead",na,[t.createElementVNode("tr",ra,[e.temColunasInvisiveis?(t.openBlock(),t.createElementBlock("th",la)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunas,(r,u)=>(t.openBlock(),t.createElementBlock("th",{key:`th-${u}`,class:t.normalizeClass(["eli-tabela__th",[e.isOrdenavel(r)?"eli-tabela__th--ordenavel":void 0]]),scope:"col"},[e.isOrdenavel(r)?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:t.normalizeClass(["eli-tabela__th-botao",[e.colunaOrdenacao===String(r.coluna_ordem)?"eli-tabela__th-botao--ativo":void 0]]),onClick:i=>e.emitAlternarOrdenacao(String(r.coluna_ordem))},[t.createElementVNode("span",sa,t.toDisplayString(r.rotulo),1),e.colunaOrdenacao===String(r.coluna_ordem)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.direcaoOrdenacao==="asc"?e.ArrowUp:e.ArrowDown),{key:0,class:"eli-tabela__th-icone",size:16,"stroke-width":2,"aria-hidden":"true"})):(t.openBlock(),t.createBlock(o,{key:1,class:"eli-tabela__th-icone eli-tabela__th-icone--oculto",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,ia)):(t.openBlock(),t.createElementBlock("span",ca,t.toDisplayString(r.rotulo),1))],2))),128)),e.temAcoes?(t.openBlock(),t.createElementBlock("th",da," Ações ")):t.createCommentVNode("",!0)])])}const ma=P(oa,[["render",ua]]),pa=t.defineComponent({name:"EliTabelaCelulaTextoSimples",components:{},props:{dados:{type:Object}},data(){return{}},methods:{},setup({dados:e}){return{dados:e}}}),fa={key:1};function ba(e,a,n,l,s,m){var o,r,u;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(i=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString((r=e.dados)==null?void 0:r.texto),1)):(t.openBlock(),t.createElementBlock("span",fa,t.toDisplayString((u=e.dados)==null?void 0:u.texto),1))}const ha=P(pa,[["render",ba],["__scopeId","data-v-7a629ffa"]]),ga=t.defineComponent({name:"EliTabelaCelulaTextoTruncado",props:{dados:{type:Object}},setup({dados:e}){return{dados:e}}}),ya=["title"],$a=["title"];function Ea(e,a,n,l,s,m){var o,r,u,i,d;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__texto-truncado eli-tabela__celula-link",title:(r=e.dados)==null?void 0:r.texto,onClick:a[0]||(a[0]=t.withModifiers(b=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString((u=e.dados)==null?void 0:u.texto),9,ya)):(t.openBlock(),t.createElementBlock("span",{key:1,class:"eli-tabela__texto-truncado",title:(i=e.dados)==null?void 0:i.texto},t.toDisplayString((d=e.dados)==null?void 0:d.texto),9,$a))}const ka=P(ga,[["render",Ea],["__scopeId","data-v-74854889"]]),Ba=t.defineComponent({name:"EliTabelaCelulaNumero",components:{},props:{dados:{type:Object}},setup({dados:e}){const a=t.computed(()=>{var r,u;const n=String(e==null?void 0:e.numero).replace(".",","),l=(r=e==null?void 0:e.prefixo)==null?void 0:r.trim(),s=(u=e==null?void 0:e.sufixo)==null?void 0:u.trim(),m=l?`${l} `:"",o=s?` ${s}`:"";return`${m}${n}${o}`});return{dados:e,textoNumero:a}}}),Ca={key:1};function _a(e,a,n,l,s,m){var o;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(r=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString(e.textoNumero),1)):(t.openBlock(),t.createElementBlock("span",Ca,t.toDisplayString(e.textoNumero),1))}const va=P(Ba,[["render",_a],["__scopeId","data-v-69c890c4"]]),Sa=t.defineComponent({name:"EliTabelaCelulaTags",components:{VChip:_e.VChip},props:{dados:{type:Object,required:!1}},setup({dados:e}){return{dados:e}}}),Va={class:"eli-tabela__celula-tags"};function Na(e,a,n,l,s,m){var o;return t.openBlock(),t.createElementBlock("div",Va,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(((o=e.dados)==null?void 0:o.opcoes)??[],(r,u)=>(t.openBlock(),t.createBlock(nt.VChip,{key:u,class:"eli-tabela__celula-tag",size:"small",variant:"tonal",color:r.cor,clickable:!!r.acao,onClick:t.withModifiers(i=>{var d;return(d=r.acao)==null?void 0:d.call(r)},["stop","prevent"])},{default:t.withCtx(()=>[r.icone?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.icone),{key:0,class:"eli-tabela__celula-tag-icone",size:14})):t.createCommentVNode("",!0),t.createElementVNode("span",null,t.toDisplayString(r.rotulo),1)]),_:2},1032,["color","clickable","onClick"]))),128))])}const Da=P(Sa,[["render",Na],["__scopeId","data-v-a9c83dbe"]]);function ze(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ee={exports:{}},Aa=Ee.exports,je;function Ma(){return je||(je=1,(function(e,a){(function(n,l){e.exports=l()})(Aa,(function(){var n=1e3,l=6e4,s=36e5,m="millisecond",o="second",r="minute",u="hour",i="day",d="week",b="month",N="quarter",S="year",$="date",c="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={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(_){var g=["th","st","nd","rd"],p=_%100;return"["+_+(g[(p-20)%10]||g[p]||g[0])+"]"}},j=function(_,g,p){var B=String(_);return!B||B.length>=g?_:""+Array(g+1-B.length).join(p)+_},G={s:j,z:function(_){var g=-_.utcOffset(),p=Math.abs(g),B=Math.floor(p/60),f=p%60;return(g<=0?"+":"-")+j(B,2,"0")+":"+j(f,2,"0")},m:function _(g,p){if(g.date()1)return _(v[0])}else{var T=g.name;H[T]=g,f=T}return!B&&f&&(I=f),f||!B&&I},w=function(_,g){if(O(_))return _.clone();var p=typeof g=="object"?g:{};return p.date=_,p.args=arguments,new de(p)},A=G;A.l=ae,A.i=O,A.w=function(_,g){return w(_,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var de=(function(){function _(p){this.$L=ae(p.locale,null,!0),this.parse(p),this.$x=this.$x||p.x||{},this[X]=!0}var g=_.prototype;return g.parse=function(p){this.$d=(function(B){var f=B.date,V=B.utc;if(f===null)return new Date(NaN);if(A.u(f))return new Date;if(f instanceof Date)return new Date(f);if(typeof f=="string"&&!/Z$/i.test(f)){var v=f.match(E);if(v){var T=v[2]-1||0,L=(v[7]||"0").substring(0,3);return V?new Date(Date.UTC(v[1],T,v[3]||1,v[4]||0,v[5]||0,v[6]||0,L)):new Date(v[1],T,v[3]||1,v[4]||0,v[5]||0,v[6]||0,L)}}return new Date(f)})(p),this.init()},g.init=function(){var p=this.$d;this.$y=p.getFullYear(),this.$M=p.getMonth(),this.$D=p.getDate(),this.$W=p.getDay(),this.$H=p.getHours(),this.$m=p.getMinutes(),this.$s=p.getSeconds(),this.$ms=p.getMilliseconds()},g.$utils=function(){return A},g.isValid=function(){return this.$d.toString()!==c},g.isSame=function(p,B){var f=w(p);return this.startOf(B)<=f&&f<=this.endOf(B)},g.isAfter=function(p,B){return w(p)0,H<=I.r||!I.r){H<=1&&G>0&&(I=k[G-1]);var X=y[I.l];S&&(H=S(""+H)),c=typeof X=="string"?X.replace("%d",H):X(H,d,I.l,E);break}}if(d)return c;var O=E?y.future:y.past;return typeof O=="function"?O(c):O.replace("%s",c)},m.to=function(i,d){return r(i,d,this,!0)},m.from=function(i,d){return r(i,d,this)};var u=function(i){return i.$u?s.utc():s()};m.toNow=function(i){return this.to(u(this),i)},m.fromNow=function(i){return this.from(u(this),i)}}}))})(ke)),ke.exports}var Fa=Pa();const Oa=ze(Fa);se.extend(Oa);const qa=t.defineComponent({name:"EliTabelaCelulaData",props:{dados:{type:Object,required:!1}},setup({dados:e}){const a=t.computed(()=>{const n=e==null?void 0:e.valor;if(!n)return"";const l=(e==null?void 0:e.formato)??"data";return l==="relativo"?se(n).fromNow():l==="data_hora"?se(n).format("DD/MM/YYYY HH:mm"):se(n).format("DD/MM/YYYY")});return{dados:e,textoData:a}}}),Ia={key:1};function La(e,a,n,l,s,m){var o;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(r=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString(e.textoData),1)):(t.openBlock(),t.createElementBlock("span",Ia,t.toDisplayString(e.textoData),1))}const za={textoSimples:ha,textoTruncado:ka,numero:va,tags:Da,data:P(qa,[["render",La],["__scopeId","data-v-2b88bbb2"]])},ja=t.defineComponent({name:"EliTabelaCelula",props:{celula:{type:Array,required:!0}},setup(e){const a=t.computed(()=>e.celula[0]),n=t.computed(()=>e.celula[1]),l=t.computed(()=>za[a.value]),s=t.computed(()=>n.value);return{Componente:l,dadosParaComponente:s}}});function Ha(e,a,n,l,s,m){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Componente),{dados:e.dadosParaComponente},null,8,["dados"])}const Ue=P(ja,[["render",Ha]]),Ua=t.defineComponent({name:"EliTabelaDetalhesLinha",components:{EliTabelaCelula:Ue},props:{linha:{type:null,required:!0},colunasInvisiveis:{type:Array,required:!0}}}),Ya={class:"eli-tabela__detalhes"},Ra={class:"eli-tabela__detalhe-rotulo"},Ja={class:"eli-tabela__detalhe-valor"};function Wa(e,a,n,l,s,m){const o=t.resolveComponent("EliTabelaCelula");return t.openBlock(),t.createElementBlock("div",Ya,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunasInvisiveis,(r,u)=>(t.openBlock(),t.createElementBlock("div",{key:`det-${u}-${r.rotulo}`,class:"eli-tabela__detalhe"},[t.createElementVNode("div",Ra,t.toDisplayString(r.rotulo),1),t.createElementVNode("div",Ja,[t.createVNode(o,{celula:r.celula(e.linha)},null,8,["celula"])])]))),128))])}const Za=P(Ua,[["render",Wa],["__scopeId","data-v-f1ee8d20"]]),Ga=t.defineComponent({name:"EliTabelaBody",components:{EliTabelaCelula:Ue,EliTabelaDetalhesLinha:Za,MoreVertical:Mt,ChevronRight:Le,ChevronDown:Ie},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}},setup(){return{ChevronRight:Le,ChevronDown:Ie}}}),Xa={class:"eli-tabela__tbody"},Ka=["aria-expanded","aria-label","title","onClick"],Qa=["id","disabled","aria-expanded","aria-controls","aria-label","title","onClick"],xa=["colspan"];function eo(e,a,n,l,s,m){const o=t.resolveComponent("EliTabelaCelula"),r=t.resolveComponent("MoreVertical"),u=t.resolveComponent("EliTabelaDetalhesLinha");return t.openBlock(),t.createElementBlock("tbody",Xa,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.linhas,(i,d)=>{var b,N,S,$,c,E;return t.openBlock(),t.createElementBlock(t.Fragment,{key:`grp-${d}`},[t.createElementVNode("tr",{class:t.normalizeClass(["eli-tabela__tr",[d%2===1?"eli-tabela__tr--zebra":void 0]])},[e.temColunasInvisiveis?(t.openBlock(),t.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--expander",key:`td-${d}-exp`},[t.createElementVNode("button",{type:"button",class:t.normalizeClass(["eli-tabela__expander-botao",[(b=e.linhasExpandidas)!=null&&b[d]?"eli-tabela__expander-botao--ativo":void 0]]),"aria-expanded":(N=e.linhasExpandidas)!=null&&N[d]?"true":"false","aria-label":(S=e.linhasExpandidas)!=null&&S[d]?"Ocultar colunas ocultas":"Mostrar colunas ocultas",title:($=e.linhasExpandidas)!=null&&$[d]?"Ocultar detalhes":"Mostrar detalhes",onClick:t.withModifiers(y=>e.alternarLinhaExpandida(d),["stop"])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent((c=e.linhasExpandidas)!=null&&c[d]?e.ChevronDown:e.ChevronRight),{class:"eli-tabela__expander-icone",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,Ka)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunas,(y,k)=>(t.openBlock(),t.createElementBlock("td",{key:`td-${d}-${k}`,class:"eli-tabela__td"},[t.createVNode(o,{celula:y.celula(i)},null,8,["celula"])]))),128)),e.temAcoes?(t.openBlock(),t.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--acoes",key:`td-${d}-acoes`},[t.createElementVNode("div",{class:t.normalizeClass(["eli-tabela__acoes-container",[e.menuAberto===d?"eli-tabela__acoes-container--aberto":void 0]])},[t.createElementVNode("button",{class:"eli-tabela__acoes-toggle",type:"button",id:`eli-tabela-acoes-toggle-${d}`,disabled:!e.possuiAcoes(d),"aria-haspopup":"menu","aria-expanded":e.menuAberto===d?"true":"false","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:t.withModifiers(y=>e.toggleMenu(d,y),["stop"])},[t.createVNode(r,{class:"eli-tabela__acoes-toggle-icone",size:18,"stroke-width":2})],8,Qa)],2)])):t.createCommentVNode("",!0)],2),e.temColunasInvisiveis&&((E=e.linhasExpandidas)!=null&&E[d])?(t.openBlock(),t.createElementBlock("tr",{key:0,class:t.normalizeClass(["eli-tabela__tr eli-tabela__tr--detalhes",[d%2===1?"eli-tabela__tr--zebra":void 0]])},[t.createElementVNode("td",{class:"eli-tabela__td eli-tabela__td--detalhes",colspan:(e.temColunasInvisiveis?1:0)+e.colunas.length+(e.temAcoes?1:0)},[t.createVNode(u,{linha:i,colunasInvisiveis:e.colunasInvisiveis},null,8,["linha","colunasInvisiveis"])],8,xa)],2)):t.createCommentVNode("",!0)],64)}),128))])}const to=P(Ga,[["render",eo]]),ao=t.defineComponent({name:"EliTabelaMenuAcoes",props:{menuAberto:{type:Number,required:!0},posicao:{type:Object,required:!0},acoes:{type:Array,required:!0},linha:{type:null,required:!0}},emits:{executar(e){return e!==null&&typeof e=="object"}},setup(e,{emit:a,expose:n}){const l=t.ref(null);n({menuEl:l});const s=t.computed(()=>e.acoes.length>0);function m(o){e.linha&&a("executar",{acao:o.acao,linha:e.linha})}return{menuEl:l,possuiAcoes:s,emitExecutar:m}}}),oo=["id","aria-labelledby"],no=["aria-label","title","onClick"],ro={class:"eli-tabela__acoes-item-texto"};function lo(e,a,n,l,s,m){return t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[e.menuAberto!==null&&e.possuiAcoes?(t.openBlock(),t.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:t.normalizeStyle({position:"fixed",top:`${e.posicao.top}px`,left:`${e.posicao.left}px`,zIndex:999999})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.acoes,o=>(t.openBlock(),t.createElementBlock("li",{key:`acao-${e.menuAberto}-${o.indice}`,class:"eli-tabela__acoes-item",role:"none"},[t.createElementVNode("button",{type:"button",class:"eli-tabela__acoes-item-botao",style:t.normalizeStyle({color:o.acao.cor}),role:"menuitem","aria-label":o.acao.rotulo,title:o.acao.rotulo,onClick:t.withModifiers(r=>e.emitExecutar(o),["stop"])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.acao.icone),{class:"eli-tabela__acoes-item-icone",size:16,"stroke-width":2})),t.createElementVNode("span",ro,t.toDisplayString(o.acao.rotulo),1)],12,no)]))),128))],12,oo)):t.createCommentVNode("",!0)])}const io=P(ao,[["render",lo]]),so=t.defineComponent({name:"EliTabelaPaginacao",props:{pagina:{type:Number,required:!0},totalPaginas:{type:Number,required:!0},maximoBotoes:{type:Number,required:!1}},emits:{alterar(e){return Number.isFinite(e)}},setup(e,{emit:a}){const n=t.computed(()=>{const i=e.maximoBotoes;return typeof i=="number"&&i>=5?Math.floor(i):7}),l=t.computed(()=>{const i=e.totalPaginas,d=e.pagina,b=n.value,N=[],S=k=>{N.push({label:String(k),pagina:k,ativo:k===d})},$=()=>{N.push({label:"…",ehEllipsis:!0})};if(i<=b){for(let k=1;k<=i;k+=1)S(k);return N}const c=Math.max(3,b-2);let E=Math.max(2,d-Math.floor(c/2)),y=E+c-1;y>=i&&(y=i-1,E=y-c+1),S(1),E>2&&$();for(let k=E;k<=y;k+=1)S(k);return ye.pagina<=1),o=t.computed(()=>e.pagina>=e.totalPaginas),r=t.computed(()=>e.pagina),u=t.computed(()=>e.totalPaginas);return{botoes:l,irParaPagina:s,anteriorDesabilitado:m,proximaDesabilitada:o,paginaAtual:r,totalPaginasExibidas:u}}}),co={key:0,class:"eli-tabela__paginacao",role:"navigation","aria-label":"Paginação de resultados"},uo=["disabled"],mo={key:0,class:"eli-tabela__pagina-ellipsis","aria-hidden":"true"},po=["disabled","aria-current","aria-label","onClick"],fo=["disabled"];function bo(e,a,n,l,s,m){return e.totalPaginasExibidas>1?(t.openBlock(),t.createElementBlock("nav",co,[t.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.anteriorDesabilitado,"aria-label":"Página anterior",onClick:a[0]||(a[0]=o=>e.irParaPagina(e.paginaAtual-1))}," << ",8,uo),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.botoes,(o,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${o.label}-${r}`},[o.ehEllipsis?(t.openBlock(),t.createElementBlock("span",mo,t.toDisplayString(o.label),1)):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:t.normalizeClass(["eli-tabela__pagina-botao",o.ativo?"eli-tabela__pagina-botao--ativo":void 0]),disabled:o.ativo,"aria-current":o.ativo?"page":void 0,"aria-label":`Ir para página ${o.label}`,onClick:u=>e.irParaPagina(o.pagina)},t.toDisplayString(o.label),11,po))],64))),128)),t.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.proximaDesabilitada,"aria-label":"Próxima página",onClick:a[1]||(a[1]=o=>e.irParaPagina(e.paginaAtual+1))}," >> ",8,fo)])):t.createCommentVNode("",!0)}const ho=P(so,[["render",bo],["__scopeId","data-v-5ca7a362"]]),Ye="application/x-eli-tabela-coluna",go=t.defineComponent({name:"EliTabelaModalColunas",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:a}){const n=t.ref([]),l=t.ref([]);function s(){var H,X;const $=e.rotulosColunas,c=(((H=e.configInicial.visiveis)==null?void 0:H.length)??0)>0||(((X=e.configInicial.invisiveis)==null?void 0:X.length)??0)>0,E=new Set(e.colunas.filter(O=>O.visivel===!1).map(O=>O.rotulo)),y=c?new Set(e.configInicial.invisiveis??[]):E,k=$.filter(O=>!y.has(O)),j=e.configInicial.visiveis??[],G=new Set(k),I=[];for(const O of j)G.has(O)&&I.push(O);for(const O of k)I.includes(O)||I.push(O);n.value=I,l.value=$.filter(O=>y.has(O))}t.watch(()=>[e.aberto,e.rotulosColunas,e.configInicial,e.colunas],()=>{e.aberto&&s()},{deep:!0,immediate:!0});function m(){a("fechar")}function o(){a("salvar",{visiveis:[...n.value],invisiveis:[...l.value]})}function r($,c){var E,y;try{(E=$.dataTransfer)==null||E.setData(Ye,JSON.stringify(c)),(y=$.dataTransfer)==null||y.setData("text/plain",c.rotulo),$.dataTransfer.effectAllowed="move"}catch{}}function u($){var c;try{const E=(c=$.dataTransfer)==null?void 0:c.getData(Ye);if(!E)return null;const y=JSON.parse(E);return!y||typeof y.rotulo!="string"||y.origem!=="visiveis"&&y.origem!=="invisiveis"?null:y}catch{return null}}function i($){const c=$.origem==="visiveis"?n.value:l.value,E=c.indexOf($.rotulo);E>=0&&c.splice(E,1)}function d($,c,E){const y=$==="visiveis"?n.value:l.value,k=y.indexOf(c);k>=0&&y.splice(k,1),E===null||E<0||E>y.length?y.push(c):y.splice(E,0,c)}function b($,c,E,y){r($,{rotulo:c,origem:E,index:y})}function N($,c,E){const y=u($);if(y)if(i(y),d(c,y.rotulo,E),c==="visiveis"){const k=l.value.indexOf(y.rotulo);k>=0&&l.value.splice(k,1)}else{const k=n.value.indexOf(y.rotulo);k>=0&&n.value.splice(k,1)}}function S($,c,E){const y=u($);if(y)if(i(y),d(c,y.rotulo,null),c==="visiveis"){const k=l.value.indexOf(y.rotulo);k>=0&&l.value.splice(k,1)}else{const k=n.value.indexOf(y.rotulo);k>=0&&n.value.splice(k,1)}}return{visiveisLocal:n,invisiveisLocal:l,emitFechar:m,emitSalvar:o,onDragStart:b,onDropItem:N,onDropLista:S}}}),yo={class:"eli-tabela-modal-colunas__modal",role:"dialog","aria-modal":"true","aria-label":"Configurar colunas"},$o={class:"eli-tabela-modal-colunas__header"},Eo={class:"eli-tabela-modal-colunas__conteudo"},ko={class:"eli-tabela-modal-colunas__coluna"},Bo=["onDragstart","onDrop"],Co={class:"eli-tabela-modal-colunas__item-texto"},_o={class:"eli-tabela-modal-colunas__coluna"},vo=["onDragstart","onDrop"],So={class:"eli-tabela-modal-colunas__item-texto"},Vo={class:"eli-tabela-modal-colunas__footer"};function No(e,a,n,l,s,m){return e.aberto?(t.openBlock(),t.createElementBlock("div",{key:0,class:"eli-tabela-modal-colunas__overlay",role:"presentation",onClick:a[9]||(a[9]=t.withModifiers((...o)=>e.emitFechar&&e.emitFechar(...o),["self"]))},[t.createElementVNode("div",yo,[t.createElementVNode("header",$o,[a[10]||(a[10]=t.createElementVNode("h3",{class:"eli-tabela-modal-colunas__titulo"},"Colunas",-1)),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__fechar","aria-label":"Fechar",onClick:a[0]||(a[0]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," × ")]),t.createElementVNode("div",Eo,[t.createElementVNode("div",ko,[a[12]||(a[12]=t.createElementVNode("div",{class:"eli-tabela-modal-colunas__coluna-titulo"},"Visíveis",-1)),t.createElementVNode("div",{class:"eli-tabela-modal-colunas__lista",onDragover:a[2]||(a[2]=t.withModifiers(()=>{},["prevent"])),onDrop:a[3]||(a[3]=o=>e.onDropLista(o,"visiveis",null))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.visiveisLocal,(o,r)=>(t.openBlock(),t.createElementBlock("div",{key:`vis-${o}`,class:"eli-tabela-modal-colunas__item",draggable:"true",onDragstart:u=>e.onDragStart(u,o,"visiveis",r),onDragover:a[1]||(a[1]=t.withModifiers(()=>{},["prevent"])),onDrop:u=>e.onDropItem(u,"visiveis",r)},[a[11]||(a[11]=t.createElementVNode("span",{class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"},"⋮⋮",-1)),t.createElementVNode("span",Co,t.toDisplayString(o),1)],40,Bo))),128))],32)]),t.createElementVNode("div",_o,[a[14]||(a[14]=t.createElementVNode("div",{class:"eli-tabela-modal-colunas__coluna-titulo"},"Invisíveis",-1)),t.createElementVNode("div",{class:"eli-tabela-modal-colunas__lista",onDragover:a[5]||(a[5]=t.withModifiers(()=>{},["prevent"])),onDrop:a[6]||(a[6]=o=>e.onDropLista(o,"invisiveis",null))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.invisiveisLocal,(o,r)=>(t.openBlock(),t.createElementBlock("div",{key:`inv-${o}`,class:"eli-tabela-modal-colunas__item",draggable:"true",onDragstart:u=>e.onDragStart(u,o,"invisiveis",r),onDragover:a[4]||(a[4]=t.withModifiers(()=>{},["prevent"])),onDrop:u=>e.onDropItem(u,"invisiveis",r)},[a[13]||(a[13]=t.createElementVNode("span",{class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"},"⋮⋮",-1)),t.createElementVNode("span",So,t.toDisplayString(o),1)],40,vo))),128))],32)])]),t.createElementVNode("footer",Vo,[t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--sec",onClick:a[7]||(a[7]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," Cancelar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--prim",onClick:a[8]||(a[8]=(...o)=>e.emitSalvar&&e.emitSalvar(...o))}," Salvar ")])])])):t.createCommentVNode("",!0)}const Do=P(go,[["render",No],["__scopeId","data-v-b8f693ef"]]);function Ao(e){if(!Number.isFinite(e)||e<=0||e>=1)return 0;const a=e.toString();if(a.includes("e-")){const[,s]=a.split("e-"),m=Number(s);return Number.isFinite(m)?m:0}const n=a.indexOf(".");return n===-1?0:a.slice(n+1).replace(/0+$/,"").length}function Mo(e){const a=(e??"").trim().replace(/,/g,".");if(!a)return null;const n=Number(a);return Number.isNaN(n)?null:n}function Se(e,a){return e==null?"":a===null?String(e):Number(e).toFixed(Math.max(0,a)).replace(/\./g,",")}function Re(e){return(e??"").replace(/\D+/g,"")}function wo(e){const a=(e??"").replace(/[^0-9.,]+/g,""),n=a.match(/[.,]/);if(!n)return a;const l=n[0],s=a.indexOf(l),m=a.slice(0,s).replace(/[.,]/g,""),o=a.slice(s+1).replace(/[.,]/g,"");return`${m.length?m:"0"}${l}${o}`}function To(e,a){if(a===null)return e;if(a<=0)return e.replace(/[.,]/g,"");const n=e.match(/[.,]/);if(!n)return e;const l=n[0],s=e.indexOf(l),m=e.slice(0,s),o=e.slice(s+1);return`${m}${l}${o.slice(0,a)}`}function Po(e){const a=e.match(/^(\d+)[.,]$/);if(!a)return null;const n=Number(a[1]);return Number.isNaN(n)?null:n}const Fo=t.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:a,emit:n}){const l=t.computed(()=>{var d;const i=(d=e.opcoes)==null?void 0:d.precisao;return i==null?null:Ao(i)}),s=t.computed(()=>l.value===0),m=t.computed(()=>{const i=l.value;return i!==null&&i>0}),o=t.ref(""),r=t.ref(void 0);t.watch(()=>e.value,i=>{i!==r.value&&(o.value=Se(i,l.value),r.value=i)},{immediate:!0});function u(i){if(m.value){const S=l.value??0,$=Re(i),c=$?Number($):0,E=Math.pow(10,S),y=$?c/E:null,k=y===null?null:y;r.value=k,n("update:value",k),n("input",k),n("change",k),o.value=Se(k,S);return}const d=s.value?Re(i):wo(i),b=s.value?d:To(d,l.value);let N=null;if(b){const $=(s.value?null:Po(b))??Mo(b);N=$===null?null:$}r.value=N,n("update:value",N),n("input",N),n("change",N),o.value=Se(N,l.value)}return{attrs:a,emit:n,displayValue:o,isInteiro:s,onUpdateModelValue:u}}}),Oo={class:"eli-entrada__prefixo"},qo={class:"eli-entrada__sufixo"};function Io(e,a,n,l,s,m){var o,r,u,i;return t.openBlock(),t.createBlock(Ce.VTextField,t.mergeProps({"model-value":e.displayValue,label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(r=e.opcoes)==null?void 0:r.placeholder,type:e.isInteiro?"number":"text",inputmode:e.isInteiro?"numeric":"decimal",pattern:e.isInteiro?"[0-9]*":"[0-9.,]*"},e.attrs,{"onUpdate:modelValue":e.onUpdateModelValue,onFocus:a[0]||(a[0]=()=>e.emit("focus")),onBlur:a[1]||(a[1]=()=>e.emit("blur"))}),t.createSlots({_:2},[(u=e.opcoes)!=null&&u.prefixo?{name:"prepend-inner",fn:t.withCtx(()=>[t.createElementVNode("span",Oo,t.toDisplayString(e.opcoes.prefixo),1)]),key:"0"}:void 0,(i=e.opcoes)!=null&&i.sufixo?{name:"append-inner",fn:t.withCtx(()=>[t.createElementVNode("span",qo,t.toDisplayString(e.opcoes.sufixo),1)]),key:"1"}:void 0]),1040,["model-value","label","placeholder","type","inputmode","pattern","onUpdate:modelValue"])}const Ve=P(Fo,[["render",Io],["__scopeId","data-v-77cbf216"]]),Lo=t.defineComponent({name:"EliEntradaDataHora",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:a,attrs:n}){const l=t.computed(()=>e.opcoes?e.opcoes:{rotulo:e.rotulo??"Data e hora",placeholder:e.placeholder??"",modo:e.modo??"dataHora",limpavel:e.limpavel,erro:e.erro,mensagensErro:e.mensagensErro,dica:e.dica,dicaPersistente:e.dicaPersistente,densidade:e.densidade,variante:e.variante,min:e.min,max:e.max}),s=t.computed(()=>l.value.modo??"dataHora"),m=t.computed(()=>!!e.desabilitado),o=t.computed(()=>s.value==="data"?"date":"datetime-local");function r(c){return s.value==="data"?se(c).format("YYYY-MM-DD"):se(c).format("YYYY-MM-DDTHH:mm")}function u(c){return s.value==="data"?se(`${c}T00:00`).format():se(c).format()}const i=t.computed(()=>e.value!==void 0?e.value??null:e.modelValue),d=t.computed({get:()=>i.value?r(i.value):"",set:c=>{const E=c&&c.length>0?c:null;if(!E){a("update:value",null),a("input",null),a("change",null),a("update:modelValue",null),a("alterar",null);return}const y=u(E);a("update:value",y),a("input",y),a("change",y),a("update:modelValue",y),a("alterar",y)}}),b=t.computed(()=>{const c=l.value.min;if(c)return r(c)}),N=t.computed(()=>{const c=l.value.max;if(c)return r(c)});function S(){a("foco"),a("focus")}function $(){a("desfoco"),a("blur")}return{attrs:n,valor:d,tipoInput:o,minLocal:b,maxLocal:N,opcoesEfetivas:l,desabilitadoEfetivo:m,emitCompatFocus:S,emitCompatBlur:$}}}),zo={class:"eli-data-hora"};function jo(e,a,n,l,s,m){return t.openBlock(),t.createElementBlock("div",zo,[t.createVNode(Ce.VTextField,t.mergeProps({modelValue:e.valor,"onUpdate:modelValue":a[0]||(a[0]=o=>e.valor=o),type:e.tipoInput,label:e.opcoesEfetivas.rotulo,placeholder:e.opcoesEfetivas.placeholder,disabled:e.desabilitadoEfetivo,clearable:!!e.opcoesEfetivas.limpavel,error:!!e.opcoesEfetivas.erro,"error-messages":e.opcoesEfetivas.mensagensErro,hint:e.opcoesEfetivas.dica,"persistent-hint":!!e.opcoesEfetivas.dicaPersistente,density:e.opcoesEfetivas.densidade??"comfortable",variant:e.opcoesEfetivas.variante??"outlined",min:e.minLocal,max:e.maxLocal},e.attrs,{onFocus:e.emitCompatFocus,onBlur:e.emitCompatBlur}),null,16,["modelValue","type","label","placeholder","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant","min","max","onFocus","onBlur"])])}const Ne=P(Lo,[["render",jo],["__scopeId","data-v-1bfd1be8"]]),Ho=t.defineComponent({name:"EliEntradaParagrafo",components:{VTextarea:_e.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:a,emit:n}){const l=t.computed({get:()=>e.value,set:s=>{n("update:value",s),n("input",s),n("change",s)}});return{attrs:a,emit:n,localValue:l,opcoes:e.opcoes}}});function Uo(e,a,n,l,s,m){var o,r,u,i,d,b,N,S,$,c,E,y;return t.openBlock(),t.createBlock(rt.VTextarea,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=k=>e.localValue=k),label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(r=e.opcoes)==null?void 0:r.placeholder,rows:((u=e.opcoes)==null?void 0:u.linhas)??4,counter:(i=e.opcoes)==null?void 0:i.limiteCaracteres,maxlength:(d=e.opcoes)==null?void 0:d.limiteCaracteres,clearable:!!((b=e.opcoes)!=null&&b.limpavel),error:!!((N=e.opcoes)!=null&&N.erro),"error-messages":(S=e.opcoes)==null?void 0:S.mensagensErro,hint:($=e.opcoes)==null?void 0:$.dica,"persistent-hint":!!((c=e.opcoes)!=null&&c.dicaPersistente),density:((E=e.opcoes)==null?void 0:E.densidade)??"comfortable",variant:((y=e.opcoes)==null?void 0:y.variante)??"outlined","auto-grow":""},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","rows","counter","maxlength","clearable","error","error-messages","hint","persistent-hint","density","variant"])}const Je=P(Ho,[["render",Uo]]),Yo=t.defineComponent({name:"EliEntradaSelecao",components:{VSelect:_e.VSelect},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:a,emit:n}){const l=t.ref([]),s=t.ref(!1),m=t.computed({get:()=>e.value,set:r=>{n("update:value",r),n("input",r),n("change",r)}});async function o(){s.value=!0;try{const r=await e.opcoes.itens(),u=Array.isArray(r)?r:[];l.value=[...u]}finally{s.value=!1}}return t.watch(()=>e.opcoes.itens,()=>{o()}),t.onMounted(()=>{o()}),t.watch(l,r=>{console.debug("[EliEntradaSelecao] itens:",r)},{deep:!0}),{attrs:a,emit:n,localValue:m,opcoes:e.opcoes,itens:l,carregando:s}}});function Ro(e,a,n,l,s,m){var o,r,u,i,d,b,N,S,$;return t.openBlock(),t.createBlock(lt.VSelect,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=c=>e.localValue=c),label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(r=e.opcoes)==null?void 0:r.placeholder,items:e.itens,"item-title":"rotulo","item-value":"chave",loading:e.carregando,disabled:e.carregando,"menu-props":{maxHeight:320},clearable:!!((u=e.opcoes)!=null&&u.limpavel),error:!!((i=e.opcoes)!=null&&i.erro),"error-messages":(d=e.opcoes)==null?void 0:d.mensagensErro,hint:(b=e.opcoes)==null?void 0:b.dica,"persistent-hint":!!((N=e.opcoes)!=null&&N.dicaPersistente),density:((S=e.opcoes)==null?void 0:S.densidade)??"comfortable",variant:(($=e.opcoes)==null?void 0:$.variante)??"outlined"},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","items","loading","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant"])}const We=P(Yo,[["render",Ro]]);function Jo(e){return e==="texto"||e==="numero"||e==="dataHora"}function Wo(e){var n,l;const a=(l=(n=e==null?void 0:e.entrada)==null?void 0:n[1])==null?void 0:l.rotulo;return String(a||((e==null?void 0:e.coluna)??"Filtro"))}const Zo=t.defineComponent({name:"EliTabelaModalFiltroAvancado",props:{aberto:{type:Boolean,required:!0},filtrosBase:{type:Array,required:!0},modelo:{type:Array,required:!0}},emits:{fechar:()=>!0,limpar:()=>!0,salvar:e=>!0},setup(e,{emit:a}){const n=t.ref([]),l=t.ref(""),s=t.computed(()=>(e.filtrosBase??[]).map(c=>String(c.coluna))),m=t.computed(()=>{const c=new Set(n.value.map(E=>String(E.coluna)));return(e.filtrosBase??[]).filter(E=>!c.has(String(E.coluna)))});function o(c){const E=c==null?void 0:c[0];return E==="numero"?Ve:E==="dataHora"?Ne:$e}function r(c){return(c==null?void 0:c[1])??{rotulo:""}}function u(c){return(c==null?void 0:c[0])==="numero"?null:""}function i(){var y;const c=e.filtrosBase??[],E=Array.isArray(e.modelo)?e.modelo:[];n.value=E.map(k=>{const j=c.find(O=>String(O.coluna)===String(k.coluna))??c[0],G=(j==null?void 0:j.entrada)??k.entrada,I=(j==null?void 0:j.coluna)??k.coluna,H=String((j==null?void 0:j.operador)??"="),X=k.valor??u(G);return{coluna:I,operador:H,entrada:G,valor:X}});for(const k of n.value)s.value.includes(String(k.coluna))&&(k.operador=String(((y=c.find(j=>String(j.coluna)===String(k.coluna)))==null?void 0:y.operador)??"="),k.entrada&&!Jo(k.entrada[0])&&(k.entrada=["texto",{rotulo:"Valor"}]))}t.watch(()=>[e.aberto,e.filtrosBase,e.modelo],()=>{e.aberto&&i()},{deep:!0,immediate:!0});function d(){if(!l.value)return;const c=(e.filtrosBase??[]).find(E=>String(E.coluna)===String(l.value));c&&(n.value.some(E=>String(E.coluna)===String(c.coluna))||(n.value.push({coluna:c.coluna,entrada:c.entrada,operador:String(c.operador??"="),valor:u(c.entrada)}),l.value=""))}function b(c){n.value.splice(c,1)}function N(){a("fechar")}function S(){a("limpar")}function $(){a("salvar",n.value.map(c=>({coluna:c.coluna,valor:c.valor})))}return{linhas:n,opcoesParaAdicionar:m,colunaParaAdicionar:l,componenteEntrada:o,opcoesEntrada:r,adicionar:d,remover:b,emitFechar:N,emitSalvar:$,emitLimpar:S,rotuloDoFiltro:Wo}}}),Go={class:"eli-tabela-modal-filtro__modal",role:"dialog","aria-modal":"true","aria-label":"Filtro avançado"},Xo={class:"eli-tabela-modal-filtro__header"},Ko={class:"eli-tabela-modal-filtro__conteudo"},Qo={key:0,class:"eli-tabela-modal-filtro__vazio"},xo={key:1,class:"eli-tabela-modal-filtro__lista"},en={class:"eli-tabela-modal-filtro__entrada"},tn=["onClick"],an={class:"eli-tabela-modal-filtro__acoes"},on=["disabled"],nn=["value"],rn=["disabled"],ln={class:"eli-tabela-modal-filtro__footer"};function sn(e,a,n,l,s,m){return e.aberto?(t.openBlock(),t.createElementBlock("div",{key:0,class:"eli-tabela-modal-filtro__overlay",role:"presentation",onClick:a[6]||(a[6]=t.withModifiers((...o)=>e.emitFechar&&e.emitFechar(...o),["self"]))},[t.createElementVNode("div",Go,[t.createElementVNode("header",Xo,[a[7]||(a[7]=t.createElementVNode("h3",{class:"eli-tabela-modal-filtro__titulo"},"Filtro avançado",-1)),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__fechar","aria-label":"Fechar",onClick:a[0]||(a[0]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," × ")]),t.createElementVNode("div",Ko,[e.filtrosBase.length?(t.openBlock(),t.createElementBlock("div",xo,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.linhas,(o,r)=>(t.openBlock(),t.createElementBlock("div",{key:String(o.coluna),class:"eli-tabela-modal-filtro__linha"},[t.createElementVNode("div",en,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.componenteEntrada(o.entrada)),{value:o.valor,"onUpdate:value":u=>o.valor=u,opcoes:e.opcoesEntrada(o.entrada),density:"compact"},null,40,["value","onUpdate:value","opcoes"]))]),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__remover",title:"Remover","aria-label":"Remover",onClick:u=>e.remover(r)}," × ",8,tn)]))),128))])):(t.openBlock(),t.createElementBlock("div",Qo," Nenhum filtro configurado na tabela. ")),t.createElementVNode("div",an,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":a[1]||(a[1]=o=>e.colunaParaAdicionar=o),class:"eli-tabela-modal-filtro__select",disabled:!e.opcoesParaAdicionar.length},[a[8]||(a[8]=t.createElementVNode("option",{disabled:"",value:""},"Selecione um filtro…",-1)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.opcoesParaAdicionar,o=>(t.openBlock(),t.createElementBlock("option",{key:String(o.coluna),value:String(o.coluna)},t.toDisplayString(e.rotuloDoFiltro(o)),9,nn))),128))],8,on),[[t.vModelSelect,e.colunaParaAdicionar]]),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao",onClick:a[2]||(a[2]=(...o)=>e.adicionar&&e.adicionar(...o)),disabled:!e.colunaParaAdicionar}," Adicionar ",8,rn)])]),t.createElementVNode("footer",ln,[t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:a[3]||(a[3]=(...o)=>e.emitLimpar&&e.emitLimpar(...o))}," Limpar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:a[4]||(a[4]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," Cancelar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",onClick:a[5]||(a[5]=(...o)=>e.emitSalvar&&e.emitSalvar(...o))}," Aplicar ")])])])):t.createCommentVNode("",!0)}const cn=P(Zo,[["render",sn],["__scopeId","data-v-ae32fe4c"]]),dn="eli:tabela";function Ze(e){return`${dn}:${e}:colunas`}function Ge(e){if(!e||typeof e!="object")return{visiveis:[],invisiveis:[]};const a=e,n=Array.isArray(a.visiveis)?a.visiveis.filter(s=>typeof s=="string"):[],l=Array.isArray(a.invisiveis)?a.invisiveis.filter(s=>typeof s=="string"):[];return{visiveis:n,invisiveis:l}}function Xe(e){try{const a=window.localStorage.getItem(Ze(e));return a?Ge(JSON.parse(a)):{visiveis:[],invisiveis:[]}}catch{return{visiveis:[],invisiveis:[]}}}function un(e,a){try{window.localStorage.setItem(Ze(e),JSON.stringify(Ge(a)))}catch{}}function De(e){return`eli_tabela:${e}:filtro_avancado`}function Ke(e){try{const a=localStorage.getItem(De(e));if(!a)return[];const n=JSON.parse(a);return Array.isArray(n)?n:[]}catch{return[]}}function mn(e,a){try{localStorage.setItem(De(e),JSON.stringify(a??[]))}catch{}}function pn(e){try{localStorage.removeItem(De(e))}catch{}}const fn=t.defineComponent({name:"EliTabela",inheritAttrs:!1,components:{EliTabelaCabecalho:Rt,EliTabelaEstados:Qt,EliTabelaDebug:aa,EliTabelaHead:ma,EliTabelaBody:to,EliTabelaMenuAcoes:io,EliTabelaPaginacao:ho,EliTabelaModalColunas:Do,EliTabelaModalFiltroAvancado:cn},props:{tabela:{type:Object,required:!0}},setup(e){const n=t.ref(!1),l=t.ref(null),s=t.ref([]),m=t.ref(0),o=t.ref([]),r=t.ref(null),u=t.ref(null),i=t.ref({top:0,left:0}),d=t.ref(""),b=t.ref(1),N=t.ref(null),S=t.ref("asc"),$=t.ref(!1),c=t.ref(Ke(e.tabela.nome));function E(){$.value=!0}function y(){$.value=!1}function k(){c.value=[],pn(e.tabela.nome),$.value=!1,b.value!==1&&(b.value=1)}function j(h){c.value=h??[],mn(e.tabela.nome,h??[]),$.value=!1,b.value!==1&&(b.value=1)}const G=t.computed(()=>{const h=e.tabela.filtroAvancado??[];return(c.value??[]).filter(C=>C&&C.coluna!==void 0).map(C=>{const D=h.find(M=>String(M.coluna)===String(C.coluna));return D?{coluna:String(D.coluna),operador:D.operador,valor:C.valor}:null}).filter(Boolean)}),I=t.computed(()=>e.tabela),H=t.computed(()=>!!e.tabela.mostrarCaixaDeBusca),X=t.computed(()=>e.tabela.acoesTabela??[]),O=t.computed(()=>X.value.length>0),ae=t.ref(!1),w=t.ref(Xe(e.tabela.nome)),A=t.ref({}),de=t.computed(()=>e.tabela.colunas.map(h=>h.rotulo)),he=t.computed(()=>{var Q,x;const h=e.tabela.colunas,D=(((Q=w.value.visiveis)==null?void 0:Q.length)??0)>0||(((x=w.value.invisiveis)==null?void 0:x.length)??0)>0?w.value.invisiveis??[]:h.filter(q=>q.visivel===!1).map(q=>q.rotulo),M=new Set(D),J=h.filter(q=>M.has(q.rotulo)),Z=D,te=new Map;for(const q of J)te.has(q.rotulo)||te.set(q.rotulo,q);const K=[];for(const q of Z){const oe=te.get(q);oe&&K.push(oe)}for(const q of J)K.includes(q)||K.push(q);return K}),_=t.computed(()=>he.value.length>0),g=t.computed(()=>{var q,oe;const h=e.tabela.colunas,C=de.value,D=(((q=w.value.visiveis)==null?void 0:q.length)??0)>0||(((oe=w.value.invisiveis)==null?void 0:oe.length)??0)>0,M=D?w.value.invisiveis??[]:e.tabela.colunas.filter(z=>z.visivel===!1).map(z=>z.rotulo),J=new Set(M),Z=C.filter(z=>!J.has(z)),te=new Set(Z),K=D?w.value.visiveis??[]:[],Q=[];for(const z of K)te.has(z)&&Q.push(z);for(const z of Z)Q.includes(z)||Q.push(z);const x=new Map;for(const z of h)x.has(z.rotulo)||x.set(z.rotulo,z);return Q.map(z=>x.get(z)).filter(Boolean)});function p(){ae.value=!0}function B(){ae.value=!1}function f(h){w.value=h,un(e.tabela.nome,h),ae.value=!1,A.value={}}function V(h){const C=!!A.value[h];A.value={...A.value,[h]:!C}}const v=t.computed(()=>{const h=e.tabela.registros_por_consulta;return typeof h=="number"&&h>0?Math.floor(h):10});function T(h){const C=(d.value??"").trim().toLowerCase();return C?h.filter(D=>JSON.stringify(D).toLowerCase().includes(C)):h}function L(h,C,D){switch(h){case"=":return C==D;case"!=":return C!=D;case">":return Number(C)>Number(D);case">=":return Number(C)>=Number(D);case"<":return Number(C)J.trim()).filter(Boolean)).includes(String(C));case"isNull":return C==null||C==="";default:return!0}}function U(h){const C=G.value;return C.length?h.filter(D=>C.every(M=>{const J=D==null?void 0:D[M.coluna];return L(String(M.operador),J,M.valor)})):h}const R=t.computed(()=>{const h=s.value??[];return U(T(h))}),W=t.computed(()=>R.value.length),ne=t.computed(()=>{const h=v.value;if(!h||h<=0)return 1;const C=W.value;return C?Math.max(1,Math.ceil(C/h)):1}),re=t.computed(()=>{const h=Math.max(1,v.value),C=(b.value-1)*h;return R.value.slice(C,C+h)}),ue=t.computed(()=>(e.tabela.acoesLinha??[]).length>0),le=t.computed(()=>(e.tabela.filtroAvancado??[]).length>0);let Y=0;function ee(h){var K,Q,x,q,oe,z;const C=h.getBoundingClientRect(),D=8,M=((x=(Q=(K=u.value)==null?void 0:K.menuEl)==null?void 0:Q.value)==null?void 0:x.offsetHeight)??0,J=((z=(oe=(q=u.value)==null?void 0:q.menuEl)==null?void 0:oe.value)==null?void 0:z.offsetWidth)??180;let Z=C.bottom+D;const te=C.right-J;M&&Z+M>window.innerHeight-D&&(Z=C.top-D-M),i.value={top:Math.max(D,Math.round(Z)),left:Math.max(D,Math.round(te))}}function ce(h){var D,M;if(r.value===null)return;const C=h.target;(M=(D=u.value)==null?void 0:D.menuEl)!=null&&M.value&&u.value.menuEl.value.contains(C)||(r.value=null)}function fe(h){if(h){if(N.value===h){S.value=S.value==="asc"?"desc":"asc",me();return}N.value=h,S.value="asc",b.value!==1?b.value=1:me()}}function $n(h){d.value!==h&&(d.value=h,b.value!==1?b.value=1:me())}function En(h){const C=Math.min(Math.max(1,h),ne.value);C!==b.value&&(b.value=C)}function xe(h){const C=e.tabela.acoesLinha??[],D=o.value[h]??[];return C.map((M,J)=>{const Z=M.exibir===void 0?!0:typeof M.exibir=="boolean"?M.exibir:!1;return{acao:M,indice:J,visivel:D[J]??Z}}).filter(M=>M.visivel)}function et(h){return xe(h).length>0}function kn(h,C){if(!et(h))return;if(r.value===h){r.value=null;return}r.value=h;const D=(C==null?void 0:C.currentTarget)??null;D&&(ee(D),requestAnimationFrame(()=>ee(D)))}async function me(){var J;const h=++Y;n.value=!0,l.value=null,o.value=[],r.value=null,A.value={};const C=Math.max(1,v.value),M={offSet:0,limit:999999};N.value&&(M.coluna_ordem=N.value,M.direcao_ordem=S.value);try{const Z=e.tabela,te=await Z.consulta(M);if(h!==Y)return;if(te.cod!==Te.sucesso){s.value=[],m.value=0,l.value=te.mensagem;return}const K=((J=te.valor)==null?void 0:J.valores)??[],Q=K.length;s.value=K,m.value=Q;const x=Math.max(1,Math.ceil((W.value||0)/C));if(b.value>x){b.value=x;return}const q=Z.acoesLinha??[];if(!q.length){o.value=[];return}const oe=K.map(()=>q.map(ge=>ge.exibir===void 0?!0:typeof ge.exibir=="boolean"?ge.exibir:!1));o.value=oe;const z=await Promise.all(K.map(async ge=>Promise.all(q.map(async Be=>{if(Be.exibir===void 0)return!0;if(typeof Be.exibir=="boolean")return Be.exibir;try{const Bn=Be.exibir(ge);return!!await Promise.resolve(Bn)}catch{return!1}}))));h===Y&&(o.value=z)}catch(Z){if(h!==Y)return;s.value=[],m.value=0,l.value=Z instanceof Error?Z.message:"Erro ao carregar dados."}finally{h===Y&&(n.value=!1)}}return t.onMounted(()=>{document.addEventListener("click",ce),me()}),t.onBeforeUnmount(()=>{document.removeEventListener("click",ce)}),t.watch(()=>e.tabela.mostrarCaixaDeBusca,h=>{!h&&d.value&&(d.value="",b.value!==1?b.value=1:me())}),t.watch(b,(h,C)=>{}),t.watch(()=>e.tabela,()=>{r.value=null,N.value=null,S.value="asc",d.value="",ae.value=!1,$.value=!1,w.value=Xe(e.tabela.nome),c.value=Ke(e.tabela.nome),A.value={},b.value!==1?b.value=1:me()}),t.watch(()=>e.tabela.registros_por_consulta,()=>{b.value!==1?b.value=1:me()}),t.watch(s,()=>{r.value=null,A.value={}}),{isDev:!1,tabela:I,carregando:n,erro:l,linhas:s,linhasPaginadas:re,quantidadeFiltrada:W,quantidade:m,menuAberto:r,valorBusca:d,paginaAtual:b,colunaOrdenacao:N,direcaoOrdenacao:S,totalPaginas:ne,exibirBusca:H,exibirFiltroAvancado:le,acoesCabecalho:X,temAcoesCabecalho:O,temAcoes:ue,colunasEfetivas:g,rotulosColunas:de,modalColunasAberto:ae,configColunas:w,temColunasInvisiveis:_,colunasInvisiveisEfetivas:he,linhasExpandidas:A,abrirModalColunas:p,abrirModalFiltro:E,fecharModalColunas:B,salvarModalColunas:f,modalFiltroAberto:$,filtrosUi:c,salvarFiltrosAvancados:j,limparFiltrosAvancados:k,fecharModalFiltro:y,alternarLinhaExpandida:V,alternarOrdenacao:fe,atualizarBusca:$n,irParaPagina:En,acoesDisponiveisPorLinha:xe,possuiAcoes:et,toggleMenu:kn,menuPopup:u,menuPopupPos:i}}}),bn={class:"eli-tabela"},hn={class:"eli-tabela__table"};function gn(e,a,n,l,s,m){const o=t.resolveComponent("EliTabelaDebug"),r=t.resolveComponent("EliTabelaEstados"),u=t.resolveComponent("EliTabelaCabecalho"),i=t.resolveComponent("EliTabelaModalColunas"),d=t.resolveComponent("EliTabelaModalFiltroAvancado"),b=t.resolveComponent("EliTabelaHead"),N=t.resolveComponent("EliTabelaBody"),S=t.resolveComponent("EliTabelaMenuAcoes"),$=t.resolveComponent("EliTabelaPaginacao");return t.openBlock(),t.createElementBlock("div",bn,[t.createVNode(o,{isDev:e.isDev,menuAberto:e.menuAberto,menuPopupPos:e.menuPopupPos},null,8,["isDev","menuAberto","menuPopupPos"]),e.carregando||e.erro||!e.linhas.length?(t.openBlock(),t.createBlock(r,{key:0,carregando:e.carregando,erro:e.erro,mensagemVazio:e.tabela.mensagemVazio},null,8,["carregando","erro","mensagemVazio"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.exibirBusca||e.temAcoesCabecalho?(t.openBlock(),t.createBlock(u,{key:0,exibirBusca:e.exibirBusca,exibirBotaoFiltroAvancado:e.exibirFiltroAvancado,valorBusca:e.valorBusca,acoesCabecalho:e.acoesCabecalho,onBuscar:e.atualizarBusca,onColunas:e.abrirModalColunas,onFiltroAvancado:e.abrirModalFiltro},null,8,["exibirBusca","exibirBotaoFiltroAvancado","valorBusca","acoesCabecalho","onBuscar","onColunas","onFiltroAvancado"])):t.createCommentVNode("",!0),t.createVNode(i,{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"]),t.createVNode(d,{aberto:e.modalFiltroAberto,filtrosBase:e.tabela.filtroAvancado??[],modelo:e.filtrosUi,onFechar:e.fecharModalFiltro,onLimpar:e.limparFiltrosAvancados,onSalvar:e.salvarFiltrosAvancados},null,8,["aberto","filtrosBase","modelo","onFechar","onLimpar","onSalvar"]),t.createElementVNode("table",hn,[t.createVNode(b,{colunas:e.colunasEfetivas,temAcoes:e.temAcoes,temColunasInvisiveis:e.temColunasInvisiveis,colunaOrdenacao:e.colunaOrdenacao,direcaoOrdenacao:e.direcaoOrdenacao,onAlternarOrdenacao:e.alternarOrdenacao},null,8,["colunas","temAcoes","temColunasInvisiveis","colunaOrdenacao","direcaoOrdenacao","onAlternarOrdenacao"]),t.createVNode(N,{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},null,8,["colunas","colunasInvisiveis","temColunasInvisiveis","linhasExpandidas","linhas","temAcoes","menuAberto","possuiAcoes","toggleMenu","alternarLinhaExpandida"])]),t.createVNode(S,{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:a[0]||(a[0]=({acao:c,linha:E})=>{e.menuAberto=null,c.acao(E)})},null,8,["menuAberto","posicao","acoes","linha"]),e.totalPaginas>1&&e.quantidadeFiltrada>0?(t.openBlock(),t.createBlock($,{key:1,pagina:e.paginaAtual,totalPaginas:e.totalPaginas,maximoBotoes:e.tabela.maximo_botoes_paginacao,onAlterar:e.irParaPagina},null,8,["pagina","totalPaginas","maximoBotoes","onAlterar"])):t.createCommentVNode("",!0)],64))])}const Qe=P(fn,[["render",gn]]),yn={install(e){e.component("EliOlaMundo",Me),e.component("EliBotao",ve),e.component("EliBadge",ye),e.component("EliCartao",we),e.component("EliTabela",Qe),e.component("EliEntradaTexto",$e),e.component("EliEntradaNumero",Ve),e.component("EliEntradaDataHora",Ne),e.component("EliEntradaParagrafo",Je),e.component("EliEntradaSelecao",We)}};F.EliBadge=ye,F.EliBotao=ve,F.EliCartao=we,F.EliEntradaDataHora=Ne,F.EliEntradaNumero=Ve,F.EliEntradaParagrafo=Je,F.EliEntradaSelecao=We,F.EliEntradaTexto=$e,F.EliOlaMundo=Me,F.EliTabela=Qe,F.default=yn,Object.defineProperties(F,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
+ */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 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 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 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 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 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 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 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 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 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 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 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 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 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 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}}}),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 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 ? [${$}, ...iss.path] : [${$}]
+ })));
+ }
+ }
+
+ if (${b}.value === undefined) {
+ if (${$} in input) {
+ newResult[${$}] = undefined;
+ }
+ } else {
+ newResult[${$}] = ${b}.value;
+ }
+
+ `):B?p.write(`
+ if (${b}.issues.length) {
+ payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
+ ...iss,
+ path: iss.path ? [${$}, ...iss.path] : [${$}]
+ })));
+ }
+
+ if (${b}.value === undefined) {
+ if (${$} in input) {
+ newResult[${$}] = undefined;
+ }
+ } else {
+ newResult[${$}] = ${b}.value;
+ }
+
+ `):p.write(`
+ const ${b}_present = ${$} in input;
+ if (${b}.issues.length) {
+ payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
+ ...iss,
+ path: iss.path ? [${$}, ...iss.path] : [${$}]
+ })));
+ }
+ if (!${b}_present && !${b}.issues.length) {
+ payload.issues.push({
+ code: "invalid_type",
+ expected: "nonoptional",
+ input: undefined,
+ path: [${$}]
+ });
+ }
+
+ if (${b}_present) {
+ if (${b}.value === undefined) {
+ newResult[${$}] = undefined;
+ } else {
+ newResult[${$}] = ${b}.value;
+ }
+ }
+
+ `)}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 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/dist/types/componentes/EliEntrada/EliEntradaDataHora.vue.d.ts b/dist/types/componentes/EliEntrada/EliEntradaDataHora.vue.d.ts
deleted file mode 100644
index f2de81d..0000000
--- a/dist/types/componentes/EliEntrada/EliEntradaDataHora.vue.d.ts
+++ /dev/null
@@ -1,231 +0,0 @@
-import { PropType } from "vue";
-import type { CampoDensidade, CampoVariante } from "../../tipos";
-import type { PadroesEntradas } from "./tiposEntradas";
-type EntradaDataHora = PadroesEntradas["dataHora"];
-type PropsAntigas = {
- modo?: "data" | "dataHora";
- rotulo?: string;
- placeholder?: string;
- desabilitado?: boolean;
- limpavel?: boolean;
- erro?: boolean;
- mensagensErro?: string | string[];
- dica?: string;
- dicaPersistente?: boolean;
- densidade?: CampoDensidade;
- variante?: CampoVariante;
- min?: string;
- max?: string;
-};
-declare const __VLS_export: import("vue").DefineComponent;
- default: undefined;
- };
- opcoes: {
- type: PropType;
- required: false;
- default: undefined;
- };
- modelValue: {
- type: PropType;
- default: null;
- };
- modo: {
- type: PropType;
- default: undefined;
- };
- rotulo: {
- type: StringConstructor;
- default: undefined;
- };
- placeholder: {
- type: StringConstructor;
- default: undefined;
- };
- desabilitado: {
- type: BooleanConstructor;
- default: undefined;
- };
- limpavel: {
- type: BooleanConstructor;
- default: undefined;
- };
- erro: {
- type: BooleanConstructor;
- default: undefined;
- };
- mensagensErro: {
- type: PropType;
- default: undefined;
- };
- dica: {
- type: StringConstructor;
- default: undefined;
- };
- dicaPersistente: {
- type: BooleanConstructor;
- default: undefined;
- };
- densidade: {
- type: PropType;
- default: undefined;
- };
- variante: {
- type: PropType;
- default: undefined;
- };
- min: {
- type: PropType;
- default: undefined;
- };
- max: {
- type: PropType;
- default: undefined;
- };
-}>, {
- attrs: {
- [x: string]: unknown;
- };
- valor: import("vue").WritableComputedRef;
- tipoInput: import("vue").ComputedRef<"date" | "datetime-local">;
- minLocal: import("vue").ComputedRef;
- maxLocal: import("vue").ComputedRef;
- opcoesEfetivas: import("vue").ComputedRef<{
- rotulo: string;
- placeholder?: string;
- } & {
- modo?: "data" | "dataHora";
- limpavel?: boolean;
- erro?: boolean;
- mensagensErro?: string | string[];
- dica?: string;
- dicaPersistente?: boolean;
- min?: string;
- max?: string;
- densidade?: import("../../tipos").CampoDensidade;
- variante?: import("../../tipos").CampoVariante;
- }>;
- desabilitadoEfetivo: import("vue").ComputedRef;
- emitCompatFocus: () => void;
- emitCompatBlur: () => void;
-}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
- "update:value": (_v: string | null) => true;
- input: (_v: string | null) => true;
- change: (_v: string | null) => true;
- "update:modelValue": (_v: string | null) => true;
- alterar: (_v: string | null) => true;
- foco: () => true;
- desfoco: () => true;
- focus: () => true;
- blur: () => true;
-}, string, import("vue").PublicProps, Readonly;
- default: undefined;
- };
- opcoes: {
- type: PropType;
- required: false;
- default: undefined;
- };
- modelValue: {
- type: PropType;
- default: null;
- };
- modo: {
- type: PropType;
- default: undefined;
- };
- rotulo: {
- type: StringConstructor;
- default: undefined;
- };
- placeholder: {
- type: StringConstructor;
- default: undefined;
- };
- desabilitado: {
- type: BooleanConstructor;
- default: undefined;
- };
- limpavel: {
- type: BooleanConstructor;
- default: undefined;
- };
- erro: {
- type: BooleanConstructor;
- default: undefined;
- };
- mensagensErro: {
- type: PropType;
- default: undefined;
- };
- dica: {
- type: StringConstructor;
- default: undefined;
- };
- dicaPersistente: {
- type: BooleanConstructor;
- default: undefined;
- };
- densidade: {
- type: PropType;
- default: undefined;
- };
- variante: {
- type: PropType;
- default: undefined;
- };
- min: {
- type: PropType;
- default: undefined;
- };
- max: {
- type: PropType;
- default: undefined;
- };
-}>> & Readonly<{
- "onUpdate:value"?: ((_v: string | null) => any) | undefined;
- onInput?: ((_v: string | null) => any) | undefined;
- onChange?: ((_v: string | null) => any) | undefined;
- onFocus?: (() => any) | undefined;
- onBlur?: (() => any) | undefined;
- "onUpdate:modelValue"?: ((_v: string | null) => any) | undefined;
- onAlterar?: ((_v: string | null) => any) | undefined;
- onFoco?: (() => any) | undefined;
- onDesfoco?: (() => any) | undefined;
-}>, {
- modo: "data" | "dataHora" | undefined;
- limpavel: boolean;
- erro: boolean;
- mensagensErro: string | string[];
- dica: string;
- dicaPersistente: boolean;
- min: string | undefined;
- max: string | undefined;
- densidade: CampoDensidade;
- variante: CampoVariante;
- opcoes: {
- rotulo: string;
- placeholder?: string;
- } & {
- modo?: "data" | "dataHora";
- limpavel?: boolean;
- erro?: boolean;
- mensagensErro?: string | string[];
- dica?: string;
- dicaPersistente?: boolean;
- min?: string;
- max?: string;
- densidade?: import("../../tipos").CampoDensidade;
- variante?: import("../../tipos").CampoVariante;
- };
- value: string | null | undefined;
- placeholder: string;
- modelValue: string | null;
- rotulo: string;
- desabilitado: boolean;
-}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
-declare const _default: typeof __VLS_export;
-export default _default;
diff --git a/dist/types/componentes/EliEntrada/EliEntradaDataHora/calendarioHelpers.d.ts b/dist/types/componentes/EliEntrada/EliEntradaDataHora/calendarioHelpers.d.ts
new file mode 100644
index 0000000..046323b
--- /dev/null
+++ b/dist/types/componentes/EliEntrada/EliEntradaDataHora/calendarioHelpers.d.ts
@@ -0,0 +1,33 @@
+import dayjs from "dayjs";
+export interface CelulaCalendario {
+ dia: number;
+ data: dayjs.Dayjs;
+ atual: boolean;
+ hoje: boolean;
+ selecionado: boolean;
+ desabilitado: boolean;
+}
+export declare const OPCOES_HORAS: string[];
+export declare const OPCOES_MINUTOS: string[];
+/**
+ * Gera as 42 células (6 semanas) do calendário para o mês de referência.
+ * Preenche dias do mês anterior, atual e posterior para alinhar a grade.
+ */
+export declare function gerarCelulas(referencia: dayjs.Dayjs, diaSelecionado: dayjs.Dayjs | null, min?: string, max?: string): CelulaCalendario[];
+/**
+ * Formata um valor ISO para exibição no campo.
+ * @param valor - string ISO 8601 ou null
+ * @param modo - "data" exibe apenas a data, "dataHora" inclui hora
+ */
+export declare function formatarValor(valor: string | null, modo: "data" | "dataHora"): string;
+/**
+ * Aplica máscara visual de data/hora (DD/MM/YYYY ou DD/MM/YYYY HH:mm) em texto digitado.
+ */
+export declare function aplicarMascaraDataHora(valor: string, modo: "data" | "dataHora"): string;
+/**
+ * Converte um texto mascarado (ex: "15/08/2026 14:30") em string ISO 8601 com fuso local.
+ */
+export declare function converterTextoParaIso(texto: string, modo: "data" | "dataHora", horaMinutoPadrao?: {
+ hora: string;
+ minuto: string;
+}): string | null;
diff --git a/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHora.d.ts b/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHora.d.ts
new file mode 100644
index 0000000..1ffd70f
--- /dev/null
+++ b/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHora.d.ts
@@ -0,0 +1,408 @@
+import dayjs from "dayjs";
+import "dayjs/locale/pt-br";
+import type { CampoDensidade, CampoVariante } from "../../../tipos";
+import type { PadroesEntradas } from "../tiposEntradas";
+import { type CelulaCalendario } from "./calendarioHelpers";
+import { diasSemana, MESES } from "./useDataHoraProps";
+export { type CelulaCalendario, diasSemana, MESES };
+export type EntradaDataHora = PadroesEntradas["dataHora"];
+type EmitFn = (event: string, payload?: unknown) => void;
+type Props = {
+ value?: string | null;
+ opcoes?: EntradaDataHora["opcoes"];
+ modelValue?: string | null;
+ modo?: "data" | "dataHora";
+ rotulo?: string;
+ placeholder?: string;
+ desabilitado?: boolean;
+ limpavel?: boolean;
+ erro?: boolean;
+ mensagensErro?: string | string[];
+ dica?: string;
+ dicaPersistente?: boolean;
+ densidade?: CampoDensidade;
+ variante?: CampoVariante;
+ min?: string;
+ max?: string;
+};
+/** Composable principal do EliEntradaDataHora. */
+export declare function useDataHora(props: Props, emit: EmitFn): {
+ uid: number;
+ aberto: import("vue").Ref;
+ focado: import("vue").Ref;
+ textoDigitado: import("vue").Ref;
+ estiloPopover: import("vue").Ref, Record>;
+ referencia: import("vue").Ref<{
+ clone: () => dayjs.Dayjs;
+ isValid: () => boolean;
+ year: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ month: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ date: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ day: {
+ (): 0 | 1 | 2 | 3 | 4 | 5 | 6;
+ (value: number): dayjs.Dayjs;
+ };
+ hour: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ minute: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ second: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ millisecond: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ set: (unit: dayjs.UnitType, value: number) => dayjs.Dayjs;
+ get: (unit: dayjs.UnitType) => number;
+ add: {
+ (value: number, unit?: dayjs.ManipulateType): dayjs.Dayjs;
+ (duration: plugin.Duration): dayjs.Dayjs;
+ };
+ subtract: {
+ (value: number, unit?: dayjs.ManipulateType): dayjs.Dayjs;
+ (duration: plugin.Duration): dayjs.Dayjs;
+ };
+ startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
+ endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
+ format: (template?: string) => string;
+ diff: (date?: dayjs.ConfigType, unit?: dayjs.QUnitType | dayjs.OpUnitType, float?: boolean) => number;
+ valueOf: () => number;
+ unix: () => number;
+ daysInMonth: () => number;
+ toDate: () => Date;
+ toJSON: () => string;
+ toISOString: () => string;
+ toString: () => string;
+ utcOffset: {
+ (): number;
+ (offset: number | string, keepLocalTime?: boolean): dayjs.Dayjs;
+ };
+ isBefore: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isSame: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isAfter: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ locale: {
+ (): string;
+ (preset: string | ILocale, object?: Partial): dayjs.Dayjs;
+ };
+ isSameOrAfter: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isSameOrBefore: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ fromNow: (withoutSuffix?: boolean) => string;
+ from: (compared: dayjs.ConfigType, withoutSuffix?: boolean) => string;
+ toNow: (withoutSuffix?: boolean) => string;
+ to: (compared: dayjs.ConfigType, withoutSuffix?: boolean) => string;
+ tz: (timezone?: string, keepLocalTime?: boolean) => dayjs.Dayjs;
+ offsetName: (type?: 'short' | 'long') => string | undefined;
+ utc: (keepLocalTime?: boolean) => dayjs.Dayjs;
+ local: () => dayjs.Dayjs;
+ isUTC: () => boolean;
+ week: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ }, dayjs.Dayjs | {
+ clone: () => dayjs.Dayjs;
+ isValid: () => boolean;
+ year: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ month: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ date: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ day: {
+ (): 0 | 1 | 2 | 3 | 4 | 5 | 6;
+ (value: number): dayjs.Dayjs;
+ };
+ hour: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ minute: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ second: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ millisecond: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ set: (unit: dayjs.UnitType, value: number) => dayjs.Dayjs;
+ get: (unit: dayjs.UnitType) => number;
+ add: {
+ (value: number, unit?: dayjs.ManipulateType): dayjs.Dayjs;
+ (duration: plugin.Duration): dayjs.Dayjs;
+ };
+ subtract: {
+ (value: number, unit?: dayjs.ManipulateType): dayjs.Dayjs;
+ (duration: plugin.Duration): dayjs.Dayjs;
+ };
+ startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
+ endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
+ format: (template?: string) => string;
+ diff: (date?: dayjs.ConfigType, unit?: dayjs.QUnitType | dayjs.OpUnitType, float?: boolean) => number;
+ valueOf: () => number;
+ unix: () => number;
+ daysInMonth: () => number;
+ toDate: () => Date;
+ toJSON: () => string;
+ toISOString: () => string;
+ toString: () => string;
+ utcOffset: {
+ (): number;
+ (offset: number | string, keepLocalTime?: boolean): dayjs.Dayjs;
+ };
+ isBefore: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isSame: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isAfter: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ locale: {
+ (): string;
+ (preset: string | ILocale, object?: Partial): dayjs.Dayjs;
+ };
+ isSameOrAfter: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isSameOrBefore: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ fromNow: (withoutSuffix?: boolean) => string;
+ from: (compared: dayjs.ConfigType, withoutSuffix?: boolean) => string;
+ toNow: (withoutSuffix?: boolean) => string;
+ to: (compared: dayjs.ConfigType, withoutSuffix?: boolean) => string;
+ tz: (timezone?: string, keepLocalTime?: boolean) => dayjs.Dayjs;
+ offsetName: (type?: 'short' | 'long') => string | undefined;
+ utc: (keepLocalTime?: boolean) => dayjs.Dayjs;
+ local: () => dayjs.Dayjs;
+ isUTC: () => boolean;
+ week: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ }>;
+ diaSelecionado: import("vue").Ref<{
+ clone: () => dayjs.Dayjs;
+ isValid: () => boolean;
+ year: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ month: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ date: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ day: {
+ (): 0 | 1 | 2 | 3 | 4 | 5 | 6;
+ (value: number): dayjs.Dayjs;
+ };
+ hour: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ minute: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ second: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ millisecond: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ set: (unit: dayjs.UnitType, value: number) => dayjs.Dayjs;
+ get: (unit: dayjs.UnitType) => number;
+ add: {
+ (value: number, unit?: dayjs.ManipulateType): dayjs.Dayjs;
+ (duration: plugin.Duration): dayjs.Dayjs;
+ };
+ subtract: {
+ (value: number, unit?: dayjs.ManipulateType): dayjs.Dayjs;
+ (duration: plugin.Duration): dayjs.Dayjs;
+ };
+ startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
+ endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
+ format: (template?: string) => string;
+ diff: (date?: dayjs.ConfigType, unit?: dayjs.QUnitType | dayjs.OpUnitType, float?: boolean) => number;
+ valueOf: () => number;
+ unix: () => number;
+ daysInMonth: () => number;
+ toDate: () => Date;
+ toJSON: () => string;
+ toISOString: () => string;
+ toString: () => string;
+ utcOffset: {
+ (): number;
+ (offset: number | string, keepLocalTime?: boolean): dayjs.Dayjs;
+ };
+ isBefore: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isSame: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isAfter: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ locale: {
+ (): string;
+ (preset: string | ILocale, object?: Partial): dayjs.Dayjs;
+ };
+ isSameOrAfter: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isSameOrBefore: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ fromNow: (withoutSuffix?: boolean) => string;
+ from: (compared: dayjs.ConfigType, withoutSuffix?: boolean) => string;
+ toNow: (withoutSuffix?: boolean) => string;
+ to: (compared: dayjs.ConfigType, withoutSuffix?: boolean) => string;
+ tz: (timezone?: string, keepLocalTime?: boolean) => dayjs.Dayjs;
+ offsetName: (type?: 'short' | 'long') => string | undefined;
+ utc: (keepLocalTime?: boolean) => dayjs.Dayjs;
+ local: () => dayjs.Dayjs;
+ isUTC: () => boolean;
+ week: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ } | null, dayjs.Dayjs | {
+ clone: () => dayjs.Dayjs;
+ isValid: () => boolean;
+ year: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ month: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ date: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ day: {
+ (): 0 | 1 | 2 | 3 | 4 | 5 | 6;
+ (value: number): dayjs.Dayjs;
+ };
+ hour: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ minute: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ second: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ millisecond: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ set: (unit: dayjs.UnitType, value: number) => dayjs.Dayjs;
+ get: (unit: dayjs.UnitType) => number;
+ add: {
+ (value: number, unit?: dayjs.ManipulateType): dayjs.Dayjs;
+ (duration: plugin.Duration): dayjs.Dayjs;
+ };
+ subtract: {
+ (value: number, unit?: dayjs.ManipulateType): dayjs.Dayjs;
+ (duration: plugin.Duration): dayjs.Dayjs;
+ };
+ startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
+ endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
+ format: (template?: string) => string;
+ diff: (date?: dayjs.ConfigType, unit?: dayjs.QUnitType | dayjs.OpUnitType, float?: boolean) => number;
+ valueOf: () => number;
+ unix: () => number;
+ daysInMonth: () => number;
+ toDate: () => Date;
+ toJSON: () => string;
+ toISOString: () => string;
+ toString: () => string;
+ utcOffset: {
+ (): number;
+ (offset: number | string, keepLocalTime?: boolean): dayjs.Dayjs;
+ };
+ isBefore: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isSame: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isAfter: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ locale: {
+ (): string;
+ (preset: string | ILocale, object?: Partial): dayjs.Dayjs;
+ };
+ isSameOrAfter: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ isSameOrBefore: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
+ fromNow: (withoutSuffix?: boolean) => string;
+ from: (compared: dayjs.ConfigType, withoutSuffix?: boolean) => string;
+ toNow: (withoutSuffix?: boolean) => string;
+ to: (compared: dayjs.ConfigType, withoutSuffix?: boolean) => string;
+ tz: (timezone?: string, keepLocalTime?: boolean) => dayjs.Dayjs;
+ offsetName: (type?: 'short' | 'long') => string | undefined;
+ utc: (keepLocalTime?: boolean) => dayjs.Dayjs;
+ local: () => dayjs.Dayjs;
+ isUTC: () => boolean;
+ week: {
+ (): number;
+ (value: number): dayjs.Dayjs;
+ };
+ } | null>;
+ horaTemp: import("vue").Ref;
+ minutoTemp: import("vue").Ref;
+ opcoesEfetivas: import("vue").ComputedRef<{
+ rotulo: string;
+ placeholder?: string;
+ apenasLeitura?: boolean;
+ } & {
+ modo?: "data" | "dataHora";
+ limpavel?: boolean;
+ erro?: boolean;
+ mensagensErro?: string | string[];
+ dica?: string;
+ dicaPersistente?: boolean;
+ min?: string;
+ max?: string;
+ densidade?: import("../../../tipos").CampoDensidade;
+ variante?: import("../../../tipos").CampoVariante;
+ }>;
+ modoEfetivo: import("vue").ComputedRef<"data" | "dataHora">;
+ desabilitadoEfetivo: import("vue").ComputedRef;
+ valor: import("vue").ComputedRef;
+ valorFormatado: import("vue").ComputedRef;
+ mensagensVisiveis: import("vue").ComputedRef;
+ nomeMesAtual: import("vue").ComputedRef;
+ anoAtual: import("vue").ComputedRef;
+ mesAtual: import("vue").ComputedRef;
+ listaAnos: import("vue").ComputedRef;
+ mudarMes: (mes: number) => void;
+ mudarAno: (ano: number) => void;
+ celulas: import("vue").ComputedRef;
+ abrirSeHabilitado: () => void;
+ alternarPopover: () => void;
+ fechar: () => void;
+ navegarMes: (delta: number) => void;
+ selecionarDia: (cell: CelulaCalendario) => void;
+ definirAgora: () => void;
+ confirmar: () => void;
+ limpar: () => void;
+ onTextInput: (e: Event) => void;
+ onInputFocus: () => void;
+ onInputBlur: () => void;
+ atualizarHoraTemp: (v: string) => void;
+ atualizarMinutoTemp: (v: string) => void;
+};
diff --git a/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHoraInput.d.ts b/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHoraInput.d.ts
new file mode 100644
index 0000000..f87eeec
--- /dev/null
+++ b/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHoraInput.d.ts
@@ -0,0 +1,20 @@
+import { type Ref } from "vue";
+interface UseDataHoraInputOptions {
+ modoEfetivo: Ref<"data" | "dataHora">;
+ valor: Ref;
+ horaTemp: Ref;
+ minutoTemp: Ref;
+ emitirValor: (iso: string | null) => void;
+ emit: (event: string, payload?: unknown) => void;
+}
+/**
+ * Composable responsável pelo controle do campo de texto editável com máscara e eventos de foco/blur.
+ */
+export declare function useDataHoraInput({ modoEfetivo, valor, horaTemp, minutoTemp, emitirValor, emit, }: UseDataHoraInputOptions): {
+ textoDigitado: Ref;
+ focado: Ref;
+ onTextInput: (e: Event) => void;
+ onInputFocus: () => void;
+ onInputBlur: () => void;
+};
+export {};
diff --git a/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHoraPosicao.d.ts b/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHoraPosicao.d.ts
new file mode 100644
index 0000000..bf4f4c9
--- /dev/null
+++ b/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHoraPosicao.d.ts
@@ -0,0 +1,15 @@
+import { type Ref } from "vue";
+interface UseDataHoraPosicaoOptions {
+ uid: number;
+ modoEfetivo: Ref<"data" | "dataHora">;
+}
+/**
+ * Composable responsável por calcular a posição fixed do popover do calendário.
+ */
+export declare function useDataHoraPosicao({ uid, modoEfetivo }: UseDataHoraPosicaoOptions): {
+ estiloPopover: Ref, Record>;
+ calcularPosicao: () => void;
+ adicionarListenersPosicao: () => void;
+ removerListenersPosicao: () => void;
+};
+export {};
diff --git a/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHoraProps.d.ts b/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHoraProps.d.ts
new file mode 100644
index 0000000..973df81
--- /dev/null
+++ b/dist/types/componentes/EliEntrada/EliEntradaDataHora/useDataHoraProps.d.ts
@@ -0,0 +1,59 @@
+import dayjs from "dayjs";
+import { type Ref } from "vue";
+import type { EntradaDataHora } from "./useDataHora";
+export declare const MESES: string[];
+export declare const diasSemana: string[];
+export interface UseDataHoraPropsOptions {
+ props: {
+ value?: string | null;
+ opcoes?: EntradaDataHora["opcoes"];
+ modelValue?: string | null;
+ modo?: "data" | "dataHora";
+ rotulo?: string;
+ placeholder?: string;
+ desabilitado?: boolean;
+ limpavel?: boolean;
+ erro?: boolean;
+ mensagensErro?: string | string[];
+ dica?: string;
+ dicaPersistente?: boolean;
+ densidade?: EntradaDataHora["opcoes"]["densidade"];
+ variante?: EntradaDataHora["opcoes"]["variante"];
+ min?: string;
+ max?: string;
+ };
+ referencia: Ref;
+ diaSelecionado: Ref;
+}
+/**
+ * Composable responsável pelo cálculo de propriedades derivadas e opções do EliEntradaDataHora.
+ */
+export declare function useDataHoraProps({ props, referencia, diaSelecionado }: UseDataHoraPropsOptions): {
+ opcoesEfetivas: import("vue").ComputedRef<{
+ rotulo: string;
+ placeholder?: string;
+ apenasLeitura?: boolean;
+ } & {
+ modo?: "data" | "dataHora";
+ limpavel?: boolean;
+ erro?: boolean;
+ mensagensErro?: string | string[];
+ dica?: string;
+ dicaPersistente?: boolean;
+ min?: string;
+ max?: string;
+ densidade?: import("../../..").CampoDensidade;
+ variante?: import("../../..").CampoVariante;
+ }>;
+ modoEfetivo: import("vue").ComputedRef<"data" | "dataHora">;
+ desabilitadoEfetivo: import("vue").ComputedRef;
+ effectiveModelValue: import("vue").ComputedRef;
+ valor: import("vue").ComputedRef;
+ mensagensVisiveis: import("vue").ComputedRef;
+ valorFormatado: import("vue").ComputedRef;
+ nomeMesAtual: import("vue").ComputedRef;
+ anoAtual: import("vue").ComputedRef;
+ mesAtual: import("vue").ComputedRef;
+ listaAnos: import("vue").ComputedRef;
+ celulas: import("vue").ComputedRef;
+};
diff --git a/dist/types/componentes/EliEntrada/EliEntradaNumero.helpers.d.ts b/dist/types/componentes/EliEntrada/EliEntradaNumero.helpers.d.ts
new file mode 100644
index 0000000..f3010a9
--- /dev/null
+++ b/dist/types/componentes/EliEntrada/EliEntradaNumero.helpers.d.ts
@@ -0,0 +1,51 @@
+/**
+ * Helpers de formatação e parsing numérico usados pelo EliEntradaNumero.
+ * Extraídos do componente Vue para manter o arquivo dentro de 250 linhas.
+ */
+export declare function casasDecimaisFromPrecisao(precisao: number): number;
+/**
+ * Analisa a entrada de texto e converte em um valor numérico válido (float).
+ * Troca a vírgula brasileira por ponto antes de passar para o parser nativo.
+ *
+ * @param texto - O texto bruto digitado ou vindo do estado
+ * @returns O número processado ou `null` caso inválido ou vazio
+ */
+export declare function parseNumero(texto: string): number | null;
+/**
+ * Formata um valor numérico para a exibição na interface (usando vírgula como separador).
+ *
+ * @param value - O valor numérico de fato emitido
+ * @param casas - Opcionalmente, o número exato de casas decimais para fixar
+ * @returns String formatada amigável para exibição em pt-BR
+ */
+export declare function formatarNumero(value: number | null | undefined, casas: number | null): string;
+/**
+ * Retira todo tipo de sujeira de uma string, devolvendo restritamente números (para inteiros).
+ *
+ * @param texto - String de entrada
+ * @returns Apenas dígitos de 0 a 9
+ */
+export declare function somenteNumeros(texto: string): string;
+/**
+ * Higieniza o texto preservando apenas os dígitos e exatamente UM separador decimal.
+ *
+ * @param texto - Texto misto de entrada
+ * @returns String contendo número e (opcionalmente) uma vírgula ou ponto residual
+ */
+export declare function somenteNumerosESeparadorDecimal(texto: string): string;
+/**
+ * Trunca a parte decimal de um texto numérico ao número máximo de casas permitidas.
+ * Aplicado durante a digitação para evitar que o usuário ultrapasse a precisão configurada.
+ *
+ * @param texto - Texto numérico já higienizado (com separador único)
+ * @param casas - Número máximo de casas decimais; `null` = sem limite
+ * @returns Texto com a parte decimal truncada no limite especificado
+ */
+export declare function limitarCasasDecimais(texto: string, casas: number | null): string;
+/**
+ * Resolve o edge-case de digitação transitória parcial terminada em separador (ex: "1,").
+ *
+ * @param texto - O texto já higienizado, tipicamente terminando em vírgula ou ponto
+ * @returns A conversão parcial estrita ou `null` caso falhe
+ */
+export declare function valorParcialDecimal(texto: string): number | null;
diff --git a/dist/types/componentes/EliEntrada/EliEntradaNumero.vue.d.ts b/dist/types/componentes/EliEntrada/EliEntradaNumero.vue.d.ts
deleted file mode 100644
index c59ef14..0000000
--- a/dist/types/componentes/EliEntrada/EliEntradaNumero.vue.d.ts
+++ /dev/null
@@ -1,49 +0,0 @@
-import { PropType } from "vue";
-import type { PadroesEntradas } from "./tiposEntradas";
-type EntradaNumero = PadroesEntradas["numero"];
-declare const __VLS_export: import("vue").DefineComponent;
- default: undefined;
- };
- opcoes: {
- type: PropType;
- required: true;
- };
-}>, {
- attrs: {
- [x: string]: unknown;
- };
- emit: ((event: "update:value", _v: number | null | undefined) => void) & ((event: "input", _v: number | null | undefined) => void) & ((event: "change", _v: number | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
- displayValue: import("vue").Ref;
- isInteiro: import("vue").ComputedRef;
- onUpdateModelValue: (texto: string) => void;
-}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
- "update:value": (_v: EntradaNumero["value"]) => true;
- /** Compat Vue2 (v-model padrão: value + input) */
- input: (_v: EntradaNumero["value"]) => true;
- change: (_v: EntradaNumero["value"]) => true;
- focus: () => true;
- blur: () => true;
-}, string, import("vue").PublicProps, Readonly;
- default: undefined;
- };
- opcoes: {
- type: PropType;
- required: true;
- };
-}>> & Readonly<{
- "onUpdate:value"?: ((_v: number | null | undefined) => any) | undefined;
- onInput?: ((_v: number | null | undefined) => any) | undefined;
- onChange?: ((_v: number | null | undefined) => any) | undefined;
- onFocus?: (() => any) | undefined;
- onBlur?: (() => any) | undefined;
-}>, {
- value: number | null | undefined;
-}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
-declare const _default: typeof __VLS_export;
-export default _default;
diff --git a/dist/types/componentes/EliEntrada/EliEntradaParagrafo.vue.d.ts b/dist/types/componentes/EliEntrada/EliEntradaParagrafo.vue.d.ts
deleted file mode 100644
index 4381ba1..0000000
--- a/dist/types/componentes/EliEntrada/EliEntradaParagrafo.vue.d.ts
+++ /dev/null
@@ -1,1642 +0,0 @@
-import { PropType } from "vue";
-import type { PadroesEntradas } from "./tiposEntradas";
-type EntradaParagrafo = PadroesEntradas["paragrafo"];
-declare const __VLS_export: import("vue").DefineComponent;
- default: undefined;
- };
- opcoes: {
- type: PropType;
- required: true;
- };
-}>, {
- attrs: {
- [x: string]: unknown;
- };
- emit: ((event: "update:value", _v: string | null | undefined) => void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
- localValue: import("vue").WritableComputedRef;
- opcoes: {
- rotulo: string;
- placeholder?: string;
- } & {
- linhas?: number;
- limiteCaracteres?: number;
- limpavel?: boolean;
- erro?: boolean;
- mensagensErro?: string | string[];
- dica?: string;
- dicaPersistente?: boolean;
- densidade?: import("../../tipos").CampoDensidade;
- variante?: import("../../tipos").CampoVariante;
- };
-}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
- "update:value": (_v: EntradaParagrafo["value"]) => true;
- input: (_v: EntradaParagrafo["value"]) => true;
- change: (_v: EntradaParagrafo["value"]) => true;
- focus: () => true;
- blur: () => true;
-}, string, import("vue").PublicProps, Readonly;
- default: undefined;
- };
- opcoes: {
- type: PropType;
- required: true;
- };
-}>> & Readonly<{
- "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined;
- onInput?: ((_v: string | null | undefined) => any) | undefined;
- onChange?: ((_v: string | null | undefined) => any) | undefined;
- onFocus?: (() => any) | undefined;
- onBlur?: (() => any) | undefined;
-}>, {
- value: string | null | undefined;
-}, {}, {
- VTextarea: {
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
- style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
- focused: boolean;
- errorMessages: string | readonly string[] | null;
- maxErrors: string | number;
- readonly: boolean | null;
- rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
- density: import("vuetify/lib/composables/density.mjs").Density;
- tile: boolean;
- hideSpinButtons: boolean;
- persistentHint: boolean;
- messages: string | readonly string[];
- direction: "horizontal" | "vertical";
- clearable: boolean;
- clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue;
- active: boolean;
- dirty: boolean;
- disabled: boolean;
- glow: boolean;
- error: boolean;
- flat: boolean;
- persistentClear: boolean;
- reverse: boolean;
- singleLine: boolean;
- variant: "filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined";
- autoGrow: boolean;
- autofocus: boolean;
- persistentPlaceholder: boolean;
- persistentCounter: boolean;
- noResize: boolean;
- rows: string | number;
- } & {
- theme?: string | undefined;
- class?: any;
- "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
- name?: string | undefined;
- modelValue?: any;
- validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
- validationValue?: any;
- rounded?: string | number | boolean | undefined;
- maxWidth?: string | number | undefined;
- minWidth?: string | number | undefined;
- width?: string | number | undefined;
- loading?: string | boolean | undefined;
- id?: string | undefined;
- appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- hideDetails?: "auto" | boolean | undefined;
- hint?: string | undefined;
- "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
- "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
- appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- bgColor?: string | undefined;
- centerAffix?: boolean | undefined;
- color?: string | undefined;
- baseColor?: string | undefined;
- iconColor?: string | boolean | undefined;
- label?: string | undefined;
- prependInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- "onClick:clear"?: ((args_0: MouseEvent) => void) | undefined;
- "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined;
- "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined;
- autocomplete?: string | undefined;
- counter?: string | number | true | undefined;
- counterValue?: ((value: any) => number) | undefined;
- prefix?: string | undefined;
- placeholder?: string | undefined;
- maxHeight?: string | number | undefined;
- maxRows?: string | number | undefined;
- suffix?: string | undefined;
- modelModifiers?: Record | undefined;
- } & {
- $children?: {
- prepend?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- append?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- details?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- message?: ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
- clear?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- "prepend-inner"?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- "append-inner"?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- label?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- label: string | undefined;
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
- counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
- } | {
- $stable?: boolean | undefined;
- } | {} | import("vue").VNodeChild;
- "v-slots"?: {
- prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- details?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- message?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
- clear?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- "prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- "append-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- label?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- label: string | undefined;
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
- counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:append"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:append-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:clear"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- label: string | undefined;
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- "v-slot:loader"?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
- "v-slot:message"?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- } & {
- "onClick:control"?: ((e: MouseEvent) => any) | undefined;
- "onMousedown:control"?: ((e: MouseEvent) => any) | undefined;
- "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
- "onUpdate:modelValue"?: ((val: string) => any) | undefined;
- "onUpdate:rows"?: ((rows: number) => any) | undefined;
- }, HTMLTextAreaElement & Omit | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
- density: import("vuetify/lib/composables/density.mjs").Density;
- centerAffix: boolean;
- glow: boolean;
- hideSpinButtons: boolean;
- persistentHint: boolean;
- messages: string | readonly string[];
- direction: "horizontal" | "vertical";
- }> & Omit<{
- theme?: string | undefined;
- class?: any;
- style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
- focused: boolean;
- "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
- disabled: boolean | null;
- error: boolean;
- errorMessages: string | readonly string[] | null;
- maxErrors: string | number;
- name?: string | undefined;
- label?: string | undefined;
- readonly: boolean | null;
- rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
- validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
- validationValue?: any;
- density: import("vuetify/lib/composables/density.mjs").Density;
- maxWidth?: string | number | undefined;
- minWidth?: string | number | undefined;
- width?: string | number | undefined;
- id?: string | undefined;
- appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- baseColor?: string | undefined;
- centerAffix: boolean;
- color?: string | undefined;
- glow: boolean;
- iconColor?: string | boolean | undefined;
- prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- hideDetails?: "auto" | boolean | undefined;
- hideSpinButtons: boolean;
- hint?: string | undefined;
- persistentHint: boolean;
- messages: string | readonly string[];
- direction: "horizontal" | "vertical";
- "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
- "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "centerAffix" | "density" | "direction" | "disabled" | "error" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "style">;
- $attrs: {
- [x: string]: unknown;
- };
- $refs: {
- [x: string]: unknown;
- };
- $slots: Readonly<{
- default?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
- prepend?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
- append?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
- details?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
- message?: ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNode[]) | undefined;
- }>;
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null;
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null;
- $host: Element | null;
- $emit: (event: string, ...args: any[]) => void;
- $el: any;
- $options: import("vue").ComponentOptionsBase<{
- style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
- focused: boolean;
- disabled: boolean | null;
- error: boolean;
- errorMessages: string | readonly string[] | null;
- maxErrors: string | number;
- readonly: boolean | null;
- rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
- density: import("vuetify/lib/composables/density.mjs").Density;
- centerAffix: boolean;
- glow: boolean;
- hideSpinButtons: boolean;
- persistentHint: boolean;
- messages: string | readonly string[];
- direction: "horizontal" | "vertical";
- } & {
- theme?: string | undefined;
- class?: any;
- "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
- name?: string | undefined;
- label?: string | undefined;
- validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
- validationValue?: any;
- maxWidth?: string | number | undefined;
- minWidth?: string | number | undefined;
- width?: string | number | undefined;
- id?: string | undefined;
- appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- baseColor?: string | undefined;
- color?: string | undefined;
- iconColor?: string | boolean | undefined;
- prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- hideDetails?: "auto" | boolean | undefined;
- hint?: string | undefined;
- "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
- "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
- } & {}, {
- reset: () => Promise;
- resetValidation: () => Promise;
- validate: (silent?: boolean) => Promise;
- isValid: import("vue").ComputedRef;
- errorMessages: import("vue").ComputedRef;
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Omit<{
- "update:modelValue": (value: any) => true;
- }, "$children" | "modelValue" | "update:modelValue" | "v-slot:append" | "v-slot:default" | "v-slot:details" | "v-slot:message" | "v-slot:prepend" | "v-slots">, string, {
- style: import("vue").StyleValue;
- focused: boolean;
- disabled: boolean | null;
- error: boolean;
- errorMessages: string | readonly string[] | null;
- maxErrors: string | number;
- readonly: boolean | null;
- rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
- density: import("vuetify/lib/composables/density.mjs").Density;
- centerAffix: boolean;
- glow: boolean;
- hideSpinButtons: boolean;
- persistentHint: boolean;
- messages: string | readonly string[];
- direction: "horizontal" | "vertical";
- }, {}, string, import("vue").SlotsType import("vue").VNode[];
- prepend: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
- append: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
- details: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
- message: (arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNode[];
- }>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
- beforeCreate?: ((() => void)[] | (() => void)) | undefined;
- created?: ((() => void)[] | (() => void)) | undefined;
- beforeMount?: ((() => void)[] | (() => void)) | undefined;
- mounted?: ((() => void)[] | (() => void)) | undefined;
- beforeUpdate?: ((() => void)[] | (() => void)) | undefined;
- updated?: ((() => void)[] | (() => void)) | undefined;
- activated?: ((() => void)[] | (() => void)) | undefined;
- deactivated?: ((() => void)[] | (() => void)) | undefined;
- beforeDestroy?: ((() => void)[] | (() => void)) | undefined;
- beforeUnmount?: ((() => void)[] | (() => void)) | undefined;
- destroyed?: ((() => void)[] | (() => void)) | undefined;
- unmounted?: ((() => void)[] | (() => void)) | undefined;
- renderTracked?: (((e: import("vue").DebuggerEvent) => void)[] | ((e: import("vue").DebuggerEvent) => void)) | undefined;
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void)[] | ((e: import("vue").DebuggerEvent) => void)) | undefined;
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null, info: string) => void | boolean)[] | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null, info: string) => void | boolean)) | undefined;
- };
- $forceUpdate: () => void;
- $nextTick: typeof import("vue").nextTick;
- $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions | undefined): import("vue").WatchStopHandle;
- } & Readonly<{
- style: import("vue").StyleValue;
- focused: boolean;
- disabled: boolean | null;
- error: boolean;
- errorMessages: string | readonly string[] | null;
- maxErrors: string | number;
- readonly: boolean | null;
- rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
- density: import("vuetify/lib/composables/density.mjs").Density;
- centerAffix: boolean;
- glow: boolean;
- hideSpinButtons: boolean;
- persistentHint: boolean;
- messages: string | readonly string[];
- direction: "horizontal" | "vertical";
- }> & Omit<{
- style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
- focused: boolean;
- disabled: boolean | null;
- error: boolean;
- errorMessages: string | readonly string[] | null;
- maxErrors: string | number;
- readonly: boolean | null;
- rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
- density: import("vuetify/lib/composables/density.mjs").Density;
- centerAffix: boolean;
- glow: boolean;
- hideSpinButtons: boolean;
- persistentHint: boolean;
- messages: string | readonly string[];
- direction: "horizontal" | "vertical";
- } & {
- theme?: string | undefined;
- class?: any;
- "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
- name?: string | undefined;
- label?: string | undefined;
- validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
- validationValue?: any;
- maxWidth?: string | number | undefined;
- minWidth?: string | number | undefined;
- width?: string | number | undefined;
- id?: string | undefined;
- appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- baseColor?: string | undefined;
- color?: string | undefined;
- iconColor?: string | boolean | undefined;
- prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- hideDetails?: "auto" | boolean | undefined;
- hint?: string | undefined;
- "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
- "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
- } & {}, "isValid" | "reset" | "resetValidation" | "validate" | ("centerAffix" | "density" | "direction" | "disabled" | "error" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "style")> & import("vue").ShallowUnwrapRef<{
- reset: () => Promise;
- resetValidation: () => Promise;
- validate: (silent?: boolean) => Promise;
- isValid: import("vue").ComputedRef;
- errorMessages: import("vue").ComputedRef;
- }> & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{
- modelValue?: unknown;
- "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
- }, import("vuetify/lib/components/VInput/VInput.mjs").VInputSlots>, "$children" | "appendIcon" | "baseColor" | "class" | "color" | "hideDetails" | "hint" | "iconColor" | "id" | "label" | "maxWidth" | "minWidth" | "modelValue" | "name" | "onClick:append" | "onClick:prepend" | "onUpdate:focused" | "onUpdate:modelValue" | "prependIcon" | "theme" | "v-slot:append" | "v-slot:default" | "v-slot:details" | "v-slot:message" | "v-slot:prepend" | "v-slots" | "validateOn" | "validationValue" | "width" | ("centerAffix" | "density" | "direction" | "disabled" | "error" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "style") | keyof import("vue").VNodeProps>, `$${any}`> & {
- _allExposed: {
- reset: () => Promise;
- resetValidation: () => Promise;
- validate: (silent?: boolean) => Promise;
- isValid: import("vue").ComputedRef;
- errorMessages: import("vue").ComputedRef;
- } | {};
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
- "click:control": (e: MouseEvent) => true;
- "mousedown:control": (e: MouseEvent) => true;
- "update:focused": (focused: boolean) => true;
- "update:modelValue": (val: string) => true;
- "update:rows": (rows: number) => true;
- }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
- style: import("vue").StyleValue;
- focused: boolean;
- errorMessages: string | readonly string[] | null;
- maxErrors: string | number;
- readonly: boolean | null;
- rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
- density: import("vuetify/lib/composables/density.mjs").Density;
- rounded: string | number | boolean;
- tile: boolean;
- hideSpinButtons: boolean;
- persistentHint: boolean;
- messages: string | readonly string[];
- direction: "horizontal" | "vertical";
- clearable: boolean;
- clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue;
- active: boolean;
- centerAffix: boolean;
- dirty: boolean;
- disabled: boolean;
- glow: boolean;
- error: boolean;
- flat: boolean;
- persistentClear: boolean;
- reverse: boolean;
- singleLine: boolean;
- variant: "filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined";
- autoGrow: boolean;
- autofocus: boolean;
- persistentPlaceholder: boolean;
- persistentCounter: boolean;
- noResize: boolean;
- rows: string | number;
- }, true, {}, import("vue").SlotsType import("vue").VNode[];
- append: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
- details: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
- message: (arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNode[];
- clear: (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- props: Record;
- }) => import("vue").VNode[];
- "prepend-inner": (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNode[];
- "append-inner": (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNode[];
- label: (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- label: string | undefined;
- props: Record;
- }) => import("vue").VNode[];
- loader: (arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNode[];
- counter: (arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode[];
- }>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
- P: {};
- B: {};
- D: {};
- C: {};
- M: {};
- Defaults: {};
- }, {
- style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
- focused: boolean;
- errorMessages: string | readonly string[] | null;
- maxErrors: string | number;
- readonly: boolean | null;
- rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
- density: import("vuetify/lib/composables/density.mjs").Density;
- tile: boolean;
- hideSpinButtons: boolean;
- persistentHint: boolean;
- messages: string | readonly string[];
- direction: "horizontal" | "vertical";
- clearable: boolean;
- clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue;
- active: boolean;
- dirty: boolean;
- disabled: boolean;
- glow: boolean;
- error: boolean;
- flat: boolean;
- persistentClear: boolean;
- reverse: boolean;
- singleLine: boolean;
- variant: "filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined";
- autoGrow: boolean;
- autofocus: boolean;
- persistentPlaceholder: boolean;
- persistentCounter: boolean;
- noResize: boolean;
- rows: string | number;
- } & {
- theme?: string | undefined;
- class?: any;
- "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
- name?: string | undefined;
- modelValue?: any;
- validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
- validationValue?: any;
- rounded?: string | number | boolean | undefined;
- maxWidth?: string | number | undefined;
- minWidth?: string | number | undefined;
- width?: string | number | undefined;
- loading?: string | boolean | undefined;
- id?: string | undefined;
- appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- hideDetails?: "auto" | boolean | undefined;
- hint?: string | undefined;
- "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
- "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
- appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- bgColor?: string | undefined;
- centerAffix?: boolean | undefined;
- color?: string | undefined;
- baseColor?: string | undefined;
- iconColor?: string | boolean | undefined;
- label?: string | undefined;
- prependInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
- "onClick:clear"?: ((args_0: MouseEvent) => void) | undefined;
- "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined;
- "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined;
- autocomplete?: string | undefined;
- counter?: string | number | true | undefined;
- counterValue?: ((value: any) => number) | undefined;
- prefix?: string | undefined;
- placeholder?: string | undefined;
- maxHeight?: string | number | undefined;
- maxRows?: string | number | undefined;
- suffix?: string | undefined;
- modelModifiers?: Record | undefined;
- } & {
- $children?: {
- prepend?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- append?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- details?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- message?: ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
- clear?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- "prepend-inner"?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- "append-inner"?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- label?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- label: string | undefined;
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
- counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
- } | {
- $stable?: boolean | undefined;
- } | {} | import("vue").VNodeChild;
- "v-slots"?: {
- prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- details?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- message?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
- clear?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- "prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- "append-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- label?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- label: string | undefined;
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
- counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:append"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:append-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:clear"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
- label: string | undefined;
- props: Record;
- }) => import("vue").VNodeChild) | undefined;
- "v-slot:loader"?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
- "v-slot:message"?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
- "v-slot:prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
- } & {
- "onClick:control"?: ((e: MouseEvent) => any) | undefined;
- "onMousedown:control"?: ((e: MouseEvent) => any) | undefined;
- "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
- "onUpdate:modelValue"?: ((val: string) => any) | undefined;
- "onUpdate:rows"?: ((rows: number) => any) | undefined;
- }, HTMLTextAreaElement & Omit | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike