openadmin-dev 0.7.11__tar.gz → 0.7.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/workflows/publish.yml +3 -0
- openadmin_dev-0.7.12/.gitignore +15 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/PKG-INFO +1 -1
- openadmin_dev-0.7.12/openadmin/__client__/assets/index-Cmhau8Lc.js +64 -0
- openadmin_dev-0.7.12/openadmin/__client__/assets/index-DfxwI1Du.css +1 -0
- {openadmin_dev-0.7.11/client → openadmin_dev-0.7.12/openadmin/__client__}/index.html +3 -2
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/fastapi/admin_page.py +2 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/fastapi/admin_panel.py +5 -1
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/__init__.py +2 -1
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/table.py +10 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/pyproject.toml +6 -1
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/uv.lock +1 -1
- openadmin_dev-0.7.11/.gitignore +0 -12
- openadmin_dev-0.7.11/client/.claude/skills/shadcn-vue/SKILL.md +0 -231
- openadmin_dev-0.7.11/client/.claude/skills/shadcn-vue/cli.md +0 -225
- openadmin_dev-0.7.11/client/.claude/skills/shadcn-vue/customization.md +0 -205
- openadmin_dev-0.7.11/client/.claude/skills/shadcn-vue/mcp.md +0 -92
- openadmin_dev-0.7.11/client/.claude/skills/shadcn-vue/rules/composition.md +0 -197
- openadmin_dev-0.7.11/client/.claude/skills/shadcn-vue/rules/forms.md +0 -207
- openadmin_dev-0.7.11/client/.claude/skills/shadcn-vue/rules/icons.md +0 -111
- openadmin_dev-0.7.11/client/.claude/skills/shadcn-vue/rules/styling.md +0 -166
- openadmin_dev-0.7.11/client/.gitignore +0 -24
- openadmin_dev-0.7.11/client/DESIGN.md +0 -498
- openadmin_dev-0.7.11/client/README.md +0 -5
- openadmin_dev-0.7.11/client/biome.json +0 -70
- openadmin_dev-0.7.11/client/bun.lock +0 -717
- openadmin_dev-0.7.11/client/components.json +0 -24
- openadmin_dev-0.7.11/client/package.json +0 -42
- openadmin_dev-0.7.11/client/skills-lock.json +0 -11
- openadmin_dev-0.7.11/client/src/App.vue +0 -18
- openadmin_dev-0.7.11/client/src/components/ui/avatar/Avatar.vue +0 -24
- openadmin_dev-0.7.11/client/src/components/ui/avatar/AvatarFallback.vue +0 -27
- openadmin_dev-0.7.11/client/src/components/ui/avatar/AvatarImage.vue +0 -18
- openadmin_dev-0.7.11/client/src/components/ui/avatar/index.ts +0 -7
- openadmin_dev-0.7.11/client/src/components/ui/badge/Badge.vue +0 -34
- openadmin_dev-0.7.11/client/src/components/ui/badge/index.ts +0 -27
- openadmin_dev-0.7.11/client/src/components/ui/button/Button.vue +0 -37
- openadmin_dev-0.7.11/client/src/components/ui/button/index.ts +0 -41
- openadmin_dev-0.7.11/client/src/components/ui/card/Card.vue +0 -28
- openadmin_dev-0.7.11/client/src/components/ui/card/CardAction.vue +0 -23
- openadmin_dev-0.7.11/client/src/components/ui/card/CardContent.vue +0 -20
- openadmin_dev-0.7.11/client/src/components/ui/card/CardDescription.vue +0 -20
- openadmin_dev-0.7.11/client/src/components/ui/card/CardFooter.vue +0 -20
- openadmin_dev-0.7.11/client/src/components/ui/card/CardHeader.vue +0 -23
- openadmin_dev-0.7.11/client/src/components/ui/card/CardTitle.vue +0 -20
- openadmin_dev-0.7.11/client/src/components/ui/card/index.ts +0 -11
- openadmin_dev-0.7.11/client/src/components/ui/chart/ChartContainer.vue +0 -65
- openadmin_dev-0.7.11/client/src/components/ui/chart/ChartLegendContent.vue +0 -71
- openadmin_dev-0.7.11/client/src/components/ui/chart/ChartStyle.vue +0 -43
- openadmin_dev-0.7.11/client/src/components/ui/chart/ChartTooltipContent.vue +0 -121
- openadmin_dev-0.7.11/client/src/components/ui/chart/index.ts +0 -33
- openadmin_dev-0.7.11/client/src/components/ui/chart/utils.ts +0 -48
- openadmin_dev-0.7.11/client/src/components/ui/dialog/Dialog.vue +0 -21
- openadmin_dev-0.7.11/client/src/components/ui/dialog/DialogClose.vue +0 -18
- openadmin_dev-0.7.11/client/src/components/ui/dialog/DialogContent.vue +0 -59
- openadmin_dev-0.7.11/client/src/components/ui/dialog/DialogDescription.vue +0 -29
- openadmin_dev-0.7.11/client/src/components/ui/dialog/DialogFooter.vue +0 -34
- openadmin_dev-0.7.11/client/src/components/ui/dialog/DialogHeader.vue +0 -23
- openadmin_dev-0.7.11/client/src/components/ui/dialog/DialogOverlay.vue +0 -27
- openadmin_dev-0.7.11/client/src/components/ui/dialog/DialogScrollContent.vue +0 -65
- openadmin_dev-0.7.11/client/src/components/ui/dialog/DialogTitle.vue +0 -29
- openadmin_dev-0.7.11/client/src/components/ui/dialog/DialogTrigger.vue +0 -18
- openadmin_dev-0.7.11/client/src/components/ui/dialog/index.ts +0 -14
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenu.vue +0 -21
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +0 -41
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuContent.vue +0 -41
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +0 -18
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuItem.vue +0 -42
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +0 -31
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +0 -21
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +0 -42
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +0 -29
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +0 -23
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuSub.vue +0 -21
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +0 -30
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +0 -36
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +0 -20
- openadmin_dev-0.7.11/client/src/components/ui/dropdown-menu/index.ts +0 -20
- openadmin_dev-0.7.11/client/src/components/ui/field/Field.vue +0 -31
- openadmin_dev-0.7.11/client/src/components/ui/field/FieldContent.vue +0 -26
- openadmin_dev-0.7.11/client/src/components/ui/field/FieldDescription.vue +0 -28
- openadmin_dev-0.7.11/client/src/components/ui/field/FieldError.vue +0 -56
- openadmin_dev-0.7.11/client/src/components/ui/field/FieldGroup.vue +0 -26
- openadmin_dev-0.7.11/client/src/components/ui/field/FieldLabel.vue +0 -29
- openadmin_dev-0.7.11/client/src/components/ui/field/FieldLegend.vue +0 -30
- openadmin_dev-0.7.11/client/src/components/ui/field/FieldSeparator.vue +0 -35
- openadmin_dev-0.7.11/client/src/components/ui/field/FieldSet.vue +0 -27
- openadmin_dev-0.7.11/client/src/components/ui/field/FieldTitle.vue +0 -26
- openadmin_dev-0.7.11/client/src/components/ui/field/index.ts +0 -43
- openadmin_dev-0.7.11/client/src/components/ui/input/Input.vue +0 -39
- openadmin_dev-0.7.11/client/src/components/ui/input/index.ts +0 -5
- openadmin_dev-0.7.11/client/src/components/ui/label/Label.vue +0 -32
- openadmin_dev-0.7.11/client/src/components/ui/label/index.ts +0 -5
- openadmin_dev-0.7.11/client/src/components/ui/pagination/Pagination.vue +0 -34
- openadmin_dev-0.7.11/client/src/components/ui/pagination/PaginationContent.vue +0 -28
- openadmin_dev-0.7.11/client/src/components/ui/pagination/PaginationEllipsis.vue +0 -31
- openadmin_dev-0.7.11/client/src/components/ui/pagination/PaginationFirst.vue +0 -44
- openadmin_dev-0.7.11/client/src/components/ui/pagination/PaginationItem.vue +0 -45
- openadmin_dev-0.7.11/client/src/components/ui/pagination/PaginationLast.vue +0 -44
- openadmin_dev-0.7.11/client/src/components/ui/pagination/PaginationNext.vue +0 -44
- openadmin_dev-0.7.11/client/src/components/ui/pagination/PaginationPrevious.vue +0 -44
- openadmin_dev-0.7.11/client/src/components/ui/pagination/index.ts +0 -12
- openadmin_dev-0.7.11/client/src/components/ui/separator/Separator.vue +0 -33
- openadmin_dev-0.7.11/client/src/components/ui/separator/index.ts +0 -5
- openadmin_dev-0.7.11/client/src/components/ui/sheet/Sheet.vue +0 -21
- openadmin_dev-0.7.11/client/src/components/ui/sheet/SheetClose.vue +0 -18
- openadmin_dev-0.7.11/client/src/components/ui/sheet/SheetContent.vue +0 -63
- openadmin_dev-0.7.11/client/src/components/ui/sheet/SheetDescription.vue +0 -27
- openadmin_dev-0.7.11/client/src/components/ui/sheet/SheetFooter.vue +0 -22
- openadmin_dev-0.7.11/client/src/components/ui/sheet/SheetHeader.vue +0 -18
- openadmin_dev-0.7.11/client/src/components/ui/sheet/SheetOverlay.vue +0 -27
- openadmin_dev-0.7.11/client/src/components/ui/sheet/SheetTitle.vue +0 -27
- openadmin_dev-0.7.11/client/src/components/ui/sheet/SheetTrigger.vue +0 -18
- openadmin_dev-0.7.11/client/src/components/ui/sheet/index.ts +0 -12
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/Sidebar.vue +0 -102
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarContent.vue +0 -24
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarFooter.vue +0 -24
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarGroup.vue +0 -24
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarGroupAction.vue +0 -35
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarGroupContent.vue +0 -24
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarGroupLabel.vue +0 -33
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarHeader.vue +0 -24
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarInput.vue +0 -28
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarInset.vue +0 -27
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarMenu.vue +0 -24
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarMenuAction.vue +0 -46
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarMenuBadge.vue +0 -32
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarMenuButton.vue +0 -55
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarMenuButtonChild.vue +0 -42
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarMenuItem.vue +0 -24
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarMenuSkeleton.vue +0 -37
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarMenuSub.vue +0 -28
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarMenuSubButton.vue +0 -47
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarMenuSubItem.vue +0 -24
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarProvider.vue +0 -98
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarRail.vue +0 -39
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarSeparator.vue +0 -25
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/SidebarTrigger.vue +0 -33
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/index.ts +0 -64
- openadmin_dev-0.7.11/client/src/components/ui/sidebar/utils.ts +0 -23
- openadmin_dev-0.7.11/client/src/components/ui/skeleton/Skeleton.vue +0 -20
- openadmin_dev-0.7.11/client/src/components/ui/skeleton/index.ts +0 -5
- openadmin_dev-0.7.11/client/src/components/ui/sonner/Sonner.vue +0 -55
- openadmin_dev-0.7.11/client/src/components/ui/sonner/index.ts +0 -5
- openadmin_dev-0.7.11/client/src/components/ui/table/Table.vue +0 -22
- openadmin_dev-0.7.11/client/src/components/ui/table/TableBody.vue +0 -20
- openadmin_dev-0.7.11/client/src/components/ui/table/TableCaption.vue +0 -20
- openadmin_dev-0.7.11/client/src/components/ui/table/TableCell.vue +0 -28
- openadmin_dev-0.7.11/client/src/components/ui/table/TableEmpty.vue +0 -43
- openadmin_dev-0.7.11/client/src/components/ui/table/TableFooter.vue +0 -23
- openadmin_dev-0.7.11/client/src/components/ui/table/TableHead.vue +0 -23
- openadmin_dev-0.7.11/client/src/components/ui/table/TableHeader.vue +0 -20
- openadmin_dev-0.7.11/client/src/components/ui/table/TableRow.vue +0 -23
- openadmin_dev-0.7.11/client/src/components/ui/table/index.ts +0 -13
- openadmin_dev-0.7.11/client/src/components/ui/tabs/Tabs.vue +0 -30
- openadmin_dev-0.7.11/client/src/components/ui/tabs/TabsContent.vue +0 -27
- openadmin_dev-0.7.11/client/src/components/ui/tabs/TabsList.vue +0 -30
- openadmin_dev-0.7.11/client/src/components/ui/tabs/TabsTrigger.vue +0 -32
- openadmin_dev-0.7.11/client/src/components/ui/tabs/index.ts +0 -8
- openadmin_dev-0.7.11/client/src/components/ui/textarea/Textarea.vue +0 -34
- openadmin_dev-0.7.11/client/src/components/ui/textarea/index.ts +0 -5
- openadmin_dev-0.7.11/client/src/components/ui/tooltip/Tooltip.vue +0 -21
- openadmin_dev-0.7.11/client/src/components/ui/tooltip/TooltipContent.vue +0 -45
- openadmin_dev-0.7.11/client/src/components/ui/tooltip/TooltipProvider.vue +0 -20
- openadmin_dev-0.7.11/client/src/components/ui/tooltip/TooltipTrigger.vue +0 -18
- openadmin_dev-0.7.11/client/src/components/ui/tooltip/index.ts +0 -8
- openadmin_dev-0.7.11/client/src/composables/openadmin-spec.ts +0 -43
- openadmin_dev-0.7.11/client/src/lib/utils.ts +0 -11
- openadmin_dev-0.7.11/client/src/main.ts +0 -10
- openadmin_dev-0.7.11/client/src/schemas/action.ts +0 -39
- openadmin_dev-0.7.11/client/src/schemas/area-chart.ts +0 -24
- openadmin_dev-0.7.11/client/src/schemas/bar-chart.ts +0 -58
- openadmin_dev-0.7.11/client/src/schemas/color.ts +0 -36
- openadmin_dev-0.7.11/client/src/schemas/component.ts +0 -28
- openadmin_dev-0.7.11/client/src/schemas/error.ts +0 -11
- openadmin_dev-0.7.11/client/src/schemas/form.ts +0 -49
- openadmin_dev-0.7.11/client/src/schemas/http-method.ts +0 -11
- openadmin_dev-0.7.11/client/src/schemas/icon.ts +0 -2007
- openadmin_dev-0.7.11/client/src/schemas/json-schema.ts +0 -73
- openadmin_dev-0.7.11/client/src/schemas/line-chart.ts +0 -24
- openadmin_dev-0.7.11/client/src/schemas/markdown.ts +0 -40
- openadmin_dev-0.7.11/client/src/schemas/page.ts +0 -17
- openadmin_dev-0.7.11/client/src/schemas/pie-chart.ts +0 -59
- openadmin_dev-0.7.11/client/src/schemas/section.ts +0 -17
- openadmin_dev-0.7.11/client/src/schemas/spec.ts +0 -16
- openadmin_dev-0.7.11/client/src/schemas/stat.ts +0 -40
- openadmin_dev-0.7.11/client/src/schemas/table.ts +0 -45
- openadmin_dev-0.7.11/client/src/style.css +0 -162
- openadmin_dev-0.7.11/client/tsconfig.app.json +0 -18
- openadmin_dev-0.7.11/client/tsconfig.json +0 -10
- openadmin_dev-0.7.11/client/tsconfig.node.json +0 -23
- openadmin_dev-0.7.11/client/vite.config.ts +0 -14
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/ISSUE_TEMPLATE/bug.md +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/ISSUE_TEMPLATE/chore.md +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/ISSUE_TEMPLATE/feature.md +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/actions/branch-name/action.yml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/actions/dependency-cves/action.yml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/actions/format/action.yml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/actions/license/action.yml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/actions/lint/action.yml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/actions/security/action.yml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/actions/spell-check/action.yml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/actions/test/action.yml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/actions/typecheck/action.yml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/actions/unused-code/action.yml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.github/workflows/ci.yml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/.python-version +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/LICENSE +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/LICENSES/AGPL-3.0-or-later.txt +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/Makefile +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/README.md +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/REUSE.toml +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/docs/assets/logo.png +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/__init__.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/__init__.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/analytics.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/authors.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/books.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/control_panel.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/docs.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/genres.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/health.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/overview.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/publishers.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/reports.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/tags.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/admin/weekdays.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/lib/__init__.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/lib/database.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/lib/lifespan.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/lib/models.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/lib/seed.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/examples/main.py +0 -0
- {openadmin_dev-0.7.11/client/public → openadmin_dev-0.7.12/openadmin/__client__}/favicon.svg +0 -0
- {openadmin_dev-0.7.11/client/public → openadmin_dev-0.7.12/openadmin/__client__}/icons.svg +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/fastapi/__init__.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/fastapi/counter.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/fastapi/deps.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/fastapi/exc_handler.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/fastapi/field_config.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/fastapi/req.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/fastapi/utils.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/action.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/area_chart.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/bar_chart.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/colors.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/component.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/error.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/form.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/http_methods.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/icons.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/json_schema.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/line_chart.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/markdown.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/page.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/pie_chart.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/section.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/spec.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/openadmin/spec/stat.py +0 -0
- {openadmin_dev-0.7.11 → openadmin_dev-0.7.12}/tests/test_hello.py +0 -0
|
@@ -25,6 +25,9 @@ jobs:
|
|
|
25
25
|
- uses: astral-sh/setup-uv@v4
|
|
26
26
|
with:
|
|
27
27
|
enable-cache: true
|
|
28
|
+
- uses: oven-sh/setup-bun@v2
|
|
29
|
+
- name: Build frontend
|
|
30
|
+
run: cd client && bun install --frozen-lockfile && bun run build
|
|
28
31
|
- name: Override package name for dev
|
|
29
32
|
if: github.ref_name == 'dev'
|
|
30
33
|
run: sed -i 's/^name = "openadmin"$/name = "openadmin-dev"/' pyproject.toml
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>x(e)===`[object Map]`,p=e=>x(e)===`[object Set]`,m=e=>x(e)===`[object Date]`,h=e=>typeof e==`function`,g=e=>typeof e==`string`,_=e=>typeof e==`symbol`,v=e=>typeof e==`object`&&!!e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,x=e=>b.call(e),ee=e=>x(e).slice(8,-1),S=e=>x(e)===`[object Object]`,te=e=>g(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,ne=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),re=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ie=/-\w/g,C=re(e=>e.replace(ie,e=>e.slice(1).toUpperCase())),ae=/\B([A-Z])/g,oe=re(e=>e.replace(ae,`-$1`).toLowerCase()),se=re(e=>e.charAt(0).toUpperCase()+e.slice(1)),ce=re(e=>e?`on${se(e)}`:``),le=(e,t)=>!Object.is(e,t),ue=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},w=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},de=e=>{let t=parseFloat(e);return isNaN(t)?e:t},fe,pe=()=>fe||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function me(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=g(r)?ve(r):me(r);if(i)for(let e in i)t[e]=i[e]}return t}if(g(e)||v(e))return e}var he=/;(?![^(]*\))/g,ge=/:([^]+)/,_e=/\/\*[^]*?\*\//g;function ve(e){let t={};return e.replace(_e,``).split(he).forEach(e=>{if(e){let n=e.split(ge);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ye(e){let t=``;if(g(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=ye(e[n]);r&&(t+=r+` `)}else if(v(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var be=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,xe=e(be);be+``;function Se(e){return!!e||e===``}function Ce(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=we(e[r],t[r]);return n}function we(e,t){if(e===t)return!0;let n=m(e),r=m(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=_(e),r=_(t),n||r)return e===t;if(n=d(e),r=d(t),n||r)return n&&r?Ce(e,t):!1;if(n=v(e),r=v(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!we(e[n],t[n]))return!1}}return String(e)===String(t)}var Te=e=>!!(e&&e.__v_isRef===!0),Ee=e=>g(e)?e:e==null?``:d(e)||v(e)&&(e.toString===b||!h(e.toString))?Te(e)?Ee(e.value):JSON.stringify(e,De,2):String(e),De=(e,t)=>Te(t)?De(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Oe(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Oe(e))}:_(t)?Oe(t):v(t)&&!d(t)&&!S(t)?String(t):t,Oe=(e,t=``)=>_(e)?`Symbol(${e.description??t})`:e,T,ke=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&T&&(T.active?(this.parent=T,this.index=(T.scopes||(T.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=T;try{return T=this,e()}finally{T=t}}}on(){++this._on===1&&(this.prevScope=T,T=this)}off(){if(this._on>0&&--this._on===0){if(T===this)T=this.prevScope;else{let e=T;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Ae(){return T}function je(e,t=!1){T&&T.cleanups.push(e)}var E,Me=new WeakSet,Ne=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,T&&(T.active?T.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Me.has(this)&&(Me.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Le(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Xe(this),Be(this);let e=E,t=Ke;E=this,Ke=!0;try{return this.fn()}finally{Ve(this),E=e,Ke=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)We(e);this.deps=this.depsTail=void 0,Xe(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Me.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){He(this)&&this.run()}get dirty(){return He(this)}},Pe=0,Fe,Ie;function Le(e,t=!1){if(e.flags|=8,t){e.next=Ie,Ie=e;return}e.next=Fe,Fe=e}function Re(){Pe++}function ze(){if(--Pe>0)return;if(Ie){let e=Ie;for(Ie=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Fe;){let t=Fe;for(Fe=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Be(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ve(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),We(r),Ge(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function He(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ue(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ue(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ze)||(e.globalVersion=Ze,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!He(e))))return;e.flags|=2;let t=e.dep,n=E,r=Ke;E=e,Ke=!0;try{Be(e);let n=e.fn(e._value);(t.version===0||le(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{E=n,Ke=r,Ve(e),e.flags&=-3}}function We(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)We(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ge(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var Ke=!0,qe=[];function Je(){qe.push(Ke),Ke=!1}function Ye(){let e=qe.pop();Ke=e===void 0||e}function Xe(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=E;E=void 0;try{t()}finally{E=e}}}var Ze=0,Qe=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},$e=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!E||!Ke||E===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==E)t=this.activeLink=new Qe(E,this),E.deps?(t.prevDep=E.depsTail,E.depsTail.nextDep=t,E.depsTail=t):E.deps=E.depsTail=t,et(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=E.depsTail,t.nextDep=void 0,E.depsTail.nextDep=t,E.depsTail=t,E.deps===t&&(E.deps=e)}return t}trigger(e){this.version++,Ze++,this.notify(e)}notify(e){Re();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{ze()}}};function et(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)et(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var tt=new WeakMap,nt=Symbol(``),rt=Symbol(``),it=Symbol(``);function D(e,t,n){if(Ke&&E){let t=tt.get(e);t||tt.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new $e),r.map=t,r.key=n),r.track()}}function at(e,t,n,r,i,a){let o=tt.get(e);if(!o){Ze++;return}let s=e=>{e&&e.trigger()};if(Re(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&te(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===it||!_(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(it)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(nt)),f(e)&&s(o.get(rt)));break;case`delete`:i||(s(o.get(nt)),f(e)&&s(o.get(rt)));break;case`set`:f(e)&&s(o.get(nt))}}ze()}function ot(e,t){let n=tt.get(e);return n&&n.get(t)}function st(e){let t=O(e);return t===e?t:(D(t,`iterate`,it),Yt(e)?t:t.map(Qt))}function ct(e){return D(e=O(e),`iterate`,it),e}function lt(e,t){return Jt(e)?$t(qt(e)?Qt(t):t):Qt(t)}var ut={__proto__:null,[Symbol.iterator](){return dt(this,Symbol.iterator,e=>lt(this,e))},concat(...e){return st(this).concat(...e.map(e=>d(e)?st(e):e))},entries(){return dt(this,`entries`,e=>(e[1]=lt(this,e[1]),e))},every(e,t){return pt(this,`every`,e,t,void 0,arguments)},filter(e,t){return pt(this,`filter`,e,t,e=>e.map(e=>lt(this,e)),arguments)},find(e,t){return pt(this,`find`,e,t,e=>lt(this,e),arguments)},findIndex(e,t){return pt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return pt(this,`findLast`,e,t,e=>lt(this,e),arguments)},findLastIndex(e,t){return pt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return pt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return ht(this,`includes`,e)},indexOf(...e){return ht(this,`indexOf`,e)},join(e){return st(this).join(e)},lastIndexOf(...e){return ht(this,`lastIndexOf`,e)},map(e,t){return pt(this,`map`,e,t,void 0,arguments)},pop(){return gt(this,`pop`)},push(...e){return gt(this,`push`,e)},reduce(e,...t){return mt(this,`reduce`,e,t)},reduceRight(e,...t){return mt(this,`reduceRight`,e,t)},shift(){return gt(this,`shift`)},some(e,t){return pt(this,`some`,e,t,void 0,arguments)},splice(...e){return gt(this,`splice`,e)},toReversed(){return st(this).toReversed()},toSorted(e){return st(this).toSorted(e)},toSpliced(...e){return st(this).toSpliced(...e)},unshift(...e){return gt(this,`unshift`,e)},values(){return dt(this,`values`,e=>lt(this,e))}};function dt(e,t,n){let r=ct(e),i=r[t]();return r!==e&&!Yt(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var ft=Array.prototype;function pt(e,t,n,r,i,a){let o=ct(e),s=o!==e&&!Yt(e),c=o[t];if(c!==ft[t]){let t=c.apply(e,a);return s?Qt(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,lt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function mt(e,t,n,r){let i=ct(e),a=i!==e&&!Yt(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=lt(e,t)),n.call(this,t,lt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?lt(e,c):c}function ht(e,t,n){let r=O(e);D(r,`iterate`,it);let i=r[t](...n);return(i===-1||i===!1)&&Xt(n[0])?(n[0]=O(n[0]),r[t](...n)):i}function gt(e,t,n=[]){Je(),Re();let r=O(e)[t].apply(e,n);return ze(),Ye(),r}var _t=e(`__proto__,__v_isRef,__isVue`),vt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(_));function yt(e){_(e)||(e=String(e));let t=O(this);return D(t,`has`,e),t.hasOwnProperty(e)}var bt=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Bt:zt:i?Rt:Lt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=ut[t]))return e;if(t===`hasOwnProperty`)return yt}let o=Reflect.get(e,t,k(e)?e:n);if((_(t)?vt.has(t):_t(t))||(r||D(e,`get`,t),i))return o;if(k(o)){let e=a&&te(t)?o:o.value;return r&&v(e)?Wt(e):e}return v(o)?r?Wt(o):Ht(o):o}},xt=class extends bt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&te(t);if(!this._isShallow){let e=Jt(i);if(!Yt(n)&&!Jt(n)&&(i=O(i),n=O(n)),!a&&k(i)&&!k(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,k(e)?e:r);return e===O(r)&&s&&(o?le(n,i)&&at(e,`set`,t,n,i):at(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&at(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!_(t)||!vt.has(t))&&D(e,`has`,t),n}ownKeys(e){return D(e,`iterate`,d(e)?`length`:nt),Reflect.ownKeys(e)}},St=class extends bt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Ct=new xt,wt=new St,Tt=new xt(!0),Et=new St(!0),Dt=e=>e,Ot=e=>Reflect.getPrototypeOf(e);function kt(e,t,n){return function(...r){let i=this.__v_raw,a=O(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?Dt:t?$t:Qt;return!t&&D(a,`iterate`,l?rt:nt),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function At(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function jt(e,t){let n={get(n){let r=this.__v_raw,i=O(r),a=O(n);e||(le(n,a)&&D(i,`get`,n),D(i,`get`,a));let{has:o}=Ot(i),s=t?Dt:e?$t:Qt;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&D(O(t),`iterate`,nt),t.size},has(t){let n=this.__v_raw,r=O(n),i=O(t);return e||(le(t,i)&&D(r,`has`,t),D(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=O(a),s=t?Dt:e?$t:Qt;return!e&&D(o,`iterate`,nt),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:At(`add`),set:At(`set`),delete:At(`delete`),clear:At(`clear`)}:{add(e){let n=O(this),r=Ot(n),i=O(e),a=!t&&!Yt(e)&&!Jt(e)?i:e;return r.has.call(n,a)||le(e,a)&&r.has.call(n,e)||le(i,a)&&r.has.call(n,i)||(n.add(a),at(n,`add`,a,a)),this},set(e,n){!t&&!Yt(n)&&!Jt(n)&&(n=O(n));let r=O(this),{has:i,get:a}=Ot(r),o=i.call(r,e);o||=(e=O(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?le(n,s)&&at(r,`set`,e,n,s):at(r,`add`,e,n),this},delete(e){let t=O(this),{has:n,get:r}=Ot(t),i=n.call(t,e);i||=(e=O(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&at(t,`delete`,e,void 0,a),o},clear(){let e=O(this),t=e.size!==0,n=e.clear();return t&&at(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=kt(r,e,t)}),n}function Mt(e,t){let n=jt(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(u(n,r)&&r in t?n:t,r,i)}var Nt={get:Mt(!1,!1)},Pt={get:Mt(!1,!0)},Ft={get:Mt(!0,!1)},It={get:Mt(!0,!0)},Lt=new WeakMap,Rt=new WeakMap,zt=new WeakMap,Bt=new WeakMap;function Vt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Ht(e){return Jt(e)?e:Kt(e,!1,Ct,Nt,Lt)}function Ut(e){return Kt(e,!1,Tt,Pt,Rt)}function Wt(e){return Kt(e,!0,wt,Ft,zt)}function Gt(e){return Kt(e,!0,Et,It,Bt)}function Kt(e,t,n,r,i){if(!v(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Vt(ee(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function qt(e){return Jt(e)?qt(e.__v_raw):!!(e&&e.__v_isReactive)}function Jt(e){return!!(e&&e.__v_isReadonly)}function Yt(e){return!!(e&&e.__v_isShallow)}function Xt(e){return e?!!e.__v_raw:!1}function O(e){let t=e&&e.__v_raw;return t?O(t):e}function Zt(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&w(e,`__v_skip`,!0),e}var Qt=e=>v(e)?Ht(e):e,$t=e=>v(e)?Wt(e):e;function k(e){return e?e.__v_isRef===!0:!1}function en(e){return tn(e,!1)}function tn(e,t){return k(e)?e:new nn(e,t)}var nn=class{constructor(e,t){this.dep=new $e,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:O(e),this._value=t?e:Qt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||Yt(e)||Jt(e);e=n?e:O(e),le(e,t)&&(this._rawValue=e,this._value=n?e:Qt(e),this.dep.trigger())}};function rn(e){return k(e)?e.value:e}var an={get:(e,t,n)=>t===`__v_raw`?e:rn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return k(i)&&!k(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function on(e){return qt(e)?e:new Proxy(e,an)}function sn(e){let t=d(e)?Array(e.length):{};for(let n in e)t[n]=ln(e,n);return t}var cn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=_(t)?t:String(t),this._raw=O(e);let r=!0,i=e;if(!d(e)||_(this._key)||!te(this._key))do r=!Xt(i)||Yt(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=rn(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&k(this._raw[this._key])){let t=this._object[this._key];if(k(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return ot(this._raw,this._key)}};function ln(e,t,n){return new cn(e,t,n)}var un=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new $e(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ze-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&E!==this)return Le(this,!0),!0}get value(){let e=this.dep.track();return Ue(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function dn(e,t,n=!1){let r,i;return h(e)?r=e:(r=e.get,i=e.set),new un(r,i,n)}var fn={},pn=new WeakMap,mn=void 0;function hn(e,t=!1,n=mn){if(n){let t=pn.get(n);t||pn.set(n,t=[]),t.push(e)}}function gn(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:Yt(e)||o===!1||o===0?_n(e,1):_n(e),m,g,_,v,y=!1,b=!1;if(k(e)?(g=()=>e.value,y=Yt(e)):qt(e)?(g=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>qt(e)||Yt(e)),g=()=>e.map(e=>{if(k(e))return e.value;if(qt(e))return p(e);if(h(e))return f?f(e,2):e()})):g=h(e)?n?f?()=>f(e,2):e:()=>{if(_){Je();try{_()}finally{Ye()}}let t=mn;mn=m;try{return f?f(e,3,[v]):e(v)}finally{mn=t}}:r,n&&o){let e=g,t=o===!0?1/0:o;g=()=>_n(e(),t)}let x=Ae(),ee=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{let n=e(...t);return ee(),n}}let S=b?Array(e.length).fill(fn):fn,te=e=>{if(!(!(m.flags&1)||!m.dirty&&!e)){if(n){let t=m.run();if(e||o||y||(b?t.some((e,t)=>le(e,S[t])):le(t,S))){_&&_();let e=mn;mn=m;try{let e=[t,S===fn?void 0:b&&S[0]===fn?[]:S,v];S=t,f?f(n,3,e):n(...e)}finally{mn=e}}}else m.run()}};return u&&u(te),m=new Ne(g),m.scheduler=l?()=>l(te,!1):te,v=e=>hn(e,!1,m),_=m.onStop=()=>{let e=pn.get(m);if(e){if(f)f(e,4);else for(let t of e)t();pn.delete(m)}},n?a?te(!0):S=m.run():l?l(te.bind(null,!0),!0):m.run(),ee.pause=m.pause.bind(m),ee.resume=m.resume.bind(m),ee.stop=ee,ee}function _n(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,k(e))_n(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)_n(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{_n(e,t,n)});else if(S(e)){for(let r in e)_n(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&_n(e[r],t,n)}return e}function vn(e,t,n,r){try{return r?e(...r):e()}catch(e){bn(e,t,n)}}function yn(e,t,n,r){if(h(e)){let i=vn(e,t,n,r);return i&&y(i)&&i.catch(e=>{bn(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(yn(e[a],t,n,r));return i}}function bn(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){Je(),vn(o,null,10,[e,i,a]),Ye();return}}xn(e,r,a,i,s)}function xn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var A=[],Sn=-1,Cn=[],wn=null,Tn=0,En=Promise.resolve(),Dn=null;function On(e){let t=Dn||En;return e?t.then(this?e.bind(this):e):t}function kn(e){let t=Sn+1,n=A.length;for(;t<n;){let r=t+n>>>1,i=A[r],a=Fn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function An(e){if(!(e.flags&1)){let t=Fn(e),n=A[A.length-1];!n||!(e.flags&2)&&t>=Fn(n)?A.push(e):A.splice(kn(t),0,e),e.flags|=1,jn()}}function jn(){Dn||=En.then(In)}function Mn(e){if(!d(e))wn&&e.id===-1?wn.splice(Tn+1,0,e):e.flags&1||(Cn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Cn.push(e[t]);jn()}function Nn(e,t,n=Sn+1){for(;n<A.length;n++){let t=A[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;A.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function Pn(e){if(Cn.length){let e=[...new Set(Cn)].sort((e,t)=>Fn(e)-Fn(t));if(Cn.length=0,wn){for(let t=0;t<e.length;t++)wn.push(e[t]);return}for(wn=e,Tn=0;Tn<wn.length;Tn++){let e=wn[Tn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}wn=null,Tn=0}}var Fn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function In(e){try{for(Sn=0;Sn<A.length;Sn++){let e=A[Sn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),vn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Sn<A.length;Sn++){let e=A[Sn];e&&(e.flags&=-2)}Sn=-1,A.length=0,Pn(e),Dn=null,(A.length||Cn.length)&&In(e)}}var Ln=null,Rn=null;function zn(e){let t=Ln;return Ln=e,Rn=e&&e.type.__scopeId||null,t}function Bn(e,t=Ln,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&Ji(-1);let i=zn(t),a=Ui.length,o;try{o=e(...n)}finally{for(let e=Ui.length;e>a;e--)Ki();zn(i),r._d&&Ji(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Vn(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(Je(),yn(c,n,8,[e.el,s,e,t]),Ye())}}function Hn(e,t){if(N){let n=N.provides,r=N.parent&&N.parent.provides;r===n&&(n=N.provides=Object.create(r)),n[e]=t}}function Un(e,t,n=!1){let r=ha();if(r||Xr){let i=Xr?Xr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&h(t)?t.call(r&&r.proxy):t}}function Wn(){return!!(ha()||Xr)}var Gn=Symbol.for(`v-scx`),Kn=()=>Un(Gn);function qn(e,t,n){return Jn(e,t,n)}function Jn(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(xa){if(c===`sync`){let e=Kn();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=N;u.call=(e,t,n)=>yn(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{M(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():An(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=gn(e,n,u);return xa&&(f?f.push(h):d&&h()),h}function Yn(e,t,n){let r=this.proxy,i=g(e)?e.includes(`.`)?Xn(r,e):()=>r[e]:e.bind(r,r),a;h(t)?a=t:(a=t.handler,n=t);let o=va(this),s=Jn(i,a.bind(r),n);return o(),s}function Xn(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var Zn=Symbol(`_vte`),Qn=e=>e.__isTeleport,$n=Symbol(`_leaveCb`);function er(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==Vi){t=n;break}}return t}function tr(e){if(!ur(e))return Qn(e.type)&&e.children?er(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&h(n.default))return n.default()}}function nr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;nr(Qn(n.type)&&tr(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function rr(e,t){return h(e)?s({name:e.name},t,{setup:e}):e}function ir(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function ar(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var or=new WeakMap;function sr(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>sr(e,n&&(d(n)?n[t]:n),r,a,o));return}if(lr(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&sr(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?Aa(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,_=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=O(v),b=v===t?i:e=>!ar(_,e)&&u(y,e),x=(e,t)=>!(t&&ar(_,t));if(m!=null&&m!==p){if(cr(n),g(m))_[m]=null,b(m)&&(v[m]=null);else if(k(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(_[e.k]=null)}}if(h(p))vn(p,f,12,[l,_]);else{let t=g(p),n=k(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:_[p]:x(p)||!e.k?p.value:_[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)_[p]=[s],b(p)&&(v[p]=_[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(_[e.k]=t)}}else t?(_[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(_[e.k]=l))};if(l){let t=()=>{i(),or.delete(e)};t.id=-1,or.set(e,t),M(t,r)}else cr(e),i()}}}function cr(e){let t=or.get(e);t&&(t.flags|=8,or.delete(e))}pe().requestIdleCallback,pe().cancelIdleCallback;var lr=e=>!!e.type.__asyncLoader,ur=e=>e.type.__isKeepAlive;function dr(e,t){pr(e,`a`,t)}function fr(e,t){pr(e,`da`,t)}function pr(e,t,n=N){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(hr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)ur(e.parent.vnode)&&mr(r,t,n,e),e=e.parent}}function mr(e,t,n,r){let i=hr(t,e,r,!0);Sr(()=>{c(r[t],i)},n)}function hr(e,t,n=N,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Je();let i=va(n),a=yn(t,n,e,r);return i(),Ye(),a};return r?i.unshift(a):i.push(a),a}}var gr=e=>(t,n=N)=>{(!xa||e===`sp`)&&hr(e,(...e)=>t(...e),n)},_r=gr(`bm`),vr=gr(`m`),yr=gr(`bu`),br=gr(`u`),xr=gr(`bum`),Sr=gr(`um`),Cr=gr(`sp`),wr=gr(`rtg`),Tr=gr(`rtc`);function Er(e,t=N){hr(`ec`,e,t)}var Dr=Symbol.for(`v-ndc`),Or=e=>e?ba(e)?Aa(e):Or(e.parent):null,kr=s(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Or(e.parent),$root:e=>Or(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Rr(e),$forceUpdate:e=>e.f||=()=>{An(e.update)},$nextTick:e=>e.n||=On.bind(e.proxy),$watch:e=>Yn.bind(e)}),Ar=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),jr={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(Ar(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else Nr&&(s[n]=0)}let d=kr[n],f,p;if(d)return n===`$attrs`&&D(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return Ar(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||Ar(n,c)||u(o,c)||u(i,c)||u(kr,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function Mr(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}var Nr=!0;function Pr(e){let t=Rr(e),n=e.proxy,i=e.ctx;Nr=!1,t.beforeCreate&&Ir(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:g,updated:_,activated:y,deactivated:b,beforeDestroy:x,beforeUnmount:ee,destroyed:S,unmounted:te,render:ne,renderTracked:re,renderTriggered:ie,errorCaptured:C,serverPrefetch:ae,expose:oe,inheritAttrs:se,components:ce,directives:le,filters:ue}=t;if(u&&Fr(u,i,null),s)for(let e in s){let t=s[e];h(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);v(t)&&(e.data=Ht(t))}if(Nr=!0,o)for(let e in o){let t=o[e],a=Ma({get:h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):r,set:!h(t)&&h(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)Lr(c[e],i,n,e);if(l){let e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{Hn(t,e[t])})}f&&Ir(f,e,`c`);function w(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(w(_r,p),w(vr,m),w(yr,g),w(br,_),w(dr,y),w(fr,b),w(Er,C),w(Tr,re),w(wr,ie),w(xr,ee),w(Sr,te),w(Cr,ae),d(oe)){if(oe.length){let t=e.exposed||={};oe.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}ne&&e.render===r&&(e.render=ne),se!=null&&(e.inheritAttrs=se),ce&&(e.components=ce),le&&(e.directives=le),ae&&ir(e)}function Fr(e,t,n=r){d(e)&&(e=Ur(e));for(let n in e){let r=e[n],i;i=v(r)?`default`in r?Un(r.from||n,r.default,!0):Un(r.from||n):Un(r),k(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Ir(e,t,n){yn(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lr(e,t,n,r){let i=r.includes(`.`)?Xn(n,r):()=>n[r];if(g(e)){let n=t[e];h(n)&&qn(i,n)}else if(h(e))qn(i,e.bind(n));else if(v(e)){if(d(e))e.forEach(e=>Lr(e,t,n,r));else{let r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&qn(i,r,e)}}}function Rr(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>zr(c,e,o,!0)),zr(c,t,o)),v(t)&&a.set(t,c),c}function zr(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&zr(e,a,n,!0),i&&i.forEach(t=>zr(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Br[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Br={data:Vr,props:Gr,emits:Gr,methods:Wr,computed:Wr,beforeCreate:j,created:j,beforeMount:j,mounted:j,beforeUpdate:j,updated:j,beforeDestroy:j,beforeUnmount:j,destroyed:j,unmounted:j,activated:j,deactivated:j,errorCaptured:j,serverPrefetch:j,components:Wr,directives:Wr,watch:Kr,provide:Vr,inject:Hr};function Vr(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function Hr(e,t){return Wr(Ur(e),Ur(t))}function Ur(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function j(e,t){return e?[...new Set([].concat(e,t))]:t}function Wr(e,t){return e?s(Object.create(null),e,t):t}function Gr(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),Mr(e),Mr(t??{})):t}function Kr(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=j(e[r],t[r]);return n}function qr(){return{app:null,config:{isNativeTag:i,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var Jr=0;function Yr(e,t){return function(n,r=null){h(n)||(n=s({},n)),r!=null&&!v(r)&&(r=null);let i=qr(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:Jr++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Na,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&h(e.install)?(a.add(e),e.install(l,...t)):h(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||na(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,Aa(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(yn(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=Xr;Xr=l;try{return e()}finally{Xr=t}}};return l}}var Xr=null,Zr=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${C(t)}Modifiers`]||e[`${oe(t)}Modifiers`];function Qr(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&Zr(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>g(e)?e.trim():e)),s.number&&(a=r.map(de)));let c,l=i[c=ce(n)]||i[c=ce(C(n))];!l&&o&&(l=i[c=ce(oe(n))]),l&&yn(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,yn(u,e,6,a)}}var $r=new WeakMap;function ei(e,t,n=!1){let r=n?$r:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!h(e)){let r=e=>{let n=ei(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(v(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),v(e)&&r.set(e,o),o)}function ti(e,t){return!e||!a(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,oe(t))||u(e,t))}function ni(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=zn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=sa(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=sa(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:ri(c)}}catch(t){Ui.length=0,bn(t,e,1),v=na(Vi)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=ii(y,a)),b=aa(b,y,!1,!0))}return n.dirs&&(b=aa(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&nr(Qn(b.type)&&tr(b)||b,n.transition),v=b,zn(_),v}var ri=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},ii=(e,t)=>{let n={};for(let r in e)(!o(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ai(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?oi(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(si(o,r,n)&&!ti(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||oi(r,o,l):!!o;return!1}function oi(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(si(t,e,a)&&!ti(n,a))return!0}return!1}function si(e,t,n){let r=e[n],i=t[n];return n===`style`&&v(r)&&v(i)?!we(r,i):r!==i}function ci({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var li={},ui=()=>Object.create(li),di=e=>Object.getPrototypeOf(e)===li;function fi(e,t,n,r=!1){let i={},a=ui();e.propsDefaults=Object.create(null),mi(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:Ut(i):e.type.props?i:a,e.attrs=a}function pi(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=O(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(ti(e.emitsOptions,o))continue;let d=t[o];if(c){if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=C(o);i[t]=hi(c,s,t,d,e,!1)}}else d!==a[o]&&(a[o]=d,l=!0)}}}else{mi(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!u(t,a)&&((r=oe(a))===a||!u(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=hi(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!u(t,e))&&(delete a[e],l=!0)}l&&at(e.attrs,`set`,``)}function mi(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(ne(t))continue;let l=n[t],d;a&&u(a,d=C(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:ti(e.emitsOptions,t)||(!(t in i)||l!==i[t])&&(i[t]=l,s=!0)}if(o){let n=O(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=hi(a,n,s,i[s],e,!u(i,s))}}return s}function hi(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&h(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=va(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===oe(n))&&(r=!0))}return r}var gi=new WeakMap;function _i(e,r,i=!1){let a=i?gi:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!h(e)){let t=e=>{p=!0;let[t,n]=_i(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return v(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=C(c[e]);vi(n)&&(l[n]=t)}else if(c)for(let e in c){let t=C(e);if(vi(t)){let n=c[e],r=l[t]=d(n)||h(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=h(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=h(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return v(e)&&a.set(e,m),m}function vi(e){return e[0]!==`$`&&!ne(e)}var yi=e=>e===`_`||e===`_ctx`||e===`$stable`,bi=e=>d(e)?e.map(sa):[sa(e)],xi=(e,t,n)=>{if(t._n)return t;let r=Bn((...e)=>bi(t(...e)),n);return r._c=!1,r},Si=(e,t,n)=>{let r=e._ctx;for(let n in e){if(yi(n))continue;let i=e[n];if(h(i))t[n]=xi(n,i,r);else if(i!=null){let e=bi(i);t[n]=()=>e}}},Ci=(e,t)=>{let n=bi(t);e.slots.default=()=>n},wi=(e,t,n)=>{for(let r in t)(n||!yi(r))&&(e[r]=t[r])},Ti=(e,t,n)=>{let r=e.slots=ui();if(e.vnode.shapeFlag&32){let e=t._;e?(wi(r,t,n),n&&w(r,`_`,e,!0)):Si(t,r)}else t&&Ci(e,t)},Ei=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:wi(a,n,r):(o=!n.$stable,Si(n,a)),s=n}else n&&(Ci(e,n),s={default:1});if(o)for(let e in a)!yi(e)&&s[e]==null&&delete a[e]},M=Ri;function Di(e){return Oi(e)}function Oi(e,i){let a=pe();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=r,insertStaticContent:_}=e,v=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Qi(e,t)&&(r=we(e),ye(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case Bi:y(e,t,n,r);break;case Vi:b(e,t,n,r);break;case Hi:e??x(t,n,r,o);break;case zi:ce(e,t,n,r,i,a,o,s,c);break;default:d&1?te(e,t,n,r,i,a,o,s,c):d&6?le(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,De)}u!=null&&i?sr(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&sr(e.ref,null,a,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},ee=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},S=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},te=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)re(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ae(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},re=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&C(e.children,d,null,r,i,ki(e,a),s,u),_&&Vn(e,null,r,`created`),ie(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!ne(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&da(f,r,e)}_&&Vn(e,null,r,`beforeMount`);let v=ji(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&M(()=>{try{f&&da(f,r,e),v&&g.enter(d),_&&Vn(e,null,r,`mounted`)}finally{}},i)},ie=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Li(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;ie(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},C=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?ca(e[l]):sa(e[l]);v(null,c,t,n,r,i,a,o,s)}},ae=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&Ai(r,!1),(g=h.onVnodeBeforeUpdate)&&da(g,r,n,e),f&&Vn(n,e,r,`beforeUpdate`),r&&Ai(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?oe(e.dynamicChildren,d,l,r,i,ki(n,a),o):s||he(e,n,l,null,r,i,ki(n,a),o,!1),u>0){if(u&16)se(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else!s&&d==null&&se(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&M(()=>{g&&da(g,r,n,e),f&&Vn(n,e,r,`updated`)},i)},oe=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el&&(c.type===zi||!Qi(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},se=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!ne(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(ne(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},ce=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),C(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(oe(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&Mi(e,t,!0)):he(e,t,n,f,i,a,s,c,l)},le=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):w(t,n,r,i,a,o,c):de(e,t,c)},w=(e,t,n,r,i,a,o)=>{let s=e.component=ma(e,r,i);if(ur(e)&&(s.ctx.renderer=De),Sa(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,fe,o),!e.el){let r=s.subTree=na(Vi);b(null,r,t,n),e.placeholder=r.el}}else fe(s,e,t,n,i,a,o)},de=(e,t,n)=>{let r=t.component=e.component;if(ai(e,t,n)){if(r.asyncDep&&!r.asyncResolved){me(r,t,n);return}r.next=t,r.update()}else t.el=e.el,r.vnode=t},fe=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Pi(e);if(n){t&&(t.el=c.el,me(e,t,o)),n.asyncDep.then(()=>{M(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;Ai(e,!1),t?(t.el=c.el,me(e,t,o)):t=c,n&&ue(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&da(d,s,t,c),Ai(e,!0);let f=ni(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),we(p),e,i,a),t.el=f.el,u===null&&ci(e,f.el),r&&M(r,i),(d=t.props&&t.props.onVnodeUpdated)&&M(()=>da(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=lr(t);if(Ai(e,!1),l&&ue(l),!m&&(o=c&&c.onVnodeBeforeMount)&&da(o,d,t),Ai(e,!0),s&&T){let t=()=>{e.subTree=ni(e),T(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=ni(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&M(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;M(()=>da(o,d,e),i)}(t.shapeFlag&256||d&&lr(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&M(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Ne(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>An(u),Ai(e,!0),l()},me=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,pi(e,t.props,r,n),Ei(e,t.children,n),Je(),Nn(e),Ye()},he=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){_e(l,d,n,r,i,a,o,s,c);return}if(f&256){ge(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&Ce(l,i,a),d!==l&&p(n,d)):u&16?m&16?_e(l,d,n,r,i,a,o,s,c):Ce(l,i,a,!0):(u&8&&p(n,``),m&16&&C(d,n,r,i,a,o,s,c))},ge=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p;for(p=0;p<f;p++){let n=t[p]=l?ca(t[p]):sa(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?Ce(e,a,o,!0,!1,f):C(t,r,i,a,o,s,c,l,f)},_e=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?ca(t[u]):sa(t[u]);if(Qi(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?ca(t[p]):sa(t[p]);if(Qi(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?ca(t[u]):sa(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)ye(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?ca(t[u]):sa(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,ee=0,S=Array(b);for(u=0;u<b;u++)S[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){ye(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(S[_-h]===0&&Qi(n,t[_])){i=_;break}i===void 0?ye(n,a,o,!0):(S[i-h]=u+1,i>=ee?ee=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let te=x?Ni(S):n;for(_=te.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||Ii(f):i;S[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==te[_]?ve(n,r,p,2):_--)}}},ve=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){ve(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,De);return}if(c===zi){o(a,t,n);for(let e=0;e<u.length;e++)ve(u[e],t,n,r);o(e.anchor,t,n);return}if(c===Hi){ee(e,t,n);return}if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[$n]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),M(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[$n];a._isLeaving&&a[$n](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},ye=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if(d===-2&&(i=!1),s!=null&&(Je(),sr(s,null,n,e,!0),Ye()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!lr(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&da(_,t,e),u&6)Se(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Vn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,De,r):l&&!l.hasOnce&&(a!==zi||d>0&&d&64)?Ce(l,t,n,!1,!0):(a===zi&&d&384||!i&&u&16)&&Ce(c,t,n),r&&be(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&M(()=>{_&&da(_,t,e),h&&Vn(e,null,t,`unmounted`),v&&(e.el=null)},n)},be=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===zi){xe(n,r);return}if(t===Hi){S(e);return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},xe=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},Se=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Fi(c),Fi(l),r&&ue(r),i.stop(),a&&(a.flags|=8,ye(o,e,t,n)),s&&M(s,t),M(()=>{e.isUnmounted=!0},t)},Ce=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)ye(e[o],t,n,r,i)},we=e=>{if(e.shapeFlag&6)return we(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Zn];return n?h(n):t},Te=!1,Ee=(e,t,n)=>{let r;e==null?t._vnode&&(ye(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Te||=(Te=!0,Nn(r),Pn(),!1)},De={p:v,um:ye,m:ve,r:be,mt:w,mc:C,pc:he,pbc:oe,n:we,o:e},Oe,T;return i&&([Oe,T]=i(De)),{render:Ee,hydrate:Oe,createApp:Yr(Ee,Oe)}}function ki({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function Ai({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ji(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Mi(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=ca(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Mi(t,a)),a.type===Bi&&(a.patchFlag===-1&&(a=i[e]=ca(a)),a.el=t.el),a.type===Vi&&!a.el&&(a.el=t.el)}}function Ni(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function Pi(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pi(t)}function Fi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ii(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Ii(t.subTree):null}var Li=e=>e.__isSuspense;function Ri(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):Mn(e)}var zi=Symbol.for(`v-fgt`),Bi=Symbol.for(`v-txt`),Vi=Symbol.for(`v-cmt`),Hi=Symbol.for(`v-stc`),Ui=[],Wi=null;function Gi(e=!1){Ui.push(Wi=e?null:[])}function Ki(){Ui.pop(),Wi=Ui[Ui.length-1]||null}var qi=1;function Ji(e,t=!1){qi+=e,e<0&&Wi&&t&&(Wi.hasOnce=!0)}function Yi(e){return e.dynamicChildren=qi>0?Wi||n:null,Ki(),qi>0&&Wi&&Wi.push(e),e}function Xi(e,t,n,r,i,a){return Yi(ta(e,t,n,r,i,a,!0))}function Zi(e){return e?e.__v_isVNode===!0:!1}function Qi(e,t){return e.type===t.type&&e.key===t.key}var $i=({key:e})=>e??null,ea=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:g(e)||k(e)||h(e)?{i:Ln,r:e,k:t,f:!!n}:e);function ta(e,t=null,n=null,r=0,i=null,a=e===zi?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$i(t),ref:t&&ea(t),scopeId:Rn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ln};return s?(la(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),qi>0&&!o&&Wi&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&Wi.push(c),c}var na=ra;function ra(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Dr)&&(e=Vi),Zi(e)){let r=aa(e,t,!0);return n&&la(r,n),qi>0&&!a&&Wi&&(r.shapeFlag&6?Wi[Wi.indexOf(e)]=r:Wi.push(r)),r.patchFlag=-2,r}if(ja(e)&&(e=e.__vccOpts),t){t=ia(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=ye(e)),v(n)&&(Xt(n)&&!d(n)&&(n=s({},n)),t.style=me(n))}let o=g(e)?1:Li(e)?128:Qn(e)?64:v(e)?4:h(e)?2:0;return ta(e,t,n,r,i,o,a,!0)}function ia(e){return e?Xt(e)||di(e)?s({},e):e:null}function aa(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?ua(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&$i(l),ref:t&&t.ref?n&&a?d(a)?a.concat(ea(t)):[a,ea(t)]:ea(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==zi?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&aa(e.ssContent),ssFallback:e.ssFallback&&aa(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&nr(u,c.clone(u)),u}function oa(e=` `,t=0){return na(Bi,null,e,t)}function sa(e){return e==null||typeof e==`boolean`?na(Vi):d(e)?na(zi,null,e.slice()):Zi(e)?ca(e):na(Bi,null,String(e))}function ca(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:aa(e)}function la(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),la(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!di(t)?t._ctx=Ln:r===3&&Ln&&(Ln.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(h(t)){if(r&65){la(e,{default:t});return}t={default:t,_ctx:Ln},n=32}else t=String(t),r&64?(n=16,t=[oa(t)]):n=8;e.children=t,e.shapeFlag|=n}function ua(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=ye([t.class,r.class]));else if(e===`style`)t.style=me([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function da(e,t,n,r=null){yn(e,t,7,[n,r])}var fa=qr(),pa=0;function ma(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||fa,o={uid:pa++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ke(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:_i(i,a),emitsOptions:ei(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=n?n.root:o,o.emit=Qr.bind(null,o),e.ce&&e.ce(o),o}var N=null,ha=()=>N||Ln,ga,_a;{let e=pe(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};ga=t(`__VUE_INSTANCE_SETTERS__`,e=>N=e),_a=t(`__VUE_SSR_SETTERS__`,e=>xa=e)}var va=e=>{let t=N;return ga(e),e.scope.on(),()=>{e.scope.off(),ga(t)}},ya=()=>{N&&N.scope.off(),ga(null)};function ba(e){return e.vnode.shapeFlag&4}var xa=!1;function Sa(e,t=!1,n=!1){t&&_a(t);let{props:r,children:i}=e.vnode,a=ba(e);fi(e,r,a,t),Ti(e,i,n||t);let o=a?Ca(e,t):void 0;return t&&_a(!1),o}function Ca(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jr);let{setup:r}=n;if(r){Je();let n=e.setupContext=r.length>1?ka(e):null,i=va(e),a=vn(r,e,0,[e.props,n]),o=y(a);if(Ye(),i(),(o||e.sp)&&!lr(e)&&ir(e),o){if(a.then(ya,ya),t)return a.then(n=>{_a(!0);try{wa(e,n,t)}finally{_a(!1)}}).catch(t=>{bn(t,e,0)});e.asyncDep=a}else wa(e,a,t)}else Da(e,t)}function wa(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=on(t)),Da(e,n)}var Ta,Ea;function Da(e,t,n){let i=e.type;if(!e.render){if(!t&&Ta&&!i.render){let t=i.template||Rr(e).template;if(t){let{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:o}=i;i.render=Ta(t,s(s({isCustomElement:n,delimiters:a},r),o))}}e.render=i.render||r,Ea&&Ea(e)}{let t=va(e);Je();try{Pr(e)}finally{Ye(),t()}}}var Oa={get(e,t){return D(e,`get`,``),e[t]}};function ka(e){return{attrs:new Proxy(e.attrs,Oa),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Aa(e){return e.exposed?e.exposeProxy||=new Proxy(on(Zt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kr)return kr[n](e)},has(e,t){return t in e||t in kr}}):e.proxy}function ja(e){return h(e)&&`__vccOpts`in e}var Ma=(e,t)=>dn(e,t,xa),Na=`3.5.41`,Pa=void 0,Fa=typeof window<`u`&&window.trustedTypes;if(Fa)try{Pa=Fa.createPolicy(`vue`,{createHTML:e=>e})}catch{}var Ia=Pa?e=>Pa.createHTML(e):e=>e,La=`http://www.w3.org/2000/svg`,Ra=`http://www.w3.org/1998/Math/MathML`,za=typeof document<`u`?document:null,Ba=za&&za.createElement(`template`),Va={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?za.createElementNS(La,e):t===`mathml`?za.createElementNS(Ra,e):n?za.createElement(e,{is:n}):za.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>za.createTextNode(e),createComment:e=>za.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>za.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{Ba.innerHTML=Ia(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=Ba.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ha=Symbol(`_vtc`);function Ua(e,t,n){let r=e[Ha];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Wa=Symbol(`_vod`),Ga=Symbol(`_vsh`),Ka=Symbol(``),qa=/(?:^|;)\s*display\s*:/;function Ja(e,t,n){let r=e.style,i=g(n),a=!1;if(n&&!i){if(t){if(g(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Xa(r,t,``)}else for(let e in t)n[e]??Xa(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?Xa(r,i,``):eo(e,i,!g(t)&&t?t[i]:void 0,o)||Xa(r,i,o)}}else if(i){if(t!==n){let e=r[Ka];e&&(n+=`;`+e),r.cssText=n,a=qa.test(n)}}else t&&e.removeAttribute(`style`);Wa in e&&(e[Wa]=a?r.display:``,e[Ga]&&(r.display=`none`))}var Ya=/\s*!important$/;function Xa(e,t,n){if(d(n))n.forEach(n=>Xa(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=$a(e,t);Ya.test(n)?e.setProperty(oe(r),n.replace(Ya,``),`important`):e[r]=n}}var Za=[`Webkit`,`Moz`,`ms`],Qa={};function $a(e,t){let n=Qa[t];if(n)return n;let r=C(t);if(r!==`filter`&&r in e)return Qa[t]=r;r=se(r);for(let n=0;n<Za.length;n++){let i=Za[n]+r;if(i in e)return Qa[t]=i}return t}function eo(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&g(r)&&n===r}var to=`http://www.w3.org/1999/xlink`;function no(e,t,n,r,i,a=xe(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(to,t.slice(6,t.length)):e.setAttributeNS(to,t,n):n==null||a&&!Se(n)?e.removeAttribute(t):e.setAttribute(t,a?``:_(n)?String(n):n)}function ro(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?Ia(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=Se(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function io(e,t,n,r){e.addEventListener(t,n,r)}function ao(e,t,n,r){e.removeEventListener(t,n,r)}var oo=Symbol(`_vei`);function so(e,t,n,r,i=null){let a=e[oo]||(e[oo]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=uo(t);r?io(e,n,a[t]=ho(r,i),s):o&&(ao(e,n,o,s),a[t]=void 0)}}var co=/(Once|Passive|Capture)$/,lo=/^on:?(?:Once|Passive|Capture)$/;function uo(e){let t,n;for(;(n=e.match(co))&&!lo.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):oe(e.slice(2)),t]}var fo=0,po=Promise.resolve(),mo=()=>fo||=(po.then(()=>fo=0),Date.now());function ho(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(d(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&yn(e,t,5,a)}}else yn(r,t,5,[e])};return n.value=e,n.attached=mo(),n}var go=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_o=(e,t,n,r,i,s)=>{let c=i===`svg`;t===`class`?Ua(e,r,c):t===`style`?Ja(e,n,r):a(t)?o(t)||so(e,t,n,r,s):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):vo(e,t,r,c))?(ro(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&no(e,t,r,c,s,t!==`value`)):e._isVueCE&&(yo(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!g(r)))?ro(e,C(t),r,s,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),no(e,t,r,c))};function vo(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&go(t)&&h(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return go(t)&&g(n)?!1:t in e}function yo(e,t){let n=e._def.props;if(!n)return!1;let r=C(t);return Array.isArray(n)?n.some(e=>C(e)===r):Object.keys(n).some(e=>C(e)===r)}var bo=s({patchProp:_o},Va),xo;function So(){return xo||=Di(bo)}var Co=((...e)=>{let t=So().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=To(e);if(!r)return;let i=t._component;!h(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,wo(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function wo(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function To(e){return g(e)?document.querySelector(e):e}var Eo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Do=new class extends Eo{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},Oo={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},ko=new class{#e=Oo;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function Ao(e){setTimeout(e,0)}var jo=typeof window>`u`||`Deno`in globalThis;function Mo(){}function No(e,t){return typeof e==`function`?e(t):e}function Po(e){return typeof e==`number`&&e>=0&&e!==1/0}function Fo(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Io(e,t){return typeof e==`function`?e(t):e}function Lo(e,t){return typeof e==`function`?e(t):e}function Ro(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==Bo(o,t.options))return!1}else if(!Ho(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function zo(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Vo(t.options.mutationKey)!==Vo(a))return!1}else if(!Ho(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Bo(e,t){return(t?.queryKeyHashFn||Vo)(e)}function Vo(e){return JSON.stringify(e,(e,t)=>qo(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function Ho(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(Array.isArray(e)&&Array.isArray(t)){for(let n=0;n<t.length;n++)if(!Ho(e[n],t[n]))return!1;return!0}let n=Object.keys(t);for(let r of n)if(!Ho(e[r],t[r]))return!1;return!0}return!1}var Uo=Object.prototype.hasOwnProperty;function Wo(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=Ko(e)&&Ko(t);if(!r&&!(qo(e)&&qo(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:Uo.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=Wo(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function Go(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function Ko(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function qo(e){if(!Jo(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!Jo(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function Jo(e){return Object.prototype.toString.call(e)===`[object Object]`}function Yo(e){return new Promise(t=>{ko.setTimeout(t,e)})}function Xo(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:Wo(e,t)}function Zo(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function Qo(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var $o=Symbol();function es(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===$o?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function ts(e,t){return typeof e==`function`?e(...t):!!e}function ns(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var rs=(()=>{let e=()=>jo;return{isServer(){return e()},setIsServer(t){e=t}}})();function is(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var as=Ao;function os(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=as,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var P=os(),ss=new class extends Eo{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function cs(e){return Math.min(1e3*2**e,3e4)}function ls(e){return(e??`online`)!==`online`||ss.isOnline()}var us=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function ds(e){let t=!1,n=0,r,i=is(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new us(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>Do.isFocused()&&(e.networkMode===`always`||ss.isOnline())&&e.canRun(),u=()=>ls(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(rs.isServer()?0:3),o=e.retryDelay??cs,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),Yo(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var fs=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Po(this.gcTime)&&(this.#e=ko.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(rs.isServer()?1/0:3e5))}clearGcTimeout(){this.#e!==void 0&&(ko.clearTimeout(this.#e),this.#e=void 0)}};function ps(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{ns(e,()=>t.signal,()=>n=!0)},u=es(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?Qo:Zo;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?hs:ms,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:ms(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.fetchFn=t.options.persister?()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):l}}}function ms(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function hs(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var gs=class extends fs{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=ys(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=ys(this.options);e.data!==void 0&&(this.setState(vs(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=Xo(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(Mo).catch(Mo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Lo(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===$o||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>Io(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!Fo(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=es(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?ps(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=ds({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof us&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof us){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,..._s(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...vs(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),P.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function _s(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ls(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function vs(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function ys(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var bs=class extends Eo{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=is(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Ss(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Cs(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Cs(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof Lo(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!Go(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&ws(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||Lo(this.options.enabled,this.#t)!==Lo(t.enabled,this.#t)||Io(this.options.staleTime,this.#t)!==Io(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||Lo(this.options.enabled,this.#t)!==Lo(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return Es(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Mo)),t}#g(){this.#b();let e=Io(this.options.staleTime,this.#t);if(rs.isServer()||this.#r.isStale||!Po(e))return;let t=Fo(this.#r.dataUpdatedAt,e)+1;this.#d=ko.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(rs.isServer()||Lo(this.options.enabled,this.#t)===!1||!Po(this.#p)||this.#p===0)&&(this.#f=ko.setInterval(()=>{(this.options.refetchIntervalInBackground||Do.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(ko.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(ko.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Ss(e,t),o=i&&ws(e,n,t,r);(a||o)&&(l={...l,..._s(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(m=`success`,d=Xo(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h){if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=Xo(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}}this.#s&&(f=this.#s,d=this.#l,p=Date.now(),m=`error`);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:Ts(e,t),refetch:this.refetch,promise:this.#o,isEnabled:Lo(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=x.data!==void 0,r=x.status===`error`&&!t,i=e=>{r?e.reject(x.error):t&&e.resolve(x.data)},a=()=>{let e=this.#o=x.promise=is();i(e)},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||x.data!==o.value)&&a();break;case`rejected`:(!r||x.error!==o.reason)&&a()}}return x}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!Go(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){P.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function xs(e,t){return Lo(t.enabled,e)!==!1&&e.state.data===void 0&&(e.state.status!==`error`||Lo(t.retryOnMount,e)!==!1)}function Ss(e,t){return xs(e,t)||e.state.data!==void 0&&Cs(e,t,t.refetchOnMount)}function Cs(e,t,n){if(Lo(t.enabled,e)!==!1&&Io(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&Ts(e,t)}return!1}function ws(e,t,n,r){return(e!==t||Lo(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&Ts(e,n)}function Ts(e,t){return Lo(t.enabled,e)!==!1&&e.isStaleByTime(Io(t.staleTime,e))}function Es(e,t){return!Go(e.getCurrentResult(),t)}var Ds=class extends fs{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Os(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=ds({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),P.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Os(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var ks=class extends Eo{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Ds({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=As(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=As(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=As(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=As(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){P.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>zo(t,e))}findAll(e={}){return this.getAll().filter(t=>zo(e,t))}notify(e){P.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return P.batch(()=>Promise.all(e.map(e=>e.continue().catch(Mo))))}};function As(e){return e.options.scope?.id}var js=class extends Eo{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??Bo(r,t),a=this.get(i);return a||(a=new gs({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){P.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Ro(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>Ro(e,t)):t}notify(e){P.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){P.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){P.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Ms=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new js,this.#t=e.mutationCache||new ks,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=Do.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=ss.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Io(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=No(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return P.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;P.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return P.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=P.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(Mo).catch(Mo)}invalidateQueries(e,t={}){return P.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=P.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(Mo)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(Mo)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(Io(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Mo).catch(Mo)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Mo).catch(Mo)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return ss.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Vo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{Ho(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(Vo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{Ho(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=Bo(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===$o&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Ns=`VUE_QUERY_CLIENT`;function Ps(e){return`${Ns}${e?`:${e}`:``}`}function Fs(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Is(e,t,n=``,r=0){if(t){let i=t(e,n,r);if(i===void 0&&k(e)||i!==void 0)return i}if(Array.isArray(e))return e.map((e,n)=>Is(e,t,String(n),r+1));if(typeof e==`object`&&Rs(e)){let n=Object.entries(e).map(([e,n])=>[e,Is(n,t,e,r+1)]);return Object.fromEntries(n)}return e}function Ls(e,t){return Is(e,t)}function F(e,t=!1){return Ls(e,(e,n,r)=>{if(r===1&&n===`queryKey`)return F(e,!0);if(t&&zs(e))return F(e(),t);if(k(e))return F(rn(e),t)})}function Rs(e){if(Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function zs(e){return typeof e==`function`}function Bs(e=``){if(!Wn())throw Error(`vue-query hooks can only be used inside setup() function or functions that support injection context.`);let t=Un(Ps(e));if(!t)throw Error(`No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.`);return t}var Vs=class extends js{find(e){return super.find(F(e))}findAll(e={}){return super.findAll(F(e))}},Hs=class extends ks{find(e){return super.find(F(e))}findAll(e={}){return super.findAll(F(e))}},Us=class extends Ms{constructor(e={}){let t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new Vs,mutationCache:e.mutationCache||new Hs};super(t),this.isRestoring=en(!1)}isFetching(e={}){return super.isFetching(F(e))}isMutating(e={}){return super.isMutating(F(e))}getQueryData(e){return super.getQueryData(F(e))}ensureQueryData(e){return super.ensureQueryData(F(e))}getQueriesData(e){return super.getQueriesData(F(e))}setQueryData(e,t,n={}){return super.setQueryData(F(e),t,F(n))}setQueriesData(e,t,n={}){return super.setQueriesData(F(e),t,F(n))}getQueryState(e){return super.getQueryState(F(e))}removeQueries(e={}){return super.removeQueries(F(e))}resetQueries(e={},t={}){return super.resetQueries(F(e),F(t))}cancelQueries(e={},t={}){return super.cancelQueries(F(e),F(t))}invalidateQueries(e={},t={}){let n=F(e),r=F(t);if(super.invalidateQueries({...n,refetchType:`none`},r),n.refetchType===`none`)return Promise.resolve();let i={...n,type:n.refetchType??n.type??`active`};return On().then(()=>super.refetchQueries(i,r))}refetchQueries(e={},t={}){return super.refetchQueries(F(e),F(t))}fetchQuery(e){return super.fetchQuery(F(e))}prefetchQuery(e){return super.prefetchQuery(F(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(F(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(F(e))}setDefaultOptions(e){super.setDefaultOptions(F(e))}setQueryDefaults(e,t){super.setQueryDefaults(F(e),F(t))}getQueryDefaults(e){return super.getQueryDefaults(F(e))}setMutationDefaults(e,t){super.setMutationDefaults(F(e),F(t))}getMutationDefaults(e){return super.getMutationDefaults(F(e))}},Ws={install:(e,t={})=>{let n=Ps(t.queryClientKey),r;r=`queryClient`in t&&t.queryClient?t.queryClient:new Us(`queryClientConfig`in t?t.queryClientConfig:void 0),rs.isServer()||r.mount();let i=()=>{};if(t.clientPersister){r.isRestoring&&(r.isRestoring.value=!0);let[e,n]=t.clientPersister(r);i=e,n.then(()=>{r.isRestoring&&(r.isRestoring.value=!1),t.clientPersisterOnSuccess?.(r)})}let a=()=>{r.unmount(),i()};if(e.onUnmount)e.onUnmount(a);else{let t=e.unmount;e.unmount=function(){a(),t()}}e.provide(n,r)}};function Gs(e,t,n){let r=n||Bs(),i=Ma(()=>{let e=t;typeof e==`function`&&(e=e());let n=F(e);typeof n.enabled==`function`&&(n.enabled=n.enabled());let i=r.defaultQueryOptions(n);return i._optimisticResults=r.isRestoring?.value?`isRestoring`:`optimistic`,i}),a=new e(r,i.value),o=i.value.shallow?Ut(a.getCurrentResult()):Ht(a.getCurrentResult()),s=()=>{};r.isRestoring&&qn(r.isRestoring,e=>{e||(s(),s=a.subscribe(e=>{Fs(o,e)}))},{immediate:!0});let c=()=>{a.setOptions(i.value),Fs(o,a.getCurrentResult())};qn(i,c),je(()=>{s()});let l=(...e)=>(c(),o.refetch(...e)),u=()=>new Promise((e,t)=>{let n=()=>{},r=()=>{if(i.value.enabled!==!1){a.setOptions(i.value);let r=a.getOptimisticResult(i.value);r.isStale?(n(),a.fetchOptimistic(i.value).then(e,n=>{ts(i.value.throwOnError,[n,a.getCurrentQuery()])?t(n):e(a.getCurrentResult())})):(n(),e(r))}};r(),n=qn(i,r)});qn(()=>o.error,e=>{if(o.isError&&!o.isFetching&&ts(i.value.throwOnError,[e,a.getCurrentQuery()]))throw e});let d=sn(i.value.shallow?Gt(o):Wt(o));for(let e in o)typeof o[e]==`function`&&(d[e]=o[e]);return d.suspense=u,d.refetch=l,d}function Ks(e,t){return Gs(bs,e,t)}var qs;function I(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,"name",{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}var Js=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},Ys=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(qs=globalThis).__zod_globalConfig??(qs.__zod_globalConfig={});var Xs=globalThis.__zod_globalConfig;function Zs(e){return e&&Object.assign(Xs,e),Xs}function Qs(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function $s(e,t){return typeof t==`bigint`?t.toString():t}function ec(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function tc(e){return e==null}function nc(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function rc(e,t){let n=e/t,r=Math.round(n),i=2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}var ic=Symbol(`evaluating`);function L(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==ic)return r===void 0&&(r=ic,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function ac(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function oc(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function sc(e){return JSON.stringify(e)}function cc(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var lc=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function uc(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var dc=ec(()=>{if(Xs.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function fc(e){if(uc(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return uc(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function pc(e){return fc(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var mc=new Set([`string`,`number`,`symbol`]);function hc(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function gc(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function R(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function _c(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}var vc={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function yc(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return gc(e,oc(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return ac(this,`shape`,e),e},checks:[]}))}function bc(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return gc(e,oc(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return ac(this,`shape`,r),r},checks:[]}))}function xc(e,t){if(!fc(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return gc(e,oc(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return ac(this,`shape`,n),n}}))}function Sc(e,t){if(!fc(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return gc(e,oc(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return ac(this,`shape`,n),n}}))}function Cc(e,t){if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);return gc(e,oc(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return ac(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function wc(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return gc(t,oc(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return ac(this,`shape`,i),i},checks:[]}))}function Tc(e,t,n){return gc(t,oc(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return ac(this,`shape`,i),i}}))}function Ec(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Dc(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Oc(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function kc(e){return typeof e==`string`?e:e?.message}function Ac(e,t,n){let r=e.message?e.message:kc(e.inst?._zod.def?.error?.(e))??kc(t?.error?.(e))??kc(n.customError?.(e))??kc(n.localeError?.(e))??`Invalid input`,{inst:i,continue:a,input:o,...s}=e;return s.path??=[],s.message=r,t?.reportInput&&(s.input=o),s}function jc(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function Mc(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var Nc=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,$s,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Pc=I(`$ZodError`,Nc),Fc=I(`$ZodError`,Nc,{Parent:Error});function Ic(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function Lc(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i];i===e.length-1?(r[n]=r[n]||{_errors:[]},r[n]._errors.push(t(a))):r[n]=r[n]||{_errors:[]},r=r[n],i++}}}};return r(e),n}var Rc=e=>(t,n,r,i)=>{let a=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new Js;if(o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>Ac(e,a,Zs())));throw lc(t,i?.callee),t}return o.value},zc=e=>async(t,n,r,i)=>{let a=r?{...r,async:!0}:{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>Ac(e,a,Zs())));throw lc(t,i?.callee),t}return o.value},Bc=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new Js;return a.issues.length?{success:!1,error:new(e??Pc)(a.issues.map(e=>Ac(e,i,Zs())))}:{success:!0,data:a.value}},Vc=Bc(Fc),Hc=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>Ac(e,i,Zs())))}:{success:!0,data:a.value}},Uc=Hc(Fc),Wc=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return Rc(e)(t,n,i)},Gc=e=>(t,n,r)=>Rc(e)(t,n,r),Kc=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return zc(e)(t,n,i)},qc=e=>async(t,n,r)=>zc(e)(t,n,r),Jc=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return Bc(e)(t,n,i)},Yc=e=>(t,n,r)=>Bc(e)(t,n,r),Xc=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return Hc(e)(t,n,i)},Zc=e=>async(t,n,r)=>Hc(e)(t,n,r),Qc=/^[cC][0-9a-z]{6,}$/,$c=/^[0-9a-z]+$/,el=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,tl=/^[0-9a-vA-V]{20}$/,nl=/^[A-Za-z0-9]{27}$/,rl=/^[a-zA-Z0-9_-]{21}$/,il=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,al=/^([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})$/,ol=e=>e?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)$/,sl=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,cl=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function ll(){return new RegExp(cl,`u`)}var ul=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,dl=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,fl=/^((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])$/,pl=/^(([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])$/,ml=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,hl=/^[A-Za-z0-9_-]*$/,gl=/^https?$/,_l=/^\+[1-9]\d{6,14}$/,vl=`(?:(?:\\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])))`,yl=RegExp(`^${vl}$`);function bl(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function xl(e){return RegExp(`^${bl(e)}$`)}function Sl(e){let t=bl({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${vl}T(?:${r})$`)}var Cl=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},wl=/^-?\d+$/,Tl=/^-?\d+(?:\.\d+)?$/,El=/^(?:true|false)$/i,Dl=/^null$/i,Ol=/^[^A-Z]*$/,kl=/^[^a-z]*$/,z=I(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Al={number:`number`,bigint:`bigint`,object:`date`},jl=I(`$ZodCheckLessThan`,(e,t)=>{z.init(e,t);let n=Al[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Ml=I(`$ZodCheckGreaterThan`,(e,t)=>{z.init(e,t);let n=Al[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Nl=I(`$ZodCheckMultipleOf`,(e,t)=>{z.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):rc(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Pl=I(`$ZodCheckNumberFormat`,(e,t)=>{z.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=vc[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=wl)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),Fl=I(`$ZodCheckMaxLength`,(e,t)=>{var n;z.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!tc(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=jc(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Il=I(`$ZodCheckMinLength`,(e,t)=>{var n;z.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!tc(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=jc(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Ll=I(`$ZodCheckLengthEquals`,(e,t)=>{var n;z.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!tc(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=jc(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Rl=I(`$ZodCheckStringFormat`,(e,t)=>{var n,r;z.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),zl=I(`$ZodCheckRegex`,(e,t)=>{Rl.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Bl=I(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=Ol,Rl.init(e,t)}),Vl=I(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=kl,Rl.init(e,t)}),Hl=I(`$ZodCheckIncludes`,(e,t)=>{z.init(e,t);let n=hc(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),Ul=I(`$ZodCheckStartsWith`,(e,t)=>{z.init(e,t);let n=RegExp(`^${hc(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Wl=I(`$ZodCheckEndsWith`,(e,t)=>{z.init(e,t);let n=RegExp(`.*${hc(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Gl=I(`$ZodCheckOverwrite`,(e,t)=>{z.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),Kl=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
|
|
2
|
+
`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(`
|
|
3
|
+
`))}},ql={major:4,minor:4,patch:3},B=I(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=ql;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=Ec(e),i;for(let a of t){if(a._zod.def.when){if(Dc(e)||!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new Js;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=Ec(e,t))});else{if(e.issues.length===t)continue;r||=Ec(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(Ec(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new Js;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new Js;return o.then(e=>t(e,r,a))}return t(o,r,a)}}L(e,`~standard`,()=>({validate:t=>{try{let n=Vc(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return Uc(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),Jl=I(`$ZodString`,(e,t)=>{B.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Cl(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),V=I(`$ZodStringFormat`,(e,t)=>{Rl.init(e,t),Jl.init(e,t)}),Yl=I(`$ZodGUID`,(e,t)=>{t.pattern??=al,V.init(e,t)}),Xl=I(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=ol(e)}else t.pattern??=ol();V.init(e,t)}),Zl=I(`$ZodEmail`,(e,t)=>{t.pattern??=sl,V.init(e,t)}),Ql=I(`$ZodURL`,(e,t)=>{V.init(e,t),e._zod.check=n=>{try{let r=n.value.trim();if(!t.normalize&&t.protocol?.source===gl.source&&!/^https?:\/\//i.test(r)){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}let i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),n.value=t.normalize?i.href:r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),$l=I(`$ZodEmoji`,(e,t)=>{t.pattern??=ll(),V.init(e,t)}),eu=I(`$ZodNanoID`,(e,t)=>{t.pattern??=rl,V.init(e,t)}),tu=I(`$ZodCUID`,(e,t)=>{t.pattern??=Qc,V.init(e,t)}),nu=I(`$ZodCUID2`,(e,t)=>{t.pattern??=$c,V.init(e,t)}),ru=I(`$ZodULID`,(e,t)=>{t.pattern??=el,V.init(e,t)}),iu=I(`$ZodXID`,(e,t)=>{t.pattern??=tl,V.init(e,t)}),au=I(`$ZodKSUID`,(e,t)=>{t.pattern??=nl,V.init(e,t)}),ou=I(`$ZodISODateTime`,(e,t)=>{t.pattern??=Sl(t),V.init(e,t)}),su=I(`$ZodISODate`,(e,t)=>{t.pattern??=yl,V.init(e,t)}),cu=I(`$ZodISOTime`,(e,t)=>{t.pattern??=xl(t),V.init(e,t)}),lu=I(`$ZodISODuration`,(e,t)=>{t.pattern??=il,V.init(e,t)}),uu=I(`$ZodIPv4`,(e,t)=>{t.pattern??=ul,V.init(e,t),e._zod.bag.format=`ipv4`}),du=I(`$ZodIPv6`,(e,t)=>{t.pattern??=dl,V.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),fu=I(`$ZodCIDRv4`,(e,t)=>{t.pattern??=fl,V.init(e,t)}),pu=I(`$ZodCIDRv6`,(e,t)=>{t.pattern??=pl,V.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function mu(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var hu=I(`$ZodBase64`,(e,t)=>{t.pattern??=ml,V.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{mu(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function gu(e){if(!hl.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return mu(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var _u=I(`$ZodBase64URL`,(e,t)=>{t.pattern??=hl,V.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{gu(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),vu=I(`$ZodE164`,(e,t)=>{t.pattern??=_l,V.init(e,t)});function yu(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var bu=I(`$ZodJWT`,(e,t)=>{V.init(e,t),e._zod.check=n=>{yu(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),xu=I(`$ZodNumber`,(e,t)=>{B.init(e,t),e._zod.pattern=e._zod.bag.pattern??Tl,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),Su=I(`$ZodNumberFormat`,(e,t)=>{Pl.init(e,t),xu.init(e,t)}),Cu=I(`$ZodBoolean`,(e,t)=>{B.init(e,t),e._zod.pattern=El,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),wu=I(`$ZodNull`,(e,t)=>{B.init(e,t),e._zod.pattern=Dl,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),Tu=I(`$ZodUnknown`,(e,t)=>{B.init(e,t),e._zod.parse=e=>e}),Eu=I(`$ZodNever`,(e,t)=>{B.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function Du(e,t,n){e.issues.length&&t.issues.push(...Oc(n,e.issues)),t.value[n]=e.value}var Ou=I(`$ZodArray`,(e,t)=>{B.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>Du(t,n,e))):Du(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function ku(e,t,n,r,i,a){let o=n in r;if(e.issues.length){if(i&&a&&!o)return;t.issues.push(...Oc(n,e.issues))}if(!o&&!i){e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]});return}e.value===void 0?o&&(t.value[n]=void 0):t.value[n]=e.value}function Au(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=_c(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function ju(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optin===`optional`,d=c.optout===`optional`;for(let i in t){if(i===`__proto__`||s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>ku(e,n,i,t,u,d))):ku(a,n,i,t,u,d)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}var Mu=I(`$ZodObject`,(e,t)=>{if(B.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let n={...e};return Object.defineProperty(t,"shape",{value:n}),n}})}let n=ec(()=>Au(t));L(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=uc,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optin===`optional`,i=n._zod.optout===`optional`,a=n._zod.run({value:s[e],issues:[]},o);a instanceof Promise?c.push(a.then(n=>ku(n,t,e,s,r,i))):ku(a,t,e,s,r,i)}return i?ju(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),Nu=I(`$ZodObjectJIT`,(e,t)=>{Mu.init(e,t);let n=e._zod.parse,r=ec(()=>Au(t)),i=e=>{let t=new Kl([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=sc(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=sc(r),s=e[r],c=s?._zod?.optin===`optional`,l=s?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),c&&l?t.write(`
|
|
4
|
+
if (${n}.issues.length) {
|
|
5
|
+
if (${o} in input) {
|
|
6
|
+
payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
|
|
7
|
+
...iss,
|
|
8
|
+
path: iss.path ? [${o}, ...iss.path] : [${o}]
|
|
9
|
+
})));
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
if (${n}.value === undefined) {
|
|
14
|
+
if (${o} in input) {
|
|
15
|
+
newResult[${o}] = undefined;
|
|
16
|
+
}
|
|
17
|
+
} else {
|
|
18
|
+
newResult[${o}] = ${n}.value;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
`):c?t.write(`
|
|
22
|
+
if (${n}.issues.length) {
|
|
23
|
+
payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
|
|
24
|
+
...iss,
|
|
25
|
+
path: iss.path ? [${o}, ...iss.path] : [${o}]
|
|
26
|
+
})));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if (${n}.value === undefined) {
|
|
30
|
+
if (${o} in input) {
|
|
31
|
+
newResult[${o}] = undefined;
|
|
32
|
+
}
|
|
33
|
+
} else {
|
|
34
|
+
newResult[${o}] = ${n}.value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
`):t.write(`
|
|
38
|
+
const ${n}_present = ${o} in input;
|
|
39
|
+
if (${n}.issues.length) {
|
|
40
|
+
payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
|
|
41
|
+
...iss,
|
|
42
|
+
path: iss.path ? [${o}, ...iss.path] : [${o}]
|
|
43
|
+
})));
|
|
44
|
+
}
|
|
45
|
+
if (!${n}_present && !${n}.issues.length) {
|
|
46
|
+
payload.issues.push({
|
|
47
|
+
code: "invalid_type",
|
|
48
|
+
expected: "nonoptional",
|
|
49
|
+
input: undefined,
|
|
50
|
+
path: [${o}]
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (${n}_present) {
|
|
55
|
+
if (${n}.value === undefined) {
|
|
56
|
+
newResult[${o}] = undefined;
|
|
57
|
+
} else {
|
|
58
|
+
newResult[${o}] = ${n}.value;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
`)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=uc,s=!Xs.jitless,c=s&&dc.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?ju([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function Pu(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!Ec(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Ac(e,r,Zs())))}),t)}var Fu=I(`$ZodUnion`,(e,t)=>{B.init(e,t),L(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),L(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),L(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),L(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>nc(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>Pu(t,r,e,i)):Pu(o,r,e,i)}}),Iu=I(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,Fu.init(e,t);let n=e._zod.parse;L(e._zod,`propValues`,()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||Object.keys(r).length===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of n)e[t].add(r)}}return e});let r=ec(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||e.size===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{let o=i.value;if(!uc(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback||a.direction===`backward`?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,options:Array.from(r.value.keys()),input:o,path:[t.discriminator],inst:e}),i)}}),Lu=I(`$ZodIntersection`,(e,t)=>{B.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>zu(e,t,n)):zu(e,i,a)}});function Ru(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(fc(e)&&fc(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=Ru(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Ru(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function zu(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),Ec(e))return e;let o=Ru(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var Bu=I(`$ZodRecord`,(e,t)=>{B.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!fc(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let c of o)if(typeof c==`string`||typeof c==`number`||typeof c==`symbol`){s.add(typeof c==`number`?c.toString():c);let o=t.keyType._zod.run({value:c,issues:[]},r);if(o instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(o.issues.length){n.issues.push({code:`invalid_key`,origin:`record`,issues:o.issues.map(e=>Ac(e,r,Zs())),input:c,path:[c],inst:e});continue}let l=o.value,u=t.valueType._zod.run({value:i[c],issues:[]},r);u instanceof Promise?a.push(u.then(e=>{e.issues.length&&n.issues.push(...Oc(c,e.issues)),n.value[l]=e.value})):(u.issues.length&&n.issues.push(...Oc(c,u.issues)),n.value[l]=u.value)}let c;for(let e in i)s.has(e)||(c??=[],c.push(e));c&&c.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:c})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`||!Object.prototype.propertyIsEnumerable.call(i,o))continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof o==`string`&&Tl.test(o)&&s.issues.length){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(s=e)}if(s.issues.length){t.mode===`loose`?n.value[o]=i[o]:n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>Ac(e,r,Zs())),input:o,path:[o],inst:e});continue}let c=t.valueType._zod.run({value:i[o],issues:[]},r);c instanceof Promise?a.push(c.then(e=>{e.issues.length&&n.issues.push(...Oc(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...Oc(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),Vu=I(`$ZodEnum`,(e,t)=>{B.init(e,t);let n=Qs(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>mc.has(typeof e)).map(e=>typeof e==`string`?hc(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),Hu=I(`$ZodLiteral`,(e,t)=>{if(B.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?hc(e):e?hc(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),Uu=I(`$ZodTransform`,(e,t)=>{B.init(e,t),e._zod.optin=`optional`,e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new Ys(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n.fallback=!0,n));if(i instanceof Promise)throw new Js;return n.value=i,n.fallback=!0,n}});function Wu(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}var Gu=I(`$ZodOptional`,(e,t)=>{B.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,L(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),L(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${nc(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=e.value,i=t.innerType._zod.run(e,n);return i instanceof Promise?i.then(e=>Wu(e,r)):Wu(i,r)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),Ku=I(`$ZodExactOptional`,(e,t)=>{Gu.init(e,t),L(e._zod,`values`,()=>t.innerType._zod.values),L(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),qu=I(`$ZodNullable`,(e,t)=>{B.init(e,t),L(e._zod,`optin`,()=>t.innerType._zod.optin),L(e._zod,`optout`,()=>t.innerType._zod.optout),L(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${nc(e.source)}|null)$`):void 0}),L(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),Ju=I(`$ZodDefault`,(e,t)=>{B.init(e,t),e._zod.optin=`optional`,L(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>Yu(e,t)):Yu(r,t)}});function Yu(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Xu=I(`$ZodPrefault`,(e,t)=>{B.init(e,t),e._zod.optin=`optional`,L(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),Zu=I(`$ZodNonOptional`,(e,t)=>{B.init(e,t),L(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>Qu(t,e)):Qu(i,e)}});function Qu(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}var $u=I(`$ZodCatch`,(e,t)=>{B.init(e,t),e._zod.optin=`optional`,L(e._zod,`optout`,()=>t.innerType._zod.optout),L(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Ac(e,n,Zs()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Ac(e,n,Zs()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),ed=I(`$ZodPipe`,(e,t)=>{B.init(e,t),L(e._zod,`values`,()=>t.in._zod.values),L(e._zod,`optin`,()=>t.in._zod.optin),L(e._zod,`optout`,()=>t.out._zod.optout),L(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>td(e,t.in,n)):td(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>td(e,t.out,n)):td(r,t.out,n)}});function td(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}var nd=I(`$ZodReadonly`,(e,t)=>{B.init(e,t),L(e._zod,`propValues`,()=>t.innerType._zod.propValues),L(e._zod,`values`,()=>t.innerType._zod.values),L(e._zod,`optin`,()=>t.innerType?._zod?.optin),L(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(rd):rd(r)}});function rd(e){return e.value=Object.freeze(e.value),e}var id=I(`$ZodLazy`,(e,t)=>{B.init(e,t),L(e._zod,`innerType`,()=>{let e=t;return e._cachedInner||=t.getter(),e._cachedInner}),L(e._zod,`pattern`,()=>e._zod.innerType?._zod?.pattern),L(e._zod,`propValues`,()=>e._zod.innerType?._zod?.propValues),L(e._zod,`optin`,()=>e._zod.innerType?._zod?.optin??void 0),L(e._zod,`optout`,()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),ad=I(`$ZodCustom`,(e,t)=>{z.init(e,t),B.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>od(t,n,r,e));od(i,n,r,e)}});function od(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(Mc(e))}}var sd,cd=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function ld(){return new cd}(sd=globalThis).__zod_globalRegistry??(sd.__zod_globalRegistry=ld());var ud=globalThis.__zod_globalRegistry;function dd(e,t){return new e({type:`string`,...R(t)})}function fd(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...R(t)})}function pd(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...R(t)})}function md(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...R(t)})}function hd(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...R(t)})}function gd(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...R(t)})}function _d(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...R(t)})}function vd(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...R(t)})}function yd(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...R(t)})}function bd(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...R(t)})}function xd(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...R(t)})}function Sd(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...R(t)})}function Cd(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...R(t)})}function wd(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...R(t)})}function Td(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...R(t)})}function Ed(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...R(t)})}function Dd(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...R(t)})}function Od(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...R(t)})}function kd(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...R(t)})}function Ad(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...R(t)})}function jd(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...R(t)})}function Md(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...R(t)})}function Nd(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...R(t)})}function Pd(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...R(t)})}function Fd(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...R(t)})}function Id(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...R(t)})}function Ld(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...R(t)})}function Rd(e,t){return new e({type:`number`,checks:[],...R(t)})}function zd(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...R(t)})}function Bd(e,t){return new e({type:`boolean`,...R(t)})}function Vd(e,t){return new e({type:`null`,...R(t)})}function Hd(e){return new e({type:`unknown`})}function Ud(e,t){return new e({type:`never`,...R(t)})}function Wd(e,t){return new jl({check:`less_than`,...R(t),value:e,inclusive:!1})}function Gd(e,t){return new jl({check:`less_than`,...R(t),value:e,inclusive:!0})}function Kd(e,t){return new Ml({check:`greater_than`,...R(t),value:e,inclusive:!1})}function qd(e,t){return new Ml({check:`greater_than`,...R(t),value:e,inclusive:!0})}function Jd(e,t){return new Nl({check:`multiple_of`,...R(t),value:e})}function Yd(e,t){return new Fl({check:`max_length`,...R(t),maximum:e})}function Xd(e,t){return new Il({check:`min_length`,...R(t),minimum:e})}function Zd(e,t){return new Ll({check:`length_equals`,...R(t),length:e})}function Qd(e,t){return new zl({check:`string_format`,format:`regex`,...R(t),pattern:e})}function $d(e){return new Bl({check:`string_format`,format:`lowercase`,...R(e)})}function ef(e){return new Vl({check:`string_format`,format:`uppercase`,...R(e)})}function tf(e,t){return new Hl({check:`string_format`,format:`includes`,...R(t),includes:e})}function nf(e,t){return new Ul({check:`string_format`,format:`starts_with`,...R(t),prefix:e})}function rf(e,t){return new Wl({check:`string_format`,format:`ends_with`,...R(t),suffix:e})}function af(e){return new Gl({check:`overwrite`,tx:e})}function of(e){return af(t=>t.normalize(e))}function sf(){return af(e=>e.trim())}function cf(){return af(e=>e.toLowerCase())}function lf(){return af(e=>e.toUpperCase())}function uf(){return af(e=>cc(e))}function df(e,t,n){return new e({type:`array`,element:t,...R(n)})}function ff(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...R(n)})}function pf(e,t){let n=mf(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(Mc(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=t.value,r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(Mc(r))}},e(t.value,t)),t);return n}function mf(e,t){let n=new z({check:`custom`,...R(t)});return n._zod.check=e,n}function hf(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??ud,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function H(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,H(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&U(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function gf(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
|
|
63
|
+
|
|
64
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function _f(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:yf(t,`input`,e.processors),output:yf(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function U(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return U(r.element,n);if(r.type===`set`)return U(r.valueType,n);if(r.type===`lazy`)return U(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`)return U(r.innerType,n);if(r.type===`intersection`)return U(r.left,n)||U(r.right,n);if(r.type===`record`||r.type===`map`)return U(r.keyType,n)||U(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:U(r.in,n)||U(r.out,n);if(r.type===`object`){for(let e in r.shape)if(U(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(U(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(U(e,n))return!0;return!!(r.rest&&U(r.rest,n))}return!1}var vf=(e,t={})=>n=>{let r=hf({...n,processors:t});return H(e,r),gf(r,e),_f(r,e)},yf=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=hf({...i??{},target:a,io:t,processors:n});return H(e,o),gf(o,e),_f(o,e)},bf={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},xf=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=bf[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},Sf=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;i.type=typeof s==`string`&&s.includes(`int`)?`integer`:`number`;let d=typeof u==`number`&&u>=(a??-1/0),f=typeof l==`number`&&l<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;d?p?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l:typeof o==`number`&&(i.maximum=o),typeof c==`number`&&(i.multipleOf=c)},Cf=(e,t,n,r)=>{n.type=`boolean`},wf=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},Tf=(e,t,n,r)=>{n.not={}},Ef=(e,t,n,r)=>{let i=e._zod.def,a=Qs(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},Df=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},Of=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},kf=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},Af=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=H(a.element,t,{...r,path:[...r.path,`items`]})},jf=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=H(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=H(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},Mf=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>H(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},Nf=(e,t,n,r)=>{let i=e._zod.def,a=H(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=H(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},Pf=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=H(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else(t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=H(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=H(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},Ff=(e,t,n,r)=>{let i=e._zod.def,a=H(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},If=(e,t,n,r)=>{let i=e._zod.def;H(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Lf=(e,t,n,r)=>{let i=e._zod.def;H(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},Rf=(e,t,n,r)=>{let i=e._zod.def;H(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},zf=(e,t,n,r)=>{let i=e._zod.def;H(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},Bf=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;H(o,t,r);let s=t.seen.get(e);s.ref=o},Vf=(e,t,n,r)=>{let i=e._zod.def;H(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Hf=(e,t,n,r)=>{let i=e._zod.def;H(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Uf=(e,t,n,r)=>{let i=e._zod.innerType;H(i,t,r);let a=t.seen.get(e);a.ref=i},Wf=I(`ZodISODateTime`,(e,t)=>{ou.init(e,t),K.init(e,t)});function Gf(e){return Pd(Wf,e)}var Kf=I(`ZodISODate`,(e,t)=>{su.init(e,t),K.init(e,t)});function qf(e){return Fd(Kf,e)}var Jf=I(`ZodISOTime`,(e,t)=>{cu.init(e,t),K.init(e,t)});function Yf(e){return Id(Jf,e)}var Xf=I(`ZodISODuration`,(e,t)=>{lu.init(e,t),K.init(e,t)});function Zf(e){return Ld(Xf,e)}var Qf=I(`ZodError`,(e,t)=>{Pc.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>Lc(e,t)},flatten:{value:t=>Ic(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,$s,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,$s,2)}},isEmpty:{get(){return e.issues.length===0}}})},{Parent:Error}),$f=Rc(Qf),ep=zc(Qf),tp=Bc(Qf),np=Hc(Qf),rp=Wc(Qf),ip=Gc(Qf),ap=Kc(Qf),op=qc(Qf),sp=Jc(Qf),cp=Yc(Qf),lp=Xc(Qf),up=Zc(Qf),dp=new WeakMap;function fp(e,t,n){let r=Object.getPrototypeOf(e),i=dp.get(r);if(i||(i=new Set,dp.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}var W=I(`ZodType`,(e,t)=>(B.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:yf(e,`input`),output:yf(e,`output`)}}),e.toJSONSchema=vf(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(t,n)=>$f(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>tp(e,t,n),e.parseAsync=async(t,n)=>ep(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>np(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>rp(e,t,n),e.decode=(t,n)=>ip(e,t,n),e.encodeAsync=async(t,n)=>ap(e,t,n),e.decodeAsync=async(t,n)=>op(e,t,n),e.safeEncode=(t,n)=>sp(e,t,n),e.safeDecode=(t,n)=>cp(e,t,n),e.safeEncodeAsync=async(t,n)=>lp(e,t,n),e.safeDecodeAsync=async(t,n)=>up(e,t,n),fp(e,`ZodType`,{check(...e){let t=this.def;return this.clone(oc(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return gc(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Dm(e,t))},superRefine(e,t){return this.check(Om(e,t))},overwrite(e){return this.check(af(e))},optional(){return sm(this)},exactOptional(){return lm(this)},nullable(){return dm(this)},nullish(){return sm(dm(this))},nonoptional(e){return _m(this,e)},array(){return J(this)},or(e){return X([this,e])},and(e){return Zp(this,e)},transform(e){return xm(this,am(e))},default(e){return pm(this,e)},prefault(e){return hm(this,e)},catch(e){return ym(this,e)},pipe(e){return xm(this,e)},readonly(){return Cm(this)},describe(e){let t=this.clone();return ud.add(t,{description:e}),t},meta(...e){if(e.length===0)return ud.get(this);let t=this.clone();return ud.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,"description",{get(){return ud.get(e)?.description},configurable:!0}),e)),pp=I(`_ZodString`,(e,t)=>{Jl.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xf(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,fp(e,`_ZodString`,{regex(...e){return this.check(Qd(...e))},includes(...e){return this.check(tf(...e))},startsWith(...e){return this.check(nf(...e))},endsWith(...e){return this.check(rf(...e))},min(...e){return this.check(Xd(...e))},max(...e){return this.check(Yd(...e))},length(...e){return this.check(Zd(...e))},nonempty(...e){return this.check(Xd(1,...e))},lowercase(e){return this.check($d(e))},uppercase(e){return this.check(ef(e))},trim(){return this.check(sf())},normalize(...e){return this.check(of(...e))},toLowerCase(){return this.check(cf())},toUpperCase(){return this.check(lf())},slugify(){return this.check(uf())}})}),mp=I(`ZodString`,(e,t)=>{Jl.init(e,t),pp.init(e,t),e.email=t=>e.check(fd(hp,t)),e.url=t=>e.check(vd(vp,t)),e.jwt=t=>e.check(Nd(Np,t)),e.emoji=t=>e.check(yd(yp,t)),e.guid=t=>e.check(pd(gp,t)),e.uuid=t=>e.check(md(_p,t)),e.uuidv4=t=>e.check(hd(_p,t)),e.uuidv6=t=>e.check(gd(_p,t)),e.uuidv7=t=>e.check(_d(_p,t)),e.nanoid=t=>e.check(bd(bp,t)),e.guid=t=>e.check(pd(gp,t)),e.cuid=t=>e.check(xd(xp,t)),e.cuid2=t=>e.check(Sd(Sp,t)),e.ulid=t=>e.check(Cd(Cp,t)),e.base64=t=>e.check(Ad(Ap,t)),e.base64url=t=>e.check(jd(jp,t)),e.xid=t=>e.check(wd(wp,t)),e.ksuid=t=>e.check(Td(Tp,t)),e.ipv4=t=>e.check(Ed(Ep,t)),e.ipv6=t=>e.check(Dd(Dp,t)),e.cidrv4=t=>e.check(Od(Op,t)),e.cidrv6=t=>e.check(kd(kp,t)),e.e164=t=>e.check(Md(Mp,t)),e.datetime=t=>e.check(Gf(t)),e.date=t=>e.check(qf(t)),e.time=t=>e.check(Yf(t)),e.duration=t=>e.check(Zf(t))});function G(e){return dd(mp,e)}var K=I(`ZodStringFormat`,(e,t)=>{V.init(e,t),pp.init(e,t)}),hp=I(`ZodEmail`,(e,t)=>{Zl.init(e,t),K.init(e,t)}),gp=I(`ZodGUID`,(e,t)=>{Yl.init(e,t),K.init(e,t)}),_p=I(`ZodUUID`,(e,t)=>{Xl.init(e,t),K.init(e,t)}),vp=I(`ZodURL`,(e,t)=>{Ql.init(e,t),K.init(e,t)}),yp=I(`ZodEmoji`,(e,t)=>{$l.init(e,t),K.init(e,t)}),bp=I(`ZodNanoID`,(e,t)=>{eu.init(e,t),K.init(e,t)}),xp=I(`ZodCUID`,(e,t)=>{tu.init(e,t),K.init(e,t)}),Sp=I(`ZodCUID2`,(e,t)=>{nu.init(e,t),K.init(e,t)}),Cp=I(`ZodULID`,(e,t)=>{ru.init(e,t),K.init(e,t)}),wp=I(`ZodXID`,(e,t)=>{iu.init(e,t),K.init(e,t)}),Tp=I(`ZodKSUID`,(e,t)=>{au.init(e,t),K.init(e,t)}),Ep=I(`ZodIPv4`,(e,t)=>{uu.init(e,t),K.init(e,t)}),Dp=I(`ZodIPv6`,(e,t)=>{du.init(e,t),K.init(e,t)}),Op=I(`ZodCIDRv4`,(e,t)=>{fu.init(e,t),K.init(e,t)}),kp=I(`ZodCIDRv6`,(e,t)=>{pu.init(e,t),K.init(e,t)}),Ap=I(`ZodBase64`,(e,t)=>{hu.init(e,t),K.init(e,t)}),jp=I(`ZodBase64URL`,(e,t)=>{_u.init(e,t),K.init(e,t)}),Mp=I(`ZodE164`,(e,t)=>{vu.init(e,t),K.init(e,t)}),Np=I(`ZodJWT`,(e,t)=>{bu.init(e,t),K.init(e,t)}),Pp=I(`ZodNumber`,(e,t)=>{xu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sf(e,t,n,r),fp(e,`ZodNumber`,{gt(e,t){return this.check(Kd(e,t))},gte(e,t){return this.check(qd(e,t))},min(e,t){return this.check(qd(e,t))},lt(e,t){return this.check(Wd(e,t))},lte(e,t){return this.check(Gd(e,t))},max(e,t){return this.check(Gd(e,t))},int(e){return this.check(Ip(e))},safe(e){return this.check(Ip(e))},positive(e){return this.check(Kd(0,e))},nonnegative(e){return this.check(qd(0,e))},negative(e){return this.check(Wd(0,e))},nonpositive(e){return this.check(Gd(0,e))},multipleOf(e,t){return this.check(Jd(e,t))},step(e,t){return this.check(Jd(e,t))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function q(e){return Rd(Pp,e)}var Fp=I(`ZodNumberFormat`,(e,t)=>{Su.init(e,t),Pp.init(e,t)});function Ip(e){return zd(Fp,e)}var Lp=I(`ZodBoolean`,(e,t)=>{Cu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cf(e,t,n,r)});function Rp(e){return Bd(Lp,e)}var zp=I(`ZodNull`,(e,t)=>{wu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wf(e,t,n,r)});function Bp(e){return Vd(zp,e)}var Vp=I(`ZodUnknown`,(e,t)=>{Tu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Hp(){return Hd(Vp)}var Up=I(`ZodNever`,(e,t)=>{Eu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Tf(e,t,n,r)});function Wp(e){return Ud(Up,e)}var Gp=I(`ZodArray`,(e,t)=>{Ou.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Af(e,t,n,r),e.element=t.element,fp(e,`ZodArray`,{min(e,t){return this.check(Xd(e,t))},nonempty(e){return this.check(Xd(1,e))},max(e,t){return this.check(Yd(e,t))},length(e,t){return this.check(Zd(e,t))},unwrap(){return this.element}})});function J(e,t){return df(Gp,e,t)}var Kp=I(`ZodObject`,(e,t)=>{Nu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>jf(e,t,n,r),L(e,`shape`,()=>t.shape),fp(e,`ZodObject`,{keyof(){return tm(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:Hp()})},loose(){return this.clone({...this._zod.def,catchall:Hp()})},strict(){return this.clone({...this._zod.def,catchall:Wp()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return xc(this,e)},safeExtend(e){return Sc(this,e)},merge(e){return Cc(this,e)},pick(e){return yc(this,e)},omit(e){return bc(this,e)},partial(...e){return wc(om,this,e[0])},required(...e){return Tc(gm,this,e[0])}})});function Y(e,t){return new Kp({type:`object`,shape:e??{},...R(t)})}var qp=I(`ZodUnion`,(e,t)=>{Fu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Mf(e,t,n,r),e.options=t.options});function X(e,t){return new qp({type:`union`,options:e,...R(t)})}var Jp=I(`ZodDiscriminatedUnion`,(e,t)=>{qp.init(e,t),Iu.init(e,t)});function Yp(e,t,n){return new Jp({type:`union`,options:t,discriminator:e,...R(n)})}var Xp=I(`ZodIntersection`,(e,t)=>{Lu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Nf(e,t,n,r)});function Zp(e,t){return new Xp({type:`intersection`,left:e,right:t})}var Qp=I(`ZodRecord`,(e,t)=>{Bu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Pf(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function $p(e,t,n){return!t||!t._zod?new Qp({type:`record`,keyType:G(),valueType:e,...R(t)}):new Qp({type:`record`,keyType:e,valueType:t,...R(n)})}var em=I(`ZodEnum`,(e,t)=>{Vu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ef(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new em({...t,checks:[],...R(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new em({...t,checks:[],...R(r),entries:i})}});function tm(e,t){return new em({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...R(t)})}var nm=I(`ZodLiteral`,(e,t)=>{Hu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Df(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function rm(e,t){return new nm({type:`literal`,values:Array.isArray(e)?e:[e],...R(t)})}var im=I(`ZodTransform`,(e,t)=>{Uu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>kf(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new Ys(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(Mc(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(Mc(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}});function am(e){return new im({type:`transform`,transform:e})}var om=I(`ZodOptional`,(e,t)=>{Gu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Hf(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function sm(e){return new om({type:`optional`,innerType:e})}var cm=I(`ZodExactOptional`,(e,t)=>{Ku.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Hf(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function lm(e){return new cm({type:`optional`,innerType:e})}var um=I(`ZodNullable`,(e,t)=>{qu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ff(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function dm(e){return new um({type:`nullable`,innerType:e})}var fm=I(`ZodDefault`,(e,t)=>{Ju.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Lf(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function pm(e,t){return new fm({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():pc(t)}})}var mm=I(`ZodPrefault`,(e,t)=>{Xu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Rf(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function hm(e,t){return new mm({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():pc(t)}})}var gm=I(`ZodNonOptional`,(e,t)=>{Zu.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>If(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function _m(e,t){return new gm({type:`nonoptional`,innerType:e,...R(t)})}var vm=I(`ZodCatch`,(e,t)=>{$u.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>zf(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function ym(e,t){return new vm({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var bm=I(`ZodPipe`,(e,t)=>{ed.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Bf(e,t,n,r),e.in=t.in,e.out=t.out});function xm(e,t){return new bm({type:`pipe`,in:e,out:t})}var Sm=I(`ZodReadonly`,(e,t)=>{nd.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Vf(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Cm(e){return new Sm({type:`readonly`,innerType:e})}var wm=I(`ZodLazy`,(e,t)=>{id.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Uf(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function Tm(e){return new wm({type:`lazy`,getter:e})}var Em=I(`ZodCustom`,(e,t)=>{ad.init(e,t),W.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Of(e,t,n,r)});function Dm(e,t={}){return ff(Em,e,t)}function Om(e,t){return pf(e,t)}var km=Y({message:G()}),Z=tm(`a-arrow-down.a-arrow-up.a-large-small.accessibility.activity.activity-square.ad.air-vent.airplay.alarm-check.alarm-clock.alarm-clock-check.alarm-clock-minus.alarm-clock-off.alarm-clock-plus.alarm-minus.alarm-plus.alarm-smoke.album.alert-circle.alert-octagon.alert-triangle.align-center.align-center-horizontal.align-center-vertical.align-end-horizontal.align-end-vertical.align-horizontal-distribute-center.align-horizontal-distribute-end.align-horizontal-distribute-start.align-horizontal-justify-center.align-horizontal-justify-end.align-horizontal-justify-start.align-horizontal-space-around.align-horizontal-space-between.align-justify.align-left.align-right.align-start-horizontal.align-start-vertical.align-vertical-distribute-center.align-vertical-distribute-end.align-vertical-distribute-start.align-vertical-justify-center.align-vertical-justify-end.align-vertical-justify-start.align-vertical-space-around.align-vertical-space-between.ambulance.ampersand.ampersands.amphora.anchor.angry.annoyed.antenna.anvil.aperture.app-window.app-window-mac.apple.archive.archive-restore.archive-x.area-chart.armchair.arrow-big-down.arrow-big-down-dash.arrow-big-left.arrow-big-left-dash.arrow-big-right.arrow-big-right-dash.arrow-big-up.arrow-big-up-dash.arrow-down.arrow-down-0-1.arrow-down-01.arrow-down-1-0.arrow-down-10.arrow-down-a-z.arrow-down-az.arrow-down-circle.arrow-down-from-line.arrow-down-left.arrow-down-left-from-circle.arrow-down-left-from-square.arrow-down-left-square.arrow-down-narrow-wide.arrow-down-right.arrow-down-right-from-circle.arrow-down-right-from-square.arrow-down-right-square.arrow-down-square.arrow-down-to-dot.arrow-down-to-line.arrow-down-up.arrow-down-wide-narrow.arrow-down-z-a.arrow-down-za.arrow-left.arrow-left-circle.arrow-left-from-line.arrow-left-right.arrow-left-square.arrow-left-to-line.arrow-right.arrow-right-circle.arrow-right-from-line.arrow-right-left.arrow-right-square.arrow-right-to-line.arrow-up.arrow-up-0-1.arrow-up-01.arrow-up-1-0.arrow-up-10.arrow-up-a-z.arrow-up-az.arrow-up-circle.arrow-up-down.arrow-up-from-dot.arrow-up-from-line.arrow-up-left.arrow-up-left-from-circle.arrow-up-left-from-square.arrow-up-left-square.arrow-up-narrow-wide.arrow-up-right.arrow-up-right-from-circle.arrow-up-right-from-square.arrow-up-right-square.arrow-up-square.arrow-up-to-line.arrow-up-wide-narrow.arrow-up-z-a.arrow-up-za.arrows-up-from-line.asterisk.asterisk-square.astroid.at-sign.atom.audio-lines.audio-waveform.award.axe.axis-3-d.axis-3d.baby.backpack.badge.badge-alert.badge-cent.badge-check.badge-dollar-sign.badge-euro.badge-help.badge-indian-rupee.badge-info.badge-japanese-yen.badge-minus.badge-percent.badge-plus.badge-pound-sterling.badge-question-mark.badge-russian-ruble.badge-swiss-franc.badge-turkish-lira.badge-x.baggage-claim.balloon.ban.banana.bandage.banknote.banknote-arrow-down.banknote-arrow-up.banknote-check.banknote-x.bar-chart.bar-chart-2.bar-chart-3.bar-chart-4.bar-chart-big.bar-chart-horizontal.bar-chart-horizontal-big.barcode.barrel.baseline.bath.battery.battery-charging.battery-full.battery-low.battery-medium.battery-plus.battery-warning.beaker.bean.bean-off.bed.bed-double.bed-single.beef.beef-off.beer.beer-off.bell.bell-check.bell-dot.bell-electric.bell-minus.bell-off.bell-plus.bell-ring.between-horizonal-end.between-horizonal-start.between-horizontal-end.between-horizontal-start.between-vertical-end.between-vertical-start.biceps-flexed.bike.binary.binoculars.biohazard.bird.birdhouse.bitcoin.blend.blender.blinds.blocks.bluetooth.bluetooth-connected.bluetooth-off.bluetooth-searching.bold.bolt.bomb.bone.bone-fracture.book.book-a.book-alert.book-audio.book-check.book-copy.book-dashed.book-down.book-headphones.book-heart.book-image.book-key.book-lock.book-marked.book-minus.book-open.book-open-check.book-open-text.book-plus.book-search.book-template.book-text.book-type.book-up.book-up-2.book-user.book-x.bookmark.bookmark-check.bookmark-minus.bookmark-off.bookmark-plus.bookmark-x.boom-box.bot.bot-message-square.bot-off.bottle-wine.bow-arrow.box.box-select.boxes.braces.brackets.brain.brain-circuit.brain-cog.brick-wall.brick-wall-fire.brick-wall-shield.briefcase.briefcase-business.briefcase-conveyor-belt.briefcase-medical.bring-to-front.broccoli.brush.brush-cleaning.bubbles.bug.bug-off.bug-play.building.building-2.bus.bus-front.cable.cable-car.cake.cake-slice.calculator.calendar.calendar-1.calendar-arrow-down.calendar-arrow-up.calendar-check.calendar-check-2.calendar-clock.calendar-cog.calendar-days.calendar-fold.calendar-heart.calendar-minus.calendar-minus-2.calendar-off.calendar-plus.calendar-plus-2.calendar-range.calendar-search.calendar-sync.calendar-x.calendar-x-2.calendars.camera.camera-off.candlestick-chart.candy.candy-cane.candy-off.cannabis.cannabis-off.captions.captions-off.car.car-front.car-taxi-front.caravan.card-sim.carrot.case-lower.case-sensitive.case-upper.cassette-tape.cast.castle.cat.cctv.cctv-off.chart-area.chart-bar.chart-bar-big.chart-bar-decreasing.chart-bar-increasing.chart-bar-stacked.chart-candlestick.chart-column.chart-column-big.chart-column-decreasing.chart-column-increasing.chart-column-stacked.chart-gantt.chart-line.chart-network.chart-no-axes-column.chart-no-axes-column-decreasing.chart-no-axes-column-increasing.chart-no-axes-combined.chart-no-axes-gantt.chart-pie.chart-scatter.chart-spline.check.check-check.check-circle.check-circle-2.check-line.check-square.check-square-2.chef-hat.cherry.chess-bishop.chess-king.chess-knight.chess-pawn.chess-queen.chess-rook.chevron-down.chevron-down-circle.chevron-down-square.chevron-first.chevron-last.chevron-left.chevron-left-circle.chevron-left-square.chevron-right.chevron-right-circle.chevron-right-square.chevron-up.chevron-up-circle.chevron-up-square.chevrons-down.chevrons-down-up.chevrons-left.chevrons-left-right.chevrons-left-right-ellipsis.chevrons-right.chevrons-right-left.chevrons-up.chevrons-up-down.church.cigarette.cigarette-off.circle.circle-alert.circle-arrow-down.circle-arrow-left.circle-arrow-out-down-left.circle-arrow-out-down-right.circle-arrow-out-up-left.circle-arrow-out-up-right.circle-arrow-right.circle-arrow-up.circle-check.circle-check-big.circle-chevron-down.circle-chevron-left.circle-chevron-right.circle-chevron-up.circle-dashed.circle-divide.circle-dollar-sign.circle-dot.circle-dot-dashed.circle-ellipsis.circle-equal.circle-euro-sign.circle-fading-arrow-up.circle-fading-plus.circle-gauge.circle-help.circle-minus.circle-off.circle-parking.circle-parking-off.circle-pause.circle-percent.circle-pile.circle-play.circle-plus.circle-pound-sterling.circle-power.circle-question-mark.circle-slash.circle-slash-2.circle-slashed.circle-small.circle-star.circle-stop.circle-user.circle-user-round.circle-x.circuit-board.citrus.clapperboard.clipboard.clipboard-check.clipboard-clock.clipboard-copy.clipboard-edit.clipboard-list.clipboard-minus.clipboard-paste.clipboard-pen.clipboard-pen-line.clipboard-plus.clipboard-signature.clipboard-type.clipboard-x.clock.clock-1.clock-10.clock-11.clock-12.clock-2.clock-3.clock-4.clock-5.clock-6.clock-7.clock-8.clock-9.clock-alert.clock-arrow-down.clock-arrow-left.clock-arrow-right.clock-arrow-up.clock-check.clock-fading.clock-plus.closed-caption.cloud.cloud-alert.cloud-backup.cloud-check.cloud-cog.cloud-download.cloud-drizzle.cloud-fog.cloud-hail.cloud-lightning.cloud-moon.cloud-moon-rain.cloud-off.cloud-rain.cloud-rain-wind.cloud-snow.cloud-sun.cloud-sun-rain.cloud-sync.cloud-upload.cloudy.clover.club.code.code-2.code-square.code-xml.coffee.cog.coins.columns.columns-2.columns-3.columns-3-cog.columns-4.columns-settings.combine.command.compass.component.computer.concierge-bell.cone.construction.contact.contact-2.contact-round.container.contrast.cookie.cooking-pot.copy.copy-check.copy-minus.copy-plus.copy-slash.copy-x.copyleft.copyright.corner-down-left.corner-down-right.corner-left-down.corner-left-up.corner-right-down.corner-right-up.corner-up-left.corner-up-right.cpu.creative-commons.credit-card.croissant.crop.cross.crosshair.crown.cuboid.cup-soda.curly-braces.currency.cylinder.dam.database.database-arrow-down.database-arrow-up.database-backup.database-check.database-minus.database-plus.database-search.database-x.database-zap.decimals-arrow-left.decimals-arrow-right.delete.dessert.diameter.diamond.diamond-minus.diamond-percent.diamond-plus.dice-1.dice-2.dice-3.dice-4.dice-5.dice-6.dices.diff.disc.disc-2.disc-3.disc-album.divide.divide-circle.divide-square.dna.dna-off.dock.dog.dollar-sign.donut.door-closed.door-closed-locked.door-open.dot.dot-square.download.download-cloud.drafting-compass.drama.drill.drone.droplet.droplet-off.droplets.drum.drumstick.dumbbell.ear.ear-off.earth.earth-lock.eclipse.edit.edit-2.edit-3.egg.egg-fried.egg-off.ellipse.ellipsis.ellipsis-vertical.equal.equal-approximately.equal-not.equal-square.eraser.ethernet-port.euro.ev-charger.expand.external-link.eye.eye-closed.eye-dashed.eye-off.factory.fan.fast-forward.feather.fence.ferris-wheel.file.file-archive.file-audio.file-audio-2.file-axis-3-d.file-axis-3d.file-badge.file-badge-2.file-bar-chart.file-bar-chart-2.file-box.file-braces.file-braces-corner.file-chart-column.file-chart-column-increasing.file-chart-line.file-chart-pie.file-check.file-check-2.file-check-corner.file-clock.file-code.file-code-2.file-code-corner.file-cog.file-cog-2.file-diff.file-digit.file-down.file-edit.file-exclamation-point.file-headphone.file-heart.file-image.file-input.file-json.file-json-2.file-key.file-key-2.file-line-chart.file-lock.file-lock-2.file-minus.file-minus-2.file-minus-corner.file-music.file-output.file-pen.file-pen-line.file-pie-chart.file-play.file-plus.file-plus-2.file-plus-corner.file-question.file-question-mark.file-scan.file-search.file-search-2.file-search-corner.file-signal.file-signature.file-sliders.file-spreadsheet.file-stack.file-symlink.file-terminal.file-text.file-type.file-type-2.file-type-corner.file-up.file-user.file-video.file-video-2.file-video-camera.file-volume.file-volume-2.file-warning.file-x.file-x-2.file-x-corner.files.film.filter.filter-x.fingerprint.fingerprint-pattern.fire-extinguisher.fish.fish-off.fish-symbol.fishing-hook.fishing-rod.flag.flag-off.flag-triangle-left.flag-triangle-right.flame.flame-kindling.flashlight.flashlight-off.flask-conical.flask-conical-off.flask-round.flip-horizontal.flip-horizontal-2.flip-vertical.flip-vertical-2.flower.flower-2.focus.fold-horizontal.fold-vertical.folder.folder-archive.folder-bookmark.folder-check.folder-clock.folder-closed.folder-code.folder-cog.folder-cog-2.folder-dot.folder-down.folder-edit.folder-git.folder-git-2.folder-heart.folder-input.folder-kanban.folder-key.folder-lock.folder-minus.folder-open.folder-open-dot.folder-output.folder-pen.folder-plus.folder-root.folder-search.folder-search-2.folder-symlink.folder-sync.folder-tree.folder-up.folder-x.folders.footprints.fork-knife.fork-knife-crossed.forklift.form.form-input.forward.frame.frown.fuel.fullscreen.function-square.funnel.funnel-plus.funnel-x.gallery-horizontal.gallery-horizontal-end.gallery-thumbnails.gallery-vertical.gallery-vertical-end.gamepad.gamepad-2.gamepad-directional.gantt-chart.gantt-chart-square.gauge.gauge-circle.gavel.gem.georgian-lari.ghost.gift.git-branch.git-branch-minus.git-branch-plus.git-commit.git-commit-horizontal.git-commit-vertical.git-compare.git-compare-arrows.git-fork.git-graph.git-merge.git-merge-conflict.git-pull-request.git-pull-request-arrow.git-pull-request-closed.git-pull-request-create.git-pull-request-create-arrow.git-pull-request-draft.glass-water.glasses.globe.globe-2.globe-check.globe-lock.globe-off.globe-x.goal.gpu.grab.graduation-cap.grape.grid.grid-2-x-2.grid-2-x-2-check.grid-2-x-2-plus.grid-2-x-2-x.grid-2x2.grid-2x2-check.grid-2x2-plus.grid-2x2-x.grid-3-x-3.grid-3x2.grid-3x3.grip.grip-horizontal.grip-vertical.group.guitar.ham.hamburger.hammer.hand.hand-coins.hand-fist.hand-grab.hand-heart.hand-helping.hand-metal.hand-platter.handbag.handshake.hard-drive.hard-drive-download.hard-drive-upload.hard-hat.hash.hat-glasses.haze.hd.hdmi-port.heading.heading-1.heading-2.heading-3.heading-4.heading-5.heading-6.headphone-off.headphones.headset.heart.heart-crack.heart-handshake.heart-minus.heart-off.heart-plus.heart-pulse.heart-x.heater.helicopter.help-circle.helping-hand.hexagon.highlighter.history.home.hop.hop-off.hospital.hotel.hourglass.house.house-heart.house-plug.house-plus.house-wifi.ice-cream.ice-cream-2.ice-cream-bowl.ice-cream-cone.id-card.id-card-lanyard.image.image-down.image-minus.image-off.image-play.image-plus.image-up.image-upscale.images.import.inbox.indent.indent-decrease.indent-increase.indian-rupee.infinity.info.inspect.inspection-panel.italic.iteration-ccw.iteration-cw.japanese-yen.joystick.kanban.kanban-square.kanban-square-dashed.kayak.key.key-round.key-square.keyboard.keyboard-music.keyboard-off.lamp.lamp-ceiling.lamp-desk.lamp-floor.lamp-wall-down.lamp-wall-up.land-plot.landmark.languages.laptop.laptop-2.laptop-minimal.laptop-minimal-check.lasso.lasso-select.laugh.layers.layers-2.layers-3.layers-minus.layers-plus.layout.layout-dashboard.layout-grid.layout-list.layout-panel-left.layout-panel-top.layout-template.leaf.leafy-green.lectern.lens-concave.lens-convex.letter-text.library.library-big.library-square.life-buoy.ligature.lightbulb.lightbulb-off.line-chart.line-dot-right-horizontal.line-squiggle.line-style.link.link-2.link-2-off.list.list-check.list-checks.list-chevrons-down-up.list-chevrons-up-down.list-collapse.list-end.list-filter.list-filter-plus.list-indent-decrease.list-indent-increase.list-minus.list-music.list-ordered.list-plus.list-restart.list-sort-ascending.list-sort-descending.list-start.list-todo.list-tree.list-video.list-x.loader.loader-2.loader-circle.loader-pinwheel.locate.locate-fixed.locate-off.location-edit.lock.lock-keyhole.lock-keyhole-open.lock-open.log-in.log-out.logs.lollipop.luggage.m-square.magnet.mail.mail-check.mail-minus.mail-open.mail-plus.mail-question.mail-question-mark.mail-search.mail-warning.mail-x.mailbox.mails.map.map-minus.map-pin.map-pin-check.map-pin-check-inside.map-pin-house.map-pin-minus.map-pin-minus-inside.map-pin-off.map-pin-pen.map-pin-plus.map-pin-plus-inside.map-pin-search.map-pin-x.map-pin-x-inside.map-pinned.map-plus.mars.mars-stroke.martini.maximize.maximize-2.medal.megaphone.megaphone-off.meh.memory-stick.menu.menu-square.merge.message-circle.message-circle-check.message-circle-code.message-circle-dashed.message-circle-heart.message-circle-more.message-circle-off.message-circle-plus.message-circle-question.message-circle-question-mark.message-circle-reply.message-circle-warning.message-circle-x.message-square.message-square-check.message-square-code.message-square-dashed.message-square-diff.message-square-dot.message-square-heart.message-square-lock.message-square-more.message-square-off.message-square-plus.message-square-quote.message-square-reply.message-square-share.message-square-text.message-square-warning.message-square-x.messages-square.metronome.mic.mic-2.mic-off.mic-vocal.microchip.microscope.microwave.milestone.milk.milk-off.minimize.minimize-2.minus.minus-circle.minus-square.mirror-rectangular.mirror-round.monitor.monitor-check.monitor-cloud.monitor-cog.monitor-dot.monitor-down.monitor-off.monitor-pause.monitor-play.monitor-smartphone.monitor-speaker.monitor-stop.monitor-up.monitor-x.moon.moon-star.more-horizontal.more-vertical.motorbike.mountain.mountain-snow.mouse.mouse-left.mouse-off.mouse-pointer.mouse-pointer-2.mouse-pointer-2-off.mouse-pointer-ban.mouse-pointer-click.mouse-pointer-square-dashed.mouse-right.move.move-3-d.move-3d.move-diagonal.move-diagonal-2.move-down.move-down-left.move-down-right.move-horizontal.move-left.move-right.move-up.move-up-left.move-up-right.move-vertical.music.music-2.music-3.music-4.navigation.navigation-2.navigation-2-off.navigation-off.network.newspaper.nfc.non-binary.notebook.notebook-pen.notebook-tabs.notebook-text.notepad-text.notepad-text-dashed.nut.nut-off.octagon.octagon-alert.octagon-minus.octagon-pause.octagon-x.omega.option.orbit.origami.outdent.package.package-2.package-check.package-minus.package-open.package-plus.package-search.package-x.paint-bucket.paint-roller.paintbrush.paintbrush-2.paintbrush-vertical.palette.palmtree.panda.panel-bottom.panel-bottom-close.panel-bottom-dashed.panel-bottom-inactive.panel-bottom-open.panel-left.panel-left-close.panel-left-dashed.panel-left-inactive.panel-left-open.panel-left-right-dashed.panel-right.panel-right-close.panel-right-dashed.panel-right-inactive.panel-right-open.panel-top.panel-top-bottom-dashed.panel-top-close.panel-top-dashed.panel-top-inactive.panel-top-open.panels-left-bottom.panels-left-right.panels-right-bottom.panels-top-bottom.panels-top-left.paper-bag.paperclip.parasol.parentheses.parking-circle.parking-circle-off.parking-meter.parking-square.parking-square-off.party-popper.pause.pause-circle.pause-octagon.paw-print.pc-case.pen.pen-box.pen-line.pen-off.pen-square.pen-tool.pencil.pencil-line.pencil-off.pencil-ruler.pencil-sparkles.pentagon.percent.percent-circle.percent-diamond.percent-square.person-standing.phi.philippine-peso.phone.phone-call.phone-forwarded.phone-incoming.phone-missed.phone-off.phone-outgoing.pi.pi-square.piano.pickaxe.picture-in-picture.picture-in-picture-2.pie-chart.piggy-bank.pilcrow.pilcrow-left.pilcrow-right.pilcrow-square.pill.pill-bottle.pin.pin-off.pipette.pizza.plane.plane-landing.plane-takeoff.play.play-circle.play-off.play-square.plug.plug-2.plug-zap.plug-zap-2.plus.plus-circle.plus-square.pocket-knife.podcast.podium.pointer.pointer-off.popcorn.popsicle.pound-sterling.power.power-circle.power-off.power-square.presentation.printer.printer-check.printer-x.projector.proportions.puzzle.pyramid.qr-code.quote.rabbit.radar.radiation.radical.radio.radio-off.radio-receiver.radio-tower.radius.rainbow.rat.ratio.receipt.receipt-cent.receipt-euro.receipt-indian-rupee.receipt-japanese-yen.receipt-pound-sterling.receipt-russian-ruble.receipt-swiss-franc.receipt-text.receipt-turkish-lira.rectangle-circle.rectangle-ellipsis.rectangle-goggles.rectangle-horizontal.rectangle-vertical.recycle.redo.redo-2.redo-dot.refresh-ccw.refresh-ccw-dot.refresh-cw.refresh-cw-off.refrigerator.regex.remove-formatting.repeat.repeat-1.repeat-2.repeat-off.replace.replace-all.reply.reply-all.rewind.ribbon.road.rocket.rocking-chair.roller-coaster.rose.rotate-3-d.rotate-3d.rotate-ccw.rotate-ccw-key.rotate-ccw-square.rotate-cw.rotate-cw-square.route.route-off.router.rows.rows-2.rows-3.rows-4.rss.ruler.ruler-dimension-line.russian-ruble.sailboat.salad.sandwich.satellite.satellite-dish.saudi-riyal.save.save-all.save-check.save-off.save-pen.save-plus.scale.scale-3-d.scale-3d.scaling.scan.scan-barcode.scan-eye.scan-face.scan-heart.scan-line.scan-qr-code.scan-search.scan-text.scatter-chart.school.school-2.scissors.scissors-line-dashed.scissors-square.scissors-square-dashed-bottom.scooter.screen-share.screen-share-off.scroll.scroll-text.search.search-alert.search-check.search-code.search-slash.search-x.section.send.send-horizonal.send-horizontal.send-to-back.separator-horizontal.separator-vertical.server.server-cog.server-crash.server-off.settings.settings-2.shapes.share.share-2.sheet.shell.shelving-unit.shield.shield-alert.shield-ban.shield-check.shield-close.shield-cog.shield-cog-corner.shield-ellipsis.shield-half.shield-minus.shield-off.shield-plus.shield-question.shield-question-mark.shield-user.shield-x.ship.ship-wheel.shirt.shopping-bag.shopping-basket.shopping-cart.shovel.shower-head.shredder.shrimp.shrink.shrub.shuffle.sidebar.sidebar-close.sidebar-open.sigma.sigma-square.signal.signal-high.signal-low.signal-medium.signal-zero.signature.signpost.signpost-big.siren.skip-back.skip-forward.skull.slash.slash-square.slice.sliders.sliders-horizontal.sliders-vertical.smartphone.smartphone-charging.smartphone-nfc.smile.smile-plus.snail.snowflake.soap-dispenser-droplet.sofa.solar-panel.sort-asc.sort-desc.soup.space.spade.sparkle.sparkles.speaker.speech.spell-check.spell-check-2.spline.spline-pointer.split.split-square-horizontal.split-square-vertical.spool.sport-shoe.spotlight.spray-can.sprout.square.square-activity.square-arrow-down.square-arrow-down-left.square-arrow-down-right.square-arrow-left.square-arrow-out-down-left.square-arrow-out-down-right.square-arrow-out-up-left.square-arrow-out-up-right.square-arrow-right.square-arrow-right-enter.square-arrow-right-exit.square-arrow-up.square-arrow-up-left.square-arrow-up-right.square-asterisk.square-bottom-dashed-scissors.square-centerline-dashed-horizontal.square-centerline-dashed-vertical.square-chart-gantt.square-check.square-check-big.square-chevron-down.square-chevron-left.square-chevron-right.square-chevron-up.square-code.square-dashed.square-dashed-bottom.square-dashed-bottom-code.square-dashed-kanban.square-dashed-mouse-pointer.square-dashed-text.square-dashed-top-solid.square-divide.square-dot.square-equal.square-function.square-gantt-chart.square-kanban.square-library.square-m.square-menu.square-minus.square-mouse-pointer.square-parking.square-parking-off.square-pause.square-pen.square-percent.square-pi.square-pilcrow.square-play.square-plus.square-power.square-radical.square-round-corner.square-scissors.square-sigma.square-slash.square-split-horizontal.square-split-vertical.square-square.square-stack.square-star.square-stop.square-terminal.square-user.square-user-round.square-x.squares-exclude.squares-intersect.squares-subtract.squares-unite.squircle.squircle-dashed.squirrel.stamp.star.star-check.star-half.star-minus.star-off.star-plus.star-x.stars.step-back.step-forward.stethoscope.sticker.sticky-note.sticky-note-check.sticky-note-minus.sticky-note-off.sticky-note-plus.sticky-note-x.sticky-notes.stone.stop-circle.store.stretch-horizontal.stretch-vertical.strikethrough.subscript.subtitles.summary.sun.sun-dim.sun-medium.sun-moon.sun-snow.sunrise.sunset.superscript.swatch-book.swiss-franc.switch-camera.sword.swords.syringe.table.table-2.table-cells-merge.table-cells-split.table-columns-split.table-config.table-of-contents.table-properties.table-rows-split.tablet.tablet-smartphone.tablets.tag.tag-plus.tag-x.tags.tally-1.tally-2.tally-3.tally-4.tally-5.tangent.target.telescope.tent.tent-tree.terminal.terminal-square.test-tube.test-tube-2.test-tube-diagonal.test-tubes.text.text-align-center.text-align-end.text-align-justify.text-align-start.text-cursor.text-cursor-input.text-initial.text-quote.text-search.text-select.text-selection.text-wrap.theater.thermometer.thermometer-snowflake.thermometer-sun.thumbs-down.thumbs-up.ticket.ticket-check.ticket-minus.ticket-percent.ticket-plus.ticket-slash.ticket-x.tickets.tickets-plane.timeline.timer.timer-off.timer-reset.toggle-left.toggle-right.toilet.tool-case.toolbox.tornado.torus.touchpad.touchpad-off.towel-rack.tower-control.toy-brick.tractor.traffic-cone.train.train-front.train-front-tunnel.train-track.tram-front.transgender.trash.trash-2.tree-deciduous.tree-palm.tree-pine.trees.trending-down.trending-up.trending-up-down.triangle.triangle-alert.triangle-dashed.triangle-right.trophy.truck.truck-electric.turkish-lira.turntable.turtle.tv.tv-2.tv-minimal.tv-minimal-play.type.type-outline.umbrella.umbrella-off.underline.undo.undo-2.undo-dot.unfold-horizontal.unfold-vertical.ungroup.university.unlink.unlink-2.unlock.unlock-keyhole.unplug.upload.upload-cloud.usb.user.user-2.user-check.user-check-2.user-circle.user-circle-2.user-cog.user-cog-2.user-key.user-lock.user-minus.user-minus-2.user-pen.user-plus.user-plus-2.user-round.user-round-arrow-left.user-round-check.user-round-cog.user-round-key.user-round-minus.user-round-pen.user-round-plus.user-round-search.user-round-x.user-search.user-square.user-square-2.user-star.user-x.user-x-2.users.users-2.users-round.utensils.utensils-crossed.utility-pole.van.variable.vault.vector-square.vegan.venetian-mask.venus.venus-and-mars.verified.vibrate.vibrate-off.video.video-off.videotape.view.voicemail.volleyball.volume.volume-1.volume-2.volume-off.volume-x.vote.wallet.wallet-2.wallet-cards.wallet-minimal.wallpaper.wand.wand-2.wand-sparkles.warehouse.washing-machine.watch.waves.waves-arrow-down.waves-arrow-up.waves-horizontal.waves-ladder.waves-vertical.waypoints.webcam.webcam-off.webhook.webhook-off.weight.weight-tilde.wheat.wheat-off.whole-word.wifi.wifi-cog.wifi-high.wifi-low.wifi-off.wifi-pen.wifi-sync.wifi-zero.wind.wind-arrow-down.wine.wine-off.workflow.worm.wrap-text.wrench.wrench-off.x.x-circle.x-line-top.x-octagon.x-square.zap.zap-off.zodiac-aquarius.zodiac-aries.zodiac-cancer.zodiac-capricorn.zodiac-gemini.zodiac-leo.zodiac-libra.zodiac-ophiuchus.zodiac-pisces.zodiac-sagittarius.zodiac-scorpio.zodiac-taurus.zodiac-virgo.zoom-in.zoom-out`.split(`.`)),Q=tm([`slate`,`gray`,`zinc`,`neutral`,`stone`,`red`,`orange`,`amber`,`yellow`,`lime`,`green`,`emerald`,`teal`,`cyan`,`sky`,`blue`,`indigo`,`violet`,`purple`,`fuchsia`,`pink`,`rose`,`black`,`white`]),Am=tm([`get`,`post`,`put`,`patch`,`delete`,`head`]),$=Tm(()=>Y({$schema:G().optional(),$ref:G().optional(),$defs:$p(G(),$).optional(),definitions:$p(G(),$).optional(),title:G().optional(),description:G().optional(),type:X([G(),J(G())]).optional(),enum:J(Hp()).optional(),const:Hp().optional(),default:Hp().optional(),format:G().optional(),properties:$p(G(),$).optional(),required:J(G()).optional(),additionalProperties:X([Rp(),$]).optional(),items:X([$,J($)]).optional(),prefixItems:J($).optional(),minItems:q().optional(),maxItems:q().optional(),minLength:q().optional(),maxLength:q().optional(),pattern:G().optional(),minimum:q().optional(),maximum:q().optional(),exclusiveMinimum:q().optional(),exclusiveMaximum:q().optional(),multipleOf:q().optional(),anyOf:J($).optional(),oneOf:J($).optional(),allOf:J($).optional(),not:$.optional()})),jm=Y({type:rm(`action`),id:G(),name:G(),description:G().nullable(),icon:Z.nullable(),color:Q.nullable(),method:Am,is_hidden:Rp(),form:$.nullable(),body:$.nullable(),query:$.nullable()});X([Y({icon:Z.optional(),color:Q.optional(),toast:G().optional(),table:Hp().optional(),message:G().optional()}),Bp(),G()]);var Mm=Y({type:rm(`area-chart`),id:G(),name:G(),description:G().nullable(),method:Am,form:$.nullable(),body:$.nullable(),query:$.nullable()}),Nm=Y({name:G().optional(),color:Q.optional(),icon:Z.optional()}),Pm=Y({type:rm(`bar-chart`),id:G(),name:G(),description:G().nullable(),config:$p(G(),Nm).nullable(),data_key:G().nullable(),icon:Z.nullable(),color:Q.nullable(),caption:G().nullable(),caption_description:G().nullable(),caption_icon:Z.nullable(),method:Am,form:$.nullable(),body:$.nullable(),query:$.nullable()}),Fm=X([J($p(G(),X([q(),G()]))),J($p(tm([`data`,`value`]),X([q(),G()]))),Hp()]);X([Fm,Y({config:$p(G(),Nm).optional(),icon:Z.optional(),color:Q.optional(),data:Fm})]);var Im=Y({reference:G().nullable().optional(),reference_field:G().optional(),icon:Z.optional(),color:Q.optional()}),Lm=Y({type:rm(`form`),id:G(),name:G(),description:G().nullable(),fields:$p(G(),Im).nullable(),icon:Z.nullable(),color:Q.nullable(),method:Am,is_hidden:Rp(),form:$.nullable(),body:$.nullable(),query:$.nullable()});X([Y({icon:Z.optional(),color:Q.optional(),toast:G().optional(),table:Hp().optional(),message:G().optional()}),Bp(),G()]);var Rm=Y({type:rm(`line-chart`),id:G(),name:G(),description:G().nullable(),method:Am,form:$.nullable(),body:$.nullable(),query:$.nullable()}),zm=Y({type:rm(`markdown`),id:G(),name:G(),description:G().nullable(),color:Q.nullable(),icon:Z.nullable(),method:Am,form:$.nullable(),body:$.nullable(),query:$.nullable()}),Bm=G();X([Bm,Y({icon:Z.optional(),color:Q.optional(),content:Bm})]);var Vm=Y({name:G().optional(),color:Q.optional(),icon:Z.optional()}),Hm=Y({type:rm(`pie-chart`),id:G(),name:G(),config:$p(G(),Vm).nullable(),icon:Z.nullable(),name_key:G().nullable(),value_key:G().nullable(),color:Q.nullable(),description:G().nullable(),caption:G().nullable(),caption_description:G().nullable(),caption_icon:Z.nullable(),method:Am,form:$.nullable(),body:$.nullable(),query:$.nullable()}),Um=X([J($p(G(),X([q(),G()]))),J($p(tm([`name`,`value`]),X([q(),G()]))),Hp()]);X([Um,Y({config:$p(G(),Vm).optional(),icon:Z.optional(),color:Q.optional(),data:Um})]);var Wm=Y({type:rm(`stat`),id:G(),icon:Z.nullable(),color:Q.nullable(),name:G(),description:G().nullable(),method:Am,form:$.nullable(),body:$.nullable(),query:$.nullable()}),Gm=X([G(),q(),Rp(),Bp()]);X([Gm,Y({value:Gm,icon:Z.optional(),color:Q.optional()})]);var Km=Y({type:rm(`table`),id:G(),name:G(),description:G().nullable(),icon:Z.nullable(),color:Q.nullable(),method:Am,is_hidden:Rp(),form:$.nullable(),body:$.nullable(),query:$.nullable()}),qm=X([G(),q(),Rp(),Bp()]),Jm=J(X([$p(G(),qm),Hp()]));X([Jm,Y({data:Jm,icon:Z.optional(),color:Q.optional()})]);var Ym=Yp(`type`,[Wm,Km,Mm,Pm,Rm,Hm,jm,Lm,zm]),Xm=Y({id:G(),name:G(),description:G().nullable(),icon:Z.nullable(),components:J(Ym)}),Zm=Y({id:G(),name:G(),description:G().nullable(),icon:Z.nullable(),pages:J(Xm)}),Qm=Y({version:G(),name:G(),id:G(),description:G().nullable().optional(),sections:J(Zm)}),$m=()=>Ks({queryKey:[`openadmin-spec`],queryFn:async()=>{let e=await fetch(`openadmin.json`),t=await e.json();if(!e.ok)throw km.parse(t);return Qm.parse(t)}});Co(rr({__name:`App`,setup(e){let{data:t,isLoading:n,error:r}=$m();return(e,i)=>(Gi(),Xi(zi,null,[i[0]||=ta(`h1`,null,`Hello`,-1),oa(` `+Ee(rn(n))+` `+Ee(JSON.stringify(rn(t)))+` `+Ee(rn(r)?.message),1)],64))}})).use(Ws).mount(`#app`);
|