@chorus-aidlc/chorus 0.16.2 → 0.16.3
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.
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-build-manifest.json +422 -411
- package/.next/standalone/.next/app-path-routes-manifest.json +48 -48
- package/.next/standalone/.next/build-manifest.json +5 -5
- package/.next/standalone/.next/prerender-manifest.json +36 -36
- package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/graph/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/graph/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/graph/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/page.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/settings/page.js +2 -2
- package/.next/standalone/.next/server/app/(dashboard)/settings/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +2 -2
- package/.next/standalone/.next/server/app/_not-found.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/companies/[uuid]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin/companies/new/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin/companies/new.html +2 -2
- package/.next/standalone/.next/server/app/admin/companies/new.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/companies/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin/companies.html +2 -2
- package/.next/standalone/.next/server/app/admin/companies.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin.html +2 -2
- package/.next/standalone/.next/server/app/admin.rsc +2 -2
- package/.next/standalone/.next/server/app/api/admin/companies/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/companies/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/login/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/session/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agent-connections/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/agent-connections/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[uuid]/sessions/route.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[uuid]/sessions/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/agents/[uuid]/sessions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/api-keys/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/api-keys/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/callback/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/check-default/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/company-oidc/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/default-login/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/identify/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/me/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/sync-token/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/comments/route.js +1 -1
- package/.next/standalone/.next/server/app/api/comments/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/comments/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/connection-heartbeat/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon/connection-heartbeat/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/control/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/directory-request/report/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon/directory-request/report/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/execution-state/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon/execution-state/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/executions/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon/executions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/pending-turns/route.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/pending-turns/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon/pending-turns/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/report-interrupt/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon/report-interrupt/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/resume/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon/resume/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/transcript/route.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/transcript/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon/transcript/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/turn-advance/route.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon/turn-advance/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon/turn-advance/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-directory-requests/[uuid]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon-directory-requests/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-directory-requests/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon-directory-requests/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/instruction/route.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/instruction/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/instruction/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/repoint/route.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/repoint/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/repoint/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/ad-hoc/route.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/ad-hoc/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/ad-hoc/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/route.js +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/daemon-sessions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/documents/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/entities/[type]/[uuid]/root-idea/route.js +1 -1
- package/.next/standalone/.next/server/app/api/entities/[type]/[uuid]/root-idea/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/entities/[type]/[uuid]/root-idea/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/events/notifications/route.js +1 -1
- package/.next/standalone/.next/server/app/api/events/notifications/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/events/notifications/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/events/route.js +1 -1
- package/.next/standalone/.next/server/app/api/events/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/events/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/claim/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/claim/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/claim/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/preview/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/preview/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/preview/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/parent/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/parent/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/parent/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/release/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/release/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/release/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/wake-preview/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/[uuid]/wake-preview/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/conversational/route.js +1 -1
- package/.next/standalone/.next/server/app/api/ideas/conversational/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ideas/conversational/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mcp/route.js +4 -4
- package/.next/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/mcp/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/me/assignments/route.js +1 -1
- package/.next/standalone/.next/server/app/api/me/assignments/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/me/assignments/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mentionables/route.js +1 -1
- package/.next/standalone/.next/server/app/api/mentionables/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/mentionables/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/[uuid]/archive/route.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/[uuid]/archive/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/notifications/[uuid]/archive/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/[uuid]/read/route.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/[uuid]/read/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/notifications/[uuid]/read/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/preferences/route.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/preferences/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/notifications/preferences/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/read-all/route.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/read-all/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/notifications/read-all/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/route.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/notifications/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/unread-count/route.js +1 -1
- package/.next/standalone/.next/server/app/api/notifications/unread-count/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/notifications/unread-count/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/[uuid]/dashboard/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-groups/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-visits/pin/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-visits/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/project-visits/visit/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/activity/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/agent-cwds/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/agent-cwds/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/available/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/available/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/available/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/documents/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/group/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/tracker/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/tracker/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/tracker/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/[proposalUuid]/validate/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/summary/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/resource-graph/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/resource-graph/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/resource-graph/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/stats/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/dependencies/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/dependencies/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/dependencies/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/agent-cwd-options/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/agent-cwd-options/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/approve/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/close/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/reject/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/revoke/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/proposals/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/references/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/references/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/session/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[uuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[uuid]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/claim/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/claim/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/claim/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/[dependsOnUuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/[dependsOnUuid]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/[dependsOnUuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/release/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/release/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/release/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/sessions/route.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/sessions/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[uuid]/sessions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/index.html +2 -2
- package/.next/standalone/.next/server/app/index.rsc +2 -2
- package/.next/standalone/.next/server/app/login/admin/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/admin.html +2 -2
- package/.next/standalone/.next/server/app/login/admin.rsc +2 -2
- package/.next/standalone/.next/server/app/login/callback/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/callback.html +2 -2
- package/.next/standalone/.next/server/app/login/callback.rsc +2 -2
- package/.next/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/pick-workspace/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login/pick-workspace.html +2 -2
- package/.next/standalone/.next/server/app/login/pick-workspace.rsc +2 -2
- package/.next/standalone/.next/server/app/login.html +2 -2
- package/.next/standalone/.next/server/app/login.rsc +2 -2
- package/.next/standalone/.next/server/app/onboarding/page.js +2 -2
- package/.next/standalone/.next/server/app/onboarding/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/onboarding.html +2 -2
- package/.next/standalone/.next/server/app/onboarding.rsc +3 -3
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects.html +2 -2
- package/.next/standalone/.next/server/app/projects.rsc +4 -4
- package/.next/standalone/.next/server/app/settings.html +2 -2
- package/.next/standalone/.next/server/app/settings.rsc +4 -4
- package/.next/standalone/.next/server/app-paths-manifest.json +48 -48
- package/.next/standalone/.next/server/chunks/1114.js +1 -0
- package/.next/standalone/.next/server/chunks/1318.js +1 -1
- package/.next/standalone/.next/server/chunks/1559.js +2 -2
- package/.next/standalone/.next/server/chunks/2572.js +1 -1
- package/.next/standalone/.next/server/chunks/2961.js +1 -1
- package/.next/standalone/.next/server/chunks/3594.js +1 -1
- package/.next/standalone/.next/server/chunks/4394.js +1 -1
- package/.next/standalone/.next/server/chunks/4827.js +1 -1
- package/.next/standalone/.next/server/chunks/5245.js +1 -1
- package/.next/standalone/.next/server/chunks/5351.js +1 -1
- package/.next/standalone/.next/server/chunks/{4011.js → 5489.js} +4 -4
- package/.next/standalone/.next/server/chunks/6113.js +1 -1
- package/.next/standalone/.next/server/chunks/6506.js +1 -1
- package/.next/standalone/.next/server/chunks/6667.js +1 -1
- package/.next/standalone/.next/server/chunks/6995.js +1 -1
- package/.next/standalone/.next/server/chunks/7368.js +1 -1
- package/.next/standalone/.next/server/chunks/7530.js +1 -1
- package/.next/standalone/.next/server/chunks/8044.js +1 -0
- package/.next/standalone/.next/server/chunks/920.js +1 -1
- package/.next/standalone/.next/server/chunks/9213.js +1 -1
- package/.next/standalone/.next/server/chunks/9378.js +1 -1
- package/.next/standalone/.next/server/chunks/951.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +1 -1
- package/.next/standalone/.next/server/middleware-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/404.html +2 -2
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/static/chunks/11595.97e534422c57aee1.js +1 -0
- package/.next/standalone/.next/static/chunks/17099-936da9caf4c119b8.js +1 -0
- package/.next/standalone/.next/static/chunks/18609-6c859f756d530e94.js +1 -0
- package/.next/standalone/.next/static/chunks/19887-c0bb297a78a1c7cd.js +1 -0
- package/.next/standalone/.next/static/chunks/20204-90d655ea14281e10.js +1 -0
- package/.next/standalone/.next/static/chunks/{53402-a54163001f3d953a.js → 27370-c056dee2016c9124.js} +1 -1
- package/.next/standalone/.next/static/chunks/{29108-b9b232255811ffa8.js → 29108-5a11eea003f4cc11.js} +1 -1
- package/.next/standalone/.next/static/chunks/29305-f587e7e81bc0b200.js +10 -0
- package/.next/standalone/.next/static/chunks/33456.6dc44a6aca1a01fd.js +1 -0
- package/.next/standalone/.next/static/chunks/35432-5c245212c7595169.js +1 -0
- package/.next/standalone/.next/static/chunks/45024-eb7c062d13d9fe08.js +1 -0
- package/.next/standalone/.next/static/chunks/46294-6ae5bd0480b1820f.js +1 -0
- package/.next/standalone/.next/static/chunks/4860.7873ebc9ba435c8c.js +1 -0
- package/.next/standalone/.next/static/chunks/53073-a7ed20af6538a178.js +1 -0
- package/.next/standalone/.next/static/chunks/65096-f756aac39efad7a3.js +1 -0
- package/.next/standalone/.next/static/chunks/6603-e70ddeab6ad09c50.js +1 -0
- package/.next/standalone/.next/static/chunks/67580-8733964ab2c7fc0e.js +1 -0
- package/.next/standalone/.next/static/chunks/7777-8b1b6681256e1534.js +1 -0
- package/.next/standalone/.next/static/chunks/78917-1b59cbb806b3ecfc.js +1 -0
- package/.next/standalone/.next/static/chunks/82751-3e161e1d8dbda3ac.js +1 -0
- package/.next/standalone/.next/static/chunks/94643-01be319472d751b3.js +1 -0
- package/.next/standalone/.next/static/chunks/99373.d0e808c18408b8da.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/{layout-cea0bb3e3a295bea.js → layout-b742c51c0a764daf.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/project-groups/[uuid]/page-974781e4886529f8.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/dashboard/{page-007278623926490f.js → page-f636e00c28f425ea.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page-c004f1a194af7fa5.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/page-425acbe9ade5fa83.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/graph/{page-f5a351c544ed23d7.js → page-fdd617457730a116.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page-6b3fb08d53826d02.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/page-0a6c2d0e1b68e0e4.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page-58b48aa0a11603c3.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/page-286faced32c6133f.js +1 -0
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/{page-7a5ef281f6819ed4.js → page-9d79e285b6fd2f8d.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/settings/page-1507a761e67c2aa9.js +1 -0
- package/.next/standalone/.next/static/chunks/app/onboarding/page-5c82cf3abd856301.js +1 -0
- package/.next/standalone/.next/static/chunks/f5a9da1f-6abf712b3f684cf9.js +1 -0
- package/.next/standalone/.next/static/chunks/{webpack-b54e0c78eded76be.js → webpack-fa066d7ff9ab2b29.js} +1 -1
- package/.next/standalone/.next/static/css/5f52bd39b284ccdf.css +1 -0
- package/.next/standalone/package.json +3 -1
- package/.next/standalone/public/chorus-plugin/.claude-plugin/plugin.json +1 -1
- package/.next/standalone/public/chorus-plugin/skills/brainstorm/SKILL.md +1 -1
- package/.next/standalone/public/chorus-plugin/skills/chorus/SKILL.md +2 -1
- package/.next/standalone/public/chorus-plugin/skills/develop/SKILL.md +1 -1
- package/.next/standalone/public/chorus-plugin/skills/docs/SKILL.md +1 -1
- package/.next/standalone/public/chorus-plugin/skills/idea/SKILL.md +5 -4
- package/.next/standalone/public/chorus-plugin/skills/openspec-aware/SKILL.md +1 -1
- package/.next/standalone/public/chorus-plugin/skills/orchestrate/SKILL.md +128 -0
- package/.next/standalone/public/chorus-plugin/skills/proposal/SKILL.md +1 -1
- package/.next/standalone/public/chorus-plugin/skills/quick-dev/SKILL.md +1 -1
- package/.next/standalone/public/chorus-plugin/skills/review/SKILL.md +1 -1
- package/.next/standalone/public/chorus-plugin/skills/yolo/SKILL.md +1 -1
- package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-brainstorm/SKILL.md +1 -1
- package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-develop/SKILL.md +1 -1
- package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-docs/SKILL.md +1 -1
- package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-idea/SKILL.md +5 -4
- package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-openspec-aware/SKILL.md +1 -1
- package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-orchestrate/SKILL.md +128 -0
- package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-proposal/SKILL.md +1 -1
- package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-quick-dev/SKILL.md +1 -1
- package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-review/SKILL.md +1 -1
- package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-yolo/SKILL.md +1 -1
- package/.next/standalone/public/kiro-plugin/.kiro/steering/chorus.md +2 -1
- package/.next/standalone/public/kiro-plugin/bin/chorus-api.sh +1 -1
- package/.next/standalone/public/skill/brainstorm-chorus/SKILL.md +1 -1
- package/.next/standalone/public/skill/chorus/SKILL.md +2 -1
- package/.next/standalone/public/skill/code-reviewer-chorus/SKILL.md +1 -1
- package/.next/standalone/public/skill/develop-chorus/SKILL.md +1 -1
- package/.next/standalone/public/skill/docs-chorus/SKILL.md +1 -1
- package/.next/standalone/public/skill/idea-chorus/SKILL.md +5 -4
- package/.next/standalone/public/skill/orchestrate-chorus/SKILL.md +128 -0
- package/.next/standalone/public/skill/proposal-chorus/SKILL.md +1 -1
- package/.next/standalone/public/skill/proposal-reviewer-chorus/SKILL.md +1 -1
- package/.next/standalone/public/skill/quick-dev-chorus/SKILL.md +1 -1
- package/.next/standalone/public/skill/review-chorus/SKILL.md +1 -1
- package/.next/standalone/public/skill/task-reviewer-chorus/SKILL.md +1 -1
- package/.next/standalone/public/skill/yolo-chorus/SKILL.md +1 -1
- package/cli/prompts.mjs +13 -3
- package/package.json +3 -1
- package/.next/standalone/.next/server/chunks/2463.js +0 -1
- package/.next/standalone/.next/server/chunks/5205.js +0 -1
- package/.next/standalone/.next/static/chunks/11595.b6f8ad33572b32fe.js +0 -1
- package/.next/standalone/.next/static/chunks/19887-9f459ee9e8d0855f.js +0 -1
- package/.next/standalone/.next/static/chunks/22987-8fd965ab4ff87546.js +0 -1
- package/.next/standalone/.next/static/chunks/33456.e8550ad410031e29.js +0 -1
- package/.next/standalone/.next/static/chunks/35432-ee83da56c49ef6f8.js +0 -1
- package/.next/standalone/.next/static/chunks/38296-316ba18af72385fb.js +0 -1
- package/.next/standalone/.next/static/chunks/4860.b405fc235b36271b.js +0 -1
- package/.next/standalone/.next/static/chunks/53073-5fd399cb25a11740.js +0 -1
- package/.next/standalone/.next/static/chunks/6603-07faab08560f7ecd.js +0 -1
- package/.next/standalone/.next/static/chunks/6698-1c55791b2d0820d5.js +0 -1
- package/.next/standalone/.next/static/chunks/66980-652990fcf3212c94.js +0 -10
- package/.next/standalone/.next/static/chunks/75137-c9e8422c9d4e1f52.js +0 -1
- package/.next/standalone/.next/static/chunks/7777-5dad34f6bdc13482.js +0 -1
- package/.next/standalone/.next/static/chunks/78917-7354d3b6908da7d1.js +0 -1
- package/.next/standalone/.next/static/chunks/82751-de255af4418d53e4.js +0 -1
- package/.next/standalone/.next/static/chunks/83285-db8ae107944eb6df.js +0 -1
- package/.next/standalone/.next/static/chunks/86155-c9b7c2c08d3fa80e.js +0 -1
- package/.next/standalone/.next/static/chunks/89836-b5ab6a0b32c54f42.js +0 -1
- package/.next/standalone/.next/static/chunks/94643-6d31df78aa3074b5.js +0 -1
- package/.next/standalone/.next/static/chunks/96170-75da13decdb6f73f.js +0 -1
- package/.next/standalone/.next/static/chunks/99373.9dce8f30802824fc.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/project-groups/[uuid]/page-7462c5eb92130796.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page-b6ecaf52f6b81ec7.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/page-82404154708e48a9.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page-3cd46bec9383b191.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/page-6abc7d1785e2b999.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page-7f87113e5d8bcf6e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/page-30ab1573c4bd466f.js +0 -1
- package/.next/standalone/.next/static/chunks/app/(dashboard)/settings/page-b21d4184d9ca0b25.js +0 -1
- package/.next/standalone/.next/static/chunks/app/onboarding/page-3b6c54f887108635.js +0 -1
- package/.next/standalone/.next/static/css/893d99a21153c9b0.css +0 -1
- /package/.next/standalone/.next/static/{YTZwWTfE0BsJnjCDYCEHi → K8qIdwvKoIWbwQ_f01mnM}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{YTZwWTfE0BsJnjCDYCEHi → K8qIdwvKoIWbwQ_f01mnM}/_ssgManifest.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
exports.id=4011,exports.ids=[4011],exports.modules={446:(a,b,c)=>{"use strict";c.d(b,{D0:()=>e,Rd:()=>d,lF:()=>g,xW:()=>f});let d=new TextEncoder,e=new TextDecoder;function f(...a){let b=new Uint8Array(a.reduce((a,{length:b})=>a+b,0)),c=0;for(let d of a)b.set(d,c),c+=d.length;return b}function g(a){let b=new Uint8Array(a.length);for(let c=0;c<a.length;c++){let d=a.charCodeAt(c);if(d>127)throw TypeError("non-ASCII string encountered in encode()");b[c]=d}return b}},906:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=Array.isArray},1106:(a,b,c)=>{"use strict";c.d(b,{H:()=>bN,r:()=>bM});var d,e=c(42292);function f(a){return null==a}function g(a){return"object"==typeof a&&null!==a}function h(a,b){var c,d="";for(c=0;c<b;c+=1)d+=a;return d}function i(a){return 0===a&&-1/0==1/a}(0,e.K2)(f,"isNothing"),(0,e.K2)(g,"isObject"),(0,e.K2)(function(a){return Array.isArray(a)?a:f(a)?[]:[a]},"toArray"),(0,e.K2)(function(a,b){var c,d,e,f;if(b)for(c=0,d=(f=Object.keys(b)).length;c<d;c+=1)a[e=f[c]]=b[e];return a},"extend"),(0,e.K2)(h,"repeat"),(0,e.K2)(i,"isNegativeZero");var j={isNothing:f,isObject:g,repeat:h,isNegativeZero:i};function k(a,b){var c="",d=a.reason||"(unknown reason)";return a.mark?(a.mark.name&&(c+='in "'+a.mark.name+'" '),c+="("+(a.mark.line+1)+":"+(a.mark.column+1)+")",!b&&a.mark.snippet&&(c+="\n\n"+a.mark.snippet),d+" "+c):d}function l(a,b){Error.call(this),this.name="YAMLException",this.reason=a,this.mark=b,this.message=k(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}function m(a,b,c,d,e){var f="",g="",h=Math.floor(e/2)-1;return d-b>h&&(b=d-h+(f=" ... ").length),c-d>h&&(c=d+h-(g=" ...").length),{str:f+a.slice(b,c).replace(/\t/g,"→")+g,pos:d-b+f.length}}function n(a,b){return j.repeat(" ",b-a.length)+a}function o(a,b){if(b=Object.create(b||null),!a.buffer)return null;b.maxLength||(b.maxLength=79),"number"!=typeof b.indent&&(b.indent=1),"number"!=typeof b.linesBefore&&(b.linesBefore=3),"number"!=typeof b.linesAfter&&(b.linesAfter=2);for(var c=/\r?\n|\r|\0/g,d=[0],e=[],f=-1;g=c.exec(a.buffer);)e.push(g.index),d.push(g.index+g[0].length),a.position<=g.index&&f<0&&(f=d.length-2);f<0&&(f=d.length-1);var g,h,i,k="",l=Math.min(a.line+b.linesAfter,e.length).toString().length,o=b.maxLength-(b.indent+l+3);for(h=1;h<=b.linesBefore&&!(f-h<0);h++)i=m(a.buffer,d[f-h],e[f-h],a.position-(d[f]-d[f-h]),o),k=j.repeat(" ",b.indent)+n((a.line-h+1).toString(),l)+" | "+i.str+"\n"+k;for(i=m(a.buffer,d[f],e[f],a.position,o),k+=j.repeat(" ",b.indent)+n((a.line+1).toString(),l)+" | "+i.str+"\n"+j.repeat("-",b.indent+l+3+i.pos)+"^\n",h=1;h<=b.linesAfter&&!(f+h>=e.length);h++)i=m(a.buffer,d[f+h],e[f+h],a.position-(d[f]-d[f+h]),o),k+=j.repeat(" ",b.indent)+n((a.line+h+1).toString(),l)+" | "+i.str+"\n";return k.replace(/\n$/,"")}(0,e.K2)(k,"formatError"),(0,e.K2)(l,"YAMLException$1"),l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,l.prototype.toString=(0,e.K2)(function(a){return this.name+": "+k(this,a)},"toString"),(0,e.K2)(m,"getLine"),(0,e.K2)(n,"padStart"),(0,e.K2)(o,"makeSnippet");var p=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],q=["scalar","sequence","mapping"];function r(a){var b={};return null!==a&&Object.keys(a).forEach(function(c){a[c].forEach(function(a){b[String(a)]=c})}),b}function s(a,b){if(Object.keys(b=b||{}).forEach(function(b){if(-1===p.indexOf(b))throw new l('Unknown option "'+b+'" is met in definition of "'+a+'" YAML type.')}),this.options=b,this.tag=a,this.kind=b.kind||null,this.resolve=b.resolve||function(){return!0},this.construct=b.construct||function(a){return a},this.instanceOf=b.instanceOf||null,this.predicate=b.predicate||null,this.represent=b.represent||null,this.representName=b.representName||null,this.defaultStyle=b.defaultStyle||null,this.multi=b.multi||!1,this.styleAliases=r(b.styleAliases||null),-1===q.indexOf(this.kind))throw new l('Unknown kind "'+this.kind+'" is specified for "'+a+'" YAML type.')}function t(a,b){var c=[];return a[b].forEach(function(a){var b=c.length;c.forEach(function(c,d){c.tag===a.tag&&c.kind===a.kind&&c.multi===a.multi&&(b=d)}),c[b]=a}),c}function u(){var a,b,c={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function d(a){a.multi?(c.multi[a.kind].push(a),c.multi.fallback.push(a)):c[a.kind][a.tag]=c.fallback[a.tag]=a}for((0,e.K2)(d,"collectType"),a=0,b=arguments.length;a<b;a+=1)arguments[a].forEach(d);return c}function v(a){return this.extend(a)}(0,e.K2)(r,"compileStyleAliases"),(0,e.K2)(s,"Type$1"),(0,e.K2)(t,"compileList"),(0,e.K2)(u,"compileMap"),(0,e.K2)(v,"Schema$1"),v.prototype.extend=(0,e.K2)(function(a){var b=[],c=[];if(a instanceof s)c.push(a);else if(Array.isArray(a))c=c.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(b=b.concat(a.implicit)),a.explicit&&(c=c.concat(a.explicit));else throw new l("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");b.forEach(function(a){if(!(a instanceof s))throw new l("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(a.loadKind&&"scalar"!==a.loadKind)throw new l("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(a.multi)throw new l("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),c.forEach(function(a){if(!(a instanceof s))throw new l("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var d=Object.create(v.prototype);return d.implicit=(this.implicit||[]).concat(b),d.explicit=(this.explicit||[]).concat(c),d.compiledImplicit=t(d,"implicit"),d.compiledExplicit=t(d,"explicit"),d.compiledTypeMap=u(d.compiledImplicit,d.compiledExplicit),d},"extend");var w=new v({explicit:[new s("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,e.K2)(function(a){return null!==a?a:""},"construct")}),new s("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,e.K2)(function(a){return null!==a?a:[]},"construct")}),new s("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,e.K2)(function(a){return null!==a?a:{}},"construct")})]});function x(a){if(null===a)return!0;var b=a.length;return 1===b&&"~"===a||4===b&&("null"===a||"Null"===a||"NULL"===a)}function y(){return null}function z(a){return null===a}(0,e.K2)(x,"resolveYamlNull"),(0,e.K2)(y,"constructYamlNull"),(0,e.K2)(z,"isNull");var A=new s("tag:yaml.org,2002:null",{kind:"scalar",resolve:x,construct:y,predicate:z,represent:{canonical:(0,e.K2)(function(){return"~"},"canonical"),lowercase:(0,e.K2)(function(){return"null"},"lowercase"),uppercase:(0,e.K2)(function(){return"NULL"},"uppercase"),camelcase:(0,e.K2)(function(){return"Null"},"camelcase"),empty:(0,e.K2)(function(){return""},"empty")},defaultStyle:"lowercase"});function B(a){if(null===a)return!1;var b=a.length;return 4===b&&("true"===a||"True"===a||"TRUE"===a)||5===b&&("false"===a||"False"===a||"FALSE"===a)}function C(a){return"true"===a||"True"===a||"TRUE"===a}function D(a){return"[object Boolean]"===Object.prototype.toString.call(a)}(0,e.K2)(B,"resolveYamlBoolean"),(0,e.K2)(C,"constructYamlBoolean"),(0,e.K2)(D,"isBoolean");var E=new s("tag:yaml.org,2002:bool",{kind:"scalar",resolve:B,construct:C,predicate:D,represent:{lowercase:(0,e.K2)(function(a){return a?"true":"false"},"lowercase"),uppercase:(0,e.K2)(function(a){return a?"TRUE":"FALSE"},"uppercase"),camelcase:(0,e.K2)(function(a){return a?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function F(a){return 48<=a&&a<=57||65<=a&&a<=70||97<=a&&a<=102}function G(a){return 48<=a&&a<=55}function H(a){return 48<=a&&a<=57}function I(a){if(null===a)return!1;var b,c=a.length,d=0,e=!1;if(!c)return!1;if(("-"===(b=a[d])||"+"===b)&&(b=a[++d]),"0"===b){if(d+1===c)return!0;if("b"===(b=a[++d])){for(d++;d<c;d++)if("_"!==(b=a[d])){if("0"!==b&&"1"!==b)return!1;e=!0}return e&&"_"!==b}if("x"===b){for(d++;d<c;d++)if("_"!==(b=a[d])){if(!F(a.charCodeAt(d)))return!1;e=!0}return e&&"_"!==b}if("o"===b){for(d++;d<c;d++)if("_"!==(b=a[d])){if(!G(a.charCodeAt(d)))return!1;e=!0}return e&&"_"!==b}}if("_"===b)return!1;for(;d<c;d++)if("_"!==(b=a[d])){if(!H(a.charCodeAt(d)))return!1;e=!0}return!!e&&"_"!==b}function J(a){var b,c=a,d=1;if(-1!==c.indexOf("_")&&(c=c.replace(/_/g,"")),("-"===(b=c[0])||"+"===b)&&("-"===b&&(d=-1),b=(c=c.slice(1))[0]),"0"===c)return 0;if("0"===b){if("b"===c[1])return d*parseInt(c.slice(2),2);if("x"===c[1])return d*parseInt(c.slice(2),16);if("o"===c[1])return d*parseInt(c.slice(2),8)}return d*parseInt(c,10)}function K(a){return"[object Number]"===Object.prototype.toString.call(a)&&a%1==0&&!j.isNegativeZero(a)}(0,e.K2)(F,"isHexCode"),(0,e.K2)(G,"isOctCode"),(0,e.K2)(H,"isDecCode"),(0,e.K2)(I,"resolveYamlInteger"),(0,e.K2)(J,"constructYamlInteger"),(0,e.K2)(K,"isInteger");var L=new s("tag:yaml.org,2002:int",{kind:"scalar",resolve:I,construct:J,predicate:K,represent:{binary:(0,e.K2)(function(a){return a>=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},"binary"),octal:(0,e.K2)(function(a){return a>=0?"0o"+a.toString(8):"-0o"+a.toString(8).slice(1)},"octal"),decimal:(0,e.K2)(function(a){return a.toString(10)},"decimal"),hexadecimal:(0,e.K2)(function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),M=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function N(a){return null!==a&&!!M.test(a)&&"_"!==a[a.length-1]}function O(a){var b,c;return(c="-"===(b=a.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(b[0])>=0&&(b=b.slice(1)),".inf"===b)?1===c?1/0:-1/0:".nan"===b?NaN:c*parseFloat(b,10)}(0,e.K2)(N,"resolveYamlFloat"),(0,e.K2)(O,"constructYamlFloat");var P=/^[-+]?[0-9]+e/;function Q(a,b){var c;if(isNaN(a))switch(b){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===a)switch(b){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===a)switch(b){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(j.isNegativeZero(a))return"-0.0";return c=a.toString(10),P.test(c)?c.replace("e",".e"):c}function R(a){return"[object Number]"===Object.prototype.toString.call(a)&&(a%1!=0||j.isNegativeZero(a))}(0,e.K2)(Q,"representYamlFloat"),(0,e.K2)(R,"isFloat");var S=new s("tag:yaml.org,2002:float",{kind:"scalar",resolve:N,construct:O,predicate:R,represent:Q,defaultStyle:"lowercase"}),T=w.extend({implicit:[A,E,L,S]}),U=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),V=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function W(a){return null!==a&&(null!==U.exec(a)||null!==V.exec(a))}function X(a){var b,c,d,e,f,g,h,i,j=0,k=null;if(null===(b=U.exec(a))&&(b=V.exec(a)),null===b)throw Error("Date resolve error");if(c=+b[1],d=b[2]-1,e=+b[3],!b[4])return new Date(Date.UTC(c,d,e));if(f=+b[4],g=+b[5],h=+b[6],b[7]){for(j=b[7].slice(0,3);j.length<3;)j+="0";j*=1}return b[9]&&(k=(60*b[10]+ +(b[11]||0))*6e4,"-"===b[9]&&(k=-k)),i=new Date(Date.UTC(c,d,e,f,g,h,j)),k&&i.setTime(i.getTime()-k),i}function Y(a){return a.toISOString()}(0,e.K2)(W,"resolveYamlTimestamp"),(0,e.K2)(X,"constructYamlTimestamp"),(0,e.K2)(Y,"representYamlTimestamp");var Z=new s("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:W,construct:X,instanceOf:Date,represent:Y});function $(a){return"<<"===a||null===a}(0,e.K2)($,"resolveYamlMerge");var _=new s("tag:yaml.org,2002:merge",{kind:"scalar",resolve:$}),aa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function ab(a){if(null===a)return!1;var b,c,d=0,e=a.length;for(c=0;c<e;c++)if(!((b=aa.indexOf(a.charAt(c)))>64)){if(b<0)return!1;d+=6}return d%8==0}function ac(a){var b,c,d=a.replace(/[\r\n=]/g,""),e=d.length,f=0,g=[];for(b=0;b<e;b++)b%4==0&&b&&(g.push(f>>16&255),g.push(f>>8&255),g.push(255&f)),f=f<<6|aa.indexOf(d.charAt(b));return 0==(c=e%4*6)?(g.push(f>>16&255),g.push(f>>8&255),g.push(255&f)):18===c?(g.push(f>>10&255),g.push(f>>2&255)):12===c&&g.push(f>>4&255),new Uint8Array(g)}function ad(a){var b,c,d="",e=0,f=a.length;for(b=0;b<f;b++)b%3==0&&b&&(d+=aa[e>>18&63],d+=aa[e>>12&63],d+=aa[e>>6&63],d+=aa[63&e]),e=(e<<8)+a[b];return 0==(c=f%3)?(d+=aa[e>>18&63],d+=aa[e>>12&63],d+=aa[e>>6&63],d+=aa[63&e]):2===c?(d+=aa[e>>10&63],d+=aa[e>>4&63],d+=aa[e<<2&63],d+=aa[64]):1===c&&(d+=aa[e>>2&63],d+=aa[e<<4&63],d+=aa[64],d+=aa[64]),d}function ae(a){return"[object Uint8Array]"===Object.prototype.toString.call(a)}(0,e.K2)(ab,"resolveYamlBinary"),(0,e.K2)(ac,"constructYamlBinary"),(0,e.K2)(ad,"representYamlBinary"),(0,e.K2)(ae,"isBinary");var af=new s("tag:yaml.org,2002:binary",{kind:"scalar",resolve:ab,construct:ac,predicate:ae,represent:ad}),ag=Object.prototype.hasOwnProperty,ah=Object.prototype.toString;function ai(a){if(null===a)return!0;var b,c,d,e,f,g=[];for(b=0,c=a.length;b<c;b+=1){if(d=a[b],f=!1,"[object Object]"!==ah.call(d))return!1;for(e in d)if(ag.call(d,e))if(f)return!1;else f=!0;if(!f||-1!==g.indexOf(e))return!1;g.push(e)}return!0}function aj(a){return null!==a?a:[]}(0,e.K2)(ai,"resolveYamlOmap"),(0,e.K2)(aj,"constructYamlOmap");var ak=new s("tag:yaml.org,2002:omap",{kind:"sequence",resolve:ai,construct:aj}),al=Object.prototype.toString;function am(a){var b,c,d,e,f;if(null===a)return!0;for(b=0,f=Array(a.length),c=a.length;b<c;b+=1){if(d=a[b],"[object Object]"!==al.call(d)||1!==(e=Object.keys(d)).length)return!1;f[b]=[e[0],d[e[0]]]}return!0}function an(a){var b,c,d,e,f;if(null===a)return[];for(b=0,f=Array(a.length),c=a.length;b<c;b+=1)e=Object.keys(d=a[b]),f[b]=[e[0],d[e[0]]];return f}(0,e.K2)(am,"resolveYamlPairs"),(0,e.K2)(an,"constructYamlPairs");var ao=new s("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:am,construct:an}),ap=Object.prototype.hasOwnProperty;function aq(a){var b;if(null===a)return!0;for(b in a)if(ap.call(a,b)&&null!==a[b])return!1;return!0}function ar(a){return null!==a?a:{}}(0,e.K2)(aq,"resolveYamlSet"),(0,e.K2)(ar,"constructYamlSet");var as=new s("tag:yaml.org,2002:set",{kind:"mapping",resolve:aq,construct:ar}),at=T.extend({implicit:[Z,_],explicit:[af,ak,ao,as]}),au=Object.prototype.hasOwnProperty,av=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,aw=/[\x85\u2028\u2029]/,ax=/[,\[\]\{\}]/,ay=/^(?:!|!!|![a-z\-]+!)$/i,az=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function aA(a){return Object.prototype.toString.call(a)}function aB(a){return 10===a||13===a}function aC(a){return 9===a||32===a}function aD(a){return 9===a||32===a||10===a||13===a}function aE(a){return 44===a||91===a||93===a||123===a||125===a}function aF(a){var b;return 48<=a&&a<=57?a-48:97<=(b=32|a)&&b<=102?b-97+10:-1}function aG(a){return 120===a?2:117===a?4:8*(85===a)}function aH(a){return 48<=a&&a<=57?a-48:-1}function aI(a){return 48===a?"\0":97===a?"\x07":98===a?"\b":116===a||9===a?" ":110===a?"\n":118===a?"\v":102===a?"\f":114===a?"\r":101===a?"\x1b":32===a?" ":34===a?'"':47===a?"/":92===a?"\\":78===a?"\x85":95===a?"\xa0":76===a?"\u2028":80===a?"\u2029":""}function aJ(a){return a<=65535?String.fromCharCode(a):String.fromCharCode((a-65536>>10)+55296,(a-65536&1023)+56320)}function aK(a,b,c){"__proto__"===b?Object.defineProperty(a,b,{configurable:!0,enumerable:!0,writable:!0,value:c}):a[b]=c}(0,e.K2)(aA,"_class"),(0,e.K2)(aB,"is_EOL"),(0,e.K2)(aC,"is_WHITE_SPACE"),(0,e.K2)(aD,"is_WS_OR_EOL"),(0,e.K2)(aE,"is_FLOW_INDICATOR"),(0,e.K2)(aF,"fromHexCode"),(0,e.K2)(aG,"escapedHexLen"),(0,e.K2)(aH,"fromDecimalCode"),(0,e.K2)(aI,"simpleEscapeSequence"),(0,e.K2)(aJ,"charFromCodepoint"),(0,e.K2)(aK,"setProperty");var aL=Array(256),aM=Array(256);for(d=0;d<256;d++)aL[d]=+!!aI(d),aM[d]=aI(d);function aN(a,b){this.input=a,this.filename=b.filename||null,this.schema=b.schema||at,this.onWarning=b.onWarning||null,this.legacy=b.legacy||!1,this.json=b.json||!1,this.listener=b.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=a.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function aO(a,b){var c={name:a.filename,buffer:a.input.slice(0,-1),position:a.position,line:a.line,column:a.position-a.lineStart};return c.snippet=o(c),new l(b,c)}function aP(a,b){throw aO(a,b)}function aQ(a,b){a.onWarning&&a.onWarning.call(null,aO(a,b))}(0,e.K2)(aN,"State$1"),(0,e.K2)(aO,"generateError"),(0,e.K2)(aP,"throwError"),(0,e.K2)(aQ,"throwWarning");var aR={YAML:(0,e.K2)(function(a,b,c){var d,e,f;null!==a.version&&aP(a,"duplication of %YAML directive"),1!==c.length&&aP(a,"YAML directive accepts exactly one argument"),null===(d=/^([0-9]+)\.([0-9]+)$/.exec(c[0]))&&aP(a,"ill-formed argument of the YAML directive"),e=parseInt(d[1],10),f=parseInt(d[2],10),1!==e&&aP(a,"unacceptable YAML version of the document"),a.version=c[0],a.checkLineBreaks=f<2,1!==f&&2!==f&&aQ(a,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,e.K2)(function(a,b,c){var d,e;2!==c.length&&aP(a,"TAG directive accepts exactly two arguments"),d=c[0],e=c[1],ay.test(d)||aP(a,"ill-formed tag handle (first argument) of the TAG directive"),au.call(a.tagMap,d)&&aP(a,'there is a previously declared suffix for "'+d+'" tag handle'),az.test(e)||aP(a,"ill-formed tag prefix (second argument) of the TAG directive");try{e=decodeURIComponent(e)}catch(b){aP(a,"tag prefix is malformed: "+e)}a.tagMap[d]=e},"handleTagDirective")};function aS(a,b,c,d){var e,f,g,h;if(b<c){if(h=a.input.slice(b,c),d)for(e=0,f=h.length;e<f;e+=1)9===(g=h.charCodeAt(e))||32<=g&&g<=1114111||aP(a,"expected valid JSON character");else av.test(h)&&aP(a,"the stream contains non-printable characters");a.result+=h}}function aT(a,b,c,d){var e,f,g,h;for(j.isObject(c)||aP(a,"cannot merge mappings; the provided source object is unacceptable"),g=0,h=(e=Object.keys(c)).length;g<h;g+=1)f=e[g],au.call(b,f)||(aK(b,f,c[f]),d[f]=!0)}function aU(a,b,c,d,e,f,g,h,i){var j,k;if(Array.isArray(e))for(j=0,k=(e=Array.prototype.slice.call(e)).length;j<k;j+=1)Array.isArray(e[j])&&aP(a,"nested arrays are not supported inside keys"),"object"==typeof e&&"[object Object]"===aA(e[j])&&(e[j]="[object Object]");if("object"==typeof e&&"[object Object]"===aA(e)&&(e="[object Object]"),e=String(e),null===b&&(b={}),"tag:yaml.org,2002:merge"===d)if(Array.isArray(f))for(j=0,k=f.length;j<k;j+=1)aT(a,b,f[j],c);else aT(a,b,f,c);else!a.json&&!au.call(c,e)&&au.call(b,e)&&(a.line=g||a.line,a.lineStart=h||a.lineStart,a.position=i||a.position,aP(a,"duplicated mapping key")),aK(b,e,f),delete c[e];return b}function aV(a){var b;10===(b=a.input.charCodeAt(a.position))?a.position++:13===b?(a.position++,10===a.input.charCodeAt(a.position)&&a.position++):aP(a,"a line break is expected"),a.line+=1,a.lineStart=a.position,a.firstTabInLine=-1}function aW(a,b,c){for(var d=0,e=a.input.charCodeAt(a.position);0!==e;){for(;aC(e);)9===e&&-1===a.firstTabInLine&&(a.firstTabInLine=a.position),e=a.input.charCodeAt(++a.position);if(b&&35===e)do e=a.input.charCodeAt(++a.position);while(10!==e&&13!==e&&0!==e);if(aB(e))for(aV(a),e=a.input.charCodeAt(a.position),d++,a.lineIndent=0;32===e;)a.lineIndent++,e=a.input.charCodeAt(++a.position);else break}return -1!==c&&0!==d&&a.lineIndent<c&&aQ(a,"deficient indentation"),d}function aX(a){var b,c=a.position;return!!((45===(b=a.input.charCodeAt(c))||46===b)&&b===a.input.charCodeAt(c+1)&&b===a.input.charCodeAt(c+2)&&(c+=3,0===(b=a.input.charCodeAt(c))||aD(b)))||!1}function aY(a,b){1===b?a.result+=" ":b>1&&(a.result+=j.repeat("\n",b-1))}function aZ(a,b,c){var d,e,f,g,h,i,j,k,l=a.kind,m=a.result;if(aD(k=a.input.charCodeAt(a.position))||aE(k)||35===k||38===k||42===k||33===k||124===k||62===k||39===k||34===k||37===k||64===k||96===k||(63===k||45===k)&&(aD(d=a.input.charCodeAt(a.position+1))||c&&aE(d)))return!1;for(a.kind="scalar",a.result="",e=f=a.position,g=!1;0!==k;){if(58===k){if(aD(d=a.input.charCodeAt(a.position+1))||c&&aE(d))break}else if(35===k){if(aD(a.input.charCodeAt(a.position-1)))break}else if(a.position===a.lineStart&&aX(a)||c&&aE(k))break;else if(aB(k)){if(h=a.line,i=a.lineStart,j=a.lineIndent,aW(a,!1,-1),a.lineIndent>=b){g=!0,k=a.input.charCodeAt(a.position);continue}a.position=f,a.line=h,a.lineStart=i,a.lineIndent=j;break}g&&(aS(a,e,f,!1),aY(a,a.line-h),e=f=a.position,g=!1),aC(k)||(f=a.position+1),k=a.input.charCodeAt(++a.position)}return aS(a,e,f,!1),!!a.result||(a.kind=l,a.result=m,!1)}function a$(a,b){var c,d,e;if(39!==(c=a.input.charCodeAt(a.position)))return!1;for(a.kind="scalar",a.result="",a.position++,d=e=a.position;0!==(c=a.input.charCodeAt(a.position));)if(39===c){if(aS(a,d,a.position,!0),39!==(c=a.input.charCodeAt(++a.position)))return!0;d=a.position,a.position++,e=a.position}else aB(c)?(aS(a,d,e,!0),aY(a,aW(a,!1,b)),d=e=a.position):a.position===a.lineStart&&aX(a)?aP(a,"unexpected end of the document within a single quoted scalar"):(a.position++,e=a.position);aP(a,"unexpected end of the stream within a single quoted scalar")}function a_(a,b){var c,d,e,f,g,h;if(34!==(h=a.input.charCodeAt(a.position)))return!1;for(a.kind="scalar",a.result="",a.position++,c=d=a.position;0!==(h=a.input.charCodeAt(a.position));)if(34===h)return aS(a,c,a.position,!0),a.position++,!0;else if(92===h){if(aS(a,c,a.position,!0),aB(h=a.input.charCodeAt(++a.position)))aW(a,!1,b);else if(h<256&&aL[h])a.result+=aM[h],a.position++;else if((g=aG(h))>0){for(e=g,f=0;e>0;e--)(g=aF(h=a.input.charCodeAt(++a.position)))>=0?f=(f<<4)+g:aP(a,"expected hexadecimal character");a.result+=aJ(f),a.position++}else aP(a,"unknown escape sequence");c=d=a.position}else aB(h)?(aS(a,c,d,!0),aY(a,aW(a,!1,b)),c=d=a.position):a.position===a.lineStart&&aX(a)?aP(a,"unexpected end of the document within a double quoted scalar"):(a.position++,d=a.position);aP(a,"unexpected end of the stream within a double quoted scalar")}function a0(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o=!0,p=a.tag,q=a.anchor,r=Object.create(null);if(91===(n=a.input.charCodeAt(a.position)))g=93,j=!1,f=[];else{if(123!==n)return!1;g=125,j=!0,f={}}for(null!==a.anchor&&(a.anchorMap[a.anchor]=f),n=a.input.charCodeAt(++a.position);0!==n;){if(aW(a,!0,b),(n=a.input.charCodeAt(a.position))===g)return a.position++,a.tag=p,a.anchor=q,a.kind=j?"mapping":"sequence",a.result=f,!0;o?44===n&&aP(a,"expected the node content, but found ','"):aP(a,"missed comma between flow collection entries"),l=k=m=null,h=i=!1,63===n&&aD(a.input.charCodeAt(a.position+1))&&(h=i=!0,a.position++,aW(a,!0,b)),c=a.line,d=a.lineStart,e=a.position,a7(a,b,1,!1,!0),l=a.tag,k=a.result,aW(a,!0,b),n=a.input.charCodeAt(a.position),(i||a.line===c)&&58===n&&(h=!0,n=a.input.charCodeAt(++a.position),aW(a,!0,b),a7(a,b,1,!1,!0),m=a.result),j?aU(a,f,r,l,k,m,c,d,e):h?f.push(aU(a,null,r,l,k,m,c,d,e)):f.push(k),aW(a,!0,b),44===(n=a.input.charCodeAt(a.position))?(o=!0,n=a.input.charCodeAt(++a.position)):o=!1}aP(a,"unexpected end of the stream within a flow collection")}function a1(a,b){var c,d,e,f,g=1,h=!1,i=!1,k=b,l=0,m=!1;if(124===(f=a.input.charCodeAt(a.position)))d=!1;else{if(62!==f)return!1;d=!0}for(a.kind="scalar",a.result="";0!==f;)if(43===(f=a.input.charCodeAt(++a.position))||45===f)1===g?g=43===f?3:2:aP(a,"repeat of a chomping mode identifier");else if((e=aH(f))>=0)0===e?aP(a,"bad explicit indentation width of a block scalar; it cannot be less than one"):i?aP(a,"repeat of an indentation width identifier"):(k=b+e-1,i=!0);else break;if(aC(f)){do f=a.input.charCodeAt(++a.position);while(aC(f));if(35===f)do f=a.input.charCodeAt(++a.position);while(!aB(f)&&0!==f)}for(;0!==f;){for(aV(a),a.lineIndent=0,f=a.input.charCodeAt(a.position);(!i||a.lineIndent<k)&&32===f;)a.lineIndent++,f=a.input.charCodeAt(++a.position);if(!i&&a.lineIndent>k&&(k=a.lineIndent),aB(f)){l++;continue}if(a.lineIndent<k){3===g?a.result+=j.repeat("\n",h?1+l:l):1===g&&h&&(a.result+="\n");break}for(d?aC(f)?(m=!0,a.result+=j.repeat("\n",h?1+l:l)):m?(m=!1,a.result+=j.repeat("\n",l+1)):0===l?h&&(a.result+=" "):a.result+=j.repeat("\n",l):a.result+=j.repeat("\n",h?1+l:l),h=!0,i=!0,l=0,c=a.position;!aB(f)&&0!==f;)f=a.input.charCodeAt(++a.position);aS(a,c,a.position,!1)}return!0}function a2(a,b){var c,d,e=a.tag,f=a.anchor,g=[],h=!1;if(-1!==a.firstTabInLine)return!1;for(null!==a.anchor&&(a.anchorMap[a.anchor]=g),d=a.input.charCodeAt(a.position);0!==d&&(-1!==a.firstTabInLine&&(a.position=a.firstTabInLine,aP(a,"tab characters must not be used in indentation")),45===d&&aD(a.input.charCodeAt(a.position+1)));){if(h=!0,a.position++,aW(a,!0,-1)&&a.lineIndent<=b){g.push(null),d=a.input.charCodeAt(a.position);continue}if(c=a.line,a7(a,b,3,!1,!0),g.push(a.result),aW(a,!0,-1),d=a.input.charCodeAt(a.position),(a.line===c||a.lineIndent>b)&&0!==d)aP(a,"bad indentation of a sequence entry");else if(a.lineIndent<b)break}return!!h&&(a.tag=e,a.anchor=f,a.kind="sequence",a.result=g,!0)}function a3(a,b,c){var d,e,f,g,h,i,j,k=a.tag,l=a.anchor,m={},n=Object.create(null),o=null,p=null,q=null,r=!1,s=!1;if(-1!==a.firstTabInLine)return!1;for(null!==a.anchor&&(a.anchorMap[a.anchor]=m),j=a.input.charCodeAt(a.position);0!==j;){if(r||-1===a.firstTabInLine||(a.position=a.firstTabInLine,aP(a,"tab characters must not be used in indentation")),d=a.input.charCodeAt(a.position+1),f=a.line,(63===j||58===j)&&aD(d))63===j?(r&&(aU(a,m,n,o,p,null,g,h,i),o=p=q=null),s=!0,r=!0,e=!0):r?(r=!1,e=!0):aP(a,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),a.position+=1,j=d;else{if(g=a.line,h=a.lineStart,i=a.position,!a7(a,c,2,!1,!0))break;if(a.line===f){for(j=a.input.charCodeAt(a.position);aC(j);)j=a.input.charCodeAt(++a.position);if(58===j)aD(j=a.input.charCodeAt(++a.position))||aP(a,"a whitespace character is expected after the key-value separator within a block mapping"),r&&(aU(a,m,n,o,p,null,g,h,i),o=p=q=null),s=!0,r=!1,e=!1,o=a.tag,p=a.result;else{if(!s)return a.tag=k,a.anchor=l,!0;aP(a,"can not read an implicit mapping pair; a colon is missed")}}else{if(!s)return a.tag=k,a.anchor=l,!0;aP(a,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((a.line===f||a.lineIndent>b)&&(r&&(g=a.line,h=a.lineStart,i=a.position),a7(a,b,4,!0,e)&&(r?p=a.result:q=a.result),r||(aU(a,m,n,o,p,q,g,h,i),o=p=q=null),aW(a,!0,-1),j=a.input.charCodeAt(a.position)),(a.line===f||a.lineIndent>b)&&0!==j)aP(a,"bad indentation of a mapping entry");else if(a.lineIndent<b)break}return r&&aU(a,m,n,o,p,null,g,h,i),s&&(a.tag=k,a.anchor=l,a.kind="mapping",a.result=m),s}function a4(a){var b,c,d,e,f=!1,g=!1;if(33!==(e=a.input.charCodeAt(a.position)))return!1;if(null!==a.tag&&aP(a,"duplication of a tag property"),60===(e=a.input.charCodeAt(++a.position))?(f=!0,e=a.input.charCodeAt(++a.position)):33===e?(g=!0,c="!!",e=a.input.charCodeAt(++a.position)):c="!",b=a.position,f){do e=a.input.charCodeAt(++a.position);while(0!==e&&62!==e);a.position<a.length?(d=a.input.slice(b,a.position),e=a.input.charCodeAt(++a.position)):aP(a,"unexpected end of the stream within a verbatim tag")}else{for(;0!==e&&!aD(e);)33===e&&(g?aP(a,"tag suffix cannot contain exclamation marks"):(c=a.input.slice(b-1,a.position+1),ay.test(c)||aP(a,"named tag handle cannot contain such characters"),g=!0,b=a.position+1)),e=a.input.charCodeAt(++a.position);d=a.input.slice(b,a.position),ax.test(d)&&aP(a,"tag suffix cannot contain flow indicator characters")}d&&!az.test(d)&&aP(a,"tag name cannot contain such characters: "+d);try{d=decodeURIComponent(d)}catch(b){aP(a,"tag name is malformed: "+d)}return f?a.tag=d:au.call(a.tagMap,c)?a.tag=a.tagMap[c]+d:"!"===c?a.tag="!"+d:"!!"===c?a.tag="tag:yaml.org,2002:"+d:aP(a,'undeclared tag handle "'+c+'"'),!0}function a5(a){var b,c;if(38!==(c=a.input.charCodeAt(a.position)))return!1;for(null!==a.anchor&&aP(a,"duplication of an anchor property"),c=a.input.charCodeAt(++a.position),b=a.position;0!==c&&!aD(c)&&!aE(c);)c=a.input.charCodeAt(++a.position);return a.position===b&&aP(a,"name of an anchor node must contain at least one character"),a.anchor=a.input.slice(b,a.position),!0}function a6(a){var b,c,d;if(42!==(d=a.input.charCodeAt(a.position)))return!1;for(d=a.input.charCodeAt(++a.position),b=a.position;0!==d&&!aD(d)&&!aE(d);)d=a.input.charCodeAt(++a.position);return a.position===b&&aP(a,"name of an alias node must contain at least one character"),c=a.input.slice(b,a.position),au.call(a.anchorMap,c)||aP(a,'unidentified alias "'+c+'"'),a.result=a.anchorMap[c],aW(a,!0,-1),!0}function a7(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o=1,p=!1,q=!1;if(null!==a.listener&&a.listener("open",a),a.tag=null,a.anchor=null,a.kind=null,a.result=null,f=g=h=4===c||3===c,d&&aW(a,!0,-1)&&(p=!0,a.lineIndent>b?o=1:a.lineIndent===b?o=0:a.lineIndent<b&&(o=-1)),1===o)for(;a4(a)||a5(a);)aW(a,!0,-1)?(p=!0,h=f,a.lineIndent>b?o=1:a.lineIndent===b?o=0:a.lineIndent<b&&(o=-1)):h=!1;if(h&&(h=p||e),(1===o||4===c)&&(m=1===c||2===c?b:b+1,n=a.position-a.lineStart,1===o?h&&(a2(a,n)||a3(a,n,m))||a0(a,m)?q=!0:(g&&a1(a,m)||a$(a,m)||a_(a,m)?q=!0:a6(a)?(q=!0,(null!==a.tag||null!==a.anchor)&&aP(a,"alias node should not have any properties")):aZ(a,m,1===c)&&(q=!0,null===a.tag&&(a.tag="?")),null!==a.anchor&&(a.anchorMap[a.anchor]=a.result)):0===o&&(q=h&&a2(a,n))),null===a.tag)null!==a.anchor&&(a.anchorMap[a.anchor]=a.result);else if("?"===a.tag){for(null!==a.result&&"scalar"!==a.kind&&aP(a,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+a.kind+'"'),i=0,j=a.implicitTypes.length;i<j;i+=1)if((l=a.implicitTypes[i]).resolve(a.result)){a.result=l.construct(a.result),a.tag=l.tag,null!==a.anchor&&(a.anchorMap[a.anchor]=a.result);break}}else if("!"!==a.tag){if(au.call(a.typeMap[a.kind||"fallback"],a.tag))l=a.typeMap[a.kind||"fallback"][a.tag];else for(i=0,l=null,j=(k=a.typeMap.multi[a.kind||"fallback"]).length;i<j;i+=1)if(a.tag.slice(0,k[i].tag.length)===k[i].tag){l=k[i];break}l||aP(a,"unknown tag !<"+a.tag+">"),null!==a.result&&l.kind!==a.kind&&aP(a,"unacceptable node kind for !<"+a.tag+'> tag; it should be "'+l.kind+'", not "'+a.kind+'"'),l.resolve(a.result,a.tag)?(a.result=l.construct(a.result,a.tag),null!==a.anchor&&(a.anchorMap[a.anchor]=a.result)):aP(a,"cannot resolve a node with !<"+a.tag+"> explicit tag")}return null!==a.listener&&a.listener("close",a),null!==a.tag||null!==a.anchor||q}function a8(a){var b,c,d,e,f=a.position,g=!1;for(a.version=null,a.checkLineBreaks=a.legacy,a.tagMap=Object.create(null),a.anchorMap=Object.create(null);0!==(e=a.input.charCodeAt(a.position))&&(aW(a,!0,-1),e=a.input.charCodeAt(a.position),!(a.lineIndent>0)&&37===e);){for(g=!0,e=a.input.charCodeAt(++a.position),b=a.position;0!==e&&!aD(e);)e=a.input.charCodeAt(++a.position);for(c=a.input.slice(b,a.position),d=[],c.length<1&&aP(a,"directive name must not be less than one character in length");0!==e;){for(;aC(e);)e=a.input.charCodeAt(++a.position);if(35===e){do e=a.input.charCodeAt(++a.position);while(0!==e&&!aB(e));break}if(aB(e))break;for(b=a.position;0!==e&&!aD(e);)e=a.input.charCodeAt(++a.position);d.push(a.input.slice(b,a.position))}0!==e&&aV(a),au.call(aR,c)?aR[c](a,c,d):aQ(a,'unknown document directive "'+c+'"')}if(aW(a,!0,-1),0===a.lineIndent&&45===a.input.charCodeAt(a.position)&&45===a.input.charCodeAt(a.position+1)&&45===a.input.charCodeAt(a.position+2)?(a.position+=3,aW(a,!0,-1)):g&&aP(a,"directives end mark is expected"),a7(a,a.lineIndent-1,4,!1,!0),aW(a,!0,-1),a.checkLineBreaks&&aw.test(a.input.slice(f,a.position))&&aQ(a,"non-ASCII line breaks are interpreted as content"),a.documents.push(a.result),a.position===a.lineStart&&aX(a)){46===a.input.charCodeAt(a.position)&&(a.position+=3,aW(a,!0,-1));return}a.position<a.length-1&&aP(a,"end of the stream or a document separator is expected")}function a9(a,b){a=String(a),b=b||{},0!==a.length&&(10!==a.charCodeAt(a.length-1)&&13!==a.charCodeAt(a.length-1)&&(a+="\n"),65279===a.charCodeAt(0)&&(a=a.slice(1)));var c=new aN(a,b),d=a.indexOf("\0");for(-1!==d&&(c.position=d,aP(c,"null byte is not allowed in input")),c.input+="\0";32===c.input.charCodeAt(c.position);)c.lineIndent+=1,c.position+=1;for(;c.position<c.length-1;)a8(c);return c.documents}function ba(a,b,c){null!==b&&"object"==typeof b&&void 0===c&&(c=b,b=null);var d=a9(a,c);if("function"!=typeof b)return d;for(var e=0,f=d.length;e<f;e+=1)b(d[e])}function bb(a,b){var c=a9(a,b);if(0!==c.length){if(1===c.length)return c[0];throw new l("expected a single document in the stream, but found more")}}(0,e.K2)(aS,"captureSegment"),(0,e.K2)(aT,"mergeMappings"),(0,e.K2)(aU,"storeMappingPair"),(0,e.K2)(aV,"readLineBreak"),(0,e.K2)(aW,"skipSeparationSpace"),(0,e.K2)(aX,"testDocumentSeparator"),(0,e.K2)(aY,"writeFoldedLines"),(0,e.K2)(aZ,"readPlainScalar"),(0,e.K2)(a$,"readSingleQuotedScalar"),(0,e.K2)(a_,"readDoubleQuotedScalar"),(0,e.K2)(a0,"readFlowCollection"),(0,e.K2)(a1,"readBlockScalar"),(0,e.K2)(a2,"readBlockSequence"),(0,e.K2)(a3,"readBlockMapping"),(0,e.K2)(a4,"readTagProperty"),(0,e.K2)(a5,"readAnchorProperty"),(0,e.K2)(a6,"readAlias"),(0,e.K2)(a7,"composeNode"),(0,e.K2)(a8,"readDocument"),(0,e.K2)(a9,"loadDocuments"),(0,e.K2)(ba,"loadAll$1"),(0,e.K2)(bb,"load$1");var bc={loadAll:ba,load:bb},bd=Object.prototype.toString,be=Object.prototype.hasOwnProperty,bf={};bf[0]="\\0",bf[7]="\\a",bf[8]="\\b",bf[9]="\\t",bf[10]="\\n",bf[11]="\\v",bf[12]="\\f",bf[13]="\\r",bf[27]="\\e",bf[34]='\\"',bf[92]="\\\\",bf[133]="\\N",bf[160]="\\_",bf[8232]="\\L",bf[8233]="\\P";var bg=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],bh=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function bi(a,b){var c,d,e,f,g,h,i;if(null===b)return{};for(e=0,c={},f=(d=Object.keys(b)).length;e<f;e+=1)h=String(b[g=d[e]]),"!!"===g.slice(0,2)&&(g="tag:yaml.org,2002:"+g.slice(2)),(i=a.compiledTypeMap.fallback[g])&&be.call(i.styleAliases,h)&&(h=i.styleAliases[h]),c[g]=h;return c}function bj(a){var b,c,d;if(b=a.toString(16).toUpperCase(),a<=255)c="x",d=2;else if(a<=65535)c="u",d=4;else if(a<=0xffffffff)c="U",d=8;else throw new l("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+c+j.repeat("0",d-b.length)+b}function bk(a){this.schema=a.schema||at,this.indent=Math.max(1,a.indent||2),this.noArrayIndent=a.noArrayIndent||!1,this.skipInvalid=a.skipInvalid||!1,this.flowLevel=j.isNothing(a.flowLevel)?-1:a.flowLevel,this.styleMap=bi(this.schema,a.styles||null),this.sortKeys=a.sortKeys||!1,this.lineWidth=a.lineWidth||80,this.noRefs=a.noRefs||!1,this.noCompatMode=a.noCompatMode||!1,this.condenseFlow=a.condenseFlow||!1,this.quotingType='"'===a.quotingType?2:1,this.forceQuotes=a.forceQuotes||!1,this.replacer="function"==typeof a.replacer?a.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function bl(a,b){for(var c,d=j.repeat(" ",b),e=0,f=-1,g="",h=a.length;e<h;)-1===(f=a.indexOf("\n",e))?(c=a.slice(e),e=h):(c=a.slice(e,f+1),e=f+1),c.length&&"\n"!==c&&(g+=d),g+=c;return g}function bm(a,b){return"\n"+j.repeat(" ",a.indent*b)}function bn(a,b){var c,d;for(c=0,d=a.implicitTypes.length;c<d;c+=1)if(a.implicitTypes[c].resolve(b))return!0;return!1}function bo(a){return 32===a||9===a}function bp(a){return 32<=a&&a<=126||161<=a&&a<=55295&&8232!==a&&8233!==a||57344<=a&&a<=65533&&65279!==a||65536<=a&&a<=1114111}function bq(a){return bp(a)&&65279!==a&&13!==a&&10!==a}function br(a,b,c){var d=bq(a),e=d&&!bo(a);return(c?d:d&&44!==a&&91!==a&&93!==a&&123!==a&&125!==a)&&35!==a&&!(58===b&&!e)||bq(b)&&!bo(b)&&35===a||58===b&&e}function bs(a){return bp(a)&&65279!==a&&!bo(a)&&45!==a&&63!==a&&58!==a&&44!==a&&91!==a&&93!==a&&123!==a&&125!==a&&35!==a&&38!==a&&42!==a&&33!==a&&124!==a&&61!==a&&62!==a&&39!==a&&34!==a&&37!==a&&64!==a&&96!==a}function bt(a){return!bo(a)&&58!==a}function bu(a,b){var c,d=a.charCodeAt(b);return d>=55296&&d<=56319&&b+1<a.length&&(c=a.charCodeAt(b+1))>=56320&&c<=57343?(d-55296)*1024+c-56320+65536:d}function bv(a){return/^\n* /.test(a)}function bw(a,b,c,d,e,f,g,h){var i,j=0,k=null,l=!1,m=!1,n=-1!==d,o=-1,p=bs(bu(a,0))&&bt(bu(a,a.length-1));if(b||g)for(i=0;i<a.length;j>=65536?i+=2:i++){if(!bp(j=bu(a,i)))return 5;p=p&&br(j,k,h),k=j}else{for(i=0;i<a.length;j>=65536?i+=2:i++){if(10===(j=bu(a,i)))l=!0,n&&(m=m||i-o-1>d&&" "!==a[o+1],o=i);else if(!bp(j))return 5;p=p&&br(j,k,h),k=j}m=m||n&&i-o-1>d&&" "!==a[o+1]}return l||m?c>9&&bv(a)?5:g?2===f?5:2:m?4:3:!p||g||e(a)?2===f?5:2:1}function bx(a,b,c,d,f){a.dump=function(){if(0===b.length)return 2===a.quotingType?'""':"''";if(!a.noCompatMode&&(-1!==bg.indexOf(b)||bh.test(b)))return 2===a.quotingType?'"'+b+'"':"'"+b+"'";var g=a.indent*Math.max(1,c),h=-1===a.lineWidth?-1:Math.max(Math.min(a.lineWidth,40),a.lineWidth-g),i=d||a.flowLevel>-1&&c>=a.flowLevel;function j(b){return bn(a,b)}switch((0,e.K2)(j,"testAmbiguity"),bw(b,i,a.indent,h,j,a.quotingType,a.forceQuotes&&!d,f)){case 1:return b;case 2:return"'"+b.replace(/'/g,"''")+"'";case 3:return"|"+by(b,a.indent)+bz(bl(b,g));case 4:return">"+by(b,a.indent)+bz(bl(bA(b,h),g));case 5:return'"'+bC(b)+'"';default:throw new l("impossible error: invalid scalar style")}}()}function by(a,b){var c=bv(a)?String(b):"",d="\n"===a[a.length-1];return c+(d&&("\n"===a[a.length-2]||"\n"===a)?"+":d?"":"-")+"\n"}function bz(a){return"\n"===a[a.length-1]?a.slice(0,-1):a}function bA(a,b){for(var c,d,e,f=/(\n+)([^\n]*)/g,g=(f.lastIndex=c=-1!==(c=a.indexOf("\n"))?c:a.length,bB(a.slice(0,c),b)),h="\n"===a[0]||" "===a[0];e=f.exec(a);){var i=e[1],j=e[2];d=" "===j[0],g+=i+(h||d||""===j?"":"\n")+bB(j,b),h=d}return g}function bB(a,b){if(""===a||" "===a[0])return a;for(var c,d,e=/ [^ ]/g,f=0,g=0,h=0,i="";c=e.exec(a);)(h=c.index)-f>b&&(d=g>f?g:h,i+="\n"+a.slice(f,d),f=d+1),g=h;return i+="\n",a.length-f>b&&g>f?i+=a.slice(f,g)+"\n"+a.slice(g+1):i+=a.slice(f),i.slice(1)}function bC(a){for(var b,c="",d=0,e=0;e<a.length;d>=65536?e+=2:e++)!(b=bf[d=bu(a,e)])&&bp(d)?(c+=a[e],d>=65536&&(c+=a[e+1])):c+=b||bj(d);return c}function bD(a,b,c){var d,e,f,g="",h=a.tag;for(d=0,e=c.length;d<e;d+=1)f=c[d],a.replacer&&(f=a.replacer.call(c,String(d),f)),(bI(a,b,f,!1,!1)||void 0===f&&bI(a,b,null,!1,!1))&&(""!==g&&(g+=","+(a.condenseFlow?"":" ")),g+=a.dump);a.tag=h,a.dump="["+g+"]"}function bE(a,b,c,d){var e,f,g,h="",i=a.tag;for(e=0,f=c.length;e<f;e+=1)g=c[e],a.replacer&&(g=a.replacer.call(c,String(e),g)),(bI(a,b+1,g,!0,!0,!1,!0)||void 0===g&&bI(a,b+1,null,!0,!0,!1,!0))&&(d&&""===h||(h+=bm(a,b)),a.dump&&10===a.dump.charCodeAt(0)?h+="-":h+="- ",h+=a.dump);a.tag=i,a.dump=h||"[]"}function bF(a,b,c){var d,e,f,g,h,i="",j=a.tag,k=Object.keys(c);for(d=0,e=k.length;d<e;d+=1)h="",""!==i&&(h+=", "),a.condenseFlow&&(h+='"'),g=c[f=k[d]],a.replacer&&(g=a.replacer.call(c,f,g)),bI(a,b,f,!1,!1)&&(a.dump.length>1024&&(h+="? "),h+=a.dump+(a.condenseFlow?'"':"")+":"+(a.condenseFlow?"":" "),bI(a,b,g,!1,!1)&&(h+=a.dump,i+=h));a.tag=j,a.dump="{"+i+"}"}function bG(a,b,c,d){var e,f,g,h,i,j,k="",m=a.tag,n=Object.keys(c);if(!0===a.sortKeys)n.sort();else if("function"==typeof a.sortKeys)n.sort(a.sortKeys);else if(a.sortKeys)throw new l("sortKeys must be a boolean or a function");for(e=0,f=n.length;e<f;e+=1)j="",d&&""===k||(j+=bm(a,b)),h=c[g=n[e]],a.replacer&&(h=a.replacer.call(c,g,h)),bI(a,b+1,g,!0,!0,!0)&&((i=null!==a.tag&&"?"!==a.tag||a.dump&&a.dump.length>1024)&&(a.dump&&10===a.dump.charCodeAt(0)?j+="?":j+="? "),j+=a.dump,i&&(j+=bm(a,b)),bI(a,b+1,h,!0,i)&&(a.dump&&10===a.dump.charCodeAt(0)?j+=":":j+=": ",j+=a.dump,k+=j));a.tag=m,a.dump=k||"{}"}function bH(a,b,c){var d,e,f,g,h,i;for(f=0,g=(e=c?a.explicitTypes:a.implicitTypes).length;f<g;f+=1)if(((h=e[f]).instanceOf||h.predicate)&&(!h.instanceOf||"object"==typeof b&&b instanceof h.instanceOf)&&(!h.predicate||h.predicate(b))){if(c?h.multi&&h.representName?a.tag=h.representName(b):a.tag=h.tag:a.tag="?",h.represent){if(i=a.styleMap[h.tag]||h.defaultStyle,"[object Function]"===bd.call(h.represent))d=h.represent(b,i);else if(be.call(h.represent,i))d=h.represent[i](b,i);else throw new l("!<"+h.tag+'> tag resolver accepts not "'+i+'" style');a.dump=d}return!0}return!1}function bI(a,b,c,d,e,f,g){a.tag=null,a.dump=c,bH(a,c,!1)||bH(a,c,!0);var h=bd.call(a.dump),i=d;d&&(d=a.flowLevel<0||a.flowLevel>b);var j,k,m,n="[object Object]"===h||"[object Array]"===h;if(n&&(m=-1!==(k=a.duplicates.indexOf(c))),(null!==a.tag&&"?"!==a.tag||m||2!==a.indent&&b>0)&&(e=!1),m&&a.usedDuplicates[k])a.dump="*ref_"+k;else{if(n&&m&&!a.usedDuplicates[k]&&(a.usedDuplicates[k]=!0),"[object Object]"===h)d&&0!==Object.keys(a.dump).length?(bG(a,b,a.dump,e),m&&(a.dump="&ref_"+k+a.dump)):(bF(a,b,a.dump),m&&(a.dump="&ref_"+k+" "+a.dump));else if("[object Array]"===h)d&&0!==a.dump.length?(a.noArrayIndent&&!g&&b>0?bE(a,b-1,a.dump,e):bE(a,b,a.dump,e),m&&(a.dump="&ref_"+k+a.dump)):(bD(a,b,a.dump),m&&(a.dump="&ref_"+k+" "+a.dump));else if("[object String]"===h)"?"!==a.tag&&bx(a,a.dump,b,f,i);else{if("[object Undefined]"===h||a.skipInvalid)return!1;throw new l("unacceptable kind of an object to dump "+h)}null!==a.tag&&"?"!==a.tag&&(j=encodeURI("!"===a.tag[0]?a.tag.slice(1):a.tag).replace(/!/g,"%21"),j="!"===a.tag[0]?"!"+j:"tag:yaml.org,2002:"===j.slice(0,18)?"!!"+j.slice(18):"!<"+j+">",a.dump=j+" "+a.dump)}return!0}function bJ(a,b){var c,d,e=[],f=[];for(bK(a,e,f),c=0,d=f.length;c<d;c+=1)b.duplicates.push(e[f[c]]);b.usedDuplicates=Array(d)}function bK(a,b,c){var d,e,f;if(null!==a&&"object"==typeof a)if(-1!==(e=b.indexOf(a)))-1===c.indexOf(e)&&c.push(e);else if(b.push(a),Array.isArray(a))for(e=0,f=a.length;e<f;e+=1)bK(a[e],b,c);else for(e=0,f=(d=Object.keys(a)).length;e<f;e+=1)bK(a[d[e]],b,c)}(0,e.K2)(bi,"compileStyleMap"),(0,e.K2)(bj,"encodeHex"),(0,e.K2)(bk,"State"),(0,e.K2)(bl,"indentString"),(0,e.K2)(bm,"generateNextLine"),(0,e.K2)(bn,"testImplicitResolving"),(0,e.K2)(bo,"isWhitespace"),(0,e.K2)(bp,"isPrintable"),(0,e.K2)(bq,"isNsCharOrWhitespace"),(0,e.K2)(br,"isPlainSafe"),(0,e.K2)(bs,"isPlainSafeFirst"),(0,e.K2)(bt,"isPlainSafeLast"),(0,e.K2)(bu,"codePointAt"),(0,e.K2)(bv,"needIndentIndicator");function bL(a,b){return function(){throw Error("Function yaml."+a+" is removed in js-yaml 4. Use yaml."+b+" instead, which is now safe by default.")}}(0,e.K2)(bw,"chooseScalarStyle"),(0,e.K2)(bx,"writeScalar"),(0,e.K2)(by,"blockHeader"),(0,e.K2)(bz,"dropEndingNewline"),(0,e.K2)(bA,"foldString"),(0,e.K2)(bB,"foldLine"),(0,e.K2)(bC,"escapeString"),(0,e.K2)(bD,"writeFlowSequence"),(0,e.K2)(bE,"writeBlockSequence"),(0,e.K2)(bF,"writeFlowMapping"),(0,e.K2)(bG,"writeBlockMapping"),(0,e.K2)(bH,"detectType"),(0,e.K2)(bI,"writeNode"),(0,e.K2)(bJ,"getDuplicateReferences"),(0,e.K2)(bK,"inspectNode"),(0,e.K2)(function(a,b){var c=new bk(b=b||{});c.noRefs||bJ(a,c);var d=a;return(c.replacer&&(d=c.replacer.call({"":d},"",d)),bI(c,0,d,!0,!0))?c.dump+"\n":""},"dump$1"),(0,e.K2)(bL,"renamed");var bM=T,bN=bc.load;bc.loadAll,bL("safeLoad","load"),bL("safeLoadAll","loadAll"),bL("safeDump","dump")},1175:(a,b)=>{"use strict";function c(a){let b=null!=a;return function(c){let d=c.length-1;if(1===d)return[];if("}"!==c[d])throw Error("Invalid array text - must end with }");let e=0;if("["===c[0]&&(e=c.indexOf("=")+1),"{"!==c[e++])throw Error("Invalid array text - must start with {");let f=[],g=f,h=[],i=e,j="",k=!0;for(;e<d;++e){let f=c[e];if('"'===f){i=++e;let d=c.indexOf('"',i),f=c.indexOf("\\",i);for(;-1!==f&&f<d;)e=f,j+=c.slice(i,e),i=++e,d===e++&&(d=c.indexOf('"',e)),f=c.indexOf("\\",e);e=d,j+=c.slice(i,e),g.push(b?a(j):j),j="",k=!1}else if("{"===f){let a=[];g.push(a),h.push(g),g=a,i=e+1,k=!0}else if(","===f)k=!0;else if("}"===f){k=!1;let a=h.pop();if(void 0===a)throw Error("Invalid array text - too many '}'");g=a}else if(k){for(i=e;","!==(f=c[e])&&"}"!==f&&e<d;)++e;let h=c.slice(i,e--);g.push("NULL"===h?null:b?a(h):h),k=!1}else throw Error("Was expecting delimeter")}return f}}let d=c();b.q=(a,b)=>null!=b?c(b)(a):d(a)},1384:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("hard-drive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},1707:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(93123).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},1836:(a,b,c)=>{"use strict";function d(a){return"object"==typeof a&&null!==a}c.d(b,{G:()=>d})},1997:(a,b,c)=>{"use strict";function d(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];var d=Array.from("string"==typeof a?[a]:a);d[d.length-1]=d[d.length-1].replace(/\r?\n([\t ]*)$/,"");var e=d.reduce(function(a,b){var c=b.match(/\n([\t ]+|(?!\s).)/g);return c?a.concat(c.map(function(a){var b,c;return null!=(c=null==(b=a.match(/[\t ]/g))?void 0:b.length)?c:0})):a},[]);if(e.length){var f=RegExp("\n[ ]{"+Math.min.apply(Math,e)+"}","g");d=d.map(function(a){return a.replace(f,"\n")})}d[0]=d[0].replace(/^\r?\n/,"");var g=d[0];return b.forEach(function(a,b){var c=g.match(/(?:^|\n)( *)$/),e=c?c[1]:"",f=a;"string"==typeof a&&a.includes("\n")&&(f=String(a).split("\n").map(function(a,b){return 0===b?a:""+e+a}).join("\n")),g+=f+d[b+1]}),g}c.d(b,{T:()=>d})},2613:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(80080)},3671:(a,b,c)=>{"use strict";a.exports=c(50650)},3753:(a,b,c)=>{"use strict";c.d(b,{BM:()=>h,CW:()=>d,Ee:()=>l,HP:()=>k,JQ:()=>g,Ny:()=>o,On:()=>m,cx:()=>f,es:()=>n,lV:()=>e,ok:()=>i,ol:()=>j});let d=p(/[A-Za-z]/),e=p(/[\dA-Za-z]/),f=p(/[#-'*+\--9=?A-Z^-~]/);function g(a){return null!==a&&(a<32||127===a)}let h=p(/\d/),i=p(/[\dA-Fa-f]/),j=p(/[!-/:-@[-`{-~]/);function k(a){return null!==a&&a<-2}function l(a){return null!==a&&(a<0||32===a)}function m(a){return -2===a||-1===a||32===a}let n=p(/\p{P}|\p{S}/u),o=p(/\s/);function p(a){return function(b){return null!==b&&b>-1&&a.test(String.fromCharCode(b))}}},4045:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},4283:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]])},4291:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.SentinelIterator=void 0;let d=c(91645),e=c(86944),f=c(34631),g=c(68375);b.SentinelIterator=g.default;let h=c(53932),i=c(81931),j=c(29725),k=(0,e.Debug)("SentinelConnector");class l extends h.default{constructor(a){if(super(a.disconnectTimeout),this.options=a,this.emitter=null,this.failoverDetector=null,!this.options.sentinels.length)throw Error("Requires at least one sentinel to connect to.");if(!this.options.name)throw Error("Requires the name of master.");this.sentinelIterator=new g.default(this.options.sentinels)}check(a){let b=!a.role||this.options.role===a.role;return b||(k("role invalid, expected %s, but got %s",this.options.role,a.role),this.sentinelIterator.next(),this.sentinelIterator.next(),this.sentinelIterator.reset(!0)),b}disconnect(){super.disconnect(),this.failoverDetector&&this.failoverDetector.cleanup()}connect(a){let b;this.connecting=!0,this.retryAttempts=0;let c=async()=>{let g=this.sentinelIterator.next();if(g.done){this.sentinelIterator.reset(!1);let d="function"==typeof this.options.sentinelRetryStrategy?this.options.sentinelRetryStrategy(++this.retryAttempts):null,e="number"!=typeof d?"All sentinels are unreachable and retry is disabled.":`All sentinels are unreachable. Retrying from scratch after ${d}ms.`;b&&(e+=` Last error: ${b.message}`),k(e);let f=Error(e);if("number"==typeof d)return a("error",f),await new Promise(a=>setTimeout(a,d)),c();throw f}let h=null,i=null;try{h=await this.resolve(g.value)}catch(a){i=a}if(!this.connecting)throw Error(e.CONNECTION_CLOSED_ERROR_MSG);let j=g.value.host+":"+g.value.port;if(h)return k("resolved: %s:%s from sentinel %s",h.host,h.port,j),this.options.enableTLSForSentinelMode&&this.options.tls?(Object.assign(h,this.options.tls),this.stream=(0,f.connect)(h),this.stream.once("secureConnect",this.initFailoverDetector.bind(this))):(this.stream=(0,d.createConnection)(h),this.stream.once("connect",this.initFailoverDetector.bind(this))),this.stream.once("error",a=>{this.firstError=a}),this.stream;{let d=i?"failed to connect to sentinel "+j+" because "+i.message:"connected to sentinel "+j+" successfully, but got an invalid reply: "+h;return k(d),a("sentinelError",Error(d)),i&&(b=i),c()}};return c()}async updateSentinels(a){if(!this.options.updateSentinels)return;let b=await a.sentinel("sentinels",this.options.name);Array.isArray(b)&&(b.map(e.packObject).forEach(a=>{if(-1===(a.flags?a.flags.split(","):[]).indexOf("disconnected")&&a.ip&&a.port){let b=this.sentinelNatResolve(m(a));this.sentinelIterator.add(b)&&k("adding sentinel %s:%s",b.host,b.port)}}),k("Updated internal sentinels: %s",this.sentinelIterator))}async resolveMaster(a){let b=await a.sentinel("get-master-addr-by-name",this.options.name);return await this.updateSentinels(a),this.sentinelNatResolve(Array.isArray(b)?{host:b[0],port:Number(b[1])}:null)}async resolveSlave(a){let b=await a.sentinel("slaves",this.options.name);if(!Array.isArray(b))return null;let c=b.map(e.packObject).filter(a=>a.flags&&!a.flags.match(/(disconnected|s_down|o_down)/));return this.sentinelNatResolve(function(a,b){let c;if(0===a.length)return null;if("function"==typeof b)c=b(a);else if(null!==b&&"object"==typeof b){let d=Array.isArray(b)?b:[b];d.sort((a,b)=>(a.prio||(a.prio=1),b.prio||(b.prio=1),a.prio<b.prio)?-1:+(a.prio>b.prio));for(let b=0;b<d.length;b++){for(let e=0;e<a.length;e++){let f=a[e];if(f.ip===d[b].ip&&f.port===d[b].port){c=f;break}}if(c)break}}return c||(c=(0,e.sample)(a)),m(c)}(c,this.options.preferredSlaves))}sentinelNatResolve(a){if(!a||!this.options.natMap)return a;let b=`${a.host}:${a.port}`,c=a;return"function"==typeof this.options.natMap?c=this.options.natMap(b)||a:"object"==typeof this.options.natMap&&(c=this.options.natMap[b]||a),c}connectToSentinel(a,b){return new i.default({port:a.port||26379,host:a.host,username:this.options.sentinelUsername||null,password:this.options.sentinelPassword||null,family:a.family||("path"in this.options&&this.options.path?void 0:this.options.family),tls:this.options.sentinelTLS,retryStrategy:null,enableReadyCheck:!1,connectTimeout:this.options.connectTimeout,commandTimeout:this.options.sentinelCommandTimeout,...b})}async resolve(a){let b=this.connectToSentinel(a);b.on("error",n);try{if("slave"===this.options.role)return await this.resolveSlave(b);return await this.resolveMaster(b)}finally{b.disconnect()}}async initFailoverDetector(){var a;if(!this.options.failoverDetector)return;this.sentinelIterator.reset(!0);let b=[];for(;b.length<this.options.sentinelMaxConnections;){let{done:a,value:c}=this.sentinelIterator.next();if(a)break;let d=this.connectToSentinel(c,{lazyConnect:!0,retryStrategy:this.options.sentinelReconnectStrategy});d.on("reconnecting",()=>{var a;null==(a=this.emitter)||a.emit("sentinelReconnecting")}),b.push({address:c,client:d})}this.sentinelIterator.reset(!1),this.failoverDetector&&this.failoverDetector.cleanup(),this.failoverDetector=new j.FailoverDetector(this,b),await this.failoverDetector.subscribe(),null==(a=this.emitter)||a.emit("failoverSubscribed")}}function m(a){return{host:a.ip,port:Number(a.port)}}function n(){}b.default=l},4343:(a,b,c)=>{"use strict";c.d(b,{YR:()=>e});var d=c(91618);function e(a,b,c,e){let f,g,h;"function"==typeof b&&"function"!=typeof c?(g=void 0,h=b,f=c):(g=b,h=c,f=e),(0,d.VG)(a,g,function(a,b){let c=b[b.length-1],d=c?c.children.indexOf(a):void 0;return h(a,d,c)},f)}},4531:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(55511),e=c(36385),f=c(65078);class g{constructor(a,b=null,c="",f=!1){this.lua=a,this.numberOfKeys=b,this.keyPrefix=c,this.readOnly=f,this.sha=(0,d.createHash)("sha1").update(a).digest("hex");let g=this.sha,h=new WeakSet;this.Command=class extends e.default{toWritable(b){let c=this.reject;return this.reject=a=>{-1!==a.message.indexOf("NOSCRIPT")&&h.delete(b),c.call(this,a)},h.has(b)?"eval"===this.name&&(this.name="evalsha",this.args[0]=g):(h.add(b),this.name="eval",this.args[0]=a),super.toWritable(b)}}}execute(a,b,c,d){"number"==typeof this.numberOfKeys&&b.unshift(this.numberOfKeys),this.keyPrefix&&(c.keyPrefix=this.keyPrefix),this.readOnly&&(c.readOnly=!0);let e=new this.Command("evalsha",[this.sha,...b],c);return e.promise=e.promise.catch(d=>{if(-1===d.message.indexOf("NOSCRIPT"))throw d;let e=new this.Command("evalsha",[this.sha,...b],c);return(a.isPipeline?a.redis:a).sendCommand(e)}),(0,f.default)(e.promise,d),a.sendCommand(e)}}b.default=g},4687:(a,b,c)=>{"use strict";var d=c(7807);c.o(d,"redirect")&&c.d(b,{redirect:function(){return d.redirect}})},4731:(a,b,c)=>{"use strict";c.d(b,{D:()=>g});var d=c(6335),e=c(42292),f=c(72636),g=(0,e.K2)(a=>{let{securityLevel:b}=(0,d.D7)(),c=(0,f.Ltv)("body");if("sandbox"===b){let b=(0,f.Ltv)(`#i${a}`),d=b.node()?.contentDocument??document;c=(0,f.Ltv)(d.body)}return c.select(`#${a}`)},"selectSvgElement")},4892:(a,b,c)=>{"use strict";c.d(b,{W6:()=>a2,GZ:()=>a7,WY:()=>aP,pC:()=>aM,Gc:()=>aJ});var d=c(46895),e=c(6335),f=c(42292);let g=(a,b)=>!!a&&!!((b&&""===a.prefix||a.prefix)&&a.name),h=Object.freeze({left:0,top:0,width:16,height:16}),i=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),j=Object.freeze({...h,...i}),k=Object.freeze({...j,body:"",hidden:!1});function l(a,b){let c=function(a,b){let c={};!a.hFlip!=!b.hFlip&&(c.hFlip=!0),!a.vFlip!=!b.vFlip&&(c.vFlip=!0);let d=((a.rotate||0)+(b.rotate||0))%4;return d&&(c.rotate=d),c}(a,b);for(let d in k)d in i?d in a&&!(d in c)&&(c[d]=i[d]):d in b?c[d]=b[d]:d in a&&(c[d]=a[d]);return c}function m(a,b,c){let d=a.icons,e=a.aliases||Object.create(null),f={};function g(a){f=l(d[a]||e[a],f)}return g(b),c.forEach(g),l(a,f)}let n=Object.freeze({...Object.freeze({width:null,height:null}),...i}),o=/(-?[0-9.]*[0-9]+[0-9.]*)/g,p=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function q(a,b,c){if(1===b)return a;if(c=c||100,"number"==typeof a)return Math.ceil(a*b*c)/c;if("string"!=typeof a)return a;let d=a.split(o);if(null===d||!d.length)return a;let e=[],f=d.shift(),g=p.test(f);for(;;){if(g){let a=parseFloat(f);isNaN(a)?e.push(f):e.push(Math.ceil(a*b*c)/c)}else e.push(f);if(void 0===(f=d.shift()))return e.join("");g=!g}}let r=/\sid="(\S+)"/g,s=new Map;var t=c(72636);function u(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var v=u(),w={exec:()=>null};function x(a,b=""){let c="string"==typeof a?a:a.source,d={replace:(a,b)=>{let e="string"==typeof b?b:b.source;return e=e.replace(z.caret,"$1"),c=c.replace(a,e),d},getRegex:()=>new RegExp(c,b)};return d}var y=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),z={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:a=>RegExp(`^( {0,3}${a})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:a=>RegExp(`^ {0,${Math.min(3,a-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:a=>RegExp(`^ {0,${Math.min(3,a-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:a=>RegExp(`^ {0,${Math.min(3,a-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:a=>RegExp(`^ {0,${Math.min(3,a-1)}}#`),htmlBeginRegex:a=>RegExp(`^ {0,${Math.min(3,a-1)}}<(?:[a-z].*>|!--)`,"i")},A=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,B=/(?:[*+-]|\d{1,9}[.)])/,C=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,D=x(C).replace(/bull/g,B).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),E=x(C).replace(/bull/g,B).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),F=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,G=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,H=x(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",G).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),I=x(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,B).getRegex(),J="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",K=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,L=x("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",K).replace("tag",J).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),M=x(F).replace("hr",A).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",J).getRegex(),N={blockquote:x(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",M).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:H,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:A,html:L,lheading:D,list:I,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:M,table:w,text:/^[^\n]+/},O=x("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",A).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",J).getRegex(),P={...N,lheading:E,table:O,paragraph:x(F).replace("hr",A).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",O).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",J).getRegex()},Q={...N,html:x(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",K).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:x(F).replace("hr",A).replace("heading",` *#{1,6} *[^
|
|
1
|
+
exports.id=5489,exports.ids=[5489],exports.modules={446:(a,b,c)=>{"use strict";c.d(b,{D0:()=>e,Rd:()=>d,lF:()=>g,xW:()=>f});let d=new TextEncoder,e=new TextDecoder;function f(...a){let b=new Uint8Array(a.reduce((a,{length:b})=>a+b,0)),c=0;for(let d of a)b.set(d,c),c+=d.length;return b}function g(a){let b=new Uint8Array(a.length);for(let c=0;c<a.length;c++){let d=a.charCodeAt(c);if(d>127)throw TypeError("non-ASCII string encountered in encode()");b[c]=d}return b}},906:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=Array.isArray},1106:(a,b,c)=>{"use strict";c.d(b,{H:()=>bN,r:()=>bM});var d,e=c(42292);function f(a){return null==a}function g(a){return"object"==typeof a&&null!==a}function h(a,b){var c,d="";for(c=0;c<b;c+=1)d+=a;return d}function i(a){return 0===a&&-1/0==1/a}(0,e.K2)(f,"isNothing"),(0,e.K2)(g,"isObject"),(0,e.K2)(function(a){return Array.isArray(a)?a:f(a)?[]:[a]},"toArray"),(0,e.K2)(function(a,b){var c,d,e,f;if(b)for(c=0,d=(f=Object.keys(b)).length;c<d;c+=1)a[e=f[c]]=b[e];return a},"extend"),(0,e.K2)(h,"repeat"),(0,e.K2)(i,"isNegativeZero");var j={isNothing:f,isObject:g,repeat:h,isNegativeZero:i};function k(a,b){var c="",d=a.reason||"(unknown reason)";return a.mark?(a.mark.name&&(c+='in "'+a.mark.name+'" '),c+="("+(a.mark.line+1)+":"+(a.mark.column+1)+")",!b&&a.mark.snippet&&(c+="\n\n"+a.mark.snippet),d+" "+c):d}function l(a,b){Error.call(this),this.name="YAMLException",this.reason=a,this.mark=b,this.message=k(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}function m(a,b,c,d,e){var f="",g="",h=Math.floor(e/2)-1;return d-b>h&&(b=d-h+(f=" ... ").length),c-d>h&&(c=d+h-(g=" ...").length),{str:f+a.slice(b,c).replace(/\t/g,"→")+g,pos:d-b+f.length}}function n(a,b){return j.repeat(" ",b-a.length)+a}function o(a,b){if(b=Object.create(b||null),!a.buffer)return null;b.maxLength||(b.maxLength=79),"number"!=typeof b.indent&&(b.indent=1),"number"!=typeof b.linesBefore&&(b.linesBefore=3),"number"!=typeof b.linesAfter&&(b.linesAfter=2);for(var c=/\r?\n|\r|\0/g,d=[0],e=[],f=-1;g=c.exec(a.buffer);)e.push(g.index),d.push(g.index+g[0].length),a.position<=g.index&&f<0&&(f=d.length-2);f<0&&(f=d.length-1);var g,h,i,k="",l=Math.min(a.line+b.linesAfter,e.length).toString().length,o=b.maxLength-(b.indent+l+3);for(h=1;h<=b.linesBefore&&!(f-h<0);h++)i=m(a.buffer,d[f-h],e[f-h],a.position-(d[f]-d[f-h]),o),k=j.repeat(" ",b.indent)+n((a.line-h+1).toString(),l)+" | "+i.str+"\n"+k;for(i=m(a.buffer,d[f],e[f],a.position,o),k+=j.repeat(" ",b.indent)+n((a.line+1).toString(),l)+" | "+i.str+"\n"+j.repeat("-",b.indent+l+3+i.pos)+"^\n",h=1;h<=b.linesAfter&&!(f+h>=e.length);h++)i=m(a.buffer,d[f+h],e[f+h],a.position-(d[f]-d[f+h]),o),k+=j.repeat(" ",b.indent)+n((a.line+h+1).toString(),l)+" | "+i.str+"\n";return k.replace(/\n$/,"")}(0,e.K2)(k,"formatError"),(0,e.K2)(l,"YAMLException$1"),l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,l.prototype.toString=(0,e.K2)(function(a){return this.name+": "+k(this,a)},"toString"),(0,e.K2)(m,"getLine"),(0,e.K2)(n,"padStart"),(0,e.K2)(o,"makeSnippet");var p=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],q=["scalar","sequence","mapping"];function r(a){var b={};return null!==a&&Object.keys(a).forEach(function(c){a[c].forEach(function(a){b[String(a)]=c})}),b}function s(a,b){if(Object.keys(b=b||{}).forEach(function(b){if(-1===p.indexOf(b))throw new l('Unknown option "'+b+'" is met in definition of "'+a+'" YAML type.')}),this.options=b,this.tag=a,this.kind=b.kind||null,this.resolve=b.resolve||function(){return!0},this.construct=b.construct||function(a){return a},this.instanceOf=b.instanceOf||null,this.predicate=b.predicate||null,this.represent=b.represent||null,this.representName=b.representName||null,this.defaultStyle=b.defaultStyle||null,this.multi=b.multi||!1,this.styleAliases=r(b.styleAliases||null),-1===q.indexOf(this.kind))throw new l('Unknown kind "'+this.kind+'" is specified for "'+a+'" YAML type.')}function t(a,b){var c=[];return a[b].forEach(function(a){var b=c.length;c.forEach(function(c,d){c.tag===a.tag&&c.kind===a.kind&&c.multi===a.multi&&(b=d)}),c[b]=a}),c}function u(){var a,b,c={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function d(a){a.multi?(c.multi[a.kind].push(a),c.multi.fallback.push(a)):c[a.kind][a.tag]=c.fallback[a.tag]=a}for((0,e.K2)(d,"collectType"),a=0,b=arguments.length;a<b;a+=1)arguments[a].forEach(d);return c}function v(a){return this.extend(a)}(0,e.K2)(r,"compileStyleAliases"),(0,e.K2)(s,"Type$1"),(0,e.K2)(t,"compileList"),(0,e.K2)(u,"compileMap"),(0,e.K2)(v,"Schema$1"),v.prototype.extend=(0,e.K2)(function(a){var b=[],c=[];if(a instanceof s)c.push(a);else if(Array.isArray(a))c=c.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(b=b.concat(a.implicit)),a.explicit&&(c=c.concat(a.explicit));else throw new l("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");b.forEach(function(a){if(!(a instanceof s))throw new l("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(a.loadKind&&"scalar"!==a.loadKind)throw new l("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(a.multi)throw new l("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),c.forEach(function(a){if(!(a instanceof s))throw new l("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var d=Object.create(v.prototype);return d.implicit=(this.implicit||[]).concat(b),d.explicit=(this.explicit||[]).concat(c),d.compiledImplicit=t(d,"implicit"),d.compiledExplicit=t(d,"explicit"),d.compiledTypeMap=u(d.compiledImplicit,d.compiledExplicit),d},"extend");var w=new v({explicit:[new s("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,e.K2)(function(a){return null!==a?a:""},"construct")}),new s("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,e.K2)(function(a){return null!==a?a:[]},"construct")}),new s("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,e.K2)(function(a){return null!==a?a:{}},"construct")})]});function x(a){if(null===a)return!0;var b=a.length;return 1===b&&"~"===a||4===b&&("null"===a||"Null"===a||"NULL"===a)}function y(){return null}function z(a){return null===a}(0,e.K2)(x,"resolveYamlNull"),(0,e.K2)(y,"constructYamlNull"),(0,e.K2)(z,"isNull");var A=new s("tag:yaml.org,2002:null",{kind:"scalar",resolve:x,construct:y,predicate:z,represent:{canonical:(0,e.K2)(function(){return"~"},"canonical"),lowercase:(0,e.K2)(function(){return"null"},"lowercase"),uppercase:(0,e.K2)(function(){return"NULL"},"uppercase"),camelcase:(0,e.K2)(function(){return"Null"},"camelcase"),empty:(0,e.K2)(function(){return""},"empty")},defaultStyle:"lowercase"});function B(a){if(null===a)return!1;var b=a.length;return 4===b&&("true"===a||"True"===a||"TRUE"===a)||5===b&&("false"===a||"False"===a||"FALSE"===a)}function C(a){return"true"===a||"True"===a||"TRUE"===a}function D(a){return"[object Boolean]"===Object.prototype.toString.call(a)}(0,e.K2)(B,"resolveYamlBoolean"),(0,e.K2)(C,"constructYamlBoolean"),(0,e.K2)(D,"isBoolean");var E=new s("tag:yaml.org,2002:bool",{kind:"scalar",resolve:B,construct:C,predicate:D,represent:{lowercase:(0,e.K2)(function(a){return a?"true":"false"},"lowercase"),uppercase:(0,e.K2)(function(a){return a?"TRUE":"FALSE"},"uppercase"),camelcase:(0,e.K2)(function(a){return a?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function F(a){return 48<=a&&a<=57||65<=a&&a<=70||97<=a&&a<=102}function G(a){return 48<=a&&a<=55}function H(a){return 48<=a&&a<=57}function I(a){if(null===a)return!1;var b,c=a.length,d=0,e=!1;if(!c)return!1;if(("-"===(b=a[d])||"+"===b)&&(b=a[++d]),"0"===b){if(d+1===c)return!0;if("b"===(b=a[++d])){for(d++;d<c;d++)if("_"!==(b=a[d])){if("0"!==b&&"1"!==b)return!1;e=!0}return e&&"_"!==b}if("x"===b){for(d++;d<c;d++)if("_"!==(b=a[d])){if(!F(a.charCodeAt(d)))return!1;e=!0}return e&&"_"!==b}if("o"===b){for(d++;d<c;d++)if("_"!==(b=a[d])){if(!G(a.charCodeAt(d)))return!1;e=!0}return e&&"_"!==b}}if("_"===b)return!1;for(;d<c;d++)if("_"!==(b=a[d])){if(!H(a.charCodeAt(d)))return!1;e=!0}return!!e&&"_"!==b}function J(a){var b,c=a,d=1;if(-1!==c.indexOf("_")&&(c=c.replace(/_/g,"")),("-"===(b=c[0])||"+"===b)&&("-"===b&&(d=-1),b=(c=c.slice(1))[0]),"0"===c)return 0;if("0"===b){if("b"===c[1])return d*parseInt(c.slice(2),2);if("x"===c[1])return d*parseInt(c.slice(2),16);if("o"===c[1])return d*parseInt(c.slice(2),8)}return d*parseInt(c,10)}function K(a){return"[object Number]"===Object.prototype.toString.call(a)&&a%1==0&&!j.isNegativeZero(a)}(0,e.K2)(F,"isHexCode"),(0,e.K2)(G,"isOctCode"),(0,e.K2)(H,"isDecCode"),(0,e.K2)(I,"resolveYamlInteger"),(0,e.K2)(J,"constructYamlInteger"),(0,e.K2)(K,"isInteger");var L=new s("tag:yaml.org,2002:int",{kind:"scalar",resolve:I,construct:J,predicate:K,represent:{binary:(0,e.K2)(function(a){return a>=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},"binary"),octal:(0,e.K2)(function(a){return a>=0?"0o"+a.toString(8):"-0o"+a.toString(8).slice(1)},"octal"),decimal:(0,e.K2)(function(a){return a.toString(10)},"decimal"),hexadecimal:(0,e.K2)(function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),M=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function N(a){return null!==a&&!!M.test(a)&&"_"!==a[a.length-1]}function O(a){var b,c;return(c="-"===(b=a.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(b[0])>=0&&(b=b.slice(1)),".inf"===b)?1===c?1/0:-1/0:".nan"===b?NaN:c*parseFloat(b,10)}(0,e.K2)(N,"resolveYamlFloat"),(0,e.K2)(O,"constructYamlFloat");var P=/^[-+]?[0-9]+e/;function Q(a,b){var c;if(isNaN(a))switch(b){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===a)switch(b){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===a)switch(b){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(j.isNegativeZero(a))return"-0.0";return c=a.toString(10),P.test(c)?c.replace("e",".e"):c}function R(a){return"[object Number]"===Object.prototype.toString.call(a)&&(a%1!=0||j.isNegativeZero(a))}(0,e.K2)(Q,"representYamlFloat"),(0,e.K2)(R,"isFloat");var S=new s("tag:yaml.org,2002:float",{kind:"scalar",resolve:N,construct:O,predicate:R,represent:Q,defaultStyle:"lowercase"}),T=w.extend({implicit:[A,E,L,S]}),U=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),V=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function W(a){return null!==a&&(null!==U.exec(a)||null!==V.exec(a))}function X(a){var b,c,d,e,f,g,h,i,j=0,k=null;if(null===(b=U.exec(a))&&(b=V.exec(a)),null===b)throw Error("Date resolve error");if(c=+b[1],d=b[2]-1,e=+b[3],!b[4])return new Date(Date.UTC(c,d,e));if(f=+b[4],g=+b[5],h=+b[6],b[7]){for(j=b[7].slice(0,3);j.length<3;)j+="0";j*=1}return b[9]&&(k=(60*b[10]+ +(b[11]||0))*6e4,"-"===b[9]&&(k=-k)),i=new Date(Date.UTC(c,d,e,f,g,h,j)),k&&i.setTime(i.getTime()-k),i}function Y(a){return a.toISOString()}(0,e.K2)(W,"resolveYamlTimestamp"),(0,e.K2)(X,"constructYamlTimestamp"),(0,e.K2)(Y,"representYamlTimestamp");var Z=new s("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:W,construct:X,instanceOf:Date,represent:Y});function $(a){return"<<"===a||null===a}(0,e.K2)($,"resolveYamlMerge");var _=new s("tag:yaml.org,2002:merge",{kind:"scalar",resolve:$}),aa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function ab(a){if(null===a)return!1;var b,c,d=0,e=a.length;for(c=0;c<e;c++)if(!((b=aa.indexOf(a.charAt(c)))>64)){if(b<0)return!1;d+=6}return d%8==0}function ac(a){var b,c,d=a.replace(/[\r\n=]/g,""),e=d.length,f=0,g=[];for(b=0;b<e;b++)b%4==0&&b&&(g.push(f>>16&255),g.push(f>>8&255),g.push(255&f)),f=f<<6|aa.indexOf(d.charAt(b));return 0==(c=e%4*6)?(g.push(f>>16&255),g.push(f>>8&255),g.push(255&f)):18===c?(g.push(f>>10&255),g.push(f>>2&255)):12===c&&g.push(f>>4&255),new Uint8Array(g)}function ad(a){var b,c,d="",e=0,f=a.length;for(b=0;b<f;b++)b%3==0&&b&&(d+=aa[e>>18&63],d+=aa[e>>12&63],d+=aa[e>>6&63],d+=aa[63&e]),e=(e<<8)+a[b];return 0==(c=f%3)?(d+=aa[e>>18&63],d+=aa[e>>12&63],d+=aa[e>>6&63],d+=aa[63&e]):2===c?(d+=aa[e>>10&63],d+=aa[e>>4&63],d+=aa[e<<2&63],d+=aa[64]):1===c&&(d+=aa[e>>2&63],d+=aa[e<<4&63],d+=aa[64],d+=aa[64]),d}function ae(a){return"[object Uint8Array]"===Object.prototype.toString.call(a)}(0,e.K2)(ab,"resolveYamlBinary"),(0,e.K2)(ac,"constructYamlBinary"),(0,e.K2)(ad,"representYamlBinary"),(0,e.K2)(ae,"isBinary");var af=new s("tag:yaml.org,2002:binary",{kind:"scalar",resolve:ab,construct:ac,predicate:ae,represent:ad}),ag=Object.prototype.hasOwnProperty,ah=Object.prototype.toString;function ai(a){if(null===a)return!0;var b,c,d,e,f,g=[];for(b=0,c=a.length;b<c;b+=1){if(d=a[b],f=!1,"[object Object]"!==ah.call(d))return!1;for(e in d)if(ag.call(d,e))if(f)return!1;else f=!0;if(!f||-1!==g.indexOf(e))return!1;g.push(e)}return!0}function aj(a){return null!==a?a:[]}(0,e.K2)(ai,"resolveYamlOmap"),(0,e.K2)(aj,"constructYamlOmap");var ak=new s("tag:yaml.org,2002:omap",{kind:"sequence",resolve:ai,construct:aj}),al=Object.prototype.toString;function am(a){var b,c,d,e,f;if(null===a)return!0;for(b=0,f=Array(a.length),c=a.length;b<c;b+=1){if(d=a[b],"[object Object]"!==al.call(d)||1!==(e=Object.keys(d)).length)return!1;f[b]=[e[0],d[e[0]]]}return!0}function an(a){var b,c,d,e,f;if(null===a)return[];for(b=0,f=Array(a.length),c=a.length;b<c;b+=1)e=Object.keys(d=a[b]),f[b]=[e[0],d[e[0]]];return f}(0,e.K2)(am,"resolveYamlPairs"),(0,e.K2)(an,"constructYamlPairs");var ao=new s("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:am,construct:an}),ap=Object.prototype.hasOwnProperty;function aq(a){var b;if(null===a)return!0;for(b in a)if(ap.call(a,b)&&null!==a[b])return!1;return!0}function ar(a){return null!==a?a:{}}(0,e.K2)(aq,"resolveYamlSet"),(0,e.K2)(ar,"constructYamlSet");var as=new s("tag:yaml.org,2002:set",{kind:"mapping",resolve:aq,construct:ar}),at=T.extend({implicit:[Z,_],explicit:[af,ak,ao,as]}),au=Object.prototype.hasOwnProperty,av=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,aw=/[\x85\u2028\u2029]/,ax=/[,\[\]\{\}]/,ay=/^(?:!|!!|![a-z\-]+!)$/i,az=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function aA(a){return Object.prototype.toString.call(a)}function aB(a){return 10===a||13===a}function aC(a){return 9===a||32===a}function aD(a){return 9===a||32===a||10===a||13===a}function aE(a){return 44===a||91===a||93===a||123===a||125===a}function aF(a){var b;return 48<=a&&a<=57?a-48:97<=(b=32|a)&&b<=102?b-97+10:-1}function aG(a){return 120===a?2:117===a?4:8*(85===a)}function aH(a){return 48<=a&&a<=57?a-48:-1}function aI(a){return 48===a?"\0":97===a?"\x07":98===a?"\b":116===a||9===a?" ":110===a?"\n":118===a?"\v":102===a?"\f":114===a?"\r":101===a?"\x1b":32===a?" ":34===a?'"':47===a?"/":92===a?"\\":78===a?"\x85":95===a?"\xa0":76===a?"\u2028":80===a?"\u2029":""}function aJ(a){return a<=65535?String.fromCharCode(a):String.fromCharCode((a-65536>>10)+55296,(a-65536&1023)+56320)}function aK(a,b,c){"__proto__"===b?Object.defineProperty(a,b,{configurable:!0,enumerable:!0,writable:!0,value:c}):a[b]=c}(0,e.K2)(aA,"_class"),(0,e.K2)(aB,"is_EOL"),(0,e.K2)(aC,"is_WHITE_SPACE"),(0,e.K2)(aD,"is_WS_OR_EOL"),(0,e.K2)(aE,"is_FLOW_INDICATOR"),(0,e.K2)(aF,"fromHexCode"),(0,e.K2)(aG,"escapedHexLen"),(0,e.K2)(aH,"fromDecimalCode"),(0,e.K2)(aI,"simpleEscapeSequence"),(0,e.K2)(aJ,"charFromCodepoint"),(0,e.K2)(aK,"setProperty");var aL=Array(256),aM=Array(256);for(d=0;d<256;d++)aL[d]=+!!aI(d),aM[d]=aI(d);function aN(a,b){this.input=a,this.filename=b.filename||null,this.schema=b.schema||at,this.onWarning=b.onWarning||null,this.legacy=b.legacy||!1,this.json=b.json||!1,this.listener=b.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=a.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function aO(a,b){var c={name:a.filename,buffer:a.input.slice(0,-1),position:a.position,line:a.line,column:a.position-a.lineStart};return c.snippet=o(c),new l(b,c)}function aP(a,b){throw aO(a,b)}function aQ(a,b){a.onWarning&&a.onWarning.call(null,aO(a,b))}(0,e.K2)(aN,"State$1"),(0,e.K2)(aO,"generateError"),(0,e.K2)(aP,"throwError"),(0,e.K2)(aQ,"throwWarning");var aR={YAML:(0,e.K2)(function(a,b,c){var d,e,f;null!==a.version&&aP(a,"duplication of %YAML directive"),1!==c.length&&aP(a,"YAML directive accepts exactly one argument"),null===(d=/^([0-9]+)\.([0-9]+)$/.exec(c[0]))&&aP(a,"ill-formed argument of the YAML directive"),e=parseInt(d[1],10),f=parseInt(d[2],10),1!==e&&aP(a,"unacceptable YAML version of the document"),a.version=c[0],a.checkLineBreaks=f<2,1!==f&&2!==f&&aQ(a,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,e.K2)(function(a,b,c){var d,e;2!==c.length&&aP(a,"TAG directive accepts exactly two arguments"),d=c[0],e=c[1],ay.test(d)||aP(a,"ill-formed tag handle (first argument) of the TAG directive"),au.call(a.tagMap,d)&&aP(a,'there is a previously declared suffix for "'+d+'" tag handle'),az.test(e)||aP(a,"ill-formed tag prefix (second argument) of the TAG directive");try{e=decodeURIComponent(e)}catch(b){aP(a,"tag prefix is malformed: "+e)}a.tagMap[d]=e},"handleTagDirective")};function aS(a,b,c,d){var e,f,g,h;if(b<c){if(h=a.input.slice(b,c),d)for(e=0,f=h.length;e<f;e+=1)9===(g=h.charCodeAt(e))||32<=g&&g<=1114111||aP(a,"expected valid JSON character");else av.test(h)&&aP(a,"the stream contains non-printable characters");a.result+=h}}function aT(a,b,c,d){var e,f,g,h;for(j.isObject(c)||aP(a,"cannot merge mappings; the provided source object is unacceptable"),g=0,h=(e=Object.keys(c)).length;g<h;g+=1)f=e[g],au.call(b,f)||(aK(b,f,c[f]),d[f]=!0)}function aU(a,b,c,d,e,f,g,h,i){var j,k;if(Array.isArray(e))for(j=0,k=(e=Array.prototype.slice.call(e)).length;j<k;j+=1)Array.isArray(e[j])&&aP(a,"nested arrays are not supported inside keys"),"object"==typeof e&&"[object Object]"===aA(e[j])&&(e[j]="[object Object]");if("object"==typeof e&&"[object Object]"===aA(e)&&(e="[object Object]"),e=String(e),null===b&&(b={}),"tag:yaml.org,2002:merge"===d)if(Array.isArray(f))for(j=0,k=f.length;j<k;j+=1)aT(a,b,f[j],c);else aT(a,b,f,c);else!a.json&&!au.call(c,e)&&au.call(b,e)&&(a.line=g||a.line,a.lineStart=h||a.lineStart,a.position=i||a.position,aP(a,"duplicated mapping key")),aK(b,e,f),delete c[e];return b}function aV(a){var b;10===(b=a.input.charCodeAt(a.position))?a.position++:13===b?(a.position++,10===a.input.charCodeAt(a.position)&&a.position++):aP(a,"a line break is expected"),a.line+=1,a.lineStart=a.position,a.firstTabInLine=-1}function aW(a,b,c){for(var d=0,e=a.input.charCodeAt(a.position);0!==e;){for(;aC(e);)9===e&&-1===a.firstTabInLine&&(a.firstTabInLine=a.position),e=a.input.charCodeAt(++a.position);if(b&&35===e)do e=a.input.charCodeAt(++a.position);while(10!==e&&13!==e&&0!==e);if(aB(e))for(aV(a),e=a.input.charCodeAt(a.position),d++,a.lineIndent=0;32===e;)a.lineIndent++,e=a.input.charCodeAt(++a.position);else break}return -1!==c&&0!==d&&a.lineIndent<c&&aQ(a,"deficient indentation"),d}function aX(a){var b,c=a.position;return!!((45===(b=a.input.charCodeAt(c))||46===b)&&b===a.input.charCodeAt(c+1)&&b===a.input.charCodeAt(c+2)&&(c+=3,0===(b=a.input.charCodeAt(c))||aD(b)))||!1}function aY(a,b){1===b?a.result+=" ":b>1&&(a.result+=j.repeat("\n",b-1))}function aZ(a,b,c){var d,e,f,g,h,i,j,k,l=a.kind,m=a.result;if(aD(k=a.input.charCodeAt(a.position))||aE(k)||35===k||38===k||42===k||33===k||124===k||62===k||39===k||34===k||37===k||64===k||96===k||(63===k||45===k)&&(aD(d=a.input.charCodeAt(a.position+1))||c&&aE(d)))return!1;for(a.kind="scalar",a.result="",e=f=a.position,g=!1;0!==k;){if(58===k){if(aD(d=a.input.charCodeAt(a.position+1))||c&&aE(d))break}else if(35===k){if(aD(a.input.charCodeAt(a.position-1)))break}else if(a.position===a.lineStart&&aX(a)||c&&aE(k))break;else if(aB(k)){if(h=a.line,i=a.lineStart,j=a.lineIndent,aW(a,!1,-1),a.lineIndent>=b){g=!0,k=a.input.charCodeAt(a.position);continue}a.position=f,a.line=h,a.lineStart=i,a.lineIndent=j;break}g&&(aS(a,e,f,!1),aY(a,a.line-h),e=f=a.position,g=!1),aC(k)||(f=a.position+1),k=a.input.charCodeAt(++a.position)}return aS(a,e,f,!1),!!a.result||(a.kind=l,a.result=m,!1)}function a$(a,b){var c,d,e;if(39!==(c=a.input.charCodeAt(a.position)))return!1;for(a.kind="scalar",a.result="",a.position++,d=e=a.position;0!==(c=a.input.charCodeAt(a.position));)if(39===c){if(aS(a,d,a.position,!0),39!==(c=a.input.charCodeAt(++a.position)))return!0;d=a.position,a.position++,e=a.position}else aB(c)?(aS(a,d,e,!0),aY(a,aW(a,!1,b)),d=e=a.position):a.position===a.lineStart&&aX(a)?aP(a,"unexpected end of the document within a single quoted scalar"):(a.position++,e=a.position);aP(a,"unexpected end of the stream within a single quoted scalar")}function a_(a,b){var c,d,e,f,g,h;if(34!==(h=a.input.charCodeAt(a.position)))return!1;for(a.kind="scalar",a.result="",a.position++,c=d=a.position;0!==(h=a.input.charCodeAt(a.position));)if(34===h)return aS(a,c,a.position,!0),a.position++,!0;else if(92===h){if(aS(a,c,a.position,!0),aB(h=a.input.charCodeAt(++a.position)))aW(a,!1,b);else if(h<256&&aL[h])a.result+=aM[h],a.position++;else if((g=aG(h))>0){for(e=g,f=0;e>0;e--)(g=aF(h=a.input.charCodeAt(++a.position)))>=0?f=(f<<4)+g:aP(a,"expected hexadecimal character");a.result+=aJ(f),a.position++}else aP(a,"unknown escape sequence");c=d=a.position}else aB(h)?(aS(a,c,d,!0),aY(a,aW(a,!1,b)),c=d=a.position):a.position===a.lineStart&&aX(a)?aP(a,"unexpected end of the document within a double quoted scalar"):(a.position++,d=a.position);aP(a,"unexpected end of the stream within a double quoted scalar")}function a0(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o=!0,p=a.tag,q=a.anchor,r=Object.create(null);if(91===(n=a.input.charCodeAt(a.position)))g=93,j=!1,f=[];else{if(123!==n)return!1;g=125,j=!0,f={}}for(null!==a.anchor&&(a.anchorMap[a.anchor]=f),n=a.input.charCodeAt(++a.position);0!==n;){if(aW(a,!0,b),(n=a.input.charCodeAt(a.position))===g)return a.position++,a.tag=p,a.anchor=q,a.kind=j?"mapping":"sequence",a.result=f,!0;o?44===n&&aP(a,"expected the node content, but found ','"):aP(a,"missed comma between flow collection entries"),l=k=m=null,h=i=!1,63===n&&aD(a.input.charCodeAt(a.position+1))&&(h=i=!0,a.position++,aW(a,!0,b)),c=a.line,d=a.lineStart,e=a.position,a7(a,b,1,!1,!0),l=a.tag,k=a.result,aW(a,!0,b),n=a.input.charCodeAt(a.position),(i||a.line===c)&&58===n&&(h=!0,n=a.input.charCodeAt(++a.position),aW(a,!0,b),a7(a,b,1,!1,!0),m=a.result),j?aU(a,f,r,l,k,m,c,d,e):h?f.push(aU(a,null,r,l,k,m,c,d,e)):f.push(k),aW(a,!0,b),44===(n=a.input.charCodeAt(a.position))?(o=!0,n=a.input.charCodeAt(++a.position)):o=!1}aP(a,"unexpected end of the stream within a flow collection")}function a1(a,b){var c,d,e,f,g=1,h=!1,i=!1,k=b,l=0,m=!1;if(124===(f=a.input.charCodeAt(a.position)))d=!1;else{if(62!==f)return!1;d=!0}for(a.kind="scalar",a.result="";0!==f;)if(43===(f=a.input.charCodeAt(++a.position))||45===f)1===g?g=43===f?3:2:aP(a,"repeat of a chomping mode identifier");else if((e=aH(f))>=0)0===e?aP(a,"bad explicit indentation width of a block scalar; it cannot be less than one"):i?aP(a,"repeat of an indentation width identifier"):(k=b+e-1,i=!0);else break;if(aC(f)){do f=a.input.charCodeAt(++a.position);while(aC(f));if(35===f)do f=a.input.charCodeAt(++a.position);while(!aB(f)&&0!==f)}for(;0!==f;){for(aV(a),a.lineIndent=0,f=a.input.charCodeAt(a.position);(!i||a.lineIndent<k)&&32===f;)a.lineIndent++,f=a.input.charCodeAt(++a.position);if(!i&&a.lineIndent>k&&(k=a.lineIndent),aB(f)){l++;continue}if(a.lineIndent<k){3===g?a.result+=j.repeat("\n",h?1+l:l):1===g&&h&&(a.result+="\n");break}for(d?aC(f)?(m=!0,a.result+=j.repeat("\n",h?1+l:l)):m?(m=!1,a.result+=j.repeat("\n",l+1)):0===l?h&&(a.result+=" "):a.result+=j.repeat("\n",l):a.result+=j.repeat("\n",h?1+l:l),h=!0,i=!0,l=0,c=a.position;!aB(f)&&0!==f;)f=a.input.charCodeAt(++a.position);aS(a,c,a.position,!1)}return!0}function a2(a,b){var c,d,e=a.tag,f=a.anchor,g=[],h=!1;if(-1!==a.firstTabInLine)return!1;for(null!==a.anchor&&(a.anchorMap[a.anchor]=g),d=a.input.charCodeAt(a.position);0!==d&&(-1!==a.firstTabInLine&&(a.position=a.firstTabInLine,aP(a,"tab characters must not be used in indentation")),45===d&&aD(a.input.charCodeAt(a.position+1)));){if(h=!0,a.position++,aW(a,!0,-1)&&a.lineIndent<=b){g.push(null),d=a.input.charCodeAt(a.position);continue}if(c=a.line,a7(a,b,3,!1,!0),g.push(a.result),aW(a,!0,-1),d=a.input.charCodeAt(a.position),(a.line===c||a.lineIndent>b)&&0!==d)aP(a,"bad indentation of a sequence entry");else if(a.lineIndent<b)break}return!!h&&(a.tag=e,a.anchor=f,a.kind="sequence",a.result=g,!0)}function a3(a,b,c){var d,e,f,g,h,i,j,k=a.tag,l=a.anchor,m={},n=Object.create(null),o=null,p=null,q=null,r=!1,s=!1;if(-1!==a.firstTabInLine)return!1;for(null!==a.anchor&&(a.anchorMap[a.anchor]=m),j=a.input.charCodeAt(a.position);0!==j;){if(r||-1===a.firstTabInLine||(a.position=a.firstTabInLine,aP(a,"tab characters must not be used in indentation")),d=a.input.charCodeAt(a.position+1),f=a.line,(63===j||58===j)&&aD(d))63===j?(r&&(aU(a,m,n,o,p,null,g,h,i),o=p=q=null),s=!0,r=!0,e=!0):r?(r=!1,e=!0):aP(a,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),a.position+=1,j=d;else{if(g=a.line,h=a.lineStart,i=a.position,!a7(a,c,2,!1,!0))break;if(a.line===f){for(j=a.input.charCodeAt(a.position);aC(j);)j=a.input.charCodeAt(++a.position);if(58===j)aD(j=a.input.charCodeAt(++a.position))||aP(a,"a whitespace character is expected after the key-value separator within a block mapping"),r&&(aU(a,m,n,o,p,null,g,h,i),o=p=q=null),s=!0,r=!1,e=!1,o=a.tag,p=a.result;else{if(!s)return a.tag=k,a.anchor=l,!0;aP(a,"can not read an implicit mapping pair; a colon is missed")}}else{if(!s)return a.tag=k,a.anchor=l,!0;aP(a,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((a.line===f||a.lineIndent>b)&&(r&&(g=a.line,h=a.lineStart,i=a.position),a7(a,b,4,!0,e)&&(r?p=a.result:q=a.result),r||(aU(a,m,n,o,p,q,g,h,i),o=p=q=null),aW(a,!0,-1),j=a.input.charCodeAt(a.position)),(a.line===f||a.lineIndent>b)&&0!==j)aP(a,"bad indentation of a mapping entry");else if(a.lineIndent<b)break}return r&&aU(a,m,n,o,p,null,g,h,i),s&&(a.tag=k,a.anchor=l,a.kind="mapping",a.result=m),s}function a4(a){var b,c,d,e,f=!1,g=!1;if(33!==(e=a.input.charCodeAt(a.position)))return!1;if(null!==a.tag&&aP(a,"duplication of a tag property"),60===(e=a.input.charCodeAt(++a.position))?(f=!0,e=a.input.charCodeAt(++a.position)):33===e?(g=!0,c="!!",e=a.input.charCodeAt(++a.position)):c="!",b=a.position,f){do e=a.input.charCodeAt(++a.position);while(0!==e&&62!==e);a.position<a.length?(d=a.input.slice(b,a.position),e=a.input.charCodeAt(++a.position)):aP(a,"unexpected end of the stream within a verbatim tag")}else{for(;0!==e&&!aD(e);)33===e&&(g?aP(a,"tag suffix cannot contain exclamation marks"):(c=a.input.slice(b-1,a.position+1),ay.test(c)||aP(a,"named tag handle cannot contain such characters"),g=!0,b=a.position+1)),e=a.input.charCodeAt(++a.position);d=a.input.slice(b,a.position),ax.test(d)&&aP(a,"tag suffix cannot contain flow indicator characters")}d&&!az.test(d)&&aP(a,"tag name cannot contain such characters: "+d);try{d=decodeURIComponent(d)}catch(b){aP(a,"tag name is malformed: "+d)}return f?a.tag=d:au.call(a.tagMap,c)?a.tag=a.tagMap[c]+d:"!"===c?a.tag="!"+d:"!!"===c?a.tag="tag:yaml.org,2002:"+d:aP(a,'undeclared tag handle "'+c+'"'),!0}function a5(a){var b,c;if(38!==(c=a.input.charCodeAt(a.position)))return!1;for(null!==a.anchor&&aP(a,"duplication of an anchor property"),c=a.input.charCodeAt(++a.position),b=a.position;0!==c&&!aD(c)&&!aE(c);)c=a.input.charCodeAt(++a.position);return a.position===b&&aP(a,"name of an anchor node must contain at least one character"),a.anchor=a.input.slice(b,a.position),!0}function a6(a){var b,c,d;if(42!==(d=a.input.charCodeAt(a.position)))return!1;for(d=a.input.charCodeAt(++a.position),b=a.position;0!==d&&!aD(d)&&!aE(d);)d=a.input.charCodeAt(++a.position);return a.position===b&&aP(a,"name of an alias node must contain at least one character"),c=a.input.slice(b,a.position),au.call(a.anchorMap,c)||aP(a,'unidentified alias "'+c+'"'),a.result=a.anchorMap[c],aW(a,!0,-1),!0}function a7(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o=1,p=!1,q=!1;if(null!==a.listener&&a.listener("open",a),a.tag=null,a.anchor=null,a.kind=null,a.result=null,f=g=h=4===c||3===c,d&&aW(a,!0,-1)&&(p=!0,a.lineIndent>b?o=1:a.lineIndent===b?o=0:a.lineIndent<b&&(o=-1)),1===o)for(;a4(a)||a5(a);)aW(a,!0,-1)?(p=!0,h=f,a.lineIndent>b?o=1:a.lineIndent===b?o=0:a.lineIndent<b&&(o=-1)):h=!1;if(h&&(h=p||e),(1===o||4===c)&&(m=1===c||2===c?b:b+1,n=a.position-a.lineStart,1===o?h&&(a2(a,n)||a3(a,n,m))||a0(a,m)?q=!0:(g&&a1(a,m)||a$(a,m)||a_(a,m)?q=!0:a6(a)?(q=!0,(null!==a.tag||null!==a.anchor)&&aP(a,"alias node should not have any properties")):aZ(a,m,1===c)&&(q=!0,null===a.tag&&(a.tag="?")),null!==a.anchor&&(a.anchorMap[a.anchor]=a.result)):0===o&&(q=h&&a2(a,n))),null===a.tag)null!==a.anchor&&(a.anchorMap[a.anchor]=a.result);else if("?"===a.tag){for(null!==a.result&&"scalar"!==a.kind&&aP(a,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+a.kind+'"'),i=0,j=a.implicitTypes.length;i<j;i+=1)if((l=a.implicitTypes[i]).resolve(a.result)){a.result=l.construct(a.result),a.tag=l.tag,null!==a.anchor&&(a.anchorMap[a.anchor]=a.result);break}}else if("!"!==a.tag){if(au.call(a.typeMap[a.kind||"fallback"],a.tag))l=a.typeMap[a.kind||"fallback"][a.tag];else for(i=0,l=null,j=(k=a.typeMap.multi[a.kind||"fallback"]).length;i<j;i+=1)if(a.tag.slice(0,k[i].tag.length)===k[i].tag){l=k[i];break}l||aP(a,"unknown tag !<"+a.tag+">"),null!==a.result&&l.kind!==a.kind&&aP(a,"unacceptable node kind for !<"+a.tag+'> tag; it should be "'+l.kind+'", not "'+a.kind+'"'),l.resolve(a.result,a.tag)?(a.result=l.construct(a.result,a.tag),null!==a.anchor&&(a.anchorMap[a.anchor]=a.result)):aP(a,"cannot resolve a node with !<"+a.tag+"> explicit tag")}return null!==a.listener&&a.listener("close",a),null!==a.tag||null!==a.anchor||q}function a8(a){var b,c,d,e,f=a.position,g=!1;for(a.version=null,a.checkLineBreaks=a.legacy,a.tagMap=Object.create(null),a.anchorMap=Object.create(null);0!==(e=a.input.charCodeAt(a.position))&&(aW(a,!0,-1),e=a.input.charCodeAt(a.position),!(a.lineIndent>0)&&37===e);){for(g=!0,e=a.input.charCodeAt(++a.position),b=a.position;0!==e&&!aD(e);)e=a.input.charCodeAt(++a.position);for(c=a.input.slice(b,a.position),d=[],c.length<1&&aP(a,"directive name must not be less than one character in length");0!==e;){for(;aC(e);)e=a.input.charCodeAt(++a.position);if(35===e){do e=a.input.charCodeAt(++a.position);while(0!==e&&!aB(e));break}if(aB(e))break;for(b=a.position;0!==e&&!aD(e);)e=a.input.charCodeAt(++a.position);d.push(a.input.slice(b,a.position))}0!==e&&aV(a),au.call(aR,c)?aR[c](a,c,d):aQ(a,'unknown document directive "'+c+'"')}if(aW(a,!0,-1),0===a.lineIndent&&45===a.input.charCodeAt(a.position)&&45===a.input.charCodeAt(a.position+1)&&45===a.input.charCodeAt(a.position+2)?(a.position+=3,aW(a,!0,-1)):g&&aP(a,"directives end mark is expected"),a7(a,a.lineIndent-1,4,!1,!0),aW(a,!0,-1),a.checkLineBreaks&&aw.test(a.input.slice(f,a.position))&&aQ(a,"non-ASCII line breaks are interpreted as content"),a.documents.push(a.result),a.position===a.lineStart&&aX(a)){46===a.input.charCodeAt(a.position)&&(a.position+=3,aW(a,!0,-1));return}a.position<a.length-1&&aP(a,"end of the stream or a document separator is expected")}function a9(a,b){a=String(a),b=b||{},0!==a.length&&(10!==a.charCodeAt(a.length-1)&&13!==a.charCodeAt(a.length-1)&&(a+="\n"),65279===a.charCodeAt(0)&&(a=a.slice(1)));var c=new aN(a,b),d=a.indexOf("\0");for(-1!==d&&(c.position=d,aP(c,"null byte is not allowed in input")),c.input+="\0";32===c.input.charCodeAt(c.position);)c.lineIndent+=1,c.position+=1;for(;c.position<c.length-1;)a8(c);return c.documents}function ba(a,b,c){null!==b&&"object"==typeof b&&void 0===c&&(c=b,b=null);var d=a9(a,c);if("function"!=typeof b)return d;for(var e=0,f=d.length;e<f;e+=1)b(d[e])}function bb(a,b){var c=a9(a,b);if(0!==c.length){if(1===c.length)return c[0];throw new l("expected a single document in the stream, but found more")}}(0,e.K2)(aS,"captureSegment"),(0,e.K2)(aT,"mergeMappings"),(0,e.K2)(aU,"storeMappingPair"),(0,e.K2)(aV,"readLineBreak"),(0,e.K2)(aW,"skipSeparationSpace"),(0,e.K2)(aX,"testDocumentSeparator"),(0,e.K2)(aY,"writeFoldedLines"),(0,e.K2)(aZ,"readPlainScalar"),(0,e.K2)(a$,"readSingleQuotedScalar"),(0,e.K2)(a_,"readDoubleQuotedScalar"),(0,e.K2)(a0,"readFlowCollection"),(0,e.K2)(a1,"readBlockScalar"),(0,e.K2)(a2,"readBlockSequence"),(0,e.K2)(a3,"readBlockMapping"),(0,e.K2)(a4,"readTagProperty"),(0,e.K2)(a5,"readAnchorProperty"),(0,e.K2)(a6,"readAlias"),(0,e.K2)(a7,"composeNode"),(0,e.K2)(a8,"readDocument"),(0,e.K2)(a9,"loadDocuments"),(0,e.K2)(ba,"loadAll$1"),(0,e.K2)(bb,"load$1");var bc={loadAll:ba,load:bb},bd=Object.prototype.toString,be=Object.prototype.hasOwnProperty,bf={};bf[0]="\\0",bf[7]="\\a",bf[8]="\\b",bf[9]="\\t",bf[10]="\\n",bf[11]="\\v",bf[12]="\\f",bf[13]="\\r",bf[27]="\\e",bf[34]='\\"',bf[92]="\\\\",bf[133]="\\N",bf[160]="\\_",bf[8232]="\\L",bf[8233]="\\P";var bg=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],bh=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function bi(a,b){var c,d,e,f,g,h,i;if(null===b)return{};for(e=0,c={},f=(d=Object.keys(b)).length;e<f;e+=1)h=String(b[g=d[e]]),"!!"===g.slice(0,2)&&(g="tag:yaml.org,2002:"+g.slice(2)),(i=a.compiledTypeMap.fallback[g])&&be.call(i.styleAliases,h)&&(h=i.styleAliases[h]),c[g]=h;return c}function bj(a){var b,c,d;if(b=a.toString(16).toUpperCase(),a<=255)c="x",d=2;else if(a<=65535)c="u",d=4;else if(a<=0xffffffff)c="U",d=8;else throw new l("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+c+j.repeat("0",d-b.length)+b}function bk(a){this.schema=a.schema||at,this.indent=Math.max(1,a.indent||2),this.noArrayIndent=a.noArrayIndent||!1,this.skipInvalid=a.skipInvalid||!1,this.flowLevel=j.isNothing(a.flowLevel)?-1:a.flowLevel,this.styleMap=bi(this.schema,a.styles||null),this.sortKeys=a.sortKeys||!1,this.lineWidth=a.lineWidth||80,this.noRefs=a.noRefs||!1,this.noCompatMode=a.noCompatMode||!1,this.condenseFlow=a.condenseFlow||!1,this.quotingType='"'===a.quotingType?2:1,this.forceQuotes=a.forceQuotes||!1,this.replacer="function"==typeof a.replacer?a.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function bl(a,b){for(var c,d=j.repeat(" ",b),e=0,f=-1,g="",h=a.length;e<h;)-1===(f=a.indexOf("\n",e))?(c=a.slice(e),e=h):(c=a.slice(e,f+1),e=f+1),c.length&&"\n"!==c&&(g+=d),g+=c;return g}function bm(a,b){return"\n"+j.repeat(" ",a.indent*b)}function bn(a,b){var c,d;for(c=0,d=a.implicitTypes.length;c<d;c+=1)if(a.implicitTypes[c].resolve(b))return!0;return!1}function bo(a){return 32===a||9===a}function bp(a){return 32<=a&&a<=126||161<=a&&a<=55295&&8232!==a&&8233!==a||57344<=a&&a<=65533&&65279!==a||65536<=a&&a<=1114111}function bq(a){return bp(a)&&65279!==a&&13!==a&&10!==a}function br(a,b,c){var d=bq(a),e=d&&!bo(a);return(c?d:d&&44!==a&&91!==a&&93!==a&&123!==a&&125!==a)&&35!==a&&!(58===b&&!e)||bq(b)&&!bo(b)&&35===a||58===b&&e}function bs(a){return bp(a)&&65279!==a&&!bo(a)&&45!==a&&63!==a&&58!==a&&44!==a&&91!==a&&93!==a&&123!==a&&125!==a&&35!==a&&38!==a&&42!==a&&33!==a&&124!==a&&61!==a&&62!==a&&39!==a&&34!==a&&37!==a&&64!==a&&96!==a}function bt(a){return!bo(a)&&58!==a}function bu(a,b){var c,d=a.charCodeAt(b);return d>=55296&&d<=56319&&b+1<a.length&&(c=a.charCodeAt(b+1))>=56320&&c<=57343?(d-55296)*1024+c-56320+65536:d}function bv(a){return/^\n* /.test(a)}function bw(a,b,c,d,e,f,g,h){var i,j=0,k=null,l=!1,m=!1,n=-1!==d,o=-1,p=bs(bu(a,0))&&bt(bu(a,a.length-1));if(b||g)for(i=0;i<a.length;j>=65536?i+=2:i++){if(!bp(j=bu(a,i)))return 5;p=p&&br(j,k,h),k=j}else{for(i=0;i<a.length;j>=65536?i+=2:i++){if(10===(j=bu(a,i)))l=!0,n&&(m=m||i-o-1>d&&" "!==a[o+1],o=i);else if(!bp(j))return 5;p=p&&br(j,k,h),k=j}m=m||n&&i-o-1>d&&" "!==a[o+1]}return l||m?c>9&&bv(a)?5:g?2===f?5:2:m?4:3:!p||g||e(a)?2===f?5:2:1}function bx(a,b,c,d,f){a.dump=function(){if(0===b.length)return 2===a.quotingType?'""':"''";if(!a.noCompatMode&&(-1!==bg.indexOf(b)||bh.test(b)))return 2===a.quotingType?'"'+b+'"':"'"+b+"'";var g=a.indent*Math.max(1,c),h=-1===a.lineWidth?-1:Math.max(Math.min(a.lineWidth,40),a.lineWidth-g),i=d||a.flowLevel>-1&&c>=a.flowLevel;function j(b){return bn(a,b)}switch((0,e.K2)(j,"testAmbiguity"),bw(b,i,a.indent,h,j,a.quotingType,a.forceQuotes&&!d,f)){case 1:return b;case 2:return"'"+b.replace(/'/g,"''")+"'";case 3:return"|"+by(b,a.indent)+bz(bl(b,g));case 4:return">"+by(b,a.indent)+bz(bl(bA(b,h),g));case 5:return'"'+bC(b)+'"';default:throw new l("impossible error: invalid scalar style")}}()}function by(a,b){var c=bv(a)?String(b):"",d="\n"===a[a.length-1];return c+(d&&("\n"===a[a.length-2]||"\n"===a)?"+":d?"":"-")+"\n"}function bz(a){return"\n"===a[a.length-1]?a.slice(0,-1):a}function bA(a,b){for(var c,d,e,f=/(\n+)([^\n]*)/g,g=(f.lastIndex=c=-1!==(c=a.indexOf("\n"))?c:a.length,bB(a.slice(0,c),b)),h="\n"===a[0]||" "===a[0];e=f.exec(a);){var i=e[1],j=e[2];d=" "===j[0],g+=i+(h||d||""===j?"":"\n")+bB(j,b),h=d}return g}function bB(a,b){if(""===a||" "===a[0])return a;for(var c,d,e=/ [^ ]/g,f=0,g=0,h=0,i="";c=e.exec(a);)(h=c.index)-f>b&&(d=g>f?g:h,i+="\n"+a.slice(f,d),f=d+1),g=h;return i+="\n",a.length-f>b&&g>f?i+=a.slice(f,g)+"\n"+a.slice(g+1):i+=a.slice(f),i.slice(1)}function bC(a){for(var b,c="",d=0,e=0;e<a.length;d>=65536?e+=2:e++)!(b=bf[d=bu(a,e)])&&bp(d)?(c+=a[e],d>=65536&&(c+=a[e+1])):c+=b||bj(d);return c}function bD(a,b,c){var d,e,f,g="",h=a.tag;for(d=0,e=c.length;d<e;d+=1)f=c[d],a.replacer&&(f=a.replacer.call(c,String(d),f)),(bI(a,b,f,!1,!1)||void 0===f&&bI(a,b,null,!1,!1))&&(""!==g&&(g+=","+(a.condenseFlow?"":" ")),g+=a.dump);a.tag=h,a.dump="["+g+"]"}function bE(a,b,c,d){var e,f,g,h="",i=a.tag;for(e=0,f=c.length;e<f;e+=1)g=c[e],a.replacer&&(g=a.replacer.call(c,String(e),g)),(bI(a,b+1,g,!0,!0,!1,!0)||void 0===g&&bI(a,b+1,null,!0,!0,!1,!0))&&(d&&""===h||(h+=bm(a,b)),a.dump&&10===a.dump.charCodeAt(0)?h+="-":h+="- ",h+=a.dump);a.tag=i,a.dump=h||"[]"}function bF(a,b,c){var d,e,f,g,h,i="",j=a.tag,k=Object.keys(c);for(d=0,e=k.length;d<e;d+=1)h="",""!==i&&(h+=", "),a.condenseFlow&&(h+='"'),g=c[f=k[d]],a.replacer&&(g=a.replacer.call(c,f,g)),bI(a,b,f,!1,!1)&&(a.dump.length>1024&&(h+="? "),h+=a.dump+(a.condenseFlow?'"':"")+":"+(a.condenseFlow?"":" "),bI(a,b,g,!1,!1)&&(h+=a.dump,i+=h));a.tag=j,a.dump="{"+i+"}"}function bG(a,b,c,d){var e,f,g,h,i,j,k="",m=a.tag,n=Object.keys(c);if(!0===a.sortKeys)n.sort();else if("function"==typeof a.sortKeys)n.sort(a.sortKeys);else if(a.sortKeys)throw new l("sortKeys must be a boolean or a function");for(e=0,f=n.length;e<f;e+=1)j="",d&&""===k||(j+=bm(a,b)),h=c[g=n[e]],a.replacer&&(h=a.replacer.call(c,g,h)),bI(a,b+1,g,!0,!0,!0)&&((i=null!==a.tag&&"?"!==a.tag||a.dump&&a.dump.length>1024)&&(a.dump&&10===a.dump.charCodeAt(0)?j+="?":j+="? "),j+=a.dump,i&&(j+=bm(a,b)),bI(a,b+1,h,!0,i)&&(a.dump&&10===a.dump.charCodeAt(0)?j+=":":j+=": ",j+=a.dump,k+=j));a.tag=m,a.dump=k||"{}"}function bH(a,b,c){var d,e,f,g,h,i;for(f=0,g=(e=c?a.explicitTypes:a.implicitTypes).length;f<g;f+=1)if(((h=e[f]).instanceOf||h.predicate)&&(!h.instanceOf||"object"==typeof b&&b instanceof h.instanceOf)&&(!h.predicate||h.predicate(b))){if(c?h.multi&&h.representName?a.tag=h.representName(b):a.tag=h.tag:a.tag="?",h.represent){if(i=a.styleMap[h.tag]||h.defaultStyle,"[object Function]"===bd.call(h.represent))d=h.represent(b,i);else if(be.call(h.represent,i))d=h.represent[i](b,i);else throw new l("!<"+h.tag+'> tag resolver accepts not "'+i+'" style');a.dump=d}return!0}return!1}function bI(a,b,c,d,e,f,g){a.tag=null,a.dump=c,bH(a,c,!1)||bH(a,c,!0);var h=bd.call(a.dump),i=d;d&&(d=a.flowLevel<0||a.flowLevel>b);var j,k,m,n="[object Object]"===h||"[object Array]"===h;if(n&&(m=-1!==(k=a.duplicates.indexOf(c))),(null!==a.tag&&"?"!==a.tag||m||2!==a.indent&&b>0)&&(e=!1),m&&a.usedDuplicates[k])a.dump="*ref_"+k;else{if(n&&m&&!a.usedDuplicates[k]&&(a.usedDuplicates[k]=!0),"[object Object]"===h)d&&0!==Object.keys(a.dump).length?(bG(a,b,a.dump,e),m&&(a.dump="&ref_"+k+a.dump)):(bF(a,b,a.dump),m&&(a.dump="&ref_"+k+" "+a.dump));else if("[object Array]"===h)d&&0!==a.dump.length?(a.noArrayIndent&&!g&&b>0?bE(a,b-1,a.dump,e):bE(a,b,a.dump,e),m&&(a.dump="&ref_"+k+a.dump)):(bD(a,b,a.dump),m&&(a.dump="&ref_"+k+" "+a.dump));else if("[object String]"===h)"?"!==a.tag&&bx(a,a.dump,b,f,i);else{if("[object Undefined]"===h||a.skipInvalid)return!1;throw new l("unacceptable kind of an object to dump "+h)}null!==a.tag&&"?"!==a.tag&&(j=encodeURI("!"===a.tag[0]?a.tag.slice(1):a.tag).replace(/!/g,"%21"),j="!"===a.tag[0]?"!"+j:"tag:yaml.org,2002:"===j.slice(0,18)?"!!"+j.slice(18):"!<"+j+">",a.dump=j+" "+a.dump)}return!0}function bJ(a,b){var c,d,e=[],f=[];for(bK(a,e,f),c=0,d=f.length;c<d;c+=1)b.duplicates.push(e[f[c]]);b.usedDuplicates=Array(d)}function bK(a,b,c){var d,e,f;if(null!==a&&"object"==typeof a)if(-1!==(e=b.indexOf(a)))-1===c.indexOf(e)&&c.push(e);else if(b.push(a),Array.isArray(a))for(e=0,f=a.length;e<f;e+=1)bK(a[e],b,c);else for(e=0,f=(d=Object.keys(a)).length;e<f;e+=1)bK(a[d[e]],b,c)}(0,e.K2)(bi,"compileStyleMap"),(0,e.K2)(bj,"encodeHex"),(0,e.K2)(bk,"State"),(0,e.K2)(bl,"indentString"),(0,e.K2)(bm,"generateNextLine"),(0,e.K2)(bn,"testImplicitResolving"),(0,e.K2)(bo,"isWhitespace"),(0,e.K2)(bp,"isPrintable"),(0,e.K2)(bq,"isNsCharOrWhitespace"),(0,e.K2)(br,"isPlainSafe"),(0,e.K2)(bs,"isPlainSafeFirst"),(0,e.K2)(bt,"isPlainSafeLast"),(0,e.K2)(bu,"codePointAt"),(0,e.K2)(bv,"needIndentIndicator");function bL(a,b){return function(){throw Error("Function yaml."+a+" is removed in js-yaml 4. Use yaml."+b+" instead, which is now safe by default.")}}(0,e.K2)(bw,"chooseScalarStyle"),(0,e.K2)(bx,"writeScalar"),(0,e.K2)(by,"blockHeader"),(0,e.K2)(bz,"dropEndingNewline"),(0,e.K2)(bA,"foldString"),(0,e.K2)(bB,"foldLine"),(0,e.K2)(bC,"escapeString"),(0,e.K2)(bD,"writeFlowSequence"),(0,e.K2)(bE,"writeBlockSequence"),(0,e.K2)(bF,"writeFlowMapping"),(0,e.K2)(bG,"writeBlockMapping"),(0,e.K2)(bH,"detectType"),(0,e.K2)(bI,"writeNode"),(0,e.K2)(bJ,"getDuplicateReferences"),(0,e.K2)(bK,"inspectNode"),(0,e.K2)(function(a,b){var c=new bk(b=b||{});c.noRefs||bJ(a,c);var d=a;return(c.replacer&&(d=c.replacer.call({"":d},"",d)),bI(c,0,d,!0,!0))?c.dump+"\n":""},"dump$1"),(0,e.K2)(bL,"renamed");var bM=T,bN=bc.load;bc.loadAll,bL("safeLoad","load"),bL("safeLoadAll","loadAll"),bL("safeDump","dump")},1175:(a,b)=>{"use strict";function c(a){let b=null!=a;return function(c){let d=c.length-1;if(1===d)return[];if("}"!==c[d])throw Error("Invalid array text - must end with }");let e=0;if("["===c[0]&&(e=c.indexOf("=")+1),"{"!==c[e++])throw Error("Invalid array text - must start with {");let f=[],g=f,h=[],i=e,j="",k=!0;for(;e<d;++e){let f=c[e];if('"'===f){i=++e;let d=c.indexOf('"',i),f=c.indexOf("\\",i);for(;-1!==f&&f<d;)e=f,j+=c.slice(i,e),i=++e,d===e++&&(d=c.indexOf('"',e)),f=c.indexOf("\\",e);e=d,j+=c.slice(i,e),g.push(b?a(j):j),j="",k=!1}else if("{"===f){let a=[];g.push(a),h.push(g),g=a,i=e+1,k=!0}else if(","===f)k=!0;else if("}"===f){k=!1;let a=h.pop();if(void 0===a)throw Error("Invalid array text - too many '}'");g=a}else if(k){for(i=e;","!==(f=c[e])&&"}"!==f&&e<d;)++e;let h=c.slice(i,e--);g.push("NULL"===h?null:b?a(h):h),k=!1}else throw Error("Was expecting delimeter")}return f}}let d=c();b.q=(a,b)=>null!=b?c(b)(a):d(a)},1384:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("hard-drive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},1707:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(93123).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},1836:(a,b,c)=>{"use strict";function d(a){return"object"==typeof a&&null!==a}c.d(b,{G:()=>d})},1997:(a,b,c)=>{"use strict";function d(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];var d=Array.from("string"==typeof a?[a]:a);d[d.length-1]=d[d.length-1].replace(/\r?\n([\t ]*)$/,"");var e=d.reduce(function(a,b){var c=b.match(/\n([\t ]+|(?!\s).)/g);return c?a.concat(c.map(function(a){var b,c;return null!=(c=null==(b=a.match(/[\t ]/g))?void 0:b.length)?c:0})):a},[]);if(e.length){var f=RegExp("\n[ ]{"+Math.min.apply(Math,e)+"}","g");d=d.map(function(a){return a.replace(f,"\n")})}d[0]=d[0].replace(/^\r?\n/,"");var g=d[0];return b.forEach(function(a,b){var c=g.match(/(?:^|\n)( *)$/),e=c?c[1]:"",f=a;"string"==typeof a&&a.includes("\n")&&(f=String(a).split("\n").map(function(a,b){return 0===b?a:""+e+a}).join("\n")),g+=f+d[b+1]}),g}c.d(b,{T:()=>d})},2613:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(80080)},3671:(a,b,c)=>{"use strict";a.exports=c(50650)},3753:(a,b,c)=>{"use strict";c.d(b,{BM:()=>h,CW:()=>d,Ee:()=>l,HP:()=>k,JQ:()=>g,Ny:()=>o,On:()=>m,cx:()=>f,es:()=>n,lV:()=>e,ok:()=>i,ol:()=>j});let d=p(/[A-Za-z]/),e=p(/[\dA-Za-z]/),f=p(/[#-'*+\--9=?A-Z^-~]/);function g(a){return null!==a&&(a<32||127===a)}let h=p(/\d/),i=p(/[\dA-Fa-f]/),j=p(/[!-/:-@[-`{-~]/);function k(a){return null!==a&&a<-2}function l(a){return null!==a&&(a<0||32===a)}function m(a){return -2===a||-1===a||32===a}let n=p(/\p{P}|\p{S}/u),o=p(/\s/);function p(a){return function(b){return null!==b&&b>-1&&a.test(String.fromCharCode(b))}}},4045:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},4283:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]])},4291:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.SentinelIterator=void 0;let d=c(91645),e=c(86944),f=c(34631),g=c(68375);b.SentinelIterator=g.default;let h=c(53932),i=c(81931),j=c(29725),k=(0,e.Debug)("SentinelConnector");class l extends h.default{constructor(a){if(super(a.disconnectTimeout),this.options=a,this.emitter=null,this.failoverDetector=null,!this.options.sentinels.length)throw Error("Requires at least one sentinel to connect to.");if(!this.options.name)throw Error("Requires the name of master.");this.sentinelIterator=new g.default(this.options.sentinels)}check(a){let b=!a.role||this.options.role===a.role;return b||(k("role invalid, expected %s, but got %s",this.options.role,a.role),this.sentinelIterator.next(),this.sentinelIterator.next(),this.sentinelIterator.reset(!0)),b}disconnect(){super.disconnect(),this.failoverDetector&&this.failoverDetector.cleanup()}connect(a){let b;this.connecting=!0,this.retryAttempts=0;let c=async()=>{let g=this.sentinelIterator.next();if(g.done){this.sentinelIterator.reset(!1);let d="function"==typeof this.options.sentinelRetryStrategy?this.options.sentinelRetryStrategy(++this.retryAttempts):null,e="number"!=typeof d?"All sentinels are unreachable and retry is disabled.":`All sentinels are unreachable. Retrying from scratch after ${d}ms.`;b&&(e+=` Last error: ${b.message}`),k(e);let f=Error(e);if("number"==typeof d)return a("error",f),await new Promise(a=>setTimeout(a,d)),c();throw f}let h=null,i=null;try{h=await this.resolve(g.value)}catch(a){i=a}if(!this.connecting)throw Error(e.CONNECTION_CLOSED_ERROR_MSG);let j=g.value.host+":"+g.value.port;if(h)return k("resolved: %s:%s from sentinel %s",h.host,h.port,j),this.options.enableTLSForSentinelMode&&this.options.tls?(Object.assign(h,this.options.tls),this.stream=(0,f.connect)(h),this.stream.once("secureConnect",this.initFailoverDetector.bind(this))):(this.stream=(0,d.createConnection)(h),this.stream.once("connect",this.initFailoverDetector.bind(this))),this.stream.once("error",a=>{this.firstError=a}),this.stream;{let d=i?"failed to connect to sentinel "+j+" because "+i.message:"connected to sentinel "+j+" successfully, but got an invalid reply: "+h;return k(d),a("sentinelError",Error(d)),i&&(b=i),c()}};return c()}async updateSentinels(a){if(!this.options.updateSentinels)return;let b=await a.sentinel("sentinels",this.options.name);Array.isArray(b)&&(b.map(e.packObject).forEach(a=>{if(-1===(a.flags?a.flags.split(","):[]).indexOf("disconnected")&&a.ip&&a.port){let b=this.sentinelNatResolve(m(a));this.sentinelIterator.add(b)&&k("adding sentinel %s:%s",b.host,b.port)}}),k("Updated internal sentinels: %s",this.sentinelIterator))}async resolveMaster(a){let b=await a.sentinel("get-master-addr-by-name",this.options.name);return await this.updateSentinels(a),this.sentinelNatResolve(Array.isArray(b)?{host:b[0],port:Number(b[1])}:null)}async resolveSlave(a){let b=await a.sentinel("slaves",this.options.name);if(!Array.isArray(b))return null;let c=b.map(e.packObject).filter(a=>a.flags&&!a.flags.match(/(disconnected|s_down|o_down)/));return this.sentinelNatResolve(function(a,b){let c;if(0===a.length)return null;if("function"==typeof b)c=b(a);else if(null!==b&&"object"==typeof b){let d=Array.isArray(b)?b:[b];d.sort((a,b)=>(a.prio||(a.prio=1),b.prio||(b.prio=1),a.prio<b.prio)?-1:+(a.prio>b.prio));for(let b=0;b<d.length;b++){for(let e=0;e<a.length;e++){let f=a[e];if(f.ip===d[b].ip&&f.port===d[b].port){c=f;break}}if(c)break}}return c||(c=(0,e.sample)(a)),m(c)}(c,this.options.preferredSlaves))}sentinelNatResolve(a){if(!a||!this.options.natMap)return a;let b=`${a.host}:${a.port}`,c=a;return"function"==typeof this.options.natMap?c=this.options.natMap(b)||a:"object"==typeof this.options.natMap&&(c=this.options.natMap[b]||a),c}connectToSentinel(a,b){return new i.default({port:a.port||26379,host:a.host,username:this.options.sentinelUsername||null,password:this.options.sentinelPassword||null,family:a.family||("path"in this.options&&this.options.path?void 0:this.options.family),tls:this.options.sentinelTLS,retryStrategy:null,enableReadyCheck:!1,connectTimeout:this.options.connectTimeout,commandTimeout:this.options.sentinelCommandTimeout,...b})}async resolve(a){let b=this.connectToSentinel(a);b.on("error",n);try{if("slave"===this.options.role)return await this.resolveSlave(b);return await this.resolveMaster(b)}finally{b.disconnect()}}async initFailoverDetector(){var a;if(!this.options.failoverDetector)return;this.sentinelIterator.reset(!0);let b=[];for(;b.length<this.options.sentinelMaxConnections;){let{done:a,value:c}=this.sentinelIterator.next();if(a)break;let d=this.connectToSentinel(c,{lazyConnect:!0,retryStrategy:this.options.sentinelReconnectStrategy});d.on("reconnecting",()=>{var a;null==(a=this.emitter)||a.emit("sentinelReconnecting")}),b.push({address:c,client:d})}this.sentinelIterator.reset(!1),this.failoverDetector&&this.failoverDetector.cleanup(),this.failoverDetector=new j.FailoverDetector(this,b),await this.failoverDetector.subscribe(),null==(a=this.emitter)||a.emit("failoverSubscribed")}}function m(a){return{host:a.ip,port:Number(a.port)}}function n(){}b.default=l},4343:(a,b,c)=>{"use strict";c.d(b,{YR:()=>e});var d=c(91618);function e(a,b,c,e){let f,g,h;"function"==typeof b&&"function"!=typeof c?(g=void 0,h=b,f=c):(g=b,h=c,f=e),(0,d.VG)(a,g,function(a,b){let c=b[b.length-1],d=c?c.children.indexOf(a):void 0;return h(a,d,c)},f)}},4531:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(55511),e=c(36385),f=c(65078);class g{constructor(a,b=null,c="",f=!1){this.lua=a,this.numberOfKeys=b,this.keyPrefix=c,this.readOnly=f,this.sha=(0,d.createHash)("sha1").update(a).digest("hex");let g=this.sha,h=new WeakSet;this.Command=class extends e.default{toWritable(b){let c=this.reject;return this.reject=a=>{-1!==a.message.indexOf("NOSCRIPT")&&h.delete(b),c.call(this,a)},h.has(b)?"eval"===this.name&&(this.name="evalsha",this.args[0]=g):(h.add(b),this.name="eval",this.args[0]=a),super.toWritable(b)}}}execute(a,b,c,d){"number"==typeof this.numberOfKeys&&b.unshift(this.numberOfKeys),this.keyPrefix&&(c.keyPrefix=this.keyPrefix),this.readOnly&&(c.readOnly=!0);let e=new this.Command("evalsha",[this.sha,...b],c);return e.promise=e.promise.catch(d=>{if(-1===d.message.indexOf("NOSCRIPT"))throw d;let e=new this.Command("evalsha",[this.sha,...b],c);return(a.isPipeline?a.redis:a).sendCommand(e)}),(0,f.default)(e.promise,d),a.sendCommand(e)}}b.default=g},4687:(a,b,c)=>{"use strict";var d=c(7807);c.o(d,"redirect")&&c.d(b,{redirect:function(){return d.redirect}})},4731:(a,b,c)=>{"use strict";c.d(b,{D:()=>g});var d=c(6335),e=c(42292),f=c(72636),g=(0,e.K2)(a=>{let{securityLevel:b}=(0,d.D7)(),c=(0,f.Ltv)("body");if("sandbox"===b){let b=(0,f.Ltv)(`#i${a}`),d=b.node()?.contentDocument??document;c=(0,f.Ltv)(d.body)}return c.select(`#${a}`)},"selectSvgElement")},4892:(a,b,c)=>{"use strict";c.d(b,{W6:()=>a2,GZ:()=>a7,WY:()=>aP,pC:()=>aM,Gc:()=>aJ});var d=c(46895),e=c(6335),f=c(42292);let g=(a,b)=>!!a&&!!((b&&""===a.prefix||a.prefix)&&a.name),h=Object.freeze({left:0,top:0,width:16,height:16}),i=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),j=Object.freeze({...h,...i}),k=Object.freeze({...j,body:"",hidden:!1});function l(a,b){let c=function(a,b){let c={};!a.hFlip!=!b.hFlip&&(c.hFlip=!0),!a.vFlip!=!b.vFlip&&(c.vFlip=!0);let d=((a.rotate||0)+(b.rotate||0))%4;return d&&(c.rotate=d),c}(a,b);for(let d in k)d in i?d in a&&!(d in c)&&(c[d]=i[d]):d in b?c[d]=b[d]:d in a&&(c[d]=a[d]);return c}function m(a,b,c){let d=a.icons,e=a.aliases||Object.create(null),f={};function g(a){f=l(d[a]||e[a],f)}return g(b),c.forEach(g),l(a,f)}let n=Object.freeze({...Object.freeze({width:null,height:null}),...i}),o=/(-?[0-9.]*[0-9]+[0-9.]*)/g,p=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function q(a,b,c){if(1===b)return a;if(c=c||100,"number"==typeof a)return Math.ceil(a*b*c)/c;if("string"!=typeof a)return a;let d=a.split(o);if(null===d||!d.length)return a;let e=[],f=d.shift(),g=p.test(f);for(;;){if(g){let a=parseFloat(f);isNaN(a)?e.push(f):e.push(Math.ceil(a*b*c)/c)}else e.push(f);if(void 0===(f=d.shift()))return e.join("");g=!g}}let r=/\sid="(\S+)"/g,s=new Map;var t=c(72636);function u(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var v=u(),w={exec:()=>null};function x(a,b=""){let c="string"==typeof a?a:a.source,d={replace:(a,b)=>{let e="string"==typeof b?b:b.source;return e=e.replace(z.caret,"$1"),c=c.replace(a,e),d},getRegex:()=>new RegExp(c,b)};return d}var y=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),z={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:a=>RegExp(`^( {0,3}${a})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:a=>RegExp(`^ {0,${Math.min(3,a-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:a=>RegExp(`^ {0,${Math.min(3,a-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:a=>RegExp(`^ {0,${Math.min(3,a-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:a=>RegExp(`^ {0,${Math.min(3,a-1)}}#`),htmlBeginRegex:a=>RegExp(`^ {0,${Math.min(3,a-1)}}<(?:[a-z].*>|!--)`,"i")},A=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,B=/(?:[*+-]|\d{1,9}[.)])/,C=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,D=x(C).replace(/bull/g,B).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),E=x(C).replace(/bull/g,B).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),F=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,G=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,H=x(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",G).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),I=x(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,B).getRegex(),J="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",K=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,L=x("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",K).replace("tag",J).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),M=x(F).replace("hr",A).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",J).getRegex(),N={blockquote:x(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",M).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:H,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:A,html:L,lheading:D,list:I,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:M,table:w,text:/^[^\n]+/},O=x("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",A).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",J).getRegex(),P={...N,lheading:E,table:O,paragraph:x(F).replace("hr",A).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",O).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",J).getRegex()},Q={...N,html:x(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",K).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:x(F).replace("hr",A).replace("heading",` *#{1,6} *[^
|
|
2
2
|
]`).replace("lheading",D).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},R=/^( {2,}|\\)\n(?!\s*$)/,S=/[\p{P}\p{S}]/u,T=/[\s\p{P}\p{S}]/u,U=/[^\s\p{P}\p{S}]/u,V=x(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,T).getRegex(),W=/(?!~)[\p{P}\p{S}]/u,X=x(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",y?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Y=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Z=x(Y,"u").replace(/punct/g,S).getRegex(),$=x(Y,"u").replace(/punct/g,W).getRegex(),_="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",aa=x(_,"gu").replace(/notPunctSpace/g,U).replace(/punctSpace/g,T).replace(/punct/g,S).getRegex(),ab=x(_,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,W).getRegex(),ac=x("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,U).replace(/punctSpace/g,T).replace(/punct/g,S).getRegex(),ad=x(/\\(punct)/,"gu").replace(/punct/g,S).getRegex(),ae=x(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),af=x(K).replace("(?:--\x3e|$)","--\x3e").getRegex(),ag=x("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",af).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ah=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,ai=x(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ah).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),aj=x(/^!?\[(label)\]\[(ref)\]/).replace("label",ah).replace("ref",G).getRegex(),ak=x(/^!?\[(ref)\](?:\[\])?/).replace("ref",G).getRegex(),al=x("reflink|nolink(?!\\()","g").replace("reflink",aj).replace("nolink",ak).getRegex(),am=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,an={_backpedal:w,anyPunctuation:ad,autolink:ae,blockSkip:X,br:R,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:w,emStrongLDelim:Z,emStrongRDelimAst:aa,emStrongRDelimUnd:ac,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:ai,nolink:ak,punctuation:V,reflink:aj,reflinkSearch:al,tag:ag,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:w},ao={...an,link:x(/^!?\[(label)\]\((.*?)\)/).replace("label",ah).getRegex(),reflink:x(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ah).getRegex()},ap={...an,emStrongRDelimAst:ab,emStrongLDelim:$,url:x(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",am).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:x(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",am).getRegex()},aq={...ap,br:x(R).replace("{2,}","*").getRegex(),text:x(ap.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ar={normal:N,gfm:P,pedantic:Q},as={normal:an,gfm:ap,breaks:aq,pedantic:ao},at={"&":"&","<":"<",">":">",'"':""","'":"'"},au=a=>at[a];function av(a,b){if(b){if(z.escapeTest.test(a))return a.replace(z.escapeReplace,au)}else if(z.escapeTestNoEncode.test(a))return a.replace(z.escapeReplaceNoEncode,au);return a}function aw(a){try{a=encodeURI(a).replace(z.percentDecode,"%")}catch{return null}return a}function ax(a,b){let c=a.replace(z.findPipe,(a,b,c)=>{let d=!1,e=b;for(;--e>=0&&"\\"===c[e];)d=!d;return d?"|":" |"}).split(z.splitPipe),d=0;if(c[0].trim()||c.shift(),c.length>0&&!c.at(-1)?.trim()&&c.pop(),b)if(c.length>b)c.splice(b);else for(;c.length<b;)c.push("");for(;d<c.length;d++)c[d]=c[d].trim().replace(z.slashPipe,"|");return c}function ay(a,b,c){let d=a.length;if(0===d)return"";let e=0;for(;e<d;){let f=a.charAt(d-e-1);if(f!==b||c)if(f!==b&&c)e++;else break;else e++}return a.slice(0,d-e)}function az(a,b,c,d,e){let f=b.href,g=b.title||null,h=a[1].replace(e.other.outputLinkReplace,"$1");d.state.inLink=!0;let i={type:"!"===a[0].charAt(0)?"image":"link",raw:c,href:f,title:g,text:h,tokens:d.inlineTokens(h)};return d.state.inLink=!1,i}var aA=class{options;rules;lexer;constructor(a){this.options=a||v}space(a){let b=this.rules.block.newline.exec(a);if(b&&b[0].length>0)return{type:"space",raw:b[0]}}code(a){let b=this.rules.block.code.exec(a);if(b){let a=b[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:b[0],codeBlockStyle:"indented",text:this.options.pedantic?a:ay(a,`
|
|
3
3
|
`)}}}fences(a){let b=this.rules.block.fences.exec(a);if(b){let a=b[0],c=function(a,b,c){let d=a.match(c.other.indentCodeCompensation);if(null===d)return b;let e=d[1];return b.split(`
|
|
4
4
|
`).map(a=>{let b=a.match(c.other.beginningSpace);if(null===b)return a;let[d]=b;return d.length>=e.length?a.slice(e.length):a}).join(`
|
|
@@ -183,7 +183,7 @@ ${b}`))}function L(){let a=new AbortController;return a.abort(Object.definePrope
|
|
|
183
183
|
|
|
184
184
|
If you want to hide the \`${b.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
185
185
|
|
|
186
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${b.docsSlug}`;return d.useEffect(()=>{a&&(document.getElementById(a)||console.error(c))},[c,a]),null},Z=({contentRef:a,descriptionId:b})=>{let c=X("DialogDescriptionWarning"),e=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${c.contentName}}.`;return d.useEffect(()=>{let c=a.current?.getAttribute("aria-describedby");b&&c&&(document.getElementById(b)||console.warn(e))},[e,a,b]),null},$=y,_=A,aa=E,ab=G,ac=K,ad=P,ae=R,af=T},14899:(a,b,c)=>{"use strict";c.d(b,{A:()=>k});var d=c(83545),e=c(59758);let f={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:a=>{if(35!==a.charCodeAt(0))return;let b=a.match(f.re);if(!b)return;let c=b[1],e=parseInt(c,16),g=c.length,h=g%4==0,i=g>4,j=i?1:17,k=i?8:4,l=h?0:-1,m=i?255:15;return d.A.set({r:(e>>k*(l+3)&m)*j,g:(e>>k*(l+2)&m)*j,b:(e>>k*(l+1)&m)*j,a:h?(e&m)*j/255:1},a)},stringify:a=>{let{r:b,g:c,b:d,a:f}=a;return f<1?`#${e.Y[Math.round(b)]}${e.Y[Math.round(c)]}${e.Y[Math.round(d)]}${e.Y[Math.round(255*f)]}`:`#${e.Y[Math.round(b)]}${e.Y[Math.round(c)]}${e.Y[Math.round(d)]}`}};var g=c(54469);let h={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:a=>{let b=a.match(h.hueRe);if(b){let[,a,c]=b;switch(c){case"grad":return g.A.channel.clamp.h(.9*parseFloat(a));case"rad":return g.A.channel.clamp.h(180*parseFloat(a)/Math.PI);case"turn":return g.A.channel.clamp.h(360*parseFloat(a))}}return g.A.channel.clamp.h(parseFloat(a))},parse:a=>{let b=a.charCodeAt(0);if(104!==b&&72!==b)return;let c=a.match(h.re);if(!c)return;let[,e,f,i,j,k]=c;return d.A.set({h:h._hue2deg(e),s:g.A.channel.clamp.s(parseFloat(f)),l:g.A.channel.clamp.l(parseFloat(i)),a:j?g.A.channel.clamp.a(k?parseFloat(j)/100:parseFloat(j)):1},a)},stringify:a=>{let{h:b,s:c,l:d,a:e}=a;return e<1?`hsla(${g.A.lang.round(b)}, ${g.A.lang.round(c)}%, ${g.A.lang.round(d)}%, ${e})`:`hsl(${g.A.lang.round(b)}, ${g.A.lang.round(c)}%, ${g.A.lang.round(d)}%)`}},i={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:a=>{a=a.toLowerCase();let b=i.colors[a];if(b)return f.parse(b)},stringify:a=>{let b=f.stringify(a);for(let a in i.colors)if(i.colors[a]===b)return a}},j={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:a=>{let b=a.charCodeAt(0);if(114!==b&&82!==b)return;let c=a.match(j.re);if(!c)return;let[,e,f,h,i,k,l,m,n]=c;return d.A.set({r:g.A.channel.clamp.r(f?2.55*parseFloat(e):parseFloat(e)),g:g.A.channel.clamp.g(i?2.55*parseFloat(h):parseFloat(h)),b:g.A.channel.clamp.b(l?2.55*parseFloat(k):parseFloat(k)),a:m?g.A.channel.clamp.a(n?parseFloat(m)/100:parseFloat(m)):1},a)},stringify:a=>{let{r:b,g:c,b:d,a:e}=a;return e<1?`rgba(${g.A.lang.round(b)}, ${g.A.lang.round(c)}, ${g.A.lang.round(d)}, ${g.A.lang.round(e)})`:`rgb(${g.A.lang.round(b)}, ${g.A.lang.round(c)}, ${g.A.lang.round(d)})`}},k={format:{keyword:i,hex:f,rgb:j,rgba:j,hsl:h,hsla:h},parse:a=>{if("string"!=typeof a)return a;let b=f.parse(a)||j.parse(a)||h.parse(a)||i.parse(a);if(b)return b;throw Error(`Unsupported color format: "${a}"`)},stringify:a=>!a.changed&&a.color?a.color:a.type.is(e.Z.HSL)||void 0===a.data.r?h.stringify(a):!(a.a<1)&&Number.isInteger(a.r)&&Number.isInteger(a.g)&&Number.isInteger(a.b)?f.stringify(a):j.stringify(a)}},14973:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},14994:(a,b,c)=>{"use strict";c.d(b,{y:()=>S});var d,e,f,g,h=Object.defineProperty,i={};((a,b)=>{for(var c in b)h(a,c,{get:b[c],enumerable:!0})})(i,{$:()=>k,bgBlack:()=>E,bgBlue:()=>I,bgCyan:()=>K,bgGreen:()=>G,bgMagenta:()=>J,bgRed:()=>F,bgWhite:()=>L,bgYellow:()=>H,black:()=>u,blue:()=>y,bold:()=>n,cyan:()=>A,dim:()=>o,gray:()=>C,green:()=>w,grey:()=>D,hidden:()=>s,inverse:()=>r,italic:()=>p,magenta:()=>z,red:()=>v,reset:()=>m,strikethrough:()=>t,underline:()=>q,white:()=>B,yellow:()=>x});var j=!0;"undefined"!=typeof process&&({FORCE_COLOR:d,NODE_DISABLE_COLORS:e,NO_COLOR:f,TERM:g}=process.env||{},j=process.stdout&&process.stdout.isTTY);var k={enabled:!e&&null==f&&"dumb"!==g&&(null!=d&&"0"!==d||j)};function l(a,b){let c=RegExp(`\\x1b\\[${b}m`,"g"),d=`\x1b[${a}m`,e=`\x1b[${b}m`;return function(a){return k.enabled&&null!=a?d+(~(""+a).indexOf(e)?a.replace(c,e+d):a)+e:a}}var m=l(0,0),n=l(1,22),o=l(2,22),p=l(3,23),q=l(4,24),r=l(7,27),s=l(8,28),t=l(9,29),u=l(30,39),v=l(31,39),w=l(32,39),x=l(33,39),y=l(34,39),z=l(35,39),A=l(36,39),B=l(37,39),C=l(90,39),D=l(90,39),E=l(40,49),F=l(41,49),G=l(42,49),H=l(43,49),I=l(44,49),J=l(45,49),K=l(46,49),L=l(47,49),M=["green","yellow","blue","magenta","cyan","red"],N=[],O=Date.now(),P=0,Q="undefined"!=typeof process?process.env:{};globalThis.DEBUG??=Q.DEBUG??"",globalThis.DEBUG_COLORS??=!Q.DEBUG_COLORS||"true"===Q.DEBUG_COLORS;var R={enable(a){"string"==typeof a&&(globalThis.DEBUG=a)},disable(){let a=globalThis.DEBUG;return globalThis.DEBUG="",a},enabled(a){let b=globalThis.DEBUG.split(",").map(a=>a.replace(/[.+?^${}()|[\]\\]/g,"\\$&")),c=b.some(b=>""!==b&&"-"!==b[0]&&a.match(RegExp(b.split("*").join(".*")+"$"))),d=b.some(b=>""!==b&&"-"===b[0]&&a.match(RegExp(b.slice(1).split("*").join(".*")+"$")));return c&&!d},log:(...a)=>{let[b,c,...d]=a;(console.warn??console.log)(`${b} ${c}`,...d)},formatters:{}},S=new Proxy(function(a){let b={color:M[P++%M.length],enabled:R.enabled(a),namespace:a,log:R.log,extend:()=>{}};return new Proxy((...a)=>{let{enabled:c,namespace:d,color:e,log:f}=b;if(0!==a.length&&N.push([d,...a]),N.length>100&&N.shift(),R.enabled(d)||c){let b=a.map(a=>"string"==typeof a?a:function(a,b=2){let c=new Set;return JSON.stringify(a,(a,b)=>{if("object"==typeof b&&null!==b){if(c.has(b))return"[Circular *]";c.add(b)}else if("bigint"==typeof b)return b.toString();return b},b)}(a)),c=`+${Date.now()-O}ms`;O=Date.now(),globalThis.DEBUG_COLORS?f(i[e](n(d)),...b,i[e](c)):f(d,...b,c)}},{get:(a,c)=>b[c],set:(a,c,d)=>b[c]=d})},{get:(a,b)=>R[b],set:(a,b,c)=>R[b]=c})},16235:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},17302:(a,b,c)=>{"use strict";c.d(b,{A:()=>o});var d=c(54643),e=c(99554).A["__core-js_shared__"],f=function(){var a=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),g=c(12500),h=c(55326),i=/^\[object .+?Constructor\]$/,j=Object.prototype,k=Function.prototype.toString,l=j.hasOwnProperty,m=RegExp("^"+k.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let n=function(a){return!!(0,g.A)(a)&&(!f||!(f in a))&&((0,d.A)(a)?m:i).test((0,h.A)(a))},o=function(a,b){var c=null==a?void 0:a[b];return n(c)?c:void 0}},17552:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d={value:()=>{}};function e(){for(var a,b=0,c=arguments.length,d={};b<c;++b){if(!(a=arguments[b]+"")||a in d||/[\s.]/.test(a))throw Error("illegal type: "+a);d[a]=[]}return new f(d)}function f(a){this._=a}function g(a,b,c){for(var e=0,f=a.length;e<f;++e)if(a[e].name===b){a[e]=d,a=a.slice(0,e).concat(a.slice(e+1));break}return null!=c&&a.push({name:b,value:c}),a}f.prototype=e.prototype={constructor:f,on:function(a,b){var c,d=this._,e=(a+"").trim().split(/^|\s+/).map(function(a){var b="",c=a.indexOf(".");if(c>=0&&(b=a.slice(c+1),a=a.slice(0,c)),a&&!d.hasOwnProperty(a))throw Error("unknown type: "+a);return{type:a,name:b}}),f=-1,h=e.length;if(arguments.length<2){for(;++f<h;)if((c=(a=e[f]).type)&&(c=function(a,b){for(var c,d=0,e=a.length;d<e;++d)if((c=a[d]).name===b)return c.value}(d[c],a.name)))return c;return}if(null!=b&&"function"!=typeof b)throw Error("invalid callback: "+b);for(;++f<h;)if(c=(a=e[f]).type)d[c]=g(d[c],a.name,b);else if(null==b)for(c in d)d[c]=g(d[c],a.name,null);return this},copy:function(){var a={},b=this._;for(var c in b)a[c]=b[c].slice();return new f(a)},call:function(a,b){if((c=arguments.length-2)>0)for(var c,d,e=Array(c),f=0;f<c;++f)e[f]=arguments[f+2];if(!this._.hasOwnProperty(a))throw Error("unknown type: "+a);for(d=this._[a],f=0,c=d.length;f<c;++f)d[f].value.apply(b,e)},apply:function(a,b,c){if(!this._.hasOwnProperty(a))throw Error("unknown type: "+a);for(var d=this._[a],e=0,f=d.length;e<f;++e)d[e].value.apply(b,c)}};let h=e},18462:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DynamicServerError:function(){return d},isDynamicServerError:function(){return e}});let c="DYNAMIC_SERVER_USAGE";class d extends Error{constructor(a){super("Dynamic server usage: "+a),this.description=a,this.digest=c}}function e(a){return"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest&&a.digest===c}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},18683:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"connection",{enumerable:!0,get:function(){return j}});let d=c(29294),e=c(63033),f=c(13786),g=c(60114),h=c(91275),i=c(45110);function j(){let a=d.workAsyncStorage.getStore(),b=e.workUnitAsyncStorage.getStore();if(a){if(b&&"after"===b.phase&&!(0,i.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${a.route} used "connection" inside "after(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but "after(...)" executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E186",enumerable:!1,configurable:!0});if(a.forceStatic)return Promise.resolve(void 0);if(a.dynamicShouldError)throw Object.defineProperty(new g.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`connection\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E562",enumerable:!1,configurable:!0});if(b)switch(b.type){case"cache":{let b=Object.defineProperty(Error(`Route ${a.route} used "connection" inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual request, but caches must be able to be produced before a request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E752",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"private-cache":{let b=Object.defineProperty(Error(`Route ${a.route} used "connection" inside "use cache: private". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual navigation request, but caches must be able to be produced before a navigation request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E753",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"unstable-cache":throw Object.defineProperty(Error(`Route ${a.route} used "connection" inside a function cached with "unstable_cache(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E1",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-runtime":return(0,h.makeHangingPromise)(b.renderSignal,a.route,"`connection()`");case"prerender-ppr":return(0,f.postponeWithTracking)(a.route,"connection",b.dynamicTracking);case"prerender-legacy":return(0,f.throwToInterruptStaticGeneration)("connection",a,b);case"request":return(0,f.trackDynamicDataInDynamicRender)(b),Promise.resolve(void 0)}}(0,e.throwForMissingRequestStore)("connection")}},19136:(a,b,c)=>{"use strict";function d(a){if("object"!=typeof a||null===a||"[object Object]"!==Object.prototype.toString.call(a))return!1;if(null===Object.getPrototypeOf(a))return!0;let b=a;for(;null!==Object.getPrototypeOf(b);)b=Object.getPrototypeOf(b);return Object.getPrototypeOf(a)===b}c.d(b,{G:()=>d})},20291:(a,b,c)=>{"use strict";c.d(b,{d:()=>e});let d={};function e(a,b){let c=b||d;return f(a,"boolean"!=typeof c.includeImageAlt||c.includeImageAlt,"boolean"!=typeof c.includeHtml||c.includeHtml)}function f(a,b,c){var d;if((d=a)&&"object"==typeof d){if("value"in a)return"html"!==a.type||c?a.value:"";if(b&&"alt"in a&&a.alt)return a.alt;if("children"in a)return g(a.children,b,c)}return Array.isArray(a)?g(a,b,c):""}function g(a,b,c){let d=[],e=-1;for(;++e<a.length;)d[e]=f(a[e],b,c);return d.join("")}},20447:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},20584:a=>{var b=/^(?:0|[1-9]\d*)$/;function c(a,b,c){switch(c.length){case 0:return a.call(b);case 1:return a.call(b,c[0]);case 2:return a.call(b,c[0],c[1]);case 3:return a.call(b,c[0],c[1],c[2])}return a.apply(b,c)}var d=Object.prototype,e=d.hasOwnProperty,f=d.toString,g=d.propertyIsEnumerable,h=Math.max;function i(a,b,c,f){return void 0===a||l(a,d[c])&&!e.call(f,c)?b:a}function j(a,b){return b=h(void 0===b?a.length-1:b,0),function(){for(var d=arguments,e=-1,f=h(d.length-b,0),g=Array(f);++e<f;)g[e]=d[b+e];e=-1;for(var i=Array(b+1);++e<b;)i[e]=d[e];return i[b]=g,c(a,this,i)}}function k(a,c){return!!(c=null==c?0x1fffffffffffff:c)&&("number"==typeof a||b.test(a))&&a>-1&&a%1==0&&a<c}function l(a,b){return a===b||a!=a&&b!=b}var m=Array.isArray;function n(a){var b,c,d;return null!=a&&"number"==typeof(b=a.length)&&b>-1&&b%1==0&&b<=0x1fffffffffffff&&"[object Function]"!=(d=o(c=a)?f.call(c):"")&&"[object GeneratorFunction]"!=d}function o(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}var p=function(a){return j(function(b,c){var d=-1,e=c.length,f=e>1?c[e-1]:void 0,g=e>2?c[2]:void 0;for(f=a.length>3&&"function"==typeof f?(e--,f):void 0,g&&function(a,b,c){if(!o(c))return!1;var d=typeof b;return("number"==d?!!(n(c)&&k(b,c.length)):"string"==d&&b in c)&&l(c[b],a)}(c[0],c[1],g)&&(f=e<3?void 0:f,e=1),b=Object(b);++d<e;){var h=c[d];h&&a(b,h,d,f)}return b})}(function(a,b,c,h){var i;!function(a,b,c,d){c||(c={});for(var f=-1,g=b.length;++f<g;){var h=b[f],i=d?d(c[h],a[h],h,c,a):void 0;!function(a,b,c){var d=a[b];e.call(a,b)&&l(d,c)&&(void 0!==c||b in a)||(a[b]=c)}(c,h,void 0===i?a[h]:i)}}(b,n(i=b)?function(a,b){var c,d,h,i=m(a)||(h=d=c=a)&&"object"==typeof h&&n(d)&&e.call(c,"callee")&&(!g.call(c,"callee")||"[object Arguments]"==f.call(c))?function(a,b){for(var c=-1,d=Array(a);++c<a;)d[c]=b(c);return d}(a.length,String):[],j=i.length,l=!!j;for(var o in a)(b||e.call(a,o))&&!(l&&("length"==o||k(o,j)))&&i.push(o);return i}(i,!0):function(a){if(!o(a)){var b,c,f=a,g=[];if(null!=f)for(var h in Object(f))g.push(h);return g}var i=(c=(b=a)&&b.constructor,b===("function"==typeof c&&c.prototype||d)),j=[];for(var k in a)"constructor"==k&&(i||!e.call(a,k))||j.push(k);return j}(i),a,h)});a.exports=j(function(a){return a.push(void 0,i),c(p,void 0,a)})},20728:(a,b,c)=>{var d;(()=>{var e={226:function(e,f){!function(g,h){"use strict";var i="function",j="undefined",k="object",l="string",m="major",n="model",o="name",p="type",q="vendor",r="version",s="architecture",t="console",u="mobile",v="tablet",w="smarttv",x="wearable",y="embedded",z="Amazon",A="Apple",B="ASUS",C="BlackBerry",D="Browser",E="Chrome",F="Firefox",G="Google",H="Huawei",I="Microsoft",J="Motorola",K="Opera",L="Samsung",M="Sharp",N="Sony",O="Xiaomi",P="Zebra",Q="Facebook",R="Chromium OS",S="Mac OS",T=function(a,b){var c={};for(var d in a)b[d]&&b[d].length%2==0?c[d]=b[d].concat(a[d]):c[d]=a[d];return c},U=function(a){for(var b={},c=0;c<a.length;c++)b[a[c].toUpperCase()]=a[c];return b},V=function(a,b){return typeof a===l&&-1!==W(b).indexOf(W(a))},W=function(a){return a.toLowerCase()},X=function(a,b){if(typeof a===l)return a=a.replace(/^\s\s*/,""),typeof b===j?a:a.substring(0,350)},Y=function(a,b){for(var c,d,e,f,g,j,l=0;l<b.length&&!g;){var m=b[l],n=b[l+1];for(c=d=0;c<m.length&&!g&&m[c];)if(g=m[c++].exec(a))for(e=0;e<n.length;e++)j=g[++d],typeof(f=n[e])===k&&f.length>0?2===f.length?typeof f[1]==i?this[f[0]]=f[1].call(this,j):this[f[0]]=f[1]:3===f.length?typeof f[1]!==i||f[1].exec&&f[1].test?this[f[0]]=j?j.replace(f[1],f[2]):void 0:this[f[0]]=j?f[1].call(this,j,f[2]):void 0:4===f.length&&(this[f[0]]=j?f[3].call(this,j.replace(f[1],f[2])):h):this[f]=j||h;l+=2}},Z=function(a,b){for(var c in b)if(typeof b[c]===k&&b[c].length>0){for(var d=0;d<b[c].length;d++)if(V(b[c][d],a))return"?"===c?h:c}else if(V(b[c],a))return"?"===c?h:c;return a},$={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},_={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[r,[o,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[r,[o,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[o,r],[/opios[\/ ]+([\w\.]+)/i],[r,[o,K+" Mini"]],[/\bopr\/([\w\.]+)/i],[r,[o,K]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[o,r],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[r,[o,"UC"+D]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[r,[o,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[r,[o,"WeChat"]],[/konqueror\/([\w\.]+)/i],[r,[o,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[r,[o,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[r,[o,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[o,/(.+)/,"$1 Secure "+D],r],[/\bfocus\/([\w\.]+)/i],[r,[o,F+" Focus"]],[/\bopt\/([\w\.]+)/i],[r,[o,K+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[r,[o,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[r,[o,"Dolphin"]],[/coast\/([\w\.]+)/i],[r,[o,K+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[r,[o,"MIUI "+D]],[/fxios\/([-\w\.]+)/i],[r,[o,F]],[/\bqihu|(qi?ho?o?|360)browser/i],[[o,"360 "+D]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[o,/(.+)/,"$1 "+D],r],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],r],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[o,r],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[o],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[o,Q],r],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[o,r],[/\bgsa\/([\w\.]+) .*safari\//i],[r,[o,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[r,[o,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[r,[o,E+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[o,E+" WebView"],r],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[r,[o,"Android "+D]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[o,r],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[r,[o,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[r,o],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[o,[r,Z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[o,r],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[o,"Netscape"],r],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[r,[o,F+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[o,r],[/(cobalt)\/([\w\.]+)/i],[o,[r,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[s,"amd64"]],[/(ia32(?=;))/i],[[s,W]],[/((?:i[346]|x)86)[;\)]/i],[[s,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[s,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[s,"armhf"]],[/windows (ce|mobile); ppc;/i],[[s,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[s,/ower/,"",W]],[/(sun4\w)[;\)]/i],[[s,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[s,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[n,[q,L],[p,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[n,[q,L],[p,u]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[n,[q,A],[p,u]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[n,[q,A],[p,v]],[/(macintosh);/i],[n,[q,A]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[n,[q,M],[p,u]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[n,[q,H],[p,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[n,[q,H],[p,u]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[n,/_/g," "],[q,O],[p,u]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[n,/_/g," "],[q,O],[p,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[n,[q,"OPPO"],[p,u]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[n,[q,"Vivo"],[p,u]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[n,[q,"Realme"],[p,u]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[n,[q,J],[p,u]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[n,[q,J],[p,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[n,[q,"LG"],[p,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[n,[q,"LG"],[p,u]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[n,[q,"Lenovo"],[p,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[n,/_/g," "],[q,"Nokia"],[p,u]],[/(pixel c)\b/i],[n,[q,G],[p,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[n,[q,G],[p,u]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[n,[q,N],[p,u]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[n,"Xperia Tablet"],[q,N],[p,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[n,[q,"OnePlus"],[p,u]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[n,[q,z],[p,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[n,/(.+)/g,"Fire Phone $1"],[q,z],[p,u]],[/(playbook);[-\w\),; ]+(rim)/i],[n,q,[p,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[n,[q,C],[p,u]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[n,[q,B],[p,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[n,[q,B],[p,u]],[/(nexus 9)/i],[n,[q,"HTC"],[p,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[q,[n,/_/g," "],[p,u]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[n,[q,"Acer"],[p,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[n,[q,"Meizu"],[p,u]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[q,n,[p,u]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[q,n,[p,v]],[/(surface duo)/i],[n,[q,I],[p,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[n,[q,"Fairphone"],[p,u]],[/(u304aa)/i],[n,[q,"AT&T"],[p,u]],[/\bsie-(\w*)/i],[n,[q,"Siemens"],[p,u]],[/\b(rct\w+) b/i],[n,[q,"RCA"],[p,v]],[/\b(venue[\d ]{2,7}) b/i],[n,[q,"Dell"],[p,v]],[/\b(q(?:mv|ta)\w+) b/i],[n,[q,"Verizon"],[p,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[n,[q,"Barnes & Noble"],[p,v]],[/\b(tm\d{3}\w+) b/i],[n,[q,"NuVision"],[p,v]],[/\b(k88) b/i],[n,[q,"ZTE"],[p,v]],[/\b(nx\d{3}j) b/i],[n,[q,"ZTE"],[p,u]],[/\b(gen\d{3}) b.+49h/i],[n,[q,"Swiss"],[p,u]],[/\b(zur\d{3}) b/i],[n,[q,"Swiss"],[p,v]],[/\b((zeki)?tb.*\b) b/i],[n,[q,"Zeki"],[p,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[q,"Dragon Touch"],n,[p,v]],[/\b(ns-?\w{0,9}) b/i],[n,[q,"Insignia"],[p,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[n,[q,"NextBook"],[p,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[q,"Voice"],n,[p,u]],[/\b(lvtel\-)?(v1[12]) b/i],[[q,"LvTel"],n,[p,u]],[/\b(ph-1) /i],[n,[q,"Essential"],[p,u]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[n,[q,"Envizen"],[p,v]],[/\b(trio[-\w\. ]+) b/i],[n,[q,"MachSpeed"],[p,v]],[/\btu_(1491) b/i],[n,[q,"Rotor"],[p,v]],[/(shield[\w ]+) b/i],[n,[q,"Nvidia"],[p,v]],[/(sprint) (\w+)/i],[q,n,[p,u]],[/(kin\.[onetw]{3})/i],[[n,/\./g," "],[q,I],[p,u]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[n,[q,P],[p,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[n,[q,P],[p,u]],[/smart-tv.+(samsung)/i],[q,[p,w]],[/hbbtv.+maple;(\d+)/i],[[n,/^/,"SmartTV"],[q,L],[p,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[q,"LG"],[p,w]],[/(apple) ?tv/i],[q,[n,A+" TV"],[p,w]],[/crkey/i],[[n,E+"cast"],[q,G],[p,w]],[/droid.+aft(\w)( bui|\))/i],[n,[q,z],[p,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[n,[q,M],[p,w]],[/(bravia[\w ]+)( bui|\))/i],[n,[q,N],[p,w]],[/(mitv-\w{5}) bui/i],[n,[q,O],[p,w]],[/Hbbtv.*(technisat) (.*);/i],[q,n,[p,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[q,X],[n,X],[p,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[q,n,[p,t]],[/droid.+; (shield) bui/i],[n,[q,"Nvidia"],[p,t]],[/(playstation [345portablevi]+)/i],[n,[q,N],[p,t]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[n,[q,I],[p,t]],[/((pebble))app/i],[q,n,[p,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[n,[q,A],[p,x]],[/droid.+; (glass) \d/i],[n,[q,G],[p,x]],[/droid.+; (wt63?0{2,3})\)/i],[n,[q,P],[p,x]],[/(quest( 2| pro)?)/i],[n,[q,Q],[p,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[q,[p,y]],[/(aeobc)\b/i],[n,[q,z],[p,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[n,[p,u]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[n,[p,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,u]],[/(android[-\w\. ]{0,9});.+buil/i],[n,[q,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[r,[o,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[r,[o,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[o,r],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[r,o]],os:[[/microsoft (windows) (vista|xp)/i],[o,r],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[o,[r,Z,$]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[o,"Windows"],[r,Z,$]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[r,/_/g,"."],[o,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[o,S],[r,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[r,o],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[o,r],[/\(bb(10);/i],[r,[o,C]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[r,[o,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[r,[o,F+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[r,[o,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[r,[o,"watchOS"]],[/crkey\/([\d\.]+)/i],[r,[o,E+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[o,R],r],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[o,r],[/(sunos) ?([\w\.\d]*)/i],[[o,"Solaris"],r],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[o,r]]},aa=function(a,b){if(typeof a===k&&(b=a,a=h),!(this instanceof aa))return new aa(a,b).getResult();var c=typeof g!==j&&g.navigator?g.navigator:h,d=a||(c&&c.userAgent?c.userAgent:""),e=c&&c.userAgentData?c.userAgentData:h,f=b?T(_,b):_,t=c&&c.userAgent==d;return this.getBrowser=function(){var a,b={};return b[o]=h,b[r]=h,Y.call(b,d,f.browser),b[m]=typeof(a=b[r])===l?a.replace(/[^\d\.]/g,"").split(".")[0]:h,t&&c&&c.brave&&typeof c.brave.isBrave==i&&(b[o]="Brave"),b},this.getCPU=function(){var a={};return a[s]=h,Y.call(a,d,f.cpu),a},this.getDevice=function(){var a={};return a[q]=h,a[n]=h,a[p]=h,Y.call(a,d,f.device),t&&!a[p]&&e&&e.mobile&&(a[p]=u),t&&"Macintosh"==a[n]&&c&&typeof c.standalone!==j&&c.maxTouchPoints&&c.maxTouchPoints>2&&(a[n]="iPad",a[p]=v),a},this.getEngine=function(){var a={};return a[o]=h,a[r]=h,Y.call(a,d,f.engine),a},this.getOS=function(){var a={};return a[o]=h,a[r]=h,Y.call(a,d,f.os),t&&!a[o]&&e&&"Unknown"!=e.platform&&(a[o]=e.platform.replace(/chrome os/i,R).replace(/macos/i,S)),a},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return d},this.setUA=function(a){return d=typeof a===l&&a.length>350?X(a,350):a,this},this.setUA(d),this};aa.VERSION="1.0.35",aa.BROWSER=U([o,r,m]),aa.CPU=U([s]),aa.DEVICE=U([n,q,p,t,u,w,v,x,y]),aa.ENGINE=aa.OS=U([o,r]),typeof f!==j?(e.exports&&(f=e.exports=aa),f.UAParser=aa):c.amdO?void 0===(d=(function(){return aa}).call(b,c,b,a))||(a.exports=d):typeof g!==j&&(g.UAParser=aa);var ab=typeof g!==j&&(g.jQuery||g.Zepto);if(ab&&!ab.ua){var ac=new aa;ab.ua=ac.getResult(),ab.ua.get=function(){return ac.getUA()},ab.ua.set=function(a){ac.setUA(a);var b=ac.getResult();for(var c in b)ab.ua[c]=b[c]}}}("object"==typeof window?window:this)}},f={};function g(a){var b=f[a];if(void 0!==b)return b.exports;var c=f[a]={exports:{}},d=!0;try{e[a].call(c.exports,c,c.exports,g),d=!1}finally{d&&delete f[a]}return c.exports}g.ab=__dirname+"/",a.exports=g(226)})()},20903:(a,b,c)=>{"use strict";function d(a){return a.ownerDocument&&a.ownerDocument.defaultView||a.document&&a||a.defaultView}c.d(b,{A:()=>d})},20992:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(35842),e=c(37785),f=c(65078),g=c(28354),h=c(36385),i=c(86944),j=c(55178);class k extends j.default{constructor(a){super(),this.redis=a,this.isPipeline=!0,this.replyPending=0,this._queue=[],this._result=[],this._transactions=0,this._shaToScript={},this.isCluster="Cluster"===this.redis.constructor.name||this.redis.isCluster,this.options=a.options,Object.keys(a.scriptsSet).forEach(b=>{let c=a.scriptsSet[b];this._shaToScript[c.sha]=c,this[b]=a[b],this[b+"Buffer"]=a[b+"Buffer"]}),a.addedBuiltinSet.forEach(b=>{this[b]=a[b],this[b+"Buffer"]=a[b+"Buffer"]}),this.promise=new Promise((a,b)=>{this.resolve=a,this.reject=b});let b=this;Object.defineProperty(this,"length",{get:function(){return b._queue.length}})}fillResult(a,b){if("exec"===this._queue[b].name&&Array.isArray(a[1])){let c=a[1].length;for(let d=0;d<c;d++){if(a[1][d]instanceof Error)continue;let e=this._queue[b-(c-d)];try{a[1][d]=e.transformReply(a[1][d])}catch(b){a[1][d]=b}}}if(this._result[b]=a,--this.replyPending)return;if(this.isCluster){let a,b=!0;for(let c=0;c<this._result.length;++c){let d=this._result[c][0],f=this._queue[c];if(d){if("exec"===f.name&&"EXECABORT Transaction discarded because of previous errors."===d.message)continue;if(a){if(a.name!==d.name||a.message!==d.message){b=!1;break}}else a={name:d.name,message:d.message}}else if(!f.inTransaction&&!((0,e.exists)(f.name,{caseInsensitive:!0})&&(0,e.hasFlag)(f.name,"readonly",{nameCaseInsensitive:!0}))){b=!1;break}}if(a&&b){let b=this,c=a.message.split(" "),d=this._queue,e=!1;this._queue=[];for(let a=0;a<d.length;++a){if("ASK"===c[0]&&!e&&"asking"!==d[a].name&&(!d[a-1]||"asking"!==d[a-1].name)){let a=new h.default("asking");a.ignore=!0,this.sendCommand(a)}d[a].initPromise(),this.sendCommand(d[a]),e=d[a].inTransaction}let f=!0;void 0===this.leftRedirections&&(this.leftRedirections={});let g=function(){b.exec()},i=this.redis;if(i.handleError(a,this.leftRedirections,{moved:function(a,d){b.preferKey=d,i.slots[c[1]]?i.slots[c[1]][0]!==d&&(i.slots[c[1]]=[d]):i.slots[c[1]]=[d],i._groupsBySlot[c[1]]=i._groupsIds[i.slots[c[1]].join(";")],i.refreshSlotsCache(),b.exec()},ask:function(a,c){b.preferKey=c,b.exec()},tryagain:g,clusterDown:g,connectionClosed:g,maxRedirections:()=>{f=!1},defaults:()=>{f=!1}}),f)return}}let c=0;for(let a=0;a<this._queue.length-c;++a)this._queue[a+c].ignore&&(c+=1),this._result[a]=this._result[a+c];this.resolve(this._result.slice(0,this._result.length-c))}sendCommand(a){this._transactions>0&&(a.inTransaction=!0);let b=this._queue.length;return a.pipelineIndex=b,a.promise.then(a=>{this.fillResult([null,a],b)}).catch(a=>{this.fillResult([a],b)}),this._queue.push(a),this}addBatch(a){let b,c,d;for(let e=0;e<a.length;++e)c=(b=a[e])[0],d=b.slice(1),this[c].apply(this,d);return this}}b.default=k;let l=k.prototype.multi;k.prototype.multi=function(){return this._transactions+=1,l.apply(this,arguments)};let m=k.prototype.execBuffer;k.prototype.execBuffer=(0,g.deprecate)(function(){return this._transactions>0&&(this._transactions-=1),m.apply(this,arguments)},"Pipeline#execBuffer: Use Pipeline#exec instead"),k.prototype.exec=function(a){let b;if(this.isCluster&&!this.redis.slots.length)return"wait"===this.redis.status&&this.redis.connect().catch(i.noop),a&&!this.nodeifiedPromise&&(this.nodeifiedPromise=!0,(0,f.default)(this.promise,a)),this.redis.delayUntilReady(b=>{if(b)return void this.reject(b);this.exec(a)}),this.promise;if(this._transactions>0)return this._transactions-=1,m.apply(this,arguments);if(this.nodeifiedPromise||(this.nodeifiedPromise=!0,(0,f.default)(this.promise,a)),this._queue.length||this.resolve([]),this.isCluster){let a=[];for(let b=0;b<this._queue.length;b++){let c=this._queue[b].getKeys();if(c.length&&a.push(c[0]),c.length&&0>d.generateMulti(c))return this.reject(Error("All the keys in a pipeline command should belong to the same slot")),this.promise}if(a.length){if((b=function(a,b){let c=d(b[0]),e=a._groupsBySlot[c];for(let c=1;c<b.length;c++)if(a._groupsBySlot[d(b[c])]!==e)return -1;return c}(this.redis,a))<0)return this.reject(Error("All keys in the pipeline should belong to the same slots allocation group")),this.promise}else b=16384*Math.random()|0}let c=this;return function(){let a,d,e=c.replyPending=c._queue.length;c.isCluster&&(a={slot:b,redis:c.redis.connectionPool.nodes.all[c.preferKey]});let f="",g={isPipeline:!0,destination:c.isCluster?a:{redis:c.redis},write(a){"string"!=typeof a?(d||(d=[]),f&&(d.push(Buffer.from(f,"utf8")),f=""),d.push(a)):f+=a,--e||(d?(f&&d.push(Buffer.from(f,"utf8")),g.destination.redis.stream.write(Buffer.concat(d))):g.destination.redis.stream.write(f),e=c._queue.length,f="",d=void 0)}};for(let b=0;b<c._queue.length;++b)c.redis.sendCommand(c._queue[b],g,a);c.promise}(),this.promise}},21330:(a,b)=>{"use strict";function c(a){return a.startsWith("/")?a:"/"+a}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ensureLeadingSlash",{enumerable:!0,get:function(){return c}})},21625:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=c(59916);let e=function(a,b,c){"__proto__"==b&&d.A?(0,d.A)(a,b,{configurable:!0,enumerable:!0,value:c,writable:!0}):a[b]=c}},21670:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(17302),e=c(99554);let f=(0,d.A)(e.A,"Map")},21692:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},21790:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},21894:(a,b,c)=>{"use strict";c.d(b,{A:()=>m});var d=c(87684),e=c(58099),f=c(95798),g=c(906),h=c(31001),i=c(10610),j=c(62190),k=c(57574),l=Object.prototype.hasOwnProperty;let m=function(a){if(null==a)return!0;if((0,h.A)(a)&&((0,g.A)(a)||"string"==typeof a||"function"==typeof a.splice||(0,i.A)(a)||(0,k.A)(a)||(0,f.A)(a)))return!a.length;var b=(0,e.A)(a);if("[object Map]"==b||"[object Set]"==b)return!a.size;if((0,j.A)(a))return!(0,d.A)(a).length;for(var c in a)if(l.call(a,c))return!1;return!0}},22001:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"NextResponse",{enumerable:!0,get:function(){return l}});let d=c(43313),e=c(10959),f=c(63279),g=c(56898),h=c(43313),i=Symbol("internal response"),j=new Set([301,302,303,307,308]);function k(a,b){var c;if(null==a||null==(c=a.request)?void 0:c.headers){if(!(a.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let c=[];for(let[d,e]of a.request.headers)b.set("x-middleware-request-"+d,e),c.push(d);b.set("x-middleware-override-headers",c.join(","))}}class l extends Response{constructor(a,b={}){super(a,b);let c=this.headers,j=new Proxy(new h.ResponseCookies(c),{get(a,e,f){switch(e){case"delete":case"set":return(...f)=>{let g=Reflect.apply(a[e],a,f),i=new Headers(c);return g instanceof h.ResponseCookies&&c.set("x-middleware-set-cookie",g.getAll().map(a=>(0,d.stringifyCookie)(a)).join(",")),k(b,i),g};default:return g.ReflectAdapter.get(a,e,f)}}});this[i]={cookies:j,url:b.url?new e.NextURL(b.url,{headers:(0,f.toNodeOutgoingHttpHeaders)(c),nextConfig:b.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[i].cookies}static json(a,b){let c=Response.json(a,b);return new l(c.body,c)}static redirect(a,b){let c="number"==typeof b?b:(null==b?void 0:b.status)??307;if(!j.has(c))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let d="object"==typeof b?b:{},e=new Headers(null==d?void 0:d.headers);return e.set("Location",(0,f.validateURL)(a)),new l(null,{...d,headers:e,status:c})}static rewrite(a,b){let c=new Headers(null==b?void 0:b.headers);return c.set("x-middleware-rewrite",(0,f.validateURL)(a)),k(b,c),new l(null,{...b,headers:c})}static next(a){let b=new Headers(null==a?void 0:a.headers);return b.set("x-middleware-next","1"),k(a,b),new l(null,{...a,headers:b})}}},22057:(a,b,c)=>{"use strict";c.d(b,{s:()=>e});var d=c(1836);function e(a){return(0,d.G)(a)&&"offsetHeight"in a&&!("ownerSVGElement"in a)}},22141:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getNextPathnameInfo",{enumerable:!0,get:function(){return g}});let d=c(89114),e=c(60292),f=c(43048);function g(a,b){var c,g;let{basePath:h,i18n:i,trailingSlash:j}=null!=(c=b.nextConfig)?c:{},k={pathname:a,trailingSlash:"/"!==a?a.endsWith("/"):j};h&&(0,f.pathHasPrefix)(k.pathname,h)&&(k.pathname=(0,e.removePathPrefix)(k.pathname,h),k.basePath=h);let l=k.pathname;if(k.pathname.startsWith("/_next/data/")&&k.pathname.endsWith(".json")){let a=k.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");k.buildId=a[0],l="index"!==a[1]?"/"+a.slice(1).join("/"):"/",!0===b.parseData&&(k.pathname=l)}if(i){let a=b.i18nProvider?b.i18nProvider.analyze(k.pathname):(0,d.normalizeLocalePath)(k.pathname,i.locales);k.locale=a.detectedLocale,k.pathname=null!=(g=a.pathname)?g:k.pathname,!a.detectedLocale&&k.buildId&&(a=b.i18nProvider?b.i18nProvider.analyze(l):(0,d.normalizeLocalePath)(l,i.locales)).detectedLocale&&(k.locale=a.detectedLocale)}return k}},22565:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addLocale",{enumerable:!0,get:function(){return f}});let d=c(42911),e=c(43048);function f(a,b,c,f){if(!b||b===c)return a;let g=a.toLowerCase();return!f&&((0,e.pathHasPrefix)(g,"/api")||(0,e.pathHasPrefix)(g,"/"+b.toLowerCase()))?a:(0,d.addPathPrefix)(a,"/"+b)}},22568:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(23202),e=c(21625);let f=function(a,b,c,f){var g=!c;c||(c={});for(var h=-1,i=b.length;++h<i;){var j=b[h],k=f?f(c[j],a[j],j,c,a):void 0;void 0===k&&(k=a[j]),g?(0,e.A)(c,j,k):(0,d.A)(c,j,k)}return c}},23057:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{BailoutToCSRError:function(){return d},isBailoutToCSRError:function(){return e}});let c="BAILOUT_TO_CLIENT_SIDE_RENDERING";class d extends Error{constructor(a){super("Bail out to client-side rendering: "+a),this.reason=a,this.digest=c}}function e(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===c}},23202:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(21625),e=c(24669),f=Object.prototype.hasOwnProperty;let g=function(a,b,c){var g=a[b];f.call(a,b)&&(0,e.A)(g,c)&&(void 0!==c||b in a)||(0,d.A)(a,b,c)}},23584:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=/^(?:0|[1-9]\d*)$/;let e=function(a,b){var c=typeof a;return!!(b=null==b?0x1fffffffffffff:b)&&("number"==c||"symbol"!=c&&d.test(a))&&a>-1&&a%1==0&&a<b}},23608:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=c(32782);let e=function(a,b){var c=b?(0,d.A)(a.buffer):a.buffer;return new a.constructor(c,a.byteOffset,a.length)}},24323:(a,b,c)=>{"use strict";let d=c(50691),e=c(29294),f=c(63033),g=c(13786),h=c(60114),i=c(91275),j=c(72281),k=c(45110),l=c(78780);c(56898);new WeakMap;(0,j.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`headers()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E277",enumerable:!1,configurable:!0})})},24383:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},24460:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},24669:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a,b){return a===b||a!=a&&b!=b}},24748:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{bootstrap:function(){return i},error:function(){return k},event:function(){return o},info:function(){return n},prefixes:function(){return f},ready:function(){return m},trace:function(){return p},wait:function(){return j},warn:function(){return l},warnOnce:function(){return r}});let d=c(90312),e=c(26473),f={wait:(0,d.white)((0,d.bold)("○")),error:(0,d.red)((0,d.bold)("⨯")),warn:(0,d.yellow)((0,d.bold)("⚠")),ready:"▲",info:(0,d.white)((0,d.bold)(" ")),event:(0,d.green)((0,d.bold)("✓")),trace:(0,d.magenta)((0,d.bold)("\xbb"))},g={log:"log",warn:"warn",error:"error"};function h(a,...b){(""===b[0]||void 0===b[0])&&1===b.length&&b.shift();let c=a in g?g[a]:"log",d=f[a];0===b.length?console[c](""):1===b.length&&"string"==typeof b[0]?console[c](" "+d+" "+b[0]):console[c](" "+d,...b)}function i(...a){console.log(" "+a.join(" "))}function j(...a){h("wait",...a)}function k(...a){h("error",...a)}function l(...a){h("warn",...a)}function m(...a){h("ready",...a)}function n(...a){h("info",...a)}function o(...a){h("event",...a)}function p(...a){h("trace",...a)}let q=new e.LRUCache(1e4,a=>a.length);function r(...a){let b=a.join(" ");q.has(b)||(q.set(b,b),l(...a))}},24762:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"URLPattern",{enumerable:!0,get:function(){return c}});let c="undefined"==typeof URLPattern?void 0:URLPattern},25355:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},25367:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});let d=(0,c(21968).createContext)(null)},25400:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Content:()=>F,List:()=>D,Root:()=>C,Tabs:()=>t,TabsContent:()=>z,TabsList:()=>v,TabsTrigger:()=>x,Trigger:()=>E,createTabsScope:()=>p});var d=c(21968),e=c(22546),f=c(42990),g=c(13700),h=c(5030),i=c(16551),j=c(16305),k=c(15035),l=c(22243),m=c(10837),n="Tabs",[o,p]=(0,f.A)(n,[g.RG]),q=(0,g.RG)(),[r,s]=o(n),t=d.forwardRef((a,b)=>{let{__scopeTabs:c,value:d,onValueChange:e,defaultValue:f,orientation:g="horizontal",dir:h,activationMode:o="automatic",...p}=a,q=(0,j.jH)(h),[s,t]=(0,k.i)({prop:d,onChange:e,defaultProp:f??"",caller:n});return(0,m.jsx)(r,{scope:c,baseId:(0,l.B)(),value:s,onValueChange:t,orientation:g,dir:q,activationMode:o,children:(0,m.jsx)(i.sG.div,{dir:q,"data-orientation":g,...p,ref:b})})});t.displayName=n;var u="TabsList",v=d.forwardRef((a,b)=>{let{__scopeTabs:c,loop:d=!0,...e}=a,f=s(u,c),h=q(c);return(0,m.jsx)(g.bL,{asChild:!0,...h,orientation:f.orientation,dir:f.dir,loop:d,children:(0,m.jsx)(i.sG.div,{role:"tablist","aria-orientation":f.orientation,...e,ref:b})})});v.displayName=u;var w="TabsTrigger",x=d.forwardRef((a,b)=>{let{__scopeTabs:c,value:d,disabled:f=!1,...h}=a,j=s(w,c),k=q(c),l=A(j.baseId,d),n=B(j.baseId,d),o=d===j.value;return(0,m.jsx)(g.q7,{asChild:!0,...k,focusable:!f,active:o,children:(0,m.jsx)(i.sG.button,{type:"button",role:"tab","aria-selected":o,"aria-controls":n,"data-state":o?"active":"inactive","data-disabled":f?"":void 0,disabled:f,id:l,...h,ref:b,onMouseDown:(0,e.mK)(a.onMouseDown,a=>{f||0!==a.button||!1!==a.ctrlKey?a.preventDefault():j.onValueChange(d)}),onKeyDown:(0,e.mK)(a.onKeyDown,a=>{[" ","Enter"].includes(a.key)&&j.onValueChange(d)}),onFocus:(0,e.mK)(a.onFocus,()=>{let a="manual"!==j.activationMode;o||f||!a||j.onValueChange(d)})})})});x.displayName=w;var y="TabsContent",z=d.forwardRef((a,b)=>{let{__scopeTabs:c,value:e,forceMount:f,children:g,...j}=a,k=s(y,c),l=A(k.baseId,e),n=B(k.baseId,e),o=e===k.value,p=d.useRef(o);return d.useEffect(()=>{let a=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(a)},[]),(0,m.jsx)(h.C,{present:f||o,children:({present:c})=>(0,m.jsx)(i.sG.div,{"data-state":o?"active":"inactive","data-orientation":k.orientation,role:"tabpanel","aria-labelledby":l,hidden:!c,id:n,tabIndex:0,...j,ref:b,style:{...a.style,animationDuration:p.current?"0s":void 0},children:c&&g})})});function A(a,b){return`${a}-trigger-${b}`}function B(a,b){return`${a}-content-${b}`}z.displayName=y;var C=t,D=v,E=x,F=z},25657:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(86944),e=c(53295),f=(0,d.Debug)("delayqueue");class g{constructor(){this.queues={},this.timeouts={}}push(a,b,c){let d=c.callback||process.nextTick;this.queues[a]||(this.queues[a]=new e),this.queues[a].push(b),this.timeouts[a]||(this.timeouts[a]=setTimeout(()=>{d(()=>{this.timeouts[a]=null,this.execute(a)})},c.timeout))}execute(a){let b=this.queues[a];if(!b)return;let{length:c}=b;if(c)for(f("send %d commands in %s queue",c,a),this.queues[a]=null;b.length>0;)b.shift()()}}b.default=g},26473:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"LRUCache",{enumerable:!0,get:function(){return e}});class c{constructor(a,b,c){this.prev=null,this.next=null,this.key=a,this.data=b,this.size=c}}class d{constructor(){this.prev=null,this.next=null}}class e{constructor(a,b,c){this.cache=new Map,this.totalSize=0,this.maxSize=a,this.calculateSize=b,this.onEvict=c,this.head=new d,this.tail=new d,this.head.next=this.tail,this.tail.prev=this.head}addToHead(a){a.prev=this.head,a.next=this.head.next,this.head.next.prev=a,this.head.next=a}removeNode(a){a.prev.next=a.next,a.next.prev=a.prev}moveToHead(a){this.removeNode(a),this.addToHead(a)}removeTail(){let a=this.tail.prev;return this.removeNode(a),a}set(a,b){let d=(null==this.calculateSize?void 0:this.calculateSize.call(this,b))??1;if(d<=0)throw Object.defineProperty(Error(`LRUCache: calculateSize returned ${d}, but size must be > 0. Items with size 0 would never be evicted, causing unbounded cache growth.`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});if(d>this.maxSize)return void console.warn("Single item size exceeds maxSize");let e=this.cache.get(a);if(e)e.data=b,this.totalSize=this.totalSize-e.size+d,e.size=d,this.moveToHead(e);else{let e=new c(a,b,d);this.cache.set(a,e),this.addToHead(e),this.totalSize+=d}for(;this.totalSize>this.maxSize&&this.cache.size>0;){let a=this.removeTail();this.cache.delete(a.key),this.totalSize-=a.size,null==this.onEvict||this.onEvict.call(this,a.key,a.data)}}has(a){return this.cache.has(a)}get(a){let b=this.cache.get(a);if(b)return this.moveToHead(b),b.data}*[Symbol.iterator](){let a=this.head.next;for(;a&&a!==this.tail;){let b=a;yield[b.key,b.data],a=a.next}}remove(a){let b=this.cache.get(a);b&&(this.removeNode(b),this.cache.delete(a),this.totalSize-=b.size)}get size(){return this.cache.size}get currentSize(){return this.totalSize}}},26960:(a,b,c)=>{"use strict";Object.defineProperty(b,"U",{enumerable:!0,get:function(){return n}});let d=c(49187),e=c(43313),f=c(29294),g=c(63033),h=c(13786),i=c(60114),j=c(91275),k=c(72281),l=c(45110),m=c(78780);function n(){let a="cookies",b=f.workAsyncStorage.getStore(),c=g.workUnitAsyncStorage.getStore();if(b){if(c&&"after"===c.phase&&!(0,l.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${b.route} used "cookies" inside "after(...)". This is not supported. If you need this data inside an "after" callback, use "cookies" outside of the callback. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E88",enumerable:!1,configurable:!0});if(b.forceStatic)return p(d.RequestCookiesAdapter.seal(new e.RequestCookies(new Headers({}))));if(b.dynamicShouldError)throw Object.defineProperty(new i.StaticGenBailoutError(`Route ${b.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`cookies\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E549",enumerable:!1,configurable:!0});if(c)switch(c.type){case"cache":let f=Object.defineProperty(Error(`Route ${b.route} used "cookies" inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "cookies" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E398",enumerable:!1,configurable:!0});throw Error.captureStackTrace(f,n),b.invalidDynamicUsageError??=f,f;case"unstable-cache":throw Object.defineProperty(Error(`Route ${b.route} used "cookies" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "cookies" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E157",enumerable:!1,configurable:!0});case"prerender":var k=b,q=c;let g=o.get(q);if(g)return g;let r=(0,j.makeHangingPromise)(q.renderSignal,k.route,"`cookies()`");return o.set(q,r),r;case"prerender-client":let s="`cookies`";throw Object.defineProperty(new m.InvariantError(`${s} must not be used within a client component. Next.js should be preventing ${s} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,h.postponeWithTracking)(b.route,a,c.dynamicTracking);case"prerender-legacy":return(0,h.throwToInterruptStaticGeneration)(a,b,c);case"prerender-runtime":return(0,h.delayUntilRuntimeStage)(c,function(a){let b=o.get(a);if(b)return b;let c=Promise.resolve(a);return o.set(a,c),c}(c.cookies));case"private-cache":return p(c.cookies);case"request":return(0,h.trackDynamicDataInDynamicRender)(c),p((0,d.areCookiesMutableInCurrentPhase)(c)?c.userspaceMutableCookies:c.cookies)}}(0,g.throwForMissingRequestStore)(a)}c(56898);let o=new WeakMap;function p(a){let b=o.get(a);if(b)return b;let c=Promise.resolve(a);return o.set(a,c),Object.defineProperties(c,{[Symbol.iterator]:{value:a[Symbol.iterator]?a[Symbol.iterator].bind(a):q.bind(a)},size:{get:()=>a.size},get:{value:a.get.bind(a)},getAll:{value:a.getAll.bind(a)},has:{value:a.has.bind(a)},set:{value:a.set.bind(a)},delete:{value:a.delete.bind(a)},clear:{value:"function"==typeof a.clear?a.clear.bind(a):r.bind(a,c)},toString:{value:a.toString.bind(a)}}),c}function q(){return this.getAll().map(a=>[a.name,a]).values()}function r(a){for(let a of this.getAll())this.delete(a.name);return a}(0,k.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`cookies()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E223",enumerable:!1,configurable:!0})})},27372:(a,b,c)=>{"use strict";let d=c(79428).Buffer,e=new(c(41204)).StringDecoder,f=c(30891),g=f.ReplyError,h=f.ParserError;var i=d.allocUnsafe(32768),j=0,k=null,l=0,m=0;function n(a){let b=a.offset,c=a.buffer,d=c.length-1;for(var e=b;e<d;)if(13===c[e++]){if(a.offset=e+1,!0===a.optionReturnBuffers)return a.buffer.slice(b,e-1);return a.buffer.toString("utf8",b,e-1)}}function o(a){let b=a.buffer.length-1;for(var c=a.offset,d=0;c<b;){let b=a.buffer[c++];if(13===b)return a.offset=c+1,d;d=10*d+(b-48)}}function p(a,b,c){a.arrayCache.push(b),a.arrayPos.push(c)}function q(a){let b=a.arrayCache.pop();var c=a.arrayPos.pop();if(a.arrayCache.length){let d=q(a);if(void 0===d)return void p(a,b,c);b[c++]=d}return r(a,b,c)}function r(a,b,c){let d=a.buffer.length;for(;c<b.length;){let e=a.offset;if(a.offset>=d)return void p(a,b,c);let f=s(a,a.buffer[a.offset++]);if(void 0===f){a.arrayCache.length||a.bufferCache.length||(a.offset=e),p(a,b,c);return}b[c]=f,c++}return b}function s(a,b){switch(b){case 36:let c=o(a);if(void 0===c)return;if(c<0)return null;let d=a.offset+c;if(d+2>a.buffer.length){a.bigStrSize=d+2,a.totalChunkSize=a.buffer.length,a.bufferCache.push(a.buffer);return}let e=a.offset;return(a.offset=d+2,!0===a.optionReturnBuffers)?a.buffer.slice(e,d):a.buffer.toString("utf8",e,d);case 43:return n(a);case 42:let f=o(a);return void 0===f?void 0:f<0?null:r(a,Array(f),0);case 58:return!0===a.optionStringNumbers?function(a){let b=a.buffer.length-1;var c=a.offset,d=0,e="";for(45===a.buffer[c]&&(e+="-",c++);c<b;){var f=a.buffer[c++];if(13===f)return a.offset=c+1,0!==d&&(e+=d),e;d>0x19999998?(e+=10*d+(f-48),d=0):48===f&&0===d?e+=0:d=10*d+(f-48)}}(a):function(a){let b=a.buffer.length-1;var c=a.offset,d=0,e=1;for(45===a.buffer[c]&&(e=-1,c++);c<b;){let b=a.buffer[c++];if(13===b)return a.offset=c+1,e*d;d=10*d+(b-48)}}(a);case 45:var i=n(a);if(void 0!==i)return!0===a.optionReturnBuffers&&(i=i.toString()),new g(i);return;default:let j=new h("Protocol error, got "+JSON.stringify(String.fromCharCode(b))+" as reply type byte",JSON.stringify(a.buffer),a.offset);a.buffer=null,a.returnFatalError(j);return}}function t(){if(i.length>51200)if(1===l||m>2*l){let a=Math.floor(i.length/10),b=a<j?j:a;j=0,i=i.slice(b,i.length)}else m++,l--;else clearInterval(k),l=0,m=0,k=null}class u{constructor(a){if(!a)throw TypeError("Options are mandatory.");if("function"!=typeof a.returnError||"function"!=typeof a.returnReply)throw TypeError("The returnReply and returnError options have to be functions.");this.setReturnBuffers(!!a.returnBuffers),this.setStringNumbers(!!a.stringNumbers),this.returnError=a.returnError,this.returnFatalError=a.returnFatalError||a.returnError,this.returnReply=a.returnReply,this.reset()}reset(){this.offset=0,this.buffer=null,this.bigStrSize=0,this.totalChunkSize=0,this.bufferCache=[],this.arrayCache=[],this.arrayPos=[]}setReturnBuffers(a){if("boolean"!=typeof a)throw TypeError("The returnBuffers argument has to be a boolean");this.optionReturnBuffers=a}setStringNumbers(a){if("boolean"!=typeof a)throw TypeError("The stringNumbers argument has to be a boolean");this.optionStringNumbers=a}execute(a){if(null===this.buffer)this.buffer=a,this.offset=0;else if(0===this.bigStrSize){let b=this.buffer.length,c=b-this.offset,e=d.allocUnsafe(c+a.length);if(this.buffer.copy(e,0,this.offset,b),a.copy(e,c,0,a.length),this.buffer=e,this.offset=0,this.arrayCache.length){let a=q(this);if(void 0===a)return;this.returnReply(a)}}else if(this.totalChunkSize+a.length>=this.bigStrSize){this.bufferCache.push(a);var b=this.optionReturnBuffers?function(a){let b=a.bufferCache,c=a.offset,e=a.bigStrSize-c-2;var f=b.length,g=a.bigStrSize-a.totalChunkSize;if(a.offset=g,g<=2){if(2===f)return b[0].slice(c,b[0].length+g-2);f--,g=b[b.length-2].length+g}i.length<e+j&&(j>0x6f00000&&(j=0x3200000),i=d.allocUnsafe(e*(e>0x4b00000?2:3)+j),j=0,l++,null===k&&(k=setInterval(t,50)));let h=j;b[0].copy(i,h,c,b[0].length),j+=b[0].length-c;for(var m=1;m<f-1;m++)b[m].copy(i,j),j+=b[m].length;return b[m].copy(i,j,0,g-2),j+=g-2,i.slice(h,j)}(this):function(a){let b=a.bufferCache,c=a.offset;var d=b.length,f=a.bigStrSize-a.totalChunkSize;if(a.offset=f,f<=2){if(2===d)return b[0].toString("utf8",c,b[0].length+f-2);d--,f=b[b.length-2].length+f}for(var g=e.write(b[0].slice(c)),h=1;h<d-1;h++)g+=e.write(b[h]);return g+e.end(b[h].slice(0,f-2))}(this);if(this.bigStrSize=0,this.bufferCache=[],this.buffer=a,this.arrayCache.length&&(this.arrayCache[0][this.arrayPos[0]++]=b,void 0===(b=q(this))))return;this.returnReply(b)}else{this.bufferCache.push(a),this.totalChunkSize+=a.length;return}for(;this.offset<this.buffer.length;){let a=this.offset,b=this.buffer[this.offset++],c=s(this,b);if(void 0===c){this.arrayCache.length||this.bufferCache.length||(this.offset=a);return}45===b?this.returnError(c):this.returnReply(c)}this.buffer=null}}a.exports=u},27560:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("octagon-x",[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},27655:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a){return null!=a&&"object"==typeof a}},28121:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Indicator:()=>N,Item:()=>M,RadioGroup:()=>H,RadioGroupIndicator:()=>K,RadioGroupItem:()=>J,Root:()=>L,createRadioGroupScope:()=>C});var d=c(21968),e=c(22546),f=c(96090),g=c(42990),h=c(16551),i=c(13700),j=c(15035),k=c(16305),l=c(7579),m=c(29851),n=c(5030),o=c(10837),p="Radio",[q,r]=(0,g.A)(p),[s,t]=q(p),u=d.forwardRef((a,b)=>{let{__scopeRadio:c,name:g,checked:i=!1,required:j,disabled:k,value:l="on",onCheck:m,form:n,...p}=a,[q,r]=d.useState(null),t=(0,f.s)(b,a=>r(a)),u=d.useRef(!1),v=!q||n||!!q.closest("form");return(0,o.jsxs)(s,{scope:c,checked:i,disabled:k,children:[(0,o.jsx)(h.sG.button,{type:"button",role:"radio","aria-checked":i,"data-state":y(i),"data-disabled":k?"":void 0,disabled:k,value:l,...p,ref:t,onClick:(0,e.mK)(a.onClick,a=>{i||m?.(),v&&(u.current=a.isPropagationStopped(),u.current||a.stopPropagation())})}),v&&(0,o.jsx)(x,{control:q,bubbles:!u.current,name:g,value:l,checked:i,required:j,disabled:k,form:n,style:{transform:"translateX(-100%)"}})]})});u.displayName=p;var v="RadioIndicator",w=d.forwardRef((a,b)=>{let{__scopeRadio:c,forceMount:d,...e}=a,f=t(v,c);return(0,o.jsx)(n.C,{present:d||f.checked,children:(0,o.jsx)(h.sG.span,{"data-state":y(f.checked),"data-disabled":f.disabled?"":void 0,...e,ref:b})})});w.displayName=v;var x=d.forwardRef(({__scopeRadio:a,control:b,checked:c,bubbles:e=!0,...g},i)=>{let j=d.useRef(null),k=(0,f.s)(j,i),n=(0,m.Z)(c),p=(0,l.X)(b);return d.useEffect(()=>{let a=j.current;if(!a)return;let b=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(n!==c&&b){let d=new Event("click",{bubbles:e});b.call(a,c),a.dispatchEvent(d)}},[n,c,e]),(0,o.jsx)(h.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:c,...g,tabIndex:-1,ref:k,style:{...g.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function y(a){return a?"checked":"unchecked"}x.displayName="RadioBubbleInput";var z=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],A="RadioGroup",[B,C]=(0,g.A)(A,[i.RG,r]),D=(0,i.RG)(),E=r(),[F,G]=B(A),H=d.forwardRef((a,b)=>{let{__scopeRadioGroup:c,name:d,defaultValue:e,value:f,required:g=!1,disabled:l=!1,orientation:m,dir:n,loop:p=!0,onValueChange:q,...r}=a,s=D(c),t=(0,k.jH)(n),[u,v]=(0,j.i)({prop:f,defaultProp:e??null,onChange:q,caller:A});return(0,o.jsx)(F,{scope:c,name:d,required:g,disabled:l,value:u,onValueChange:v,children:(0,o.jsx)(i.bL,{asChild:!0,...s,orientation:m,dir:t,loop:p,children:(0,o.jsx)(h.sG.div,{role:"radiogroup","aria-required":g,"aria-orientation":m,"data-disabled":l?"":void 0,dir:t,...r,ref:b})})})});H.displayName=A;var I="RadioGroupItem",J=d.forwardRef((a,b)=>{let{__scopeRadioGroup:c,disabled:g,...h}=a,j=G(I,c),k=j.disabled||g,l=D(c),m=E(c),n=d.useRef(null),p=(0,f.s)(b,n),q=j.value===h.value,r=d.useRef(!1);return d.useEffect(()=>{let a=a=>{z.includes(a.key)&&(r.current=!0)},b=()=>r.current=!1;return document.addEventListener("keydown",a),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",a),document.removeEventListener("keyup",b)}},[]),(0,o.jsx)(i.q7,{asChild:!0,...l,focusable:!k,active:q,children:(0,o.jsx)(u,{disabled:k,required:j.required,checked:q,...m,...h,name:j.name,ref:p,onCheck:()=>j.onValueChange(h.value),onKeyDown:(0,e.mK)(a=>{"Enter"===a.key&&a.preventDefault()}),onFocus:(0,e.mK)(h.onFocus,()=>{r.current&&n.current?.click()})})})});J.displayName=I;var K=d.forwardRef((a,b)=>{let{__scopeRadioGroup:c,...d}=a,e=E(c);return(0,o.jsx)(w,{...e,...d,ref:b})});K.displayName="RadioGroupIndicator";var L=H,M=J,N=K},28324:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addPathSuffix",{enumerable:!0,get:function(){return e}});let d=c(12846);function e(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:e,hash:f}=(0,d.parsePath)(a);return""+c+b+e+f}},28563:(a,b,c)=>{"use strict";c.d(b,{Nq:()=>g,RI:()=>j,Wg:()=>e,hq:()=>f});var d=c(42292),e=(0,d.K2)((a,b)=>{if(b)return"translate("+-a.width/2+", "+-a.height/2+")";let c=a.x??0,d=a.y??0;return"translate("+-(c+a.width/2)+", "+-(d+a.height/2)+")"},"computeLabelTransform"),f={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},g={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function h(a,b){if(void 0===a||void 0===b)return{angle:0,deltaX:0,deltaY:0};a=i(a),b=i(b);let[c,d]=[a.x,a.y],[e,f]=[b.x,b.y],g=e-c,h=f-d;return{angle:Math.atan(h/g),deltaX:g,deltaY:h}}(0,d.K2)(h,"calculateDeltaAndAngle");var i=(0,d.K2)(a=>Array.isArray(a)?{x:a[0],y:a[1]}:a,"pointTransformer"),j=(0,d.K2)(a=>({x:(0,d.K2)(function(b,c,d){let e=0,g=i(d[0]).x<i(d[d.length-1]).x?"left":"right";if(0===c&&Object.hasOwn(f,a.arrowTypeStart)){let{angle:b,deltaX:c}=h(d[0],d[1]);e=f[a.arrowTypeStart]*Math.cos(b)*(c>=0?1:-1)}else if(c===d.length-1&&Object.hasOwn(f,a.arrowTypeEnd)){let{angle:b,deltaX:c}=h(d[d.length-1],d[d.length-2]);e=f[a.arrowTypeEnd]*Math.cos(b)*(c>=0?1:-1)}let j=Math.abs(i(b).x-i(d[d.length-1]).x),k=Math.abs(i(b).y-i(d[d.length-1]).y),l=Math.abs(i(b).x-i(d[0]).x),m=Math.abs(i(b).y-i(d[0]).y),n=f[a.arrowTypeStart],o=f[a.arrowTypeEnd];if(j<o&&j>0&&k<o){let a=o+1-j;a*="right"===g?-1:1,e-=a}if(l<n&&l>0&&m<n){let a=n+1-l;a*="right"===g?-1:1,e+=a}return i(b).x+e},"x"),y:(0,d.K2)(function(b,c,d){let e=0,g=i(d[0]).y<i(d[d.length-1]).y?"down":"up";if(0===c&&Object.hasOwn(f,a.arrowTypeStart)){let{angle:b,deltaY:c}=h(d[0],d[1]);e=f[a.arrowTypeStart]*Math.abs(Math.sin(b))*(c>=0?1:-1)}else if(c===d.length-1&&Object.hasOwn(f,a.arrowTypeEnd)){let{angle:b,deltaY:c}=h(d[d.length-1],d[d.length-2]);e=f[a.arrowTypeEnd]*Math.abs(Math.sin(b))*(c>=0?1:-1)}let j=Math.abs(i(b).y-i(d[d.length-1]).y),k=Math.abs(i(b).x-i(d[d.length-1]).x),l=Math.abs(i(b).y-i(d[0]).y),m=Math.abs(i(b).x-i(d[0]).x),n=f[a.arrowTypeStart],o=f[a.arrowTypeEnd];if(j<o&&j>0&&k<o){let a=o+1-j;a*="up"===g?-1:1,e-=a}if(l<n&&l>0&&m<n){let a=n+1-l;a*="up"===g?-1:1,e+=a}return i(b).y+e},"y")}),"getLineFunctionsWithOffset")},28905:function(a,b,c){"use strict";var d=(this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}})(c(48810)),e=c(51537);function f(a,b){var c={};return a&&"string"==typeof a&&(0,d.default)(a,function(a,d){a&&d&&(c[(0,e.camelCase)(a,b)]=d)}),c}f.default=f,a.exports=f},29725:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.FailoverDetector=void 0;let d=(0,c(86944).Debug)("FailoverDetector"),e="+switch-master";class f{constructor(a,b){this.isDisconnected=!1,this.connector=a,this.sentinels=b}cleanup(){for(let a of(this.isDisconnected=!0,this.sentinels))a.client.disconnect()}async subscribe(){d("Starting FailoverDetector");let a=[];for(let b of this.sentinels){let c=b.client.subscribe(e).catch(a=>{d("Failed to subscribe to failover messages on sentinel %s:%s (%s)",b.address.host||"127.0.0.1",b.address.port||26739,a.message)});a.push(c),b.client.on("message",a=>{this.isDisconnected||a!==e||this.disconnect()})}await Promise.all(a)}disconnect(){this.isDisconnected=!0,d("Failover detected, disconnecting"),this.connector.disconnect()}}b.FailoverDetector=f},29851:(a,b,c)=>{"use strict";c.d(b,{Z:()=>e});var d=c(21968);function e(a){let b=d.useRef({value:a,previous:a});return d.useMemo(()=>(b.current.value!==a&&(b.current.previous=b.current.value,b.current.value=a),b.current.previous),[a])}},30200:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(54469),e=c(14899);let f=(a,b)=>{let c=e.A.parse(a);for(let a in b)c[a]=d.A.channel.clamp[a](b[a]);return e.A.stringify(c)}},30382:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DOC_PREFETCH_RANGE_HEADER_VALUE:function(){return d},doesExportedHtmlMatchBuildId:function(){return g},insertBuildIdComment:function(){return f}});let c="<!DOCTYPE html>",d="bytes=0-63";function e(a){return a.slice(0,24).replace(/-/g,"_")}function f(a,b){return b.includes("--\x3e")||!a.startsWith(c)?a:a.replace(c,c+"\x3c!--"+e(b)+"--\x3e")}function g(a,b){return a.startsWith(c+"\x3c!--"+e(b)+"--\x3e")}},30391:(a,b,c)=>{"use strict";c.d(b,{Ay:()=>h,lG:()=>f,uN:()=>g});var d=c(52910);function e(a,b){return function(c){return a+c*b}}function f(a,b){var c=b-a;return c?e(a,c>180||c<-180?c-360*Math.round(c/360):c):(0,d.A)(isNaN(a)?b:a)}function g(a){return 1==(a*=1)?h:function(b,c){var e,f,g;return c-b?(e=b,f=c,e=Math.pow(e,g=a),f=Math.pow(f,g)-e,g=1/g,function(a){return Math.pow(e+a*f,g)}):(0,d.A)(isNaN(b)?c:b)}}function h(a,b){var c=b-a;return c?e(a,c):(0,d.A)(isNaN(a)?b:a)}},30559:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.getConnectionName=b.weightSrvRecords=b.groupSrvRecords=b.getUniqueHostnamesFromOptions=b.normalizeNodeOptions=b.nodeKeyToRedisOptions=b.getNodeKey=void 0;let d=c(86944),e=c(91645);b.getNodeKey=function(a){return a.port=a.port||6379,a.host=a.host||"127.0.0.1",a.host+":"+a.port},b.nodeKeyToRedisOptions=function(a){let b=a.lastIndexOf(":");if(-1===b)throw Error(`Invalid node key ${a}`);return{host:a.slice(0,b),port:Number(a.slice(b+1))}},b.normalizeNodeOptions=function(a){return a.map(a=>{let b={};if("object"==typeof a)Object.assign(b,a);else if("string"==typeof a)Object.assign(b,(0,d.parseURL)(a));else if("number"==typeof a)b.port=a;else throw Error("Invalid argument "+a);return"string"==typeof b.port&&(b.port=parseInt(b.port,10)),delete b.db,b.port||(b.port=6379),b.host||(b.host="127.0.0.1"),(0,d.resolveTLSProfile)(b)})},b.getUniqueHostnamesFromOptions=function(a){let b={};return a.forEach(a=>{b[a.host]=!0}),Object.keys(b).filter(a=>!(0,e.isIP)(a))},b.groupSrvRecords=function(a){let b={};for(let c of a)b.hasOwnProperty(c.priority)?(b[c.priority].totalWeight+=c.weight,b[c.priority].records.push(c)):b[c.priority]={totalWeight:c.weight,records:[c]};return b},b.weightSrvRecords=function(a){if(1===a.records.length)return a.totalWeight=0,a.records.shift();let b=Math.floor(Math.random()*(a.totalWeight+a.records.length)),c=0;for(let[d,e]of a.records.entries())if((c+=1+e.weight)>b)return a.totalWeight-=e.weight,a.records.splice(d,1),e},b.getConnectionName=function(a,b){let c=`ioredis-cluster(${a})`;return b?`${c}:${b}`:c}},30563:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(24669),e=c(31001),f=c(23584),g=c(12500);let h=function(a,b,c){if(!(0,g.A)(c))return!1;var h=typeof b;return("number"==h?!!((0,e.A)(c)&&(0,f.A)(b,c.length)):"string"==h&&b in c)&&(0,d.A)(c[b],a)}},30620:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(30891);class e extends d.RedisError{constructor(a,b){super(a),this.lastNodeError=b,Error.captureStackTrace(this,this.constructor)}get name(){return this.constructor.name}}b.default=e,e.defaultMessage="Failed to refresh slots cache."},30766:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=c(99554).A.Symbol},30891:(a,b,c)=>{"use strict";a.exports=55>process.version.charCodeAt(1)&&46===process.version.charCodeAt(2)?c(42612):c(7116)},31001:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(54643),e=c(65247);let f=function(a){return null!=a&&(0,e.A)(a.length)&&!(0,d.A)(a)}},31009:(a,b,c)=>{"use strict";let d,e,f;c.d(b,{P:()=>fE});let g=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],h=new Set(g),i=(a,b,c)=>c>b?b:c<a?a:c,j={test:a=>"number"==typeof a,parse:parseFloat,transform:a=>a},k={...j,transform:a=>i(0,1,a)},l={...j,default:1},m=a=>Math.round(1e5*a)/1e5,n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,o=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p=(a,b)=>c=>!!("string"==typeof c&&o.test(c)&&c.startsWith(a)||b&&null!=c&&Object.prototype.hasOwnProperty.call(c,b)),q=(a,b,c)=>d=>{if("string"!=typeof d)return d;let[e,f,g,h]=d.match(n);return{[a]:parseFloat(e),[b]:parseFloat(f),[c]:parseFloat(g),alpha:void 0!==h?parseFloat(h):1}},r={...j,transform:a=>Math.round(i(0,255,a))},s={test:p("rgb","red"),parse:q("red","green","blue"),transform:({red:a,green:b,blue:c,alpha:d=1})=>"rgba("+r.transform(a)+", "+r.transform(b)+", "+r.transform(c)+", "+m(k.transform(d))+")"},t={test:p("#"),parse:function(a){let b="",c="",d="",e="";return a.length>5?(b=a.substring(1,3),c=a.substring(3,5),d=a.substring(5,7),e=a.substring(7,9)):(b=a.substring(1,2),c=a.substring(2,3),d=a.substring(3,4),e=a.substring(4,5),b+=b,c+=c,d+=d,e+=e),{red:parseInt(b,16),green:parseInt(c,16),blue:parseInt(d,16),alpha:e?parseInt(e,16)/255:1}},transform:s.transform},u=a=>({test:b=>"string"==typeof b&&b.endsWith(a)&&1===b.split(" ").length,parse:parseFloat,transform:b=>`${b}${a}`}),v=u("deg"),w=u("%"),x=u("px"),y=u("vh"),z=u("vw"),A={...w,parse:a=>w.parse(a)/100,transform:a=>w.transform(100*a)},B={test:p("hsl","hue"),parse:q("hue","saturation","lightness"),transform:({hue:a,saturation:b,lightness:c,alpha:d=1})=>"hsla("+Math.round(a)+", "+w.transform(m(b))+", "+w.transform(m(c))+", "+m(k.transform(d))+")"},C={test:a=>s.test(a)||t.test(a)||B.test(a),parse:a=>s.test(a)?s.parse(a):B.test(a)?B.parse(a):t.parse(a),transform:a=>"string"==typeof a?a:a.hasOwnProperty("red")?s.transform(a):B.transform(a),getAnimatableNone:a=>{let b=C.parse(a);return b.alpha=0,C.transform(b)}},D=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,E="number",F="color",G=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function H(a){let b=a.toString(),c=[],d={color:[],number:[],var:[]},e=[],f=0,g=b.replace(G,a=>(C.test(a)?(d.color.push(f),e.push(F),c.push(C.parse(a))):a.startsWith("var(")?(d.var.push(f),e.push("var"),c.push(a)):(d.number.push(f),e.push(E),c.push(parseFloat(a))),++f,"${}")).split("${}");return{values:c,split:g,indexes:d,types:e}}function I({split:a,types:b}){let c=a.length;return d=>{let e="";for(let f=0;f<c;f++)if(e+=a[f],void 0!==d[f]){let a=b[f];a===E?e+=m(d[f]):a===F?e+=C.transform(d[f]):e+=d[f]}return e}}let J={test:function(a){return isNaN(a)&&"string"==typeof a&&(a.match(n)?.length||0)+(a.match(D)?.length||0)>0},parse:function(a){return H(a).values},createTransformer:function(a){return I(H(a))},getAnimatableNone:function(a){let b=H(a);return I(b)(b.values.map((a,c)=>{var d;let e;return d=b.split[c],"number"==typeof a?d?.trim().endsWith("/")?a:0:"number"==typeof(e=a)?0:C.test(e)?C.getAnimatableNone(e):e}))}},K=new Set(["brightness","contrast","saturate","opacity"]);function L(a){let[b,c]=a.slice(0,-1).split("(");if("drop-shadow"===b)return a;let[d]=c.match(n)||[];if(!d)return a;let e=c.replace(d,""),f=+!!K.has(b);return d!==c&&(f*=100),b+"("+f+e+")"}let M=/\b([a-z-]*)\(.*?\)/gu,N={...J,getAnimatableNone:a=>{let b=a.match(M);return b?b.map(L).join(" "):a}},O={...J,getAnimatableNone:a=>{let b=J.parse(a);return J.createTransformer(a)(b.map(a=>"number"==typeof a?0:"object"==typeof a?{...a,alpha:1}:a))}},P={...j,transform:Math.round},Q={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,top:x,right:x,bottom:x,left:x,inset:x,insetBlock:x,insetBlockStart:x,insetBlockEnd:x,insetInline:x,insetInlineStart:x,insetInlineEnd:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,paddingBlock:x,paddingBlockStart:x,paddingBlockEnd:x,paddingInline:x,paddingInlineStart:x,paddingInlineEnd:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,marginBlock:x,marginBlockStart:x,marginBlockEnd:x,marginInline:x,marginInlineStart:x,marginInlineEnd:x,fontSize:x,backgroundPositionX:x,backgroundPositionY:x,rotate:v,rotateX:v,rotateY:v,rotateZ:v,scale:l,scaleX:l,scaleY:l,scaleZ:l,skew:v,skewX:v,skewY:v,distance:x,translateX:x,translateY:x,translateZ:x,x:x,y:x,z:x,perspective:x,transformPerspective:x,opacity:k,originX:A,originY:A,originZ:x,zIndex:P,fillOpacity:k,strokeOpacity:k,numOctaves:P},R={...Q,color:C,backgroundColor:C,outlineColor:C,fill:C,stroke:C,borderColor:C,borderTopColor:C,borderRightColor:C,borderBottomColor:C,borderLeftColor:C,filter:N,WebkitFilter:N,mask:O,WebkitMask:O},S=a=>R[a],T=()=>({translate:0,scale:1,origin:0,originPoint:0}),U=()=>({x:T(),y:T()}),V=()=>({min:0,max:0}),W=()=>({x:V(),y:V()}),X=a=>!!(a&&a.getVelocity),Y=new Set(["width","height","top","left","right","bottom",...g]),Z=a=>b=>b.test(a),$=[j,x,w,v,z,y,{test:a=>"auto"===a,parse:a=>a}],_=a=>$.find(Z(a)),aa=()=>{},ab=()=>{},ac=a=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a),ad=a=>b=>"string"==typeof b&&b.startsWith(a),ae=ad("--"),af=ad("var(--"),ag=a=>!!af(a)&&ah.test(a.split("/*")[0].trim()),ah=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ai(a){return"string"==typeof a&&a.split("/*")[0].includes("var(--")}let aj=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ak=a=>180*a/Math.PI,al=a=>an(ak(Math.atan2(a[1],a[0]))),am={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:a=>(Math.abs(a[0])+Math.abs(a[3]))/2,rotate:al,rotateZ:al,skewX:a=>ak(Math.atan(a[1])),skewY:a=>ak(Math.atan(a[2])),skew:a=>(Math.abs(a[1])+Math.abs(a[2]))/2},an=a=>((a%=360)<0&&(a+=360),a),ao=a=>Math.sqrt(a[0]*a[0]+a[1]*a[1]),ap=a=>Math.sqrt(a[4]*a[4]+a[5]*a[5]),aq={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ao,scaleY:ap,scale:a=>(ao(a)+ap(a))/2,rotateX:a=>an(ak(Math.atan2(a[6],a[5]))),rotateY:a=>an(ak(Math.atan2(-a[2],a[0]))),rotateZ:al,rotate:al,skewX:a=>ak(Math.atan(a[4])),skewY:a=>ak(Math.atan(a[1])),skew:a=>(Math.abs(a[1])+Math.abs(a[4]))/2};function ar(a){return+!!a.includes("scale")}function as(a,b){let c,d;if(!a||"none"===a)return ar(b);let e=a.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(e)c=aq,d=e;else{let b=a.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=am,d=b}if(!d)return ar(b);let f=c[b],g=d[1].split(",").map(at);return"function"==typeof f?f(g):g[f]}function at(a){return parseFloat(a.trim())}let au=a=>a===j||a===x,av=new Set(["x","y","z"]),aw=g.filter(a=>!av.has(a)),ax={width:({x:a},{paddingLeft:b="0",paddingRight:c="0",boxSizing:d})=>{let e=a.max-a.min;return"border-box"===d?e:e-parseFloat(b)-parseFloat(c)},height:({y:a},{paddingTop:b="0",paddingBottom:c="0",boxSizing:d})=>{let e=a.max-a.min;return"border-box"===d?e:e-parseFloat(b)-parseFloat(c)},top:(a,{top:b})=>parseFloat(b),left:(a,{left:b})=>parseFloat(b),bottom:({y:a},{top:b})=>parseFloat(b)+(a.max-a.min),right:({x:a},{left:b})=>parseFloat(b)+(a.max-a.min),x:(a,{transform:b})=>as(b,"x"),y:(a,{transform:b})=>as(b,"y")};ax.translateX=ax.x,ax.translateY=ax.y;var ay=c(46801);let az=new Set,aA=!1,aB=!1,aC=!1;function aD(){if(aB){let a=Array.from(az).filter(a=>a.needsMeasurement),b=new Set(a.map(a=>a.element)),c=new Map;b.forEach(a=>{let b=function(a){let b=[];return aw.forEach(c=>{let d=a.getValue(c);void 0!==d&&(b.push([c,d.get()]),d.set(+!!c.startsWith("scale")))}),b}(a);b.length&&(c.set(a,b),a.render())}),a.forEach(a=>a.measureInitialState()),b.forEach(a=>{a.render();let b=c.get(a);b&&b.forEach(([b,c])=>{a.getValue(b)?.set(c)})}),a.forEach(a=>a.measureEndState()),a.forEach(a=>{void 0!==a.suspendedScrollY&&window.scrollTo(0,a.suspendedScrollY)})}aB=!1,aA=!1,az.forEach(a=>a.complete(aC)),az.clear()}function aE(){az.forEach(a=>{a.readKeyframes(),a.needsMeasurement&&(aB=!0)})}class aF{constructor(a,b,c,d,e,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=b,this.name=c,this.motionValue=d,this.element=e,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(az.add(this),aA||(aA=!0,ay.Gt.read(aE),ay.Gt.resolveKeyframes(aD))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:a,name:b,element:c,motionValue:d}=this;if(null===a[0]){let e=d?.get(),f=a[a.length-1];if(void 0!==e)a[0]=e;else if(c&&b){let d=c.readValue(b,f);null!=d&&(a[0]=d)}void 0===a[0]&&(a[0]=f),d&&void 0===e&&d.set(a[0])}for(let b=1;b<a.length;b++)a[b]??(a[b]=a[b-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),az.delete(this)}cancel(){"scheduled"===this.state&&(az.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let aG=a=>/^0[^.\s]+$/u.test(a),aH=new Set([N,O]);function aI(a,b){let c=S(a);return aH.has(c)||(c=J),c.getAnimatableNone?c.getAnimatableNone(b):void 0}let aJ=new Set(["auto","none","0"]);class aK extends aF{constructor(a,b,c,d,e){super(a,b,c,d,e,!0)}readKeyframes(){let{unresolvedKeyframes:a,element:b,name:c}=this;if(!b||!b.current)return;super.readKeyframes();for(let c=0;c<a.length;c++){let d=a[c];if("string"==typeof d&&ag(d=d.trim())){let e=function a(b,c,d=1){ab(d<=4,`Max CSS variable fallback depth detected in property "${b}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[e,f]=function(a){let b=aj.exec(a);if(!b)return[,];let[,c,d,e]=b;return[`--${c??d}`,e]}(b);if(!e)return;let g=window.getComputedStyle(c).getPropertyValue(e);if(g){let a=g.trim();return ac(a)?parseFloat(a):a}return ag(f)?a(f,c,d+1):f}(d,b.current);void 0!==e&&(a[c]=e),c===a.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!Y.has(c)||2!==a.length)return;let[d,e]=a,f=_(d),g=_(e);if(ai(d)!==ai(e)&&ax[c]){this.needsMeasurement=!0;return}if(f!==g)if(au(f)&&au(g))for(let b=0;b<a.length;b++){let c=a[b];"string"==typeof c&&(a[b]=parseFloat(c))}else ax[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:a,name:b}=this,c=[];for(let b=0;b<a.length;b++){var d;(null===a[b]||("number"==typeof(d=a[b])?0===d:null===d||"none"===d||"0"===d||aG(d)))&&c.push(b)}c.length&&function(a,b,c){let d,e=0;for(;e<a.length&&!d;){let b=a[e];"string"==typeof b&&!aJ.has(b)&&H(b).values.length&&(d=a[e]),e++}if(d&&c)for(let e of b)a[e]=aI(c,d)}(a,c,b)}measureInitialState(){let{element:a,unresolvedKeyframes:b,name:c}=this;if(!a||!a.current)return;"height"===c&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ax[c](a.measureViewportBox(),window.getComputedStyle(a.current)),b[0]=this.measuredOrigin;let d=b[b.length-1];void 0!==d&&a.getValue(c,d).jump(d,!1)}measureEndState(){let{element:a,name:b,unresolvedKeyframes:c}=this;if(!a||!a.current)return;let d=a.getValue(b);d&&d.jump(this.measuredOrigin,!1);let e=c.length-1,f=c[e];c[e]=ax[b](a.measureViewportBox(),window.getComputedStyle(a.current)),null!==f&&void 0===this.finalKeyframe&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEach(([b,c])=>{a.getValue(b).set(c)}),this.resolveNoneKeyframes()}}let aL=a=>1e3*a;function aM(a,b){-1===a.indexOf(b)&&a.push(b)}function aN(a,b){let c=a.indexOf(b);c>-1&&a.splice(c,1)}class aO{constructor(){this.subscriptions=[]}add(a){return aM(this.subscriptions,a),()=>aN(this.subscriptions,a)}notify(a,b,c){let d=this.subscriptions.length;if(d)if(1===d)this.subscriptions[0](a,b,c);else for(let e=0;e<d;e++){let d=this.subscriptions[e];d&&d(a,b,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}var aP=c(40092);function aQ(a,b,c){b.startsWith("--")?a.style.setProperty(b,c):a.style[b]=c}function aR(a){let b;return()=>(void 0===b&&(b=a()),b)}let aS={};function aT(a,b){let c=aR(a);return()=>aS[b]??c()}let aU=aT(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),aV=a=>null!==a;function aW(a,{repeat:b,repeatType:c="loop"},d,e=1){let f=a.filter(aV),g=e<0||b&&"loop"!==c&&b%2==1?0:f.length-1;return g&&void 0!==d?d:f[g]}class aX{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,b){return this.finished.then(a,b)}}let aY={layout:0,mainThread:0,waapi:0};var aZ=c(98203);let a$=a=>Array.isArray(a)&&"number"==typeof a[0],a_=aT(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(a){return!1}return!0},"linearEasing"),a0=(a,b,c=10)=>{let d="",e=Math.max(Math.round(b/c),2);for(let b=0;b<e;b++)d+=Math.round(1e4*a(b/(e-1)))/1e4+", ";return`linear(${d.substring(0,d.length-2)})`},a1=([a,b,c,d])=>`cubic-bezier(${a}, ${b}, ${c}, ${d})`,a2={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:a1([0,.65,.55,1]),circOut:a1([.55,0,1,.45]),backIn:a1([.31,.01,.66,-.59]),backOut:a1([.33,1.53,.69,.99])};function a3(a){return"function"==typeof a&&"applyToOptions"in a}class a4 extends aX{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;let{element:b,name:c,keyframes:d,pseudoElement:e,allowFlatten:f=!1,finalKeyframe:g,onComplete:h}=a;this.isPseudoElement=!!e,this.allowFlatten=f,this.options=a,ab("string"!=typeof a.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let i=function({type:a,...b}){return a3(a)&&a_()?a.applyToOptions(b):(b.duration??(b.duration=300),b.ease??(b.ease="easeOut"),b)}(a);this.animation=function(a,b,c,{delay:d=0,duration:e=300,repeat:f=0,repeatType:g="loop",ease:h="easeOut",times:i}={},j){let k={[b]:c};i&&(k.offset=i);let l=function a(b,c){if(b)return"function"==typeof b?a_()?a0(b,c):"ease-out":a$(b)?a1(b):Array.isArray(b)?b.map(b=>a(b,c)||a2.easeOut):a2[b]}(h,e);Array.isArray(l)&&(k.easing=l),aZ.Q.value&&aY.waapi++;let m={delay:d,duration:e,easing:Array.isArray(l)?"linear":l,fill:"both",iterations:f+1,direction:"reverse"===g?"alternate":"normal"};j&&(m.pseudoElement=j);let n=a.animate(k,m);return aZ.Q.value&&n.finished.finally(()=>{aY.waapi--}),n}(b,c,d,i,e),!1===i.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!e){let a=aW(d,this.options,g,this.speed);this.updateMotionValue&&this.updateMotionValue(a),aQ(b,c,a),this.animation.cancel()}h?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(a){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:a}=this;"idle"!==a&&"finished"!==a&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let a=this.options?.element;!this.isPseudoElement&&a?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:a=0}=this.options||{};return this.duration+a/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(a){let b=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=aL(a),b&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,rangeStart:b,rangeEnd:c,observe:d}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,a&&aU())?(this.animation.timeline=a,b&&(this.animation.rangeStart=b),c&&(this.animation.rangeEnd=c),aP.l):d(this)}}let a5=new Set(["opacity","clipPath","filter","transform"]),{schedule:a6}=(0,c(9915).I)(queueMicrotask,!1);var a7=c(43708);function a8(){d=void 0}let a9={now:()=>(void 0===d&&a9.set(ay.uv.isProcessing||a7.W.useManualTiming?ay.uv.timestamp:performance.now()),d),set:a=>{d=a,queueMicrotask(a8)}},ba={current:void 0};class bb{constructor(a,b={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{let b=a9.now();if(this.updatedAt!==b&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=b.owner}setCurrent(a){this.current=a,this.updatedAt=a9.now(),null===this.canTrackVelocity&&void 0!==a&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return this.on("change",a)}on(a,b){this.events[a]||(this.events[a]=new aO);let c=this.events[a].add(b);return"change"===a?()=>{c(),ay.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:c}clearListeners(){for(let a in this.events)this.events[a].clear()}attach(a,b){this.passiveEffect=a,this.stopPassiveEffect=b}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,b,c){this.set(b),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-c}jump(a,b=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,b&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return ba.current&&ba.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var a;let b=a9.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||b-this.updatedAt>30)return 0;let c=Math.min(this.updatedAt-this.prevUpdatedAt,30);return a=parseFloat(this.current)-parseFloat(this.prevFrameValue),c?1e3/c*a:0}start(a){return this.stop(),new Promise(b=>{this.hasAnimated=!0,this.animation=a(b),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function bc(a,b){return new bb(a,b)}let bd=[...$,C,J],be=new WeakMap;function bf(a){return null!==a&&"object"==typeof a&&"function"==typeof a.start}function bg(a){return"string"==typeof a||Array.isArray(a)}let bh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],bi=["initial",...bh];function bj(a){return bf(a.animate)||bi.some(b=>bg(a[b]))}function bk(a){return!!(bj(a)||a.variants)}let bl={current:null},bm={current:!1},bn="undefined"!=typeof window;function bo(a){let b=[{},{}];return a?.values.forEach((a,c)=>{b[0][c]=a.get(),b[1][c]=a.getVelocity()}),b}function bp(a,b,c,d){if("function"==typeof b){let[e,f]=bo(d);b=b(void 0!==c?c:a.custom,e,f)}if("string"==typeof b&&(b=a.variants&&a.variants[b]),"function"==typeof b){let[e,f]=bo(d);b=b(void 0!==c?c:a.custom,e,f)}return b}let bq=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],br={};class bs{scrapeMotionValuesFromProps(a,b,c){return{}}constructor({parent:a,props:b,presenceContext:c,reducedMotionConfig:d,skipAnimations:e,blockInitialAnimation:f,visualState:g},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=aF,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let a=a9.now();this.renderScheduledAt<a&&(this.renderScheduledAt=a,ay.Gt.render(this.render,!1,!0))};let{latestValues:i,renderState:j}=g;this.latestValues=i,this.baseTarget={...i},this.initialValues=b.initial?{...i}:{},this.renderState=j,this.parent=a,this.props=b,this.presenceContext=c,this.depth=a?a.depth+1:0,this.reducedMotionConfig=d,this.skipAnimationsConfig=e,this.options=h,this.blockInitialAnimation=!!f,this.isControllingVariants=bj(b),this.isVariantNode=bk(b),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);let{willChange:k,...l}=this.scrapeMotionValuesFromProps(b,{},this);for(let a in l){let b=l[a];void 0!==i[a]&&X(b)&&b.set(i[a])}}mount(a){if(this.hasBeenMounted)for(let a in this.initialValues)this.values.get(a)?.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=a,be.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,b)=>this.bindToMotionValue(b,a)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(bm.current||function(){if(bm.current=!0,bn)if(window.matchMedia){let a=window.matchMedia("(prefers-reduced-motion)"),b=()=>bl.current=a.matches;a.addEventListener("change",b),b()}else bl.current=!1}(),this.shouldReduceMotion=bl.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let a in this.projection&&this.projection.unmount(),(0,ay.WG)(this.notifyUpdate),(0,ay.WG)(this.render),this.valueSubscriptions.forEach(a=>a()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[a].clear();for(let a in this.features){let b=this.features[a];b&&(b.unmount(),b.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,b){let c;if(this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)(),b.accelerate&&a5.has(a)&&this.current instanceof HTMLElement){let{factory:c,keyframes:d,times:e,ease:f,duration:g}=b.accelerate,h=new a4({element:this.current,name:a,keyframes:d,times:e,ease:f,duration:aL(g)}),i=c(h);this.valueSubscriptions.set(a,()=>{i(),h.cancel()});return}let d=h.has(a);d&&this.onBindTransform&&this.onBindTransform();let e=b.on("change",b=>{this.latestValues[a]=b,this.props.onUpdate&&ay.Gt.preRender(this.notifyUpdate),d&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,a,b)),this.valueSubscriptions.set(a,()=>{e(),c&&c(),b.owner&&b.stop()})}sortNodePosition(a){return this.current&&this.sortInstanceNodePosition&&this.type===a.type?this.sortInstanceNodePosition(this.current,a.current):0}updateFeatures(){let a="animation";for(a in br){let b=br[a];if(!b)continue;let{isEnabled:c,Feature:d}=b;if(!this.features[a]&&d&&c(this.props)&&(this.features[a]=new d(this)),this.features[a]){let b=this.features[a];b.isMounted?b.update():(b.mount(),b.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):W()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,b){this.latestValues[a]=b}update(a,b){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=b;for(let b=0;b<bq.length;b++){let c=bq[b];this.propEventSubscriptions[c]&&(this.propEventSubscriptions[c](),delete this.propEventSubscriptions[c]);let d=a["on"+c];d&&(this.propEventSubscriptions[c]=this.on(c,d))}this.prevMotionValues=function(a,b,c){for(let d in b){let e=b[d],f=c[d];if(X(e))a.addValue(d,e);else if(X(f))a.addValue(d,bc(e,{owner:a}));else if(f!==e)if(a.hasValue(d)){let b=a.getValue(d);!0===b.liveStyle?b.jump(e):b.hasAnimated||b.set(e)}else{let b=a.getStaticValue(d);a.addValue(d,bc(void 0!==b?b:e,{owner:a}))}}for(let d in c)void 0===b[d]&&a.removeValue(d);return b}(this,this.scrapeMotionValuesFromProps(a,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(a){let b=this.getClosestVariantNode();if(b)return b.variantChildren&&b.variantChildren.add(a),()=>b.variantChildren.delete(a)}addValue(a,b){let c=this.values.get(a);b!==c&&(c&&this.removeValue(a),this.bindToMotionValue(a,b),this.values.set(a,b),this.latestValues[a]=b.get())}removeValue(a){this.values.delete(a);let b=this.valueSubscriptions.get(a);b&&(b(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,b){if(this.props.values&&this.props.values[a])return this.props.values[a];let c=this.values.get(a);return void 0===c&&void 0!==b&&(c=bc(null===b?void 0:b,{owner:this}),this.addValue(a,c)),c}readValue(a,b){let c=void 0===this.latestValues[a]&&this.current?this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options):this.latestValues[a];if(null!=c){if("string"==typeof c&&(ac(c)||aG(c)))c=parseFloat(c);else{let d;d=c,!bd.find(Z(d))&&J.test(b)&&(c=aI(a,b))}this.setBaseTarget(a,X(c)?c.get():c)}return X(c)?c.get():c}setBaseTarget(a,b){this.baseTarget[a]=b}getBaseTarget(a){let b,{initial:c}=this.props;if("string"==typeof c||"object"==typeof c){let d=bp(this.props,c,this.presenceContext?.custom);d&&(b=d[a])}if(c&&void 0!==b)return b;let d=this.getBaseTargetFromProps(this.props,a);return void 0===d||X(d)?void 0!==this.initialValues[a]&&void 0===b?void 0:this.baseTarget[a]:d}on(a,b){return this.events[a]||(this.events[a]=new aO),this.events[a].add(b)}notify(a,...b){this.events[a]&&this.events[a].notify(...b)}scheduleRenderMicrotask(){a6.render(this.render)}}class bt extends bs{constructor(){super(...arguments),this.KeyframeResolver=aK}sortInstanceNodePosition(a,b){return 2&a.compareDocumentPosition(b)?1:-1}getBaseTargetFromProps(a,b){let c=a.style;return c?c[b]:void 0}removeValueFromRenderState(a,{vars:b,style:c}){delete b[a],delete c[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:a}=this.props;X(a)&&(this.childSubscription=a.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}function bu(a){return a.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}let bv=(a,b)=>b&&"number"==typeof a?b.transform(a):a,bw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},bx=g.length;function by(a,b,c){let{style:d,vars:e,transformOrigin:f}=a,i=!1,j=!1;for(let a in b){let c=b[a];if(h.has(a)){i=!0;continue}if(ae(a)){e[a]=c;continue}{let b=bv(c,Q[a]);a.startsWith("origin")?(j=!0,f[a]=b):d[a]=b}}if(!b.transform&&(i||c?d.transform=function(a,b,c){let d="",e=!0;for(let f=0;f<bx;f++){let h=g[f],i=a[h];if(void 0===i)continue;let j=!0;if("number"==typeof i)j=i===+!!h.startsWith("scale");else{let a=parseFloat(i);j=h.startsWith("scale")?1===a:0===a}if(!j||c){let a=bv(i,Q[h]);if(!j){e=!1;let b=bw[h]||h;d+=`${b}(${a}) `}c&&(b[h]=a)}}return d=d.trim(),c?d=c(b,e?"":d):e&&(d="none"),d}(b,a.transform,c):d.transform&&(d.transform="none")),j){let{originX:a="50%",originY:b="50%",originZ:c=0}=f;d.transformOrigin=`${a} ${b} ${c}`}}let bz={offset:"stroke-dashoffset",array:"stroke-dasharray"},bA={offset:"strokeDashoffset",array:"strokeDasharray"},bB=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function bC(a,{attrX:b,attrY:c,attrScale:d,pathLength:e,pathSpacing:f=1,pathOffset:g=0,...h},i,j,k){if(by(a,h,j),i){a.style.viewBox&&(a.attrs.viewBox=a.style.viewBox);return}a.attrs=a.style,a.style={};let{attrs:l,style:m}=a;for(let a of(l.transform&&(m.transform=l.transform,delete l.transform),(m.transform||l.transformOrigin)&&(m.transformOrigin=l.transformOrigin??"50% 50%",delete l.transformOrigin),m.transform&&(m.transformBox=k?.transformBox??"fill-box",delete l.transformBox),bB))void 0!==l[a]&&(m[a]=l[a],delete l[a]);void 0!==b&&(l.x=b),void 0!==c&&(l.y=c),void 0!==d&&(l.scale=d),void 0!==e&&function(a,b,c=1,d=0,e=!0){a.pathLength=1;let f=e?bz:bA;a[f.offset]=`${-d}`,a[f.array]=`${b} ${c}`}(l,e,f,g,!1)}let bD=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),bE=a=>"string"==typeof a&&"svg"===a.toLowerCase();function bF(a,{style:b,vars:c},d,e){let f,g=a.style;for(f in b)g[f]=b[f];for(f in e?.applyProjectionStyles(g,d),c)g.setProperty(f,c[f])}function bG(a,b){return b.max===b.min?0:a/(b.max-b.min)*100}let bH={correct:(a,b)=>{if(!b.target)return a;if("string"==typeof a)if(!x.test(a))return a;else a=parseFloat(a);let c=bG(a,b.target.x),d=bG(a,b.target.y);return`${c}% ${d}%`}},bI=(a,b,c)=>a+(b-a)*c,bJ={borderRadius:{...bH,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:bH,borderTopRightRadius:bH,borderBottomLeftRadius:bH,borderBottomRightRadius:bH,boxShadow:{correct:(a,{treeScale:b,projectionDelta:c})=>{let d=J.parse(a);if(d.length>5)return a;let e=J.createTransformer(a),f=+("number"!=typeof d[0]),g=c.x.scale*b.x,h=c.y.scale*b.y;d[0+f]/=g,d[1+f]/=h;let i=bI(g,h,.5);return"number"==typeof d[2+f]&&(d[2+f]/=i),"number"==typeof d[3+f]&&(d[3+f]/=i),e(d)}}};function bK(a,{layout:b,layoutId:c}){return h.has(a)||a.startsWith("origin")||(b||void 0!==c)&&(!!bJ[a]||"opacity"===a)}function bL(a,b,c){let d=a.style,e=b?.style,f={};if(!d)return f;for(let b in d)(X(d[b])||e&&X(e[b])||bK(b,a)||c?.getValue(b)?.liveStyle!==void 0)&&(f[b]=d[b]);return f}function bM(a,b,c){let d=bL(a,b,c);for(let c in a)(X(a[c])||X(b[c]))&&(d[-1!==g.indexOf(c)?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c]=a[c]);return d}class bN extends bt{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=W}getBaseTargetFromProps(a,b){return a[b]}readValueFromInstance(a,b){if(h.has(b)){let a=S(b);return a&&a.default||0}return b=bD.has(b)?b:bu(b),a.getAttribute(b)}scrapeMotionValuesFromProps(a,b,c){return bM(a,b,c)}build(a,b,c){bC(a,b,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(a,b,c,d){for(let c in bF(a,b,void 0,d),b.attrs)a.setAttribute(bD.has(c)?c:bu(c),b.attrs[c])}mount(a){this.isSVGTag=bE(a.tagName),super.mount(a)}}function bO({top:a,left:b,right:c,bottom:d}){return{x:{min:b,max:c},y:{min:a,max:d}}}function bP(a){return void 0===a||1===a}function bQ({scale:a,scaleX:b,scaleY:c}){return!bP(a)||!bP(b)||!bP(c)}function bR(a){return bQ(a)||bS(a)||a.z||a.rotate||a.rotateX||a.rotateY||a.skewX||a.skewY}function bS(a){var b,c;return(b=a.x)&&"0%"!==b||(c=a.y)&&"0%"!==c}function bT(a,b,c,d,e){return void 0!==e&&(a=d+e*(a-d)),d+c*(a-d)+b}function bU(a,b=0,c=1,d,e){a.min=bT(a.min,b,c,d,e),a.max=bT(a.max,b,c,d,e)}function bV(a,{x:b,y:c}){bU(a.x,b.translate,b.scale,b.originPoint),bU(a.y,c.translate,c.scale,c.originPoint)}function bW(a,b){a.min+=b,a.max+=b}function bX(a,b,c,d,e=.5){let f=bI(a.min,a.max,e);bU(a,b,c,f,d)}function bY(a,b){return"string"==typeof a?parseFloat(a)/100*(b.max-b.min):a}function bZ(a,b,c){let d=c??a;bX(a.x,bY(b.x,d.x),b.scaleX,b.scale,b.originX),bX(a.y,bY(b.y,d.y),b.scaleY,b.scale,b.originY)}function b$(a,b){return bO(function(a,b){if(!b)return a;let c=b({x:a.left,y:a.top}),d=b({x:a.right,y:a.bottom});return{top:c.y,left:c.x,bottom:d.y,right:d.x}}(a.getBoundingClientRect(),b))}class b_ extends bt{constructor(){super(...arguments),this.type="html",this.renderInstance=bF}readValueFromInstance(a,b){if(h.has(b))return this.projection?.isProjecting?ar(b):((a,b)=>{let{transform:c="none"}=getComputedStyle(a);return as(c,b)})(a,b);{let c=window.getComputedStyle(a),d=(ae(b)?c.getPropertyValue(b):c[b])||0;return"string"==typeof d?d.trim():d}}measureInstanceViewportBox(a,{transformPagePoint:b}){return b$(a,b)}build(a,b,c){by(a,b,c.transformTemplate)}scrapeMotionValuesFromProps(a,b,c){return bL(a,b,c)}}var b0=c(21968);let b1=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function b2(a){if("string"!=typeof a||a.includes("-"));else if(b1.indexOf(a)>-1||/[A-Z]/u.test(a))return!0;return!1}var b3=c(10837),b4=c(46005),b5=c(51662);let b6=(0,b0.createContext)({});function b7(a){return Array.isArray(a)?a.join(" "):a}let b8=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function b9(a,b,c){for(let d in b)X(b[d])||bK(d,c)||(a[d]=b[d])}let ca=()=>({...b8(),attrs:{}}),cb=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function cc(a){return a.startsWith("while")||a.startsWith("drag")&&"draggable"!==a||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||cb.has(a)}let cd=a=>!cc(a);try{!function(a){"function"==typeof a&&(cd=b=>b.startsWith("on")?!cc(b):a(b))}(require("@emotion/is-prop-valid").default)}catch{}function ce(a){return X(a)?a.get():a}var cf=c(25367),cg=c(42157);let ch=a=>(b,c)=>{let d=(0,b0.useContext)(b6),e=(0,b0.useContext)(cf.t),f=()=>(function({scrapeMotionValuesFromProps:a,createRenderState:b},c,d,e){return{latestValues:function(a,b,c,d){let e={},f=d(a,{});for(let a in f)e[a]=ce(f[a]);let{initial:g,animate:h}=a,i=bj(a),j=bk(a);b&&j&&!i&&!1!==a.inherit&&(void 0===g&&(g=b.initial),void 0===h&&(h=b.animate));let k=!!c&&!1===c.initial,l=(k=k||!1===g)?h:g;if(l&&"boolean"!=typeof l&&!bf(l)){let b=Array.isArray(l)?l:[l];for(let c=0;c<b.length;c++){let d=bp(a,b[c]);if(d){let{transitionEnd:a,transition:b,...c}=d;for(let a in c){let b=c[a];if(Array.isArray(b)){let a=k?b.length-1:0;b=b[a]}null!==b&&(e[a]=b)}for(let b in a)e[b]=a[b]}}}return e}(c,d,e,a),renderState:b()}})(a,b,d,e);return c?f():(0,cg.M)(f)},ci=ch({scrapeMotionValuesFromProps:bL,createRenderState:b8}),cj=ch({scrapeMotionValuesFromProps:bM,createRenderState:ca}),ck={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},cl=!1,cm=Symbol.for("motionComponentSymbol");function cn(a,{forwardMotionProps:b=!1,type:c}={},d,e){d&&function(a){let b=(!function(){if(cl)return;let a={};for(let b in ck)a[b]={isEnabled:a=>ck[b].some(b=>!!a[b])};br=a,cl=!0}(),br);for(let c in a)b[c]={...b[c],...a[c]};br=b}(d);let f=c?"svg"===c:b2(a),g=f?cj:ci;function h(c,d){let e,h={...(0,b0.useContext)(b5.Q),...c,layoutId:function({layoutId:a}){let b=(0,b0.useContext)(b4.L).id;return b&&void 0!==a?b+"-"+a:a}(c)},{isStatic:i}=h,j=function(a){let{initial:b,animate:c}=function(a,b){if(bj(a)){let{initial:b,animate:c}=a;return{initial:!1===b||bg(b)?b:void 0,animate:bg(c)?c:void 0}}return!1!==a.inherit?b:{}}(a,(0,b0.useContext)(b6));return(0,b0.useMemo)(()=>({initial:b,animate:c}),[b7(b),b7(c)])}(c),k=g(c,i);return(0,b3.jsxs)(b6.Provider,{value:j,children:[e&&j.visualElement?(0,b3.jsx)(e,{visualElement:j.visualElement,...h}):null,function(a,b,c,{latestValues:d},e,f=!1,g){let h=(g??b2(a)?function(a,b,c,d){let e=(0,b0.useMemo)(()=>{let c=ca();return bC(c,b,bE(d),a.transformTemplate,a.style),{...c.attrs,style:{...c.style}}},[b]);if(a.style){let b={};b9(b,a.style,a),e.style={...b,...e.style}}return e}:function(a,b){let c={},d=function(a,b){let c=a.style||{},d={};return b9(d,c,a),Object.assign(d,function({transformTemplate:a},b){return(0,b0.useMemo)(()=>{let c=b8();return by(c,b,a),Object.assign({},c.vars,c.style)},[b])}(a,b)),d}(a,b);return a.drag&&!1!==a.dragListener&&(c.draggable=!1,d.userSelect=d.WebkitUserSelect=d.WebkitTouchCallout="none",d.touchAction=!0===a.drag?"none":`pan-${"x"===a.drag?"y":"x"}`),void 0===a.tabIndex&&(a.onTap||a.onTapStart||a.whileTap)&&(c.tabIndex=0),c.style=d,c})(b,d,e,a),i=function(a,b,c){let d={};for(let e in a)("values"!==e||"object"!=typeof a.values)&&!X(a[e])&&(cd(e)||!0===c&&cc(e)||!b&&!cc(e)||a.draggable&&e.startsWith("onDrag"))&&(d[e]=a[e]);return d}(b,"string"==typeof a,f),j=a!==b0.Fragment?{...i,...h,ref:c}:{},{children:k}=b,l=(0,b0.useMemo)(()=>X(k)?k.get():k,[k]);return(0,b0.createElement)(a,{...j,children:l})}(a,c,function(a,b,c){let d=(0,b0.useRef)(c);(0,b0.useInsertionEffect)(()=>{d.current=c});let e=(0,b0.useRef)(null);return(0,b0.useCallback)(c=>{c&&a.onMount?.(c);let f=d.current;if("function"==typeof f)if(c){let a=f(c);"function"==typeof a&&(e.current=a)}else e.current?(e.current(),e.current=null):f(c);else f&&(f.current=c);b&&(c?b.mount(c):b.unmount())},[b])}(k,j.visualElement,d),k,i,b,f)]})}h.displayName=`motion.${"string"==typeof a?a:`create(${a.displayName??a.name??""})`}`;let i=(0,b0.forwardRef)(h);return i[cm]=a,i}class co{constructor(a){this.isMounted=!1,this.node=a}update(){}}function cp(a,b,c){let d=a.getProps();return bp(d,b,void 0!==c?c:d.custom,a)}function cq(a,b){if(a?.inherit&&b){let{inherit:c,...d}=a;return{...b,...d}}return a}function cr(a,b){let c=a?.[b]??a?.default??a;return c!==a?cq(c,a):c}let cs=a=>Array.isArray(a);function ct(a,b){let c=a.getValue("willChange");if(X(c)&&c.add)return c.add(b);if(!c&&a7.W.WillChange){let c=new a7.W.WillChange("auto");a.addValue("willChange",c),c.add(b)}}let cu="data-"+bu("framerAppearId"),cv=(a,b)=>c=>b(a(c)),cw=(...a)=>a.reduce(cv);function cx(a,b,c){return(c<0&&(c+=1),c>1&&(c-=1),c<1/6)?a+(b-a)*6*c:c<.5?b:c<2/3?a+(b-a)*(2/3-c)*6:a}function cy(a,b){return c=>c>0?b:a}let cz=(a,b,c)=>{let d=a*a,e=c*(b*b-d)+d;return e<0?0:Math.sqrt(e)},cA=[t,s,B];function cB(a){let b=cA.find(b=>b.test(a));if(aa(!!b,`'${a}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!b)return!1;let c=b.parse(a);return b===B&&(c=function({hue:a,saturation:b,lightness:c,alpha:d}){a/=360,c/=100;let e=0,f=0,g=0;if(b/=100){let d=c<.5?c*(1+b):c+b-c*b,h=2*c-d;e=cx(h,d,a+1/3),f=cx(h,d,a),g=cx(h,d,a-1/3)}else e=f=g=c;return{red:Math.round(255*e),green:Math.round(255*f),blue:Math.round(255*g),alpha:d}}(c)),c}let cC=(a,b)=>{let c=cB(a),d=cB(b);if(!c||!d)return cy(a,b);let e={...c};return a=>(e.red=cz(c.red,d.red,a),e.green=cz(c.green,d.green,a),e.blue=cz(c.blue,d.blue,a),e.alpha=bI(c.alpha,d.alpha,a),s.transform(e))},cD=new Set(["none","hidden"]);function cE(a,b){return c=>bI(a,b,c)}function cF(a){return"number"==typeof a?cE:"string"==typeof a?ag(a)?cy:C.test(a)?cC:cI:Array.isArray(a)?cG:"object"==typeof a?C.test(a)?cC:cH:cy}function cG(a,b){let c=[...a],d=c.length,e=a.map((a,c)=>cF(a)(a,b[c]));return a=>{for(let b=0;b<d;b++)c[b]=e[b](a);return c}}function cH(a,b){let c={...a,...b},d={};for(let e in c)void 0!==a[e]&&void 0!==b[e]&&(d[e]=cF(a[e])(a[e],b[e]));return a=>{for(let b in d)c[b]=d[b](a);return c}}let cI=(a,b)=>{let c=J.createTransformer(b),d=H(a),e=H(b);return d.indexes.var.length===e.indexes.var.length&&d.indexes.color.length===e.indexes.color.length&&d.indexes.number.length>=e.indexes.number.length?cD.has(a)&&!e.values.length||cD.has(b)&&!d.values.length?function(a,b){return cD.has(a)?c=>c<=0?a:b:c=>c>=1?b:a}(a,b):cw(cG(function(a,b){let c=[],d={color:0,var:0,number:0};for(let e=0;e<b.values.length;e++){let f=b.types[e],g=a.indexes[f][d[f]],h=a.values[g]??0;c[e]=h,d[f]++}return c}(d,e),e.values),c):(aa(!0,`Complex values '${a}' and '${b}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),cy(a,b))};function cJ(a,b,c){return"number"==typeof a&&"number"==typeof b&&"number"==typeof c?bI(a,b,c):cF(a)(a,b)}let cK=a=>{let b=({timestamp:b})=>a(b);return{start:(a=!0)=>ay.Gt.update(b,a),stop:()=>(0,ay.WG)(b),now:()=>ay.uv.isProcessing?ay.uv.timestamp:a9.now()}};function cL(a){let b=0,c=a.next(b);for(;!c.done&&b<2e4;)b+=50,c=a.next(b);return b>=2e4?1/0:b}let cM={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function cN(a,b){return a*Math.sqrt(1-b*b)}let cO=["duration","bounce"],cP=["stiffness","damping","mass"];function cQ(a,b){return b.some(b=>void 0!==a[b])}function cR(a=cM.visualDuration,b=cM.bounce){let c,d,e,f,g,h,j="object"!=typeof a?{visualDuration:a,keyframes:[0,1],bounce:b}:a,{restSpeed:k,restDelta:l}=j,m=j.keyframes[0],n=j.keyframes[j.keyframes.length-1],o={done:!1,value:m},{stiffness:p,damping:q,mass:r,duration:s,velocity:t,isResolvedFromDuration:u}=function(a){let b={velocity:cM.velocity,stiffness:cM.stiffness,damping:cM.damping,mass:cM.mass,isResolvedFromDuration:!1,...a};if(!cQ(a,cP)&&cQ(a,cO))if(b.velocity=0,a.visualDuration){let c=2*Math.PI/(1.2*a.visualDuration),d=c*c,e=2*i(.05,1,1-(a.bounce||0))*Math.sqrt(d);b={...b,mass:cM.mass,stiffness:d,damping:e}}else{let c=function({duration:a=cM.duration,bounce:b=cM.bounce,velocity:c=cM.velocity,mass:d=cM.mass}){let e,f;aa(a<=aL(cM.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let g=1-b;g=i(cM.minDamping,cM.maxDamping,g),a=i(cM.minDuration,cM.maxDuration,a/1e3),g<1?(e=b=>{let d=b*g,e=d*a;return .001-(d-c)/cN(b,g)*Math.exp(-e)},f=b=>{let d=b*g*a,f=Math.pow(g,2)*Math.pow(b,2)*a,h=Math.exp(-d),i=cN(Math.pow(b,2),g);return(d*c+c-f)*h*(-e(b)+.001>0?-1:1)/i}):(e=b=>-.001+Math.exp(-b*a)*((b-c)*a+1),f=b=>a*a*(c-b)*Math.exp(-b*a));let h=function(a,b,c){let d=c;for(let c=1;c<12;c++)d-=a(d)/b(d);return d}(e,f,5/a);if(a=aL(a),isNaN(h))return{stiffness:cM.stiffness,damping:cM.damping,duration:a};{let b=Math.pow(h,2)*d;return{stiffness:b,damping:2*g*Math.sqrt(d*b),duration:a}}}({...a,velocity:0});(b={...b,...c,mass:cM.mass}).isResolvedFromDuration=!0}return b}({...j,velocity:-((j.velocity||0)/1e3)}),v=t||0,w=q/(2*Math.sqrt(p*r)),x=n-m,y=Math.sqrt(p/r)/1e3,z=5>Math.abs(x);if(k||(k=z?cM.restSpeed.granular:cM.restSpeed.default),l||(l=z?cM.restDelta.granular:cM.restDelta.default),w<1)e=cN(y,w),f=(v+w*y*x)/e,c=a=>n-Math.exp(-w*y*a)*(f*Math.sin(e*a)+x*Math.cos(e*a)),g=w*y*f+x*e,h=w*y*x-f*e,d=a=>Math.exp(-w*y*a)*(g*Math.sin(e*a)+h*Math.cos(e*a));else if(1===w){c=a=>n-Math.exp(-y*a)*(x+(v+y*x)*a);let a=v+y*x;d=b=>Math.exp(-y*b)*(y*a*b-v)}else{let a=y*Math.sqrt(w*w-1);c=b=>{let c=Math.exp(-w*y*b),d=Math.min(a*b,300);return n-c*((v+w*y*x)*Math.sinh(d)+a*x*Math.cosh(d))/a};let b=(v+w*y*x)/a,e=w*y*b-x*a,f=w*y*x-b*a;d=b=>{let c=Math.exp(-w*y*b),d=Math.min(a*b,300);return c*(e*Math.sinh(d)+f*Math.cosh(d))}}let A={calculatedDuration:u&&s||null,velocity:a=>aL(d(a)),next:a=>{if(!u&&w<1){let b=Math.exp(-w*y*a),c=Math.sin(e*a),d=Math.cos(e*a),i=n-b*(f*c+x*d);return o.done=Math.abs(aL(b*(g*c+h*d)))<=k&&Math.abs(n-i)<=l,o.value=o.done?n:i,o}let b=c(a);return u?o.done=a>=s:o.done=Math.abs(aL(d(a)))<=k&&Math.abs(n-b)<=l,o.value=o.done?n:b,o},toString:()=>{let a=Math.min(cL(A),2e4),b=a0(b=>A.next(a*b).value,a,30);return a+"ms "+b},toTransition:()=>{}};return A}function cS(a,b,c){var d,e;let f=Math.max(b-5,0);return d=c-a(f),(e=b-f)?1e3/e*d:0}function cT({keyframes:a,velocity:b=0,power:c=.8,timeConstant:d=325,bounceDamping:e=10,bounceStiffness:f=500,modifyTarget:g,min:h,max:i,restDelta:j=.5,restSpeed:k}){let l,m,n=a[0],o={done:!1,value:n},p=c*b,q=n+p,r=void 0===g?q:g(q);r!==q&&(p=r-n);let s=a=>-p*Math.exp(-a/d),t=a=>r+s(a),u=a=>{let b=s(a),c=t(a);o.done=Math.abs(b)<=j,o.value=o.done?r:c},v=a=>{let b;if(b=o.value,void 0!==h&&b<h||void 0!==i&&b>i){var c;l=a,m=cR({keyframes:[o.value,(c=o.value,void 0===h?i:void 0===i||Math.abs(h-c)<Math.abs(i-c)?h:i)],velocity:cS(t,a,o.value),damping:e,stiffness:f,restDelta:j,restSpeed:k})}};return v(0),{calculatedDuration:null,next:a=>{let b=!1;return(m||void 0!==l||(b=!0,u(a),v(a)),void 0!==l&&a>=l)?m.next(a-l):(b||u(a),o)}}}cR.applyToOptions=a=>{let b=function(a,b=100,c){let d=c({...a,keyframes:[0,b]}),e=Math.min(cL(d),2e4);return{type:"keyframes",ease:a=>d.next(e*a).value/b,duration:e/1e3}}(a,100,cR);return a.ease=b.ease,a.duration=aL(b.duration),a.type="keyframes",a};let cU=(a,b,c)=>(((1-3*c+3*b)*a+(3*c-6*b))*a+3*b)*a;function cV(a,b,c,d){return a===b&&c===d?aP.l:e=>0===e||1===e?e:cU(function(a,b,c,d,e){let f,g,h=0;do(f=cU(g=b+(c-b)/2,d,e)-a)>0?c=g:b=g;while(Math.abs(f)>1e-7&&++h<12);return g}(e,0,1,a,c),b,d)}let cW=cV(.42,0,1,1),cX=cV(0,0,.58,1),cY=cV(.42,0,.58,1),cZ=a=>b=>b<=.5?a(2*b)/2:(2-a(2*(1-b)))/2,c$=a=>b=>1-a(1-b),c_=cV(.33,1.53,.69,.99),c0=c$(c_),c1=cZ(c0),c2=a=>a>=1?1:(a*=2)<1?.5*c0(a):.5*(2-Math.pow(2,-10*(a-1))),c3=a=>1-Math.sin(Math.acos(a)),c4=c$(c3),c5=cZ(c3),c6={linear:aP.l,easeIn:cW,easeInOut:cY,easeOut:cX,circIn:c3,circInOut:c5,circOut:c4,backIn:c0,backInOut:c1,backOut:c_,anticipate:c2},c7=a=>{if(a$(a)){ab(4===a.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[b,c,d,e]=a;return cV(b,c,d,e)}return"string"==typeof a?(ab(void 0!==c6[a],`Invalid easing type '${a}'`,"invalid-easing-type"),c6[a]):a},c8=(a,b,c)=>{let d=b-a;return 0===d?1:(c-a)/d};function c9({duration:a=300,keyframes:b,times:c,ease:d="easeInOut"}){var e;let f=Array.isArray(d)&&"number"!=typeof d[0]?d.map(c7):c7(d),g={done:!1,value:b[0]},h=function(a,b,{clamp:c=!0,ease:d,mixer:e}={}){let f=a.length;if(ab(f===b.length,"Both input and output ranges must be the same length","range-length"),1===f)return()=>b[0];if(2===f&&b[0]===b[1])return()=>b[1];let g=a[0]===a[1];a[0]>a[f-1]&&(a=[...a].reverse(),b=[...b].reverse());let h=function(a,b,c){let d=[],e=c||a7.W.mix||cJ,f=a.length-1;for(let c=0;c<f;c++){let f=e(a[c],a[c+1]);b&&(f=cw(Array.isArray(b)?b[c]||aP.l:b,f)),d.push(f)}return d}(b,d,e),j=h.length,k=c=>{if(g&&c<a[0])return b[0];let d=0;if(j>1)for(;d<a.length-2&&!(c<a[d+1]);d++);let e=c8(a[d],a[d+1],c);return h[d](e)};return c?b=>k(i(a[0],a[f-1],b)):k}((e=c&&c.length===b.length?c:function(a){let b=[0];return!function(a,b){let c=a[a.length-1];for(let d=1;d<=b;d++){let e=c8(0,b,d);a.push(bI(c,1,e))}}(b,a.length-1),b}(b),e.map(b=>b*a)),b,{ease:Array.isArray(f)?f:b.map(()=>f||cY).splice(0,b.length-1)});return{calculatedDuration:a,next:b=>(g.value=h(b),g.done=b>=a,g)}}let da={decay:cT,inertia:cT,tween:c9,keyframes:c9,spring:cR};function db(a){"string"==typeof a.type&&(a.type=da[a.type])}let dc=a=>a/100;class dd extends aX{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:a}=this.options;a&&a.updatedAt!==a9.now()&&this.tick(a9.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},aY.mainThread++,this.options=a,this.initAnimation(),this.play(),!1===a.autoplay&&this.pause()}initAnimation(){let{options:a}=this;db(a);let{type:b=c9,repeat:c=0,repeatDelay:d=0,repeatType:e,velocity:f=0}=a,{keyframes:g}=a,h=b||c9;h!==c9&&"number"!=typeof g[0]&&(this.mixKeyframes=cw(dc,cJ(g[0],g[1])),g=[0,100]);let i=h({...a,keyframes:g});"mirror"===e&&(this.mirroredGenerator=h({...a,keyframes:[...g].reverse(),velocity:-f})),null===i.calculatedDuration&&(i.calculatedDuration=cL(i));let{calculatedDuration:j}=i;this.calculatedDuration=j,this.resolvedDuration=j+d,this.totalDuration=this.resolvedDuration*(c+1)-d,this.generator=i}updateTime(a){let b=Math.round(a-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=b}tick(a,b=!1){let c,{generator:d,totalDuration:e,mixKeyframes:f,mirroredGenerator:g,resolvedDuration:h,calculatedDuration:j}=this;if(null===this.startTime)return d.next(0);let{delay:k=0,keyframes:l,repeat:m,repeatType:n,repeatDelay:o,type:p,onUpdate:q,finalKeyframe:r}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-e/this.speed,this.startTime)),b?this.currentTime=a:this.updateTime(a);let s=this.currentTime-k*(this.playbackSpeed>=0?1:-1),t=this.playbackSpeed>=0?s<0:s>e;this.currentTime=Math.max(s,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=e);let u=this.currentTime,v=d;if(m){let a=Math.min(this.currentTime,e)/h,b=Math.floor(a),c=a%1;!c&&a>=1&&(c=1),1===c&&b--,(b=Math.min(b,m+1))%2&&("reverse"===n?(c=1-c,o&&(c-=o/h)):"mirror"===n&&(v=g)),u=i(0,1,c)*h}t?(this.delayState.value=l[0],c=this.delayState):c=v.next(u),f&&!t&&(c.value=f(c.value));let{done:w}=c;t||null===j||(w=this.playbackSpeed>=0?this.currentTime>=e:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return x&&p!==cT&&(c.value=aW(l,this.options,r,this.speed)),q&&q(c.value),x&&this.finish(),c}then(a,b){return this.finished.then(a,b)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:a=0}=this.options||{};return this.duration+a/1e3}get time(){return this.currentTime/1e3}set time(a){a=aL(a),this.currentTime=a,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=a,this.tick(a))}getGeneratorVelocity(){let a=this.currentTime;if(a<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(a);let b=this.generator.next(a).value;return cS(a=>this.generator.next(a).value,a,b)}get speed(){return this.playbackSpeed}set speed(a){let b=this.playbackSpeed!==a;b&&this.driver&&this.updateTime(a9.now()),this.playbackSpeed=a,b&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:a=cK,startTime:b}=this.options;this.driver||(this.driver=a(a=>this.tick(a))),this.options.onPlay?.();let c=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=c):null!==this.holdTime?this.startTime=c-this.holdTime:this.startTime||(this.startTime=b??c),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(a9.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,aY.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),a.observe(this)}}let de={anticipate:c2,backInOut:c1,circInOut:c5};class df extends a4{constructor(a){!function(a){"string"==typeof a.ease&&a.ease in de&&(a.ease=de[a.ease])}(a),db(a),super(a),void 0!==a.startTime&&!1!==a.autoplay&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){let{motionValue:b,onUpdate:c,onComplete:d,element:e,...f}=this.options;if(!b)return;if(void 0!==a)return void b.set(a);let g=new dd({...f,autoplay:!1}),h=Math.max(10,a9.now()-this.startTime),j=i(0,10,h-10),k=g.sample(h).value,{name:l}=this.options;e&&l&&aQ(e,l,k),b.setWithVelocity(g.sample(Math.max(0,h-j)).value,k,j),g.stop()}}let dg=(a,b)=>"zIndex"!==b&&!!("number"==typeof a||Array.isArray(a)||"string"==typeof a&&(J.test(a)||"0"===a)&&!a.startsWith("url("));function dh(a){a.duration=0,a.type="keyframes"}let di=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,dj=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),dk=aR(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class dl extends aX{constructor({autoplay:a=!0,delay:b=0,type:c="keyframes",repeat:d=0,repeatDelay:e=0,repeatType:f="loop",keyframes:g,name:h,motionValue:i,element:j,...k}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=a9.now();let l={autoplay:a,delay:b,type:c,repeat:d,repeatDelay:e,repeatType:f,name:h,motionValue:i,element:j,...k},m=j?.KeyframeResolver||aF;this.keyframeResolver=new m(g,(a,b,c)=>this.onKeyframesResolved(a,b,l,!c),h,i,j),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(a,b,c,d){let e;this.keyframeResolver=void 0;let{name:f,type:g,velocity:h,delay:i,isHandoff:j,onUpdate:k}=c;this.resolvedAt=a9.now();let l=!0;!function(a,b,c,d){let e=a[0];if(null===e)return!1;if("display"===b||"visibility"===b)return!0;let f=a[a.length-1],g=dg(e,b),h=dg(f,b);return aa(g===h,`You are trying to animate ${b} from "${e}" to "${f}". "${g?f:e}" is not an animatable value.`,"value-not-animatable"),!!g&&!!h&&(function(a){let b=a[0];if(1===a.length)return!0;for(let c=0;c<a.length;c++)if(a[c]!==b)return!0}(a)||("spring"===c||a3(c))&&d)}(a,f,g,h)&&(l=!1,(a7.W.instantAnimations||!i)&&k?.(aW(a,c,b)),a[0]=a[a.length-1],dh(c),c.repeat=0);let m={startTime:d?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:b,...c,keyframes:a},n=l&&!j&&function(a){let{motionValue:b,name:c,repeatDelay:d,repeatType:e,damping:f,type:g,keyframes:h}=a;if(!(b?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:i,transformTemplate:j}=b.owner.getProps();return dk()&&c&&(a5.has(c)||dj.has(c)&&function(a){for(let b=0;b<a.length;b++)if("string"==typeof a[b]&&di.test(a[b]))return!0;return!1}(h))&&("transform"!==c||!j)&&!i&&!d&&"mirror"!==e&&0!==f&&"inertia"!==g}(m),o=m.motionValue?.owner?.current;if(n)try{e=new df({...m,element:o})}catch{e=new dd(m)}else e=new dd(m);e.finished.then(()=>{this.notifyFinished()}).catch(aP.l),this.pendingTimeline&&(this.stopTimeline=e.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=e}get finished(){return this._animation?this.animation.finished:this._finished}then(a,b){return this.finished.finally(a).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),aC=!0,aE(),aD(),aC=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let dm={type:"spring",stiffness:500,damping:25,restSpeed:10},dn={type:"keyframes",duration:.8},dp={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},dq=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),dr=(a,b,c,d={},e,f)=>g=>{let i=cr(d,a)||{},j=i.delay||d.delay||0,{elapsed:k=0}=d;k-=aL(j);let l={keyframes:Array.isArray(c)?c:[null,c],ease:"easeOut",velocity:b.getVelocity(),...i,delay:-k,onUpdate:a=>{b.set(a),i.onUpdate&&i.onUpdate(a)},onComplete:()=>{g(),i.onComplete&&i.onComplete()},name:a,motionValue:b,element:f?void 0:e};!function(a){for(let b in a)if(!dq.has(b))return!0;return!1}(i)&&Object.assign(l,((a,{keyframes:b})=>b.length>2?dn:h.has(a)?a.startsWith("scale")?{type:"spring",stiffness:550,damping:0===b[1]?2*Math.sqrt(550):30,restSpeed:10}:dm:dp)(a,l)),l.duration&&(l.duration=aL(l.duration)),l.repeatDelay&&(l.repeatDelay=aL(l.repeatDelay)),void 0!==l.from&&(l.keyframes[0]=l.from);let m=!1;if(!1!==l.type&&(0!==l.duration||l.repeatDelay)||(dh(l),0===l.delay&&(m=!0)),(a7.W.instantAnimations||a7.W.skipAnimations||e?.shouldSkipAnimations)&&(m=!0,dh(l),l.delay=0),l.allowFlatten=!i.type&&!i.ease,m&&!f&&void 0!==b.get()){let a=aW(l.keyframes,i);if(void 0!==a)return void ay.Gt.update(()=>{l.onUpdate(a),l.onComplete()})}return i.isSync?new dd(l):new dl(l)};function ds(a,b,{delay:c=0,transitionOverride:d,type:e}={}){let{transition:f,transitionEnd:g,...h}=b,i=a.getDefaultTransition();f=f?cq(f,i):i;let j=f?.reduceMotion;d&&(f=d);let k=[],l=e&&a.animationState&&a.animationState.getState()[e];for(let b in h){let d=a.getValue(b,a.latestValues[b]??null),e=h[b];if(void 0===e||l&&function({protectedKeys:a,needsAnimating:b},c){let d=a.hasOwnProperty(c)&&!0!==b[c];return b[c]=!1,d}(l,b))continue;let g={delay:c,...cr(f||{},b)},i=d.get();if(void 0!==i&&!d.isAnimating()&&!Array.isArray(e)&&e===i&&!g.velocity){ay.Gt.update(()=>d.set(e));continue}let m=!1;if(window.MotionHandoffAnimation){let c=a.props[cu];if(c){let a=window.MotionHandoffAnimation(c,b,ay.Gt);null!==a&&(g.startTime=a,m=!0)}}ct(a,b);let n=j??a.shouldReduceMotion;d.start(dr(b,d,e,n&&Y.has(b)?{type:!1}:g,a,m));let o=d.animation;o&&k.push(o)}if(g){let b=()=>ay.Gt.update(()=>{g&&function(a,b){let{transitionEnd:c={},transition:d={},...e}=cp(a,b)||{};for(let b in e={...e,...c}){var f;let c=cs(f=e[b])?f[f.length-1]||0:f;a.hasValue(b)?a.getValue(b).set(c):a.addValue(b,bc(c))}}(a,g)});k.length?Promise.all(k).then(b):b()}return k}function dt(a,b,c,d=0,e=1){let f=Array.from(a).sort((a,b)=>a.sortNodePosition(b)).indexOf(b),g=a.size,h=(g-1)*d;return"function"==typeof c?c(f,g):1===e?f*d:h-f*d}function du(a,b,c={}){let d=cp(a,b,"exit"===c.type?a.presenceContext?.custom:void 0),{transition:e=a.getDefaultTransition()||{}}=d||{};c.transitionOverride&&(e=c.transitionOverride);let f=d?()=>Promise.all(ds(a,d,c)):()=>Promise.resolve(),g=a.variantChildren&&a.variantChildren.size?(d=0)=>{let{delayChildren:f=0,staggerChildren:g,staggerDirection:h}=e;return function(a,b,c=0,d=0,e=0,f=1,g){let h=[];for(let i of a.variantChildren)i.notify("AnimationStart",b),h.push(du(i,b,{...g,delay:c+("function"==typeof d?0:d)+dt(a.variantChildren,i,d,e,f)}).then(()=>i.notify("AnimationComplete",b)));return Promise.all(h)}(a,b,d,f,g,h,c)}:()=>Promise.resolve(),{when:h}=e;if(!h)return Promise.all([f(),g(c.delay)]);{let[a,b]="beforeChildren"===h?[f,g]:[g,f];return a().then(()=>b())}}let dv=bi.length;function dw(a,b){if(!Array.isArray(b))return!1;let c=b.length;if(c!==a.length)return!1;for(let d=0;d<c;d++)if(b[d]!==a[d])return!1;return!0}let dx=[...bh].reverse(),dy=bh.length;function dz(a=!1){return{isActive:a,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function dA(){return{animate:dz(!0),whileInView:dz(),whileHover:dz(),whileTap:dz(),whileDrag:dz(),whileFocus:dz(),exit:dz()}}class dB extends co{constructor(a){super(a),a.animationState||(a.animationState=function(a){let b=b=>Promise.all(b.map(({animation:b,options:c})=>(function(a,b,c={}){let d;if(a.notify("AnimationStart",b),Array.isArray(b))d=Promise.all(b.map(b=>du(a,b,c)));else if("string"==typeof b)d=du(a,b,c);else{let e="function"==typeof b?cp(a,b,c.custom):b;d=Promise.all(ds(a,e,c))}return d.then(()=>{a.notify("AnimationComplete",b)})})(a,b,c))),c=dA(),d=!0,e=!1,f=b=>(c,d)=>{let e=cp(a,d,"exit"===b?a.presenceContext?.custom:void 0);if(e){let{transition:a,transitionEnd:b,...d}=e;c={...c,...d,...b}}return c};function g(g){let{props:h}=a,i=function a(b){if(!b)return;if(!b.isControllingVariants){let c=b.parent&&a(b.parent)||{};return void 0!==b.props.initial&&(c.initial=b.props.initial),c}let c={};for(let a=0;a<dv;a++){let d=bi[a],e=b.props[d];(bg(e)||!1===e)&&(c[d]=e)}return c}(a.parent)||{},j=[],k=new Set,l={},m=1/0;for(let b=0;b<dy;b++){var n,o;let p=dx[b],q=c[p],r=void 0!==h[p]?h[p]:i[p],s=bg(r),t=p===g?q.isActive:null;!1===t&&(m=b);let u=r===i[p]&&r!==h[p]&&s;if(u&&(d||e)&&a.manuallyAnimateOnMount&&(u=!1),q.protectedKeys={...l},!q.isActive&&null===t||!r&&!q.prevProp||bf(r)||"boolean"==typeof r)continue;if("exit"===p&&q.isActive&&!0!==t){q.prevResolvedValues&&(l={...l,...q.prevResolvedValues});continue}let v=(n=q.prevProp,"string"==typeof(o=r)?o!==n:!!Array.isArray(o)&&!dw(o,n)),w=v||p===g&&q.isActive&&!u&&s||b>m&&s,x=!1,y=Array.isArray(r)?r:[r],z=y.reduce(f(p),{});!1===t&&(z={});let{prevResolvedValues:A={}}=q,B={...A,...z},C=b=>{w=!0,k.has(b)&&(x=!0,k.delete(b)),q.needsAnimating[b]=!0;let c=a.getValue(b);c&&(c.liveStyle=!1)};for(let a in B){let b=z[a],c=A[a];if(!l.hasOwnProperty(a))(cs(b)&&cs(c)?dw(b,c):b===c)?void 0!==b&&k.has(a)?C(a):q.protectedKeys[a]=!0:null!=b?C(a):k.add(a)}q.prevProp=r,q.prevResolvedValues=z,q.isActive&&(l={...l,...z}),(d||e)&&a.blockInitialAnimation&&(w=!1);let D=u&&v,E=!D||x;w&&E&&j.push(...y.map(b=>{let c={type:p};if("string"==typeof b&&(d||e)&&!D&&a.manuallyAnimateOnMount&&a.parent){let{parent:d}=a,e=cp(d,b);if(d.enteringChildren&&e){let{delayChildren:b}=e.transition||{};c.delay=dt(d.enteringChildren,a,b)}}return{animation:b,options:c}}))}if(k.size){let b={};if("boolean"!=typeof h.initial){let c=cp(a,Array.isArray(h.initial)?h.initial[0]:h.initial);c&&c.transition&&(b.transition=c.transition)}k.forEach(c=>{let d=a.getBaseTarget(c),e=a.getValue(c);e&&(e.liveStyle=!0),b[c]=d??null}),j.push({animation:b})}let p=!!j.length;return d&&(!1===h.initial||h.initial===h.animate)&&!a.manuallyAnimateOnMount&&(p=!1),d=!1,e=!1,p?b(j):Promise.resolve()}return{animateChanges:g,setActive:function(b,d){if(c[b].isActive===d)return Promise.resolve();a.variantChildren?.forEach(a=>a.animationState?.setActive(b,d)),c[b].isActive=d;let e=g(b);for(let a in c)c[a].protectedKeys={};return e},setAnimateFunction:function(c){b=c(a)},getState:()=>c,reset:()=>{c=dA(),e=!0}}}(a))}updateAnimationControlsSubscription(){let{animate:a}=this.node.getProps();bf(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:a}=this.node.getProps(),{animate:b}=this.node.prevProps||{};a!==b&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let dC=0;class dD extends co{constructor(){super(...arguments),this.id=dC++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:a,onExitComplete:b}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===c)return;if(a&&!1===c){if(this.isExitComplete){let{initial:a,custom:b}=this.node.getProps();if("string"==typeof a){let c=cp(this.node,a,b);if(c){let{transition:a,transitionEnd:b,...d}=c;for(let a in d)this.node.getValue(a)?.jump(d[a])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let d=this.node.animationState.setActive("exit",!a);b&&!a&&d.then(()=>{this.isExitComplete=!0,b(this.id)})}mount(){let{register:a,onExitComplete:b}=this.node.presenceContext||{};b&&b(this.id),a&&(this.unmount=a(this.id))}unmount(){}}let dE={x:!1,y:!1};function dF(a){return[a("x"),a("y")]}function dG(a){return a.max-a.min}function dH(a,b,c,d=.5){a.origin=d,a.originPoint=bI(b.min,b.max,a.origin),a.scale=dG(c)/dG(b),a.translate=bI(c.min,c.max,a.origin)-a.originPoint,(a.scale>=.9999&&a.scale<=1.0001||isNaN(a.scale))&&(a.scale=1),(a.translate>=-.01&&a.translate<=.01||isNaN(a.translate))&&(a.translate=0)}function dI(a,b,c,d){dH(a.x,b.x,c.x,d?d.originX:void 0),dH(a.y,b.y,c.y,d?d.originY:void 0)}function dJ(a,b,c,d=0){a.min=(d?bI(c.min,c.max,d):c.min)+b.min,a.max=a.min+dG(b)}function dK(a,b,c,d=0){let e=d?bI(c.min,c.max,d):c.min;a.min=b.min-e,a.max=a.min+dG(b)}function dL(a,b,c,d){dK(a.x,b.x,c.x,d?.x),dK(a.y,b.y,c.y,d?.y)}let dM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),dN=new Set(["INPUT","SELECT","TEXTAREA"]);function dO(a,b,c,d={passive:!0}){return a.addEventListener(b,c,d),()=>a.removeEventListener(b,c)}var dP=c(1836);function dQ(a){return(0,dP.G)(a)&&"ownerSVGElement"in a}function dR(a,b,c){if(null==a)return[];if(a instanceof EventTarget)return[a];if("string"==typeof a){let d=document;b&&(d=b.current);let e=c?.[a]??d.querySelectorAll(a);return e?Array.from(e):[]}return Array.from(a).filter(a=>null!=a)}let dS=new WeakMap,dT=(a,b,c)=>(d,e)=>e&&e[0]?e[0][a+"Size"]:dQ(d)&&"getBBox"in d?d.getBBox()[b]:d[c],dU=dT("inline","width","offsetWidth"),dV=dT("block","height","offsetHeight");function dW({target:a,borderBoxSize:b}){dS.get(a)?.forEach(c=>{c(a,{get width(){return dU(a,b)},get height(){return dV(a,b)}})})}function dX(a){a.forEach(dW)}let dY=new Set;function dZ(a,b){return"function"==typeof a?(dY.add(a),f||(f=()=>{let a={get width(){return window.innerWidth},get height(){return window.innerHeight}};dY.forEach(b=>b(a))},window.addEventListener("resize",f)),()=>{dY.delete(a),dY.size||"function"!=typeof f||(window.removeEventListener("resize",f),f=void 0)}):function(a,b){e||"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(dX));let c=dR(a);return c.forEach(a=>{let c=dS.get(a);c||(c=new Set,dS.set(a,c)),c.add(b),e?.observe(a)}),()=>{c.forEach(a=>{let c=dS.get(a);c?.delete(b),c?.size||e?.unobserve(a)})}}(a,b)}let d$=a=>"mouse"===a.pointerType?"number"!=typeof a.button||a.button<=0:!1!==a.isPrimary;function d_(a){return{point:{x:a.pageX,y:a.pageY}}}function d0(a,b,c,d){return dO(a,b,a=>d$(a)&&c(a,d_(a)),d)}let d1=({current:a})=>a?a.ownerDocument.defaultView:null;function d2(a){return a&&"object"==typeof a&&Object.prototype.hasOwnProperty.call(a,"current")}let d3=(a,b)=>Math.abs(a-b),d4=new Set(["auto","scroll"]);class d5{constructor(a,b,{transformPagePoint:c,contextWindow:d=window,dragSnapToOrigin:e=!1,distanceThreshold:f=3,element:g}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=a=>{this.handleScroll(a.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=d6(this.lastRawMoveEventInfo,this.transformPagePoint));let a=d8(this.lastMoveEventInfo,this.history),b=null!==this.startEvent,c=function(a,b){return Math.sqrt(d3(a.x,b.x)**2+d3(a.y,b.y)**2)}(a.offset,{x:0,y:0})>=this.distanceThreshold;if(!b&&!c)return;let{point:d}=a,{timestamp:e}=ay.uv;this.history.push({...d,timestamp:e});let{onStart:f,onMove:g}=this.handlers;b||(f&&f(this.lastMoveEvent,a),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,a)},this.handlePointerMove=(a,b)=>{this.lastMoveEvent=a,this.lastRawMoveEventInfo=b,this.lastMoveEventInfo=d6(b,this.transformPagePoint),ay.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(a,b)=>{this.end();let{onEnd:c,onSessionEnd:d,resumeAnimation:e}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&e&&e(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let f=d8("pointercancel"===a.type?this.lastMoveEventInfo:d6(b,this.transformPagePoint),this.history);this.startEvent&&c&&c(a,f),d&&d(a,f)},!d$(a))return;this.dragSnapToOrigin=e,this.handlers=b,this.transformPagePoint=c,this.distanceThreshold=f,this.contextWindow=d||window;let h=d6(d_(a),this.transformPagePoint),{point:i}=h,{timestamp:j}=ay.uv;this.history=[{...i,timestamp:j}];let{onSessionStart:k}=b;k&&k(a,d8(h,this.history)),this.removeListeners=cw(d0(this.contextWindow,"pointermove",this.handlePointerMove),d0(this.contextWindow,"pointerup",this.handlePointerUp),d0(this.contextWindow,"pointercancel",this.handlePointerUp)),g&&this.startScrollTracking(g)}startScrollTracking(a){let b=a.parentElement;for(;b;){let a=getComputedStyle(b);(d4.has(a.overflowX)||d4.has(a.overflowY))&&this.scrollPositions.set(b,{x:b.scrollLeft,y:b.scrollTop}),b=b.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){let b=this.scrollPositions.get(a);if(!b)return;let c=a===window,d=c?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},e={x:d.x-b.x,y:d.y-b.y};(0!==e.x||0!==e.y)&&(c?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=e.x,this.lastMoveEventInfo.point.y+=e.y):this.history.length>0&&(this.history[0].x-=e.x,this.history[0].y-=e.y),this.scrollPositions.set(a,d),ay.Gt.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,ay.WG)(this.updatePoint)}}function d6(a,b){return b?{point:b(a.point)}:a}function d7(a,b){return{x:a.x-b.x,y:a.y-b.y}}function d8({point:a},b){return{point:a,delta:d7(a,d9(b)),offset:d7(a,b[0]),velocity:function(a,b){if(a.length<2)return{x:0,y:0};let c=a.length-1,d=null,e=d9(a);for(;c>=0&&(d=a[c],!(e.timestamp-d.timestamp>aL(.1)));)c--;if(!d)return{x:0,y:0};d===a[0]&&a.length>2&&e.timestamp-d.timestamp>2*aL(b)&&(d=a[1]);let f=(e.timestamp-d.timestamp)/1e3;if(0===f)return{x:0,y:0};let g={x:(e.x-d.x)/f,y:(e.y-d.y)/f};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}(b,.1)}}function d9(a){return a[a.length-1]}function ea(a,b,c){return{min:void 0!==b?a.min+b:void 0,max:void 0!==c?a.max+c-(a.max-a.min):void 0}}function eb(a,b){let c=b.min-a.min,d=b.max-a.max;return b.max-b.min<a.max-a.min&&([c,d]=[d,c]),{min:c,max:d}}function ec(a,b,c){return{min:ed(a,b),max:ed(a,c)}}function ed(a,b){return"number"==typeof a?a:a[b]||0}let ee=new WeakMap;class ef{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=W(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:b=!1,distanceThreshold:c}={}){let{presenceContext:d}=this.visualElement;if(d&&!1===d.isPresent)return;let e=a=>{b&&this.snapToCursor(d_(a).point),this.stopAnimation()},f=(a,b)=>{let{drag:c,dragPropagation:d,onDragStart:e}=this.getProps();if(c&&!d&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(a){if("x"===a||"y"===a)if(dE[a])return null;else return dE[a]=!0,()=>{dE[a]=!1};return dE.x||dE.y?null:(dE.x=dE.y=!0,()=>{dE.x=dE.y=!1})}(c),!this.openDragLock))return;this.latestPointerEvent=a,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),dF(a=>{let b=this.getAxisMotionValue(a).get()||0;if(w.test(b)){let{projection:c}=this.visualElement;if(c&&c.layout){let d=c.layout.layoutBox[a];d&&(b=dG(d)*(parseFloat(b)/100))}}this.originPoint[a]=b}),e&&ay.Gt.update(()=>e(a,b),!1,!0),ct(this.visualElement,"transform");let{animationState:f}=this.visualElement;f&&f.setActive("whileDrag",!0)},g=(a,b)=>{this.latestPointerEvent=a,this.latestPanInfo=b;let{dragPropagation:c,dragDirectionLock:d,onDirectionLock:e,onDrag:f}=this.getProps();if(!c&&!this.openDragLock)return;let{offset:g}=b;if(d&&null===this.currentDirection){this.currentDirection=function(a,b=10){let c=null;return Math.abs(a.y)>b?c="y":Math.abs(a.x)>b&&(c="x"),c}(g),null!==this.currentDirection&&e&&e(this.currentDirection);return}this.updateAxis("x",b.point,g),this.updateAxis("y",b.point,g),this.visualElement.render(),f&&ay.Gt.update(()=>f(a,b),!1,!0)},h=(a,b)=>{this.latestPointerEvent=a,this.latestPanInfo=b,this.stop(a,b),this.latestPointerEvent=null,this.latestPanInfo=null},i=()=>{let{dragSnapToOrigin:a}=this.getProps();(a||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:j}=this.getProps();this.panSession=new d5(a,{onSessionStart:e,onStart:f,onMove:g,onSessionEnd:h,resumeAnimation:i},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:j,distanceThreshold:c,contextWindow:d1(this.visualElement),element:this.visualElement.current})}stop(a,b){let c=a||this.latestPointerEvent,d=b||this.latestPanInfo,e=this.isDragging;if(this.cancel(),!e||!d||!c)return;let{velocity:f}=d;this.startAnimation(f);let{onDragEnd:g}=this.getProps();g&&ay.Gt.postRender(()=>g(c,d))}cancel(){this.isDragging=!1;let{projection:a,animationState:b}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),b&&b.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(a,b,c){let{drag:d}=this.getProps();if(!c||!eh(a,d,this.currentDirection))return;let e=this.getAxisMotionValue(a),f=this.originPoint[a]+c[a];this.constraints&&this.constraints[a]&&(f=function(a,{min:b,max:c},d){return void 0!==b&&a<b?a=d?bI(b,a,d.min):Math.max(a,b):void 0!==c&&a>c&&(a=d?bI(c,a,d.max):Math.min(a,c)),a}(f,this.constraints[a],this.elastic[a])),e.set(f)}resolveConstraints(){let{dragConstraints:a,dragElastic:b}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,d=this.constraints;a&&d2(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&c?this.constraints=function(a,{top:b,left:c,bottom:d,right:e}){return{x:ea(a.x,c,e),y:ea(a.y,b,d)}}(c.layoutBox,a):this.constraints=!1,this.elastic=function(a=.35){return!1===a?a=0:!0===a&&(a=.35),{x:ec(a,"left","right"),y:ec(a,"top","bottom")}}(b),d!==this.constraints&&!d2(a)&&c&&this.constraints&&!this.hasMutatedConstraints&&dF(a=>{!1!==this.constraints&&this.getAxisMotionValue(a)&&(this.constraints[a]=function(a,b){let c={};return void 0!==b.min&&(c.min=b.min-a.min),void 0!==b.max&&(c.max=b.max-a.min),c}(c.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){var a;let{dragConstraints:b,onMeasureDragConstraints:c}=this.getProps();if(!b||!d2(b))return!1;let d=b.current;ab(null!==d,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:e}=this.visualElement;if(!e||!e.layout)return!1;let f=function(a,b,c){let d=b$(a,c),{scroll:e}=b;return e&&(bW(d.x,e.offset.x),bW(d.y,e.offset.y)),d}(d,e.root,this.visualElement.getTransformPagePoint()),g=(a=e.layout.layoutBox,{x:eb(a.x,f.x),y:eb(a.y,f.y)});if(c){let a=c(function({x:a,y:b}){return{top:b.min,right:a.max,bottom:b.max,left:a.min}}(g));this.hasMutatedConstraints=!!a,a&&(g=bO(a))}return g}startAnimation(a){let{drag:b,dragMomentum:c,dragElastic:d,dragTransition:e,dragSnapToOrigin:f,onDragTransitionEnd:g}=this.getProps(),h=this.constraints||{};return Promise.all(dF(g=>{if(!eh(g,b,this.currentDirection))return;let i=h&&h[g]||{};(!0===f||f===g)&&(i={min:0,max:0});let j={type:"inertia",velocity:c?a[g]:0,bounceStiffness:d?200:1e6,bounceDamping:d?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...e,...i};return this.startAxisValueAnimation(g,j)})).then(g)}startAxisValueAnimation(a,b){let c=this.getAxisMotionValue(a);return ct(this.visualElement,a),c.start(dr(a,c,0,b,this.visualElement,!1))}stopAnimation(){dF(a=>this.getAxisMotionValue(a).stop())}getAxisMotionValue(a){let b=`_drag${a.toUpperCase()}`,c=this.visualElement.getProps();return c[b]||this.visualElement.getValue(a,(c.initial?c.initial[a]:void 0)||0)}snapToCursor(a){dF(b=>{let{drag:c}=this.getProps();if(!eh(b,c,this.currentDirection))return;let{projection:d}=this.visualElement,e=this.getAxisMotionValue(b);if(d&&d.layout){let{min:c,max:f}=d.layout.layoutBox[b],g=e.get()||0;e.set(a[b]-bI(c,f,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:a,dragConstraints:b}=this.getProps(),{projection:c}=this.visualElement;if(!d2(b)||!c||!this.constraints)return;this.stopAnimation();let d={x:0,y:0};dF(a=>{let b=this.getAxisMotionValue(a);if(b&&!1!==this.constraints){let c=b.get();d[a]=function(a,b){let c=.5,d=dG(a),e=dG(b);return e>d?c=c8(b.min,b.max-d,a.min):d>e&&(c=c8(a.min,a.max-e,b.min)),i(0,1,c)}({min:c,max:c},this.constraints[a])}});let{transformTemplate:e}=this.visualElement.getProps();this.visualElement.current.style.transform=e?e({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.constraints=!1,this.resolveConstraints(),dF(b=>{if(!eh(b,a,null))return;let c=this.getAxisMotionValue(b),{min:e,max:f}=this.constraints[b];c.set(bI(e,f,d[b]))}),this.visualElement.render()}addListeners(){let a;if(!this.visualElement.current)return;ee.set(this.visualElement,this);let b=this.visualElement.current,c=d0(b,"pointerdown",a=>{let{drag:c,dragListener:d=!0}=this.getProps(),e=a.target,f=e!==b&&(dN.has(e.tagName)||!0===e.isContentEditable);c&&d&&!f&&this.start(a)}),d=()=>{let{dragConstraints:c}=this.getProps();d2(c)&&c.current&&(this.constraints=this.resolveRefConstraints(),a||(a=function(a,b,c){let d=dZ(a,eg(c)),e=dZ(b,eg(c));return()=>{d(),e()}}(b,c.current,()=>this.scalePositionWithinConstraints())))},{projection:e}=this.visualElement,f=e.addEventListener("measure",d);e&&!e.layout&&(e.root&&e.root.updateScroll(),e.updateLayout()),ay.Gt.read(d);let g=dO(window,"resize",()=>this.scalePositionWithinConstraints()),h=e.addEventListener("didUpdate",({delta:a,hasLayoutChanged:b})=>{this.isDragging&&b&&(dF(b=>{let c=this.getAxisMotionValue(b);c&&(this.originPoint[b]+=a[b].translate,c.set(c.get()+a[b].translate))}),this.visualElement.render())});return()=>{g(),c(),f(),h&&h(),a&&a()}}getProps(){let a=this.visualElement.getProps(),{drag:b=!1,dragDirectionLock:c=!1,dragPropagation:d=!1,dragConstraints:e=!1,dragElastic:f=.35,dragMomentum:g=!0}=a;return{...a,drag:b,dragDirectionLock:c,dragPropagation:d,dragConstraints:e,dragElastic:f,dragMomentum:g}}}function eg(a){let b=!0;return()=>{if(b){b=!1;return}a()}}function eh(a,b,c){return(!0===b||b===a)&&(null===c||c===a)}class ei extends co{constructor(a){super(a),this.removeGroupControls=aP.l,this.removeListeners=aP.l,this.controls=new ef(a)}mount(){let{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||aP.l}update(){let{dragControls:a}=this.node.getProps(),{dragControls:b}=this.node.prevProps||{};a!==b&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let ej=a=>(b,c)=>{a&&ay.Gt.update(()=>a(b,c),!1,!0)};class ek extends co{constructor(){super(...arguments),this.removePointerDownListener=aP.l}onPointerDown(a){this.session=new d5(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:d1(this.node)})}createPanHandlers(){let{onPanSessionStart:a,onPanStart:b,onPan:c,onPanEnd:d}=this.node.getProps();return{onSessionStart:ej(a),onStart:ej(b),onMove:ej(c),onEnd:(a,b)=>{delete this.session,d&&ay.Gt.postRender(()=>d(a,b))}}}mount(){this.removePointerDownListener=d0(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let el={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var em=c(49060);let en=(0,b0.createContext)({}),eo=!1;class ep extends b0.Component{componentDidMount(){let{visualElement:a,layoutGroup:b,switchLayoutGroup:c,layoutId:d}=this.props,{projection:e}=a;e&&(b.group&&b.group.add(e),c&&c.register&&d&&c.register(e),eo&&e.root.didUpdate(),e.addEventListener("animationComplete",()=>{this.safeToRemove()}),e.setOptions({...e.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),el.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){let{layoutDependency:b,visualElement:c,drag:d,isPresent:e}=this.props,{projection:f}=c;return f&&(f.isPresent=e,a.layoutDependency!==b&&f.setOptions({...f.options,layoutDependency:b}),eo=!0,d||a.layoutDependency!==b||void 0===b||a.isPresent!==e?f.willUpdate():this.safeToRemove(),a.isPresent!==e&&(e?f.promote():f.relegate()||ay.Gt.postRender(()=>{let a=f.getStack();a&&a.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:a,layoutAnchor:b}=this.props,{projection:c}=a;c&&(c.options.layoutAnchor=b,c.root.didUpdate(),a6.postRender(()=>{!c.currentAnimation&&c.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:a,layoutGroup:b,switchLayoutGroup:c}=this.props,{projection:d}=a;eo=!0,d&&(d.scheduleCheckAfterUnmount(),b&&b.group&&b.group.remove(d),c&&c.deregister&&c.deregister(d))}safeToRemove(){let{safeToRemove:a}=this.props;a&&a()}render(){return null}}function eq(a){let[b,c]=(0,em.xQ)(),d=(0,b0.useContext)(b4.L);return(0,b3.jsx)(ep,{...a,layoutGroup:d,switchLayoutGroup:(0,b0.useContext)(en),isPresent:b,safeToRemove:c})}let er=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],es=er.length,et=a=>"string"==typeof a?parseFloat(a):a,eu=a=>"number"==typeof a||x.test(a);function ev(a,b){return void 0!==a[b]?a[b]:a.borderRadius}let ew=ey(0,.5,c4),ex=ey(.5,.95,aP.l);function ey(a,b,c){return d=>d<a?0:d>b?1:c(c8(a,b,d))}function ez(a,b){a.min=b.min,a.max=b.max}function eA(a,b){ez(a.x,b.x),ez(a.y,b.y)}function eB(a,b){a.translate=b.translate,a.scale=b.scale,a.originPoint=b.originPoint,a.origin=b.origin}function eC(a,b,c,d,e){return a-=b,a=d+1/c*(a-d),void 0!==e&&(a=d+1/e*(a-d)),a}function eD(a,b,[c,d,e],f,g){!function(a,b=0,c=1,d=.5,e,f=a,g=a){if(w.test(b)&&(b=parseFloat(b),b=bI(g.min,g.max,b/100)-g.min),"number"!=typeof b)return;let h=bI(f.min,f.max,d);a===f&&(h-=b),a.min=eC(a.min,b,c,h,e),a.max=eC(a.max,b,c,h,e)}(a,b[c],b[d],b[e],b.scale,f,g)}let eE=["x","scaleX","originX"],eF=["y","scaleY","originY"];function eG(a,b,c,d){eD(a.x,b,eE,c?c.x:void 0,d?d.x:void 0),eD(a.y,b,eF,c?c.y:void 0,d?d.y:void 0)}function eH(a){return 0===a.translate&&1===a.scale}function eI(a){return eH(a.x)&&eH(a.y)}function eJ(a,b){return a.min===b.min&&a.max===b.max}function eK(a,b){return Math.round(a.min)===Math.round(b.min)&&Math.round(a.max)===Math.round(b.max)}function eL(a,b){return eK(a.x,b.x)&&eK(a.y,b.y)}function eM(a){return dG(a.x)/dG(a.y)}function eN(a,b){return a.translate===b.translate&&a.scale===b.scale&&a.originPoint===b.originPoint}class eO{constructor(){this.members=[]}add(a){aM(this.members,a);for(let b=this.members.length-1;b>=0;b--){let c=this.members[b];if(c===a||c===this.lead||c===this.prevLead)continue;let d=c.instance;d&&!1!==d.isConnected||c.snapshot||(aN(this.members,c),c.unmount())}a.scheduleRender()}remove(a){if(aN(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){let a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(a){for(let b=this.members.indexOf(a)-1;b>=0;b--){let a=this.members[b];if(!1!==a.isPresent&&a.instance?.isConnected!==!1)return this.promote(a),!0}return!1}promote(a,b){let c=this.lead;if(a!==c&&(this.prevLead=c,this.lead=a,a.show(),c)){c.updateSnapshot(),a.scheduleRender();let{layoutDependency:d}=c.options,{layoutDependency:e}=a.options;(void 0===d||d!==e)&&(a.resumeFrom=c,b&&(c.preserveOpacity=!0),c.snapshot&&(a.snapshot=c.snapshot,a.snapshot.latestValues=c.animationValues||c.latestValues),a.root?.isUpdating&&(a.isLayoutDirty=!0)),!1===a.options.crossfade&&c.hide()}}exitAnimationComplete(){this.members.forEach(a=>{a.options.onExitComplete?.(),a.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(a=>a.instance&&a.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let eP=(a,b)=>a.depth-b.depth;class eQ{constructor(){this.children=[],this.isDirty=!1}add(a){aM(this.children,a),this.isDirty=!0}remove(a){aN(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(eP),this.isDirty=!1,this.children.forEach(a)}}let eR={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eS=["","X","Y","Z"],eT=0;function eU(a,b,c,d){let{latestValues:e}=b;e[a]&&(c[a]=e[a],b.setStaticValue(a,0),d&&(d[a]=0))}function eV({attachResizeListener:a,defaultParent:b,measureScroll:c,checkIsScrollRoot:d,resetTransform:e}){return class{constructor(a={},c=b?.()){this.id=eT++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,aZ.Q.value&&(eR.nodes=eR.calculatedTargetDeltas=eR.calculatedProjections=0),this.nodes.forEach(eY),this.nodes.forEach(e5),this.nodes.forEach(e6),this.nodes.forEach(eZ),aZ.Q.addProjectionMetrics&&aZ.Q.addProjectionMetrics(eR)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new eQ)}addEventListener(a,b){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new aO),this.eventHandlers.get(a).add(b)}notifyListeners(a,...b){let c=this.eventHandlers.get(a);c&&c.notify(...b)}hasListeners(a){return this.eventHandlers.has(a)}mount(b){if(this.instance)return;this.isSVG=dQ(b)&&!(dQ(b)&&"svg"===b.tagName),this.instance=b;let{layoutId:c,layout:d,visualElement:e}=this.options;if(e&&!e.current&&e.mount(b),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(d||c)&&(this.isLayoutDirty=!0),a){let c,d=0,e=()=>this.root.updateBlockedByResize=!1;ay.Gt.read(()=>{d=window.innerWidth}),a(b,()=>{let a=window.innerWidth;a!==d&&(d=a,this.root.updateBlockedByResize=!0,c&&c(),c=function(a,b){let c=a9.now(),d=({timestamp:b})=>{let e=b-c;e>=250&&((0,ay.WG)(d),a(e-250))};return ay.Gt.setup(d,!0),()=>(0,ay.WG)(d)}(e,250),el.hasAnimatedSinceResize&&(el.hasAnimatedSinceResize=!1,this.nodes.forEach(e4)))})}c&&this.root.registerSharedNode(c,this),!1!==this.options.animate&&e&&(c||d)&&this.addEventListener("didUpdate",({delta:a,hasLayoutChanged:b,hasRelativeLayoutChanged:c,layout:d})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let f=this.options.transition||e.getDefaultTransition()||fc,{onLayoutAnimationStart:g,onLayoutAnimationComplete:h}=e.getProps(),i=!this.targetLayout||!eL(this.targetLayout,d),j=!b&&c;if(this.options.layoutRoot||this.resumeFrom||j||b&&(i||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let b={...cr(f,"layout"),onPlay:g,onComplete:h};(e.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b),this.setAnimationOrigin(a,j)}else b||e4(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=d})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,ay.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(e7),this.animationId++)}getTransformTemplate(){let{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function a(b){if(b.hasCheckedOptimisedAppear=!0,b.root===b)return;let{visualElement:c}=b.options;if(!c)return;let d=c.props[cu];if(window.MotionHasOptimisedAnimation(d,"transform")){let{layout:a,layoutId:c}=b.options;window.MotionCancelOptimisedAnimation(d,"transform",ay.Gt,!(a||c))}let{parent:e}=b;e&&!e.hasCheckedOptimisedAppear&&a(e)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let a=0;a<this.path.length;a++){let b=this.path[a];b.shouldResetTransform=!0,("string"==typeof b.latestValues.x||"string"==typeof b.latestValues.y)&&(b.isLayoutDirty=!0),b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}let{layoutId:b,layout:c}=this.options;if(void 0===b&&!c)return;let d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let a=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),a&&this.nodes.forEach(e0),this.nodes.forEach(e_);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(e1);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(e2),this.nodes.forEach(e3),this.nodes.forEach(eW),this.nodes.forEach(eX)):this.nodes.forEach(e1),this.clearAllSnapshots();let a=a9.now();ay.uv.delta=i(0,1e3/60,a-ay.uv.timestamp),ay.uv.timestamp=a,ay.uv.isProcessing=!0,ay.PP.update.process(ay.uv),ay.PP.preRender.process(ay.uv),ay.PP.render.process(ay.uv),ay.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,a6.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(e$),this.sharedNodes.forEach(e8)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ay.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ay.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||dG(this.snapshot.measuredBox.x)||dG(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a<this.path.length;a++)this.path[a].updateScroll();let a=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=W()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:b}=this.options;b&&b.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let b=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(b=!1),b&&this.instance){let b=d(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:b,offset:c(this.instance),wasRoot:this.scroll?this.scroll.isRoot:b}}}resetTransform(){if(!e)return;let a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,b=this.projectionDelta&&!eI(this.projectionDelta),c=this.getTransformTemplate(),d=c?c(this.latestValues,""):void 0,f=d!==this.prevTransformTemplateValue;a&&this.instance&&(b||bR(this.latestValues)||f)&&(e(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){var b;let c=this.measurePageBox(),d=this.removeElementScroll(c);return a&&(d=this.removeTransform(d)),ff((b=d).x),ff(b.y),{animationId:this.root.animationId,measuredBox:c,layoutBox:d,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:a}=this.options;if(!a)return W();let b=a.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(fh))){let{scroll:a}=this.root;a&&(bW(b.x,a.offset.x),bW(b.y,a.offset.y))}return b}removeElementScroll(a){let b=W();if(eA(b,a),this.scroll?.wasRoot)return b;for(let c=0;c<this.path.length;c++){let d=this.path[c],{scroll:e,options:f}=d;d!==this.root&&e&&f.layoutScroll&&(e.wasRoot&&eA(b,a),bW(b.x,e.offset.x),bW(b.y,e.offset.y))}return b}applyTransform(a,b=!1,c){let d=c||W();eA(d,a);for(let a=0;a<this.path.length;a++){let c=this.path[a];!b&&c.options.layoutScroll&&c.scroll&&c!==c.root&&(bW(d.x,-c.scroll.offset.x),bW(d.y,-c.scroll.offset.y)),bR(c.latestValues)&&bZ(d,c.latestValues,c.layout?.layoutBox)}return bR(this.latestValues)&&bZ(d,this.latestValues,this.layout?.layoutBox),d}removeTransform(a){let b=W();eA(b,a);for(let a=0;a<this.path.length;a++){let c,d=this.path[a];bR(d.latestValues)&&(d.instance&&(bQ(d.latestValues)&&d.updateSnapshot(),eA(c=W(),d.measurePageBox())),eG(b,d.latestValues,d.snapshot?.layoutBox,c))}return bR(this.latestValues)&&eG(b,this.latestValues),b}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:void 0===a.crossfade||a.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ay.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){let b=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=b.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=b.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=b.isSharedProjectionDirty);let c=!!this.resumingFrom||this!==b;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:d,layoutId:e}=this.options;if(!this.layout||!(d||e))return;this.resolvedRelativeTargetAt=ay.uv.timestamp;let f=this.getClosestProjectingParent();if(f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=W(),this.targetWithTransforms=W()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var g,h,i,j;this.forceRelativeParentToResolveTarget(),g=this.target,h=this.relativeTarget,i=this.relativeParent.target,j=this.options.layoutAnchor||void 0,dJ(g.x,h.x,i.x,j?.x),dJ(g.y,h.y,i.y,j?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):eA(this.target,this.layout.layoutBox),bV(this.target,this.targetDelta)):eA(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&1!==this.animationProgress?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0),aZ.Q.value&&eR.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||bQ(this.parent.latestValues)||bS(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(a,b,c){this.relativeParent=a,this.linkedParentVersion=a.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=W(),this.relativeTargetOrigin=W(),dL(this.relativeTargetOrigin,b,c,this.options.layoutAnchor||void 0),eA(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let a=this.getLead(),b=!!this.resumingFrom||this!==a,c=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(c=!1),b&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===ay.uv.timestamp&&(c=!1),c)return;let{layout:d,layoutId:e}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||e))return;eA(this.layoutCorrected,this.layout.layoutBox);let f=this.treeScale.x,g=this.treeScale.y;!function(a,b,c,d=!1){let e,f,g=c.length;if(g){b.x=b.y=1;for(let h=0;h<g;h++){f=(e=c[h]).projectionDelta;let{visualElement:g}=e.options;(!g||!g.props.style||"contents"!==g.props.style.display)&&(d&&e.options.layoutScroll&&e.scroll&&e!==e.root&&(bW(a.x,-e.scroll.offset.x),bW(a.y,-e.scroll.offset.y)),f&&(b.x*=f.x.scale,b.y*=f.y.scale,bV(a,f)),d&&bR(e.latestValues)&&bZ(a,e.latestValues,e.layout?.layoutBox))}b.x<1.0000000000001&&b.x>.999999999999&&(b.x=1),b.y<1.0000000000001&&b.y>.999999999999&&(b.y=1)}}(this.layoutCorrected,this.treeScale,this.path,b),a.layout&&!a.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=W());let{target:h}=a;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(eB(this.prevProjectionDelta.x,this.projectionDelta.x),eB(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),dI(this.projectionDelta,this.layoutCorrected,h,this.latestValues),this.treeScale.x===f&&this.treeScale.y===g&&eN(this.projectionDelta.x,this.prevProjectionDelta.x)&&eN(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h)),aZ.Q.value&&eR.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.visualElement?.scheduleRender(),a){let a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=U(),this.projectionDelta=U(),this.projectionDeltaWithTransform=U()}setAnimationOrigin(a,b=!1){let c,d=this.snapshot,e=d?d.latestValues:{},f={...this.latestValues},g=U();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!b;let h=W(),i=(d?d.source:void 0)!==(this.layout?this.layout.source:void 0),j=this.getStack(),k=!j||j.members.length<=1,l=!!(i&&!k&&!0===this.options.crossfade&&!this.path.some(fb));this.animationProgress=0,this.mixTargetDelta=b=>{let d=b/1e3;if(e9(g.x,a.x,d),e9(g.y,a.y,d),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var j,m,n,o,p,q;dL(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),n=this.relativeTarget,o=this.relativeTargetOrigin,p=h,q=d,fa(n.x,o.x,p.x,q),fa(n.y,o.y,p.y,q),c&&(j=this.relativeTarget,m=c,eJ(j.x,m.x)&&eJ(j.y,m.y))&&(this.isProjectionDirty=!1),c||(c=W()),eA(c,this.relativeTarget)}i&&(this.animationValues=f,function(a,b,c,d,e,f){e?(a.opacity=bI(0,c.opacity??1,ew(d)),a.opacityExit=bI(b.opacity??1,0,ex(d))):f&&(a.opacity=bI(b.opacity??1,c.opacity??1,d));for(let e=0;e<es;e++){let f=er[e],g=ev(b,f),h=ev(c,f);(void 0!==g||void 0!==h)&&(g||(g=0),h||(h=0),0===g||0===h||eu(g)===eu(h)?(a[f]=Math.max(bI(et(g),et(h),d),0),(w.test(h)||w.test(g))&&(a[f]+="%")):a[f]=h)}(b.rotate||c.rotate)&&(a.rotate=bI(b.rotate||0,c.rotate||0,d))}(f,e,this.latestValues,d,l,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=d},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,ay.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ay.Gt.update(()=>{el.hasAnimatedSinceResize=!0,aY.layout++,this.motionValue||(this.motionValue=bc(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(a,b,c){let d=X(a)?a:bc(a);return d.start(dr("",d,b,c)),d.animation}(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:b=>{this.mixTargetDelta(b),a.onUpdate&&a.onUpdate(b)},onStop:()=>{aY.layout--},onComplete:()=>{aY.layout--,a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let a=this.getLead(),{targetWithTransforms:b,target:c,layout:d,latestValues:e}=a;if(b&&c&&d){if(this!==a&&this.layout&&d&&fg(this.options.animationType,this.layout.layoutBox,d.layoutBox)){c=this.target||W();let b=dG(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+b;let d=dG(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+d}eA(b,c),bZ(b,e),dI(this.projectionDeltaWithTransform,this.layoutCorrected,b,e)}}registerSharedNode(a,b){this.sharedNodes.has(a)||this.sharedNodes.set(a,new eO),this.sharedNodes.get(a).add(b);let c=b.options.initialPromotionConfig;b.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(b):void 0})}isLead(){let a=this.getStack();return!a||a.lead===this}getLead(){let{layoutId:a}=this.options;return a&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:a}=this.options;return a?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:b,preserveFollowOpacity:c}={}){let d=this.getStack();d&&d.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),b&&this.setOptions({transition:b})}relegate(){let a=this.getStack();return!!a&&a.relegate(this)}resetSkewAndRotation(){let{visualElement:a}=this.options;if(!a)return;let b=!1,{latestValues:c}=a;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(b=!0),!b)return;let d={};c.z&&eU("z",a,d,this.animationValues);for(let b=0;b<eS.length;b++)eU(`rotate${eS[b]}`,a,d,this.animationValues),eU(`skew${eS[b]}`,a,d,this.animationValues);for(let b in a.render(),d)a.setStaticValue(b,d[b]),this.animationValues&&(this.animationValues[b]=d[b]);a.scheduleRender()}applyProjectionStyles(a,b){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility="hidden";return}let c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility="",a.opacity="",a.pointerEvents=ce(b?.pointerEvents)||"",a.transform=c?c(this.latestValues,""):"none";return}let d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(a.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,a.pointerEvents=ce(b?.pointerEvents)||""),this.hasProjected&&!bR(this.latestValues)&&(a.transform=c?c({},""):"none",this.hasProjected=!1);return}a.visibility="";let e=d.animationValues||d.latestValues;this.applyTransformsToTarget();let f=function(a,b,c){let d="",e=a.x.translate/b.x,f=a.y.translate/b.y,g=c?.z||0;if((e||f||g)&&(d=`translate3d(${e}px, ${f}px, ${g}px) `),(1!==b.x||1!==b.y)&&(d+=`scale(${1/b.x}, ${1/b.y}) `),c){let{transformPerspective:a,rotate:b,rotateX:e,rotateY:f,skewX:g,skewY:h}=c;a&&(d=`perspective(${a}px) ${d}`),b&&(d+=`rotate(${b}deg) `),e&&(d+=`rotateX(${e}deg) `),f&&(d+=`rotateY(${f}deg) `),g&&(d+=`skewX(${g}deg) `),h&&(d+=`skewY(${h}deg) `)}let h=a.x.scale*b.x,i=a.y.scale*b.y;return(1!==h||1!==i)&&(d+=`scale(${h}, ${i})`),d||"none"}(this.projectionDeltaWithTransform,this.treeScale,e);c&&(f=c(e,f)),a.transform=f;let{x:g,y:h}=this.projectionDelta;for(let b in a.transformOrigin=`${100*g.origin}% ${100*h.origin}% 0`,d.animationValues?a.opacity=d===this?e.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:e.opacityExit:a.opacity=d===this?void 0!==e.opacity?e.opacity:"":void 0!==e.opacityExit?e.opacityExit:0,bJ){if(void 0===e[b])continue;let{correct:c,applyTo:g,isCSSVariable:h}=bJ[b],i="none"===f?e[b]:c(e[b],d);if(g){let b=g.length;for(let c=0;c<b;c++)a[g[c]]=i}else h?this.options.visualElement.renderState.vars[b]=i:a[b]=i}this.options.layoutId&&(a.pointerEvents=d===this?ce(b?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>a.currentAnimation?.stop()),this.root.nodes.forEach(e_),this.root.sharedNodes.clear()}}}function eW(a){a.updateLayout()}function eX(a){let b=a.resumeFrom?.snapshot||a.snapshot;if(a.isLead()&&a.layout&&b&&a.hasListeners("didUpdate")){let{layoutBox:c,measuredBox:d}=a.layout,{animationType:e}=a.options,f=b.source!==a.layout.source;if("size"===e)dF(a=>{let d=f?b.measuredBox[a]:b.layoutBox[a],e=dG(d);d.min=c[a].min,d.max=d.min+e});else if("x"===e||"y"===e){let a="x"===e?"y":"x";ez(f?b.measuredBox[a]:b.layoutBox[a],c[a])}else fg(e,b.layoutBox,c)&&dF(d=>{let e=f?b.measuredBox[d]:b.layoutBox[d],g=dG(c[d]);e.max=e.min+g,a.relativeTarget&&!a.currentAnimation&&(a.isProjectionDirty=!0,a.relativeTarget[d].max=a.relativeTarget[d].min+g)});let g=U();dI(g,c,b.layoutBox);let h=U();f?dI(h,a.applyTransform(d,!0),b.measuredBox):dI(h,c,b.layoutBox);let i=!eI(g),j=!1;if(!a.resumeFrom){let d=a.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:e,layout:f}=d;if(e&&f){let g=a.options.layoutAnchor||void 0,h=W();dL(h,b.layoutBox,e.layoutBox,g);let i=W();dL(i,c,f.layoutBox,g),eL(h,i)||(j=!0),d.options.layoutRoot&&(a.relativeTarget=i,a.relativeTargetOrigin=h,a.relativeParent=d)}}}a.notifyListeners("didUpdate",{layout:c,snapshot:b,delta:h,layoutDelta:g,hasLayoutChanged:i,hasRelativeLayoutChanged:j})}else if(a.isLead()){let{onExitComplete:b}=a.options;b&&b()}a.options.transition=void 0}function eY(a){aZ.Q.value&&eR.nodes++,a.parent&&(a.isProjecting()||(a.isProjectionDirty=a.parent.isProjectionDirty),a.isSharedProjectionDirty||(a.isSharedProjectionDirty=!!(a.isProjectionDirty||a.parent.isProjectionDirty||a.parent.isSharedProjectionDirty)),a.isTransformDirty||(a.isTransformDirty=a.parent.isTransformDirty))}function eZ(a){a.isProjectionDirty=a.isSharedProjectionDirty=a.isTransformDirty=!1}function e$(a){a.clearSnapshot()}function e_(a){a.clearMeasurements()}function e0(a){a.isLayoutDirty=!0,a.updateLayout()}function e1(a){a.isLayoutDirty=!1}function e2(a){a.isAnimationBlocked&&a.layout&&!a.isLayoutDirty&&(a.snapshot=a.layout,a.isLayoutDirty=!0)}function e3(a){let{visualElement:b}=a.options;b&&b.getProps().onBeforeLayoutMeasure&&b.notify("BeforeLayoutMeasure"),a.resetTransform()}function e4(a){a.finishAnimation(),a.targetDelta=a.relativeTarget=a.target=void 0,a.isProjectionDirty=!0}function e5(a){a.resolveTargetDelta()}function e6(a){a.calcProjection()}function e7(a){a.resetSkewAndRotation()}function e8(a){a.removeLeadSnapshot()}function e9(a,b,c){a.translate=bI(b.translate,0,c),a.scale=bI(b.scale,1,c),a.origin=b.origin,a.originPoint=b.originPoint}function fa(a,b,c,d){a.min=bI(b.min,c.min,d),a.max=bI(b.max,c.max,d)}function fb(a){return a.animationValues&&void 0!==a.animationValues.opacityExit}let fc={duration:.45,ease:[.4,0,.1,1]},fd=a=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(a),fe=fd("applewebkit/")&&!fd("chrome/")?Math.round:aP.l;function ff(a){a.min=fe(a.min),a.max=fe(a.max)}function fg(a,b,c){return"position"===a||"preserve-aspect"===a&&!(.2>=Math.abs(eM(b)-eM(c)))}function fh(a){return a!==a.root&&a.scroll?.wasRoot}let fi=eV({attachResizeListener:(a,b)=>dO(a,"resize",b),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),fj={current:void 0},fk=eV({measureScroll:a=>({x:a.scrollLeft,y:a.scrollTop}),defaultParent:()=>{if(!fj.current){let a=new fi({});a.mount(window),a.setOptions({layoutScroll:!0}),fj.current=a}return fj.current},resetTransform:(a,b)=>{a.style.transform=void 0!==b?b:"none"},checkIsScrollRoot:a=>"fixed"===window.getComputedStyle(a).position});function fl(a,b){let c=dR(a),d=new AbortController;return[c,{passive:!0,...b,signal:d.signal},()=>d.abort()]}function fm(a,b,c){let{props:d}=a;a.animationState&&d.whileHover&&a.animationState.setActive("whileHover","Start"===c);let e=d["onHover"+c];e&&ay.Gt.postRender(()=>e(b,d_(b)))}class fn extends co{mount(){let{current:a}=this.node;a&&(this.unmount=function(a,b,c={}){let[d,e,f]=fl(a,c);return d.forEach(a=>{let c,d=!1,f=!1,g=b=>{c&&(c(b),c=void 0),a.removeEventListener("pointerleave",i)},h=a=>{d=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),f&&(f=!1,g(a))},i=a=>{if("touch"!==a.pointerType){if(d){f=!0;return}g(a)}};a.addEventListener("pointerenter",d=>{if("touch"===d.pointerType||dE.x||dE.y)return;f=!1;let g=b(a,d);"function"==typeof g&&(c=g,a.addEventListener("pointerleave",i,e))},e),a.addEventListener("pointerdown",()=>{d=!0,window.addEventListener("pointerup",h,e),window.addEventListener("pointercancel",h,e)},e)}),f}(a,(a,b)=>(fm(this.node,b,"Start"),a=>fm(this.node,a,"End"))))}unmount(){}}class fo extends co{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch(b){a=!0}a&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=cw(dO(this.node.current,"focus",()=>this.onFocus()),dO(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var fp=c(22057);let fq=(a,b)=>!!b&&(a===b||fq(a,b.parentElement)),fr=new WeakSet;function fs(a){return b=>{"Enter"===b.key&&a(b)}}function ft(a,b){a.dispatchEvent(new PointerEvent("pointer"+b,{isPrimary:!0,bubbles:!0}))}function fu(a){return d$(a)&&!(dE.x||dE.y)}let fv=new WeakSet;function fw(a,b,c){let{props:d}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&d.whileTap&&a.animationState.setActive("whileTap","Start"===c);let e=d["onTap"+("End"===c?"":c)];e&&ay.Gt.postRender(()=>e(b,d_(b)))}class fx extends co{mount(){let{current:a}=this.node;if(!a)return;let{globalTapTarget:b,propagate:c}=this.node.props;this.unmount=function(a,b,c={}){let[d,e,f]=fl(a,c),g=a=>{let d=a.currentTarget;if(!fu(a)||fv.has(a))return;fr.add(d),c.stopPropagation&&fv.add(a);let f=b(d,a),g=(a,b)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",i),fr.has(d)&&fr.delete(d),fu(a)&&"function"==typeof f&&f(a,{success:b})},h=a=>{g(a,d===window||d===document||c.useGlobalTarget||fq(d,a.target))},i=a=>{g(a,!1)};window.addEventListener("pointerup",h,e),window.addEventListener("pointercancel",i,e)};return d.forEach(a=>{((c.useGlobalTarget?window:a).addEventListener("pointerdown",g,e),(0,fp.s)(a))&&(a.addEventListener("focus",a=>((a,b)=>{let c=a.currentTarget;if(!c)return;let d=fs(()=>{if(fr.has(c))return;ft(c,"down");let a=fs(()=>{ft(c,"up")});c.addEventListener("keyup",a,b),c.addEventListener("blur",()=>ft(c,"cancel"),b)});c.addEventListener("keydown",d,b),c.addEventListener("blur",()=>c.removeEventListener("keydown",d),b)})(a,e)),dM.has(a.tagName)||!0===a.isContentEditable||a.hasAttribute("tabindex")||(a.tabIndex=0))}),f}(a,(a,b)=>(fw(this.node,b,"Start"),(a,{success:b})=>fw(this.node,a,b?"End":"Cancel")),{useGlobalTarget:b,stopPropagation:c?.tap===!1})}unmount(){}}let fy=new WeakMap,fz=new WeakMap,fA=a=>{let b=fy.get(a.target);b&&b(a)},fB=a=>{a.forEach(fA)},fC={some:0,all:1};class fD extends co{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:a={}}=this.node.getProps(),{root:b,margin:c,amount:d="some",once:e}=a,f={root:b?b.current:void 0,rootMargin:c,threshold:"number"==typeof d?d:fC[d]},g=a=>{let{isIntersecting:b}=a;if(this.isInView===b||(this.isInView=b,e&&!b&&this.hasEnteredView))return;b&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",b);let{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=b?c:d;f&&f(a)};this.stopObserver=function(a,b,c){let d=function({root:a,...b}){let c=a||document;fz.has(c)||fz.set(c,{});let d=fz.get(c),e=JSON.stringify(b);return d[e]||(d[e]=new IntersectionObserver(fB,{root:a,...b})),d[e]}(b);return fy.set(a,c),d.observe(a),()=>{fy.delete(a),d.unobserve(a)}}(this.node.current,f,g)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:a,prevProps:b}=this.node;["amount","margin","root"].some(function({viewport:a={}},{viewport:b={}}={}){return c=>a[c]!==b[c]}(a,b))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let fE=function(a,b){if("undefined"==typeof Proxy)return cn;let c=new Map,d=(c,d)=>cn(c,d,a,b);return new Proxy((a,b)=>d(a,b),{get:(e,f)=>"create"===f?d:(c.has(f)||c.set(f,cn(f,void 0,a,b)),c.get(f))})}({animation:{Feature:dB},exit:{Feature:dD},inView:{Feature:fD},tap:{Feature:fx},focus:{Feature:fo},hover:{Feature:fn},pan:{Feature:ek},drag:{Feature:ei,ProjectionNode:fk,MeasureLayout:eq},layout:{ProjectionNode:fk,MeasureLayout:eq}},(a,b)=>b.isSVG??b2(a)?new bN(b):new b_(b,{allowProjection:a!==b0.Fragment}))},31409:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(94735),e=c(86944),f=c(30559),g=c(81931),h=(0,e.Debug)("cluster:connectionPool");class i extends d.EventEmitter{constructor(a){super(),this.redisOptions=a,this.nodes={all:{},master:{},slave:{}},this.specifiedOptions={}}getNodes(a="all"){let b=this.nodes[a];return Object.keys(b).map(a=>b[a])}getInstanceByKey(a){return this.nodes.all[a]}getSampleInstance(a){let b=Object.keys(this.nodes[a]),c=(0,e.sample)(b);return this.nodes[a][c]}addMasterNode(a){let b=(0,f.getNodeKey)(a.options),c=this.createRedisFromOptions(a,a.options.readOnly);return!a.options.readOnly&&(this.nodes.all[b]=c,this.nodes.master[b]=c,!0)}createRedisFromOptions(a,b){return new g.default((0,e.defaults)({retryStrategy:null,enableOfflineQueue:!0,readOnly:b},a,this.redisOptions,{lazyConnect:!0}))}findOrCreate(a,b=!1){let c,d=(0,f.getNodeKey)(a);return b=!!b,this.specifiedOptions[d]?Object.assign(a,this.specifiedOptions[d]):this.specifiedOptions[d]=a,this.nodes.all[d]?(c=this.nodes.all[d]).options.readOnly!==b&&(c.options.readOnly=b,h("Change role of %s to %s",d,b?"slave":"master"),c[b?"readonly":"readwrite"]().catch(e.noop),b?(delete this.nodes.master[d],this.nodes.slave[d]=c):(delete this.nodes.slave[d],this.nodes.master[d]=c)):(h("Connecting to %s as %s",d,b?"slave":"master"),c=this.createRedisFromOptions(a,b),this.nodes.all[d]=c,this.nodes[b?"slave":"master"][d]=c,c.once("end",()=>{this.removeNode(d),this.emit("-node",c,d),Object.keys(this.nodes.all).length||this.emit("drain")}),this.emit("+node",c,d),c.on("error",function(a){this.emit("nodeError",a,d)})),c}reset(a){h("Reset with %O",a);let b={};a.forEach(a=>{let c=(0,f.getNodeKey)(a);a.readOnly&&b[c]||(b[c]=a)}),Object.keys(this.nodes.all).forEach(a=>{b[a]||(h("Disconnect %s because the node does not hold any slot",a),this.nodes.all[a].disconnect(),this.removeNode(a))}),Object.keys(b).forEach(a=>{let c=b[a];this.findOrCreate(c,c.readOnly)})}removeNode(a){let{nodes:b}=this;b.all[a]&&(h("Remove %s from the pool",a),delete b.all[a]),delete b.master[a],delete b.slave[a]}}b.default=i},31415:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(89709);function e(a,b){if("function"!=typeof a||null!=b&&"function"!=typeof b)throw TypeError("Expected a function");var c=function(){var d=arguments,e=b?b.apply(this,d):d[0],f=c.cache;if(f.has(e))return f.get(e);var g=a.apply(this,d);return c.cache=f.set(e,g)||f,g};return c.cache=new(e.Cache||d.A),c}e.Cache=d.A;let f=e},32340:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isPostpone",{enumerable:!0,get:function(){return d}});let c=Symbol.for("react.postpone");function d(a){return"object"==typeof a&&null!==a&&a.$$typeof===c}},32782:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=c(88419);let e=function(a){var b=new a.constructor(a.byteLength);return new d.A(b).set(new d.A(a)),b}},33295:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a){return function(){return a}}},33513:(a,b,c)=>{"use strict";var d=c(96592);c.o(d,"NextResponse")&&c.d(b,{NextResponse:function(){return d.NextResponse}})},33650:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("folder-kanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]])},33867:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=c(42880);function e(a){return"string"==typeof a?new d.LN([[document.querySelector(a)]],[document.documentElement]):new d.LN([[a]],d.zr)}},34119:(a,b,c)=>{"use strict";c.d(b,{B:()=>f});var d=c(91646),e=c(3753);let f={partial:!0,tokenize:function(a,b,c){return function(b){return(0,e.On)(b)?(0,d.N)(a,f,"linePrefix")(b):f(b)};function f(a){return null===a||(0,e.HP)(a)?b(a):c(a)}}}},34623:(a,b,c)=>{"use strict";c.d(b,{Fr:()=>k,GX:()=>j,KX:()=>i,WW:()=>g,ue:()=>f});var d=c(6335),e=c(42292),f=(0,e.K2)(a=>{let{handDrawnSeed:b}=(0,d.D7)();return{fill:a,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:a,seed:b}},"solidStateFill"),g=(0,e.K2)(a=>{let b=h([...a.cssCompiledStyles||[],...a.cssStyles||[],...a.labelStyle||[]]);return{stylesMap:b,stylesArray:[...b]}},"compileStyles"),h=(0,e.K2)(a=>{let b=new Map;return a.forEach(a=>{let[c,d]=a.split(":");b.set(c.trim(),d?.trim())}),b},"styles2Map"),i=(0,e.K2)(a=>"color"===a||"font-size"===a||"font-family"===a||"font-weight"===a||"font-style"===a||"text-decoration"===a||"text-align"===a||"text-transform"===a||"line-height"===a||"letter-spacing"===a||"word-spacing"===a||"text-shadow"===a||"text-overflow"===a||"white-space"===a||"word-wrap"===a||"word-break"===a||"overflow-wrap"===a||"hyphens"===a,"isLabelStyle"),j=(0,e.K2)(a=>{let{stylesArray:b}=g(a),c=[],d=[],e=[],f=[];return b.forEach(a=>{let b=a[0];i(b)?c.push(a.join(":")+" !important"):(d.push(a.join(":")+" !important"),b.includes("stroke")&&e.push(a.join(":")+" !important"),"fill"===b&&f.push(a.join(":")+" !important"))}),{labelStyles:c.join(";"),nodeStyles:d.join(";"),stylesArray:b,borderStyles:e,backgroundStyles:f}},"styles2String"),k=(0,e.K2)((a,b)=>{let{themeVariables:c,handDrawnSeed:e}=(0,d.D7)(),{nodeBorder:f,mainBkg:h}=c,{stylesMap:i}=g(a);return Object.assign({roughness:.7,fill:i.get("fill")||h,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:i.get("stroke")||f,seed:e,strokeWidth:i.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:l(i.get("stroke-dasharray"))},b)},"userNodeOverrides"),l=(0,e.K2)(a=>{if(!a)return[0,0];let b=a.trim().split(/\s+/).map(Number);if(1===b.length){let a=isNaN(b[0])?0:b[0];return[a,a]}return[isNaN(b[0])?0:b[0],isNaN(b[1])?0:b[1]]},"getStrokeDashArray")},35014:(a,b,c)=>{"use strict";c.d(b,{Qg:()=>g,bL:()=>i,s6:()=>h});var d=c(21968),e=c(16551),f=c(10837),g=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),h=d.forwardRef((a,b)=>(0,f.jsx)(e.sG.span,{...a,ref:b,style:{...g,...a.style}}));h.displayName="VisuallyHidden";var i=h},35312:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},35500:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},35541:(a,b,c)=>{"use strict";function d(a){if(a)throw a}c.d(b,{l:()=>u});var e=c(75326),f=c(60350);function g(a){if("object"!=typeof a||null===a)return!1;let b=Object.getPrototypeOf(a);return(null===b||b===Object.prototype||null===Object.getPrototypeOf(b))&&!(Symbol.toStringTag in a)&&!(Symbol.iterator in a)}var h=c(48915),i=c(76760),j=c(1708);function k(a){return!!(null!==a&&"object"==typeof a&&"href"in a&&a.href&&"protocol"in a&&a.protocol&&void 0===a.auth)}var l=c(73136);let m=["history","path","basename","stem","extname","dirname"];class n{constructor(a){let b,c;b=a?k(a)?{path:a}:"string"==typeof a||function(a){return!!(a&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a)}(a)?{value:a}:a:{},this.cwd="cwd"in b?"":j.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let d=-1;for(;++d<m.length;){let a=m[d];a in b&&void 0!==b[a]&&null!==b[a]&&(this[a]="history"===a?[...b[a]]:b[a])}for(c in b)m.includes(c)||(this[c]=b[c])}get basename(){return"string"==typeof this.path?i.basename(this.path):void 0}set basename(a){p(a,"basename"),o(a,"basename"),this.path=i.join(this.dirname||"",a)}get dirname(){return"string"==typeof this.path?i.dirname(this.path):void 0}set dirname(a){q(this.basename,"dirname"),this.path=i.join(a||"",this.basename)}get extname(){return"string"==typeof this.path?i.extname(this.path):void 0}set extname(a){if(o(a,"extname"),q(this.dirname,"extname"),a){if(46!==a.codePointAt(0))throw Error("`extname` must start with `.`");if(a.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=i.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){k(a)&&(a=(0,l.fileURLToPath)(a)),p(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return"string"==typeof this.path?i.basename(this.path,this.extname):void 0}set stem(a){p(a,"stem"),o(a,"stem"),this.path=i.join(this.dirname||"",a+(this.extname||""))}fail(a,b,c){let d=this.message(a,b,c);throw d.fatal=!0,d}info(a,b,c){let d=this.message(a,b,c);return d.fatal=void 0,d}message(a,b,c){let d=new h.o(a,b,c);return this.path&&(d.name=this.path+":"+d.name,d.file=this.path),d.fatal=!1,this.messages.push(d),d}toString(a){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(a||void 0).decode(this.value)}}function o(a,b){if(a&&a.includes(i.sep))throw Error("`"+b+"` cannot be a path: did not expect `"+i.sep+"`")}function p(a,b){if(!a)throw Error("`"+b+"` cannot be empty")}function q(a,b){if(!a)throw Error("Setting `"+b+"` requires `path` to be set too")}let r=function(a){let b=this.constructor.prototype,c=b[a],d=function(){return c.apply(d,arguments)};return Object.setPrototypeOf(d,b),d},s={}.hasOwnProperty;class t extends r{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let a=[],b={run:function(...b){let c=-1,d=b.pop();if("function"!=typeof d)throw TypeError("Expected function as last argument, not "+d);!function e(f,...g){let h=a[++c],i=-1;if(f)return void d(f);for(;++i<b.length;)(null===g[i]||void 0===g[i])&&(g[i]=b[i]);b=g,h?(function(a,b){let c;return function(...b){let f,g=a.length>b.length;g&&b.push(d);try{f=a.apply(this,b)}catch(a){if(g&&c)throw a;return d(a)}g||(f&&f.then&&"function"==typeof f.then?f.then(e,d):f instanceof Error?d(f):e(f))};function d(a,...e){c||(c=!0,b(a,...e))}function e(a){d(null,a)}})(h,e)(...g):d(null,...g)}(null,...b)},use:function(c){if("function"!=typeof c)throw TypeError("Expected `middelware` to be a function, not "+c);return a.push(c),b}};return b}()}copy(){let a=new t,b=-1;for(;++b<this.attachers.length;){let c=this.attachers[b];a.use(...c)}return a.data(e(!0,{},this.namespace)),a}data(a,b){return"string"==typeof a?2==arguments.length?(x("data",this.frozen),this.namespace[a]=b,this):s.call(this.namespace,a)&&this.namespace[a]||void 0:a?(x("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[a,...b]=this.attachers[this.freezeIndex];if(!1===b[0])continue;!0===b[0]&&(b[0]=void 0);let c=a.call(this,...b);"function"==typeof c&&this.transformers.use(c)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(a){this.freeze();let b=A(a),c=this.parser||this.Parser;return v("parse",c),c(String(b),b)}process(a,b){let c=this;return this.freeze(),v("process",this.parser||this.Parser),w("process",this.compiler||this.Compiler),b?d(void 0,b):new Promise(d);function d(d,e){let g=A(a),h=c.parse(g);function i(a,c){a||!c?e(a):d?d(c):((0,f.ok)(b,"`done` is defined if `resolve` is not"),b(void 0,c))}c.run(h,g,function(a,b,d){var e,f;if(a||!b||!d)return i(a);let g=c.stringify(b,d);"string"==typeof(e=g)||(f=e)&&"object"==typeof f&&"byteLength"in f&&"byteOffset"in f?d.value=g:d.result=g,i(a,d)})}}processSync(a){let b,c=!1;return this.freeze(),v("processSync",this.parser||this.Parser),w("processSync",this.compiler||this.Compiler),this.process(a,function(a,e){c=!0,d(a),b=e}),z("processSync","process",c),(0,f.ok)(b,"we either bailed on an error or have a tree"),b}run(a,b,c){y(a),this.freeze();let d=this.transformers;return c||"function"!=typeof b||(c=b,b=void 0),c?e(void 0,c):new Promise(e);function e(e,g){(0,f.ok)("function"!=typeof b,"`file` can’t be a `done` anymore, we checked");let h=A(b);d.run(a,h,function(b,d,h){let i=d||a;b?g(b):e?e(i):((0,f.ok)(c,"`done` is defined if `resolve` is not"),c(void 0,i,h))})}}runSync(a,b){let c,e=!1;return this.run(a,b,function(a,b){d(a),c=b,e=!0}),z("runSync","run",e),(0,f.ok)(c,"we either bailed on an error or have a tree"),c}stringify(a,b){this.freeze();let c=A(b),d=this.compiler||this.Compiler;return w("stringify",d),y(a),d(a,c)}use(a,...b){let c=this.attachers,d=this.namespace;if(x("use",this.frozen),null==a);else if("function"==typeof a)i(a,b);else if("object"==typeof a)Array.isArray(a)?h(a):f(a);else throw TypeError("Expected usable value, not `"+a+"`");return this;function f(a){if(!("plugins"in a)&&!("settings"in a))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(a.plugins),a.settings&&(d.settings=e(!0,d.settings,a.settings))}function h(a){let b=-1;if(null==a);else if(Array.isArray(a))for(;++b<a.length;){var c=a[b];if("function"==typeof c)i(c,[]);else if("object"==typeof c)if(Array.isArray(c)){let[a,...b]=c;i(a,b)}else f(c);else throw TypeError("Expected usable value, not `"+c+"`")}else throw TypeError("Expected a list of plugins, not `"+a+"`")}function i(a,b){let d=-1,f=-1;for(;++d<c.length;)if(c[d][0]===a){f=d;break}if(-1===f)c.push([a,...b]);else if(b.length>0){let[d,...h]=b,i=c[f][1];g(i)&&g(d)&&(d=e(!0,i,d)),c[f]=[a,d,...h]}}}}let u=new t().freeze();function v(a,b){if("function"!=typeof b)throw TypeError("Cannot `"+a+"` without `parser`")}function w(a,b){if("function"!=typeof b)throw TypeError("Cannot `"+a+"` without `compiler`")}function x(a,b){if(b)throw Error("Cannot call `"+a+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function y(a){if(!g(a)||"string"!=typeof a.type)throw TypeError("Expected node, got `"+a+"`")}function z(a,b,c){if(!c)throw Error("`"+a+"` finished async. Use `"+b+"` instead")}function A(a){var b;return(b=a)&&"object"==typeof b&&"message"in b&&"messages"in b?a:new n(a)}},35803:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("send-horizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]])},35842:a=>{var b=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920],c=function(a){for(var b,c=0,d=0,e=[],f=a.length;c<f;c++)(b=a.charCodeAt(c))<128?e[d++]=b:(b<2048?e[d++]=b>>6|192:((64512&b)==55296&&c+1<a.length&&(64512&a.charCodeAt(c+1))==56320?(b=65536+((1023&b)<<10)+(1023&a.charCodeAt(++c)),e[d++]=b>>18|240,e[d++]=b>>12&63|128):e[d++]=b>>12|224,e[d++]=b>>6&63|128),e[d++]=63&b|128);return e},d=a.exports=function(a){for(var d,e=0,f=-1,g=0,h=0,i="string"==typeof a?c(a):a,j=i.length;e<j;){if(d=i[e++],-1===f)123===d&&(f=e);else if(125!==d)h=b[(d^h>>8)&255]^h<<8;else if(e-1!==f)return 16383&h;g=b[(d^g>>8)&255]^g<<8}return 16383&g};a.exports.generateMulti=function(a){for(var b=1,c=a.length,e=d(a[0]);b<c;)if(d(a[b++])!==e)return -1;return e}},36346:(a,b,c)=>{"use strict";c.d(b,{S:()=>e});var d=c(3753);function e(a){return null===a||(0,d.Ee)(a)||(0,d.Ny)(a)?1:(0,d.es)(a)?2:void 0}},36385:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(37785),e=c(35842),f=c(65078),g=c(86944),h=c(8763);class i{constructor(a,b=[],c={},d){if(this.name=a,this.inTransaction=!1,this.isResolved=!1,this.transformed=!1,this.replyEncoding=c.replyEncoding,this.errorStack=c.errorStack,this.args=b.flat(),this.callback=d,this.initPromise(),c.keyPrefix){let a=c.keyPrefix instanceof Buffer,b=a?c.keyPrefix:null;this._iterateKeys(d=>d instanceof Buffer?(null===b&&(b=Buffer.from(c.keyPrefix)),Buffer.concat([b,d])):a?Buffer.concat([c.keyPrefix,Buffer.from(String(d))]):c.keyPrefix+d)}c.readOnly&&(this.isReadOnly=!0)}static checkFlag(a,b){return b=b.toLowerCase(),!!this.getFlagMap()[a][b]}static setArgumentTransformer(a,b){this._transformer.argument[a]=b}static setReplyTransformer(a,b){this._transformer.reply[a]=b}static getFlagMap(){return this.flagMap||(this.flagMap=Object.keys(i.FLAGS).reduce((a,b)=>(a[b]={},i.FLAGS[b].forEach(c=>{a[b][c]=!0}),a),{})),this.flagMap}getSlot(){if(void 0===this.slot){let a=this.getKeys()[0];this.slot=null==a?null:e(a)}return this.slot}getKeys(){return this._iterateKeys()}toWritable(a){let b,c="*"+(this.args.length+1)+"\r\n$"+Buffer.byteLength(this.name)+"\r\n"+this.name+"\r\n";if(this.bufferMode){let a=new l;a.push(c);for(let b=0;b<this.args.length;++b){let c=this.args[b];c instanceof Buffer?0===c.length?a.push("$0\r\n\r\n"):(a.push("$"+c.length+"\r\n"),a.push(c),a.push("\r\n")):a.push("$"+Buffer.byteLength(c)+"\r\n"+c+"\r\n")}b=a.toBuffer()}else{b=c;for(let a=0;a<this.args.length;++a){let c=this.args[a];b+="$"+Buffer.byteLength(c)+"\r\n"+c+"\r\n"}}return b}stringifyArguments(){for(let a=0;a<this.args.length;++a){let b=this.args[a];"string"==typeof b||(b instanceof Buffer?this.bufferMode=!0:this.args[a]=(0,g.toArg)(b))}}transformReply(a){this.replyEncoding&&(a=(0,g.convertBufferToString)(a,this.replyEncoding));let b=i._transformer.reply[this.name];return b&&(a=b(a)),a}setTimeout(a){this._commandTimeoutTimer||(this._commandTimeoutTimer=setTimeout(()=>{this.isResolved||this.reject(Error("Command timed out"))},a))}setBlockingTimeout(a){if(a<=0)return;this._blockingTimeoutTimer&&(clearTimeout(this._blockingTimeoutTimer),this._blockingTimeoutTimer=void 0);let b=Date.now();void 0===this._blockingDeadline&&(this._blockingDeadline=b+a);let c=this._blockingDeadline-b;if(c<=0)return void this.resolve(null);this._blockingTimeoutTimer=setTimeout(()=>{if(this.isResolved){this._blockingTimeoutTimer=void 0;return}this._blockingTimeoutTimer=void 0,this.resolve(null)},c)}extractBlockingTimeout(){let a=this.args;if(!a||0===a.length)return;let b=this.name.toLowerCase();return i.checkFlag("LAST_ARG_TIMEOUT_COMMANDS",b)?(0,h.parseSecondsArgument)(a[a.length-1]):i.checkFlag("FIRST_ARG_TIMEOUT_COMMANDS",b)?(0,h.parseSecondsArgument)(a[0]):i.checkFlag("BLOCK_OPTION_COMMANDS",b)?(0,h.parseBlockOption)(a):void 0}_clearTimers(){let a=this._commandTimeoutTimer;a&&(clearTimeout(a),delete this._commandTimeoutTimer);let b=this._blockingTimeoutTimer;b&&(clearTimeout(b),delete this._blockingTimeoutTimer)}initPromise(){let a=new Promise((a,b)=>{if(!this.transformed){this.transformed=!0;let a=i._transformer.argument[this.name];a&&(this.args=a(this.args)),this.stringifyArguments()}this.resolve=this._convertValue(a),this.reject=a=>{this._clearTimers(),this.errorStack?b((0,g.optimizeErrorStack)(a,this.errorStack.stack,__dirname)):b(a)}});this.promise=(0,f.default)(a,this.callback)}_iterateKeys(a=a=>a){if(void 0===this.keys&&(this.keys=[],(0,d.exists)(this.name,{caseInsensitive:!0})))for(let b of(0,d.getKeyIndexes)(this.name,this.args,{nameCaseInsensitive:!0}))this.args[b]=a(this.args[b]),this.keys.push(this.args[b]);return this.keys}_convertValue(a){return b=>{try{this._clearTimers(),a(this.transformReply(b)),this.isResolved=!0}catch(a){this.reject(a)}return this.promise}}}b.default=i,i.FLAGS={VALID_IN_SUBSCRIBER_MODE:["subscribe","psubscribe","unsubscribe","punsubscribe","ssubscribe","sunsubscribe","ping","quit"],VALID_IN_MONITOR_MODE:["monitor","auth"],ENTER_SUBSCRIBER_MODE:["subscribe","psubscribe","ssubscribe"],EXIT_SUBSCRIBER_MODE:["unsubscribe","punsubscribe","sunsubscribe"],WILL_DISCONNECT:["quit"],HANDSHAKE_COMMANDS:["auth","select","client","readonly","info"],IGNORE_RECONNECT_ON_ERROR:["client"],BLOCKING_COMMANDS:["blpop","brpop","brpoplpush","blmove","bzpopmin","bzpopmax","bzmpop","blmpop","xread","xreadgroup"],LAST_ARG_TIMEOUT_COMMANDS:["blpop","brpop","brpoplpush","blmove","bzpopmin","bzpopmax"],FIRST_ARG_TIMEOUT_COMMANDS:["bzmpop","blmpop"],BLOCK_OPTION_COMMANDS:["xread","xreadgroup"]},i._transformer={argument:{},reply:{}};let j=function(a){if(1===a.length){if(a[0]instanceof Map)return(0,g.convertMapToArray)(a[0]);if("object"==typeof a[0]&&null!==a[0])return(0,g.convertObjectToArray)(a[0])}return a},k=function(a){if(2===a.length){if(a[1]instanceof Map)return[a[0]].concat((0,g.convertMapToArray)(a[1]));if("object"==typeof a[1]&&null!==a[1])return[a[0]].concat((0,g.convertObjectToArray)(a[1]))}return a};i.setArgumentTransformer("mset",j),i.setArgumentTransformer("msetnx",j),i.setArgumentTransformer("hset",k),i.setArgumentTransformer("hmset",k),i.setReplyTransformer("hgetall",function(a){if(Array.isArray(a)){let b={};for(let c=0;c<a.length;c+=2){let d=a[c],e=a[c+1];d in b?Object.defineProperty(b,d,{value:e,configurable:!0,enumerable:!0,writable:!0}):b[d]=e}return b}return a});class l{constructor(){this.length=0,this.items=[]}push(a){this.length+=Buffer.byteLength(a),this.items.push(a)}toBuffer(){let a=Buffer.allocUnsafe(this.length),b=0;for(let c of this.items){let d=Buffer.byteLength(c);Buffer.isBuffer(c)?c.copy(a,b):a.write(c,b,d),b+=d}return a}}},36395:(a,b,c)=>{"use strict";c.d(b,{A:()=>l});var d=c(30766),e=Object.prototype,f=e.hasOwnProperty,g=e.toString,h=d.A?d.A.toStringTag:void 0;let i=function(a){var b=f.call(a,h),c=a[h];try{a[h]=void 0;var d=!0}catch(a){}var e=g.call(a);return d&&(b?a[h]=c:delete a[h]),e};var j=Object.prototype.toString,k=d.A?d.A.toStringTag:void 0;let l=function(a){return null==a?void 0===a?"[object Undefined]":"[object Null]":k&&k in Object(a)?i(a):j.call(a)}},36424:(a,b,c)=>{"use strict";c.d(b,{IU:()=>u,Jo:()=>G,T_:()=>y,g0:()=>ae,jP:()=>w});var d=c(28563),e=c(57301),f=c(11910),g=c(34623),h=c(4892),i=c(46895),j=c(6335),k=c(42292),l=c(72636),m=c(99766),n=(0,k.K2)((a,b,c,d,e,f=!1,g)=>{b.arrowTypeStart&&q(a,"start",b.arrowTypeStart,c,d,e,f,g),b.arrowTypeEnd&&q(a,"end",b.arrowTypeEnd,c,d,e,f,g)},"addEdgeMarkers"),o={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},p=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],q=(0,k.K2)((a,b,c,d,e,f,g=!1,h)=>{let i=o[c],j=i&&p.includes(i.type);if(!i)return void k.Rm.warn(`Unknown arrow type: ${c}`);let l=i.type,m=`${e}_${f}-${l}${"start"===b?"Start":"End"}${g&&j?"-margin":""}`;if(h&&""!==h.trim()){let c=h.replace(/[^\dA-Za-z]/g,"_"),e=`${m}_${c}`;if(!document.getElementById(e)){let a=document.getElementById(m);if(a){let b=a.cloneNode(!0);b.id=e,b.querySelectorAll("path, circle, line").forEach(a=>{a.setAttribute("stroke",h),i.fill&&a.setAttribute("fill",h)}),a.parentNode?.appendChild(b)}}a.attr(`marker-${b}`,`url(${d}#${e})`)}else a.attr(`marker-${b}`,`url(${d}#${m})`)},"addEdgeMarker"),r=(0,k.K2)(a=>"string"==typeof a?a:(0,j.D7)()?.flowchart?.curve,"resolveEdgeCurveType"),s=new Map,t=new Map,u=(0,k.K2)(()=>{s.clear(),t.clear()},"clear"),v=(0,k.K2)(a=>a?"string"==typeof a?a:a.reduce((a,b)=>a+";"+b,""):"","getLabelStyles"),w=(0,k.K2)(async(a,b)=>{let c,f=(0,j.D7)(),i=(0,j.E)(f),{labelStyles:m}=(0,g.GX)(b);b.labelStyle=m;let n=a.insert("g").attr("class","edgeLabel"),o=n.insert("g").attr("class","label").attr("data-id",b.id),p="markdown"===b.labelType,q=await (0,h.GZ)(a,b.label,{style:v(b.labelStyle),useHtmlLabels:i,addSvgBackground:!0,isNode:!1,markdown:p,width:void 0},f);o.node().appendChild(q),k.Rm.info("abc82",b,b.labelType);let r=q.getBBox(),u=r;if(i){let a=q.children[0],b=(0,l.Ltv)(q);u=r=a.getBoundingClientRect(),b.attr("width",r.width),b.attr("height",r.height)}else{let a=(0,l.Ltv)(q).select("text").node();a&&"function"==typeof a.getBBox&&(u=a.getBBox())}if(o.attr("transform",(0,d.Wg)(u,i)),s.set(b.id,n),b.width=r.width,b.height=r.height,b.startLabelLeft){let f=a.insert("g").attr("class","edgeTerminals"),g=f.insert("g").attr("class","inner"),h=await (0,e.DA)(g,b.startLabelLeft,v(b.labelStyle)||"",!1,!1);c=h;let j=h.getBBox();if(i){let a=h.children[0],b=(0,l.Ltv)(h);j=a.getBoundingClientRect(),b.attr("width",j.width),b.attr("height",j.height)}g.attr("transform",(0,d.Wg)(j,i)),t.get(b.id)||t.set(b.id,{}),t.get(b.id).startLeft=f,x(c,b.startLabelLeft)}if(b.startLabelRight){let f=a.insert("g").attr("class","edgeTerminals"),g=f.insert("g").attr("class","inner"),h=await (0,e.DA)(g,b.startLabelRight,v(b.labelStyle)||"",!1,!1);c=h,g.node().appendChild(h);let j=h.getBBox();if(i){let a=h.children[0],b=(0,l.Ltv)(h);j=a.getBoundingClientRect(),b.attr("width",j.width),b.attr("height",j.height)}g.attr("transform",(0,d.Wg)(j,i)),t.get(b.id)||t.set(b.id,{}),t.get(b.id).startRight=f,x(c,b.startLabelRight)}if(b.endLabelLeft){let f=a.insert("g").attr("class","edgeTerminals"),g=f.insert("g").attr("class","inner"),h=await (0,e.DA)(g,b.endLabelLeft,v(b.labelStyle)||"",!1,!1);c=h;let j=h.getBBox();if(i){let a=h.children[0],b=(0,l.Ltv)(h);j=a.getBoundingClientRect(),b.attr("width",j.width),b.attr("height",j.height)}g.attr("transform",(0,d.Wg)(j,i)),f.node().appendChild(h),t.get(b.id)||t.set(b.id,{}),t.get(b.id).endLeft=f,x(c,b.endLabelLeft)}if(b.endLabelRight){let f=a.insert("g").attr("class","edgeTerminals"),g=f.insert("g").attr("class","inner"),h=await (0,e.DA)(g,b.endLabelRight,v(b.labelStyle)||"",!1,!1);c=h;let j=h.getBBox();if(i){let a=h.children[0],b=(0,l.Ltv)(h);j=a.getBoundingClientRect(),b.attr("width",j.width),b.attr("height",j.height)}g.attr("transform",(0,d.Wg)(j,i)),f.node().appendChild(h),t.get(b.id)||t.set(b.id,{}),t.get(b.id).endRight=f,x(c,b.endLabelRight)}return q},"insertEdgeLabel");function x(a,b){(0,j.E)((0,j.D7)())&&a&&(a.style.width=9*b.length+"px",a.style.height="12px")}(0,k.K2)(x,"setTerminalWidth");var y=(0,k.K2)((a,b)=>{k.Rm.debug("Moving label abc88 ",a.id,a.label,s.get(a.id),b);let c=b.updatedPath?b.updatedPath:b.originalPath,d=(0,j.D7)(),{subGraphTitleTotalMargin:e}=(0,f.O)(d);if(a.label){let d=s.get(a.id),f=a.x,g=a.y;if(c){let d=i._K.calcLabelPosition(c);k.Rm.debug("Moving label "+a.label+" from (",f,",",g,") to (",d.x,",",d.y,") abc88"),b.updatedPath&&(f=d.x,g=d.y)}d.attr("transform",`translate(${f}, ${g+e/2})`)}if(a.startLabelLeft){let b=t.get(a.id).startLeft,d=a.x,e=a.y;if(c){let b=i._K.calcTerminalLabelPosition(10*!!a.arrowTypeStart,"start_left",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.startLabelRight){let b=t.get(a.id).startRight,d=a.x,e=a.y;if(c){let b=i._K.calcTerminalLabelPosition(10*!!a.arrowTypeStart,"start_right",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.endLabelLeft){let b=t.get(a.id).endLeft,d=a.x,e=a.y;if(c){let b=i._K.calcTerminalLabelPosition(10*!!a.arrowTypeEnd,"end_left",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.endLabelRight){let b=t.get(a.id).endRight,d=a.x,e=a.y;if(c){let b=i._K.calcTerminalLabelPosition(10*!!a.arrowTypeEnd,"end_right",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}},"positionEdgeLabel"),z=(0,k.K2)((a,b)=>{let c=a.x,d=a.y,e=Math.abs(b.x-c),f=Math.abs(b.y-d),g=a.width/2,h=a.height/2;return e>=g||f>=h},"outsideNode"),A=(0,k.K2)((a,b,c)=>{k.Rm.debug(`intersection calc abc89:
|
|
186
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${b.docsSlug}`;return d.useEffect(()=>{a&&(document.getElementById(a)||console.error(c))},[c,a]),null},Z=({contentRef:a,descriptionId:b})=>{let c=X("DialogDescriptionWarning"),e=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${c.contentName}}.`;return d.useEffect(()=>{let c=a.current?.getAttribute("aria-describedby");b&&c&&(document.getElementById(b)||console.warn(e))},[e,a,b]),null},$=y,_=A,aa=E,ab=G,ac=K,ad=P,ae=R,af=T},14672:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Avatar:()=>p,AvatarFallback:()=>t,AvatarImage:()=>r,Fallback:()=>x,Image:()=>w,Root:()=>v,createAvatarScope:()=>m});var d=c(21968),e=c(42990),f=c(87979),g=c(35439),h=c(16551),i=c(23771),j=c(10837),k="Avatar",[l,m]=(0,e.A)(k),[n,o]=l(k),p=d.forwardRef((a,b)=>{let{__scopeAvatar:c,...e}=a,[f,g]=d.useState("idle");return(0,j.jsx)(n,{scope:c,imageLoadingStatus:f,onImageLoadingStatusChange:g,children:(0,j.jsx)(h.sG.span,{...e,ref:b})})});p.displayName=k;var q="AvatarImage",r=d.forwardRef((a,b)=>{let{__scopeAvatar:c,src:e,onLoadingStatusChange:k=()=>{},...l}=a,m=o(q,c),n=function(a,{referrerPolicy:b,crossOrigin:c}){let e=(0,i.z)(),f=d.useRef(null),h=e?(f.current||(f.current=new window.Image),f.current):null,[j,k]=d.useState(()=>u(h,a));return(0,g.N)(()=>{k(u(h,a))},[h,a]),(0,g.N)(()=>{let a=a=>()=>{k(a)};if(!h)return;let d=a("loaded"),e=a("error");return h.addEventListener("load",d),h.addEventListener("error",e),b&&(h.referrerPolicy=b),"string"==typeof c&&(h.crossOrigin=c),()=>{h.removeEventListener("load",d),h.removeEventListener("error",e)}},[h,c,b]),j}(e,l),p=(0,f.c)(a=>{k(a),m.onImageLoadingStatusChange(a)});return(0,g.N)(()=>{"idle"!==n&&p(n)},[n,p]),"loaded"===n?(0,j.jsx)(h.sG.img,{...l,ref:b,src:e}):null});r.displayName=q;var s="AvatarFallback",t=d.forwardRef((a,b)=>{let{__scopeAvatar:c,delayMs:e,...f}=a,g=o(s,c),[i,k]=d.useState(void 0===e);return d.useEffect(()=>{if(void 0!==e){let a=window.setTimeout(()=>k(!0),e);return()=>window.clearTimeout(a)}},[e]),i&&"loaded"!==g.imageLoadingStatus?(0,j.jsx)(h.sG.span,{...f,ref:b}):null});function u(a,b){return a?b?(a.src!==b&&(a.src=b),a.complete&&a.naturalWidth>0?"loaded":"loading"):"error":"idle"}t.displayName=s;var v=p,w=r,x=t},14899:(a,b,c)=>{"use strict";c.d(b,{A:()=>k});var d=c(83545),e=c(59758);let f={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:a=>{if(35!==a.charCodeAt(0))return;let b=a.match(f.re);if(!b)return;let c=b[1],e=parseInt(c,16),g=c.length,h=g%4==0,i=g>4,j=i?1:17,k=i?8:4,l=h?0:-1,m=i?255:15;return d.A.set({r:(e>>k*(l+3)&m)*j,g:(e>>k*(l+2)&m)*j,b:(e>>k*(l+1)&m)*j,a:h?(e&m)*j/255:1},a)},stringify:a=>{let{r:b,g:c,b:d,a:f}=a;return f<1?`#${e.Y[Math.round(b)]}${e.Y[Math.round(c)]}${e.Y[Math.round(d)]}${e.Y[Math.round(255*f)]}`:`#${e.Y[Math.round(b)]}${e.Y[Math.round(c)]}${e.Y[Math.round(d)]}`}};var g=c(54469);let h={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:a=>{let b=a.match(h.hueRe);if(b){let[,a,c]=b;switch(c){case"grad":return g.A.channel.clamp.h(.9*parseFloat(a));case"rad":return g.A.channel.clamp.h(180*parseFloat(a)/Math.PI);case"turn":return g.A.channel.clamp.h(360*parseFloat(a))}}return g.A.channel.clamp.h(parseFloat(a))},parse:a=>{let b=a.charCodeAt(0);if(104!==b&&72!==b)return;let c=a.match(h.re);if(!c)return;let[,e,f,i,j,k]=c;return d.A.set({h:h._hue2deg(e),s:g.A.channel.clamp.s(parseFloat(f)),l:g.A.channel.clamp.l(parseFloat(i)),a:j?g.A.channel.clamp.a(k?parseFloat(j)/100:parseFloat(j)):1},a)},stringify:a=>{let{h:b,s:c,l:d,a:e}=a;return e<1?`hsla(${g.A.lang.round(b)}, ${g.A.lang.round(c)}%, ${g.A.lang.round(d)}%, ${e})`:`hsl(${g.A.lang.round(b)}, ${g.A.lang.round(c)}%, ${g.A.lang.round(d)}%)`}},i={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:a=>{a=a.toLowerCase();let b=i.colors[a];if(b)return f.parse(b)},stringify:a=>{let b=f.stringify(a);for(let a in i.colors)if(i.colors[a]===b)return a}},j={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:a=>{let b=a.charCodeAt(0);if(114!==b&&82!==b)return;let c=a.match(j.re);if(!c)return;let[,e,f,h,i,k,l,m,n]=c;return d.A.set({r:g.A.channel.clamp.r(f?2.55*parseFloat(e):parseFloat(e)),g:g.A.channel.clamp.g(i?2.55*parseFloat(h):parseFloat(h)),b:g.A.channel.clamp.b(l?2.55*parseFloat(k):parseFloat(k)),a:m?g.A.channel.clamp.a(n?parseFloat(m)/100:parseFloat(m)):1},a)},stringify:a=>{let{r:b,g:c,b:d,a:e}=a;return e<1?`rgba(${g.A.lang.round(b)}, ${g.A.lang.round(c)}, ${g.A.lang.round(d)}, ${g.A.lang.round(e)})`:`rgb(${g.A.lang.round(b)}, ${g.A.lang.round(c)}, ${g.A.lang.round(d)})`}},k={format:{keyword:i,hex:f,rgb:j,rgba:j,hsl:h,hsla:h},parse:a=>{if("string"!=typeof a)return a;let b=f.parse(a)||j.parse(a)||h.parse(a)||i.parse(a);if(b)return b;throw Error(`Unsupported color format: "${a}"`)},stringify:a=>!a.changed&&a.color?a.color:a.type.is(e.Z.HSL)||void 0===a.data.r?h.stringify(a):!(a.a<1)&&Number.isInteger(a.r)&&Number.isInteger(a.g)&&Number.isInteger(a.b)?f.stringify(a):j.stringify(a)}},14973:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},14994:(a,b,c)=>{"use strict";c.d(b,{y:()=>S});var d,e,f,g,h=Object.defineProperty,i={};((a,b)=>{for(var c in b)h(a,c,{get:b[c],enumerable:!0})})(i,{$:()=>k,bgBlack:()=>E,bgBlue:()=>I,bgCyan:()=>K,bgGreen:()=>G,bgMagenta:()=>J,bgRed:()=>F,bgWhite:()=>L,bgYellow:()=>H,black:()=>u,blue:()=>y,bold:()=>n,cyan:()=>A,dim:()=>o,gray:()=>C,green:()=>w,grey:()=>D,hidden:()=>s,inverse:()=>r,italic:()=>p,magenta:()=>z,red:()=>v,reset:()=>m,strikethrough:()=>t,underline:()=>q,white:()=>B,yellow:()=>x});var j=!0;"undefined"!=typeof process&&({FORCE_COLOR:d,NODE_DISABLE_COLORS:e,NO_COLOR:f,TERM:g}=process.env||{},j=process.stdout&&process.stdout.isTTY);var k={enabled:!e&&null==f&&"dumb"!==g&&(null!=d&&"0"!==d||j)};function l(a,b){let c=RegExp(`\\x1b\\[${b}m`,"g"),d=`\x1b[${a}m`,e=`\x1b[${b}m`;return function(a){return k.enabled&&null!=a?d+(~(""+a).indexOf(e)?a.replace(c,e+d):a)+e:a}}var m=l(0,0),n=l(1,22),o=l(2,22),p=l(3,23),q=l(4,24),r=l(7,27),s=l(8,28),t=l(9,29),u=l(30,39),v=l(31,39),w=l(32,39),x=l(33,39),y=l(34,39),z=l(35,39),A=l(36,39),B=l(37,39),C=l(90,39),D=l(90,39),E=l(40,49),F=l(41,49),G=l(42,49),H=l(43,49),I=l(44,49),J=l(45,49),K=l(46,49),L=l(47,49),M=["green","yellow","blue","magenta","cyan","red"],N=[],O=Date.now(),P=0,Q="undefined"!=typeof process?process.env:{};globalThis.DEBUG??=Q.DEBUG??"",globalThis.DEBUG_COLORS??=!Q.DEBUG_COLORS||"true"===Q.DEBUG_COLORS;var R={enable(a){"string"==typeof a&&(globalThis.DEBUG=a)},disable(){let a=globalThis.DEBUG;return globalThis.DEBUG="",a},enabled(a){let b=globalThis.DEBUG.split(",").map(a=>a.replace(/[.+?^${}()|[\]\\]/g,"\\$&")),c=b.some(b=>""!==b&&"-"!==b[0]&&a.match(RegExp(b.split("*").join(".*")+"$"))),d=b.some(b=>""!==b&&"-"===b[0]&&a.match(RegExp(b.slice(1).split("*").join(".*")+"$")));return c&&!d},log:(...a)=>{let[b,c,...d]=a;(console.warn??console.log)(`${b} ${c}`,...d)},formatters:{}},S=new Proxy(function(a){let b={color:M[P++%M.length],enabled:R.enabled(a),namespace:a,log:R.log,extend:()=>{}};return new Proxy((...a)=>{let{enabled:c,namespace:d,color:e,log:f}=b;if(0!==a.length&&N.push([d,...a]),N.length>100&&N.shift(),R.enabled(d)||c){let b=a.map(a=>"string"==typeof a?a:function(a,b=2){let c=new Set;return JSON.stringify(a,(a,b)=>{if("object"==typeof b&&null!==b){if(c.has(b))return"[Circular *]";c.add(b)}else if("bigint"==typeof b)return b.toString();return b},b)}(a)),c=`+${Date.now()-O}ms`;O=Date.now(),globalThis.DEBUG_COLORS?f(i[e](n(d)),...b,i[e](c)):f(d,...b,c)}},{get:(a,c)=>b[c],set:(a,c,d)=>b[c]=d})},{get:(a,b)=>R[b],set:(a,b,c)=>R[b]=c})},15703:(a,b,c)=>{"use strict";a.exports=c(51928)},16235:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},17302:(a,b,c)=>{"use strict";c.d(b,{A:()=>o});var d=c(54643),e=c(99554).A["__core-js_shared__"],f=function(){var a=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),g=c(12500),h=c(55326),i=/^\[object .+?Constructor\]$/,j=Object.prototype,k=Function.prototype.toString,l=j.hasOwnProperty,m=RegExp("^"+k.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let n=function(a){return!!(0,g.A)(a)&&(!f||!(f in a))&&((0,d.A)(a)?m:i).test((0,h.A)(a))},o=function(a,b){var c=null==a?void 0:a[b];return n(c)?c:void 0}},17552:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d={value:()=>{}};function e(){for(var a,b=0,c=arguments.length,d={};b<c;++b){if(!(a=arguments[b]+"")||a in d||/[\s.]/.test(a))throw Error("illegal type: "+a);d[a]=[]}return new f(d)}function f(a){this._=a}function g(a,b,c){for(var e=0,f=a.length;e<f;++e)if(a[e].name===b){a[e]=d,a=a.slice(0,e).concat(a.slice(e+1));break}return null!=c&&a.push({name:b,value:c}),a}f.prototype=e.prototype={constructor:f,on:function(a,b){var c,d=this._,e=(a+"").trim().split(/^|\s+/).map(function(a){var b="",c=a.indexOf(".");if(c>=0&&(b=a.slice(c+1),a=a.slice(0,c)),a&&!d.hasOwnProperty(a))throw Error("unknown type: "+a);return{type:a,name:b}}),f=-1,h=e.length;if(arguments.length<2){for(;++f<h;)if((c=(a=e[f]).type)&&(c=function(a,b){for(var c,d=0,e=a.length;d<e;++d)if((c=a[d]).name===b)return c.value}(d[c],a.name)))return c;return}if(null!=b&&"function"!=typeof b)throw Error("invalid callback: "+b);for(;++f<h;)if(c=(a=e[f]).type)d[c]=g(d[c],a.name,b);else if(null==b)for(c in d)d[c]=g(d[c],a.name,null);return this},copy:function(){var a={},b=this._;for(var c in b)a[c]=b[c].slice();return new f(a)},call:function(a,b){if((c=arguments.length-2)>0)for(var c,d,e=Array(c),f=0;f<c;++f)e[f]=arguments[f+2];if(!this._.hasOwnProperty(a))throw Error("unknown type: "+a);for(d=this._[a],f=0,c=d.length;f<c;++f)d[f].value.apply(b,e)},apply:function(a,b,c){if(!this._.hasOwnProperty(a))throw Error("unknown type: "+a);for(var d=this._[a],e=0,f=d.length;e<f;++e)d[e].value.apply(b,c)}};let h=e},18462:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DynamicServerError:function(){return d},isDynamicServerError:function(){return e}});let c="DYNAMIC_SERVER_USAGE";class d extends Error{constructor(a){super("Dynamic server usage: "+a),this.description=a,this.digest=c}}function e(a){return"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest&&a.digest===c}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},18683:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"connection",{enumerable:!0,get:function(){return j}});let d=c(29294),e=c(63033),f=c(13786),g=c(60114),h=c(91275),i=c(45110);function j(){let a=d.workAsyncStorage.getStore(),b=e.workUnitAsyncStorage.getStore();if(a){if(b&&"after"===b.phase&&!(0,i.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${a.route} used "connection" inside "after(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but "after(...)" executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E186",enumerable:!1,configurable:!0});if(a.forceStatic)return Promise.resolve(void 0);if(a.dynamicShouldError)throw Object.defineProperty(new g.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`connection\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E562",enumerable:!1,configurable:!0});if(b)switch(b.type){case"cache":{let b=Object.defineProperty(Error(`Route ${a.route} used "connection" inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual request, but caches must be able to be produced before a request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E752",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"private-cache":{let b=Object.defineProperty(Error(`Route ${a.route} used "connection" inside "use cache: private". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual navigation request, but caches must be able to be produced before a navigation request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E753",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"unstable-cache":throw Object.defineProperty(Error(`Route ${a.route} used "connection" inside a function cached with "unstable_cache(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E1",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-runtime":return(0,h.makeHangingPromise)(b.renderSignal,a.route,"`connection()`");case"prerender-ppr":return(0,f.postponeWithTracking)(a.route,"connection",b.dynamicTracking);case"prerender-legacy":return(0,f.throwToInterruptStaticGeneration)("connection",a,b);case"request":return(0,f.trackDynamicDataInDynamicRender)(b),Promise.resolve(void 0)}}(0,e.throwForMissingRequestStore)("connection")}},19136:(a,b,c)=>{"use strict";function d(a){if("object"!=typeof a||null===a||"[object Object]"!==Object.prototype.toString.call(a))return!1;if(null===Object.getPrototypeOf(a))return!0;let b=a;for(;null!==Object.getPrototypeOf(b);)b=Object.getPrototypeOf(b);return Object.getPrototypeOf(a)===b}c.d(b,{G:()=>d})},19207:a=>{"use strict";a.exports=JSON.parse('{"$id":"https://cdn.hopjs.net/npm/@dicebear/styles@10.5.0/dist/voxel-bot.min.json","$schema":"https://cdn.hopjs.net/npm/@dicebear/schema@1.4.0/dist/definition.min.json","$comment":"Hand-authored definition (no Figma source).","meta":{"license":{"name":"CC0 1.0","url":"https://creativecommons.org/publicdomain/zero/1.0/","text":"„Voxel Bot” (https://www.dicebear.com) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)"},"creator":{"name":"DiceBear","url":"https://www.dicebear.com"},"source":{"name":"Voxel Bot","url":"https://www.dicebear.com"}},"canvas":{"elements":[{"name":"path","type":"element","attributes":{"d":"M33 124.8h50l10.5-8.4h-50Z","fill":"#000000","fill-opacity":".08"}},{"name":"path","type":"element","attributes":{"d":"M36 119.4h20v5H36Zm0 0h20l8.5-6.8h-20Zm20 0 8.5-6.8v5l-8.5 6.8Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M36 119.4h20l8.5-6.8h-20Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m56 119.4 8.5-6.8v5l-8.5 6.8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M61 119.4h20v5H61Zm0 0h20l8.5-6.8h-20Zm20 0 8.5-6.8v5l-8.5 6.8Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M61 119.4h20l8.5-6.8h-20Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m81 119.4 8.5-6.8v5l-8.5 6.8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M44.5 101.1h10v17.5h-10Zm0 0h10l7-5.6h-10Zm10 0 7-5.6V113l-7 5.6Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M44.5 101.1h10l7-5.6h-10Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m54.5 101.1 7-5.6V113l-7 5.6Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M64.5 101.1h10v17.5h-10Zm0 0h10l7-5.6h-10Zm10 0 7-5.6V113l-7 5.6Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M64.5 101.1h10l7-5.6h-10Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m74.5 101.1 7-5.6V113l-7 5.6Z","fill":"#000000","fill-opacity":".24"}},{"name":"g","type":"element","attributes":{"class":"vb-upper"},"children":[{"name":"path","type":"element","attributes":{"d":"M32.5 105.7H35v7.5h-2.5Zm0 0H35l6-4.8h-2.5Zm2.5 0 6-4.8v7.5l-6 4.8Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M32.5 105.7H35l6-4.8h-2.5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m35 105.7 6-4.8v7.5l-6 4.8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M37.5 105.7H40v7.5h-2.5Zm0 0H40l6-4.8h-2.5Zm2.5 0 6-4.8v7.5l-6 4.8Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M37.5 105.7H40l6-4.8h-2.5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m40 105.7 6-4.8v7.5l-6 4.8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M32.5 85.7H40v20h-7.5Zm0 0H40l6-4.8h-7.5Z","fill":{"type":"color","name":"body"}}},{"name":"path","type":"element","attributes":{"d":"M32.5 85.7H40l6-4.8h-7.5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"M32.5 85.7H40l6-4.8h-7.5Z","fill":"#000000","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"d":"M39.5 83.6h40v22.5h-40Zm0 0h40l7-5.6h-40Zm40 0 7-5.6v22.5l-7 5.6Z","fill":{"type":"color","name":"body"}}},{"name":"path","type":"element","attributes":{"d":"M39.5 83.6h40l7-5.6h-40Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m79.5 83.6 7-5.6v22.5l-7 5.6Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"fill":"#000000","fill-opacity":".16","d":"M39.5 106.1h40v1.5h-40z"}},{"name":"path","type":"element","attributes":{"d":"M80 105.7h2.5v7.5H80Zm0 0h2.5l6-4.8H86Zm2.5 0 6-4.8v7.5l-6 4.8Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M80 105.7h2.5l6-4.8H86Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m82.5 105.7 6-4.8v7.5l-6 4.8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M85 105.7h2.5v7.5H85Zm0 0h2.5l6-4.8H91Zm2.5 0 6-4.8v7.5l-6 4.8Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M85 105.7h2.5l6-4.8H91Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m87.5 105.7 6-4.8v7.5l-6 4.8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M80 85.7h7.5v20H80Zm0 0h7.5l6-4.8H86Zm7.5 0 6-4.8v20l-6 4.8Z","fill":{"type":"color","name":"body"}}},{"name":"path","type":"element","attributes":{"d":"M80 85.7h7.5l6-4.8H86Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m87.5 85.7 6-4.8v20l-6 4.8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"fill":"#000000","fill-opacity":".08","d":"M32.5 85.7h7v20h-7zm47.5 0h7.5v20H80z"}},{"name":"chest","type":"component"},{"name":"path","type":"element","attributes":{"d":"M39.5 83.6h40l7-5.6h-40ZM80 85.7h7.5l6-4.8H86Z","fill":"#000000","fill-opacity":".2"}},{"name":"path","type":"element","attributes":{"d":"M54.5 71.6h15v10h-15Zm0 0h15l4-3.2h-15Zm15 0 4-3.2v10l-4 3.2Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M54.5 71.6h15l4-3.2h-15Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m69.5 71.6 4-3.2v10l-4 3.2Z","fill":"#000000","fill-opacity":".24"}},{"name":"g","type":"element","attributes":{"class":"vb-head"},"children":[{"name":"path","type":"element","attributes":{"d":"M28 50.3h2.5v10H28Zm0 0h2.5l4-3.2H32Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M28 50.3h2.5l4-3.2H32Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"M29 29h60v50H29Zm0 0h60l10-8H39Zm60 0 10-8v50l-10 8Z","fill":{"type":"color","name":"body"}}},{"name":"path","type":"element","attributes":{"d":"M29 29h60l10-8H39Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m89 29 10-8v50l-10 8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M36.5 36.5h45V39H84v32.5h-2.5V74h-45v-2.5H34V39h2.5Z","fill":{"type":"color","name":"screen"}}},{"name":"path","type":"element","attributes":{"d":"M90.5 50.3H93v10h-2.5Zm0 0H93l4-3.2h-2.5Zm2.5 0 4-3.2v10l-4 3.2Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M90.5 50.3H93l4-3.2h-2.5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m93 50.3 4-3.2v10l-4 3.2Z","fill":"#000000","fill-opacity":".24"}},{"name":"eyes","type":"component","attributes":{"transform":"translate(29 44)"}},{"name":"mouth","type":"component","attributes":{"transform":"translate(29 64)"}},{"name":"animation","type":"component"},{"name":"top","type":"component"}]}]}],"width":128,"height":128},"attributes":{"fill":"none","shape-rendering":"auto"},"components":{"chest":{"width":128,"height":128,"probability":90,"variants":{"buttons":{"elements":[{"name":"path","type":"element","attributes":{"d":"M44.5 88.6H62v10H44.5Z","fill":{"type":"color","name":"screen"},"fill-opacity":"1"}},{"name":"path","type":"element","attributes":{"d":"M67 88.6h5v5h-5Z","fill":{"type":"color","name":"glow"},"fill-opacity":"1"}},{"name":"path","type":"element","attributes":{"d":"M67 96.1h5v5h-5Z","fill":"#ff6b6b","fill-opacity":"1"}}]},"vents":{"elements":[{"name":"path","type":"element","attributes":{"d":"M47 88.6h25v2.5H47Zm0 5h25v2.5H47Zm0 5h25v2.5H47Z","fill":"#000000","fill-opacity":".3"}}]},"screen":{"elements":[{"name":"path","type":"element","attributes":{"d":"M44.5 86.1h30v15h-30Z","fill":{"type":"color","name":"screen"},"fill-opacity":"1"}},{"name":"path","type":"element","attributes":{"d":"M47 91.1h25v2.5H47Z","fill":{"type":"color","name":"glow"},"fill-opacity":".6"}},{"name":"path","type":"element","attributes":{"d":"M47 96.1h5v2.5h-5Z","fill":{"type":"color","name":"glow"},"fill-opacity":"1"}}]},"heart":{"elements":[{"name":"path","type":"element","attributes":{"d":"M52 88.6h5v5h-5Zm10 0h5v5h-5Zm-12.5 5h20v5h-20Zm2.5 5h15v2.5H52Zm5 2.5h5v2.5h-5Z","fill":{"type":"color","name":"glow"},"fill-opacity":".9"}}]},"dial":{"elements":[{"name":"path","type":"element","attributes":{"d":"M52 86.1h15v15H52Z","fill":{"type":"color","name":"screen"},"fill-opacity":"1"}},{"name":"path","type":"element","attributes":{"d":"M57 91.1h5v5h-5Z","fill":{"type":"color","name":"glow"},"fill-opacity":"1"}},{"name":"path","type":"element","attributes":{"d":"M62 88.6h2.5v2.5H62Z","fill":{"type":"color","name":"glow"},"fill-opacity":".7"}}]},"slot":{"elements":[{"name":"path","type":"element","attributes":{"d":"M47 88.6h25v5H47Z","fill":"#000000","fill-opacity":".35"}},{"name":"path","type":"element","attributes":{"d":"M49.5 96.1h5v5h-5Zm15 0h5v5h-5Z","fill":{"type":"color","name":"glow"},"fill-opacity":".8"}}]}}},"eyes":{"width":60,"height":15,"variants":{"round":{"elements":[{"name":"path","type":"element","attributes":{"d":"M12.5 2.5h5V5H20v5h-2.5v2.5h-5V10H10V5h2.5Z","fill":{"type":"color","name":"glow"}}},{"name":"path","type":"element","attributes":{"fill":"#ffffff","fill-opacity":".92","d":"M12.5 5h5v5h-5z"}},{"name":"path","type":"element","attributes":{"d":"M42.5 2.5h5V5H50v5h-2.5v2.5h-5V10H40V5h2.5Z","fill":{"type":"color","name":"glow"}}},{"name":"path","type":"element","attributes":{"fill":"#ffffff","fill-opacity":".92","d":"M42.5 5h5v5h-5z"}}]},"square":{"elements":[{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M7.5 2.5H20v10H7.5z"}},{"name":"path","type":"element","attributes":{"fill":"#ffffff","fill-opacity":".92","d":"M10 5h5v5h-5z"}},{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M40 2.5h12.5v10H40z"}},{"name":"path","type":"element","attributes":{"fill":"#ffffff","fill-opacity":".92","d":"M42.5 5h5v5h-5z"}}]},"visor":{"elements":[{"name":"path","type":"element","attributes":{"d":"M10 2.5h40V5h2.5v5H50v2.5H10V10H7.5V5H10Z","fill":{"type":"color","name":"glow"},"fill-opacity":".35"}},{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M12.5 5h5v5h-5zm30 0h5v5h-5z"}}]},"cyclops":{"elements":[{"name":"path","type":"element","attributes":{"d":"M25 0h10v2.5h2.5v10H35V15H25v-2.5h-2.5v-10H25Z","fill":{"type":"color","name":"glow"}}},{"name":"path","type":"element","attributes":{"fill":"#ffffff","fill-opacity":".92","d":"M27.5 5h5v5h-5z"}}]},"happy":{"elements":[{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M10 2.5h10V5H10zM10 5h2.5v2.5H10zm7.5 0H20v2.5h-2.5zM40 2.5h10V5H40zM40 5h2.5v2.5H40zm7.5 0H50v2.5h-2.5z"}}]},"sleepy":{"elements":[{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M10 7.5h10v5H10zm30 0h10v5H40z"}}]},"plus":{"elements":[{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M12.5 2.5H15V10h-2.5z"}},{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M10 5h7.5v2.5H10zm32.5-2.5H45V10h-2.5z"}},{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M40 5h7.5v2.5H40z"}}]}}},"mouth":{"width":60,"height":10,"variants":{"grill":{"elements":[{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M22.5 2.5H25v5h-2.5zm5 0H30v5h-2.5zm5 0H35v5h-2.5zm5 0H40v5h-2.5z"}}]},"speaker":{"elements":[{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M22.5 2.5H25V5h-2.5zm5 0H30V5h-2.5zm5 0H35V5h-2.5zm5 0H40V5h-2.5zM25 5h2.5v2.5H25zm5 0h2.5v2.5H30zm5 0h2.5v2.5H35z"}}]},"line":{"elements":[{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M22.5 2.5h15V5h-15z"}}]},"smile":{"elements":[{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M20 0h2.5v2.5H20zm2.5 2.5h15V5h-15zm15-2.5H40v2.5h-2.5z"}}]},"zigzag":{"elements":[{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"glow"},"d":"M20 2.5h2.5V5H20zM22.5 5H25v2.5h-2.5zM25 2.5h2.5V5H25zM27.5 5H30v2.5h-2.5zM30 2.5h2.5V5H30zM32.5 5H35v2.5h-2.5zM35 2.5h2.5V5H35zM37.5 5H40v2.5h-2.5z"}}]}}},"animation":{"width":128,"height":128,"variants":{"none":{"elements":[]},"fastest":{"weight":0,"tags":["animation"],"elements":[{"name":"style","type":"element","children":[{"type":"text","value":"@media (prefers-reduced-motion: no-preference) { @keyframes vb-blink { 0%, 92%, 100% { opacity: 0; } 94%, 98% { opacity: 1; } } @keyframes vb-stretch { 0%, 85.9%, 96%, 100% { transform: translateY(0); } 86%, 95.9% { transform: translateY(-2.5px); } } @keyframes vb-lift { 0%, 86.9%, 95%, 100% { transform: translateY(0); } 87%, 94.9% { transform: translateY(-2.5px); } } .vb-blink-fastest { animation: vb-blink 2.5s linear infinite; } .vb-upper { animation: vb-stretch 4s linear infinite; } .vb-head { animation: vb-lift 4s linear infinite; } }"}]},{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"screen"},"class":"vb-blink-fastest","opacity":"0","d":"M34 44h50v15H34z"}}]},"fast":{"weight":0,"tags":["animation"],"elements":[{"name":"style","type":"element","children":[{"type":"text","value":"@media (prefers-reduced-motion: no-preference) { @keyframes vb-blink { 0%, 92%, 100% { opacity: 0; } 94%, 98% { opacity: 1; } } @keyframes vb-stretch { 0%, 85.9%, 96%, 100% { transform: translateY(0); } 86%, 95.9% { transform: translateY(-2.5px); } } @keyframes vb-lift { 0%, 86.9%, 95%, 100% { transform: translateY(0); } 87%, 94.9% { transform: translateY(-2.5px); } } .vb-blink-fast { animation: vb-blink 3.5s linear infinite; } .vb-upper { animation: vb-stretch 5.5s linear infinite; } .vb-head { animation: vb-lift 5.5s linear infinite; } }"}]},{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"screen"},"class":"vb-blink-fast","opacity":"0","d":"M34 44h50v15H34z"}}]},"medium":{"weight":0,"tags":["animation"],"elements":[{"name":"style","type":"element","children":[{"type":"text","value":"@media (prefers-reduced-motion: no-preference) { @keyframes vb-blink { 0%, 92%, 100% { opacity: 0; } 94%, 98% { opacity: 1; } } @keyframes vb-stretch { 0%, 85.9%, 96%, 100% { transform: translateY(0); } 86%, 95.9% { transform: translateY(-2.5px); } } @keyframes vb-lift { 0%, 86.9%, 95%, 100% { transform: translateY(0); } 87%, 94.9% { transform: translateY(-2.5px); } } .vb-blink-medium { animation: vb-blink 4.5s linear infinite; } .vb-upper { animation: vb-stretch 7s linear infinite; } .vb-head { animation: vb-lift 7s linear infinite; } }"}]},{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"screen"},"class":"vb-blink-medium","opacity":"0","d":"M34 44h50v15H34z"}}]},"slow":{"weight":0,"tags":["animation"],"elements":[{"name":"style","type":"element","children":[{"type":"text","value":"@media (prefers-reduced-motion: no-preference) { @keyframes vb-blink { 0%, 92%, 100% { opacity: 0; } 94%, 98% { opacity: 1; } } @keyframes vb-stretch { 0%, 85.9%, 96%, 100% { transform: translateY(0); } 86%, 95.9% { transform: translateY(-2.5px); } } @keyframes vb-lift { 0%, 86.9%, 95%, 100% { transform: translateY(0); } 87%, 94.9% { transform: translateY(-2.5px); } } .vb-blink-slow { animation: vb-blink 6s linear infinite; } .vb-upper { animation: vb-stretch 9s linear infinite; } .vb-head { animation: vb-lift 9s linear infinite; } }"}]},{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"screen"},"class":"vb-blink-slow","opacity":"0","d":"M34 44h50v15H34z"}}]},"slowest":{"weight":0,"tags":["animation"],"elements":[{"name":"style","type":"element","children":[{"type":"text","value":"@media (prefers-reduced-motion: no-preference) { @keyframes vb-blink { 0%, 92%, 100% { opacity: 0; } 94%, 98% { opacity: 1; } } @keyframes vb-stretch { 0%, 85.9%, 96%, 100% { transform: translateY(0); } 86%, 95.9% { transform: translateY(-2.5px); } } @keyframes vb-lift { 0%, 86.9%, 95%, 100% { transform: translateY(0); } 87%, 94.9% { transform: translateY(-2.5px); } } .vb-blink-slowest { animation: vb-blink 8s linear infinite; } .vb-upper { animation: vb-stretch 12s linear infinite; } .vb-head { animation: vb-lift 12s linear infinite; } }"}]},{"name":"path","type":"element","attributes":{"fill":{"type":"color","name":"screen"},"class":"vb-blink-slowest","opacity":"0","d":"M34 44h50v15H34z"}}]}}},"top":{"width":128,"height":128,"probability":92,"variants":{"antenna":{"elements":[{"name":"path","type":"element","attributes":{"d":"M61 12.9h5v12.5h-5Zm0 0h5l1-.8h-5Zm5 0 1-.8v12.5l-1 .8Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M61 12.9h5l1-.8h-5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m66 12.9 1-.8v12.5l-1 .8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M58 5.8h10v7.5H58Zm0 0h10l2-1.6H60Zm10 0 2-1.6v7.5l-2 1.6Z","fill":{"type":"color","name":"glow"}}},{"name":"path","type":"element","attributes":{"d":"M58 5.8h10l2-1.6H60Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m68 5.8 2-1.6v7.5l-2 1.6Z","fill":"#000000","fill-opacity":".24"}}]},"twin":{"elements":[{"name":"path","type":"element","attributes":{"d":"M46 15.4h5v10h-5Zm0 0h5l1-.8h-5Zm5 0 1-.8v10l-1 .8Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M46 15.4h5l1-.8h-5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m51 15.4 1-.8v10l-1 .8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M43 10.8h10v5H43Zm0 0h10l2-1.6H45Zm10 0 2-1.6v5l-2 1.6Z","fill":{"type":"color","name":"glow"}}},{"name":"path","type":"element","attributes":{"d":"M43 10.8h10l2-1.6H45Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m53 10.8 2-1.6v5l-2 1.6Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M76 15.4h5v10h-5Zm0 0h5l1-.8h-5Zm5 0 1-.8v10l-1 .8Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M76 15.4h5l1-.8h-5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m81 15.4 1-.8v10l-1 .8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M73 10.8h10v5H73Zm0 0h10l2-1.6H75Zm10 0 2-1.6v5l-2 1.6Z","fill":{"type":"color","name":"glow"}}},{"name":"path","type":"element","attributes":{"d":"M73 10.8h10l2-1.6H75Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m83 10.8 2-1.6v5l-2 1.6Z","fill":"#000000","fill-opacity":".24"}}]},"dish":{"elements":[{"name":"path","type":"element","attributes":{"d":"M61 20.4h5v5h-5Zm0 0h5l1-.8h-5Zm5 0 1-.8v5l-1 .8Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M61 20.4h5l1-.8h-5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m66 20.4 1-.8v5l-1 .8Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M47.5 16.2h30v5h-30Zm0 0h30l3-2.4h-30Zm30 0 3-2.4v5l-3 2.4Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M47.5 16.2h30l3-2.4h-30Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m77.5 16.2 3-2.4v5l-3 2.4Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M60.5 13.3h5v2.5h-5Zm0 0h5l2-1.6h-5Zm5 0 2-1.6v2.5l-2 1.6Z","fill":{"type":"color","name":"glow"}}},{"name":"path","type":"element","attributes":{"d":"M60.5 13.3h5l2-1.6h-5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m65.5 13.3 2-1.6v2.5l-2 1.6Z","fill":"#000000","fill-opacity":".24"}}]},"fin":{"elements":[{"name":"path","type":"element","attributes":{"d":"M53.5 16.9h10v12.5h-10Zm0 0h10L74 8.5H64Zm10 0L74 8.5V21l-10.5 8.4Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M53.5 16.9h10L74 8.5H64Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"M63.5 16.9 74 8.5V21l-10.5 8.4Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"fill":"#000000","fill-opacity":".16","d":"M53.5 29.4h10v2h-10z"}}]},"lightbar":{"elements":[{"name":"path","type":"element","attributes":{"d":"M48 20.8h30v5H48Zm0 0h30l2-1.6H50Zm30 0 2-1.6v5l-2 1.6Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M48 20.8h30l2-1.6H50Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m78 20.8 2-1.6v5l-2 1.6Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M50.5 18.3h5v2.5h-5Zm0 0h5l2-1.6h-5Zm5 0 2-1.6v2.5l-2 1.6Z","fill":{"type":"color","name":"glow"}}},{"name":"path","type":"element","attributes":{"d":"M50.5 18.3h5l2-1.6h-5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m55.5 18.3 2-1.6v2.5l-2 1.6Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M60.5 18.3h5v2.5h-5Zm0 0h5l2-1.6h-5Zm5 0 2-1.6v2.5l-2 1.6Z","fill":{"type":"color","name":"glow"}}},{"name":"path","type":"element","attributes":{"d":"M60.5 18.3h5l2-1.6h-5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m65.5 18.3 2-1.6v2.5l-2 1.6Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M70.5 18.3h5v2.5h-5Zm0 0h5l2-1.6h-5Zm5 0 2-1.6v2.5l-2 1.6Z","fill":{"type":"color","name":"glow"}}},{"name":"path","type":"element","attributes":{"d":"M70.5 18.3h5l2-1.6h-5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m75.5 18.3 2-1.6v2.5l-2 1.6Z","fill":"#000000","fill-opacity":".24"}}]},"studs":{"elements":[{"name":"path","type":"element","attributes":{"d":"M35.5 18.3H43v7.5h-7.5Zm0 0H43l2-1.6h-7.5Zm7.5 0 2-1.6v7.5l-2 1.6Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M35.5 18.3H43l2-1.6h-7.5Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m43 18.3 2-1.6v7.5l-2 1.6Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M83 18.3h7.5v7.5H83Zm0 0h7.5l2-1.6H85Zm7.5 0 2-1.6v7.5l-2 1.6Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M83 18.3h7.5l2-1.6H85Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m90.5 18.3 2-1.6v7.5l-2 1.6Z","fill":"#000000","fill-opacity":".24"}}]},"siren":{"elements":[{"name":"path","type":"element","attributes":{"d":"M52.5 23.7h20v2.5h-20Zm0 0h20l3-2.4h-20Zm20 0 3-2.4v2.5l-3 2.4Z","fill":{"type":"color","name":"accent"}}},{"name":"path","type":"element","attributes":{"d":"M52.5 23.7h20l3-2.4h-20Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m72.5 23.7 3-2.4v2.5l-3 2.4Z","fill":"#000000","fill-opacity":".24"}},{"name":"path","type":"element","attributes":{"d":"M55.5 15.8h15v7.5h-15Zm0 0h15l2-1.6h-15Zm15 0 2-1.6v7.5l-2 1.6Z","fill":{"type":"color","name":"glow"}}},{"name":"path","type":"element","attributes":{"d":"M55.5 15.8h15l2-1.6h-15Z","fill":"#ffffff","fill-opacity":".38"}},{"name":"path","type":"element","attributes":{"d":"m70.5 15.8 2-1.6v7.5l-2 1.6Z","fill":"#000000","fill-opacity":".24"}}]}}}},"colors":{"background":{"values":["#b6e3f4","#c0aede","#d1d4f9","#ffd5dc","#ffdfbf"]},"body":{"values":["#e9ecef","#aeb8c2","#74c0fc","#63e6be","#ffd43b","#ff9d9d","#b6a6f5","#69db7c"]},"accent":{"values":["#343a40","#495057","#2f3b4c","#5f6b7a","#7a4a2d","#243b53"]},"screen":{"values":["#161a21","#101c17","#1a1430","#211016"]},"glow":{"values":["#3bc9db","#69db7c","#ffd43b","#ff6b6b","#e599f7","#74c0fc","#fff3bf"],"notEqualTo":["body"]}}}')},20291:(a,b,c)=>{"use strict";c.d(b,{d:()=>e});let d={};function e(a,b){let c=b||d;return f(a,"boolean"!=typeof c.includeImageAlt||c.includeImageAlt,"boolean"!=typeof c.includeHtml||c.includeHtml)}function f(a,b,c){var d;if((d=a)&&"object"==typeof d){if("value"in a)return"html"!==a.type||c?a.value:"";if(b&&"alt"in a&&a.alt)return a.alt;if("children"in a)return g(a.children,b,c)}return Array.isArray(a)?g(a,b,c):""}function g(a,b,c){let d=[],e=-1;for(;++e<a.length;)d[e]=f(a[e],b,c);return d.join("")}},20447:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},20584:a=>{var b=/^(?:0|[1-9]\d*)$/;function c(a,b,c){switch(c.length){case 0:return a.call(b);case 1:return a.call(b,c[0]);case 2:return a.call(b,c[0],c[1]);case 3:return a.call(b,c[0],c[1],c[2])}return a.apply(b,c)}var d=Object.prototype,e=d.hasOwnProperty,f=d.toString,g=d.propertyIsEnumerable,h=Math.max;function i(a,b,c,f){return void 0===a||l(a,d[c])&&!e.call(f,c)?b:a}function j(a,b){return b=h(void 0===b?a.length-1:b,0),function(){for(var d=arguments,e=-1,f=h(d.length-b,0),g=Array(f);++e<f;)g[e]=d[b+e];e=-1;for(var i=Array(b+1);++e<b;)i[e]=d[e];return i[b]=g,c(a,this,i)}}function k(a,c){return!!(c=null==c?0x1fffffffffffff:c)&&("number"==typeof a||b.test(a))&&a>-1&&a%1==0&&a<c}function l(a,b){return a===b||a!=a&&b!=b}var m=Array.isArray;function n(a){var b,c,d;return null!=a&&"number"==typeof(b=a.length)&&b>-1&&b%1==0&&b<=0x1fffffffffffff&&"[object Function]"!=(d=o(c=a)?f.call(c):"")&&"[object GeneratorFunction]"!=d}function o(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}var p=function(a){return j(function(b,c){var d=-1,e=c.length,f=e>1?c[e-1]:void 0,g=e>2?c[2]:void 0;for(f=a.length>3&&"function"==typeof f?(e--,f):void 0,g&&function(a,b,c){if(!o(c))return!1;var d=typeof b;return("number"==d?!!(n(c)&&k(b,c.length)):"string"==d&&b in c)&&l(c[b],a)}(c[0],c[1],g)&&(f=e<3?void 0:f,e=1),b=Object(b);++d<e;){var h=c[d];h&&a(b,h,d,f)}return b})}(function(a,b,c,h){var i;!function(a,b,c,d){c||(c={});for(var f=-1,g=b.length;++f<g;){var h=b[f],i=d?d(c[h],a[h],h,c,a):void 0;!function(a,b,c){var d=a[b];e.call(a,b)&&l(d,c)&&(void 0!==c||b in a)||(a[b]=c)}(c,h,void 0===i?a[h]:i)}}(b,n(i=b)?function(a,b){var c,d,h,i=m(a)||(h=d=c=a)&&"object"==typeof h&&n(d)&&e.call(c,"callee")&&(!g.call(c,"callee")||"[object Arguments]"==f.call(c))?function(a,b){for(var c=-1,d=Array(a);++c<a;)d[c]=b(c);return d}(a.length,String):[],j=i.length,l=!!j;for(var o in a)(b||e.call(a,o))&&!(l&&("length"==o||k(o,j)))&&i.push(o);return i}(i,!0):function(a){if(!o(a)){var b,c,f=a,g=[];if(null!=f)for(var h in Object(f))g.push(h);return g}var i=(c=(b=a)&&b.constructor,b===("function"==typeof c&&c.prototype||d)),j=[];for(var k in a)"constructor"==k&&(i||!e.call(a,k))||j.push(k);return j}(i),a,h)});a.exports=j(function(a){return a.push(void 0,i),c(p,void 0,a)})},20728:(a,b,c)=>{var d;(()=>{var e={226:function(e,f){!function(g,h){"use strict";var i="function",j="undefined",k="object",l="string",m="major",n="model",o="name",p="type",q="vendor",r="version",s="architecture",t="console",u="mobile",v="tablet",w="smarttv",x="wearable",y="embedded",z="Amazon",A="Apple",B="ASUS",C="BlackBerry",D="Browser",E="Chrome",F="Firefox",G="Google",H="Huawei",I="Microsoft",J="Motorola",K="Opera",L="Samsung",M="Sharp",N="Sony",O="Xiaomi",P="Zebra",Q="Facebook",R="Chromium OS",S="Mac OS",T=function(a,b){var c={};for(var d in a)b[d]&&b[d].length%2==0?c[d]=b[d].concat(a[d]):c[d]=a[d];return c},U=function(a){for(var b={},c=0;c<a.length;c++)b[a[c].toUpperCase()]=a[c];return b},V=function(a,b){return typeof a===l&&-1!==W(b).indexOf(W(a))},W=function(a){return a.toLowerCase()},X=function(a,b){if(typeof a===l)return a=a.replace(/^\s\s*/,""),typeof b===j?a:a.substring(0,350)},Y=function(a,b){for(var c,d,e,f,g,j,l=0;l<b.length&&!g;){var m=b[l],n=b[l+1];for(c=d=0;c<m.length&&!g&&m[c];)if(g=m[c++].exec(a))for(e=0;e<n.length;e++)j=g[++d],typeof(f=n[e])===k&&f.length>0?2===f.length?typeof f[1]==i?this[f[0]]=f[1].call(this,j):this[f[0]]=f[1]:3===f.length?typeof f[1]!==i||f[1].exec&&f[1].test?this[f[0]]=j?j.replace(f[1],f[2]):void 0:this[f[0]]=j?f[1].call(this,j,f[2]):void 0:4===f.length&&(this[f[0]]=j?f[3].call(this,j.replace(f[1],f[2])):h):this[f]=j||h;l+=2}},Z=function(a,b){for(var c in b)if(typeof b[c]===k&&b[c].length>0){for(var d=0;d<b[c].length;d++)if(V(b[c][d],a))return"?"===c?h:c}else if(V(b[c],a))return"?"===c?h:c;return a},$={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},_={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[r,[o,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[r,[o,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[o,r],[/opios[\/ ]+([\w\.]+)/i],[r,[o,K+" Mini"]],[/\bopr\/([\w\.]+)/i],[r,[o,K]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[o,r],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[r,[o,"UC"+D]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[r,[o,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[r,[o,"WeChat"]],[/konqueror\/([\w\.]+)/i],[r,[o,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[r,[o,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[r,[o,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[o,/(.+)/,"$1 Secure "+D],r],[/\bfocus\/([\w\.]+)/i],[r,[o,F+" Focus"]],[/\bopt\/([\w\.]+)/i],[r,[o,K+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[r,[o,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[r,[o,"Dolphin"]],[/coast\/([\w\.]+)/i],[r,[o,K+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[r,[o,"MIUI "+D]],[/fxios\/([-\w\.]+)/i],[r,[o,F]],[/\bqihu|(qi?ho?o?|360)browser/i],[[o,"360 "+D]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[o,/(.+)/,"$1 "+D],r],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],r],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[o,r],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[o],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[o,Q],r],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[o,r],[/\bgsa\/([\w\.]+) .*safari\//i],[r,[o,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[r,[o,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[r,[o,E+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[o,E+" WebView"],r],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[r,[o,"Android "+D]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[o,r],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[r,[o,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[r,o],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[o,[r,Z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[o,r],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[o,"Netscape"],r],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[r,[o,F+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[o,r],[/(cobalt)\/([\w\.]+)/i],[o,[r,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[s,"amd64"]],[/(ia32(?=;))/i],[[s,W]],[/((?:i[346]|x)86)[;\)]/i],[[s,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[s,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[s,"armhf"]],[/windows (ce|mobile); ppc;/i],[[s,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[s,/ower/,"",W]],[/(sun4\w)[;\)]/i],[[s,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[s,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[n,[q,L],[p,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[n,[q,L],[p,u]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[n,[q,A],[p,u]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[n,[q,A],[p,v]],[/(macintosh);/i],[n,[q,A]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[n,[q,M],[p,u]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[n,[q,H],[p,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[n,[q,H],[p,u]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[n,/_/g," "],[q,O],[p,u]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[n,/_/g," "],[q,O],[p,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[n,[q,"OPPO"],[p,u]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[n,[q,"Vivo"],[p,u]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[n,[q,"Realme"],[p,u]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[n,[q,J],[p,u]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[n,[q,J],[p,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[n,[q,"LG"],[p,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[n,[q,"LG"],[p,u]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[n,[q,"Lenovo"],[p,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[n,/_/g," "],[q,"Nokia"],[p,u]],[/(pixel c)\b/i],[n,[q,G],[p,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[n,[q,G],[p,u]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[n,[q,N],[p,u]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[n,"Xperia Tablet"],[q,N],[p,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[n,[q,"OnePlus"],[p,u]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[n,[q,z],[p,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[n,/(.+)/g,"Fire Phone $1"],[q,z],[p,u]],[/(playbook);[-\w\),; ]+(rim)/i],[n,q,[p,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[n,[q,C],[p,u]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[n,[q,B],[p,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[n,[q,B],[p,u]],[/(nexus 9)/i],[n,[q,"HTC"],[p,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[q,[n,/_/g," "],[p,u]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[n,[q,"Acer"],[p,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[n,[q,"Meizu"],[p,u]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[q,n,[p,u]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[q,n,[p,v]],[/(surface duo)/i],[n,[q,I],[p,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[n,[q,"Fairphone"],[p,u]],[/(u304aa)/i],[n,[q,"AT&T"],[p,u]],[/\bsie-(\w*)/i],[n,[q,"Siemens"],[p,u]],[/\b(rct\w+) b/i],[n,[q,"RCA"],[p,v]],[/\b(venue[\d ]{2,7}) b/i],[n,[q,"Dell"],[p,v]],[/\b(q(?:mv|ta)\w+) b/i],[n,[q,"Verizon"],[p,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[n,[q,"Barnes & Noble"],[p,v]],[/\b(tm\d{3}\w+) b/i],[n,[q,"NuVision"],[p,v]],[/\b(k88) b/i],[n,[q,"ZTE"],[p,v]],[/\b(nx\d{3}j) b/i],[n,[q,"ZTE"],[p,u]],[/\b(gen\d{3}) b.+49h/i],[n,[q,"Swiss"],[p,u]],[/\b(zur\d{3}) b/i],[n,[q,"Swiss"],[p,v]],[/\b((zeki)?tb.*\b) b/i],[n,[q,"Zeki"],[p,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[q,"Dragon Touch"],n,[p,v]],[/\b(ns-?\w{0,9}) b/i],[n,[q,"Insignia"],[p,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[n,[q,"NextBook"],[p,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[q,"Voice"],n,[p,u]],[/\b(lvtel\-)?(v1[12]) b/i],[[q,"LvTel"],n,[p,u]],[/\b(ph-1) /i],[n,[q,"Essential"],[p,u]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[n,[q,"Envizen"],[p,v]],[/\b(trio[-\w\. ]+) b/i],[n,[q,"MachSpeed"],[p,v]],[/\btu_(1491) b/i],[n,[q,"Rotor"],[p,v]],[/(shield[\w ]+) b/i],[n,[q,"Nvidia"],[p,v]],[/(sprint) (\w+)/i],[q,n,[p,u]],[/(kin\.[onetw]{3})/i],[[n,/\./g," "],[q,I],[p,u]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[n,[q,P],[p,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[n,[q,P],[p,u]],[/smart-tv.+(samsung)/i],[q,[p,w]],[/hbbtv.+maple;(\d+)/i],[[n,/^/,"SmartTV"],[q,L],[p,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[q,"LG"],[p,w]],[/(apple) ?tv/i],[q,[n,A+" TV"],[p,w]],[/crkey/i],[[n,E+"cast"],[q,G],[p,w]],[/droid.+aft(\w)( bui|\))/i],[n,[q,z],[p,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[n,[q,M],[p,w]],[/(bravia[\w ]+)( bui|\))/i],[n,[q,N],[p,w]],[/(mitv-\w{5}) bui/i],[n,[q,O],[p,w]],[/Hbbtv.*(technisat) (.*);/i],[q,n,[p,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[q,X],[n,X],[p,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[q,n,[p,t]],[/droid.+; (shield) bui/i],[n,[q,"Nvidia"],[p,t]],[/(playstation [345portablevi]+)/i],[n,[q,N],[p,t]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[n,[q,I],[p,t]],[/((pebble))app/i],[q,n,[p,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[n,[q,A],[p,x]],[/droid.+; (glass) \d/i],[n,[q,G],[p,x]],[/droid.+; (wt63?0{2,3})\)/i],[n,[q,P],[p,x]],[/(quest( 2| pro)?)/i],[n,[q,Q],[p,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[q,[p,y]],[/(aeobc)\b/i],[n,[q,z],[p,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[n,[p,u]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[n,[p,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,u]],[/(android[-\w\. ]{0,9});.+buil/i],[n,[q,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[r,[o,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[r,[o,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[o,r],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[r,o]],os:[[/microsoft (windows) (vista|xp)/i],[o,r],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[o,[r,Z,$]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[o,"Windows"],[r,Z,$]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[r,/_/g,"."],[o,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[o,S],[r,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[r,o],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[o,r],[/\(bb(10);/i],[r,[o,C]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[r,[o,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[r,[o,F+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[r,[o,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[r,[o,"watchOS"]],[/crkey\/([\d\.]+)/i],[r,[o,E+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[o,R],r],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[o,r],[/(sunos) ?([\w\.\d]*)/i],[[o,"Solaris"],r],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[o,r]]},aa=function(a,b){if(typeof a===k&&(b=a,a=h),!(this instanceof aa))return new aa(a,b).getResult();var c=typeof g!==j&&g.navigator?g.navigator:h,d=a||(c&&c.userAgent?c.userAgent:""),e=c&&c.userAgentData?c.userAgentData:h,f=b?T(_,b):_,t=c&&c.userAgent==d;return this.getBrowser=function(){var a,b={};return b[o]=h,b[r]=h,Y.call(b,d,f.browser),b[m]=typeof(a=b[r])===l?a.replace(/[^\d\.]/g,"").split(".")[0]:h,t&&c&&c.brave&&typeof c.brave.isBrave==i&&(b[o]="Brave"),b},this.getCPU=function(){var a={};return a[s]=h,Y.call(a,d,f.cpu),a},this.getDevice=function(){var a={};return a[q]=h,a[n]=h,a[p]=h,Y.call(a,d,f.device),t&&!a[p]&&e&&e.mobile&&(a[p]=u),t&&"Macintosh"==a[n]&&c&&typeof c.standalone!==j&&c.maxTouchPoints&&c.maxTouchPoints>2&&(a[n]="iPad",a[p]=v),a},this.getEngine=function(){var a={};return a[o]=h,a[r]=h,Y.call(a,d,f.engine),a},this.getOS=function(){var a={};return a[o]=h,a[r]=h,Y.call(a,d,f.os),t&&!a[o]&&e&&"Unknown"!=e.platform&&(a[o]=e.platform.replace(/chrome os/i,R).replace(/macos/i,S)),a},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return d},this.setUA=function(a){return d=typeof a===l&&a.length>350?X(a,350):a,this},this.setUA(d),this};aa.VERSION="1.0.35",aa.BROWSER=U([o,r,m]),aa.CPU=U([s]),aa.DEVICE=U([n,q,p,t,u,w,v,x,y]),aa.ENGINE=aa.OS=U([o,r]),typeof f!==j?(e.exports&&(f=e.exports=aa),f.UAParser=aa):c.amdO?void 0===(d=(function(){return aa}).call(b,c,b,a))||(a.exports=d):typeof g!==j&&(g.UAParser=aa);var ab=typeof g!==j&&(g.jQuery||g.Zepto);if(ab&&!ab.ua){var ac=new aa;ab.ua=ac.getResult(),ab.ua.get=function(){return ac.getUA()},ab.ua.set=function(a){ac.setUA(a);var b=ac.getResult();for(var c in b)ab.ua[c]=b[c]}}}("object"==typeof window?window:this)}},f={};function g(a){var b=f[a];if(void 0!==b)return b.exports;var c=f[a]={exports:{}},d=!0;try{e[a].call(c.exports,c,c.exports,g),d=!1}finally{d&&delete f[a]}return c.exports}g.ab=__dirname+"/",a.exports=g(226)})()},20903:(a,b,c)=>{"use strict";function d(a){return a.ownerDocument&&a.ownerDocument.defaultView||a.document&&a||a.defaultView}c.d(b,{A:()=>d})},20992:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(35842),e=c(37785),f=c(65078),g=c(28354),h=c(36385),i=c(86944),j=c(55178);class k extends j.default{constructor(a){super(),this.redis=a,this.isPipeline=!0,this.replyPending=0,this._queue=[],this._result=[],this._transactions=0,this._shaToScript={},this.isCluster="Cluster"===this.redis.constructor.name||this.redis.isCluster,this.options=a.options,Object.keys(a.scriptsSet).forEach(b=>{let c=a.scriptsSet[b];this._shaToScript[c.sha]=c,this[b]=a[b],this[b+"Buffer"]=a[b+"Buffer"]}),a.addedBuiltinSet.forEach(b=>{this[b]=a[b],this[b+"Buffer"]=a[b+"Buffer"]}),this.promise=new Promise((a,b)=>{this.resolve=a,this.reject=b});let b=this;Object.defineProperty(this,"length",{get:function(){return b._queue.length}})}fillResult(a,b){if("exec"===this._queue[b].name&&Array.isArray(a[1])){let c=a[1].length;for(let d=0;d<c;d++){if(a[1][d]instanceof Error)continue;let e=this._queue[b-(c-d)];try{a[1][d]=e.transformReply(a[1][d])}catch(b){a[1][d]=b}}}if(this._result[b]=a,--this.replyPending)return;if(this.isCluster){let a,b=!0;for(let c=0;c<this._result.length;++c){let d=this._result[c][0],f=this._queue[c];if(d){if("exec"===f.name&&"EXECABORT Transaction discarded because of previous errors."===d.message)continue;if(a){if(a.name!==d.name||a.message!==d.message){b=!1;break}}else a={name:d.name,message:d.message}}else if(!f.inTransaction&&!((0,e.exists)(f.name,{caseInsensitive:!0})&&(0,e.hasFlag)(f.name,"readonly",{nameCaseInsensitive:!0}))){b=!1;break}}if(a&&b){let b=this,c=a.message.split(" "),d=this._queue,e=!1;this._queue=[];for(let a=0;a<d.length;++a){if("ASK"===c[0]&&!e&&"asking"!==d[a].name&&(!d[a-1]||"asking"!==d[a-1].name)){let a=new h.default("asking");a.ignore=!0,this.sendCommand(a)}d[a].initPromise(),this.sendCommand(d[a]),e=d[a].inTransaction}let f=!0;void 0===this.leftRedirections&&(this.leftRedirections={});let g=function(){b.exec()},i=this.redis;if(i.handleError(a,this.leftRedirections,{moved:function(a,d){b.preferKey=d,i.slots[c[1]]?i.slots[c[1]][0]!==d&&(i.slots[c[1]]=[d]):i.slots[c[1]]=[d],i._groupsBySlot[c[1]]=i._groupsIds[i.slots[c[1]].join(";")],i.refreshSlotsCache(),b.exec()},ask:function(a,c){b.preferKey=c,b.exec()},tryagain:g,clusterDown:g,connectionClosed:g,maxRedirections:()=>{f=!1},defaults:()=>{f=!1}}),f)return}}let c=0;for(let a=0;a<this._queue.length-c;++a)this._queue[a+c].ignore&&(c+=1),this._result[a]=this._result[a+c];this.resolve(this._result.slice(0,this._result.length-c))}sendCommand(a){this._transactions>0&&(a.inTransaction=!0);let b=this._queue.length;return a.pipelineIndex=b,a.promise.then(a=>{this.fillResult([null,a],b)}).catch(a=>{this.fillResult([a],b)}),this._queue.push(a),this}addBatch(a){let b,c,d;for(let e=0;e<a.length;++e)c=(b=a[e])[0],d=b.slice(1),this[c].apply(this,d);return this}}b.default=k;let l=k.prototype.multi;k.prototype.multi=function(){return this._transactions+=1,l.apply(this,arguments)};let m=k.prototype.execBuffer;k.prototype.execBuffer=(0,g.deprecate)(function(){return this._transactions>0&&(this._transactions-=1),m.apply(this,arguments)},"Pipeline#execBuffer: Use Pipeline#exec instead"),k.prototype.exec=function(a){let b;if(this.isCluster&&!this.redis.slots.length)return"wait"===this.redis.status&&this.redis.connect().catch(i.noop),a&&!this.nodeifiedPromise&&(this.nodeifiedPromise=!0,(0,f.default)(this.promise,a)),this.redis.delayUntilReady(b=>{if(b)return void this.reject(b);this.exec(a)}),this.promise;if(this._transactions>0)return this._transactions-=1,m.apply(this,arguments);if(this.nodeifiedPromise||(this.nodeifiedPromise=!0,(0,f.default)(this.promise,a)),this._queue.length||this.resolve([]),this.isCluster){let a=[];for(let b=0;b<this._queue.length;b++){let c=this._queue[b].getKeys();if(c.length&&a.push(c[0]),c.length&&0>d.generateMulti(c))return this.reject(Error("All the keys in a pipeline command should belong to the same slot")),this.promise}if(a.length){if((b=function(a,b){let c=d(b[0]),e=a._groupsBySlot[c];for(let c=1;c<b.length;c++)if(a._groupsBySlot[d(b[c])]!==e)return -1;return c}(this.redis,a))<0)return this.reject(Error("All keys in the pipeline should belong to the same slots allocation group")),this.promise}else b=16384*Math.random()|0}let c=this;return function(){let a,d,e=c.replyPending=c._queue.length;c.isCluster&&(a={slot:b,redis:c.redis.connectionPool.nodes.all[c.preferKey]});let f="",g={isPipeline:!0,destination:c.isCluster?a:{redis:c.redis},write(a){"string"!=typeof a?(d||(d=[]),f&&(d.push(Buffer.from(f,"utf8")),f=""),d.push(a)):f+=a,--e||(d?(f&&d.push(Buffer.from(f,"utf8")),g.destination.redis.stream.write(Buffer.concat(d))):g.destination.redis.stream.write(f),e=c._queue.length,f="",d=void 0)}};for(let b=0;b<c._queue.length;++b)c.redis.sendCommand(c._queue[b],g,a);c.promise}(),this.promise}},21330:(a,b)=>{"use strict";function c(a){return a.startsWith("/")?a:"/"+a}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ensureLeadingSlash",{enumerable:!0,get:function(){return c}})},21625:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=c(59916);let e=function(a,b,c){"__proto__"==b&&d.A?(0,d.A)(a,b,{configurable:!0,enumerable:!0,value:c,writable:!0}):a[b]=c}},21670:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(17302),e=c(99554);let f=(0,d.A)(e.A,"Map")},21692:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},21790:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},21894:(a,b,c)=>{"use strict";c.d(b,{A:()=>m});var d=c(87684),e=c(58099),f=c(95798),g=c(906),h=c(31001),i=c(10610),j=c(62190),k=c(57574),l=Object.prototype.hasOwnProperty;let m=function(a){if(null==a)return!0;if((0,h.A)(a)&&((0,g.A)(a)||"string"==typeof a||"function"==typeof a.splice||(0,i.A)(a)||(0,k.A)(a)||(0,f.A)(a)))return!a.length;var b=(0,e.A)(a);if("[object Map]"==b||"[object Set]"==b)return!a.size;if((0,j.A)(a))return!(0,d.A)(a).length;for(var c in a)if(l.call(a,c))return!1;return!0}},22001:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"NextResponse",{enumerable:!0,get:function(){return l}});let d=c(43313),e=c(10959),f=c(63279),g=c(56898),h=c(43313),i=Symbol("internal response"),j=new Set([301,302,303,307,308]);function k(a,b){var c;if(null==a||null==(c=a.request)?void 0:c.headers){if(!(a.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let c=[];for(let[d,e]of a.request.headers)b.set("x-middleware-request-"+d,e),c.push(d);b.set("x-middleware-override-headers",c.join(","))}}class l extends Response{constructor(a,b={}){super(a,b);let c=this.headers,j=new Proxy(new h.ResponseCookies(c),{get(a,e,f){switch(e){case"delete":case"set":return(...f)=>{let g=Reflect.apply(a[e],a,f),i=new Headers(c);return g instanceof h.ResponseCookies&&c.set("x-middleware-set-cookie",g.getAll().map(a=>(0,d.stringifyCookie)(a)).join(",")),k(b,i),g};default:return g.ReflectAdapter.get(a,e,f)}}});this[i]={cookies:j,url:b.url?new e.NextURL(b.url,{headers:(0,f.toNodeOutgoingHttpHeaders)(c),nextConfig:b.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[i].cookies}static json(a,b){let c=Response.json(a,b);return new l(c.body,c)}static redirect(a,b){let c="number"==typeof b?b:(null==b?void 0:b.status)??307;if(!j.has(c))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let d="object"==typeof b?b:{},e=new Headers(null==d?void 0:d.headers);return e.set("Location",(0,f.validateURL)(a)),new l(null,{...d,headers:e,status:c})}static rewrite(a,b){let c=new Headers(null==b?void 0:b.headers);return c.set("x-middleware-rewrite",(0,f.validateURL)(a)),k(b,c),new l(null,{...b,headers:c})}static next(a){let b=new Headers(null==a?void 0:a.headers);return b.set("x-middleware-next","1"),k(a,b),new l(null,{...a,headers:b})}}},22057:(a,b,c)=>{"use strict";c.d(b,{s:()=>e});var d=c(1836);function e(a){return(0,d.G)(a)&&"offsetHeight"in a&&!("ownerSVGElement"in a)}},22141:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getNextPathnameInfo",{enumerable:!0,get:function(){return g}});let d=c(89114),e=c(60292),f=c(43048);function g(a,b){var c,g;let{basePath:h,i18n:i,trailingSlash:j}=null!=(c=b.nextConfig)?c:{},k={pathname:a,trailingSlash:"/"!==a?a.endsWith("/"):j};h&&(0,f.pathHasPrefix)(k.pathname,h)&&(k.pathname=(0,e.removePathPrefix)(k.pathname,h),k.basePath=h);let l=k.pathname;if(k.pathname.startsWith("/_next/data/")&&k.pathname.endsWith(".json")){let a=k.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");k.buildId=a[0],l="index"!==a[1]?"/"+a.slice(1).join("/"):"/",!0===b.parseData&&(k.pathname=l)}if(i){let a=b.i18nProvider?b.i18nProvider.analyze(k.pathname):(0,d.normalizeLocalePath)(k.pathname,i.locales);k.locale=a.detectedLocale,k.pathname=null!=(g=a.pathname)?g:k.pathname,!a.detectedLocale&&k.buildId&&(a=b.i18nProvider?b.i18nProvider.analyze(l):(0,d.normalizeLocalePath)(l,i.locales)).detectedLocale&&(k.locale=a.detectedLocale)}return k}},22565:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addLocale",{enumerable:!0,get:function(){return f}});let d=c(42911),e=c(43048);function f(a,b,c,f){if(!b||b===c)return a;let g=a.toLowerCase();return!f&&((0,e.pathHasPrefix)(g,"/api")||(0,e.pathHasPrefix)(g,"/"+b.toLowerCase()))?a:(0,d.addPathPrefix)(a,"/"+b)}},22568:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(23202),e=c(21625);let f=function(a,b,c,f){var g=!c;c||(c={});for(var h=-1,i=b.length;++h<i;){var j=b[h],k=f?f(c[j],a[j],j,c,a):void 0;void 0===k&&(k=a[j]),g?(0,e.A)(c,j,k):(0,d.A)(c,j,k)}return c}},23057:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{BailoutToCSRError:function(){return d},isBailoutToCSRError:function(){return e}});let c="BAILOUT_TO_CLIENT_SIDE_RENDERING";class d extends Error{constructor(a){super("Bail out to client-side rendering: "+a),this.reason=a,this.digest=c}}function e(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===c}},23202:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(21625),e=c(24669),f=Object.prototype.hasOwnProperty;let g=function(a,b,c){var g=a[b];f.call(a,b)&&(0,e.A)(g,c)&&(void 0!==c||b in a)||(0,d.A)(a,b,c)}},23584:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=/^(?:0|[1-9]\d*)$/;let e=function(a,b){var c=typeof a;return!!(b=null==b?0x1fffffffffffff:b)&&("number"==c||"symbol"!=c&&d.test(a))&&a>-1&&a%1==0&&a<b}},23608:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=c(32782);let e=function(a,b){var c=b?(0,d.A)(a.buffer):a.buffer;return new a.constructor(c,a.byteOffset,a.length)}},23771:(a,b,c)=>{"use strict";c.d(b,{z:()=>e});var d=c(15703);function e(){return(0,d.useSyncExternalStore)(f,()=>!0,()=>!1)}function f(){return()=>{}}},24323:(a,b,c)=>{"use strict";let d=c(50691),e=c(29294),f=c(63033),g=c(13786),h=c(60114),i=c(91275),j=c(72281),k=c(45110),l=c(78780);c(56898);new WeakMap;(0,j.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`headers()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E277",enumerable:!1,configurable:!0})})},24383:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},24460:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},24669:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a,b){return a===b||a!=a&&b!=b}},24748:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{bootstrap:function(){return i},error:function(){return k},event:function(){return o},info:function(){return n},prefixes:function(){return f},ready:function(){return m},trace:function(){return p},wait:function(){return j},warn:function(){return l},warnOnce:function(){return r}});let d=c(90312),e=c(26473),f={wait:(0,d.white)((0,d.bold)("○")),error:(0,d.red)((0,d.bold)("⨯")),warn:(0,d.yellow)((0,d.bold)("⚠")),ready:"▲",info:(0,d.white)((0,d.bold)(" ")),event:(0,d.green)((0,d.bold)("✓")),trace:(0,d.magenta)((0,d.bold)("\xbb"))},g={log:"log",warn:"warn",error:"error"};function h(a,...b){(""===b[0]||void 0===b[0])&&1===b.length&&b.shift();let c=a in g?g[a]:"log",d=f[a];0===b.length?console[c](""):1===b.length&&"string"==typeof b[0]?console[c](" "+d+" "+b[0]):console[c](" "+d,...b)}function i(...a){console.log(" "+a.join(" "))}function j(...a){h("wait",...a)}function k(...a){h("error",...a)}function l(...a){h("warn",...a)}function m(...a){h("ready",...a)}function n(...a){h("info",...a)}function o(...a){h("event",...a)}function p(...a){h("trace",...a)}let q=new e.LRUCache(1e4,a=>a.length);function r(...a){let b=a.join(" ");q.has(b)||(q.set(b,b),l(...a))}},24762:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"URLPattern",{enumerable:!0,get:function(){return c}});let c="undefined"==typeof URLPattern?void 0:URLPattern},25355:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},25367:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});let d=(0,c(21968).createContext)(null)},25400:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Content:()=>F,List:()=>D,Root:()=>C,Tabs:()=>t,TabsContent:()=>z,TabsList:()=>v,TabsTrigger:()=>x,Trigger:()=>E,createTabsScope:()=>p});var d=c(21968),e=c(22546),f=c(42990),g=c(13700),h=c(5030),i=c(16551),j=c(16305),k=c(15035),l=c(22243),m=c(10837),n="Tabs",[o,p]=(0,f.A)(n,[g.RG]),q=(0,g.RG)(),[r,s]=o(n),t=d.forwardRef((a,b)=>{let{__scopeTabs:c,value:d,onValueChange:e,defaultValue:f,orientation:g="horizontal",dir:h,activationMode:o="automatic",...p}=a,q=(0,j.jH)(h),[s,t]=(0,k.i)({prop:d,onChange:e,defaultProp:f??"",caller:n});return(0,m.jsx)(r,{scope:c,baseId:(0,l.B)(),value:s,onValueChange:t,orientation:g,dir:q,activationMode:o,children:(0,m.jsx)(i.sG.div,{dir:q,"data-orientation":g,...p,ref:b})})});t.displayName=n;var u="TabsList",v=d.forwardRef((a,b)=>{let{__scopeTabs:c,loop:d=!0,...e}=a,f=s(u,c),h=q(c);return(0,m.jsx)(g.bL,{asChild:!0,...h,orientation:f.orientation,dir:f.dir,loop:d,children:(0,m.jsx)(i.sG.div,{role:"tablist","aria-orientation":f.orientation,...e,ref:b})})});v.displayName=u;var w="TabsTrigger",x=d.forwardRef((a,b)=>{let{__scopeTabs:c,value:d,disabled:f=!1,...h}=a,j=s(w,c),k=q(c),l=A(j.baseId,d),n=B(j.baseId,d),o=d===j.value;return(0,m.jsx)(g.q7,{asChild:!0,...k,focusable:!f,active:o,children:(0,m.jsx)(i.sG.button,{type:"button",role:"tab","aria-selected":o,"aria-controls":n,"data-state":o?"active":"inactive","data-disabled":f?"":void 0,disabled:f,id:l,...h,ref:b,onMouseDown:(0,e.mK)(a.onMouseDown,a=>{f||0!==a.button||!1!==a.ctrlKey?a.preventDefault():j.onValueChange(d)}),onKeyDown:(0,e.mK)(a.onKeyDown,a=>{[" ","Enter"].includes(a.key)&&j.onValueChange(d)}),onFocus:(0,e.mK)(a.onFocus,()=>{let a="manual"!==j.activationMode;o||f||!a||j.onValueChange(d)})})})});x.displayName=w;var y="TabsContent",z=d.forwardRef((a,b)=>{let{__scopeTabs:c,value:e,forceMount:f,children:g,...j}=a,k=s(y,c),l=A(k.baseId,e),n=B(k.baseId,e),o=e===k.value,p=d.useRef(o);return d.useEffect(()=>{let a=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(a)},[]),(0,m.jsx)(h.C,{present:f||o,children:({present:c})=>(0,m.jsx)(i.sG.div,{"data-state":o?"active":"inactive","data-orientation":k.orientation,role:"tabpanel","aria-labelledby":l,hidden:!c,id:n,tabIndex:0,...j,ref:b,style:{...a.style,animationDuration:p.current?"0s":void 0},children:c&&g})})});function A(a,b){return`${a}-trigger-${b}`}function B(a,b){return`${a}-content-${b}`}z.displayName=y;var C=t,D=v,E=x,F=z},25657:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(86944),e=c(53295),f=(0,d.Debug)("delayqueue");class g{constructor(){this.queues={},this.timeouts={}}push(a,b,c){let d=c.callback||process.nextTick;this.queues[a]||(this.queues[a]=new e),this.queues[a].push(b),this.timeouts[a]||(this.timeouts[a]=setTimeout(()=>{d(()=>{this.timeouts[a]=null,this.execute(a)})},c.timeout))}execute(a){let b=this.queues[a];if(!b)return;let{length:c}=b;if(c)for(f("send %d commands in %s queue",c,a),this.queues[a]=null;b.length>0;)b.shift()()}}b.default=g},26473:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"LRUCache",{enumerable:!0,get:function(){return e}});class c{constructor(a,b,c){this.prev=null,this.next=null,this.key=a,this.data=b,this.size=c}}class d{constructor(){this.prev=null,this.next=null}}class e{constructor(a,b,c){this.cache=new Map,this.totalSize=0,this.maxSize=a,this.calculateSize=b,this.onEvict=c,this.head=new d,this.tail=new d,this.head.next=this.tail,this.tail.prev=this.head}addToHead(a){a.prev=this.head,a.next=this.head.next,this.head.next.prev=a,this.head.next=a}removeNode(a){a.prev.next=a.next,a.next.prev=a.prev}moveToHead(a){this.removeNode(a),this.addToHead(a)}removeTail(){let a=this.tail.prev;return this.removeNode(a),a}set(a,b){let d=(null==this.calculateSize?void 0:this.calculateSize.call(this,b))??1;if(d<=0)throw Object.defineProperty(Error(`LRUCache: calculateSize returned ${d}, but size must be > 0. Items with size 0 would never be evicted, causing unbounded cache growth.`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});if(d>this.maxSize)return void console.warn("Single item size exceeds maxSize");let e=this.cache.get(a);if(e)e.data=b,this.totalSize=this.totalSize-e.size+d,e.size=d,this.moveToHead(e);else{let e=new c(a,b,d);this.cache.set(a,e),this.addToHead(e),this.totalSize+=d}for(;this.totalSize>this.maxSize&&this.cache.size>0;){let a=this.removeTail();this.cache.delete(a.key),this.totalSize-=a.size,null==this.onEvict||this.onEvict.call(this,a.key,a.data)}}has(a){return this.cache.has(a)}get(a){let b=this.cache.get(a);if(b)return this.moveToHead(b),b.data}*[Symbol.iterator](){let a=this.head.next;for(;a&&a!==this.tail;){let b=a;yield[b.key,b.data],a=a.next}}remove(a){let b=this.cache.get(a);b&&(this.removeNode(b),this.cache.delete(a),this.totalSize-=b.size)}get size(){return this.cache.size}get currentSize(){return this.totalSize}}},26960:(a,b,c)=>{"use strict";Object.defineProperty(b,"U",{enumerable:!0,get:function(){return n}});let d=c(49187),e=c(43313),f=c(29294),g=c(63033),h=c(13786),i=c(60114),j=c(91275),k=c(72281),l=c(45110),m=c(78780);function n(){let a="cookies",b=f.workAsyncStorage.getStore(),c=g.workUnitAsyncStorage.getStore();if(b){if(c&&"after"===c.phase&&!(0,l.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${b.route} used "cookies" inside "after(...)". This is not supported. If you need this data inside an "after" callback, use "cookies" outside of the callback. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E88",enumerable:!1,configurable:!0});if(b.forceStatic)return p(d.RequestCookiesAdapter.seal(new e.RequestCookies(new Headers({}))));if(b.dynamicShouldError)throw Object.defineProperty(new i.StaticGenBailoutError(`Route ${b.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`cookies\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E549",enumerable:!1,configurable:!0});if(c)switch(c.type){case"cache":let f=Object.defineProperty(Error(`Route ${b.route} used "cookies" inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "cookies" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E398",enumerable:!1,configurable:!0});throw Error.captureStackTrace(f,n),b.invalidDynamicUsageError??=f,f;case"unstable-cache":throw Object.defineProperty(Error(`Route ${b.route} used "cookies" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "cookies" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E157",enumerable:!1,configurable:!0});case"prerender":var k=b,q=c;let g=o.get(q);if(g)return g;let r=(0,j.makeHangingPromise)(q.renderSignal,k.route,"`cookies()`");return o.set(q,r),r;case"prerender-client":let s="`cookies`";throw Object.defineProperty(new m.InvariantError(`${s} must not be used within a client component. Next.js should be preventing ${s} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,h.postponeWithTracking)(b.route,a,c.dynamicTracking);case"prerender-legacy":return(0,h.throwToInterruptStaticGeneration)(a,b,c);case"prerender-runtime":return(0,h.delayUntilRuntimeStage)(c,function(a){let b=o.get(a);if(b)return b;let c=Promise.resolve(a);return o.set(a,c),c}(c.cookies));case"private-cache":return p(c.cookies);case"request":return(0,h.trackDynamicDataInDynamicRender)(c),p((0,d.areCookiesMutableInCurrentPhase)(c)?c.userspaceMutableCookies:c.cookies)}}(0,g.throwForMissingRequestStore)(a)}c(56898);let o=new WeakMap;function p(a){let b=o.get(a);if(b)return b;let c=Promise.resolve(a);return o.set(a,c),Object.defineProperties(c,{[Symbol.iterator]:{value:a[Symbol.iterator]?a[Symbol.iterator].bind(a):q.bind(a)},size:{get:()=>a.size},get:{value:a.get.bind(a)},getAll:{value:a.getAll.bind(a)},has:{value:a.has.bind(a)},set:{value:a.set.bind(a)},delete:{value:a.delete.bind(a)},clear:{value:"function"==typeof a.clear?a.clear.bind(a):r.bind(a,c)},toString:{value:a.toString.bind(a)}}),c}function q(){return this.getAll().map(a=>[a.name,a]).values()}function r(a){for(let a of this.getAll())this.delete(a.name);return a}(0,k.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`cookies()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E223",enumerable:!1,configurable:!0})})},27372:(a,b,c)=>{"use strict";let d=c(79428).Buffer,e=new(c(41204)).StringDecoder,f=c(30891),g=f.ReplyError,h=f.ParserError;var i=d.allocUnsafe(32768),j=0,k=null,l=0,m=0;function n(a){let b=a.offset,c=a.buffer,d=c.length-1;for(var e=b;e<d;)if(13===c[e++]){if(a.offset=e+1,!0===a.optionReturnBuffers)return a.buffer.slice(b,e-1);return a.buffer.toString("utf8",b,e-1)}}function o(a){let b=a.buffer.length-1;for(var c=a.offset,d=0;c<b;){let b=a.buffer[c++];if(13===b)return a.offset=c+1,d;d=10*d+(b-48)}}function p(a,b,c){a.arrayCache.push(b),a.arrayPos.push(c)}function q(a){let b=a.arrayCache.pop();var c=a.arrayPos.pop();if(a.arrayCache.length){let d=q(a);if(void 0===d)return void p(a,b,c);b[c++]=d}return r(a,b,c)}function r(a,b,c){let d=a.buffer.length;for(;c<b.length;){let e=a.offset;if(a.offset>=d)return void p(a,b,c);let f=s(a,a.buffer[a.offset++]);if(void 0===f){a.arrayCache.length||a.bufferCache.length||(a.offset=e),p(a,b,c);return}b[c]=f,c++}return b}function s(a,b){switch(b){case 36:let c=o(a);if(void 0===c)return;if(c<0)return null;let d=a.offset+c;if(d+2>a.buffer.length){a.bigStrSize=d+2,a.totalChunkSize=a.buffer.length,a.bufferCache.push(a.buffer);return}let e=a.offset;return(a.offset=d+2,!0===a.optionReturnBuffers)?a.buffer.slice(e,d):a.buffer.toString("utf8",e,d);case 43:return n(a);case 42:let f=o(a);return void 0===f?void 0:f<0?null:r(a,Array(f),0);case 58:return!0===a.optionStringNumbers?function(a){let b=a.buffer.length-1;var c=a.offset,d=0,e="";for(45===a.buffer[c]&&(e+="-",c++);c<b;){var f=a.buffer[c++];if(13===f)return a.offset=c+1,0!==d&&(e+=d),e;d>0x19999998?(e+=10*d+(f-48),d=0):48===f&&0===d?e+=0:d=10*d+(f-48)}}(a):function(a){let b=a.buffer.length-1;var c=a.offset,d=0,e=1;for(45===a.buffer[c]&&(e=-1,c++);c<b;){let b=a.buffer[c++];if(13===b)return a.offset=c+1,e*d;d=10*d+(b-48)}}(a);case 45:var i=n(a);if(void 0!==i)return!0===a.optionReturnBuffers&&(i=i.toString()),new g(i);return;default:let j=new h("Protocol error, got "+JSON.stringify(String.fromCharCode(b))+" as reply type byte",JSON.stringify(a.buffer),a.offset);a.buffer=null,a.returnFatalError(j);return}}function t(){if(i.length>51200)if(1===l||m>2*l){let a=Math.floor(i.length/10),b=a<j?j:a;j=0,i=i.slice(b,i.length)}else m++,l--;else clearInterval(k),l=0,m=0,k=null}class u{constructor(a){if(!a)throw TypeError("Options are mandatory.");if("function"!=typeof a.returnError||"function"!=typeof a.returnReply)throw TypeError("The returnReply and returnError options have to be functions.");this.setReturnBuffers(!!a.returnBuffers),this.setStringNumbers(!!a.stringNumbers),this.returnError=a.returnError,this.returnFatalError=a.returnFatalError||a.returnError,this.returnReply=a.returnReply,this.reset()}reset(){this.offset=0,this.buffer=null,this.bigStrSize=0,this.totalChunkSize=0,this.bufferCache=[],this.arrayCache=[],this.arrayPos=[]}setReturnBuffers(a){if("boolean"!=typeof a)throw TypeError("The returnBuffers argument has to be a boolean");this.optionReturnBuffers=a}setStringNumbers(a){if("boolean"!=typeof a)throw TypeError("The stringNumbers argument has to be a boolean");this.optionStringNumbers=a}execute(a){if(null===this.buffer)this.buffer=a,this.offset=0;else if(0===this.bigStrSize){let b=this.buffer.length,c=b-this.offset,e=d.allocUnsafe(c+a.length);if(this.buffer.copy(e,0,this.offset,b),a.copy(e,c,0,a.length),this.buffer=e,this.offset=0,this.arrayCache.length){let a=q(this);if(void 0===a)return;this.returnReply(a)}}else if(this.totalChunkSize+a.length>=this.bigStrSize){this.bufferCache.push(a);var b=this.optionReturnBuffers?function(a){let b=a.bufferCache,c=a.offset,e=a.bigStrSize-c-2;var f=b.length,g=a.bigStrSize-a.totalChunkSize;if(a.offset=g,g<=2){if(2===f)return b[0].slice(c,b[0].length+g-2);f--,g=b[b.length-2].length+g}i.length<e+j&&(j>0x6f00000&&(j=0x3200000),i=d.allocUnsafe(e*(e>0x4b00000?2:3)+j),j=0,l++,null===k&&(k=setInterval(t,50)));let h=j;b[0].copy(i,h,c,b[0].length),j+=b[0].length-c;for(var m=1;m<f-1;m++)b[m].copy(i,j),j+=b[m].length;return b[m].copy(i,j,0,g-2),j+=g-2,i.slice(h,j)}(this):function(a){let b=a.bufferCache,c=a.offset;var d=b.length,f=a.bigStrSize-a.totalChunkSize;if(a.offset=f,f<=2){if(2===d)return b[0].toString("utf8",c,b[0].length+f-2);d--,f=b[b.length-2].length+f}for(var g=e.write(b[0].slice(c)),h=1;h<d-1;h++)g+=e.write(b[h]);return g+e.end(b[h].slice(0,f-2))}(this);if(this.bigStrSize=0,this.bufferCache=[],this.buffer=a,this.arrayCache.length&&(this.arrayCache[0][this.arrayPos[0]++]=b,void 0===(b=q(this))))return;this.returnReply(b)}else{this.bufferCache.push(a),this.totalChunkSize+=a.length;return}for(;this.offset<this.buffer.length;){let a=this.offset,b=this.buffer[this.offset++],c=s(this,b);if(void 0===c){this.arrayCache.length||this.bufferCache.length||(this.offset=a);return}45===b?this.returnError(c):this.returnReply(c)}this.buffer=null}}a.exports=u},27560:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("octagon-x",[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},27655:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a){return null!=a&&"object"==typeof a}},28121:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Indicator:()=>N,Item:()=>M,RadioGroup:()=>H,RadioGroupIndicator:()=>K,RadioGroupItem:()=>J,Root:()=>L,createRadioGroupScope:()=>C});var d=c(21968),e=c(22546),f=c(96090),g=c(42990),h=c(16551),i=c(13700),j=c(15035),k=c(16305),l=c(7579),m=c(29851),n=c(5030),o=c(10837),p="Radio",[q,r]=(0,g.A)(p),[s,t]=q(p),u=d.forwardRef((a,b)=>{let{__scopeRadio:c,name:g,checked:i=!1,required:j,disabled:k,value:l="on",onCheck:m,form:n,...p}=a,[q,r]=d.useState(null),t=(0,f.s)(b,a=>r(a)),u=d.useRef(!1),v=!q||n||!!q.closest("form");return(0,o.jsxs)(s,{scope:c,checked:i,disabled:k,children:[(0,o.jsx)(h.sG.button,{type:"button",role:"radio","aria-checked":i,"data-state":y(i),"data-disabled":k?"":void 0,disabled:k,value:l,...p,ref:t,onClick:(0,e.mK)(a.onClick,a=>{i||m?.(),v&&(u.current=a.isPropagationStopped(),u.current||a.stopPropagation())})}),v&&(0,o.jsx)(x,{control:q,bubbles:!u.current,name:g,value:l,checked:i,required:j,disabled:k,form:n,style:{transform:"translateX(-100%)"}})]})});u.displayName=p;var v="RadioIndicator",w=d.forwardRef((a,b)=>{let{__scopeRadio:c,forceMount:d,...e}=a,f=t(v,c);return(0,o.jsx)(n.C,{present:d||f.checked,children:(0,o.jsx)(h.sG.span,{"data-state":y(f.checked),"data-disabled":f.disabled?"":void 0,...e,ref:b})})});w.displayName=v;var x=d.forwardRef(({__scopeRadio:a,control:b,checked:c,bubbles:e=!0,...g},i)=>{let j=d.useRef(null),k=(0,f.s)(j,i),n=(0,m.Z)(c),p=(0,l.X)(b);return d.useEffect(()=>{let a=j.current;if(!a)return;let b=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(n!==c&&b){let d=new Event("click",{bubbles:e});b.call(a,c),a.dispatchEvent(d)}},[n,c,e]),(0,o.jsx)(h.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:c,...g,tabIndex:-1,ref:k,style:{...g.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function y(a){return a?"checked":"unchecked"}x.displayName="RadioBubbleInput";var z=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],A="RadioGroup",[B,C]=(0,g.A)(A,[i.RG,r]),D=(0,i.RG)(),E=r(),[F,G]=B(A),H=d.forwardRef((a,b)=>{let{__scopeRadioGroup:c,name:d,defaultValue:e,value:f,required:g=!1,disabled:l=!1,orientation:m,dir:n,loop:p=!0,onValueChange:q,...r}=a,s=D(c),t=(0,k.jH)(n),[u,v]=(0,j.i)({prop:f,defaultProp:e??null,onChange:q,caller:A});return(0,o.jsx)(F,{scope:c,name:d,required:g,disabled:l,value:u,onValueChange:v,children:(0,o.jsx)(i.bL,{asChild:!0,...s,orientation:m,dir:t,loop:p,children:(0,o.jsx)(h.sG.div,{role:"radiogroup","aria-required":g,"aria-orientation":m,"data-disabled":l?"":void 0,dir:t,...r,ref:b})})})});H.displayName=A;var I="RadioGroupItem",J=d.forwardRef((a,b)=>{let{__scopeRadioGroup:c,disabled:g,...h}=a,j=G(I,c),k=j.disabled||g,l=D(c),m=E(c),n=d.useRef(null),p=(0,f.s)(b,n),q=j.value===h.value,r=d.useRef(!1);return d.useEffect(()=>{let a=a=>{z.includes(a.key)&&(r.current=!0)},b=()=>r.current=!1;return document.addEventListener("keydown",a),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",a),document.removeEventListener("keyup",b)}},[]),(0,o.jsx)(i.q7,{asChild:!0,...l,focusable:!k,active:q,children:(0,o.jsx)(u,{disabled:k,required:j.required,checked:q,...m,...h,name:j.name,ref:p,onCheck:()=>j.onValueChange(h.value),onKeyDown:(0,e.mK)(a=>{"Enter"===a.key&&a.preventDefault()}),onFocus:(0,e.mK)(h.onFocus,()=>{r.current&&n.current?.click()})})})});J.displayName=I;var K=d.forwardRef((a,b)=>{let{__scopeRadioGroup:c,...d}=a,e=E(c);return(0,o.jsx)(w,{...e,...d,ref:b})});K.displayName="RadioGroupIndicator";var L=H,M=J,N=K},28324:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addPathSuffix",{enumerable:!0,get:function(){return e}});let d=c(12846);function e(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:e,hash:f}=(0,d.parsePath)(a);return""+c+b+e+f}},28563:(a,b,c)=>{"use strict";c.d(b,{Nq:()=>g,RI:()=>j,Wg:()=>e,hq:()=>f});var d=c(42292),e=(0,d.K2)((a,b)=>{if(b)return"translate("+-a.width/2+", "+-a.height/2+")";let c=a.x??0,d=a.y??0;return"translate("+-(c+a.width/2)+", "+-(d+a.height/2)+")"},"computeLabelTransform"),f={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},g={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function h(a,b){if(void 0===a||void 0===b)return{angle:0,deltaX:0,deltaY:0};a=i(a),b=i(b);let[c,d]=[a.x,a.y],[e,f]=[b.x,b.y],g=e-c,h=f-d;return{angle:Math.atan(h/g),deltaX:g,deltaY:h}}(0,d.K2)(h,"calculateDeltaAndAngle");var i=(0,d.K2)(a=>Array.isArray(a)?{x:a[0],y:a[1]}:a,"pointTransformer"),j=(0,d.K2)(a=>({x:(0,d.K2)(function(b,c,d){let e=0,g=i(d[0]).x<i(d[d.length-1]).x?"left":"right";if(0===c&&Object.hasOwn(f,a.arrowTypeStart)){let{angle:b,deltaX:c}=h(d[0],d[1]);e=f[a.arrowTypeStart]*Math.cos(b)*(c>=0?1:-1)}else if(c===d.length-1&&Object.hasOwn(f,a.arrowTypeEnd)){let{angle:b,deltaX:c}=h(d[d.length-1],d[d.length-2]);e=f[a.arrowTypeEnd]*Math.cos(b)*(c>=0?1:-1)}let j=Math.abs(i(b).x-i(d[d.length-1]).x),k=Math.abs(i(b).y-i(d[d.length-1]).y),l=Math.abs(i(b).x-i(d[0]).x),m=Math.abs(i(b).y-i(d[0]).y),n=f[a.arrowTypeStart],o=f[a.arrowTypeEnd];if(j<o&&j>0&&k<o){let a=o+1-j;a*="right"===g?-1:1,e-=a}if(l<n&&l>0&&m<n){let a=n+1-l;a*="right"===g?-1:1,e+=a}return i(b).x+e},"x"),y:(0,d.K2)(function(b,c,d){let e=0,g=i(d[0]).y<i(d[d.length-1]).y?"down":"up";if(0===c&&Object.hasOwn(f,a.arrowTypeStart)){let{angle:b,deltaY:c}=h(d[0],d[1]);e=f[a.arrowTypeStart]*Math.abs(Math.sin(b))*(c>=0?1:-1)}else if(c===d.length-1&&Object.hasOwn(f,a.arrowTypeEnd)){let{angle:b,deltaY:c}=h(d[d.length-1],d[d.length-2]);e=f[a.arrowTypeEnd]*Math.abs(Math.sin(b))*(c>=0?1:-1)}let j=Math.abs(i(b).y-i(d[d.length-1]).y),k=Math.abs(i(b).x-i(d[d.length-1]).x),l=Math.abs(i(b).y-i(d[0]).y),m=Math.abs(i(b).x-i(d[0]).x),n=f[a.arrowTypeStart],o=f[a.arrowTypeEnd];if(j<o&&j>0&&k<o){let a=o+1-j;a*="up"===g?-1:1,e-=a}if(l<n&&l>0&&m<n){let a=n+1-l;a*="up"===g?-1:1,e+=a}return i(b).y+e},"y")}),"getLineFunctionsWithOffset")},28905:function(a,b,c){"use strict";var d=(this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}})(c(48810)),e=c(51537);function f(a,b){var c={};return a&&"string"==typeof a&&(0,d.default)(a,function(a,d){a&&d&&(c[(0,e.camelCase)(a,b)]=d)}),c}f.default=f,a.exports=f},29725:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.FailoverDetector=void 0;let d=(0,c(86944).Debug)("FailoverDetector"),e="+switch-master";class f{constructor(a,b){this.isDisconnected=!1,this.connector=a,this.sentinels=b}cleanup(){for(let a of(this.isDisconnected=!0,this.sentinels))a.client.disconnect()}async subscribe(){d("Starting FailoverDetector");let a=[];for(let b of this.sentinels){let c=b.client.subscribe(e).catch(a=>{d("Failed to subscribe to failover messages on sentinel %s:%s (%s)",b.address.host||"127.0.0.1",b.address.port||26739,a.message)});a.push(c),b.client.on("message",a=>{this.isDisconnected||a!==e||this.disconnect()})}await Promise.all(a)}disconnect(){this.isDisconnected=!0,d("Failover detected, disconnecting"),this.connector.disconnect()}}b.FailoverDetector=f},29851:(a,b,c)=>{"use strict";c.d(b,{Z:()=>e});var d=c(21968);function e(a){let b=d.useRef({value:a,previous:a});return d.useMemo(()=>(b.current.value!==a&&(b.current.previous=b.current.value,b.current.value=a),b.current.previous),[a])}},30200:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(54469),e=c(14899);let f=(a,b)=>{let c=e.A.parse(a);for(let a in b)c[a]=d.A.channel.clamp[a](b[a]);return e.A.stringify(c)}},30382:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DOC_PREFETCH_RANGE_HEADER_VALUE:function(){return d},doesExportedHtmlMatchBuildId:function(){return g},insertBuildIdComment:function(){return f}});let c="<!DOCTYPE html>",d="bytes=0-63";function e(a){return a.slice(0,24).replace(/-/g,"_")}function f(a,b){return b.includes("--\x3e")||!a.startsWith(c)?a:a.replace(c,c+"\x3c!--"+e(b)+"--\x3e")}function g(a,b){return a.startsWith(c+"\x3c!--"+e(b)+"--\x3e")}},30391:(a,b,c)=>{"use strict";c.d(b,{Ay:()=>h,lG:()=>f,uN:()=>g});var d=c(52910);function e(a,b){return function(c){return a+c*b}}function f(a,b){var c=b-a;return c?e(a,c>180||c<-180?c-360*Math.round(c/360):c):(0,d.A)(isNaN(a)?b:a)}function g(a){return 1==(a*=1)?h:function(b,c){var e,f,g;return c-b?(e=b,f=c,e=Math.pow(e,g=a),f=Math.pow(f,g)-e,g=1/g,function(a){return Math.pow(e+a*f,g)}):(0,d.A)(isNaN(b)?c:b)}}function h(a,b){var c=b-a;return c?e(a,c):(0,d.A)(isNaN(a)?b:a)}},30559:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.getConnectionName=b.weightSrvRecords=b.groupSrvRecords=b.getUniqueHostnamesFromOptions=b.normalizeNodeOptions=b.nodeKeyToRedisOptions=b.getNodeKey=void 0;let d=c(86944),e=c(91645);b.getNodeKey=function(a){return a.port=a.port||6379,a.host=a.host||"127.0.0.1",a.host+":"+a.port},b.nodeKeyToRedisOptions=function(a){let b=a.lastIndexOf(":");if(-1===b)throw Error(`Invalid node key ${a}`);return{host:a.slice(0,b),port:Number(a.slice(b+1))}},b.normalizeNodeOptions=function(a){return a.map(a=>{let b={};if("object"==typeof a)Object.assign(b,a);else if("string"==typeof a)Object.assign(b,(0,d.parseURL)(a));else if("number"==typeof a)b.port=a;else throw Error("Invalid argument "+a);return"string"==typeof b.port&&(b.port=parseInt(b.port,10)),delete b.db,b.port||(b.port=6379),b.host||(b.host="127.0.0.1"),(0,d.resolveTLSProfile)(b)})},b.getUniqueHostnamesFromOptions=function(a){let b={};return a.forEach(a=>{b[a.host]=!0}),Object.keys(b).filter(a=>!(0,e.isIP)(a))},b.groupSrvRecords=function(a){let b={};for(let c of a)b.hasOwnProperty(c.priority)?(b[c.priority].totalWeight+=c.weight,b[c.priority].records.push(c)):b[c.priority]={totalWeight:c.weight,records:[c]};return b},b.weightSrvRecords=function(a){if(1===a.records.length)return a.totalWeight=0,a.records.shift();let b=Math.floor(Math.random()*(a.totalWeight+a.records.length)),c=0;for(let[d,e]of a.records.entries())if((c+=1+e.weight)>b)return a.totalWeight-=e.weight,a.records.splice(d,1),e},b.getConnectionName=function(a,b){let c=`ioredis-cluster(${a})`;return b?`${c}:${b}`:c}},30563:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(24669),e=c(31001),f=c(23584),g=c(12500);let h=function(a,b,c){if(!(0,g.A)(c))return!1;var h=typeof b;return("number"==h?!!((0,e.A)(c)&&(0,f.A)(b,c.length)):"string"==h&&b in c)&&(0,d.A)(c[b],a)}},30620:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(30891);class e extends d.RedisError{constructor(a,b){super(a),this.lastNodeError=b,Error.captureStackTrace(this,this.constructor)}get name(){return this.constructor.name}}b.default=e,e.defaultMessage="Failed to refresh slots cache."},30766:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=c(99554).A.Symbol},30891:(a,b,c)=>{"use strict";a.exports=55>process.version.charCodeAt(1)&&46===process.version.charCodeAt(2)?c(42612):c(7116)},31001:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(54643),e=c(65247);let f=function(a){return null!=a&&(0,e.A)(a.length)&&!(0,d.A)(a)}},31009:(a,b,c)=>{"use strict";let d,e,f;c.d(b,{P:()=>fE});let g=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],h=new Set(g),i=(a,b,c)=>c>b?b:c<a?a:c,j={test:a=>"number"==typeof a,parse:parseFloat,transform:a=>a},k={...j,transform:a=>i(0,1,a)},l={...j,default:1},m=a=>Math.round(1e5*a)/1e5,n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,o=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p=(a,b)=>c=>!!("string"==typeof c&&o.test(c)&&c.startsWith(a)||b&&null!=c&&Object.prototype.hasOwnProperty.call(c,b)),q=(a,b,c)=>d=>{if("string"!=typeof d)return d;let[e,f,g,h]=d.match(n);return{[a]:parseFloat(e),[b]:parseFloat(f),[c]:parseFloat(g),alpha:void 0!==h?parseFloat(h):1}},r={...j,transform:a=>Math.round(i(0,255,a))},s={test:p("rgb","red"),parse:q("red","green","blue"),transform:({red:a,green:b,blue:c,alpha:d=1})=>"rgba("+r.transform(a)+", "+r.transform(b)+", "+r.transform(c)+", "+m(k.transform(d))+")"},t={test:p("#"),parse:function(a){let b="",c="",d="",e="";return a.length>5?(b=a.substring(1,3),c=a.substring(3,5),d=a.substring(5,7),e=a.substring(7,9)):(b=a.substring(1,2),c=a.substring(2,3),d=a.substring(3,4),e=a.substring(4,5),b+=b,c+=c,d+=d,e+=e),{red:parseInt(b,16),green:parseInt(c,16),blue:parseInt(d,16),alpha:e?parseInt(e,16)/255:1}},transform:s.transform},u=a=>({test:b=>"string"==typeof b&&b.endsWith(a)&&1===b.split(" ").length,parse:parseFloat,transform:b=>`${b}${a}`}),v=u("deg"),w=u("%"),x=u("px"),y=u("vh"),z=u("vw"),A={...w,parse:a=>w.parse(a)/100,transform:a=>w.transform(100*a)},B={test:p("hsl","hue"),parse:q("hue","saturation","lightness"),transform:({hue:a,saturation:b,lightness:c,alpha:d=1})=>"hsla("+Math.round(a)+", "+w.transform(m(b))+", "+w.transform(m(c))+", "+m(k.transform(d))+")"},C={test:a=>s.test(a)||t.test(a)||B.test(a),parse:a=>s.test(a)?s.parse(a):B.test(a)?B.parse(a):t.parse(a),transform:a=>"string"==typeof a?a:a.hasOwnProperty("red")?s.transform(a):B.transform(a),getAnimatableNone:a=>{let b=C.parse(a);return b.alpha=0,C.transform(b)}},D=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,E="number",F="color",G=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function H(a){let b=a.toString(),c=[],d={color:[],number:[],var:[]},e=[],f=0,g=b.replace(G,a=>(C.test(a)?(d.color.push(f),e.push(F),c.push(C.parse(a))):a.startsWith("var(")?(d.var.push(f),e.push("var"),c.push(a)):(d.number.push(f),e.push(E),c.push(parseFloat(a))),++f,"${}")).split("${}");return{values:c,split:g,indexes:d,types:e}}function I({split:a,types:b}){let c=a.length;return d=>{let e="";for(let f=0;f<c;f++)if(e+=a[f],void 0!==d[f]){let a=b[f];a===E?e+=m(d[f]):a===F?e+=C.transform(d[f]):e+=d[f]}return e}}let J={test:function(a){return isNaN(a)&&"string"==typeof a&&(a.match(n)?.length||0)+(a.match(D)?.length||0)>0},parse:function(a){return H(a).values},createTransformer:function(a){return I(H(a))},getAnimatableNone:function(a){let b=H(a);return I(b)(b.values.map((a,c)=>{var d;let e;return d=b.split[c],"number"==typeof a?d?.trim().endsWith("/")?a:0:"number"==typeof(e=a)?0:C.test(e)?C.getAnimatableNone(e):e}))}},K=new Set(["brightness","contrast","saturate","opacity"]);function L(a){let[b,c]=a.slice(0,-1).split("(");if("drop-shadow"===b)return a;let[d]=c.match(n)||[];if(!d)return a;let e=c.replace(d,""),f=+!!K.has(b);return d!==c&&(f*=100),b+"("+f+e+")"}let M=/\b([a-z-]*)\(.*?\)/gu,N={...J,getAnimatableNone:a=>{let b=a.match(M);return b?b.map(L).join(" "):a}},O={...J,getAnimatableNone:a=>{let b=J.parse(a);return J.createTransformer(a)(b.map(a=>"number"==typeof a?0:"object"==typeof a?{...a,alpha:1}:a))}},P={...j,transform:Math.round},Q={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,top:x,right:x,bottom:x,left:x,inset:x,insetBlock:x,insetBlockStart:x,insetBlockEnd:x,insetInline:x,insetInlineStart:x,insetInlineEnd:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,paddingBlock:x,paddingBlockStart:x,paddingBlockEnd:x,paddingInline:x,paddingInlineStart:x,paddingInlineEnd:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,marginBlock:x,marginBlockStart:x,marginBlockEnd:x,marginInline:x,marginInlineStart:x,marginInlineEnd:x,fontSize:x,backgroundPositionX:x,backgroundPositionY:x,rotate:v,rotateX:v,rotateY:v,rotateZ:v,scale:l,scaleX:l,scaleY:l,scaleZ:l,skew:v,skewX:v,skewY:v,distance:x,translateX:x,translateY:x,translateZ:x,x:x,y:x,z:x,perspective:x,transformPerspective:x,opacity:k,originX:A,originY:A,originZ:x,zIndex:P,fillOpacity:k,strokeOpacity:k,numOctaves:P},R={...Q,color:C,backgroundColor:C,outlineColor:C,fill:C,stroke:C,borderColor:C,borderTopColor:C,borderRightColor:C,borderBottomColor:C,borderLeftColor:C,filter:N,WebkitFilter:N,mask:O,WebkitMask:O},S=a=>R[a],T=()=>({translate:0,scale:1,origin:0,originPoint:0}),U=()=>({x:T(),y:T()}),V=()=>({min:0,max:0}),W=()=>({x:V(),y:V()}),X=a=>!!(a&&a.getVelocity),Y=new Set(["width","height","top","left","right","bottom",...g]),Z=a=>b=>b.test(a),$=[j,x,w,v,z,y,{test:a=>"auto"===a,parse:a=>a}],_=a=>$.find(Z(a)),aa=()=>{},ab=()=>{},ac=a=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a),ad=a=>b=>"string"==typeof b&&b.startsWith(a),ae=ad("--"),af=ad("var(--"),ag=a=>!!af(a)&&ah.test(a.split("/*")[0].trim()),ah=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ai(a){return"string"==typeof a&&a.split("/*")[0].includes("var(--")}let aj=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ak=a=>180*a/Math.PI,al=a=>an(ak(Math.atan2(a[1],a[0]))),am={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:a=>(Math.abs(a[0])+Math.abs(a[3]))/2,rotate:al,rotateZ:al,skewX:a=>ak(Math.atan(a[1])),skewY:a=>ak(Math.atan(a[2])),skew:a=>(Math.abs(a[1])+Math.abs(a[2]))/2},an=a=>((a%=360)<0&&(a+=360),a),ao=a=>Math.sqrt(a[0]*a[0]+a[1]*a[1]),ap=a=>Math.sqrt(a[4]*a[4]+a[5]*a[5]),aq={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ao,scaleY:ap,scale:a=>(ao(a)+ap(a))/2,rotateX:a=>an(ak(Math.atan2(a[6],a[5]))),rotateY:a=>an(ak(Math.atan2(-a[2],a[0]))),rotateZ:al,rotate:al,skewX:a=>ak(Math.atan(a[4])),skewY:a=>ak(Math.atan(a[1])),skew:a=>(Math.abs(a[1])+Math.abs(a[4]))/2};function ar(a){return+!!a.includes("scale")}function as(a,b){let c,d;if(!a||"none"===a)return ar(b);let e=a.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(e)c=aq,d=e;else{let b=a.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=am,d=b}if(!d)return ar(b);let f=c[b],g=d[1].split(",").map(at);return"function"==typeof f?f(g):g[f]}function at(a){return parseFloat(a.trim())}let au=a=>a===j||a===x,av=new Set(["x","y","z"]),aw=g.filter(a=>!av.has(a)),ax={width:({x:a},{paddingLeft:b="0",paddingRight:c="0",boxSizing:d})=>{let e=a.max-a.min;return"border-box"===d?e:e-parseFloat(b)-parseFloat(c)},height:({y:a},{paddingTop:b="0",paddingBottom:c="0",boxSizing:d})=>{let e=a.max-a.min;return"border-box"===d?e:e-parseFloat(b)-parseFloat(c)},top:(a,{top:b})=>parseFloat(b),left:(a,{left:b})=>parseFloat(b),bottom:({y:a},{top:b})=>parseFloat(b)+(a.max-a.min),right:({x:a},{left:b})=>parseFloat(b)+(a.max-a.min),x:(a,{transform:b})=>as(b,"x"),y:(a,{transform:b})=>as(b,"y")};ax.translateX=ax.x,ax.translateY=ax.y;var ay=c(46801);let az=new Set,aA=!1,aB=!1,aC=!1;function aD(){if(aB){let a=Array.from(az).filter(a=>a.needsMeasurement),b=new Set(a.map(a=>a.element)),c=new Map;b.forEach(a=>{let b=function(a){let b=[];return aw.forEach(c=>{let d=a.getValue(c);void 0!==d&&(b.push([c,d.get()]),d.set(+!!c.startsWith("scale")))}),b}(a);b.length&&(c.set(a,b),a.render())}),a.forEach(a=>a.measureInitialState()),b.forEach(a=>{a.render();let b=c.get(a);b&&b.forEach(([b,c])=>{a.getValue(b)?.set(c)})}),a.forEach(a=>a.measureEndState()),a.forEach(a=>{void 0!==a.suspendedScrollY&&window.scrollTo(0,a.suspendedScrollY)})}aB=!1,aA=!1,az.forEach(a=>a.complete(aC)),az.clear()}function aE(){az.forEach(a=>{a.readKeyframes(),a.needsMeasurement&&(aB=!0)})}class aF{constructor(a,b,c,d,e,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=b,this.name=c,this.motionValue=d,this.element=e,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(az.add(this),aA||(aA=!0,ay.Gt.read(aE),ay.Gt.resolveKeyframes(aD))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:a,name:b,element:c,motionValue:d}=this;if(null===a[0]){let e=d?.get(),f=a[a.length-1];if(void 0!==e)a[0]=e;else if(c&&b){let d=c.readValue(b,f);null!=d&&(a[0]=d)}void 0===a[0]&&(a[0]=f),d&&void 0===e&&d.set(a[0])}for(let b=1;b<a.length;b++)a[b]??(a[b]=a[b-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),az.delete(this)}cancel(){"scheduled"===this.state&&(az.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let aG=a=>/^0[^.\s]+$/u.test(a),aH=new Set([N,O]);function aI(a,b){let c=S(a);return aH.has(c)||(c=J),c.getAnimatableNone?c.getAnimatableNone(b):void 0}let aJ=new Set(["auto","none","0"]);class aK extends aF{constructor(a,b,c,d,e){super(a,b,c,d,e,!0)}readKeyframes(){let{unresolvedKeyframes:a,element:b,name:c}=this;if(!b||!b.current)return;super.readKeyframes();for(let c=0;c<a.length;c++){let d=a[c];if("string"==typeof d&&ag(d=d.trim())){let e=function a(b,c,d=1){ab(d<=4,`Max CSS variable fallback depth detected in property "${b}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[e,f]=function(a){let b=aj.exec(a);if(!b)return[,];let[,c,d,e]=b;return[`--${c??d}`,e]}(b);if(!e)return;let g=window.getComputedStyle(c).getPropertyValue(e);if(g){let a=g.trim();return ac(a)?parseFloat(a):a}return ag(f)?a(f,c,d+1):f}(d,b.current);void 0!==e&&(a[c]=e),c===a.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!Y.has(c)||2!==a.length)return;let[d,e]=a,f=_(d),g=_(e);if(ai(d)!==ai(e)&&ax[c]){this.needsMeasurement=!0;return}if(f!==g)if(au(f)&&au(g))for(let b=0;b<a.length;b++){let c=a[b];"string"==typeof c&&(a[b]=parseFloat(c))}else ax[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:a,name:b}=this,c=[];for(let b=0;b<a.length;b++){var d;(null===a[b]||("number"==typeof(d=a[b])?0===d:null===d||"none"===d||"0"===d||aG(d)))&&c.push(b)}c.length&&function(a,b,c){let d,e=0;for(;e<a.length&&!d;){let b=a[e];"string"==typeof b&&!aJ.has(b)&&H(b).values.length&&(d=a[e]),e++}if(d&&c)for(let e of b)a[e]=aI(c,d)}(a,c,b)}measureInitialState(){let{element:a,unresolvedKeyframes:b,name:c}=this;if(!a||!a.current)return;"height"===c&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ax[c](a.measureViewportBox(),window.getComputedStyle(a.current)),b[0]=this.measuredOrigin;let d=b[b.length-1];void 0!==d&&a.getValue(c,d).jump(d,!1)}measureEndState(){let{element:a,name:b,unresolvedKeyframes:c}=this;if(!a||!a.current)return;let d=a.getValue(b);d&&d.jump(this.measuredOrigin,!1);let e=c.length-1,f=c[e];c[e]=ax[b](a.measureViewportBox(),window.getComputedStyle(a.current)),null!==f&&void 0===this.finalKeyframe&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEach(([b,c])=>{a.getValue(b).set(c)}),this.resolveNoneKeyframes()}}let aL=a=>1e3*a;function aM(a,b){-1===a.indexOf(b)&&a.push(b)}function aN(a,b){let c=a.indexOf(b);c>-1&&a.splice(c,1)}class aO{constructor(){this.subscriptions=[]}add(a){return aM(this.subscriptions,a),()=>aN(this.subscriptions,a)}notify(a,b,c){let d=this.subscriptions.length;if(d)if(1===d)this.subscriptions[0](a,b,c);else for(let e=0;e<d;e++){let d=this.subscriptions[e];d&&d(a,b,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}var aP=c(40092);function aQ(a,b,c){b.startsWith("--")?a.style.setProperty(b,c):a.style[b]=c}function aR(a){let b;return()=>(void 0===b&&(b=a()),b)}let aS={};function aT(a,b){let c=aR(a);return()=>aS[b]??c()}let aU=aT(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),aV=a=>null!==a;function aW(a,{repeat:b,repeatType:c="loop"},d,e=1){let f=a.filter(aV),g=e<0||b&&"loop"!==c&&b%2==1?0:f.length-1;return g&&void 0!==d?d:f[g]}class aX{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,b){return this.finished.then(a,b)}}let aY={layout:0,mainThread:0,waapi:0};var aZ=c(98203);let a$=a=>Array.isArray(a)&&"number"==typeof a[0],a_=aT(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(a){return!1}return!0},"linearEasing"),a0=(a,b,c=10)=>{let d="",e=Math.max(Math.round(b/c),2);for(let b=0;b<e;b++)d+=Math.round(1e4*a(b/(e-1)))/1e4+", ";return`linear(${d.substring(0,d.length-2)})`},a1=([a,b,c,d])=>`cubic-bezier(${a}, ${b}, ${c}, ${d})`,a2={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:a1([0,.65,.55,1]),circOut:a1([.55,0,1,.45]),backIn:a1([.31,.01,.66,-.59]),backOut:a1([.33,1.53,.69,.99])};function a3(a){return"function"==typeof a&&"applyToOptions"in a}class a4 extends aX{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;let{element:b,name:c,keyframes:d,pseudoElement:e,allowFlatten:f=!1,finalKeyframe:g,onComplete:h}=a;this.isPseudoElement=!!e,this.allowFlatten=f,this.options=a,ab("string"!=typeof a.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let i=function({type:a,...b}){return a3(a)&&a_()?a.applyToOptions(b):(b.duration??(b.duration=300),b.ease??(b.ease="easeOut"),b)}(a);this.animation=function(a,b,c,{delay:d=0,duration:e=300,repeat:f=0,repeatType:g="loop",ease:h="easeOut",times:i}={},j){let k={[b]:c};i&&(k.offset=i);let l=function a(b,c){if(b)return"function"==typeof b?a_()?a0(b,c):"ease-out":a$(b)?a1(b):Array.isArray(b)?b.map(b=>a(b,c)||a2.easeOut):a2[b]}(h,e);Array.isArray(l)&&(k.easing=l),aZ.Q.value&&aY.waapi++;let m={delay:d,duration:e,easing:Array.isArray(l)?"linear":l,fill:"both",iterations:f+1,direction:"reverse"===g?"alternate":"normal"};j&&(m.pseudoElement=j);let n=a.animate(k,m);return aZ.Q.value&&n.finished.finally(()=>{aY.waapi--}),n}(b,c,d,i,e),!1===i.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!e){let a=aW(d,this.options,g,this.speed);this.updateMotionValue&&this.updateMotionValue(a),aQ(b,c,a),this.animation.cancel()}h?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(a){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:a}=this;"idle"!==a&&"finished"!==a&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let a=this.options?.element;!this.isPseudoElement&&a?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:a=0}=this.options||{};return this.duration+a/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(a){let b=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=aL(a),b&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,rangeStart:b,rangeEnd:c,observe:d}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,a&&aU())?(this.animation.timeline=a,b&&(this.animation.rangeStart=b),c&&(this.animation.rangeEnd=c),aP.l):d(this)}}let a5=new Set(["opacity","clipPath","filter","transform"]),{schedule:a6}=(0,c(9915).I)(queueMicrotask,!1);var a7=c(43708);function a8(){d=void 0}let a9={now:()=>(void 0===d&&a9.set(ay.uv.isProcessing||a7.W.useManualTiming?ay.uv.timestamp:performance.now()),d),set:a=>{d=a,queueMicrotask(a8)}},ba={current:void 0};class bb{constructor(a,b={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{let b=a9.now();if(this.updatedAt!==b&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=b.owner}setCurrent(a){this.current=a,this.updatedAt=a9.now(),null===this.canTrackVelocity&&void 0!==a&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return this.on("change",a)}on(a,b){this.events[a]||(this.events[a]=new aO);let c=this.events[a].add(b);return"change"===a?()=>{c(),ay.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:c}clearListeners(){for(let a in this.events)this.events[a].clear()}attach(a,b){this.passiveEffect=a,this.stopPassiveEffect=b}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,b,c){this.set(b),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-c}jump(a,b=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,b&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return ba.current&&ba.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var a;let b=a9.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||b-this.updatedAt>30)return 0;let c=Math.min(this.updatedAt-this.prevUpdatedAt,30);return a=parseFloat(this.current)-parseFloat(this.prevFrameValue),c?1e3/c*a:0}start(a){return this.stop(),new Promise(b=>{this.hasAnimated=!0,this.animation=a(b),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function bc(a,b){return new bb(a,b)}let bd=[...$,C,J],be=new WeakMap;function bf(a){return null!==a&&"object"==typeof a&&"function"==typeof a.start}function bg(a){return"string"==typeof a||Array.isArray(a)}let bh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],bi=["initial",...bh];function bj(a){return bf(a.animate)||bi.some(b=>bg(a[b]))}function bk(a){return!!(bj(a)||a.variants)}let bl={current:null},bm={current:!1},bn="undefined"!=typeof window;function bo(a){let b=[{},{}];return a?.values.forEach((a,c)=>{b[0][c]=a.get(),b[1][c]=a.getVelocity()}),b}function bp(a,b,c,d){if("function"==typeof b){let[e,f]=bo(d);b=b(void 0!==c?c:a.custom,e,f)}if("string"==typeof b&&(b=a.variants&&a.variants[b]),"function"==typeof b){let[e,f]=bo(d);b=b(void 0!==c?c:a.custom,e,f)}return b}let bq=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],br={};class bs{scrapeMotionValuesFromProps(a,b,c){return{}}constructor({parent:a,props:b,presenceContext:c,reducedMotionConfig:d,skipAnimations:e,blockInitialAnimation:f,visualState:g},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=aF,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let a=a9.now();this.renderScheduledAt<a&&(this.renderScheduledAt=a,ay.Gt.render(this.render,!1,!0))};let{latestValues:i,renderState:j}=g;this.latestValues=i,this.baseTarget={...i},this.initialValues=b.initial?{...i}:{},this.renderState=j,this.parent=a,this.props=b,this.presenceContext=c,this.depth=a?a.depth+1:0,this.reducedMotionConfig=d,this.skipAnimationsConfig=e,this.options=h,this.blockInitialAnimation=!!f,this.isControllingVariants=bj(b),this.isVariantNode=bk(b),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);let{willChange:k,...l}=this.scrapeMotionValuesFromProps(b,{},this);for(let a in l){let b=l[a];void 0!==i[a]&&X(b)&&b.set(i[a])}}mount(a){if(this.hasBeenMounted)for(let a in this.initialValues)this.values.get(a)?.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=a,be.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,b)=>this.bindToMotionValue(b,a)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(bm.current||function(){if(bm.current=!0,bn)if(window.matchMedia){let a=window.matchMedia("(prefers-reduced-motion)"),b=()=>bl.current=a.matches;a.addEventListener("change",b),b()}else bl.current=!1}(),this.shouldReduceMotion=bl.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let a in this.projection&&this.projection.unmount(),(0,ay.WG)(this.notifyUpdate),(0,ay.WG)(this.render),this.valueSubscriptions.forEach(a=>a()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[a].clear();for(let a in this.features){let b=this.features[a];b&&(b.unmount(),b.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,b){let c;if(this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)(),b.accelerate&&a5.has(a)&&this.current instanceof HTMLElement){let{factory:c,keyframes:d,times:e,ease:f,duration:g}=b.accelerate,h=new a4({element:this.current,name:a,keyframes:d,times:e,ease:f,duration:aL(g)}),i=c(h);this.valueSubscriptions.set(a,()=>{i(),h.cancel()});return}let d=h.has(a);d&&this.onBindTransform&&this.onBindTransform();let e=b.on("change",b=>{this.latestValues[a]=b,this.props.onUpdate&&ay.Gt.preRender(this.notifyUpdate),d&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,a,b)),this.valueSubscriptions.set(a,()=>{e(),c&&c(),b.owner&&b.stop()})}sortNodePosition(a){return this.current&&this.sortInstanceNodePosition&&this.type===a.type?this.sortInstanceNodePosition(this.current,a.current):0}updateFeatures(){let a="animation";for(a in br){let b=br[a];if(!b)continue;let{isEnabled:c,Feature:d}=b;if(!this.features[a]&&d&&c(this.props)&&(this.features[a]=new d(this)),this.features[a]){let b=this.features[a];b.isMounted?b.update():(b.mount(),b.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):W()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,b){this.latestValues[a]=b}update(a,b){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=b;for(let b=0;b<bq.length;b++){let c=bq[b];this.propEventSubscriptions[c]&&(this.propEventSubscriptions[c](),delete this.propEventSubscriptions[c]);let d=a["on"+c];d&&(this.propEventSubscriptions[c]=this.on(c,d))}this.prevMotionValues=function(a,b,c){for(let d in b){let e=b[d],f=c[d];if(X(e))a.addValue(d,e);else if(X(f))a.addValue(d,bc(e,{owner:a}));else if(f!==e)if(a.hasValue(d)){let b=a.getValue(d);!0===b.liveStyle?b.jump(e):b.hasAnimated||b.set(e)}else{let b=a.getStaticValue(d);a.addValue(d,bc(void 0!==b?b:e,{owner:a}))}}for(let d in c)void 0===b[d]&&a.removeValue(d);return b}(this,this.scrapeMotionValuesFromProps(a,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(a){let b=this.getClosestVariantNode();if(b)return b.variantChildren&&b.variantChildren.add(a),()=>b.variantChildren.delete(a)}addValue(a,b){let c=this.values.get(a);b!==c&&(c&&this.removeValue(a),this.bindToMotionValue(a,b),this.values.set(a,b),this.latestValues[a]=b.get())}removeValue(a){this.values.delete(a);let b=this.valueSubscriptions.get(a);b&&(b(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,b){if(this.props.values&&this.props.values[a])return this.props.values[a];let c=this.values.get(a);return void 0===c&&void 0!==b&&(c=bc(null===b?void 0:b,{owner:this}),this.addValue(a,c)),c}readValue(a,b){let c=void 0===this.latestValues[a]&&this.current?this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options):this.latestValues[a];if(null!=c){if("string"==typeof c&&(ac(c)||aG(c)))c=parseFloat(c);else{let d;d=c,!bd.find(Z(d))&&J.test(b)&&(c=aI(a,b))}this.setBaseTarget(a,X(c)?c.get():c)}return X(c)?c.get():c}setBaseTarget(a,b){this.baseTarget[a]=b}getBaseTarget(a){let b,{initial:c}=this.props;if("string"==typeof c||"object"==typeof c){let d=bp(this.props,c,this.presenceContext?.custom);d&&(b=d[a])}if(c&&void 0!==b)return b;let d=this.getBaseTargetFromProps(this.props,a);return void 0===d||X(d)?void 0!==this.initialValues[a]&&void 0===b?void 0:this.baseTarget[a]:d}on(a,b){return this.events[a]||(this.events[a]=new aO),this.events[a].add(b)}notify(a,...b){this.events[a]&&this.events[a].notify(...b)}scheduleRenderMicrotask(){a6.render(this.render)}}class bt extends bs{constructor(){super(...arguments),this.KeyframeResolver=aK}sortInstanceNodePosition(a,b){return 2&a.compareDocumentPosition(b)?1:-1}getBaseTargetFromProps(a,b){let c=a.style;return c?c[b]:void 0}removeValueFromRenderState(a,{vars:b,style:c}){delete b[a],delete c[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:a}=this.props;X(a)&&(this.childSubscription=a.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}function bu(a){return a.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}let bv=(a,b)=>b&&"number"==typeof a?b.transform(a):a,bw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},bx=g.length;function by(a,b,c){let{style:d,vars:e,transformOrigin:f}=a,i=!1,j=!1;for(let a in b){let c=b[a];if(h.has(a)){i=!0;continue}if(ae(a)){e[a]=c;continue}{let b=bv(c,Q[a]);a.startsWith("origin")?(j=!0,f[a]=b):d[a]=b}}if(!b.transform&&(i||c?d.transform=function(a,b,c){let d="",e=!0;for(let f=0;f<bx;f++){let h=g[f],i=a[h];if(void 0===i)continue;let j=!0;if("number"==typeof i)j=i===+!!h.startsWith("scale");else{let a=parseFloat(i);j=h.startsWith("scale")?1===a:0===a}if(!j||c){let a=bv(i,Q[h]);if(!j){e=!1;let b=bw[h]||h;d+=`${b}(${a}) `}c&&(b[h]=a)}}return d=d.trim(),c?d=c(b,e?"":d):e&&(d="none"),d}(b,a.transform,c):d.transform&&(d.transform="none")),j){let{originX:a="50%",originY:b="50%",originZ:c=0}=f;d.transformOrigin=`${a} ${b} ${c}`}}let bz={offset:"stroke-dashoffset",array:"stroke-dasharray"},bA={offset:"strokeDashoffset",array:"strokeDasharray"},bB=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function bC(a,{attrX:b,attrY:c,attrScale:d,pathLength:e,pathSpacing:f=1,pathOffset:g=0,...h},i,j,k){if(by(a,h,j),i){a.style.viewBox&&(a.attrs.viewBox=a.style.viewBox);return}a.attrs=a.style,a.style={};let{attrs:l,style:m}=a;for(let a of(l.transform&&(m.transform=l.transform,delete l.transform),(m.transform||l.transformOrigin)&&(m.transformOrigin=l.transformOrigin??"50% 50%",delete l.transformOrigin),m.transform&&(m.transformBox=k?.transformBox??"fill-box",delete l.transformBox),bB))void 0!==l[a]&&(m[a]=l[a],delete l[a]);void 0!==b&&(l.x=b),void 0!==c&&(l.y=c),void 0!==d&&(l.scale=d),void 0!==e&&function(a,b,c=1,d=0,e=!0){a.pathLength=1;let f=e?bz:bA;a[f.offset]=`${-d}`,a[f.array]=`${b} ${c}`}(l,e,f,g,!1)}let bD=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),bE=a=>"string"==typeof a&&"svg"===a.toLowerCase();function bF(a,{style:b,vars:c},d,e){let f,g=a.style;for(f in b)g[f]=b[f];for(f in e?.applyProjectionStyles(g,d),c)g.setProperty(f,c[f])}function bG(a,b){return b.max===b.min?0:a/(b.max-b.min)*100}let bH={correct:(a,b)=>{if(!b.target)return a;if("string"==typeof a)if(!x.test(a))return a;else a=parseFloat(a);let c=bG(a,b.target.x),d=bG(a,b.target.y);return`${c}% ${d}%`}},bI=(a,b,c)=>a+(b-a)*c,bJ={borderRadius:{...bH,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:bH,borderTopRightRadius:bH,borderBottomLeftRadius:bH,borderBottomRightRadius:bH,boxShadow:{correct:(a,{treeScale:b,projectionDelta:c})=>{let d=J.parse(a);if(d.length>5)return a;let e=J.createTransformer(a),f=+("number"!=typeof d[0]),g=c.x.scale*b.x,h=c.y.scale*b.y;d[0+f]/=g,d[1+f]/=h;let i=bI(g,h,.5);return"number"==typeof d[2+f]&&(d[2+f]/=i),"number"==typeof d[3+f]&&(d[3+f]/=i),e(d)}}};function bK(a,{layout:b,layoutId:c}){return h.has(a)||a.startsWith("origin")||(b||void 0!==c)&&(!!bJ[a]||"opacity"===a)}function bL(a,b,c){let d=a.style,e=b?.style,f={};if(!d)return f;for(let b in d)(X(d[b])||e&&X(e[b])||bK(b,a)||c?.getValue(b)?.liveStyle!==void 0)&&(f[b]=d[b]);return f}function bM(a,b,c){let d=bL(a,b,c);for(let c in a)(X(a[c])||X(b[c]))&&(d[-1!==g.indexOf(c)?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c]=a[c]);return d}class bN extends bt{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=W}getBaseTargetFromProps(a,b){return a[b]}readValueFromInstance(a,b){if(h.has(b)){let a=S(b);return a&&a.default||0}return b=bD.has(b)?b:bu(b),a.getAttribute(b)}scrapeMotionValuesFromProps(a,b,c){return bM(a,b,c)}build(a,b,c){bC(a,b,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(a,b,c,d){for(let c in bF(a,b,void 0,d),b.attrs)a.setAttribute(bD.has(c)?c:bu(c),b.attrs[c])}mount(a){this.isSVGTag=bE(a.tagName),super.mount(a)}}function bO({top:a,left:b,right:c,bottom:d}){return{x:{min:b,max:c},y:{min:a,max:d}}}function bP(a){return void 0===a||1===a}function bQ({scale:a,scaleX:b,scaleY:c}){return!bP(a)||!bP(b)||!bP(c)}function bR(a){return bQ(a)||bS(a)||a.z||a.rotate||a.rotateX||a.rotateY||a.skewX||a.skewY}function bS(a){var b,c;return(b=a.x)&&"0%"!==b||(c=a.y)&&"0%"!==c}function bT(a,b,c,d,e){return void 0!==e&&(a=d+e*(a-d)),d+c*(a-d)+b}function bU(a,b=0,c=1,d,e){a.min=bT(a.min,b,c,d,e),a.max=bT(a.max,b,c,d,e)}function bV(a,{x:b,y:c}){bU(a.x,b.translate,b.scale,b.originPoint),bU(a.y,c.translate,c.scale,c.originPoint)}function bW(a,b){a.min+=b,a.max+=b}function bX(a,b,c,d,e=.5){let f=bI(a.min,a.max,e);bU(a,b,c,f,d)}function bY(a,b){return"string"==typeof a?parseFloat(a)/100*(b.max-b.min):a}function bZ(a,b,c){let d=c??a;bX(a.x,bY(b.x,d.x),b.scaleX,b.scale,b.originX),bX(a.y,bY(b.y,d.y),b.scaleY,b.scale,b.originY)}function b$(a,b){return bO(function(a,b){if(!b)return a;let c=b({x:a.left,y:a.top}),d=b({x:a.right,y:a.bottom});return{top:c.y,left:c.x,bottom:d.y,right:d.x}}(a.getBoundingClientRect(),b))}class b_ extends bt{constructor(){super(...arguments),this.type="html",this.renderInstance=bF}readValueFromInstance(a,b){if(h.has(b))return this.projection?.isProjecting?ar(b):((a,b)=>{let{transform:c="none"}=getComputedStyle(a);return as(c,b)})(a,b);{let c=window.getComputedStyle(a),d=(ae(b)?c.getPropertyValue(b):c[b])||0;return"string"==typeof d?d.trim():d}}measureInstanceViewportBox(a,{transformPagePoint:b}){return b$(a,b)}build(a,b,c){by(a,b,c.transformTemplate)}scrapeMotionValuesFromProps(a,b,c){return bL(a,b,c)}}var b0=c(21968);let b1=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function b2(a){if("string"!=typeof a||a.includes("-"));else if(b1.indexOf(a)>-1||/[A-Z]/u.test(a))return!0;return!1}var b3=c(10837),b4=c(46005),b5=c(51662);let b6=(0,b0.createContext)({});function b7(a){return Array.isArray(a)?a.join(" "):a}let b8=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function b9(a,b,c){for(let d in b)X(b[d])||bK(d,c)||(a[d]=b[d])}let ca=()=>({...b8(),attrs:{}}),cb=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function cc(a){return a.startsWith("while")||a.startsWith("drag")&&"draggable"!==a||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||cb.has(a)}let cd=a=>!cc(a);try{!function(a){"function"==typeof a&&(cd=b=>b.startsWith("on")?!cc(b):a(b))}(require("@emotion/is-prop-valid").default)}catch{}function ce(a){return X(a)?a.get():a}var cf=c(25367),cg=c(42157);let ch=a=>(b,c)=>{let d=(0,b0.useContext)(b6),e=(0,b0.useContext)(cf.t),f=()=>(function({scrapeMotionValuesFromProps:a,createRenderState:b},c,d,e){return{latestValues:function(a,b,c,d){let e={},f=d(a,{});for(let a in f)e[a]=ce(f[a]);let{initial:g,animate:h}=a,i=bj(a),j=bk(a);b&&j&&!i&&!1!==a.inherit&&(void 0===g&&(g=b.initial),void 0===h&&(h=b.animate));let k=!!c&&!1===c.initial,l=(k=k||!1===g)?h:g;if(l&&"boolean"!=typeof l&&!bf(l)){let b=Array.isArray(l)?l:[l];for(let c=0;c<b.length;c++){let d=bp(a,b[c]);if(d){let{transitionEnd:a,transition:b,...c}=d;for(let a in c){let b=c[a];if(Array.isArray(b)){let a=k?b.length-1:0;b=b[a]}null!==b&&(e[a]=b)}for(let b in a)e[b]=a[b]}}}return e}(c,d,e,a),renderState:b()}})(a,b,d,e);return c?f():(0,cg.M)(f)},ci=ch({scrapeMotionValuesFromProps:bL,createRenderState:b8}),cj=ch({scrapeMotionValuesFromProps:bM,createRenderState:ca}),ck={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},cl=!1,cm=Symbol.for("motionComponentSymbol");function cn(a,{forwardMotionProps:b=!1,type:c}={},d,e){d&&function(a){let b=(!function(){if(cl)return;let a={};for(let b in ck)a[b]={isEnabled:a=>ck[b].some(b=>!!a[b])};br=a,cl=!0}(),br);for(let c in a)b[c]={...b[c],...a[c]};br=b}(d);let f=c?"svg"===c:b2(a),g=f?cj:ci;function h(c,d){let e,h={...(0,b0.useContext)(b5.Q),...c,layoutId:function({layoutId:a}){let b=(0,b0.useContext)(b4.L).id;return b&&void 0!==a?b+"-"+a:a}(c)},{isStatic:i}=h,j=function(a){let{initial:b,animate:c}=function(a,b){if(bj(a)){let{initial:b,animate:c}=a;return{initial:!1===b||bg(b)?b:void 0,animate:bg(c)?c:void 0}}return!1!==a.inherit?b:{}}(a,(0,b0.useContext)(b6));return(0,b0.useMemo)(()=>({initial:b,animate:c}),[b7(b),b7(c)])}(c),k=g(c,i);return(0,b3.jsxs)(b6.Provider,{value:j,children:[e&&j.visualElement?(0,b3.jsx)(e,{visualElement:j.visualElement,...h}):null,function(a,b,c,{latestValues:d},e,f=!1,g){let h=(g??b2(a)?function(a,b,c,d){let e=(0,b0.useMemo)(()=>{let c=ca();return bC(c,b,bE(d),a.transformTemplate,a.style),{...c.attrs,style:{...c.style}}},[b]);if(a.style){let b={};b9(b,a.style,a),e.style={...b,...e.style}}return e}:function(a,b){let c={},d=function(a,b){let c=a.style||{},d={};return b9(d,c,a),Object.assign(d,function({transformTemplate:a},b){return(0,b0.useMemo)(()=>{let c=b8();return by(c,b,a),Object.assign({},c.vars,c.style)},[b])}(a,b)),d}(a,b);return a.drag&&!1!==a.dragListener&&(c.draggable=!1,d.userSelect=d.WebkitUserSelect=d.WebkitTouchCallout="none",d.touchAction=!0===a.drag?"none":`pan-${"x"===a.drag?"y":"x"}`),void 0===a.tabIndex&&(a.onTap||a.onTapStart||a.whileTap)&&(c.tabIndex=0),c.style=d,c})(b,d,e,a),i=function(a,b,c){let d={};for(let e in a)("values"!==e||"object"!=typeof a.values)&&!X(a[e])&&(cd(e)||!0===c&&cc(e)||!b&&!cc(e)||a.draggable&&e.startsWith("onDrag"))&&(d[e]=a[e]);return d}(b,"string"==typeof a,f),j=a!==b0.Fragment?{...i,...h,ref:c}:{},{children:k}=b,l=(0,b0.useMemo)(()=>X(k)?k.get():k,[k]);return(0,b0.createElement)(a,{...j,children:l})}(a,c,function(a,b,c){let d=(0,b0.useRef)(c);(0,b0.useInsertionEffect)(()=>{d.current=c});let e=(0,b0.useRef)(null);return(0,b0.useCallback)(c=>{c&&a.onMount?.(c);let f=d.current;if("function"==typeof f)if(c){let a=f(c);"function"==typeof a&&(e.current=a)}else e.current?(e.current(),e.current=null):f(c);else f&&(f.current=c);b&&(c?b.mount(c):b.unmount())},[b])}(k,j.visualElement,d),k,i,b,f)]})}h.displayName=`motion.${"string"==typeof a?a:`create(${a.displayName??a.name??""})`}`;let i=(0,b0.forwardRef)(h);return i[cm]=a,i}class co{constructor(a){this.isMounted=!1,this.node=a}update(){}}function cp(a,b,c){let d=a.getProps();return bp(d,b,void 0!==c?c:d.custom,a)}function cq(a,b){if(a?.inherit&&b){let{inherit:c,...d}=a;return{...b,...d}}return a}function cr(a,b){let c=a?.[b]??a?.default??a;return c!==a?cq(c,a):c}let cs=a=>Array.isArray(a);function ct(a,b){let c=a.getValue("willChange");if(X(c)&&c.add)return c.add(b);if(!c&&a7.W.WillChange){let c=new a7.W.WillChange("auto");a.addValue("willChange",c),c.add(b)}}let cu="data-"+bu("framerAppearId"),cv=(a,b)=>c=>b(a(c)),cw=(...a)=>a.reduce(cv);function cx(a,b,c){return(c<0&&(c+=1),c>1&&(c-=1),c<1/6)?a+(b-a)*6*c:c<.5?b:c<2/3?a+(b-a)*(2/3-c)*6:a}function cy(a,b){return c=>c>0?b:a}let cz=(a,b,c)=>{let d=a*a,e=c*(b*b-d)+d;return e<0?0:Math.sqrt(e)},cA=[t,s,B];function cB(a){let b=cA.find(b=>b.test(a));if(aa(!!b,`'${a}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!b)return!1;let c=b.parse(a);return b===B&&(c=function({hue:a,saturation:b,lightness:c,alpha:d}){a/=360,c/=100;let e=0,f=0,g=0;if(b/=100){let d=c<.5?c*(1+b):c+b-c*b,h=2*c-d;e=cx(h,d,a+1/3),f=cx(h,d,a),g=cx(h,d,a-1/3)}else e=f=g=c;return{red:Math.round(255*e),green:Math.round(255*f),blue:Math.round(255*g),alpha:d}}(c)),c}let cC=(a,b)=>{let c=cB(a),d=cB(b);if(!c||!d)return cy(a,b);let e={...c};return a=>(e.red=cz(c.red,d.red,a),e.green=cz(c.green,d.green,a),e.blue=cz(c.blue,d.blue,a),e.alpha=bI(c.alpha,d.alpha,a),s.transform(e))},cD=new Set(["none","hidden"]);function cE(a,b){return c=>bI(a,b,c)}function cF(a){return"number"==typeof a?cE:"string"==typeof a?ag(a)?cy:C.test(a)?cC:cI:Array.isArray(a)?cG:"object"==typeof a?C.test(a)?cC:cH:cy}function cG(a,b){let c=[...a],d=c.length,e=a.map((a,c)=>cF(a)(a,b[c]));return a=>{for(let b=0;b<d;b++)c[b]=e[b](a);return c}}function cH(a,b){let c={...a,...b},d={};for(let e in c)void 0!==a[e]&&void 0!==b[e]&&(d[e]=cF(a[e])(a[e],b[e]));return a=>{for(let b in d)c[b]=d[b](a);return c}}let cI=(a,b)=>{let c=J.createTransformer(b),d=H(a),e=H(b);return d.indexes.var.length===e.indexes.var.length&&d.indexes.color.length===e.indexes.color.length&&d.indexes.number.length>=e.indexes.number.length?cD.has(a)&&!e.values.length||cD.has(b)&&!d.values.length?function(a,b){return cD.has(a)?c=>c<=0?a:b:c=>c>=1?b:a}(a,b):cw(cG(function(a,b){let c=[],d={color:0,var:0,number:0};for(let e=0;e<b.values.length;e++){let f=b.types[e],g=a.indexes[f][d[f]],h=a.values[g]??0;c[e]=h,d[f]++}return c}(d,e),e.values),c):(aa(!0,`Complex values '${a}' and '${b}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),cy(a,b))};function cJ(a,b,c){return"number"==typeof a&&"number"==typeof b&&"number"==typeof c?bI(a,b,c):cF(a)(a,b)}let cK=a=>{let b=({timestamp:b})=>a(b);return{start:(a=!0)=>ay.Gt.update(b,a),stop:()=>(0,ay.WG)(b),now:()=>ay.uv.isProcessing?ay.uv.timestamp:a9.now()}};function cL(a){let b=0,c=a.next(b);for(;!c.done&&b<2e4;)b+=50,c=a.next(b);return b>=2e4?1/0:b}let cM={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function cN(a,b){return a*Math.sqrt(1-b*b)}let cO=["duration","bounce"],cP=["stiffness","damping","mass"];function cQ(a,b){return b.some(b=>void 0!==a[b])}function cR(a=cM.visualDuration,b=cM.bounce){let c,d,e,f,g,h,j="object"!=typeof a?{visualDuration:a,keyframes:[0,1],bounce:b}:a,{restSpeed:k,restDelta:l}=j,m=j.keyframes[0],n=j.keyframes[j.keyframes.length-1],o={done:!1,value:m},{stiffness:p,damping:q,mass:r,duration:s,velocity:t,isResolvedFromDuration:u}=function(a){let b={velocity:cM.velocity,stiffness:cM.stiffness,damping:cM.damping,mass:cM.mass,isResolvedFromDuration:!1,...a};if(!cQ(a,cP)&&cQ(a,cO))if(b.velocity=0,a.visualDuration){let c=2*Math.PI/(1.2*a.visualDuration),d=c*c,e=2*i(.05,1,1-(a.bounce||0))*Math.sqrt(d);b={...b,mass:cM.mass,stiffness:d,damping:e}}else{let c=function({duration:a=cM.duration,bounce:b=cM.bounce,velocity:c=cM.velocity,mass:d=cM.mass}){let e,f;aa(a<=aL(cM.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let g=1-b;g=i(cM.minDamping,cM.maxDamping,g),a=i(cM.minDuration,cM.maxDuration,a/1e3),g<1?(e=b=>{let d=b*g,e=d*a;return .001-(d-c)/cN(b,g)*Math.exp(-e)},f=b=>{let d=b*g*a,f=Math.pow(g,2)*Math.pow(b,2)*a,h=Math.exp(-d),i=cN(Math.pow(b,2),g);return(d*c+c-f)*h*(-e(b)+.001>0?-1:1)/i}):(e=b=>-.001+Math.exp(-b*a)*((b-c)*a+1),f=b=>a*a*(c-b)*Math.exp(-b*a));let h=function(a,b,c){let d=c;for(let c=1;c<12;c++)d-=a(d)/b(d);return d}(e,f,5/a);if(a=aL(a),isNaN(h))return{stiffness:cM.stiffness,damping:cM.damping,duration:a};{let b=Math.pow(h,2)*d;return{stiffness:b,damping:2*g*Math.sqrt(d*b),duration:a}}}({...a,velocity:0});(b={...b,...c,mass:cM.mass}).isResolvedFromDuration=!0}return b}({...j,velocity:-((j.velocity||0)/1e3)}),v=t||0,w=q/(2*Math.sqrt(p*r)),x=n-m,y=Math.sqrt(p/r)/1e3,z=5>Math.abs(x);if(k||(k=z?cM.restSpeed.granular:cM.restSpeed.default),l||(l=z?cM.restDelta.granular:cM.restDelta.default),w<1)e=cN(y,w),f=(v+w*y*x)/e,c=a=>n-Math.exp(-w*y*a)*(f*Math.sin(e*a)+x*Math.cos(e*a)),g=w*y*f+x*e,h=w*y*x-f*e,d=a=>Math.exp(-w*y*a)*(g*Math.sin(e*a)+h*Math.cos(e*a));else if(1===w){c=a=>n-Math.exp(-y*a)*(x+(v+y*x)*a);let a=v+y*x;d=b=>Math.exp(-y*b)*(y*a*b-v)}else{let a=y*Math.sqrt(w*w-1);c=b=>{let c=Math.exp(-w*y*b),d=Math.min(a*b,300);return n-c*((v+w*y*x)*Math.sinh(d)+a*x*Math.cosh(d))/a};let b=(v+w*y*x)/a,e=w*y*b-x*a,f=w*y*x-b*a;d=b=>{let c=Math.exp(-w*y*b),d=Math.min(a*b,300);return c*(e*Math.sinh(d)+f*Math.cosh(d))}}let A={calculatedDuration:u&&s||null,velocity:a=>aL(d(a)),next:a=>{if(!u&&w<1){let b=Math.exp(-w*y*a),c=Math.sin(e*a),d=Math.cos(e*a),i=n-b*(f*c+x*d);return o.done=Math.abs(aL(b*(g*c+h*d)))<=k&&Math.abs(n-i)<=l,o.value=o.done?n:i,o}let b=c(a);return u?o.done=a>=s:o.done=Math.abs(aL(d(a)))<=k&&Math.abs(n-b)<=l,o.value=o.done?n:b,o},toString:()=>{let a=Math.min(cL(A),2e4),b=a0(b=>A.next(a*b).value,a,30);return a+"ms "+b},toTransition:()=>{}};return A}function cS(a,b,c){var d,e;let f=Math.max(b-5,0);return d=c-a(f),(e=b-f)?1e3/e*d:0}function cT({keyframes:a,velocity:b=0,power:c=.8,timeConstant:d=325,bounceDamping:e=10,bounceStiffness:f=500,modifyTarget:g,min:h,max:i,restDelta:j=.5,restSpeed:k}){let l,m,n=a[0],o={done:!1,value:n},p=c*b,q=n+p,r=void 0===g?q:g(q);r!==q&&(p=r-n);let s=a=>-p*Math.exp(-a/d),t=a=>r+s(a),u=a=>{let b=s(a),c=t(a);o.done=Math.abs(b)<=j,o.value=o.done?r:c},v=a=>{let b;if(b=o.value,void 0!==h&&b<h||void 0!==i&&b>i){var c;l=a,m=cR({keyframes:[o.value,(c=o.value,void 0===h?i:void 0===i||Math.abs(h-c)<Math.abs(i-c)?h:i)],velocity:cS(t,a,o.value),damping:e,stiffness:f,restDelta:j,restSpeed:k})}};return v(0),{calculatedDuration:null,next:a=>{let b=!1;return(m||void 0!==l||(b=!0,u(a),v(a)),void 0!==l&&a>=l)?m.next(a-l):(b||u(a),o)}}}cR.applyToOptions=a=>{let b=function(a,b=100,c){let d=c({...a,keyframes:[0,b]}),e=Math.min(cL(d),2e4);return{type:"keyframes",ease:a=>d.next(e*a).value/b,duration:e/1e3}}(a,100,cR);return a.ease=b.ease,a.duration=aL(b.duration),a.type="keyframes",a};let cU=(a,b,c)=>(((1-3*c+3*b)*a+(3*c-6*b))*a+3*b)*a;function cV(a,b,c,d){return a===b&&c===d?aP.l:e=>0===e||1===e?e:cU(function(a,b,c,d,e){let f,g,h=0;do(f=cU(g=b+(c-b)/2,d,e)-a)>0?c=g:b=g;while(Math.abs(f)>1e-7&&++h<12);return g}(e,0,1,a,c),b,d)}let cW=cV(.42,0,1,1),cX=cV(0,0,.58,1),cY=cV(.42,0,.58,1),cZ=a=>b=>b<=.5?a(2*b)/2:(2-a(2*(1-b)))/2,c$=a=>b=>1-a(1-b),c_=cV(.33,1.53,.69,.99),c0=c$(c_),c1=cZ(c0),c2=a=>a>=1?1:(a*=2)<1?.5*c0(a):.5*(2-Math.pow(2,-10*(a-1))),c3=a=>1-Math.sin(Math.acos(a)),c4=c$(c3),c5=cZ(c3),c6={linear:aP.l,easeIn:cW,easeInOut:cY,easeOut:cX,circIn:c3,circInOut:c5,circOut:c4,backIn:c0,backInOut:c1,backOut:c_,anticipate:c2},c7=a=>{if(a$(a)){ab(4===a.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[b,c,d,e]=a;return cV(b,c,d,e)}return"string"==typeof a?(ab(void 0!==c6[a],`Invalid easing type '${a}'`,"invalid-easing-type"),c6[a]):a},c8=(a,b,c)=>{let d=b-a;return 0===d?1:(c-a)/d};function c9({duration:a=300,keyframes:b,times:c,ease:d="easeInOut"}){var e;let f=Array.isArray(d)&&"number"!=typeof d[0]?d.map(c7):c7(d),g={done:!1,value:b[0]},h=function(a,b,{clamp:c=!0,ease:d,mixer:e}={}){let f=a.length;if(ab(f===b.length,"Both input and output ranges must be the same length","range-length"),1===f)return()=>b[0];if(2===f&&b[0]===b[1])return()=>b[1];let g=a[0]===a[1];a[0]>a[f-1]&&(a=[...a].reverse(),b=[...b].reverse());let h=function(a,b,c){let d=[],e=c||a7.W.mix||cJ,f=a.length-1;for(let c=0;c<f;c++){let f=e(a[c],a[c+1]);b&&(f=cw(Array.isArray(b)?b[c]||aP.l:b,f)),d.push(f)}return d}(b,d,e),j=h.length,k=c=>{if(g&&c<a[0])return b[0];let d=0;if(j>1)for(;d<a.length-2&&!(c<a[d+1]);d++);let e=c8(a[d],a[d+1],c);return h[d](e)};return c?b=>k(i(a[0],a[f-1],b)):k}((e=c&&c.length===b.length?c:function(a){let b=[0];return!function(a,b){let c=a[a.length-1];for(let d=1;d<=b;d++){let e=c8(0,b,d);a.push(bI(c,1,e))}}(b,a.length-1),b}(b),e.map(b=>b*a)),b,{ease:Array.isArray(f)?f:b.map(()=>f||cY).splice(0,b.length-1)});return{calculatedDuration:a,next:b=>(g.value=h(b),g.done=b>=a,g)}}let da={decay:cT,inertia:cT,tween:c9,keyframes:c9,spring:cR};function db(a){"string"==typeof a.type&&(a.type=da[a.type])}let dc=a=>a/100;class dd extends aX{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:a}=this.options;a&&a.updatedAt!==a9.now()&&this.tick(a9.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},aY.mainThread++,this.options=a,this.initAnimation(),this.play(),!1===a.autoplay&&this.pause()}initAnimation(){let{options:a}=this;db(a);let{type:b=c9,repeat:c=0,repeatDelay:d=0,repeatType:e,velocity:f=0}=a,{keyframes:g}=a,h=b||c9;h!==c9&&"number"!=typeof g[0]&&(this.mixKeyframes=cw(dc,cJ(g[0],g[1])),g=[0,100]);let i=h({...a,keyframes:g});"mirror"===e&&(this.mirroredGenerator=h({...a,keyframes:[...g].reverse(),velocity:-f})),null===i.calculatedDuration&&(i.calculatedDuration=cL(i));let{calculatedDuration:j}=i;this.calculatedDuration=j,this.resolvedDuration=j+d,this.totalDuration=this.resolvedDuration*(c+1)-d,this.generator=i}updateTime(a){let b=Math.round(a-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=b}tick(a,b=!1){let c,{generator:d,totalDuration:e,mixKeyframes:f,mirroredGenerator:g,resolvedDuration:h,calculatedDuration:j}=this;if(null===this.startTime)return d.next(0);let{delay:k=0,keyframes:l,repeat:m,repeatType:n,repeatDelay:o,type:p,onUpdate:q,finalKeyframe:r}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-e/this.speed,this.startTime)),b?this.currentTime=a:this.updateTime(a);let s=this.currentTime-k*(this.playbackSpeed>=0?1:-1),t=this.playbackSpeed>=0?s<0:s>e;this.currentTime=Math.max(s,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=e);let u=this.currentTime,v=d;if(m){let a=Math.min(this.currentTime,e)/h,b=Math.floor(a),c=a%1;!c&&a>=1&&(c=1),1===c&&b--,(b=Math.min(b,m+1))%2&&("reverse"===n?(c=1-c,o&&(c-=o/h)):"mirror"===n&&(v=g)),u=i(0,1,c)*h}t?(this.delayState.value=l[0],c=this.delayState):c=v.next(u),f&&!t&&(c.value=f(c.value));let{done:w}=c;t||null===j||(w=this.playbackSpeed>=0?this.currentTime>=e:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return x&&p!==cT&&(c.value=aW(l,this.options,r,this.speed)),q&&q(c.value),x&&this.finish(),c}then(a,b){return this.finished.then(a,b)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:a=0}=this.options||{};return this.duration+a/1e3}get time(){return this.currentTime/1e3}set time(a){a=aL(a),this.currentTime=a,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=a,this.tick(a))}getGeneratorVelocity(){let a=this.currentTime;if(a<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(a);let b=this.generator.next(a).value;return cS(a=>this.generator.next(a).value,a,b)}get speed(){return this.playbackSpeed}set speed(a){let b=this.playbackSpeed!==a;b&&this.driver&&this.updateTime(a9.now()),this.playbackSpeed=a,b&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:a=cK,startTime:b}=this.options;this.driver||(this.driver=a(a=>this.tick(a))),this.options.onPlay?.();let c=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=c):null!==this.holdTime?this.startTime=c-this.holdTime:this.startTime||(this.startTime=b??c),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(a9.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,aY.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),a.observe(this)}}let de={anticipate:c2,backInOut:c1,circInOut:c5};class df extends a4{constructor(a){!function(a){"string"==typeof a.ease&&a.ease in de&&(a.ease=de[a.ease])}(a),db(a),super(a),void 0!==a.startTime&&!1!==a.autoplay&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){let{motionValue:b,onUpdate:c,onComplete:d,element:e,...f}=this.options;if(!b)return;if(void 0!==a)return void b.set(a);let g=new dd({...f,autoplay:!1}),h=Math.max(10,a9.now()-this.startTime),j=i(0,10,h-10),k=g.sample(h).value,{name:l}=this.options;e&&l&&aQ(e,l,k),b.setWithVelocity(g.sample(Math.max(0,h-j)).value,k,j),g.stop()}}let dg=(a,b)=>"zIndex"!==b&&!!("number"==typeof a||Array.isArray(a)||"string"==typeof a&&(J.test(a)||"0"===a)&&!a.startsWith("url("));function dh(a){a.duration=0,a.type="keyframes"}let di=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,dj=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),dk=aR(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class dl extends aX{constructor({autoplay:a=!0,delay:b=0,type:c="keyframes",repeat:d=0,repeatDelay:e=0,repeatType:f="loop",keyframes:g,name:h,motionValue:i,element:j,...k}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=a9.now();let l={autoplay:a,delay:b,type:c,repeat:d,repeatDelay:e,repeatType:f,name:h,motionValue:i,element:j,...k},m=j?.KeyframeResolver||aF;this.keyframeResolver=new m(g,(a,b,c)=>this.onKeyframesResolved(a,b,l,!c),h,i,j),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(a,b,c,d){let e;this.keyframeResolver=void 0;let{name:f,type:g,velocity:h,delay:i,isHandoff:j,onUpdate:k}=c;this.resolvedAt=a9.now();let l=!0;!function(a,b,c,d){let e=a[0];if(null===e)return!1;if("display"===b||"visibility"===b)return!0;let f=a[a.length-1],g=dg(e,b),h=dg(f,b);return aa(g===h,`You are trying to animate ${b} from "${e}" to "${f}". "${g?f:e}" is not an animatable value.`,"value-not-animatable"),!!g&&!!h&&(function(a){let b=a[0];if(1===a.length)return!0;for(let c=0;c<a.length;c++)if(a[c]!==b)return!0}(a)||("spring"===c||a3(c))&&d)}(a,f,g,h)&&(l=!1,(a7.W.instantAnimations||!i)&&k?.(aW(a,c,b)),a[0]=a[a.length-1],dh(c),c.repeat=0);let m={startTime:d?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:b,...c,keyframes:a},n=l&&!j&&function(a){let{motionValue:b,name:c,repeatDelay:d,repeatType:e,damping:f,type:g,keyframes:h}=a;if(!(b?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:i,transformTemplate:j}=b.owner.getProps();return dk()&&c&&(a5.has(c)||dj.has(c)&&function(a){for(let b=0;b<a.length;b++)if("string"==typeof a[b]&&di.test(a[b]))return!0;return!1}(h))&&("transform"!==c||!j)&&!i&&!d&&"mirror"!==e&&0!==f&&"inertia"!==g}(m),o=m.motionValue?.owner?.current;if(n)try{e=new df({...m,element:o})}catch{e=new dd(m)}else e=new dd(m);e.finished.then(()=>{this.notifyFinished()}).catch(aP.l),this.pendingTimeline&&(this.stopTimeline=e.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=e}get finished(){return this._animation?this.animation.finished:this._finished}then(a,b){return this.finished.finally(a).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),aC=!0,aE(),aD(),aC=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let dm={type:"spring",stiffness:500,damping:25,restSpeed:10},dn={type:"keyframes",duration:.8},dp={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},dq=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),dr=(a,b,c,d={},e,f)=>g=>{let i=cr(d,a)||{},j=i.delay||d.delay||0,{elapsed:k=0}=d;k-=aL(j);let l={keyframes:Array.isArray(c)?c:[null,c],ease:"easeOut",velocity:b.getVelocity(),...i,delay:-k,onUpdate:a=>{b.set(a),i.onUpdate&&i.onUpdate(a)},onComplete:()=>{g(),i.onComplete&&i.onComplete()},name:a,motionValue:b,element:f?void 0:e};!function(a){for(let b in a)if(!dq.has(b))return!0;return!1}(i)&&Object.assign(l,((a,{keyframes:b})=>b.length>2?dn:h.has(a)?a.startsWith("scale")?{type:"spring",stiffness:550,damping:0===b[1]?2*Math.sqrt(550):30,restSpeed:10}:dm:dp)(a,l)),l.duration&&(l.duration=aL(l.duration)),l.repeatDelay&&(l.repeatDelay=aL(l.repeatDelay)),void 0!==l.from&&(l.keyframes[0]=l.from);let m=!1;if(!1!==l.type&&(0!==l.duration||l.repeatDelay)||(dh(l),0===l.delay&&(m=!0)),(a7.W.instantAnimations||a7.W.skipAnimations||e?.shouldSkipAnimations)&&(m=!0,dh(l),l.delay=0),l.allowFlatten=!i.type&&!i.ease,m&&!f&&void 0!==b.get()){let a=aW(l.keyframes,i);if(void 0!==a)return void ay.Gt.update(()=>{l.onUpdate(a),l.onComplete()})}return i.isSync?new dd(l):new dl(l)};function ds(a,b,{delay:c=0,transitionOverride:d,type:e}={}){let{transition:f,transitionEnd:g,...h}=b,i=a.getDefaultTransition();f=f?cq(f,i):i;let j=f?.reduceMotion;d&&(f=d);let k=[],l=e&&a.animationState&&a.animationState.getState()[e];for(let b in h){let d=a.getValue(b,a.latestValues[b]??null),e=h[b];if(void 0===e||l&&function({protectedKeys:a,needsAnimating:b},c){let d=a.hasOwnProperty(c)&&!0!==b[c];return b[c]=!1,d}(l,b))continue;let g={delay:c,...cr(f||{},b)},i=d.get();if(void 0!==i&&!d.isAnimating()&&!Array.isArray(e)&&e===i&&!g.velocity){ay.Gt.update(()=>d.set(e));continue}let m=!1;if(window.MotionHandoffAnimation){let c=a.props[cu];if(c){let a=window.MotionHandoffAnimation(c,b,ay.Gt);null!==a&&(g.startTime=a,m=!0)}}ct(a,b);let n=j??a.shouldReduceMotion;d.start(dr(b,d,e,n&&Y.has(b)?{type:!1}:g,a,m));let o=d.animation;o&&k.push(o)}if(g){let b=()=>ay.Gt.update(()=>{g&&function(a,b){let{transitionEnd:c={},transition:d={},...e}=cp(a,b)||{};for(let b in e={...e,...c}){var f;let c=cs(f=e[b])?f[f.length-1]||0:f;a.hasValue(b)?a.getValue(b).set(c):a.addValue(b,bc(c))}}(a,g)});k.length?Promise.all(k).then(b):b()}return k}function dt(a,b,c,d=0,e=1){let f=Array.from(a).sort((a,b)=>a.sortNodePosition(b)).indexOf(b),g=a.size,h=(g-1)*d;return"function"==typeof c?c(f,g):1===e?f*d:h-f*d}function du(a,b,c={}){let d=cp(a,b,"exit"===c.type?a.presenceContext?.custom:void 0),{transition:e=a.getDefaultTransition()||{}}=d||{};c.transitionOverride&&(e=c.transitionOverride);let f=d?()=>Promise.all(ds(a,d,c)):()=>Promise.resolve(),g=a.variantChildren&&a.variantChildren.size?(d=0)=>{let{delayChildren:f=0,staggerChildren:g,staggerDirection:h}=e;return function(a,b,c=0,d=0,e=0,f=1,g){let h=[];for(let i of a.variantChildren)i.notify("AnimationStart",b),h.push(du(i,b,{...g,delay:c+("function"==typeof d?0:d)+dt(a.variantChildren,i,d,e,f)}).then(()=>i.notify("AnimationComplete",b)));return Promise.all(h)}(a,b,d,f,g,h,c)}:()=>Promise.resolve(),{when:h}=e;if(!h)return Promise.all([f(),g(c.delay)]);{let[a,b]="beforeChildren"===h?[f,g]:[g,f];return a().then(()=>b())}}let dv=bi.length;function dw(a,b){if(!Array.isArray(b))return!1;let c=b.length;if(c!==a.length)return!1;for(let d=0;d<c;d++)if(b[d]!==a[d])return!1;return!0}let dx=[...bh].reverse(),dy=bh.length;function dz(a=!1){return{isActive:a,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function dA(){return{animate:dz(!0),whileInView:dz(),whileHover:dz(),whileTap:dz(),whileDrag:dz(),whileFocus:dz(),exit:dz()}}class dB extends co{constructor(a){super(a),a.animationState||(a.animationState=function(a){let b=b=>Promise.all(b.map(({animation:b,options:c})=>(function(a,b,c={}){let d;if(a.notify("AnimationStart",b),Array.isArray(b))d=Promise.all(b.map(b=>du(a,b,c)));else if("string"==typeof b)d=du(a,b,c);else{let e="function"==typeof b?cp(a,b,c.custom):b;d=Promise.all(ds(a,e,c))}return d.then(()=>{a.notify("AnimationComplete",b)})})(a,b,c))),c=dA(),d=!0,e=!1,f=b=>(c,d)=>{let e=cp(a,d,"exit"===b?a.presenceContext?.custom:void 0);if(e){let{transition:a,transitionEnd:b,...d}=e;c={...c,...d,...b}}return c};function g(g){let{props:h}=a,i=function a(b){if(!b)return;if(!b.isControllingVariants){let c=b.parent&&a(b.parent)||{};return void 0!==b.props.initial&&(c.initial=b.props.initial),c}let c={};for(let a=0;a<dv;a++){let d=bi[a],e=b.props[d];(bg(e)||!1===e)&&(c[d]=e)}return c}(a.parent)||{},j=[],k=new Set,l={},m=1/0;for(let b=0;b<dy;b++){var n,o;let p=dx[b],q=c[p],r=void 0!==h[p]?h[p]:i[p],s=bg(r),t=p===g?q.isActive:null;!1===t&&(m=b);let u=r===i[p]&&r!==h[p]&&s;if(u&&(d||e)&&a.manuallyAnimateOnMount&&(u=!1),q.protectedKeys={...l},!q.isActive&&null===t||!r&&!q.prevProp||bf(r)||"boolean"==typeof r)continue;if("exit"===p&&q.isActive&&!0!==t){q.prevResolvedValues&&(l={...l,...q.prevResolvedValues});continue}let v=(n=q.prevProp,"string"==typeof(o=r)?o!==n:!!Array.isArray(o)&&!dw(o,n)),w=v||p===g&&q.isActive&&!u&&s||b>m&&s,x=!1,y=Array.isArray(r)?r:[r],z=y.reduce(f(p),{});!1===t&&(z={});let{prevResolvedValues:A={}}=q,B={...A,...z},C=b=>{w=!0,k.has(b)&&(x=!0,k.delete(b)),q.needsAnimating[b]=!0;let c=a.getValue(b);c&&(c.liveStyle=!1)};for(let a in B){let b=z[a],c=A[a];if(!l.hasOwnProperty(a))(cs(b)&&cs(c)?dw(b,c):b===c)?void 0!==b&&k.has(a)?C(a):q.protectedKeys[a]=!0:null!=b?C(a):k.add(a)}q.prevProp=r,q.prevResolvedValues=z,q.isActive&&(l={...l,...z}),(d||e)&&a.blockInitialAnimation&&(w=!1);let D=u&&v,E=!D||x;w&&E&&j.push(...y.map(b=>{let c={type:p};if("string"==typeof b&&(d||e)&&!D&&a.manuallyAnimateOnMount&&a.parent){let{parent:d}=a,e=cp(d,b);if(d.enteringChildren&&e){let{delayChildren:b}=e.transition||{};c.delay=dt(d.enteringChildren,a,b)}}return{animation:b,options:c}}))}if(k.size){let b={};if("boolean"!=typeof h.initial){let c=cp(a,Array.isArray(h.initial)?h.initial[0]:h.initial);c&&c.transition&&(b.transition=c.transition)}k.forEach(c=>{let d=a.getBaseTarget(c),e=a.getValue(c);e&&(e.liveStyle=!0),b[c]=d??null}),j.push({animation:b})}let p=!!j.length;return d&&(!1===h.initial||h.initial===h.animate)&&!a.manuallyAnimateOnMount&&(p=!1),d=!1,e=!1,p?b(j):Promise.resolve()}return{animateChanges:g,setActive:function(b,d){if(c[b].isActive===d)return Promise.resolve();a.variantChildren?.forEach(a=>a.animationState?.setActive(b,d)),c[b].isActive=d;let e=g(b);for(let a in c)c[a].protectedKeys={};return e},setAnimateFunction:function(c){b=c(a)},getState:()=>c,reset:()=>{c=dA(),e=!0}}}(a))}updateAnimationControlsSubscription(){let{animate:a}=this.node.getProps();bf(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:a}=this.node.getProps(),{animate:b}=this.node.prevProps||{};a!==b&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let dC=0;class dD extends co{constructor(){super(...arguments),this.id=dC++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:a,onExitComplete:b}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===c)return;if(a&&!1===c){if(this.isExitComplete){let{initial:a,custom:b}=this.node.getProps();if("string"==typeof a){let c=cp(this.node,a,b);if(c){let{transition:a,transitionEnd:b,...d}=c;for(let a in d)this.node.getValue(a)?.jump(d[a])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let d=this.node.animationState.setActive("exit",!a);b&&!a&&d.then(()=>{this.isExitComplete=!0,b(this.id)})}mount(){let{register:a,onExitComplete:b}=this.node.presenceContext||{};b&&b(this.id),a&&(this.unmount=a(this.id))}unmount(){}}let dE={x:!1,y:!1};function dF(a){return[a("x"),a("y")]}function dG(a){return a.max-a.min}function dH(a,b,c,d=.5){a.origin=d,a.originPoint=bI(b.min,b.max,a.origin),a.scale=dG(c)/dG(b),a.translate=bI(c.min,c.max,a.origin)-a.originPoint,(a.scale>=.9999&&a.scale<=1.0001||isNaN(a.scale))&&(a.scale=1),(a.translate>=-.01&&a.translate<=.01||isNaN(a.translate))&&(a.translate=0)}function dI(a,b,c,d){dH(a.x,b.x,c.x,d?d.originX:void 0),dH(a.y,b.y,c.y,d?d.originY:void 0)}function dJ(a,b,c,d=0){a.min=(d?bI(c.min,c.max,d):c.min)+b.min,a.max=a.min+dG(b)}function dK(a,b,c,d=0){let e=d?bI(c.min,c.max,d):c.min;a.min=b.min-e,a.max=a.min+dG(b)}function dL(a,b,c,d){dK(a.x,b.x,c.x,d?.x),dK(a.y,b.y,c.y,d?.y)}let dM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),dN=new Set(["INPUT","SELECT","TEXTAREA"]);function dO(a,b,c,d={passive:!0}){return a.addEventListener(b,c,d),()=>a.removeEventListener(b,c)}var dP=c(1836);function dQ(a){return(0,dP.G)(a)&&"ownerSVGElement"in a}function dR(a,b,c){if(null==a)return[];if(a instanceof EventTarget)return[a];if("string"==typeof a){let d=document;b&&(d=b.current);let e=c?.[a]??d.querySelectorAll(a);return e?Array.from(e):[]}return Array.from(a).filter(a=>null!=a)}let dS=new WeakMap,dT=(a,b,c)=>(d,e)=>e&&e[0]?e[0][a+"Size"]:dQ(d)&&"getBBox"in d?d.getBBox()[b]:d[c],dU=dT("inline","width","offsetWidth"),dV=dT("block","height","offsetHeight");function dW({target:a,borderBoxSize:b}){dS.get(a)?.forEach(c=>{c(a,{get width(){return dU(a,b)},get height(){return dV(a,b)}})})}function dX(a){a.forEach(dW)}let dY=new Set;function dZ(a,b){return"function"==typeof a?(dY.add(a),f||(f=()=>{let a={get width(){return window.innerWidth},get height(){return window.innerHeight}};dY.forEach(b=>b(a))},window.addEventListener("resize",f)),()=>{dY.delete(a),dY.size||"function"!=typeof f||(window.removeEventListener("resize",f),f=void 0)}):function(a,b){e||"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(dX));let c=dR(a);return c.forEach(a=>{let c=dS.get(a);c||(c=new Set,dS.set(a,c)),c.add(b),e?.observe(a)}),()=>{c.forEach(a=>{let c=dS.get(a);c?.delete(b),c?.size||e?.unobserve(a)})}}(a,b)}let d$=a=>"mouse"===a.pointerType?"number"!=typeof a.button||a.button<=0:!1!==a.isPrimary;function d_(a){return{point:{x:a.pageX,y:a.pageY}}}function d0(a,b,c,d){return dO(a,b,a=>d$(a)&&c(a,d_(a)),d)}let d1=({current:a})=>a?a.ownerDocument.defaultView:null;function d2(a){return a&&"object"==typeof a&&Object.prototype.hasOwnProperty.call(a,"current")}let d3=(a,b)=>Math.abs(a-b),d4=new Set(["auto","scroll"]);class d5{constructor(a,b,{transformPagePoint:c,contextWindow:d=window,dragSnapToOrigin:e=!1,distanceThreshold:f=3,element:g}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=a=>{this.handleScroll(a.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=d6(this.lastRawMoveEventInfo,this.transformPagePoint));let a=d8(this.lastMoveEventInfo,this.history),b=null!==this.startEvent,c=function(a,b){return Math.sqrt(d3(a.x,b.x)**2+d3(a.y,b.y)**2)}(a.offset,{x:0,y:0})>=this.distanceThreshold;if(!b&&!c)return;let{point:d}=a,{timestamp:e}=ay.uv;this.history.push({...d,timestamp:e});let{onStart:f,onMove:g}=this.handlers;b||(f&&f(this.lastMoveEvent,a),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,a)},this.handlePointerMove=(a,b)=>{this.lastMoveEvent=a,this.lastRawMoveEventInfo=b,this.lastMoveEventInfo=d6(b,this.transformPagePoint),ay.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(a,b)=>{this.end();let{onEnd:c,onSessionEnd:d,resumeAnimation:e}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&e&&e(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let f=d8("pointercancel"===a.type?this.lastMoveEventInfo:d6(b,this.transformPagePoint),this.history);this.startEvent&&c&&c(a,f),d&&d(a,f)},!d$(a))return;this.dragSnapToOrigin=e,this.handlers=b,this.transformPagePoint=c,this.distanceThreshold=f,this.contextWindow=d||window;let h=d6(d_(a),this.transformPagePoint),{point:i}=h,{timestamp:j}=ay.uv;this.history=[{...i,timestamp:j}];let{onSessionStart:k}=b;k&&k(a,d8(h,this.history)),this.removeListeners=cw(d0(this.contextWindow,"pointermove",this.handlePointerMove),d0(this.contextWindow,"pointerup",this.handlePointerUp),d0(this.contextWindow,"pointercancel",this.handlePointerUp)),g&&this.startScrollTracking(g)}startScrollTracking(a){let b=a.parentElement;for(;b;){let a=getComputedStyle(b);(d4.has(a.overflowX)||d4.has(a.overflowY))&&this.scrollPositions.set(b,{x:b.scrollLeft,y:b.scrollTop}),b=b.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){let b=this.scrollPositions.get(a);if(!b)return;let c=a===window,d=c?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},e={x:d.x-b.x,y:d.y-b.y};(0!==e.x||0!==e.y)&&(c?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=e.x,this.lastMoveEventInfo.point.y+=e.y):this.history.length>0&&(this.history[0].x-=e.x,this.history[0].y-=e.y),this.scrollPositions.set(a,d),ay.Gt.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,ay.WG)(this.updatePoint)}}function d6(a,b){return b?{point:b(a.point)}:a}function d7(a,b){return{x:a.x-b.x,y:a.y-b.y}}function d8({point:a},b){return{point:a,delta:d7(a,d9(b)),offset:d7(a,b[0]),velocity:function(a,b){if(a.length<2)return{x:0,y:0};let c=a.length-1,d=null,e=d9(a);for(;c>=0&&(d=a[c],!(e.timestamp-d.timestamp>aL(.1)));)c--;if(!d)return{x:0,y:0};d===a[0]&&a.length>2&&e.timestamp-d.timestamp>2*aL(b)&&(d=a[1]);let f=(e.timestamp-d.timestamp)/1e3;if(0===f)return{x:0,y:0};let g={x:(e.x-d.x)/f,y:(e.y-d.y)/f};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}(b,.1)}}function d9(a){return a[a.length-1]}function ea(a,b,c){return{min:void 0!==b?a.min+b:void 0,max:void 0!==c?a.max+c-(a.max-a.min):void 0}}function eb(a,b){let c=b.min-a.min,d=b.max-a.max;return b.max-b.min<a.max-a.min&&([c,d]=[d,c]),{min:c,max:d}}function ec(a,b,c){return{min:ed(a,b),max:ed(a,c)}}function ed(a,b){return"number"==typeof a?a:a[b]||0}let ee=new WeakMap;class ef{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=W(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:b=!1,distanceThreshold:c}={}){let{presenceContext:d}=this.visualElement;if(d&&!1===d.isPresent)return;let e=a=>{b&&this.snapToCursor(d_(a).point),this.stopAnimation()},f=(a,b)=>{let{drag:c,dragPropagation:d,onDragStart:e}=this.getProps();if(c&&!d&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(a){if("x"===a||"y"===a)if(dE[a])return null;else return dE[a]=!0,()=>{dE[a]=!1};return dE.x||dE.y?null:(dE.x=dE.y=!0,()=>{dE.x=dE.y=!1})}(c),!this.openDragLock))return;this.latestPointerEvent=a,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),dF(a=>{let b=this.getAxisMotionValue(a).get()||0;if(w.test(b)){let{projection:c}=this.visualElement;if(c&&c.layout){let d=c.layout.layoutBox[a];d&&(b=dG(d)*(parseFloat(b)/100))}}this.originPoint[a]=b}),e&&ay.Gt.update(()=>e(a,b),!1,!0),ct(this.visualElement,"transform");let{animationState:f}=this.visualElement;f&&f.setActive("whileDrag",!0)},g=(a,b)=>{this.latestPointerEvent=a,this.latestPanInfo=b;let{dragPropagation:c,dragDirectionLock:d,onDirectionLock:e,onDrag:f}=this.getProps();if(!c&&!this.openDragLock)return;let{offset:g}=b;if(d&&null===this.currentDirection){this.currentDirection=function(a,b=10){let c=null;return Math.abs(a.y)>b?c="y":Math.abs(a.x)>b&&(c="x"),c}(g),null!==this.currentDirection&&e&&e(this.currentDirection);return}this.updateAxis("x",b.point,g),this.updateAxis("y",b.point,g),this.visualElement.render(),f&&ay.Gt.update(()=>f(a,b),!1,!0)},h=(a,b)=>{this.latestPointerEvent=a,this.latestPanInfo=b,this.stop(a,b),this.latestPointerEvent=null,this.latestPanInfo=null},i=()=>{let{dragSnapToOrigin:a}=this.getProps();(a||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:j}=this.getProps();this.panSession=new d5(a,{onSessionStart:e,onStart:f,onMove:g,onSessionEnd:h,resumeAnimation:i},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:j,distanceThreshold:c,contextWindow:d1(this.visualElement),element:this.visualElement.current})}stop(a,b){let c=a||this.latestPointerEvent,d=b||this.latestPanInfo,e=this.isDragging;if(this.cancel(),!e||!d||!c)return;let{velocity:f}=d;this.startAnimation(f);let{onDragEnd:g}=this.getProps();g&&ay.Gt.postRender(()=>g(c,d))}cancel(){this.isDragging=!1;let{projection:a,animationState:b}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),b&&b.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(a,b,c){let{drag:d}=this.getProps();if(!c||!eh(a,d,this.currentDirection))return;let e=this.getAxisMotionValue(a),f=this.originPoint[a]+c[a];this.constraints&&this.constraints[a]&&(f=function(a,{min:b,max:c},d){return void 0!==b&&a<b?a=d?bI(b,a,d.min):Math.max(a,b):void 0!==c&&a>c&&(a=d?bI(c,a,d.max):Math.min(a,c)),a}(f,this.constraints[a],this.elastic[a])),e.set(f)}resolveConstraints(){let{dragConstraints:a,dragElastic:b}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,d=this.constraints;a&&d2(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&c?this.constraints=function(a,{top:b,left:c,bottom:d,right:e}){return{x:ea(a.x,c,e),y:ea(a.y,b,d)}}(c.layoutBox,a):this.constraints=!1,this.elastic=function(a=.35){return!1===a?a=0:!0===a&&(a=.35),{x:ec(a,"left","right"),y:ec(a,"top","bottom")}}(b),d!==this.constraints&&!d2(a)&&c&&this.constraints&&!this.hasMutatedConstraints&&dF(a=>{!1!==this.constraints&&this.getAxisMotionValue(a)&&(this.constraints[a]=function(a,b){let c={};return void 0!==b.min&&(c.min=b.min-a.min),void 0!==b.max&&(c.max=b.max-a.min),c}(c.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){var a;let{dragConstraints:b,onMeasureDragConstraints:c}=this.getProps();if(!b||!d2(b))return!1;let d=b.current;ab(null!==d,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:e}=this.visualElement;if(!e||!e.layout)return!1;let f=function(a,b,c){let d=b$(a,c),{scroll:e}=b;return e&&(bW(d.x,e.offset.x),bW(d.y,e.offset.y)),d}(d,e.root,this.visualElement.getTransformPagePoint()),g=(a=e.layout.layoutBox,{x:eb(a.x,f.x),y:eb(a.y,f.y)});if(c){let a=c(function({x:a,y:b}){return{top:b.min,right:a.max,bottom:b.max,left:a.min}}(g));this.hasMutatedConstraints=!!a,a&&(g=bO(a))}return g}startAnimation(a){let{drag:b,dragMomentum:c,dragElastic:d,dragTransition:e,dragSnapToOrigin:f,onDragTransitionEnd:g}=this.getProps(),h=this.constraints||{};return Promise.all(dF(g=>{if(!eh(g,b,this.currentDirection))return;let i=h&&h[g]||{};(!0===f||f===g)&&(i={min:0,max:0});let j={type:"inertia",velocity:c?a[g]:0,bounceStiffness:d?200:1e6,bounceDamping:d?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...e,...i};return this.startAxisValueAnimation(g,j)})).then(g)}startAxisValueAnimation(a,b){let c=this.getAxisMotionValue(a);return ct(this.visualElement,a),c.start(dr(a,c,0,b,this.visualElement,!1))}stopAnimation(){dF(a=>this.getAxisMotionValue(a).stop())}getAxisMotionValue(a){let b=`_drag${a.toUpperCase()}`,c=this.visualElement.getProps();return c[b]||this.visualElement.getValue(a,(c.initial?c.initial[a]:void 0)||0)}snapToCursor(a){dF(b=>{let{drag:c}=this.getProps();if(!eh(b,c,this.currentDirection))return;let{projection:d}=this.visualElement,e=this.getAxisMotionValue(b);if(d&&d.layout){let{min:c,max:f}=d.layout.layoutBox[b],g=e.get()||0;e.set(a[b]-bI(c,f,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:a,dragConstraints:b}=this.getProps(),{projection:c}=this.visualElement;if(!d2(b)||!c||!this.constraints)return;this.stopAnimation();let d={x:0,y:0};dF(a=>{let b=this.getAxisMotionValue(a);if(b&&!1!==this.constraints){let c=b.get();d[a]=function(a,b){let c=.5,d=dG(a),e=dG(b);return e>d?c=c8(b.min,b.max-d,a.min):d>e&&(c=c8(a.min,a.max-e,b.min)),i(0,1,c)}({min:c,max:c},this.constraints[a])}});let{transformTemplate:e}=this.visualElement.getProps();this.visualElement.current.style.transform=e?e({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.constraints=!1,this.resolveConstraints(),dF(b=>{if(!eh(b,a,null))return;let c=this.getAxisMotionValue(b),{min:e,max:f}=this.constraints[b];c.set(bI(e,f,d[b]))}),this.visualElement.render()}addListeners(){let a;if(!this.visualElement.current)return;ee.set(this.visualElement,this);let b=this.visualElement.current,c=d0(b,"pointerdown",a=>{let{drag:c,dragListener:d=!0}=this.getProps(),e=a.target,f=e!==b&&(dN.has(e.tagName)||!0===e.isContentEditable);c&&d&&!f&&this.start(a)}),d=()=>{let{dragConstraints:c}=this.getProps();d2(c)&&c.current&&(this.constraints=this.resolveRefConstraints(),a||(a=function(a,b,c){let d=dZ(a,eg(c)),e=dZ(b,eg(c));return()=>{d(),e()}}(b,c.current,()=>this.scalePositionWithinConstraints())))},{projection:e}=this.visualElement,f=e.addEventListener("measure",d);e&&!e.layout&&(e.root&&e.root.updateScroll(),e.updateLayout()),ay.Gt.read(d);let g=dO(window,"resize",()=>this.scalePositionWithinConstraints()),h=e.addEventListener("didUpdate",({delta:a,hasLayoutChanged:b})=>{this.isDragging&&b&&(dF(b=>{let c=this.getAxisMotionValue(b);c&&(this.originPoint[b]+=a[b].translate,c.set(c.get()+a[b].translate))}),this.visualElement.render())});return()=>{g(),c(),f(),h&&h(),a&&a()}}getProps(){let a=this.visualElement.getProps(),{drag:b=!1,dragDirectionLock:c=!1,dragPropagation:d=!1,dragConstraints:e=!1,dragElastic:f=.35,dragMomentum:g=!0}=a;return{...a,drag:b,dragDirectionLock:c,dragPropagation:d,dragConstraints:e,dragElastic:f,dragMomentum:g}}}function eg(a){let b=!0;return()=>{if(b){b=!1;return}a()}}function eh(a,b,c){return(!0===b||b===a)&&(null===c||c===a)}class ei extends co{constructor(a){super(a),this.removeGroupControls=aP.l,this.removeListeners=aP.l,this.controls=new ef(a)}mount(){let{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||aP.l}update(){let{dragControls:a}=this.node.getProps(),{dragControls:b}=this.node.prevProps||{};a!==b&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let ej=a=>(b,c)=>{a&&ay.Gt.update(()=>a(b,c),!1,!0)};class ek extends co{constructor(){super(...arguments),this.removePointerDownListener=aP.l}onPointerDown(a){this.session=new d5(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:d1(this.node)})}createPanHandlers(){let{onPanSessionStart:a,onPanStart:b,onPan:c,onPanEnd:d}=this.node.getProps();return{onSessionStart:ej(a),onStart:ej(b),onMove:ej(c),onEnd:(a,b)=>{delete this.session,d&&ay.Gt.postRender(()=>d(a,b))}}}mount(){this.removePointerDownListener=d0(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let el={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var em=c(49060);let en=(0,b0.createContext)({}),eo=!1;class ep extends b0.Component{componentDidMount(){let{visualElement:a,layoutGroup:b,switchLayoutGroup:c,layoutId:d}=this.props,{projection:e}=a;e&&(b.group&&b.group.add(e),c&&c.register&&d&&c.register(e),eo&&e.root.didUpdate(),e.addEventListener("animationComplete",()=>{this.safeToRemove()}),e.setOptions({...e.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),el.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){let{layoutDependency:b,visualElement:c,drag:d,isPresent:e}=this.props,{projection:f}=c;return f&&(f.isPresent=e,a.layoutDependency!==b&&f.setOptions({...f.options,layoutDependency:b}),eo=!0,d||a.layoutDependency!==b||void 0===b||a.isPresent!==e?f.willUpdate():this.safeToRemove(),a.isPresent!==e&&(e?f.promote():f.relegate()||ay.Gt.postRender(()=>{let a=f.getStack();a&&a.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:a,layoutAnchor:b}=this.props,{projection:c}=a;c&&(c.options.layoutAnchor=b,c.root.didUpdate(),a6.postRender(()=>{!c.currentAnimation&&c.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:a,layoutGroup:b,switchLayoutGroup:c}=this.props,{projection:d}=a;eo=!0,d&&(d.scheduleCheckAfterUnmount(),b&&b.group&&b.group.remove(d),c&&c.deregister&&c.deregister(d))}safeToRemove(){let{safeToRemove:a}=this.props;a&&a()}render(){return null}}function eq(a){let[b,c]=(0,em.xQ)(),d=(0,b0.useContext)(b4.L);return(0,b3.jsx)(ep,{...a,layoutGroup:d,switchLayoutGroup:(0,b0.useContext)(en),isPresent:b,safeToRemove:c})}let er=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],es=er.length,et=a=>"string"==typeof a?parseFloat(a):a,eu=a=>"number"==typeof a||x.test(a);function ev(a,b){return void 0!==a[b]?a[b]:a.borderRadius}let ew=ey(0,.5,c4),ex=ey(.5,.95,aP.l);function ey(a,b,c){return d=>d<a?0:d>b?1:c(c8(a,b,d))}function ez(a,b){a.min=b.min,a.max=b.max}function eA(a,b){ez(a.x,b.x),ez(a.y,b.y)}function eB(a,b){a.translate=b.translate,a.scale=b.scale,a.originPoint=b.originPoint,a.origin=b.origin}function eC(a,b,c,d,e){return a-=b,a=d+1/c*(a-d),void 0!==e&&(a=d+1/e*(a-d)),a}function eD(a,b,[c,d,e],f,g){!function(a,b=0,c=1,d=.5,e,f=a,g=a){if(w.test(b)&&(b=parseFloat(b),b=bI(g.min,g.max,b/100)-g.min),"number"!=typeof b)return;let h=bI(f.min,f.max,d);a===f&&(h-=b),a.min=eC(a.min,b,c,h,e),a.max=eC(a.max,b,c,h,e)}(a,b[c],b[d],b[e],b.scale,f,g)}let eE=["x","scaleX","originX"],eF=["y","scaleY","originY"];function eG(a,b,c,d){eD(a.x,b,eE,c?c.x:void 0,d?d.x:void 0),eD(a.y,b,eF,c?c.y:void 0,d?d.y:void 0)}function eH(a){return 0===a.translate&&1===a.scale}function eI(a){return eH(a.x)&&eH(a.y)}function eJ(a,b){return a.min===b.min&&a.max===b.max}function eK(a,b){return Math.round(a.min)===Math.round(b.min)&&Math.round(a.max)===Math.round(b.max)}function eL(a,b){return eK(a.x,b.x)&&eK(a.y,b.y)}function eM(a){return dG(a.x)/dG(a.y)}function eN(a,b){return a.translate===b.translate&&a.scale===b.scale&&a.originPoint===b.originPoint}class eO{constructor(){this.members=[]}add(a){aM(this.members,a);for(let b=this.members.length-1;b>=0;b--){let c=this.members[b];if(c===a||c===this.lead||c===this.prevLead)continue;let d=c.instance;d&&!1!==d.isConnected||c.snapshot||(aN(this.members,c),c.unmount())}a.scheduleRender()}remove(a){if(aN(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){let a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(a){for(let b=this.members.indexOf(a)-1;b>=0;b--){let a=this.members[b];if(!1!==a.isPresent&&a.instance?.isConnected!==!1)return this.promote(a),!0}return!1}promote(a,b){let c=this.lead;if(a!==c&&(this.prevLead=c,this.lead=a,a.show(),c)){c.updateSnapshot(),a.scheduleRender();let{layoutDependency:d}=c.options,{layoutDependency:e}=a.options;(void 0===d||d!==e)&&(a.resumeFrom=c,b&&(c.preserveOpacity=!0),c.snapshot&&(a.snapshot=c.snapshot,a.snapshot.latestValues=c.animationValues||c.latestValues),a.root?.isUpdating&&(a.isLayoutDirty=!0)),!1===a.options.crossfade&&c.hide()}}exitAnimationComplete(){this.members.forEach(a=>{a.options.onExitComplete?.(),a.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(a=>a.instance&&a.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let eP=(a,b)=>a.depth-b.depth;class eQ{constructor(){this.children=[],this.isDirty=!1}add(a){aM(this.children,a),this.isDirty=!0}remove(a){aN(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(eP),this.isDirty=!1,this.children.forEach(a)}}let eR={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eS=["","X","Y","Z"],eT=0;function eU(a,b,c,d){let{latestValues:e}=b;e[a]&&(c[a]=e[a],b.setStaticValue(a,0),d&&(d[a]=0))}function eV({attachResizeListener:a,defaultParent:b,measureScroll:c,checkIsScrollRoot:d,resetTransform:e}){return class{constructor(a={},c=b?.()){this.id=eT++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,aZ.Q.value&&(eR.nodes=eR.calculatedTargetDeltas=eR.calculatedProjections=0),this.nodes.forEach(eY),this.nodes.forEach(e5),this.nodes.forEach(e6),this.nodes.forEach(eZ),aZ.Q.addProjectionMetrics&&aZ.Q.addProjectionMetrics(eR)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new eQ)}addEventListener(a,b){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new aO),this.eventHandlers.get(a).add(b)}notifyListeners(a,...b){let c=this.eventHandlers.get(a);c&&c.notify(...b)}hasListeners(a){return this.eventHandlers.has(a)}mount(b){if(this.instance)return;this.isSVG=dQ(b)&&!(dQ(b)&&"svg"===b.tagName),this.instance=b;let{layoutId:c,layout:d,visualElement:e}=this.options;if(e&&!e.current&&e.mount(b),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(d||c)&&(this.isLayoutDirty=!0),a){let c,d=0,e=()=>this.root.updateBlockedByResize=!1;ay.Gt.read(()=>{d=window.innerWidth}),a(b,()=>{let a=window.innerWidth;a!==d&&(d=a,this.root.updateBlockedByResize=!0,c&&c(),c=function(a,b){let c=a9.now(),d=({timestamp:b})=>{let e=b-c;e>=250&&((0,ay.WG)(d),a(e-250))};return ay.Gt.setup(d,!0),()=>(0,ay.WG)(d)}(e,250),el.hasAnimatedSinceResize&&(el.hasAnimatedSinceResize=!1,this.nodes.forEach(e4)))})}c&&this.root.registerSharedNode(c,this),!1!==this.options.animate&&e&&(c||d)&&this.addEventListener("didUpdate",({delta:a,hasLayoutChanged:b,hasRelativeLayoutChanged:c,layout:d})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let f=this.options.transition||e.getDefaultTransition()||fc,{onLayoutAnimationStart:g,onLayoutAnimationComplete:h}=e.getProps(),i=!this.targetLayout||!eL(this.targetLayout,d),j=!b&&c;if(this.options.layoutRoot||this.resumeFrom||j||b&&(i||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let b={...cr(f,"layout"),onPlay:g,onComplete:h};(e.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b),this.setAnimationOrigin(a,j)}else b||e4(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=d})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,ay.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(e7),this.animationId++)}getTransformTemplate(){let{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function a(b){if(b.hasCheckedOptimisedAppear=!0,b.root===b)return;let{visualElement:c}=b.options;if(!c)return;let d=c.props[cu];if(window.MotionHasOptimisedAnimation(d,"transform")){let{layout:a,layoutId:c}=b.options;window.MotionCancelOptimisedAnimation(d,"transform",ay.Gt,!(a||c))}let{parent:e}=b;e&&!e.hasCheckedOptimisedAppear&&a(e)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let a=0;a<this.path.length;a++){let b=this.path[a];b.shouldResetTransform=!0,("string"==typeof b.latestValues.x||"string"==typeof b.latestValues.y)&&(b.isLayoutDirty=!0),b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}let{layoutId:b,layout:c}=this.options;if(void 0===b&&!c)return;let d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let a=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),a&&this.nodes.forEach(e0),this.nodes.forEach(e_);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(e1);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(e2),this.nodes.forEach(e3),this.nodes.forEach(eW),this.nodes.forEach(eX)):this.nodes.forEach(e1),this.clearAllSnapshots();let a=a9.now();ay.uv.delta=i(0,1e3/60,a-ay.uv.timestamp),ay.uv.timestamp=a,ay.uv.isProcessing=!0,ay.PP.update.process(ay.uv),ay.PP.preRender.process(ay.uv),ay.PP.render.process(ay.uv),ay.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,a6.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(e$),this.sharedNodes.forEach(e8)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ay.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ay.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||dG(this.snapshot.measuredBox.x)||dG(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a<this.path.length;a++)this.path[a].updateScroll();let a=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=W()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:b}=this.options;b&&b.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let b=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(b=!1),b&&this.instance){let b=d(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:b,offset:c(this.instance),wasRoot:this.scroll?this.scroll.isRoot:b}}}resetTransform(){if(!e)return;let a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,b=this.projectionDelta&&!eI(this.projectionDelta),c=this.getTransformTemplate(),d=c?c(this.latestValues,""):void 0,f=d!==this.prevTransformTemplateValue;a&&this.instance&&(b||bR(this.latestValues)||f)&&(e(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){var b;let c=this.measurePageBox(),d=this.removeElementScroll(c);return a&&(d=this.removeTransform(d)),ff((b=d).x),ff(b.y),{animationId:this.root.animationId,measuredBox:c,layoutBox:d,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:a}=this.options;if(!a)return W();let b=a.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(fh))){let{scroll:a}=this.root;a&&(bW(b.x,a.offset.x),bW(b.y,a.offset.y))}return b}removeElementScroll(a){let b=W();if(eA(b,a),this.scroll?.wasRoot)return b;for(let c=0;c<this.path.length;c++){let d=this.path[c],{scroll:e,options:f}=d;d!==this.root&&e&&f.layoutScroll&&(e.wasRoot&&eA(b,a),bW(b.x,e.offset.x),bW(b.y,e.offset.y))}return b}applyTransform(a,b=!1,c){let d=c||W();eA(d,a);for(let a=0;a<this.path.length;a++){let c=this.path[a];!b&&c.options.layoutScroll&&c.scroll&&c!==c.root&&(bW(d.x,-c.scroll.offset.x),bW(d.y,-c.scroll.offset.y)),bR(c.latestValues)&&bZ(d,c.latestValues,c.layout?.layoutBox)}return bR(this.latestValues)&&bZ(d,this.latestValues,this.layout?.layoutBox),d}removeTransform(a){let b=W();eA(b,a);for(let a=0;a<this.path.length;a++){let c,d=this.path[a];bR(d.latestValues)&&(d.instance&&(bQ(d.latestValues)&&d.updateSnapshot(),eA(c=W(),d.measurePageBox())),eG(b,d.latestValues,d.snapshot?.layoutBox,c))}return bR(this.latestValues)&&eG(b,this.latestValues),b}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:void 0===a.crossfade||a.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ay.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){let b=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=b.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=b.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=b.isSharedProjectionDirty);let c=!!this.resumingFrom||this!==b;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:d,layoutId:e}=this.options;if(!this.layout||!(d||e))return;this.resolvedRelativeTargetAt=ay.uv.timestamp;let f=this.getClosestProjectingParent();if(f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=W(),this.targetWithTransforms=W()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var g,h,i,j;this.forceRelativeParentToResolveTarget(),g=this.target,h=this.relativeTarget,i=this.relativeParent.target,j=this.options.layoutAnchor||void 0,dJ(g.x,h.x,i.x,j?.x),dJ(g.y,h.y,i.y,j?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):eA(this.target,this.layout.layoutBox),bV(this.target,this.targetDelta)):eA(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&1!==this.animationProgress?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0),aZ.Q.value&&eR.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||bQ(this.parent.latestValues)||bS(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(a,b,c){this.relativeParent=a,this.linkedParentVersion=a.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=W(),this.relativeTargetOrigin=W(),dL(this.relativeTargetOrigin,b,c,this.options.layoutAnchor||void 0),eA(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let a=this.getLead(),b=!!this.resumingFrom||this!==a,c=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(c=!1),b&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===ay.uv.timestamp&&(c=!1),c)return;let{layout:d,layoutId:e}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||e))return;eA(this.layoutCorrected,this.layout.layoutBox);let f=this.treeScale.x,g=this.treeScale.y;!function(a,b,c,d=!1){let e,f,g=c.length;if(g){b.x=b.y=1;for(let h=0;h<g;h++){f=(e=c[h]).projectionDelta;let{visualElement:g}=e.options;(!g||!g.props.style||"contents"!==g.props.style.display)&&(d&&e.options.layoutScroll&&e.scroll&&e!==e.root&&(bW(a.x,-e.scroll.offset.x),bW(a.y,-e.scroll.offset.y)),f&&(b.x*=f.x.scale,b.y*=f.y.scale,bV(a,f)),d&&bR(e.latestValues)&&bZ(a,e.latestValues,e.layout?.layoutBox))}b.x<1.0000000000001&&b.x>.999999999999&&(b.x=1),b.y<1.0000000000001&&b.y>.999999999999&&(b.y=1)}}(this.layoutCorrected,this.treeScale,this.path,b),a.layout&&!a.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=W());let{target:h}=a;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(eB(this.prevProjectionDelta.x,this.projectionDelta.x),eB(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),dI(this.projectionDelta,this.layoutCorrected,h,this.latestValues),this.treeScale.x===f&&this.treeScale.y===g&&eN(this.projectionDelta.x,this.prevProjectionDelta.x)&&eN(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h)),aZ.Q.value&&eR.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.visualElement?.scheduleRender(),a){let a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=U(),this.projectionDelta=U(),this.projectionDeltaWithTransform=U()}setAnimationOrigin(a,b=!1){let c,d=this.snapshot,e=d?d.latestValues:{},f={...this.latestValues},g=U();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!b;let h=W(),i=(d?d.source:void 0)!==(this.layout?this.layout.source:void 0),j=this.getStack(),k=!j||j.members.length<=1,l=!!(i&&!k&&!0===this.options.crossfade&&!this.path.some(fb));this.animationProgress=0,this.mixTargetDelta=b=>{let d=b/1e3;if(e9(g.x,a.x,d),e9(g.y,a.y,d),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var j,m,n,o,p,q;dL(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),n=this.relativeTarget,o=this.relativeTargetOrigin,p=h,q=d,fa(n.x,o.x,p.x,q),fa(n.y,o.y,p.y,q),c&&(j=this.relativeTarget,m=c,eJ(j.x,m.x)&&eJ(j.y,m.y))&&(this.isProjectionDirty=!1),c||(c=W()),eA(c,this.relativeTarget)}i&&(this.animationValues=f,function(a,b,c,d,e,f){e?(a.opacity=bI(0,c.opacity??1,ew(d)),a.opacityExit=bI(b.opacity??1,0,ex(d))):f&&(a.opacity=bI(b.opacity??1,c.opacity??1,d));for(let e=0;e<es;e++){let f=er[e],g=ev(b,f),h=ev(c,f);(void 0!==g||void 0!==h)&&(g||(g=0),h||(h=0),0===g||0===h||eu(g)===eu(h)?(a[f]=Math.max(bI(et(g),et(h),d),0),(w.test(h)||w.test(g))&&(a[f]+="%")):a[f]=h)}(b.rotate||c.rotate)&&(a.rotate=bI(b.rotate||0,c.rotate||0,d))}(f,e,this.latestValues,d,l,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=d},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,ay.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ay.Gt.update(()=>{el.hasAnimatedSinceResize=!0,aY.layout++,this.motionValue||(this.motionValue=bc(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(a,b,c){let d=X(a)?a:bc(a);return d.start(dr("",d,b,c)),d.animation}(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:b=>{this.mixTargetDelta(b),a.onUpdate&&a.onUpdate(b)},onStop:()=>{aY.layout--},onComplete:()=>{aY.layout--,a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let a=this.getLead(),{targetWithTransforms:b,target:c,layout:d,latestValues:e}=a;if(b&&c&&d){if(this!==a&&this.layout&&d&&fg(this.options.animationType,this.layout.layoutBox,d.layoutBox)){c=this.target||W();let b=dG(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+b;let d=dG(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+d}eA(b,c),bZ(b,e),dI(this.projectionDeltaWithTransform,this.layoutCorrected,b,e)}}registerSharedNode(a,b){this.sharedNodes.has(a)||this.sharedNodes.set(a,new eO),this.sharedNodes.get(a).add(b);let c=b.options.initialPromotionConfig;b.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(b):void 0})}isLead(){let a=this.getStack();return!a||a.lead===this}getLead(){let{layoutId:a}=this.options;return a&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:a}=this.options;return a?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:b,preserveFollowOpacity:c}={}){let d=this.getStack();d&&d.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),b&&this.setOptions({transition:b})}relegate(){let a=this.getStack();return!!a&&a.relegate(this)}resetSkewAndRotation(){let{visualElement:a}=this.options;if(!a)return;let b=!1,{latestValues:c}=a;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(b=!0),!b)return;let d={};c.z&&eU("z",a,d,this.animationValues);for(let b=0;b<eS.length;b++)eU(`rotate${eS[b]}`,a,d,this.animationValues),eU(`skew${eS[b]}`,a,d,this.animationValues);for(let b in a.render(),d)a.setStaticValue(b,d[b]),this.animationValues&&(this.animationValues[b]=d[b]);a.scheduleRender()}applyProjectionStyles(a,b){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility="hidden";return}let c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility="",a.opacity="",a.pointerEvents=ce(b?.pointerEvents)||"",a.transform=c?c(this.latestValues,""):"none";return}let d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(a.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,a.pointerEvents=ce(b?.pointerEvents)||""),this.hasProjected&&!bR(this.latestValues)&&(a.transform=c?c({},""):"none",this.hasProjected=!1);return}a.visibility="";let e=d.animationValues||d.latestValues;this.applyTransformsToTarget();let f=function(a,b,c){let d="",e=a.x.translate/b.x,f=a.y.translate/b.y,g=c?.z||0;if((e||f||g)&&(d=`translate3d(${e}px, ${f}px, ${g}px) `),(1!==b.x||1!==b.y)&&(d+=`scale(${1/b.x}, ${1/b.y}) `),c){let{transformPerspective:a,rotate:b,rotateX:e,rotateY:f,skewX:g,skewY:h}=c;a&&(d=`perspective(${a}px) ${d}`),b&&(d+=`rotate(${b}deg) `),e&&(d+=`rotateX(${e}deg) `),f&&(d+=`rotateY(${f}deg) `),g&&(d+=`skewX(${g}deg) `),h&&(d+=`skewY(${h}deg) `)}let h=a.x.scale*b.x,i=a.y.scale*b.y;return(1!==h||1!==i)&&(d+=`scale(${h}, ${i})`),d||"none"}(this.projectionDeltaWithTransform,this.treeScale,e);c&&(f=c(e,f)),a.transform=f;let{x:g,y:h}=this.projectionDelta;for(let b in a.transformOrigin=`${100*g.origin}% ${100*h.origin}% 0`,d.animationValues?a.opacity=d===this?e.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:e.opacityExit:a.opacity=d===this?void 0!==e.opacity?e.opacity:"":void 0!==e.opacityExit?e.opacityExit:0,bJ){if(void 0===e[b])continue;let{correct:c,applyTo:g,isCSSVariable:h}=bJ[b],i="none"===f?e[b]:c(e[b],d);if(g){let b=g.length;for(let c=0;c<b;c++)a[g[c]]=i}else h?this.options.visualElement.renderState.vars[b]=i:a[b]=i}this.options.layoutId&&(a.pointerEvents=d===this?ce(b?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>a.currentAnimation?.stop()),this.root.nodes.forEach(e_),this.root.sharedNodes.clear()}}}function eW(a){a.updateLayout()}function eX(a){let b=a.resumeFrom?.snapshot||a.snapshot;if(a.isLead()&&a.layout&&b&&a.hasListeners("didUpdate")){let{layoutBox:c,measuredBox:d}=a.layout,{animationType:e}=a.options,f=b.source!==a.layout.source;if("size"===e)dF(a=>{let d=f?b.measuredBox[a]:b.layoutBox[a],e=dG(d);d.min=c[a].min,d.max=d.min+e});else if("x"===e||"y"===e){let a="x"===e?"y":"x";ez(f?b.measuredBox[a]:b.layoutBox[a],c[a])}else fg(e,b.layoutBox,c)&&dF(d=>{let e=f?b.measuredBox[d]:b.layoutBox[d],g=dG(c[d]);e.max=e.min+g,a.relativeTarget&&!a.currentAnimation&&(a.isProjectionDirty=!0,a.relativeTarget[d].max=a.relativeTarget[d].min+g)});let g=U();dI(g,c,b.layoutBox);let h=U();f?dI(h,a.applyTransform(d,!0),b.measuredBox):dI(h,c,b.layoutBox);let i=!eI(g),j=!1;if(!a.resumeFrom){let d=a.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:e,layout:f}=d;if(e&&f){let g=a.options.layoutAnchor||void 0,h=W();dL(h,b.layoutBox,e.layoutBox,g);let i=W();dL(i,c,f.layoutBox,g),eL(h,i)||(j=!0),d.options.layoutRoot&&(a.relativeTarget=i,a.relativeTargetOrigin=h,a.relativeParent=d)}}}a.notifyListeners("didUpdate",{layout:c,snapshot:b,delta:h,layoutDelta:g,hasLayoutChanged:i,hasRelativeLayoutChanged:j})}else if(a.isLead()){let{onExitComplete:b}=a.options;b&&b()}a.options.transition=void 0}function eY(a){aZ.Q.value&&eR.nodes++,a.parent&&(a.isProjecting()||(a.isProjectionDirty=a.parent.isProjectionDirty),a.isSharedProjectionDirty||(a.isSharedProjectionDirty=!!(a.isProjectionDirty||a.parent.isProjectionDirty||a.parent.isSharedProjectionDirty)),a.isTransformDirty||(a.isTransformDirty=a.parent.isTransformDirty))}function eZ(a){a.isProjectionDirty=a.isSharedProjectionDirty=a.isTransformDirty=!1}function e$(a){a.clearSnapshot()}function e_(a){a.clearMeasurements()}function e0(a){a.isLayoutDirty=!0,a.updateLayout()}function e1(a){a.isLayoutDirty=!1}function e2(a){a.isAnimationBlocked&&a.layout&&!a.isLayoutDirty&&(a.snapshot=a.layout,a.isLayoutDirty=!0)}function e3(a){let{visualElement:b}=a.options;b&&b.getProps().onBeforeLayoutMeasure&&b.notify("BeforeLayoutMeasure"),a.resetTransform()}function e4(a){a.finishAnimation(),a.targetDelta=a.relativeTarget=a.target=void 0,a.isProjectionDirty=!0}function e5(a){a.resolveTargetDelta()}function e6(a){a.calcProjection()}function e7(a){a.resetSkewAndRotation()}function e8(a){a.removeLeadSnapshot()}function e9(a,b,c){a.translate=bI(b.translate,0,c),a.scale=bI(b.scale,1,c),a.origin=b.origin,a.originPoint=b.originPoint}function fa(a,b,c,d){a.min=bI(b.min,c.min,d),a.max=bI(b.max,c.max,d)}function fb(a){return a.animationValues&&void 0!==a.animationValues.opacityExit}let fc={duration:.45,ease:[.4,0,.1,1]},fd=a=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(a),fe=fd("applewebkit/")&&!fd("chrome/")?Math.round:aP.l;function ff(a){a.min=fe(a.min),a.max=fe(a.max)}function fg(a,b,c){return"position"===a||"preserve-aspect"===a&&!(.2>=Math.abs(eM(b)-eM(c)))}function fh(a){return a!==a.root&&a.scroll?.wasRoot}let fi=eV({attachResizeListener:(a,b)=>dO(a,"resize",b),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),fj={current:void 0},fk=eV({measureScroll:a=>({x:a.scrollLeft,y:a.scrollTop}),defaultParent:()=>{if(!fj.current){let a=new fi({});a.mount(window),a.setOptions({layoutScroll:!0}),fj.current=a}return fj.current},resetTransform:(a,b)=>{a.style.transform=void 0!==b?b:"none"},checkIsScrollRoot:a=>"fixed"===window.getComputedStyle(a).position});function fl(a,b){let c=dR(a),d=new AbortController;return[c,{passive:!0,...b,signal:d.signal},()=>d.abort()]}function fm(a,b,c){let{props:d}=a;a.animationState&&d.whileHover&&a.animationState.setActive("whileHover","Start"===c);let e=d["onHover"+c];e&&ay.Gt.postRender(()=>e(b,d_(b)))}class fn extends co{mount(){let{current:a}=this.node;a&&(this.unmount=function(a,b,c={}){let[d,e,f]=fl(a,c);return d.forEach(a=>{let c,d=!1,f=!1,g=b=>{c&&(c(b),c=void 0),a.removeEventListener("pointerleave",i)},h=a=>{d=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),f&&(f=!1,g(a))},i=a=>{if("touch"!==a.pointerType){if(d){f=!0;return}g(a)}};a.addEventListener("pointerenter",d=>{if("touch"===d.pointerType||dE.x||dE.y)return;f=!1;let g=b(a,d);"function"==typeof g&&(c=g,a.addEventListener("pointerleave",i,e))},e),a.addEventListener("pointerdown",()=>{d=!0,window.addEventListener("pointerup",h,e),window.addEventListener("pointercancel",h,e)},e)}),f}(a,(a,b)=>(fm(this.node,b,"Start"),a=>fm(this.node,a,"End"))))}unmount(){}}class fo extends co{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch(b){a=!0}a&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=cw(dO(this.node.current,"focus",()=>this.onFocus()),dO(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var fp=c(22057);let fq=(a,b)=>!!b&&(a===b||fq(a,b.parentElement)),fr=new WeakSet;function fs(a){return b=>{"Enter"===b.key&&a(b)}}function ft(a,b){a.dispatchEvent(new PointerEvent("pointer"+b,{isPrimary:!0,bubbles:!0}))}function fu(a){return d$(a)&&!(dE.x||dE.y)}let fv=new WeakSet;function fw(a,b,c){let{props:d}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&d.whileTap&&a.animationState.setActive("whileTap","Start"===c);let e=d["onTap"+("End"===c?"":c)];e&&ay.Gt.postRender(()=>e(b,d_(b)))}class fx extends co{mount(){let{current:a}=this.node;if(!a)return;let{globalTapTarget:b,propagate:c}=this.node.props;this.unmount=function(a,b,c={}){let[d,e,f]=fl(a,c),g=a=>{let d=a.currentTarget;if(!fu(a)||fv.has(a))return;fr.add(d),c.stopPropagation&&fv.add(a);let f=b(d,a),g=(a,b)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",i),fr.has(d)&&fr.delete(d),fu(a)&&"function"==typeof f&&f(a,{success:b})},h=a=>{g(a,d===window||d===document||c.useGlobalTarget||fq(d,a.target))},i=a=>{g(a,!1)};window.addEventListener("pointerup",h,e),window.addEventListener("pointercancel",i,e)};return d.forEach(a=>{((c.useGlobalTarget?window:a).addEventListener("pointerdown",g,e),(0,fp.s)(a))&&(a.addEventListener("focus",a=>((a,b)=>{let c=a.currentTarget;if(!c)return;let d=fs(()=>{if(fr.has(c))return;ft(c,"down");let a=fs(()=>{ft(c,"up")});c.addEventListener("keyup",a,b),c.addEventListener("blur",()=>ft(c,"cancel"),b)});c.addEventListener("keydown",d,b),c.addEventListener("blur",()=>c.removeEventListener("keydown",d),b)})(a,e)),dM.has(a.tagName)||!0===a.isContentEditable||a.hasAttribute("tabindex")||(a.tabIndex=0))}),f}(a,(a,b)=>(fw(this.node,b,"Start"),(a,{success:b})=>fw(this.node,a,b?"End":"Cancel")),{useGlobalTarget:b,stopPropagation:c?.tap===!1})}unmount(){}}let fy=new WeakMap,fz=new WeakMap,fA=a=>{let b=fy.get(a.target);b&&b(a)},fB=a=>{a.forEach(fA)},fC={some:0,all:1};class fD extends co{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:a={}}=this.node.getProps(),{root:b,margin:c,amount:d="some",once:e}=a,f={root:b?b.current:void 0,rootMargin:c,threshold:"number"==typeof d?d:fC[d]},g=a=>{let{isIntersecting:b}=a;if(this.isInView===b||(this.isInView=b,e&&!b&&this.hasEnteredView))return;b&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",b);let{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=b?c:d;f&&f(a)};this.stopObserver=function(a,b,c){let d=function({root:a,...b}){let c=a||document;fz.has(c)||fz.set(c,{});let d=fz.get(c),e=JSON.stringify(b);return d[e]||(d[e]=new IntersectionObserver(fB,{root:a,...b})),d[e]}(b);return fy.set(a,c),d.observe(a),()=>{fy.delete(a),d.unobserve(a)}}(this.node.current,f,g)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:a,prevProps:b}=this.node;["amount","margin","root"].some(function({viewport:a={}},{viewport:b={}}={}){return c=>a[c]!==b[c]}(a,b))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let fE=function(a,b){if("undefined"==typeof Proxy)return cn;let c=new Map,d=(c,d)=>cn(c,d,a,b);return new Proxy((a,b)=>d(a,b),{get:(e,f)=>"create"===f?d:(c.has(f)||c.set(f,cn(f,void 0,a,b)),c.get(f))})}({animation:{Feature:dB},exit:{Feature:dD},inView:{Feature:fD},tap:{Feature:fx},focus:{Feature:fo},hover:{Feature:fn},pan:{Feature:ek},drag:{Feature:ei,ProjectionNode:fk,MeasureLayout:eq},layout:{ProjectionNode:fk,MeasureLayout:eq}},(a,b)=>b.isSVG??b2(a)?new bN(b):new b_(b,{allowProjection:a!==b0.Fragment}))},31409:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(94735),e=c(86944),f=c(30559),g=c(81931),h=(0,e.Debug)("cluster:connectionPool");class i extends d.EventEmitter{constructor(a){super(),this.redisOptions=a,this.nodes={all:{},master:{},slave:{}},this.specifiedOptions={}}getNodes(a="all"){let b=this.nodes[a];return Object.keys(b).map(a=>b[a])}getInstanceByKey(a){return this.nodes.all[a]}getSampleInstance(a){let b=Object.keys(this.nodes[a]),c=(0,e.sample)(b);return this.nodes[a][c]}addMasterNode(a){let b=(0,f.getNodeKey)(a.options),c=this.createRedisFromOptions(a,a.options.readOnly);return!a.options.readOnly&&(this.nodes.all[b]=c,this.nodes.master[b]=c,!0)}createRedisFromOptions(a,b){return new g.default((0,e.defaults)({retryStrategy:null,enableOfflineQueue:!0,readOnly:b},a,this.redisOptions,{lazyConnect:!0}))}findOrCreate(a,b=!1){let c,d=(0,f.getNodeKey)(a);return b=!!b,this.specifiedOptions[d]?Object.assign(a,this.specifiedOptions[d]):this.specifiedOptions[d]=a,this.nodes.all[d]?(c=this.nodes.all[d]).options.readOnly!==b&&(c.options.readOnly=b,h("Change role of %s to %s",d,b?"slave":"master"),c[b?"readonly":"readwrite"]().catch(e.noop),b?(delete this.nodes.master[d],this.nodes.slave[d]=c):(delete this.nodes.slave[d],this.nodes.master[d]=c)):(h("Connecting to %s as %s",d,b?"slave":"master"),c=this.createRedisFromOptions(a,b),this.nodes.all[d]=c,this.nodes[b?"slave":"master"][d]=c,c.once("end",()=>{this.removeNode(d),this.emit("-node",c,d),Object.keys(this.nodes.all).length||this.emit("drain")}),this.emit("+node",c,d),c.on("error",function(a){this.emit("nodeError",a,d)})),c}reset(a){h("Reset with %O",a);let b={};a.forEach(a=>{let c=(0,f.getNodeKey)(a);a.readOnly&&b[c]||(b[c]=a)}),Object.keys(this.nodes.all).forEach(a=>{b[a]||(h("Disconnect %s because the node does not hold any slot",a),this.nodes.all[a].disconnect(),this.removeNode(a))}),Object.keys(b).forEach(a=>{let c=b[a];this.findOrCreate(c,c.readOnly)})}removeNode(a){let{nodes:b}=this;b.all[a]&&(h("Remove %s from the pool",a),delete b.all[a]),delete b.master[a],delete b.slave[a]}}b.default=i},31415:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(89709);function e(a,b){if("function"!=typeof a||null!=b&&"function"!=typeof b)throw TypeError("Expected a function");var c=function(){var d=arguments,e=b?b.apply(this,d):d[0],f=c.cache;if(f.has(e))return f.get(e);var g=a.apply(this,d);return c.cache=f.set(e,g)||f,g};return c.cache=new(e.Cache||d.A),c}e.Cache=d.A;let f=e},32340:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isPostpone",{enumerable:!0,get:function(){return d}});let c=Symbol.for("react.postpone");function d(a){return"object"==typeof a&&null!==a&&a.$$typeof===c}},32782:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=c(88419);let e=function(a){var b=new a.constructor(a.byteLength);return new d.A(b).set(new d.A(a)),b}},33295:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a){return function(){return a}}},33513:(a,b,c)=>{"use strict";var d=c(96592);c.o(d,"NextResponse")&&c.d(b,{NextResponse:function(){return d.NextResponse}})},33650:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("folder-kanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]])},33867:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=c(42880);function e(a){return"string"==typeof a?new d.LN([[document.querySelector(a)]],[document.documentElement]):new d.LN([[a]],d.zr)}},34119:(a,b,c)=>{"use strict";c.d(b,{B:()=>f});var d=c(91646),e=c(3753);let f={partial:!0,tokenize:function(a,b,c){return function(b){return(0,e.On)(b)?(0,d.N)(a,f,"linePrefix")(b):f(b)};function f(a){return null===a||(0,e.HP)(a)?b(a):c(a)}}}},34623:(a,b,c)=>{"use strict";c.d(b,{Fr:()=>k,GX:()=>j,KX:()=>i,WW:()=>g,ue:()=>f});var d=c(6335),e=c(42292),f=(0,e.K2)(a=>{let{handDrawnSeed:b}=(0,d.D7)();return{fill:a,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:a,seed:b}},"solidStateFill"),g=(0,e.K2)(a=>{let b=h([...a.cssCompiledStyles||[],...a.cssStyles||[],...a.labelStyle||[]]);return{stylesMap:b,stylesArray:[...b]}},"compileStyles"),h=(0,e.K2)(a=>{let b=new Map;return a.forEach(a=>{let[c,d]=a.split(":");b.set(c.trim(),d?.trim())}),b},"styles2Map"),i=(0,e.K2)(a=>"color"===a||"font-size"===a||"font-family"===a||"font-weight"===a||"font-style"===a||"text-decoration"===a||"text-align"===a||"text-transform"===a||"line-height"===a||"letter-spacing"===a||"word-spacing"===a||"text-shadow"===a||"text-overflow"===a||"white-space"===a||"word-wrap"===a||"word-break"===a||"overflow-wrap"===a||"hyphens"===a,"isLabelStyle"),j=(0,e.K2)(a=>{let{stylesArray:b}=g(a),c=[],d=[],e=[],f=[];return b.forEach(a=>{let b=a[0];i(b)?c.push(a.join(":")+" !important"):(d.push(a.join(":")+" !important"),b.includes("stroke")&&e.push(a.join(":")+" !important"),"fill"===b&&f.push(a.join(":")+" !important"))}),{labelStyles:c.join(";"),nodeStyles:d.join(";"),stylesArray:b,borderStyles:e,backgroundStyles:f}},"styles2String"),k=(0,e.K2)((a,b)=>{let{themeVariables:c,handDrawnSeed:e}=(0,d.D7)(),{nodeBorder:f,mainBkg:h}=c,{stylesMap:i}=g(a);return Object.assign({roughness:.7,fill:i.get("fill")||h,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:i.get("stroke")||f,seed:e,strokeWidth:i.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:l(i.get("stroke-dasharray"))},b)},"userNodeOverrides"),l=(0,e.K2)(a=>{if(!a)return[0,0];let b=a.trim().split(/\s+/).map(Number);if(1===b.length){let a=isNaN(b[0])?0:b[0];return[a,a]}return[isNaN(b[0])?0:b[0],isNaN(b[1])?0:b[1]]},"getStrokeDashArray")},35014:(a,b,c)=>{"use strict";c.d(b,{Qg:()=>g,bL:()=>i,s6:()=>h});var d=c(21968),e=c(16551),f=c(10837),g=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),h=d.forwardRef((a,b)=>(0,f.jsx)(e.sG.span,{...a,ref:b,style:{...g,...a.style}}));h.displayName="VisuallyHidden";var i=h},35312:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},35500:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},35541:(a,b,c)=>{"use strict";function d(a){if(a)throw a}c.d(b,{l:()=>u});var e=c(75326),f=c(60350);function g(a){if("object"!=typeof a||null===a)return!1;let b=Object.getPrototypeOf(a);return(null===b||b===Object.prototype||null===Object.getPrototypeOf(b))&&!(Symbol.toStringTag in a)&&!(Symbol.iterator in a)}var h=c(48915),i=c(76760),j=c(1708);function k(a){return!!(null!==a&&"object"==typeof a&&"href"in a&&a.href&&"protocol"in a&&a.protocol&&void 0===a.auth)}var l=c(73136);let m=["history","path","basename","stem","extname","dirname"];class n{constructor(a){let b,c;b=a?k(a)?{path:a}:"string"==typeof a||function(a){return!!(a&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a)}(a)?{value:a}:a:{},this.cwd="cwd"in b?"":j.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let d=-1;for(;++d<m.length;){let a=m[d];a in b&&void 0!==b[a]&&null!==b[a]&&(this[a]="history"===a?[...b[a]]:b[a])}for(c in b)m.includes(c)||(this[c]=b[c])}get basename(){return"string"==typeof this.path?i.basename(this.path):void 0}set basename(a){p(a,"basename"),o(a,"basename"),this.path=i.join(this.dirname||"",a)}get dirname(){return"string"==typeof this.path?i.dirname(this.path):void 0}set dirname(a){q(this.basename,"dirname"),this.path=i.join(a||"",this.basename)}get extname(){return"string"==typeof this.path?i.extname(this.path):void 0}set extname(a){if(o(a,"extname"),q(this.dirname,"extname"),a){if(46!==a.codePointAt(0))throw Error("`extname` must start with `.`");if(a.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=i.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){k(a)&&(a=(0,l.fileURLToPath)(a)),p(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return"string"==typeof this.path?i.basename(this.path,this.extname):void 0}set stem(a){p(a,"stem"),o(a,"stem"),this.path=i.join(this.dirname||"",a+(this.extname||""))}fail(a,b,c){let d=this.message(a,b,c);throw d.fatal=!0,d}info(a,b,c){let d=this.message(a,b,c);return d.fatal=void 0,d}message(a,b,c){let d=new h.o(a,b,c);return this.path&&(d.name=this.path+":"+d.name,d.file=this.path),d.fatal=!1,this.messages.push(d),d}toString(a){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(a||void 0).decode(this.value)}}function o(a,b){if(a&&a.includes(i.sep))throw Error("`"+b+"` cannot be a path: did not expect `"+i.sep+"`")}function p(a,b){if(!a)throw Error("`"+b+"` cannot be empty")}function q(a,b){if(!a)throw Error("Setting `"+b+"` requires `path` to be set too")}let r=function(a){let b=this.constructor.prototype,c=b[a],d=function(){return c.apply(d,arguments)};return Object.setPrototypeOf(d,b),d},s={}.hasOwnProperty;class t extends r{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let a=[],b={run:function(...b){let c=-1,d=b.pop();if("function"!=typeof d)throw TypeError("Expected function as last argument, not "+d);!function e(f,...g){let h=a[++c],i=-1;if(f)return void d(f);for(;++i<b.length;)(null===g[i]||void 0===g[i])&&(g[i]=b[i]);b=g,h?(function(a,b){let c;return function(...b){let f,g=a.length>b.length;g&&b.push(d);try{f=a.apply(this,b)}catch(a){if(g&&c)throw a;return d(a)}g||(f&&f.then&&"function"==typeof f.then?f.then(e,d):f instanceof Error?d(f):e(f))};function d(a,...e){c||(c=!0,b(a,...e))}function e(a){d(null,a)}})(h,e)(...g):d(null,...g)}(null,...b)},use:function(c){if("function"!=typeof c)throw TypeError("Expected `middelware` to be a function, not "+c);return a.push(c),b}};return b}()}copy(){let a=new t,b=-1;for(;++b<this.attachers.length;){let c=this.attachers[b];a.use(...c)}return a.data(e(!0,{},this.namespace)),a}data(a,b){return"string"==typeof a?2==arguments.length?(x("data",this.frozen),this.namespace[a]=b,this):s.call(this.namespace,a)&&this.namespace[a]||void 0:a?(x("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[a,...b]=this.attachers[this.freezeIndex];if(!1===b[0])continue;!0===b[0]&&(b[0]=void 0);let c=a.call(this,...b);"function"==typeof c&&this.transformers.use(c)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(a){this.freeze();let b=A(a),c=this.parser||this.Parser;return v("parse",c),c(String(b),b)}process(a,b){let c=this;return this.freeze(),v("process",this.parser||this.Parser),w("process",this.compiler||this.Compiler),b?d(void 0,b):new Promise(d);function d(d,e){let g=A(a),h=c.parse(g);function i(a,c){a||!c?e(a):d?d(c):((0,f.ok)(b,"`done` is defined if `resolve` is not"),b(void 0,c))}c.run(h,g,function(a,b,d){var e,f;if(a||!b||!d)return i(a);let g=c.stringify(b,d);"string"==typeof(e=g)||(f=e)&&"object"==typeof f&&"byteLength"in f&&"byteOffset"in f?d.value=g:d.result=g,i(a,d)})}}processSync(a){let b,c=!1;return this.freeze(),v("processSync",this.parser||this.Parser),w("processSync",this.compiler||this.Compiler),this.process(a,function(a,e){c=!0,d(a),b=e}),z("processSync","process",c),(0,f.ok)(b,"we either bailed on an error or have a tree"),b}run(a,b,c){y(a),this.freeze();let d=this.transformers;return c||"function"!=typeof b||(c=b,b=void 0),c?e(void 0,c):new Promise(e);function e(e,g){(0,f.ok)("function"!=typeof b,"`file` can’t be a `done` anymore, we checked");let h=A(b);d.run(a,h,function(b,d,h){let i=d||a;b?g(b):e?e(i):((0,f.ok)(c,"`done` is defined if `resolve` is not"),c(void 0,i,h))})}}runSync(a,b){let c,e=!1;return this.run(a,b,function(a,b){d(a),c=b,e=!0}),z("runSync","run",e),(0,f.ok)(c,"we either bailed on an error or have a tree"),c}stringify(a,b){this.freeze();let c=A(b),d=this.compiler||this.Compiler;return w("stringify",d),y(a),d(a,c)}use(a,...b){let c=this.attachers,d=this.namespace;if(x("use",this.frozen),null==a);else if("function"==typeof a)i(a,b);else if("object"==typeof a)Array.isArray(a)?h(a):f(a);else throw TypeError("Expected usable value, not `"+a+"`");return this;function f(a){if(!("plugins"in a)&&!("settings"in a))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(a.plugins),a.settings&&(d.settings=e(!0,d.settings,a.settings))}function h(a){let b=-1;if(null==a);else if(Array.isArray(a))for(;++b<a.length;){var c=a[b];if("function"==typeof c)i(c,[]);else if("object"==typeof c)if(Array.isArray(c)){let[a,...b]=c;i(a,b)}else f(c);else throw TypeError("Expected usable value, not `"+c+"`")}else throw TypeError("Expected a list of plugins, not `"+a+"`")}function i(a,b){let d=-1,f=-1;for(;++d<c.length;)if(c[d][0]===a){f=d;break}if(-1===f)c.push([a,...b]);else if(b.length>0){let[d,...h]=b,i=c[f][1];g(i)&&g(d)&&(d=e(!0,i,d)),c[f]=[a,d,...h]}}}}let u=new t().freeze();function v(a,b){if("function"!=typeof b)throw TypeError("Cannot `"+a+"` without `parser`")}function w(a,b){if("function"!=typeof b)throw TypeError("Cannot `"+a+"` without `compiler`")}function x(a,b){if(b)throw Error("Cannot call `"+a+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function y(a){if(!g(a)||"string"!=typeof a.type)throw TypeError("Expected node, got `"+a+"`")}function z(a,b,c){if(!c)throw Error("`"+a+"` finished async. Use `"+b+"` instead")}function A(a){var b;return(b=a)&&"object"==typeof b&&"message"in b&&"messages"in b?a:new n(a)}},35803:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("send-horizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]])},35842:a=>{var b=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920],c=function(a){for(var b,c=0,d=0,e=[],f=a.length;c<f;c++)(b=a.charCodeAt(c))<128?e[d++]=b:(b<2048?e[d++]=b>>6|192:((64512&b)==55296&&c+1<a.length&&(64512&a.charCodeAt(c+1))==56320?(b=65536+((1023&b)<<10)+(1023&a.charCodeAt(++c)),e[d++]=b>>18|240,e[d++]=b>>12&63|128):e[d++]=b>>12|224,e[d++]=b>>6&63|128),e[d++]=63&b|128);return e},d=a.exports=function(a){for(var d,e=0,f=-1,g=0,h=0,i="string"==typeof a?c(a):a,j=i.length;e<j;){if(d=i[e++],-1===f)123===d&&(f=e);else if(125!==d)h=b[(d^h>>8)&255]^h<<8;else if(e-1!==f)return 16383&h;g=b[(d^g>>8)&255]^g<<8}return 16383&g};a.exports.generateMulti=function(a){for(var b=1,c=a.length,e=d(a[0]);b<c;)if(d(a[b++])!==e)return -1;return e}},36346:(a,b,c)=>{"use strict";c.d(b,{S:()=>e});var d=c(3753);function e(a){return null===a||(0,d.Ee)(a)||(0,d.Ny)(a)?1:(0,d.es)(a)?2:void 0}},36385:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(37785),e=c(35842),f=c(65078),g=c(86944),h=c(8763);class i{constructor(a,b=[],c={},d){if(this.name=a,this.inTransaction=!1,this.isResolved=!1,this.transformed=!1,this.replyEncoding=c.replyEncoding,this.errorStack=c.errorStack,this.args=b.flat(),this.callback=d,this.initPromise(),c.keyPrefix){let a=c.keyPrefix instanceof Buffer,b=a?c.keyPrefix:null;this._iterateKeys(d=>d instanceof Buffer?(null===b&&(b=Buffer.from(c.keyPrefix)),Buffer.concat([b,d])):a?Buffer.concat([c.keyPrefix,Buffer.from(String(d))]):c.keyPrefix+d)}c.readOnly&&(this.isReadOnly=!0)}static checkFlag(a,b){return b=b.toLowerCase(),!!this.getFlagMap()[a][b]}static setArgumentTransformer(a,b){this._transformer.argument[a]=b}static setReplyTransformer(a,b){this._transformer.reply[a]=b}static getFlagMap(){return this.flagMap||(this.flagMap=Object.keys(i.FLAGS).reduce((a,b)=>(a[b]={},i.FLAGS[b].forEach(c=>{a[b][c]=!0}),a),{})),this.flagMap}getSlot(){if(void 0===this.slot){let a=this.getKeys()[0];this.slot=null==a?null:e(a)}return this.slot}getKeys(){return this._iterateKeys()}toWritable(a){let b,c="*"+(this.args.length+1)+"\r\n$"+Buffer.byteLength(this.name)+"\r\n"+this.name+"\r\n";if(this.bufferMode){let a=new l;a.push(c);for(let b=0;b<this.args.length;++b){let c=this.args[b];c instanceof Buffer?0===c.length?a.push("$0\r\n\r\n"):(a.push("$"+c.length+"\r\n"),a.push(c),a.push("\r\n")):a.push("$"+Buffer.byteLength(c)+"\r\n"+c+"\r\n")}b=a.toBuffer()}else{b=c;for(let a=0;a<this.args.length;++a){let c=this.args[a];b+="$"+Buffer.byteLength(c)+"\r\n"+c+"\r\n"}}return b}stringifyArguments(){for(let a=0;a<this.args.length;++a){let b=this.args[a];"string"==typeof b||(b instanceof Buffer?this.bufferMode=!0:this.args[a]=(0,g.toArg)(b))}}transformReply(a){this.replyEncoding&&(a=(0,g.convertBufferToString)(a,this.replyEncoding));let b=i._transformer.reply[this.name];return b&&(a=b(a)),a}setTimeout(a){this._commandTimeoutTimer||(this._commandTimeoutTimer=setTimeout(()=>{this.isResolved||this.reject(Error("Command timed out"))},a))}setBlockingTimeout(a){if(a<=0)return;this._blockingTimeoutTimer&&(clearTimeout(this._blockingTimeoutTimer),this._blockingTimeoutTimer=void 0);let b=Date.now();void 0===this._blockingDeadline&&(this._blockingDeadline=b+a);let c=this._blockingDeadline-b;if(c<=0)return void this.resolve(null);this._blockingTimeoutTimer=setTimeout(()=>{if(this.isResolved){this._blockingTimeoutTimer=void 0;return}this._blockingTimeoutTimer=void 0,this.resolve(null)},c)}extractBlockingTimeout(){let a=this.args;if(!a||0===a.length)return;let b=this.name.toLowerCase();return i.checkFlag("LAST_ARG_TIMEOUT_COMMANDS",b)?(0,h.parseSecondsArgument)(a[a.length-1]):i.checkFlag("FIRST_ARG_TIMEOUT_COMMANDS",b)?(0,h.parseSecondsArgument)(a[0]):i.checkFlag("BLOCK_OPTION_COMMANDS",b)?(0,h.parseBlockOption)(a):void 0}_clearTimers(){let a=this._commandTimeoutTimer;a&&(clearTimeout(a),delete this._commandTimeoutTimer);let b=this._blockingTimeoutTimer;b&&(clearTimeout(b),delete this._blockingTimeoutTimer)}initPromise(){let a=new Promise((a,b)=>{if(!this.transformed){this.transformed=!0;let a=i._transformer.argument[this.name];a&&(this.args=a(this.args)),this.stringifyArguments()}this.resolve=this._convertValue(a),this.reject=a=>{this._clearTimers(),this.errorStack?b((0,g.optimizeErrorStack)(a,this.errorStack.stack,__dirname)):b(a)}});this.promise=(0,f.default)(a,this.callback)}_iterateKeys(a=a=>a){if(void 0===this.keys&&(this.keys=[],(0,d.exists)(this.name,{caseInsensitive:!0})))for(let b of(0,d.getKeyIndexes)(this.name,this.args,{nameCaseInsensitive:!0}))this.args[b]=a(this.args[b]),this.keys.push(this.args[b]);return this.keys}_convertValue(a){return b=>{try{this._clearTimers(),a(this.transformReply(b)),this.isResolved=!0}catch(a){this.reject(a)}return this.promise}}}b.default=i,i.FLAGS={VALID_IN_SUBSCRIBER_MODE:["subscribe","psubscribe","unsubscribe","punsubscribe","ssubscribe","sunsubscribe","ping","quit"],VALID_IN_MONITOR_MODE:["monitor","auth"],ENTER_SUBSCRIBER_MODE:["subscribe","psubscribe","ssubscribe"],EXIT_SUBSCRIBER_MODE:["unsubscribe","punsubscribe","sunsubscribe"],WILL_DISCONNECT:["quit"],HANDSHAKE_COMMANDS:["auth","select","client","readonly","info"],IGNORE_RECONNECT_ON_ERROR:["client"],BLOCKING_COMMANDS:["blpop","brpop","brpoplpush","blmove","bzpopmin","bzpopmax","bzmpop","blmpop","xread","xreadgroup"],LAST_ARG_TIMEOUT_COMMANDS:["blpop","brpop","brpoplpush","blmove","bzpopmin","bzpopmax"],FIRST_ARG_TIMEOUT_COMMANDS:["bzmpop","blmpop"],BLOCK_OPTION_COMMANDS:["xread","xreadgroup"]},i._transformer={argument:{},reply:{}};let j=function(a){if(1===a.length){if(a[0]instanceof Map)return(0,g.convertMapToArray)(a[0]);if("object"==typeof a[0]&&null!==a[0])return(0,g.convertObjectToArray)(a[0])}return a},k=function(a){if(2===a.length){if(a[1]instanceof Map)return[a[0]].concat((0,g.convertMapToArray)(a[1]));if("object"==typeof a[1]&&null!==a[1])return[a[0]].concat((0,g.convertObjectToArray)(a[1]))}return a};i.setArgumentTransformer("mset",j),i.setArgumentTransformer("msetnx",j),i.setArgumentTransformer("hset",k),i.setArgumentTransformer("hmset",k),i.setReplyTransformer("hgetall",function(a){if(Array.isArray(a)){let b={};for(let c=0;c<a.length;c+=2){let d=a[c],e=a[c+1];d in b?Object.defineProperty(b,d,{value:e,configurable:!0,enumerable:!0,writable:!0}):b[d]=e}return b}return a});class l{constructor(){this.length=0,this.items=[]}push(a){this.length+=Buffer.byteLength(a),this.items.push(a)}toBuffer(){let a=Buffer.allocUnsafe(this.length),b=0;for(let c of this.items){let d=Buffer.byteLength(c);Buffer.isBuffer(c)?c.copy(a,b):a.write(c,b,d),b+=d}return a}}},36395:(a,b,c)=>{"use strict";c.d(b,{A:()=>l});var d=c(30766),e=Object.prototype,f=e.hasOwnProperty,g=e.toString,h=d.A?d.A.toStringTag:void 0;let i=function(a){var b=f.call(a,h),c=a[h];try{a[h]=void 0;var d=!0}catch(a){}var e=g.call(a);return d&&(b?a[h]=c:delete a[h]),e};var j=Object.prototype.toString,k=d.A?d.A.toStringTag:void 0;let l=function(a){return null==a?void 0===a?"[object Undefined]":"[object Null]":k&&k in Object(a)?i(a):j.call(a)}},36424:(a,b,c)=>{"use strict";c.d(b,{IU:()=>u,Jo:()=>G,T_:()=>y,g0:()=>ae,jP:()=>w});var d=c(28563),e=c(57301),f=c(11910),g=c(34623),h=c(4892),i=c(46895),j=c(6335),k=c(42292),l=c(72636),m=c(99766),n=(0,k.K2)((a,b,c,d,e,f=!1,g)=>{b.arrowTypeStart&&q(a,"start",b.arrowTypeStart,c,d,e,f,g),b.arrowTypeEnd&&q(a,"end",b.arrowTypeEnd,c,d,e,f,g)},"addEdgeMarkers"),o={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},p=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],q=(0,k.K2)((a,b,c,d,e,f,g=!1,h)=>{let i=o[c],j=i&&p.includes(i.type);if(!i)return void k.Rm.warn(`Unknown arrow type: ${c}`);let l=i.type,m=`${e}_${f}-${l}${"start"===b?"Start":"End"}${g&&j?"-margin":""}`;if(h&&""!==h.trim()){let c=h.replace(/[^\dA-Za-z]/g,"_"),e=`${m}_${c}`;if(!document.getElementById(e)){let a=document.getElementById(m);if(a){let b=a.cloneNode(!0);b.id=e,b.querySelectorAll("path, circle, line").forEach(a=>{a.setAttribute("stroke",h),i.fill&&a.setAttribute("fill",h)}),a.parentNode?.appendChild(b)}}a.attr(`marker-${b}`,`url(${d}#${e})`)}else a.attr(`marker-${b}`,`url(${d}#${m})`)},"addEdgeMarker"),r=(0,k.K2)(a=>"string"==typeof a?a:(0,j.D7)()?.flowchart?.curve,"resolveEdgeCurveType"),s=new Map,t=new Map,u=(0,k.K2)(()=>{s.clear(),t.clear()},"clear"),v=(0,k.K2)(a=>a?"string"==typeof a?a:a.reduce((a,b)=>a+";"+b,""):"","getLabelStyles"),w=(0,k.K2)(async(a,b)=>{let c,f=(0,j.D7)(),i=(0,j.E)(f),{labelStyles:m}=(0,g.GX)(b);b.labelStyle=m;let n=a.insert("g").attr("class","edgeLabel"),o=n.insert("g").attr("class","label").attr("data-id",b.id),p="markdown"===b.labelType,q=await (0,h.GZ)(a,b.label,{style:v(b.labelStyle),useHtmlLabels:i,addSvgBackground:!0,isNode:!1,markdown:p,width:void 0},f);o.node().appendChild(q),k.Rm.info("abc82",b,b.labelType);let r=q.getBBox(),u=r;if(i){let a=q.children[0],b=(0,l.Ltv)(q);u=r=a.getBoundingClientRect(),b.attr("width",r.width),b.attr("height",r.height)}else{let a=(0,l.Ltv)(q).select("text").node();a&&"function"==typeof a.getBBox&&(u=a.getBBox())}if(o.attr("transform",(0,d.Wg)(u,i)),s.set(b.id,n),b.width=r.width,b.height=r.height,b.startLabelLeft){let f=a.insert("g").attr("class","edgeTerminals"),g=f.insert("g").attr("class","inner"),h=await (0,e.DA)(g,b.startLabelLeft,v(b.labelStyle)||"",!1,!1);c=h;let j=h.getBBox();if(i){let a=h.children[0],b=(0,l.Ltv)(h);j=a.getBoundingClientRect(),b.attr("width",j.width),b.attr("height",j.height)}g.attr("transform",(0,d.Wg)(j,i)),t.get(b.id)||t.set(b.id,{}),t.get(b.id).startLeft=f,x(c,b.startLabelLeft)}if(b.startLabelRight){let f=a.insert("g").attr("class","edgeTerminals"),g=f.insert("g").attr("class","inner"),h=await (0,e.DA)(g,b.startLabelRight,v(b.labelStyle)||"",!1,!1);c=h,g.node().appendChild(h);let j=h.getBBox();if(i){let a=h.children[0],b=(0,l.Ltv)(h);j=a.getBoundingClientRect(),b.attr("width",j.width),b.attr("height",j.height)}g.attr("transform",(0,d.Wg)(j,i)),t.get(b.id)||t.set(b.id,{}),t.get(b.id).startRight=f,x(c,b.startLabelRight)}if(b.endLabelLeft){let f=a.insert("g").attr("class","edgeTerminals"),g=f.insert("g").attr("class","inner"),h=await (0,e.DA)(g,b.endLabelLeft,v(b.labelStyle)||"",!1,!1);c=h;let j=h.getBBox();if(i){let a=h.children[0],b=(0,l.Ltv)(h);j=a.getBoundingClientRect(),b.attr("width",j.width),b.attr("height",j.height)}g.attr("transform",(0,d.Wg)(j,i)),f.node().appendChild(h),t.get(b.id)||t.set(b.id,{}),t.get(b.id).endLeft=f,x(c,b.endLabelLeft)}if(b.endLabelRight){let f=a.insert("g").attr("class","edgeTerminals"),g=f.insert("g").attr("class","inner"),h=await (0,e.DA)(g,b.endLabelRight,v(b.labelStyle)||"",!1,!1);c=h;let j=h.getBBox();if(i){let a=h.children[0],b=(0,l.Ltv)(h);j=a.getBoundingClientRect(),b.attr("width",j.width),b.attr("height",j.height)}g.attr("transform",(0,d.Wg)(j,i)),f.node().appendChild(h),t.get(b.id)||t.set(b.id,{}),t.get(b.id).endRight=f,x(c,b.endLabelRight)}return q},"insertEdgeLabel");function x(a,b){(0,j.E)((0,j.D7)())&&a&&(a.style.width=9*b.length+"px",a.style.height="12px")}(0,k.K2)(x,"setTerminalWidth");var y=(0,k.K2)((a,b)=>{k.Rm.debug("Moving label abc88 ",a.id,a.label,s.get(a.id),b);let c=b.updatedPath?b.updatedPath:b.originalPath,d=(0,j.D7)(),{subGraphTitleTotalMargin:e}=(0,f.O)(d);if(a.label){let d=s.get(a.id),f=a.x,g=a.y;if(c){let d=i._K.calcLabelPosition(c);k.Rm.debug("Moving label "+a.label+" from (",f,",",g,") to (",d.x,",",d.y,") abc88"),b.updatedPath&&(f=d.x,g=d.y)}d.attr("transform",`translate(${f}, ${g+e/2})`)}if(a.startLabelLeft){let b=t.get(a.id).startLeft,d=a.x,e=a.y;if(c){let b=i._K.calcTerminalLabelPosition(10*!!a.arrowTypeStart,"start_left",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.startLabelRight){let b=t.get(a.id).startRight,d=a.x,e=a.y;if(c){let b=i._K.calcTerminalLabelPosition(10*!!a.arrowTypeStart,"start_right",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.endLabelLeft){let b=t.get(a.id).endLeft,d=a.x,e=a.y;if(c){let b=i._K.calcTerminalLabelPosition(10*!!a.arrowTypeEnd,"end_left",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.endLabelRight){let b=t.get(a.id).endRight,d=a.x,e=a.y;if(c){let b=i._K.calcTerminalLabelPosition(10*!!a.arrowTypeEnd,"end_right",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}},"positionEdgeLabel"),z=(0,k.K2)((a,b)=>{let c=a.x,d=a.y,e=Math.abs(b.x-c),f=Math.abs(b.y-d),g=a.width/2,h=a.height/2;return e>=g||f>=h},"outsideNode"),A=(0,k.K2)((a,b,c)=>{k.Rm.debug(`intersection calc abc89:
|
|
187
187
|
outsidePoint: ${JSON.stringify(b)}
|
|
188
188
|
insidePoint : ${JSON.stringify(c)}
|
|
189
189
|
node : x:${a.x} y:${a.y} w:${a.width} h:${a.height}`);let d=a.x,e=a.y,f=Math.abs(d-c.x),g=a.width/2,h=c.x<b.x?g-f:g+f,i=a.height/2,j=Math.abs(b.y-c.y),l=Math.abs(b.x-c.x);if(Math.abs(e-b.y)*g>Math.abs(d-b.x)*i){let a=c.y<b.y?b.y-i-e:e-i-b.y;h=l*a/j;let d={x:c.x<b.x?c.x+h:c.x-l+h,y:c.y<b.y?c.y+j-a:c.y-j+a};return 0===h&&(d.x=b.x,d.y=b.y),0===l&&(d.x=b.x),0===j&&(d.y=b.y),k.Rm.debug(`abc89 top/bottom calc, Q ${j}, q ${a}, R ${l}, r ${h}`,d),d}{let a=j*(h=c.x<b.x?b.x-g-d:d-g-b.x)/l,e=c.x<b.x?c.x+l-h:c.x-l+h,f=c.y<b.y?c.y+a:c.y-a;return k.Rm.debug(`sides calc abc89, Q ${j}, q ${a}, R ${l}, r ${h}`,{_x:e,_y:f}),0===h&&(e=b.x,f=b.y),0===l&&(e=b.x),0===j&&(f=b.y),{x:e,y:f}}},"intersection"),B=(0,k.K2)((a,b)=>{k.Rm.warn("abc88 cutPathAtIntersect",a,b);let c=[],d=a[0],e=!1;return a.forEach(a=>{if(k.Rm.info("abc88 checking point",a,b),z(b,a)||e)k.Rm.warn("abc88 outside",a,d),d=a,e||c.push(a);else{let f=A(b,d,a);k.Rm.debug("abc88 inside",a,d,f),k.Rm.debug("abc88 intersection",f,b);let g=!1;c.forEach(a=>{g=g||a.x===f.x&&a.y===f.y}),c.some(a=>a.x===f.x&&a.y===f.y)?k.Rm.warn("abc88 no intersect",f,c):c.push(f),e=!0}}),k.Rm.debug("returning points",c),c},"cutPathAtIntersect");function C(a){let b=[],c=[];for(let d=1;d<a.length-1;d++){let e=a[d-1],f=a[d],g=a[d+1];e.x===f.x&&f.y===g.y&&Math.abs(f.x-g.x)>5&&Math.abs(f.y-e.y)>5?(b.push(f),c.push(d)):e.y===f.y&&f.x===g.x&&Math.abs(f.x-e.x)>5&&Math.abs(f.y-g.y)>5&&(b.push(f),c.push(d))}return{cornerPoints:b,cornerPointPositions:c}}(0,k.K2)(C,"extractCornerPoints");var D=(0,k.K2)(function(a,b,c){let d=b.x-a.x,e=b.y-a.y,f=c/Math.sqrt(d*d+e*e);return{x:b.x-f*d,y:b.y-f*e}},"findAdjacentPoint"),E=(0,k.K2)(function(a){let{cornerPointPositions:b}=C(a),c=[];for(let d=0;d<a.length;d++)if(b.includes(d)){let b=a[d-1],e=a[d+1],f=a[d],g=D(b,f,5),h=D(e,f,5),i=h.x-g.x,j=h.y-g.y;c.push(g);let l=2*Math.sqrt(2),m={x:f.x,y:f.y};Math.abs(e.x-b.x)>10&&Math.abs(e.y-b.y)>=10?(k.Rm.debug("Corner point fixing",Math.abs(e.x-b.x),Math.abs(e.y-b.y)),m=f.x===g.x?{x:i<0?g.x-5+l:g.x+5-l,y:j<0?g.y-l:g.y+l}:{x:i<0?g.x-l:g.x+l,y:j<0?g.y-5+l:g.y+5-l}):k.Rm.debug("Corner point skipping fixing",Math.abs(e.x-b.x),Math.abs(e.y-b.y)),c.push(m,h)}else c.push(a[d]);return c},"fixCorners"),F=(0,k.K2)((a,b,c)=>{let d=Array(Math.floor((a-b-c)/4)).fill("2 2").join(" ");return`0 ${b} ${d} ${c}`},"generateDashArray"),G=(0,k.K2)(function(a,b,c,e,f,h,o,p=!1){let q,s;if(!o)throw Error(`insertEdge: missing diagramId for edge "${b.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:t}=(0,j.D7)(),u=b.points,v=!1,w=[];for(let a in b.cssCompiledStyles)(0,g.KX)(a)||w.push(b.cssCompiledStyles[a]);k.Rm.debug("UIO intersect check",b.points,h.x,f.x),h.intersect&&f.intersect&&!p&&((u=u.slice(1,b.points.length-1)).unshift(f.intersect(u[0])),k.Rm.debug("Last point UIO",b.start,"--\x3e",b.end,u[u.length-1],h,h.intersect(u[u.length-1])),u.push(h.intersect(u[u.length-1])));let x=btoa(JSON.stringify(u));b.toCluster&&(k.Rm.info("to cluster abc88",c.get(b.toCluster)),u=B(b.points,c.get(b.toCluster).node),v=!0),b.fromCluster&&(k.Rm.debug("from cluster abc88",c.get(b.fromCluster),JSON.stringify(u,null,2)),u=B(u.reverse(),c.get(b.fromCluster).node).reverse(),v=!0);let y=u.filter(a=>!Number.isNaN(a.y)),z=r(b.curve);"rounded"!==z&&(y=E(y));let A=l.lUB;switch(z){case"linear":case"rounded":A=l.lUB;break;case"basis":default:A=l.qrM;break;case"cardinal":A=l.y8u;break;case"bumpX":A=l.Wi0;break;case"bumpY":A=l.PGM;break;case"catmullRom":A=l.oDi;break;case"monotoneX":A=l.nVG;break;case"monotoneY":A=l.uxU;break;case"natural":A=l.Xf2;break;case"step":A=l.GZz;break;case"stepAfter":A=l.UPb;break;case"stepBefore":A=l.dyv}let{x:C,y:D}=(0,d.RI)(b),G=(0,l.n8j)().x(C).y(D).curve(A);switch(b.thickness){case"normal":default:q="edge-thickness-normal";break;case"thick":q="edge-thickness-thick";break;case"invisible":q="edge-thickness-invisible"}switch(b.pattern){case"solid":default:q+=" edge-pattern-solid";break;case"dotted":q+=" edge-pattern-dotted";break;case"dashed":q+=" edge-pattern-dashed"}let I="rounded"===z?H(J(y,b),5):G(y),K=Array.isArray(b.style)?b.style:[b.style],L=K.find(a=>a?.startsWith("stroke:")),M="";b.animate&&(M="edge-animation-fast"),b.animation&&(M="edge-animation-"+b.animation);let N=!1;if("handDrawn"===b.look){let c=m.A.svg(a);Object.assign([],y);let d=c.path(I,{roughness:.3,seed:t});q+=" transition";let e=(s=(0,l.Ltv)(d).select("path").attr("id",`${o}-${b.id}`).attr("class"," "+q+(b.classes?" "+b.classes:"")+(M?" "+M:"")).attr("style",K?K.reduce((a,b)=>a+";"+b,""):"")).attr("d");s.attr("d",e),a.node().appendChild(s.node())}else{let c=w.join(";"),e=K?K.reduce((a,b)=>a+b+";",""):"",f=(c?c+";"+e+";":e)+";"+(K?K.reduce((a,b)=>a+";"+b,""):"");s=a.append("path").attr("d",I).attr("id",`${o}-${b.id}`).attr("class"," "+q+(b.classes?" "+b.classes:"")+(M?" "+M:"")).attr("style",f),L=f.match(/stroke:([^;]+)/)?.[1],N=!0===b.animate||!!b.animation||c.includes("animation");let g=s.node(),h="function"==typeof g.getTotalLength?g.getTotalLength():0,i=d.Nq[b.arrowTypeStart]||0,j=d.Nq[b.arrowTypeEnd]||0;if("neo"===b.look&&!N){let a="dotted"===b.pattern||"dashed"===b.pattern?F(h,i,j):`0 ${i} ${h-i-j} ${j}`,c=`stroke-dasharray: ${a}; stroke-dashoffset: 0;`;s.attr("style",c+s.attr("style"))}}s.attr("data-edge",!0),s.attr("data-et","edge"),s.attr("data-id",b.id),s.attr("data-points",x),s.attr("data-look",(0,i.KL)(b.look)),b.showPoints&&y.forEach(b=>{a.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",b.x).attr("cy",b.y)});let O="";((0,j.D7)().flowchart.arrowMarkerAbsolute||(0,j.D7)().state.arrowMarkerAbsolute)&&(O=(O=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),k.Rm.info("arrowTypeStart",b.arrowTypeStart),k.Rm.info("arrowTypeEnd",b.arrowTypeEnd);let P=!N&&b?.look==="neo";n(s,b,O,o,e,P,L);let Q=Math.floor(u.length/2),R=u[Q];i._K.isLabelCoordinateInPath(R,s.attr("d"))||(v=!0);let S={};return v&&(S.updatedPath=u),S.originalPath=b.points,S},"insertEdge");function H(a,b){if(a.length<2)return"";let c="",d=a.length;for(let e=0;e<d;e++){let f=a[e],g=a[e-1],h=a[e+1];if(0===e)c+=`M${f.x},${f.y}`;else if(e===d-1)c+=`L${f.x},${f.y}`;else{let a=f.x-g.x,d=f.y-g.y,e=h.x-f.x,i=h.y-f.y,j=Math.hypot(a,d),k=Math.hypot(e,i);if(j<1e-5||k<1e-5){c+=`L${f.x},${f.y}`;continue}let l=a/j,m=d/j,n=e/k,o=i/k,p=Math.acos(Math.max(-1,Math.min(1,l*n+m*o)));if(p<1e-5||1e-5>Math.abs(Math.PI-p)){c+=`L${f.x},${f.y}`;continue}let q=Math.min(b/Math.sin(p/2),j/2,k/2),r=f.x-l*q,s=f.y-m*q,t=f.x+n*q,u=f.y+o*q;c+=`L${r},${s}Q${f.x},${f.y} ${t},${u}`}}return c}function I(a,b){if(!a||!b)return{angle:0,deltaX:0,deltaY:0};let c=b.x-a.x,d=b.y-a.y;return{angle:Math.atan2(d,c),deltaX:c,deltaY:d}}function J(a,b){let c=a.map(a=>({...a}));if(a.length>=2&&d.hq[b.arrowTypeStart]){let e=d.hq[b.arrowTypeStart],f=a[0],{angle:g}=I(f,a[1]),h=e*Math.cos(g),i=e*Math.sin(g);c[0].x=f.x+h,c[0].y=f.y+i}let e=a.length;if(e>=2&&d.hq[b.arrowTypeEnd]){let f=d.hq[b.arrowTypeEnd],g=a[e-1],{angle:h}=I(a[e-2],g),i=f*Math.cos(h),j=f*Math.sin(h);c[e-1].x=g.x-i,c[e-1].y=g.y-j}return c}(0,k.K2)(H,"generateRoundedPath"),(0,k.K2)(I,"calculateDeltaAndAngle"),(0,k.K2)(J,"applyMarkerOffsetsToPoints");var K=(0,k.K2)((a,b,c,d)=>{b.forEach(b=>{ad[b](a,c,d)})},"insertMarkers"),L=(0,k.K2)((a,b,c)=>{k.Rm.trace("Making markers for ",c),a.append("defs").append("marker").attr("id",c+"_"+b+"-extensionStart").attr("class","marker extension "+b).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-extensionEnd").attr("class","marker extension "+b).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),a.append("marker").attr("id",c+"_"+b+"-extensionStart-margin").attr("class","marker extension "+b).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),a.append("defs").append("marker").attr("id",c+"_"+b+"-extensionEnd-margin").attr("class","marker extension "+b).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),M=(0,k.K2)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-compositionStart").attr("class","marker composition "+b).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-compositionEnd").attr("class","marker composition "+b).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-compositionStart-margin").attr("class","marker composition "+b).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-compositionEnd-margin").attr("class","marker composition "+b).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),N=(0,k.K2)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-aggregationStart").attr("class","marker aggregation "+b).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-aggregationEnd").attr("class","marker aggregation "+b).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-aggregationStart-margin").attr("class","marker aggregation "+b).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-aggregationEnd-margin").attr("class","marker aggregation "+b).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),O=(0,k.K2)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-dependencyStart").attr("class","marker dependency "+b).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-dependencyEnd").attr("class","marker dependency "+b).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-dependencyStart-margin").attr("class","marker dependency "+b).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-dependencyEnd-margin").attr("class","marker dependency "+b).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),P=(0,k.K2)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-lollipopStart").attr("class","marker lollipop "+b).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),a.append("defs").append("marker").attr("id",c+"_"+b+"-lollipopEnd").attr("class","marker lollipop "+b).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),a.append("defs").append("marker").attr("id",c+"_"+b+"-lollipopStart-margin").attr("class","marker lollipop "+b).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),a.append("defs").append("marker").attr("id",c+"_"+b+"-lollipopEnd-margin").attr("class","marker lollipop "+b).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),Q=(0,k.K2)((a,b,c)=>{a.append("marker").attr("id",c+"_"+b+"-pointEnd").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-pointStart").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-pointEnd-margin").attr("class","marker "+b).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-pointStart-margin").attr("class","marker "+b).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("polygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),R=(0,k.K2)((a,b,c)=>{a.append("marker").attr("id",c+"_"+b+"-circleEnd").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-circleStart").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-circleEnd-margin").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-circleStart-margin").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),S=(0,k.K2)((a,b,c)=>{a.append("marker").attr("id",c+"_"+b+"-crossEnd").attr("class","marker cross "+b).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-crossStart").attr("class","marker cross "+b).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-crossEnd-margin").attr("class","marker cross "+b).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),a.append("marker").attr("id",c+"_"+b+"-crossStart-margin").attr("class","marker cross "+b).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),T=(0,k.K2)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),U=(0,k.K2)((a,b,c)=>{let{themeVariables:d}=(0,j.zj)(),{transitionColor:e}=d;a.append("defs").append("marker").attr("id",c+"_"+b+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill",`${e}`)},"barbNeo"),V=(0,k.K2)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-onlyOneStart").attr("class","marker onlyOne "+b).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),a.append("defs").append("marker").attr("id",c+"_"+b+"-onlyOneEnd").attr("class","marker onlyOne "+b).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),W=(0,k.K2)((a,b,c)=>{let d=a.append("defs").append("marker").attr("id",c+"_"+b+"-zeroOrOneStart").attr("class","marker zeroOrOne "+b).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");d.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),d.append("path").attr("d","M9,0 L9,18");let e=a.append("defs").append("marker").attr("id",c+"_"+b+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+b).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");e.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),e.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),X=(0,k.K2)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-oneOrMoreStart").attr("class","marker oneOrMore "+b).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),a.append("defs").append("marker").attr("id",c+"_"+b+"-oneOrMoreEnd").attr("class","marker oneOrMore "+b).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),Y=(0,k.K2)((a,b,c)=>{let d=a.append("defs").append("marker").attr("id",c+"_"+b+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+b).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");d.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),d.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let e=a.append("defs").append("marker").attr("id",c+"_"+b+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+b).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");e.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),e.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),Z=(0,k.K2)((a,b,c)=>{let{themeVariables:d}=(0,j.zj)(),{strokeWidth:e}=d;a.append("defs").append("marker").attr("id",c+"_"+b+"-onlyOneStart").attr("class","marker onlyOne "+b).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width",`${e}`),a.append("defs").append("marker").attr("id",c+"_"+b+"-onlyOneEnd").attr("class","marker onlyOne "+b).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width",`${e}`)},"only_one_neo"),$=(0,k.K2)((a,b,c)=>{let{themeVariables:d}=(0,j.zj)(),{strokeWidth:e,mainBkg:f}=d,g=a.append("defs").append("marker").attr("id",c+"_"+b+"-zeroOrOneStart").attr("class","marker zeroOrOne "+b).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse");g.append("circle").attr("fill",f??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${e}`).attr("r",6),g.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${e}`);let h=a.append("defs").append("marker").attr("id",c+"_"+b+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+b).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("markerUnits","userSpaceOnUse").attr("orient","auto");h.append("circle").attr("fill",f??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${e}`).attr("r",6),h.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${e}`)},"zero_or_one_neo"),_=(0,k.K2)((a,b,c)=>{let{themeVariables:d}=(0,j.zj)(),{strokeWidth:e}=d;a.append("defs").append("marker").attr("id",c+"_"+b+"-oneOrMoreStart").attr("class","marker oneOrMore "+b).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width",`${e}`),a.append("defs").append("marker").attr("id",c+"_"+b+"-oneOrMoreEnd").attr("class","marker oneOrMore "+b).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width",`${e}`)},"one_or_more_neo"),aa=(0,k.K2)((a,b,c)=>{let{themeVariables:d}=(0,j.zj)(),{strokeWidth:e,mainBkg:f}=d,g=a.append("defs").append("marker").attr("id",c+"_"+b+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+b).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto");g.append("circle").attr("fill",f??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${e}`),g.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${e}`);let h=a.append("defs").append("marker").attr("id",c+"_"+b+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+b).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse");h.append("circle").attr("fill",f??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${e}`),h.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${e}`)},"zero_or_more_neo"),ab=(0,k.K2)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
|
|
@@ -192,8 +192,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${b.do
|
|
|
192
192
|
L0,20`)},"requirement_arrow"),ac=(0,k.K2)((a,b,c)=>{let{themeVariables:d}=(0,j.zj)(),{strokeWidth:e}=d;a.append("defs").append("marker").attr("id",c+"_"+b+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${e}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
|
|
193
193
|
L20,10
|
|
194
194
|
M20,10
|
|
195
|
-
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),ad={extension:L,composition:M,aggregation:N,dependency:O,lollipop:P,point:Q,circle:R,cross:S,barb:T,barbNeo:U,only_one:V,zero_or_one:W,one_or_more:X,zero_or_more:Y,only_one_neo:Z,zero_or_one_neo:$,one_or_more_neo:_,zero_or_more_neo:aa,requirement_arrow:ab,requirement_contains:(0,k.K2)((a,b,c)=>{let d=a.append("defs").append("marker").attr("id",c+"_"+b+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");d.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),d.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),d.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),requirement_arrow_neo:ac,requirement_contains_neo:(0,k.K2)((a,b,c)=>{let{themeVariables:d}=(0,j.zj)(),{strokeWidth:e}=d,f=a.append("defs").append("marker").attr("id",c+"_"+b+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");f.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),f.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),f.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),f.selectAll("*").attr("stroke-width",`${e}`)},"requirement_contains_neo")},ae=K},36709:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a){return a}},37060:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]])},37087:(a,b,c)=>{"use strict";c.d(b,{A:()=>e,j:()=>f});var d=c(20903);function e(a,b,c){return arguments.length>1?this.each((null==b?function(a){return function(){this.style.removeProperty(a)}}:"function"==typeof b?function(a,b,c){return function(){var d=b.apply(this,arguments);null==d?this.style.removeProperty(a):this.style.setProperty(a,d,c)}}:function(a,b,c){return function(){this.style.setProperty(a,b,c)}})(a,b,null==c?"":c)):f(this.node(),a)}function f(a,b){return a.style.getPropertyValue(b)||(0,d.A)(a).getComputedStyle(a,null).getPropertyValue(b)}},37429:function(a){a.exports=function(){"use strict";var a="millisecond",b="second",c="minute",d="hour",e="week",f="month",g="quarter",h="year",i="date",j="Invalid Date",k=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m=function(a,b,c){var d=String(a);return!d||d.length>=b?a:""+Array(b+1-d.length).join(c)+a},n="en",o={};o[n]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(a){var b=["th","st","nd","rd"],c=a%100;return"["+a+(b[(c-20)%10]||b[c]||b[0])+"]"}};var p="$isDayjsObject",q=function(a){return a instanceof u||!(!a||!a[p])},r=function a(b,c,d){var e;if(!b)return n;if("string"==typeof b){var f=b.toLowerCase();o[f]&&(e=f),c&&(o[f]=c,e=f);var g=b.split("-");if(!e&&g.length>1)return a(g[0])}else{var h=b.name;o[h]=b,e=h}return!d&&e&&(n=e),e||!d&&n},s=function(a,b){if(q(a))return a.clone();var c="object"==typeof b?b:{};return c.date=a,c.args=arguments,new u(c)},t={s:m,z:function(a){var b=-a.utcOffset(),c=Math.abs(b);return(b<=0?"+":"-")+m(Math.floor(c/60),2,"0")+":"+m(c%60,2,"0")},m:function a(b,c){if(b.date()<c.date())return-a(c,b);var d=12*(c.year()-b.year())+(c.month()-b.month()),e=b.clone().add(d,f),g=c-e<0,h=b.clone().add(d+(g?-1:1),f);return+(-(d+(c-e)/(g?e-h:h-e))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(j){return({M:f,y:h,w:e,d:"day",D:i,h:d,m:c,s:b,ms:a,Q:g})[j]||String(j||"").toLowerCase().replace(/s$/,"")},u:function(a){return void 0===a}};t.l=r,t.i=q,t.w=function(a,b){return s(a,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var u=function(){function m(a){this.$L=r(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[p]=!0}var n=m.prototype;return n.parse=function(a){this.$d=function(a){var b=a.date,c=a.utc;if(null===b)return new Date(NaN);if(t.u(b))return new Date;if(b instanceof Date)return new Date(b);if("string"==typeof b&&!/Z$/i.test(b)){var d=b.match(k);if(d){var e=d[2]-1||0,f=(d[7]||"0").substring(0,3);return c?new Date(Date.UTC(d[1],e,d[3]||1,d[4]||0,d[5]||0,d[6]||0,f)):new Date(d[1],e,d[3]||1,d[4]||0,d[5]||0,d[6]||0,f)}}return new Date(b)}(a),this.init()},n.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},n.$utils=function(){return t},n.isValid=function(){return this.$d.toString()!==j},n.isSame=function(a,b){var c=s(a);return this.startOf(b)<=c&&c<=this.endOf(b)},n.isAfter=function(a,b){return s(a)<this.startOf(b)},n.isBefore=function(a,b){return this.endOf(b)<s(a)},n.$g=function(a,b,c){return t.u(a)?this[b]:this.set(c,a)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(a,g){var j=this,k=!!t.u(g)||g,l=t.p(a),m=function(a,b){var c=t.w(j.$u?Date.UTC(j.$y,b,a):new Date(j.$y,b,a),j);return k?c:c.endOf("day")},n=function(a,b){return t.w(j.toDate()[a].apply(j.toDate("s"),(k?[0,0,0,0]:[23,59,59,999]).slice(b)),j)},o=this.$W,p=this.$M,q=this.$D,r="set"+(this.$u?"UTC":"");switch(l){case h:return k?m(1,0):m(31,11);case f:return k?m(1,p):m(0,p+1);case e:var s=this.$locale().weekStart||0,u=(o<s?o+7:o)-s;return m(k?q-u:q+(6-u),p);case"day":case i:return n(r+"Hours",0);case d:return n(r+"Minutes",1);case c:return n(r+"Seconds",2);case b:return n(r+"Milliseconds",3);default:return this.clone()}},n.endOf=function(a){return this.startOf(a,!1)},n.$set=function(e,g){var j,k=t.p(e),l="set"+(this.$u?"UTC":""),m=((j={}).day=l+"Date",j[i]=l+"Date",j[f]=l+"Month",j[h]=l+"FullYear",j[d]=l+"Hours",j[c]=l+"Minutes",j[b]=l+"Seconds",j[a]=l+"Milliseconds",j)[k],n="day"===k?this.$D+(g-this.$W):g;if(k===f||k===h){var o=this.clone().set(i,1);o.$d[m](n),o.init(),this.$d=o.set(i,Math.min(this.$D,o.daysInMonth())).$d}else m&&this.$d[m](n);return this.init(),this},n.set=function(a,b){return this.clone().$set(a,b)},n.get=function(a){return this[t.p(a)]()},n.add=function(a,g){var i,j=this;a=Number(a);var k=t.p(g),l=function(b){var c=s(j);return t.w(c.date(c.date()+Math.round(b*a)),j)};if(k===f)return this.set(f,this.$M+a);if(k===h)return this.set(h,this.$y+a);if("day"===k)return l(1);if(k===e)return l(7);var m=((i={})[c]=6e4,i[d]=36e5,i[b]=1e3,i)[k]||1,n=this.$d.getTime()+a*m;return t.w(n,this)},n.subtract=function(a,b){return this.add(-1*a,b)},n.format=function(a){var b=this,c=this.$locale();if(!this.isValid())return c.invalidDate||j;var d=a||"YYYY-MM-DDTHH:mm:ssZ",e=t.z(this),f=this.$H,g=this.$m,h=this.$M,i=c.weekdays,k=c.months,m=c.meridiem,n=function(a,c,e,f){return a&&(a[c]||a(b,d))||e[c].slice(0,f)},o=function(a){return t.s(f%12||12,a,"0")},p=m||function(a,b,c){var d=a<12?"AM":"PM";return c?d.toLowerCase():d};return d.replace(l,function(a,d){return d||function(a){switch(a){case"YY":return String(b.$y).slice(-2);case"YYYY":return t.s(b.$y,4,"0");case"M":return h+1;case"MM":return t.s(h+1,2,"0");case"MMM":return n(c.monthsShort,h,k,3);case"MMMM":return n(k,h);case"D":return b.$D;case"DD":return t.s(b.$D,2,"0");case"d":return String(b.$W);case"dd":return n(c.weekdaysMin,b.$W,i,2);case"ddd":return n(c.weekdaysShort,b.$W,i,3);case"dddd":return i[b.$W];case"H":return String(f);case"HH":return t.s(f,2,"0");case"h":return o(1);case"hh":return o(2);case"a":return p(f,g,!0);case"A":return p(f,g,!1);case"m":return String(g);case"mm":return t.s(g,2,"0");case"s":return String(b.$s);case"ss":return t.s(b.$s,2,"0");case"SSS":return t.s(b.$ms,3,"0");case"Z":return e}return null}(a)||e.replace(":","")})},n.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},n.diff=function(a,i,j){var k,l=this,m=t.p(i),n=s(a),o=(n.utcOffset()-this.utcOffset())*6e4,p=this-n,q=function(){return t.m(l,n)};switch(m){case h:k=q()/12;break;case f:k=q();break;case g:k=q()/3;break;case e:k=(p-o)/6048e5;break;case"day":k=(p-o)/864e5;break;case d:k=p/36e5;break;case c:k=p/6e4;break;case b:k=p/1e3;break;default:k=p}return j?k:t.a(k)},n.daysInMonth=function(){return this.endOf(f).$D},n.$locale=function(){return o[this.$L]},n.locale=function(a,b){if(!a)return this.$L;var c=this.clone(),d=r(a,b,!0);return d&&(c.$L=d),c},n.clone=function(){return t.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},m}(),v=u.prototype;return s.prototype=v,[["$ms",a],["$s",b],["$m",c],["$H",d],["$W","day"],["$M",f],["$y",h],["$D",i]].forEach(function(a){v[a[1]]=function(b){return this.$g(b,a[0],a[1])}}),s.extend=function(a,b){return a.$i||(a(b,u,s),a.$i=!0),s},s.locale=r,s.isDayjs=q,s.unix=function(a){return s(1e3*a)},s.en=o[n],s.Ls=o,s.p={},s}()},37785:function(a,b,c){"use strict";var d=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(b,"__esModule",{value:!0}),b.getKeyIndexes=b.hasFlag=b.exists=b.list=void 0;let e=d(c(71686));b.list=Object.keys(e.default);let f={};function g(a){"string"!=typeof a&&(a=String(a));let b=a.indexOf("->");return -1===b?a.length:b}b.list.forEach(a=>{f[a]=e.default[a].flags.reduce(function(a,b){return a[b]=!0,a},{})}),b.exists=function(a,b){return a=(null==b?void 0:b.caseInsensitive)?String(a).toLowerCase():a,!!e.default[a]},b.hasFlag=function(a,b,c){if(!f[a=(null==c?void 0:c.nameCaseInsensitive)?String(a).toLowerCase():a])throw Error("Unknown command "+a);return!!f[a][b]},b.getKeyIndexes=function(a,b,c){a=(null==c?void 0:c.nameCaseInsensitive)?String(a).toLowerCase():a;let d=e.default[a];if(!d)throw Error("Unknown command "+a);if(!Array.isArray(b))throw Error("Expect args to be an array");let f=[],h=!!(c&&c.parseExternalKey),i=(a,b)=>{let c=[],d=Number(a[b]);for(let a=0;a<d;a++)c.push(a+b+1);return c},j=(a,b,c)=>{for(let d=b;d<a.length-1;d+=1)if(String(a[d]).toLowerCase()===c.toLowerCase())return d+1;return null};switch(a){case"zunionstore":case"zinterstore":case"zdiffstore":f.push(0,...i(b,1));break;case"eval":case"evalsha":case"eval_ro":case"evalsha_ro":case"fcall":case"fcall_ro":case"blmpop":case"bzmpop":f.push(...i(b,1));break;case"sintercard":case"lmpop":case"zunion":case"zinter":case"zmpop":case"zintercard":case"zdiff":f.push(...i(b,0));break;case"georadius":{f.push(0);let a=j(b,5,"STORE");a&&f.push(a);let c=j(b,5,"STOREDIST");c&&f.push(c);break}case"georadiusbymember":{f.push(0);let a=j(b,4,"STORE");a&&f.push(a);let c=j(b,4,"STOREDIST");c&&f.push(c);break}case"sort":case"sort_ro":f.push(0);for(let a=1;a<b.length-1;a++){let c=b[a];if("string"!=typeof c)continue;let d=c.toUpperCase();"GET"===d?(a+=1,"#"!==(c=b[a])&&(h?f.push([a,g(c)]):f.push(a))):"BY"===d?(a+=1,h?f.push([a,g(b[a])]):f.push(a)):"STORE"===d&&(a+=1,f.push(a))}break;case"migrate":if(""===b[2])for(let a=5;a<b.length-1;a++){let c=b[a];if("string"==typeof c&&"KEYS"===c.toUpperCase()){for(let c=a+1;c<b.length;c++)f.push(c);break}}else f.push(2);break;case"xreadgroup":case"xread":for(let c=3*("xread"!==a);c<b.length-1;c++)if("STREAMS"===String(b[c]).toUpperCase()){for(let a=c+1;a<=c+(b.length-1-c)/2;a++)f.push(a);break}break;default:if(d.step>0){let a=d.keyStart-1,c=d.keyStop>0?d.keyStop:b.length+d.keyStop+1;for(let b=a;b<c;b+=d.step)f.push(b)}}return f}},38055:(a,b,c)=>{"use strict";function d(){return[]}function e(a){return null==a?d:function(){return this.querySelectorAll(a)}}c.d(b,{A:()=>e})},38192:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),function(a,b){Object.keys(a).forEach(function(c){"default"===c||Object.prototype.hasOwnProperty.call(b,c)||Object.defineProperty(b,c,{enumerable:!0,get:function(){return a[c]}})})}(c(68733),b)},38400:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(12500),e=Object.create,f=function(){function a(){}return function(b){if(!(0,d.A)(b))return{};if(e)return e(b);a.prototype=b;var c=new a;return a.prototype=void 0,c}}(),g=c(84672),h=c(62190);let i=function(a){return"function"!=typeof a.constructor||(0,h.A)(a)?{}:f((0,g.A)(a))}},40092:(a,b,c)=>{"use strict";c.d(b,{l:()=>d});let d=a=>a},40162:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(31001),e=c(27655);let f=function(a){return(0,e.A)(a)&&(0,d.A)(a)}},40343:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{INTERNALS:function(){return h},NextRequest:function(){return i}});let d=c(10959),e=c(63279),f=c(83934),g=c(43313),h=Symbol("internal request");class i extends Request{constructor(a,b={}){let c="string"!=typeof a&&"url"in a?a.url:String(a);(0,e.validateURL)(c),b.body&&"half"!==b.duplex&&(b.duplex="half"),a instanceof Request?super(a,b):super(c,b);let f=new d.NextURL(c,{headers:(0,e.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:b.nextConfig});this[h]={cookies:new g.RequestCookies(this.headers),nextUrl:f,url:f.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[h].cookies}get nextUrl(){return this[h].nextUrl}get page(){throw new f.RemovedPageError}get ua(){throw new f.RemovedUAError}get url(){return this[h].url}}},41290:(a,b,c)=>{"use strict";c.d(b,{UL:()=>d.U});var d=c(26960);c(24323),c(94488)},41335:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Anchor:()=>U,Arrow:()=>Z,Close:()=>Y,Content:()=>X,Popover:()=>A,PopoverAnchor:()=>C,PopoverArrow:()=>R,PopoverClose:()=>Q,PopoverContent:()=>K,PopoverPortal:()=>I,PopoverTrigger:()=>E,Portal:()=>W,Root:()=>T,Trigger:()=>V,createPopoverScope:()=>w});var d=c(21968),e=c(22546),f=c(96090),g=c(42990),h=c(44768),i=c(28697),j=c(63812),k=c(22243),l=c(47536),m=c(66619),n=c(5030),o=c(16551),p=c(11156),q=c(15035),r=c(93846),s=c(87226),t=c(10837),u="Popover",[v,w]=(0,g.A)(u,[l.Bk]),x=(0,l.Bk)(),[y,z]=v(u),A=a=>{let{__scopePopover:b,children:c,open:e,defaultOpen:f,onOpenChange:g,modal:h=!1}=a,i=x(b),j=d.useRef(null),[m,n]=d.useState(!1),[o,p]=(0,q.i)({prop:e,defaultProp:f??!1,onChange:g,caller:u});return(0,t.jsx)(l.bL,{...i,children:(0,t.jsx)(y,{scope:b,contentId:(0,k.B)(),triggerRef:j,open:o,onOpenChange:p,onOpenToggle:d.useCallback(()=>p(a=>!a),[p]),hasCustomAnchor:m,onCustomAnchorAdd:d.useCallback(()=>n(!0),[]),onCustomAnchorRemove:d.useCallback(()=>n(!1),[]),modal:h,children:c})})};A.displayName=u;var B="PopoverAnchor",C=d.forwardRef((a,b)=>{let{__scopePopover:c,...e}=a,f=z(B,c),g=x(c),{onCustomAnchorAdd:h,onCustomAnchorRemove:i}=f;return d.useEffect(()=>(h(),()=>i()),[h,i]),(0,t.jsx)(l.Mz,{...g,...e,ref:b})});C.displayName=B;var D="PopoverTrigger",E=d.forwardRef((a,b)=>{let{__scopePopover:c,...d}=a,g=z(D,c),h=x(c),i=(0,f.s)(b,g.triggerRef),j=(0,t.jsx)(o.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":g.open,"aria-controls":g.contentId,"data-state":S(g.open),...d,ref:i,onClick:(0,e.mK)(a.onClick,g.onOpenToggle)});return g.hasCustomAnchor?j:(0,t.jsx)(l.Mz,{asChild:!0,...h,children:j})});E.displayName=D;var F="PopoverPortal",[G,H]=v(F,{forceMount:void 0}),I=a=>{let{__scopePopover:b,forceMount:c,children:d,container:e}=a,f=z(F,b);return(0,t.jsx)(G,{scope:b,forceMount:c,children:(0,t.jsx)(n.C,{present:c||f.open,children:(0,t.jsx)(m.Portal,{asChild:!0,container:e,children:d})})})};I.displayName=F;var J="PopoverContent",K=d.forwardRef((a,b)=>{let c=H(J,a.__scopePopover),{forceMount:d=c.forceMount,...e}=a,f=z(J,a.__scopePopover);return(0,t.jsx)(n.C,{present:d||f.open,children:f.modal?(0,t.jsx)(M,{...e,ref:b}):(0,t.jsx)(N,{...e,ref:b})})});K.displayName=J;var L=(0,p.TL)("PopoverContent.RemoveScroll"),M=d.forwardRef((a,b)=>{let c=z(J,a.__scopePopover),g=d.useRef(null),h=(0,f.s)(b,g),i=d.useRef(!1);return d.useEffect(()=>{let a=g.current;if(a)return(0,r.Eq)(a)},[]),(0,t.jsx)(s.A,{as:L,allowPinchZoom:!0,children:(0,t.jsx)(O,{...a,ref:h,trapFocus:c.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,e.mK)(a.onCloseAutoFocus,a=>{a.preventDefault(),i.current||c.triggerRef.current?.focus()}),onPointerDownOutside:(0,e.mK)(a.onPointerDownOutside,a=>{let b=a.detail.originalEvent,c=0===b.button&&!0===b.ctrlKey;i.current=2===b.button||c},{checkForDefaultPrevented:!1}),onFocusOutside:(0,e.mK)(a.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),N=d.forwardRef((a,b)=>{let c=z(J,a.__scopePopover),e=d.useRef(!1),f=d.useRef(!1);return(0,t.jsx)(O,{...a,ref:b,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:b=>{a.onCloseAutoFocus?.(b),b.defaultPrevented||(e.current||c.triggerRef.current?.focus(),b.preventDefault()),e.current=!1,f.current=!1},onInteractOutside:b=>{a.onInteractOutside?.(b),b.defaultPrevented||(e.current=!0,"pointerdown"===b.detail.originalEvent.type&&(f.current=!0));let d=b.target;c.triggerRef.current?.contains(d)&&b.preventDefault(),"focusin"===b.detail.originalEvent.type&&f.current&&b.preventDefault()}})}),O=d.forwardRef((a,b)=>{let{__scopePopover:c,trapFocus:d,onOpenAutoFocus:e,onCloseAutoFocus:f,disableOutsidePointerEvents:g,onEscapeKeyDown:k,onPointerDownOutside:m,onFocusOutside:n,onInteractOutside:o,...p}=a,q=z(J,c),r=x(c);return(0,i.Oh)(),(0,t.jsx)(j.n,{asChild:!0,loop:!0,trapped:d,onMountAutoFocus:e,onUnmountAutoFocus:f,children:(0,t.jsx)(h.qW,{asChild:!0,disableOutsidePointerEvents:g,onInteractOutside:o,onEscapeKeyDown:k,onPointerDownOutside:m,onFocusOutside:n,onDismiss:()=>q.onOpenChange(!1),children:(0,t.jsx)(l.UC,{"data-state":S(q.open),role:"dialog",id:q.contentId,...r,...p,ref:b,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),P="PopoverClose",Q=d.forwardRef((a,b)=>{let{__scopePopover:c,...d}=a,f=z(P,c);return(0,t.jsx)(o.sG.button,{type:"button",...d,ref:b,onClick:(0,e.mK)(a.onClick,()=>f.onOpenChange(!1))})});Q.displayName=P;var R=d.forwardRef((a,b)=>{let{__scopePopover:c,...d}=a,e=x(c);return(0,t.jsx)(l.i3,{...e,...d,ref:b})});function S(a){return a?"open":"closed"}R.displayName="PopoverArrow";var T=A,U=C,V=E,W=I,X=K,Y=Q,Z=R},42157:(a,b,c)=>{"use strict";c.d(b,{M:()=>e});var d=c(21968);function e(a){let b=(0,d.useRef)(null);return null===b.current&&(b.current=a()),b.current}},42176:(a,b,c)=>{"use strict";function d(a,[b,c]){return Math.min(c,Math.max(b,a))}c.d(b,{q:()=>d})},42292:(a,b,c)=>{"use strict";c.d(b,{He:()=>j,K2:()=>f,Rm:()=>i,VA:()=>g});var d=c(37429),e=Object.defineProperty,f=(a,b)=>e(a,"name",{value:b,configurable:!0}),g=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},h={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},i={trace:f((...a)=>{},"trace"),debug:f((...a)=>{},"debug"),info:f((...a)=>{},"info"),warn:f((...a)=>{},"warn"),error:f((...a)=>{},"error"),fatal:f((...a)=>{},"fatal")},j=f(function(a="fatal"){let b=h.fatal;"string"==typeof a?a.toLowerCase()in h&&(b=h[a]):"number"==typeof a&&(b=a),i.trace=()=>{},i.debug=()=>{},i.info=()=>{},i.warn=()=>{},i.error=()=>{},i.fatal=()=>{},b<=h.fatal&&(i.fatal=console.error?console.error.bind(console,k("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",k("FATAL"))),b<=h.error&&(i.error=console.error?console.error.bind(console,k("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",k("ERROR"))),b<=h.warn&&(i.warn=console.warn?console.warn.bind(console,k("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,k("WARN"))),b<=h.info&&(i.info=console.info?console.info.bind(console,k("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",k("INFO"))),b<=h.debug&&(i.debug=console.debug?console.debug.bind(console,k("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",k("DEBUG"))),b<=h.trace&&(i.trace=console.debug?console.debug.bind(console,k("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",k("TRACE")))},"setLogLevel"),k=f(a=>{let b=d().format("ss.SSS");return`%c${b} : ${a} : `},"format")},42377:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{callServer:function(){return d.callServer},createServerReference:function(){return f.createServerReference},findSourceMapURL:function(){return e.findSourceMapURL}});let d=c(89138),e=c(49098),f=c(87285)},42612:(a,b,c)=>{"use strict";let d=c(12412),e=c(28354);function f(a){Object.defineProperty(this,"message",{value:a||"",configurable:!0,writable:!0}),Error.captureStackTrace(this,this.constructor)}function g(a,b,c){d(b),d.strictEqual(typeof c,"number"),Object.defineProperty(this,"message",{value:a||"",configurable:!0,writable:!0});let e=Error.stackTraceLimit;Error.stackTraceLimit=2,Error.captureStackTrace(this,this.constructor),Error.stackTraceLimit=e,this.offset=c,this.buffer=b}function h(a){Object.defineProperty(this,"message",{value:a||"",configurable:!0,writable:!0});let b=Error.stackTraceLimit;Error.stackTraceLimit=2,Error.captureStackTrace(this,this.constructor),Error.stackTraceLimit=b}function i(a){Object.defineProperty(this,"message",{value:a||"",configurable:!0,writable:!0}),Error.captureStackTrace(this,this.constructor)}function j(a){Object.defineProperty(this,"message",{value:a||"",configurable:!0,writable:!0}),Error.captureStackTrace(this,this.constructor)}e.inherits(f,Error),Object.defineProperty(f.prototype,"name",{value:"RedisError",configurable:!0,writable:!0}),e.inherits(g,f),Object.defineProperty(g.prototype,"name",{value:"ParserError",configurable:!0,writable:!0}),e.inherits(h,f),Object.defineProperty(h.prototype,"name",{value:"ReplyError",configurable:!0,writable:!0}),e.inherits(i,f),Object.defineProperty(i.prototype,"name",{value:"AbortError",configurable:!0,writable:!0}),e.inherits(j,i),Object.defineProperty(j.prototype,"name",{value:"InterruptError",configurable:!0,writable:!0}),a.exports={RedisError:f,ParserError:g,ReplyError:h,AbortError:i,InterruptError:j}},42880:(a,b,c)=>{"use strict";c.d(b,{LN:()=>M,Ay:()=>O,zr:()=>L});var d=c(75018),e=c(38055),f=c(99317),g=Array.prototype.find;function h(){return this.firstElementChild}var i=Array.prototype.filter;function j(){return Array.from(this.children)}function k(a){return Array(a.length)}function l(a,b){this.ownerDocument=a.ownerDocument,this.namespaceURI=a.namespaceURI,this._next=null,this._parent=a,this.__data__=b}function m(a,b,c,d,e,f){for(var g,h=0,i=b.length,j=f.length;h<j;++h)(g=b[h])?(g.__data__=f[h],d[h]=g):c[h]=new l(a,f[h]);for(;h<i;++h)(g=b[h])&&(e[h]=g)}function n(a,b,c,d,e,f,g){var h,i,j,k=new Map,m=b.length,n=f.length,o=Array(m);for(h=0;h<m;++h)(i=b[h])&&(o[h]=j=g.call(i,i.__data__,h,b)+"",k.has(j)?e[h]=i:k.set(j,i));for(h=0;h<n;++h)j=g.call(a,f[h],h,f)+"",(i=k.get(j))?(d[h]=i,i.__data__=f[h],k.delete(j)):c[h]=new l(a,f[h]);for(h=0;h<m;++h)(i=b[h])&&k.get(o[h])===i&&(e[h]=i)}function o(a){return a.__data__}function p(a,b){return a<b?-1:a>b?1:a>=b?0:NaN}l.prototype={constructor:l,appendChild:function(a){return this._parent.insertBefore(a,this._next)},insertBefore:function(a,b){return this._parent.insertBefore(a,b)},querySelector:function(a){return this._parent.querySelector(a)},querySelectorAll:function(a){return this._parent.querySelectorAll(a)}};var q=c(92740),r=c(37087);function s(a){return a.trim().split(/^|\s+/)}function t(a){return a.classList||new u(a)}function u(a){this._node=a,this._names=s(a.getAttribute("class")||"")}function v(a,b){for(var c=t(a),d=-1,e=b.length;++d<e;)c.add(b[d])}function w(a,b){for(var c=t(a),d=-1,e=b.length;++d<e;)c.remove(b[d])}function x(){this.textContent=""}function y(){this.innerHTML=""}function z(){this.nextSibling&&this.parentNode.appendChild(this)}function A(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}u.prototype={add:function(a){0>this._names.indexOf(a)&&(this._names.push(a),this._node.setAttribute("class",this._names.join(" ")))},remove:function(a){var b=this._names.indexOf(a);b>=0&&(this._names.splice(b,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(a){return this._names.indexOf(a)>=0}};var B=c(93636);function C(a){var b=(0,q.A)(a);return(b.local?function(a){return function(){return this.ownerDocument.createElementNS(a.space,a.local)}}:function(a){return function(){var b=this.ownerDocument,c=this.namespaceURI;return c===B.g&&b.documentElement.namespaceURI===B.g?b.createElement(a):b.createElementNS(c,a)}})(b)}function D(){return null}function E(){var a=this.parentNode;a&&a.removeChild(this)}function F(){var a=this.cloneNode(!1),b=this.parentNode;return b?b.insertBefore(a,this.nextSibling):a}function G(){var a=this.cloneNode(!0),b=this.parentNode;return b?b.insertBefore(a,this.nextSibling):a}function H(a){return function(){var b=this.__on;if(b){for(var c,d=0,e=-1,f=b.length;d<f;++d)(c=b[d],a.type&&c.type!==a.type||c.name!==a.name)?b[++e]=c:this.removeEventListener(c.type,c.listener,c.options);++e?b.length=e:delete this.__on}}}function I(a,b,c){return function(){var d,e=this.__on,f=function(a){b.call(this,a,this.__data__)};if(e){for(var g=0,h=e.length;g<h;++g)if((d=e[g]).type===a.type&&d.name===a.name){this.removeEventListener(d.type,d.listener,d.options),this.addEventListener(d.type,d.listener=f,d.options=c),d.value=b;return}}this.addEventListener(a.type,f,c),d={type:a.type,name:a.name,value:b,listener:f,options:c},e?e.push(d):this.__on=[d]}}var J=c(20903);function K(a,b,c){var d=(0,J.A)(a),e=d.CustomEvent;"function"==typeof e?e=new e(b,c):(e=d.document.createEvent("Event"),c?(e.initEvent(b,c.bubbles,c.cancelable),e.detail=c.detail):e.initEvent(b,!1,!1)),a.dispatchEvent(e)}var L=[null];function M(a,b){this._groups=a,this._parents=b}function N(){return new M([[document.documentElement]],L)}M.prototype=N.prototype={constructor:M,select:function(a){"function"!=typeof a&&(a=(0,d.A)(a));for(var b=this._groups,c=b.length,e=Array(c),f=0;f<c;++f)for(var g,h,i=b[f],j=i.length,k=e[f]=Array(j),l=0;l<j;++l)(g=i[l])&&(h=a.call(g,g.__data__,l,i))&&("__data__"in g&&(h.__data__=g.__data__),k[l]=h);return new M(e,this._parents)},selectAll:function(a){if("function"==typeof a){var b;b=a,a=function(){var a;return a=b.apply(this,arguments),null==a?[]:Array.isArray(a)?a:Array.from(a)}}else a=(0,e.A)(a);for(var c=this._groups,d=c.length,f=[],g=[],h=0;h<d;++h)for(var i,j=c[h],k=j.length,l=0;l<k;++l)(i=j[l])&&(f.push(a.call(i,i.__data__,l,j)),g.push(i));return new M(f,g)},selectChild:function(a){var b;return this.select(null==a?h:(b="function"==typeof a?a:(0,f.j)(a),function(){return g.call(this.children,b)}))},selectChildren:function(a){var b;return this.selectAll(null==a?j:(b="function"==typeof a?a:(0,f.j)(a),function(){return i.call(this.children,b)}))},filter:function(a){"function"!=typeof a&&(a=(0,f.A)(a));for(var b=this._groups,c=b.length,d=Array(c),e=0;e<c;++e)for(var g,h=b[e],i=h.length,j=d[e]=[],k=0;k<i;++k)(g=h[k])&&a.call(g,g.__data__,k,h)&&j.push(g);return new M(d,this._parents)},data:function(a,b){if(!arguments.length)return Array.from(this,o);var c=b?n:m,d=this._parents,e=this._groups;"function"!=typeof a&&(v=a,a=function(){return v});for(var f=e.length,g=Array(f),h=Array(f),i=Array(f),j=0;j<f;++j){var k=d[j],l=e[j],p=l.length,q="object"==typeof(u=a.call(k,k&&k.__data__,j,d))&&"length"in u?u:Array.from(u),r=q.length,s=h[j]=Array(r),t=g[j]=Array(r);c(k,l,s,t,i[j]=Array(p),q,b);for(var u,v,w,x,y=0,z=0;y<r;++y)if(w=s[y]){for(y>=z&&(z=y+1);!(x=t[z])&&++z<r;);w._next=x||null}}return(g=new M(g,d))._enter=h,g._exit=i,g},enter:function(){return new M(this._enter||this._groups.map(k),this._parents)},exit:function(){return new M(this._exit||this._groups.map(k),this._parents)},join:function(a,b,c){var d=this.enter(),e=this,f=this.exit();return"function"==typeof a?(d=a(d))&&(d=d.selection()):d=d.append(a+""),null!=b&&(e=b(e))&&(e=e.selection()),null==c?f.remove():c(f),d&&e?d.merge(e).order():e},merge:function(a){for(var b=a.selection?a.selection():a,c=this._groups,d=b._groups,e=c.length,f=d.length,g=Math.min(e,f),h=Array(e),i=0;i<g;++i)for(var j,k=c[i],l=d[i],m=k.length,n=h[i]=Array(m),o=0;o<m;++o)(j=k[o]||l[o])&&(n[o]=j);for(;i<e;++i)h[i]=c[i];return new M(h,this._parents)},selection:function(){return this},order:function(){for(var a=this._groups,b=-1,c=a.length;++b<c;)for(var d,e=a[b],f=e.length-1,g=e[f];--f>=0;)(d=e[f])&&(g&&4^d.compareDocumentPosition(g)&&g.parentNode.insertBefore(d,g),g=d);return this},sort:function(a){function b(b,c){return b&&c?a(b.__data__,c.__data__):!b-!c}a||(a=p);for(var c=this._groups,d=c.length,e=Array(d),f=0;f<d;++f){for(var g,h=c[f],i=h.length,j=e[f]=Array(i),k=0;k<i;++k)(g=h[k])&&(j[k]=g);j.sort(b)}return new M(e,this._parents).order()},call:function(){var a=arguments[0];return arguments[0]=this,a.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var a=this._groups,b=0,c=a.length;b<c;++b)for(var d=a[b],e=0,f=d.length;e<f;++e){var g=d[e];if(g)return g}return null},size:function(){let a=0;for(let b of this)++a;return a},empty:function(){return!this.node()},each:function(a){for(var b=this._groups,c=0,d=b.length;c<d;++c)for(var e,f=b[c],g=0,h=f.length;g<h;++g)(e=f[g])&&a.call(e,e.__data__,g,f);return this},attr:function(a,b){var c=(0,q.A)(a);if(arguments.length<2){var d=this.node();return c.local?d.getAttributeNS(c.space,c.local):d.getAttribute(c)}return this.each((null==b?c.local?function(a){return function(){this.removeAttributeNS(a.space,a.local)}}:function(a){return function(){this.removeAttribute(a)}}:"function"==typeof b?c.local?function(a,b){return function(){var c=b.apply(this,arguments);null==c?this.removeAttributeNS(a.space,a.local):this.setAttributeNS(a.space,a.local,c)}}:function(a,b){return function(){var c=b.apply(this,arguments);null==c?this.removeAttribute(a):this.setAttribute(a,c)}}:c.local?function(a,b){return function(){this.setAttributeNS(a.space,a.local,b)}}:function(a,b){return function(){this.setAttribute(a,b)}})(c,b))},style:r.A,property:function(a,b){return arguments.length>1?this.each((null==b?function(a){return function(){delete this[a]}}:"function"==typeof b?function(a,b){return function(){var c=b.apply(this,arguments);null==c?delete this[a]:this[a]=c}}:function(a,b){return function(){this[a]=b}})(a,b)):this.node()[a]},classed:function(a,b){var c=s(a+"");if(arguments.length<2){for(var d=t(this.node()),e=-1,f=c.length;++e<f;)if(!d.contains(c[e]))return!1;return!0}return this.each(("function"==typeof b?function(a,b){return function(){(b.apply(this,arguments)?v:w)(this,a)}}:b?function(a){return function(){v(this,a)}}:function(a){return function(){w(this,a)}})(c,b))},text:function(a){return arguments.length?this.each(null==a?x:("function"==typeof a?function(a){return function(){var b=a.apply(this,arguments);this.textContent=null==b?"":b}}:function(a){return function(){this.textContent=a}})(a)):this.node().textContent},html:function(a){return arguments.length?this.each(null==a?y:("function"==typeof a?function(a){return function(){var b=a.apply(this,arguments);this.innerHTML=null==b?"":b}}:function(a){return function(){this.innerHTML=a}})(a)):this.node().innerHTML},raise:function(){return this.each(z)},lower:function(){return this.each(A)},append:function(a){var b="function"==typeof a?a:C(a);return this.select(function(){return this.appendChild(b.apply(this,arguments))})},insert:function(a,b){var c="function"==typeof a?a:C(a),e=null==b?D:"function"==typeof b?b:(0,d.A)(b);return this.select(function(){return this.insertBefore(c.apply(this,arguments),e.apply(this,arguments)||null)})},remove:function(){return this.each(E)},clone:function(a){return this.select(a?G:F)},datum:function(a){return arguments.length?this.property("__data__",a):this.node().__data__},on:function(a,b,c){var d,e,f=(a+"").trim().split(/^|\s+/).map(function(a){var b="",c=a.indexOf(".");return c>=0&&(b=a.slice(c+1),a=a.slice(0,c)),{type:a,name:b}}),g=f.length;if(arguments.length<2){var h=this.node().__on;if(h){for(var i,j=0,k=h.length;j<k;++j)for(d=0,i=h[j];d<g;++d)if((e=f[d]).type===i.type&&e.name===i.name)return i.value}return}for(d=0,h=b?I:H;d<g;++d)this.each(h(f[d],b,c));return this},dispatch:function(a,b){return this.each(("function"==typeof b?function(a,b){return function(){return K(this,a,b.apply(this,arguments))}}:function(a,b){return function(){return K(this,a,b)}})(a,b))},[Symbol.iterator]:function*(){for(var a=this._groups,b=0,c=a.length;b<c;++b)for(var d,e=a[b],f=0,g=e.length;f<g;++f)(d=e[f])&&(yield d)}};let O=N},42911:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addPathPrefix",{enumerable:!0,get:function(){return e}});let d=c(12846);function e(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:e,hash:f}=(0,d.parsePath)(a);return""+b+c+e+f}},43048:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"pathHasPrefix",{enumerable:!0,get:function(){return e}});let d=c(12846);function e(a,b){if("string"!=typeof a)return!1;let{pathname:c}=(0,d.parsePath)(a);return c===b||c.startsWith(b+"/")}},43165:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=c(91275),e=c(32340),f=c(23057),g=c(61301),h=c(13786),i=c(18462);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},43313:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{RequestCookies:function(){return d.RequestCookies},ResponseCookies:function(){return d.ResponseCookies},stringifyCookie:function(){return d.stringifyCookie}});let d=c(96446)},43332:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("clock-3",[["path",{d:"M12 6v6h4",key:"135r8i"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},43646:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("folder-lock",[["rect",{width:"8",height:"5",x:"14",y:"17",rx:"1",key:"19aais"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5",key:"1w6v7t"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}]])},43708:(a,b,c)=>{"use strict";c.d(b,{W:()=>d});let d={}},43926:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},44511:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(99554),e="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=e&&"object"==typeof module&&module&&!module.nodeType&&module,g=f&&f.exports===e?d.A.Buffer:void 0,h=g?g.allocUnsafe:void 0;let i=function(a,b){if(b)return a.slice();var c=a.length,d=h?h(c):new a.constructor(c);return a.copy(d),d}},44650:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a,b){return function(c){return a(b(c))}}},44820:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]])},44928:(a,b,c)=>{"use strict";a.exports=c(76929).vendored["react-rsc"].ReactDOM},45110:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isRequestAPICallableInsideAfter:function(){return i},throwForSearchParamsAccessInUseCache:function(){return h},throwWithStaticGenerationBailoutError:function(){return f},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return g}});let d=c(60114),e=c(3295);function f(a,b){throw Object.defineProperty(new d.StaticGenBailoutError(`Route ${a} couldn't be rendered statically because it used ${b}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E576",enumerable:!1,configurable:!0})}function g(a,b){throw Object.defineProperty(new d.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${b}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function h(a,b){let c=Object.defineProperty(Error(`Route ${a.route} used "searchParams" inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await "searchParams" outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E779",enumerable:!1,configurable:!0});throw Error.captureStackTrace(c,b),a.invalidDynamicUsageError??=c,c}function i(){let a=e.afterTaskAsyncStorage.getStore();return(null==a?void 0:a.rootTaskSpawnPhase)==="action"}},45401:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(91645),e=c(34631),f=c(86944),g=c(53932);class h extends g.default{constructor(a){super(a.disconnectTimeout),this.options=a}connect(a){let b,{options:c}=this;return this.connecting=!0,"path"in c&&c.path?b={path:c.path}:(b={},"port"in c&&null!=c.port&&(b.port=c.port),"host"in c&&null!=c.host&&(b.host=c.host),"family"in c&&null!=c.family&&(b.family=c.family)),c.tls&&Object.assign(b,c.tls),new Promise((a,g)=>{process.nextTick(()=>{if(!this.connecting)return void g(Error(f.CONNECTION_CLOSED_ERROR_MSG));try{c.tls?this.stream=(0,e.connect)(b):this.stream=(0,d.createConnection)(b)}catch(a){g(a);return}this.stream.once("error",a=>{this.firstError=a}),a(this.stream)})})}}b.default=h},45549:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});let d=function(a,b,c){switch(c.length){case 0:return a.call(b);case 1:return a.call(b,c[0]);case 2:return a.call(b,c[0],c[1]);case 3:return a.call(b,c[0],c[1],c[2])}return a.apply(b,c)};var e=Math.max;let f=function(a,b,c){return b=e(void 0===b?a.length-1:b,0),function(){for(var f=arguments,g=-1,h=e(f.length-b,0),i=Array(h);++g<h;)i[g]=f[b+g];g=-1;for(var j=Array(b+1);++g<b;)j[g]=f[g];return j[b]=c(i),d(a,this,j)}}},46005:(a,b,c)=>{"use strict";c.d(b,{L:()=>d});let d=(0,c(21968).createContext)({})},46071:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(54469),e=c(14899);let f=(a,b,c)=>{let f=e.A.parse(a),g=f[b],h=d.A.channel.clamp[b](g+c);return g!==h&&(f[b]=h),e.A.stringify(f)}},46801:(a,b,c)=>{"use strict";c.d(b,{Gt:()=>e,PP:()=>h,WG:()=>f,uv:()=>g});var d=c(40092);let{schedule:e,cancel:f,state:g,steps:h}=(0,c(9915).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:d.l,!0)},46895:(a,b,c)=>{"use strict";c.d(b,{$C:()=>D,$t:()=>S,C4:()=>U,I5:()=>R,Ib:()=>r,KL:()=>X,Sm:()=>V,Un:()=>L,_K:()=>T,bH:()=>I,dq:()=>P,pe:()=>k,rY:()=>W,ru:()=>K,sM:()=>B,vU:()=>p,yT:()=>F});var d,e=c(6335),f=c(42292),g=c(82978),h=c(72636),i=c(31415),j=c(96842),k="",l={curveBasis:h.qrM,curveBasisClosed:h.Yu4,curveBasisOpen:h.IA3,curveBumpX:h.Wi0,curveBumpY:h.PGM,curveBundle:h.OEq,curveCardinalClosed:h.olC,curveCardinalOpen:h.IrU,curveCardinal:h.y8u,curveCatmullRomClosed:h.Q7f,curveCatmullRomOpen:h.cVp,curveCatmullRom:h.oDi,curveLinear:h.lUB,curveLinearClosed:h.Lx9,curveMonotoneX:h.nVG,curveMonotoneY:h.uxU,curveNatural:h.Xf2,curveStep:h.GZz,curveStepAfter:h.UPb,curveStepBefore:h.dyv},m=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,n=(0,f.K2)(function(a,b){let c=o(a,/(?:init\b)|(?:initialize\b)/),d={};if(Array.isArray(c)){let a=c.map(a=>a.args);(0,e.$i)(a),d=(0,e.hH)(d,[...a])}else d=c.args;if(!d)return;let f=(0,e.Ch)(a,b),g="config";return void 0!==d[g]&&("flowchart-v2"===f&&(f="flowchart"),d[f]=d[g],delete d[g]),d},"detectInit"),o=(0,f.K2)(function(a,b=null){try{let c,d=RegExp(`[%]{2}(?![{]${m.source})(?=[}][%]{2}).*
|
|
196
|
-
`,"ig");a=a.trim().replace(d,"").replace(/'/gm,'"'),f.Rm.debug(`Detecting diagram directive${null!==b?" type:"+b:""} based on the text:${a}`);let g=[];for(;null!==(c=e.DB.exec(a));)if(c.index===e.DB.lastIndex&&e.DB.lastIndex++,c&&!b||b&&c[1]?.match(b)||b&&c[2]?.match(b)){let a=c[1]?c[1]:c[2],b=c[3]?c[3].trim():c[4]?JSON.parse(c[4].trim()):null;g.push({type:a,args:b})}if(0===g.length)return{type:a,args:null};return 1===g.length?g[0]:g}catch(c){return f.Rm.error(`ERROR: ${c.message} - Unable to parse directive type: '${b}' based on the text: '${a}'`),{type:void 0,args:null}}},"detectDirective"),p=(0,f.K2)(function(a){return a.replace(e.DB,"")},"removeDirectives"),q=(0,f.K2)(function(a,b){for(let[c,d]of b.entries())if(d.match(a))return c;return -1},"isSubstringInArray");function r(a,b){return a?l[`curve${a.charAt(0).toUpperCase()+a.slice(1)}`]??b:b}function s(a,b){let c=a.trim();if(c)return"loose"!==b.securityLevel?(0,g.J)(c):c}(0,f.K2)(r,"interpolateToCurve"),(0,f.K2)(s,"formatUrl");var t=(0,f.K2)((a,...b)=>{let c=a.split("."),d=c.length-1,e=c[d],g=window;for(let b=0;b<d;b++)if(!(g=g[c[b]]))return void f.Rm.error(`Function name: ${a} not found in window`);g[e](...b)},"runFunc");function u(a,b){return a&&b?Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2)):0}function v(a){let b,c=0;return a.forEach(a=>{c+=u(a,b),b=a}),y(a,c/2)}function w(a){return 1===a.length?a[0]:v(a)}(0,f.K2)(u,"distance"),(0,f.K2)(v,"traverseEdge"),(0,f.K2)(w,"calcLabelPosition");var x=(0,f.K2)((a,b=2)=>{let c=Math.pow(10,b);return Math.round(a*c)/c},"roundNumber"),y=(0,f.K2)((a,b)=>{let c,d=b;for(let b of a){if(c){let a=u(b,c);if(0===a)return c;if(a<d)d-=a;else{let e=d/a;if(e<=0)return c;if(e>=1)return{x:b.x,y:b.y};if(e>0&&e<1)return{x:x((1-e)*c.x+e*b.x,5),y:x((1-e)*c.y+e*b.y,5)}}}c=b}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),z=(0,f.K2)((a,b,c)=>{f.Rm.info(`our points ${JSON.stringify(b)}`),b[0]!==c&&(b=b.reverse());let d=y(b,25),e=a?10:5,g=Math.atan2(b[0].y-d.y,b[0].x-d.x),h={x:0,y:0};return h.x=Math.sin(g)*e+(b[0].x+d.x)/2,h.y=-Math.cos(g)*e+(b[0].y+d.y)/2,h},"calcCardinalityPosition");function A(a,b,c){let d=structuredClone(c);f.Rm.info("our points",d),"start_left"!==b&&"start_right"!==b&&d.reverse();let e=y(d,25+a),g=10+.5*a,h=Math.atan2(d[0].y-e.y,d[0].x-e.x),i={x:0,y:0};return"start_left"===b?(i.x=Math.sin(h+Math.PI)*g+(d[0].x+e.x)/2,i.y=-Math.cos(h+Math.PI)*g+(d[0].y+e.y)/2):"end_right"===b?(i.x=Math.sin(h-Math.PI)*g+(d[0].x+e.x)/2-5,i.y=-Math.cos(h-Math.PI)*g+(d[0].y+e.y)/2-5):"end_left"===b?(i.x=Math.sin(h)*g+(d[0].x+e.x)/2-5,i.y=-Math.cos(h)*g+(d[0].y+e.y)/2-5):(i.x=Math.sin(h)*g+(d[0].x+e.x)/2,i.y=-Math.cos(h)*g+(d[0].y+e.y)/2),i}function B(a){let b="",c="";for(let d of a)void 0!==d&&(d.startsWith("color:")||d.startsWith("text-align:")?c=c+d+";":b=b+d+";");return{style:b,labelStyle:c}}(0,f.K2)(A,"calcTerminalLabelPosition"),(0,f.K2)(B,"getStylesFromArray");var C=0,D=(0,f.K2)(()=>(C++,"id-"+Math.random().toString(36).substr(2,12)+"-"+C),"generateId");function E(a){let b="",c="0123456789abcdef",d=c.length;for(let e=0;e<a;e++)b+=c.charAt(Math.floor(Math.random()*d));return b}(0,f.K2)(E,"makeRandomHex");var F=(0,f.K2)(a=>E(a.length),"random"),G=(0,f.K2)(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),H=(0,f.K2)(function(a,b){let c=b.text.replace(e.Y2.lineBreakRegex," "),[,d]=R(b.fontSize),f=a.append("text");f.attr("x",b.x),f.attr("y",b.y),f.style("text-anchor",b.anchor),f.style("font-family",b.fontFamily),f.style("font-size",d),f.style("font-weight",b.fontWeight),f.attr("fill",b.fill),void 0!==b.class&&f.attr("class",b.class);let g=f.append("tspan");return g.attr("x",b.x+2*b.textMargin),g.attr("fill",b.fill),g.text(c),f},"drawSimpleText"),I=(0,i.A)((a,b,c)=>{if(!a||(c=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},c),e.Y2.lineBreakRegex.test(a)))return a;let d=a.split(" ").filter(Boolean),f=[],g="";return d.forEach((a,e)=>{let h=L(`${a} `,c),i=L(g,c);if(h>b){let{hyphenatedStrings:d,remainingWord:e}=J(a,b,"-",c);f.push(g,...d),g=e}else i+h>=b?(f.push(g),g=a):g=[g,a].filter(Boolean).join(" ");e+1===d.length&&f.push(g)}),f.filter(a=>""!==a).join(c.joinWith)},(a,b,c)=>`${a}${b}${c.fontSize}${c.fontWeight}${c.fontFamily}${c.joinWith}`),J=(0,i.A)((a,b,c="-",d)=>{d=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},d);let e=[...a],f=[],g="";return e.forEach((a,h)=>{let i=`${g}${a}`;if(L(i,d)>=b){let a=e.length===h+1,b=`${i}${c}`;f.push(a?i:b),g=""}else g=i}),{hyphenatedStrings:f,remainingWord:g}},(a,b,c="-",d)=>`${a}${b}${c}${d.fontSize}${d.fontWeight}${d.fontFamily}`);function K(a,b){return M(a,b).height}function L(a,b){return M(a,b).width}(0,f.K2)(K,"calculateTextHeight"),(0,f.K2)(L,"calculateTextWidth");var M=(0,i.A)((a,b)=>{let{fontSize:c=12,fontFamily:d="Arial",fontWeight:f=400}=b;if(!a)return{width:0,height:0};let[,g]=R(c),i=a.split(e.Y2.lineBreakRegex),j=[],l=(0,h.Ltv)("body");if(!l.remove)return{width:0,height:0,lineHeight:0};let m=l.append("svg");for(let a of["sans-serif",d]){let b=0,c={width:0,height:0,lineHeight:0};for(let d of i){let e=G();e.text=d||k;let h=H(m,e).style("font-size",g).style("font-weight",f).style("font-family",a),i=(h._groups||h)[0][0].getBBox();if(0===i.width&&0===i.height)throw Error("svg element not in render tree");c.width=Math.round(Math.max(c.width,i.width)),b=Math.round(i.height),c.height+=b,c.lineHeight=Math.round(Math.max(c.lineHeight,b))}j.push(c)}m.remove();let n=isNaN(j[1].height)||isNaN(j[1].width)||isNaN(j[1].lineHeight)||j[0].height>j[1].height&&j[0].width>j[1].width&&j[0].lineHeight>j[1].lineHeight?0:1;return j[n]},(a,b)=>`${a}${b.fontSize}${b.fontWeight}${b.fontFamily}`),N=class{constructor(a=!1,b){this.count=0,this.count=b?b.length:0,this.next=a?()=>this.count++:()=>Date.now()}static{(0,f.K2)(this,"InitIDGenerator")}},O=(0,f.K2)(function(a){return d=d||document.createElement("div"),a=escape(a).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),d.innerHTML=a,unescape(d.textContent)},"entityDecode");function P(a){return"str"in a}(0,f.K2)(P,"isDetailedError");var Q=(0,f.K2)((a,b,c,d)=>{if(!d)return;let e=a.node()?.getBBox();e&&a.append("text").text(d).attr("text-anchor","middle").attr("x",e.x+e.width/2).attr("y",-c).attr("class",b)},"insertTitle"),R=(0,f.K2)(a=>{if("number"==typeof a)return[a,a+"px"];let b=parseInt(a??"",10);return Number.isNaN(b)?[void 0,void 0]:a===String(b)?[b,a+"px"]:[b,a]},"parseFontSize");function S(a,b){return(0,j.A)({},a,b)}(0,f.K2)(S,"cleanAndMerge");var T={assignWithDepth:e.hH,wrapLabel:I,calculateTextHeight:K,calculateTextWidth:L,calculateTextDimensions:M,cleanAndMerge:S,detectInit:n,detectDirective:o,isSubstringInArray:q,interpolateToCurve:r,calcLabelPosition:w,calcCardinalityPosition:z,calcTerminalLabelPosition:A,formatUrl:s,getStylesFromArray:B,generateId:D,random:F,runFunc:t,entityDecode:O,insertTitle:Q,isLabelCoordinateInPath:Y,parseFontSize:R,InitIDGenerator:N},U=(0,f.K2)(function(a){let b=a;return(b=(b=b.replace(/style.*:\S*#.*;/g,function(a){return a.substring(0,a.length-1)})).replace(/classDef.*:\S*#.*;/g,function(a){return a.substring(0,a.length-1)})).replace(/#\w+;/g,function(a){let b=a.substring(1,a.length-1);return/^\+?\d+$/.test(b)?"fl\xb0\xb0"+b+"\xb6\xdf":"fl\xb0"+b+"\xb6\xdf"})},"encodeEntities"),V=(0,f.K2)(function(a){return a.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),W=(0,f.K2)((a,b,{counter:c=0,prefix:d,suffix:e},f)=>f||`${d?`${d}_`:""}${a}_${b}_${c}${e?`_${e}`:""}`,"getEdgeId");function X(a){return a??null}function Y(a,b){let c=Math.round(a.x),d=Math.round(a.y),e=b.replace(/(\d+\.\d+)/g,a=>Math.round(parseFloat(a)).toString());return e.includes(c.toString())||e.includes(d.toString())}(0,f.K2)(X,"handleUndefinedAttr"),(0,f.K2)(Y,"isLabelCoordinateInPath")},46939:(a,b,c)=>{"use strict";function d(a){return a&&"object"==typeof a?"position"in a||"type"in a?f(a.position):"start"in a||"end"in a?f(a):"line"in a||"column"in a?e(a):"":""}function e(a){return g(a&&a.line)+":"+g(a&&a.column)}function f(a){return e(a&&a.start)+"-"+e(a&&a.end)}function g(a){return a&&"number"==typeof a?a:1}c.d(b,{L:()=>d})},47262:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(98131),e="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=e&&"object"==typeof module&&module&&!module.nodeType&&module,g=f&&f.exports===e&&d.A.process;let h=function(){try{var a=f&&f.require&&f.require("util").types;if(a)return a;return g&&g.binding&&g.binding("util")}catch(a){}}()},47924:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getRedirectError:function(){return g},getRedirectStatusCodeFromError:function(){return l},getRedirectTypeFromError:function(){return k},getURLFromRedirectError:function(){return j},permanentRedirect:function(){return i},redirect:function(){return h}});let d=c(87875),e=c(7533),f=c(19121).actionAsyncStorage;function g(a,b,c){void 0===c&&(c=d.RedirectStatusCode.TemporaryRedirect);let f=Object.defineProperty(Error(e.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return f.digest=e.REDIRECT_ERROR_CODE+";"+b+";"+a+";"+c+";",f}function h(a,b){var c;throw null!=b||(b=(null==f||null==(c=f.getStore())?void 0:c.isAction)?e.RedirectType.push:e.RedirectType.replace),g(a,b,d.RedirectStatusCode.TemporaryRedirect)}function i(a,b){throw void 0===b&&(b=e.RedirectType.replace),g(a,b,d.RedirectStatusCode.PermanentRedirect)}function j(a){return(0,e.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function k(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function l(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},47992:a=>{(()=>{"use strict";var b={491:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ContextAPI=void 0;let d=c(223),e=c(172),f=c(930),g="context",h=new d.NoopContextManager;class i{constructor(){}static getInstance(){return this._instance||(this._instance=new i),this._instance}setGlobalContextManager(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}active(){return this._getContextManager().active()}with(a,b,c,...d){return this._getContextManager().with(a,b,c,...d)}bind(a,b){return this._getContextManager().bind(a,b)}_getContextManager(){return(0,e.getGlobal)(g)||h}disable(){this._getContextManager().disable(),(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.ContextAPI=i},930:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagAPI=void 0;let d=c(56),e=c(912),f=c(957),g=c(172);class h{constructor(){function a(a){return function(...b){let c=(0,g.getGlobal)("diag");if(c)return c[a](...b)}}let b=this;b.setLogger=(a,c={logLevel:f.DiagLogLevel.INFO})=>{var d,h,i;if(a===b){let a=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return b.error(null!=(d=a.stack)?d:a.message),!1}"number"==typeof c&&(c={logLevel:c});let j=(0,g.getGlobal)("diag"),k=(0,e.createLogLevelDiagLogger)(null!=(h=c.logLevel)?h:f.DiagLogLevel.INFO,a);if(j&&!c.suppressOverrideMessage){let a=null!=(i=Error().stack)?i:"<failed to generate stacktrace>";j.warn(`Current logger will be overwritten from ${a}`),k.warn(`Current logger will overwrite one already registered from ${a}`)}return(0,g.registerGlobal)("diag",k,b,!0)},b.disable=()=>{(0,g.unregisterGlobal)("diag",b)},b.createComponentLogger=a=>new d.DiagComponentLogger(a),b.verbose=a("verbose"),b.debug=a("debug"),b.info=a("info"),b.warn=a("warn"),b.error=a("error")}static instance(){return this._instance||(this._instance=new h),this._instance}}b.DiagAPI=h},653:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.MetricsAPI=void 0;let d=c(660),e=c(172),f=c(930),g="metrics";class h{constructor(){}static getInstance(){return this._instance||(this._instance=new h),this._instance}setGlobalMeterProvider(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}getMeterProvider(){return(0,e.getGlobal)(g)||d.NOOP_METER_PROVIDER}getMeter(a,b,c){return this.getMeterProvider().getMeter(a,b,c)}disable(){(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.MetricsAPI=h},181:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.PropagationAPI=void 0;let d=c(172),e=c(874),f=c(194),g=c(277),h=c(369),i=c(930),j="propagation",k=new e.NoopTextMapPropagator;class l{constructor(){this.createBaggage=h.createBaggage,this.getBaggage=g.getBaggage,this.getActiveBaggage=g.getActiveBaggage,this.setBaggage=g.setBaggage,this.deleteBaggage=g.deleteBaggage}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalPropagator(a){return(0,d.registerGlobal)(j,a,i.DiagAPI.instance())}inject(a,b,c=f.defaultTextMapSetter){return this._getGlobalPropagator().inject(a,b,c)}extract(a,b,c=f.defaultTextMapGetter){return this._getGlobalPropagator().extract(a,b,c)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,d.unregisterGlobal)(j,i.DiagAPI.instance())}_getGlobalPropagator(){return(0,d.getGlobal)(j)||k}}b.PropagationAPI=l},997:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceAPI=void 0;let d=c(172),e=c(846),f=c(139),g=c(607),h=c(930),i="trace";class j{constructor(){this._proxyTracerProvider=new e.ProxyTracerProvider,this.wrapSpanContext=f.wrapSpanContext,this.isSpanContextValid=f.isSpanContextValid,this.deleteSpan=g.deleteSpan,this.getSpan=g.getSpan,this.getActiveSpan=g.getActiveSpan,this.getSpanContext=g.getSpanContext,this.setSpan=g.setSpan,this.setSpanContext=g.setSpanContext}static getInstance(){return this._instance||(this._instance=new j),this._instance}setGlobalTracerProvider(a){let b=(0,d.registerGlobal)(i,this._proxyTracerProvider,h.DiagAPI.instance());return b&&this._proxyTracerProvider.setDelegate(a),b}getTracerProvider(){return(0,d.getGlobal)(i)||this._proxyTracerProvider}getTracer(a,b){return this.getTracerProvider().getTracer(a,b)}disable(){(0,d.unregisterGlobal)(i,h.DiagAPI.instance()),this._proxyTracerProvider=new e.ProxyTracerProvider}}b.TraceAPI=j},277:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.deleteBaggage=b.setBaggage=b.getActiveBaggage=b.getBaggage=void 0;let d=c(491),e=(0,c(780).createContextKey)("OpenTelemetry Baggage Key");function f(a){return a.getValue(e)||void 0}b.getBaggage=f,b.getActiveBaggage=function(){return f(d.ContextAPI.getInstance().active())},b.setBaggage=function(a,b){return a.setValue(e,b)},b.deleteBaggage=function(a){return a.deleteValue(e)}},993:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.BaggageImpl=void 0;class c{constructor(a){this._entries=a?new Map(a):new Map}getEntry(a){let b=this._entries.get(a);if(b)return Object.assign({},b)}getAllEntries(){return Array.from(this._entries.entries()).map(([a,b])=>[a,b])}setEntry(a,b){let d=new c(this._entries);return d._entries.set(a,b),d}removeEntry(a){let b=new c(this._entries);return b._entries.delete(a),b}removeEntries(...a){let b=new c(this._entries);for(let c of a)b._entries.delete(c);return b}clear(){return new c}}b.BaggageImpl=c},830:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataSymbol=void 0,b.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataFromString=b.createBaggage=void 0;let d=c(930),e=c(993),f=c(830),g=d.DiagAPI.instance();b.createBaggage=function(a={}){return new e.BaggageImpl(new Map(Object.entries(a)))},b.baggageEntryMetadataFromString=function(a){return"string"!=typeof a&&(g.error(`Cannot create baggage metadata from unknown type: ${typeof a}`),a=""),{__TYPE__:f.baggageEntryMetadataSymbol,toString:()=>a}}},67:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.context=void 0,b.context=c(491).ContextAPI.getInstance()},223:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopContextManager=void 0;let d=c(780);class e{active(){return d.ROOT_CONTEXT}with(a,b,c,...d){return b.call(c,...d)}bind(a,b){return b}enable(){return this}disable(){return this}}b.NoopContextManager=e},780:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ROOT_CONTEXT=b.createContextKey=void 0,b.createContextKey=function(a){return Symbol.for(a)};class c{constructor(a){let b=this;b._currentContext=a?new Map(a):new Map,b.getValue=a=>b._currentContext.get(a),b.setValue=(a,d)=>{let e=new c(b._currentContext);return e._currentContext.set(a,d),e},b.deleteValue=a=>{let d=new c(b._currentContext);return d._currentContext.delete(a),d}}}b.ROOT_CONTEXT=new c},506:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.diag=void 0,b.diag=c(930).DiagAPI.instance()},56:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagComponentLogger=void 0;let d=c(172);class e{constructor(a){this._namespace=a.namespace||"DiagComponentLogger"}debug(...a){return f("debug",this._namespace,a)}error(...a){return f("error",this._namespace,a)}info(...a){return f("info",this._namespace,a)}warn(...a){return f("warn",this._namespace,a)}verbose(...a){return f("verbose",this._namespace,a)}}function f(a,b,c){let e=(0,d.getGlobal)("diag");if(e)return c.unshift(b),e[a](...c)}b.DiagComponentLogger=e},972:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagConsoleLogger=void 0;let c=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class d{constructor(){for(let a=0;a<c.length;a++)this[c[a].n]=function(a){return function(...b){if(console){let c=console[a];if("function"!=typeof c&&(c=console.log),"function"==typeof c)return c.apply(console,b)}}}(c[a].c)}}b.DiagConsoleLogger=d},912:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createLogLevelDiagLogger=void 0;let d=c(957);b.createLogLevelDiagLogger=function(a,b){function c(c,d){let e=b[c];return"function"==typeof e&&a>=d?e.bind(b):function(){}}return a<d.DiagLogLevel.NONE?a=d.DiagLogLevel.NONE:a>d.DiagLogLevel.ALL&&(a=d.DiagLogLevel.ALL),b=b||{},{error:c("error",d.DiagLogLevel.ERROR),warn:c("warn",d.DiagLogLevel.WARN),info:c("info",d.DiagLogLevel.INFO),debug:c("debug",d.DiagLogLevel.DEBUG),verbose:c("verbose",d.DiagLogLevel.VERBOSE)}}},957:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagLogLevel=void 0,function(a){a[a.NONE=0]="NONE",a[a.ERROR=30]="ERROR",a[a.WARN=50]="WARN",a[a.INFO=60]="INFO",a[a.DEBUG=70]="DEBUG",a[a.VERBOSE=80]="VERBOSE",a[a.ALL=9999]="ALL"}(b.DiagLogLevel||(b.DiagLogLevel={}))},172:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.unregisterGlobal=b.getGlobal=b.registerGlobal=void 0;let d=c(200),e=c(521),f=c(130),g=e.VERSION.split(".")[0],h=Symbol.for(`opentelemetry.js.api.${g}`),i=d._globalThis;b.registerGlobal=function(a,b,c,d=!1){var f;let g=i[h]=null!=(f=i[h])?f:{version:e.VERSION};if(!d&&g[a]){let b=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${a}`);return c.error(b.stack||b.message),!1}if(g.version!==e.VERSION){let b=Error(`@opentelemetry/api: Registration of version v${g.version} for ${a} does not match previously registered API v${e.VERSION}`);return c.error(b.stack||b.message),!1}return g[a]=b,c.debug(`@opentelemetry/api: Registered a global for ${a} v${e.VERSION}.`),!0},b.getGlobal=function(a){var b,c;let d=null==(b=i[h])?void 0:b.version;if(d&&(0,f.isCompatible)(d))return null==(c=i[h])?void 0:c[a]},b.unregisterGlobal=function(a,b){b.debug(`@opentelemetry/api: Unregistering a global for ${a} v${e.VERSION}.`);let c=i[h];c&&delete c[a]}},130:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.isCompatible=b._makeCompatibilityCheck=void 0;let d=c(521),e=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function f(a){let b=new Set([a]),c=new Set,d=a.match(e);if(!d)return()=>!1;let f={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=f.prerelease)return function(b){return b===a};function g(a){return c.add(a),!1}return function(a){if(b.has(a))return!0;if(c.has(a))return!1;let d=a.match(e);if(!d)return g(a);let h={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=h.prerelease||f.major!==h.major)return g(a);if(0===f.major)return f.minor===h.minor&&f.patch<=h.patch?(b.add(a),!0):g(a);return f.minor<=h.minor?(b.add(a),!0):g(a)}}b._makeCompatibilityCheck=f,b.isCompatible=f(d.VERSION)},886:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.metrics=void 0,b.metrics=c(653).MetricsAPI.getInstance()},901:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ValueType=void 0,function(a){a[a.INT=0]="INT",a[a.DOUBLE=1]="DOUBLE"}(b.ValueType||(b.ValueType={}))},102:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createNoopMeter=b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=b.NOOP_OBSERVABLE_GAUGE_METRIC=b.NOOP_OBSERVABLE_COUNTER_METRIC=b.NOOP_UP_DOWN_COUNTER_METRIC=b.NOOP_HISTOGRAM_METRIC=b.NOOP_COUNTER_METRIC=b.NOOP_METER=b.NoopObservableUpDownCounterMetric=b.NoopObservableGaugeMetric=b.NoopObservableCounterMetric=b.NoopObservableMetric=b.NoopHistogramMetric=b.NoopUpDownCounterMetric=b.NoopCounterMetric=b.NoopMetric=b.NoopMeter=void 0;class c{constructor(){}createHistogram(a,c){return b.NOOP_HISTOGRAM_METRIC}createCounter(a,c){return b.NOOP_COUNTER_METRIC}createUpDownCounter(a,c){return b.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(a,c){return b.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(a,c){return b.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(a,c){return b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(a,b){}removeBatchObservableCallback(a){}}b.NoopMeter=c;class d{}b.NoopMetric=d;class e extends d{add(a,b){}}b.NoopCounterMetric=e;class f extends d{add(a,b){}}b.NoopUpDownCounterMetric=f;class g extends d{record(a,b){}}b.NoopHistogramMetric=g;class h{addCallback(a){}removeCallback(a){}}b.NoopObservableMetric=h;class i extends h{}b.NoopObservableCounterMetric=i;class j extends h{}b.NoopObservableGaugeMetric=j;class k extends h{}b.NoopObservableUpDownCounterMetric=k,b.NOOP_METER=new c,b.NOOP_COUNTER_METRIC=new e,b.NOOP_HISTOGRAM_METRIC=new g,b.NOOP_UP_DOWN_COUNTER_METRIC=new f,b.NOOP_OBSERVABLE_COUNTER_METRIC=new i,b.NOOP_OBSERVABLE_GAUGE_METRIC=new j,b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new k,b.createNoopMeter=function(){return b.NOOP_METER}},660:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NOOP_METER_PROVIDER=b.NoopMeterProvider=void 0;let d=c(102);class e{getMeter(a,b,c){return d.NOOP_METER}}b.NoopMeterProvider=e,b.NOOP_METER_PROVIDER=new e},200:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(46),b)},651:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b._globalThis=void 0,b._globalThis="object"==typeof globalThis?globalThis:global},46:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(651),b)},939:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.propagation=void 0,b.propagation=c(181).PropagationAPI.getInstance()},874:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTextMapPropagator=void 0;class c{inject(a,b){}extract(a,b){return a}fields(){return[]}}b.NoopTextMapPropagator=c},194:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.defaultTextMapSetter=b.defaultTextMapGetter=void 0,b.defaultTextMapGetter={get(a,b){if(null!=a)return a[b]},keys:a=>null==a?[]:Object.keys(a)},b.defaultTextMapSetter={set(a,b,c){null!=a&&(a[b]=c)}}},845:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.trace=void 0,b.trace=c(997).TraceAPI.getInstance()},403:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NonRecordingSpan=void 0;let d=c(476);class e{constructor(a=d.INVALID_SPAN_CONTEXT){this._spanContext=a}spanContext(){return this._spanContext}setAttribute(a,b){return this}setAttributes(a){return this}addEvent(a,b){return this}setStatus(a){return this}updateName(a){return this}end(a){}isRecording(){return!1}recordException(a,b){}}b.NonRecordingSpan=e},614:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracer=void 0;let d=c(491),e=c(607),f=c(403),g=c(139),h=d.ContextAPI.getInstance();class i{startSpan(a,b,c=h.active()){var d;if(null==b?void 0:b.root)return new f.NonRecordingSpan;let i=c&&(0,e.getSpanContext)(c);return"object"==typeof(d=i)&&"string"==typeof d.spanId&&"string"==typeof d.traceId&&"number"==typeof d.traceFlags&&(0,g.isSpanContextValid)(i)?new f.NonRecordingSpan(i):new f.NonRecordingSpan}startActiveSpan(a,b,c,d){let f,g,i;if(arguments.length<2)return;2==arguments.length?i=b:3==arguments.length?(f=b,i=c):(f=b,g=c,i=d);let j=null!=g?g:h.active(),k=this.startSpan(a,f,j),l=(0,e.setSpan)(j,k);return h.with(l,i,void 0,k)}}b.NoopTracer=i},124:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracerProvider=void 0;let d=c(614);class e{getTracer(a,b,c){return new d.NoopTracer}}b.NoopTracerProvider=e},125:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracer=void 0;let d=new(c(614)).NoopTracer;class e{constructor(a,b,c,d){this._provider=a,this.name=b,this.version=c,this.options=d}startSpan(a,b,c){return this._getTracer().startSpan(a,b,c)}startActiveSpan(a,b,c,d){let e=this._getTracer();return Reflect.apply(e.startActiveSpan,e,arguments)}_getTracer(){if(this._delegate)return this._delegate;let a=this._provider.getDelegateTracer(this.name,this.version,this.options);return a?(this._delegate=a,this._delegate):d}}b.ProxyTracer=e},846:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracerProvider=void 0;let d=c(125),e=new(c(124)).NoopTracerProvider;class f{getTracer(a,b,c){var e;return null!=(e=this.getDelegateTracer(a,b,c))?e:new d.ProxyTracer(this,a,b,c)}getDelegate(){var a;return null!=(a=this._delegate)?a:e}setDelegate(a){this._delegate=a}getDelegateTracer(a,b,c){var d;return null==(d=this._delegate)?void 0:d.getTracer(a,b,c)}}b.ProxyTracerProvider=f},996:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SamplingDecision=void 0,function(a){a[a.NOT_RECORD=0]="NOT_RECORD",a[a.RECORD=1]="RECORD",a[a.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(b.SamplingDecision||(b.SamplingDecision={}))},607:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.getSpanContext=b.setSpanContext=b.deleteSpan=b.setSpan=b.getActiveSpan=b.getSpan=void 0;let d=c(780),e=c(403),f=c(491),g=(0,d.createContextKey)("OpenTelemetry Context Key SPAN");function h(a){return a.getValue(g)||void 0}function i(a,b){return a.setValue(g,b)}b.getSpan=h,b.getActiveSpan=function(){return h(f.ContextAPI.getInstance().active())},b.setSpan=i,b.deleteSpan=function(a){return a.deleteValue(g)},b.setSpanContext=function(a,b){return i(a,new e.NonRecordingSpan(b))},b.getSpanContext=function(a){var b;return null==(b=h(a))?void 0:b.spanContext()}},325:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceStateImpl=void 0;let d=c(564);class e{constructor(a){this._internalState=new Map,a&&this._parse(a)}set(a,b){let c=this._clone();return c._internalState.has(a)&&c._internalState.delete(a),c._internalState.set(a,b),c}unset(a){let b=this._clone();return b._internalState.delete(a),b}get(a){return this._internalState.get(a)}serialize(){return this._keys().reduce((a,b)=>(a.push(b+"="+this.get(b)),a),[]).join(",")}_parse(a){!(a.length>512)&&(this._internalState=a.split(",").reverse().reduce((a,b)=>{let c=b.trim(),e=c.indexOf("=");if(-1!==e){let f=c.slice(0,e),g=c.slice(e+1,b.length);(0,d.validateKey)(f)&&(0,d.validateValue)(g)&&a.set(f,g)}return a},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let a=new e;return a._internalState=new Map(this._internalState),a}}b.TraceStateImpl=e},564:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.validateValue=b.validateKey=void 0;let c="[_0-9a-z-*/]",d=`[a-z]${c}{0,255}`,e=`[a-z0-9]${c}{0,240}@[a-z]${c}{0,13}`,f=RegExp(`^(?:${d}|${e})$`),g=/^[ -~]{0,255}[!-~]$/,h=/,|=/;b.validateKey=function(a){return f.test(a)},b.validateValue=function(a){return g.test(a)&&!h.test(a)}},98:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createTraceState=void 0;let d=c(325);b.createTraceState=function(a){return new d.TraceStateImpl(a)}},476:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.INVALID_SPAN_CONTEXT=b.INVALID_TRACEID=b.INVALID_SPANID=void 0;let d=c(475);b.INVALID_SPANID="0000000000000000",b.INVALID_TRACEID="00000000000000000000000000000000",b.INVALID_SPAN_CONTEXT={traceId:b.INVALID_TRACEID,spanId:b.INVALID_SPANID,traceFlags:d.TraceFlags.NONE}},357:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SpanKind=void 0,function(a){a[a.INTERNAL=0]="INTERNAL",a[a.SERVER=1]="SERVER",a[a.CLIENT=2]="CLIENT",a[a.PRODUCER=3]="PRODUCER",a[a.CONSUMER=4]="CONSUMER"}(b.SpanKind||(b.SpanKind={}))},139:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.wrapSpanContext=b.isSpanContextValid=b.isValidSpanId=b.isValidTraceId=void 0;let d=c(476),e=c(403),f=/^([0-9a-f]{32})$/i,g=/^[0-9a-f]{16}$/i;function h(a){return f.test(a)&&a!==d.INVALID_TRACEID}function i(a){return g.test(a)&&a!==d.INVALID_SPANID}b.isValidTraceId=h,b.isValidSpanId=i,b.isSpanContextValid=function(a){return h(a.traceId)&&i(a.spanId)},b.wrapSpanContext=function(a){return new e.NonRecordingSpan(a)}},847:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SpanStatusCode=void 0,function(a){a[a.UNSET=0]="UNSET",a[a.OK=1]="OK",a[a.ERROR=2]="ERROR"}(b.SpanStatusCode||(b.SpanStatusCode={}))},475:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceFlags=void 0,function(a){a[a.NONE=0]="NONE",a[a.SAMPLED=1]="SAMPLED"}(b.TraceFlags||(b.TraceFlags={}))},521:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.VERSION=void 0,b.VERSION="1.6.0"}},c={};function d(a){var e=c[a];if(void 0!==e)return e.exports;var f=c[a]={exports:{}},g=!0;try{b[a].call(f.exports,f,f.exports,d),g=!1}finally{g&&delete c[a]}return f.exports}d.ab=__dirname+"/";var e={};(()=>{Object.defineProperty(e,"__esModule",{value:!0}),e.trace=e.propagation=e.metrics=e.diag=e.context=e.INVALID_SPAN_CONTEXT=e.INVALID_TRACEID=e.INVALID_SPANID=e.isValidSpanId=e.isValidTraceId=e.isSpanContextValid=e.createTraceState=e.TraceFlags=e.SpanStatusCode=e.SpanKind=e.SamplingDecision=e.ProxyTracerProvider=e.ProxyTracer=e.defaultTextMapSetter=e.defaultTextMapGetter=e.ValueType=e.createNoopMeter=e.DiagLogLevel=e.DiagConsoleLogger=e.ROOT_CONTEXT=e.createContextKey=e.baggageEntryMetadataFromString=void 0;var a=d(369);Object.defineProperty(e,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return a.baggageEntryMetadataFromString}});var b=d(780);Object.defineProperty(e,"createContextKey",{enumerable:!0,get:function(){return b.createContextKey}}),Object.defineProperty(e,"ROOT_CONTEXT",{enumerable:!0,get:function(){return b.ROOT_CONTEXT}});var c=d(972);Object.defineProperty(e,"DiagConsoleLogger",{enumerable:!0,get:function(){return c.DiagConsoleLogger}});var f=d(957);Object.defineProperty(e,"DiagLogLevel",{enumerable:!0,get:function(){return f.DiagLogLevel}});var g=d(102);Object.defineProperty(e,"createNoopMeter",{enumerable:!0,get:function(){return g.createNoopMeter}});var h=d(901);Object.defineProperty(e,"ValueType",{enumerable:!0,get:function(){return h.ValueType}});var i=d(194);Object.defineProperty(e,"defaultTextMapGetter",{enumerable:!0,get:function(){return i.defaultTextMapGetter}}),Object.defineProperty(e,"defaultTextMapSetter",{enumerable:!0,get:function(){return i.defaultTextMapSetter}});var j=d(125);Object.defineProperty(e,"ProxyTracer",{enumerable:!0,get:function(){return j.ProxyTracer}});var k=d(846);Object.defineProperty(e,"ProxyTracerProvider",{enumerable:!0,get:function(){return k.ProxyTracerProvider}});var l=d(996);Object.defineProperty(e,"SamplingDecision",{enumerable:!0,get:function(){return l.SamplingDecision}});var m=d(357);Object.defineProperty(e,"SpanKind",{enumerable:!0,get:function(){return m.SpanKind}});var n=d(847);Object.defineProperty(e,"SpanStatusCode",{enumerable:!0,get:function(){return n.SpanStatusCode}});var o=d(475);Object.defineProperty(e,"TraceFlags",{enumerable:!0,get:function(){return o.TraceFlags}});var p=d(98);Object.defineProperty(e,"createTraceState",{enumerable:!0,get:function(){return p.createTraceState}});var q=d(139);Object.defineProperty(e,"isSpanContextValid",{enumerable:!0,get:function(){return q.isSpanContextValid}}),Object.defineProperty(e,"isValidTraceId",{enumerable:!0,get:function(){return q.isValidTraceId}}),Object.defineProperty(e,"isValidSpanId",{enumerable:!0,get:function(){return q.isValidSpanId}});var r=d(476);Object.defineProperty(e,"INVALID_SPANID",{enumerable:!0,get:function(){return r.INVALID_SPANID}}),Object.defineProperty(e,"INVALID_TRACEID",{enumerable:!0,get:function(){return r.INVALID_TRACEID}}),Object.defineProperty(e,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return r.INVALID_SPAN_CONTEXT}});let s=d(67);Object.defineProperty(e,"context",{enumerable:!0,get:function(){return s.context}});let t=d(506);Object.defineProperty(e,"diag",{enumerable:!0,get:function(){return t.diag}});let u=d(886);Object.defineProperty(e,"metrics",{enumerable:!0,get:function(){return u.metrics}});let v=d(939);Object.defineProperty(e,"propagation",{enumerable:!0,get:function(){return v.propagation}});let w=d(845);Object.defineProperty(e,"trace",{enumerable:!0,get:function(){return w.trace}}),e.default={context:s.context,diag:t.diag,metrics:u.metrics,propagation:v.propagation,trace:w.trace}})(),a.exports=e})()},48589:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("folder-x",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"m9.5 10.5 5 5",key:"ra9qjz"}],["path",{d:"m14.5 10.5-5 5",key:"l2rkpq"}]])},48810:function(a,b,c){"use strict";var d=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(a,b){let c=null;if(!a||"string"!=typeof a)return c;let d=(0,e.default)(a),f="function"==typeof b;return d.forEach(a=>{if("declaration"!==a.type)return;let{property:d,value:e}=a;f?b(d,e,a):e&&((c=c||{})[d]=e)}),c};let e=d(c(93895))},48915:(a,b,c)=>{"use strict";c.d(b,{o:()=>e});var d=c(46939);class e extends Error{constructor(a,b,c){super(),"string"==typeof b&&(c=b,b=void 0);let e="",f={},g=!1;if(b&&(f="line"in b&&"column"in b||"start"in b&&"end"in b?{place:b}:"type"in b?{ancestors:[b],place:b.position}:{...b}),"string"==typeof a?e=a:!f.cause&&a&&(g=!0,e=a.message,f.cause=a),!f.ruleId&&!f.source&&"string"==typeof c){let a=c.indexOf(":");-1===a?f.ruleId=c:(f.source=c.slice(0,a),f.ruleId=c.slice(a+1))}if(!f.place&&f.ancestors&&f.ancestors){let a=f.ancestors[f.ancestors.length-1];a&&(f.place=a.position)}let h=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=e,this.line=h?h.line:void 0,this.name=(0,d.L)(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=g&&f.cause&&"string"==typeof f.cause.stack?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}e.prototype.file="",e.prototype.name="",e.prototype.reason="",e.prototype.message="",e.prototype.stack="",e.prototype.column=void 0,e.prototype.line=void 0,e.prototype.ancestors=void 0,e.prototype.cause=void 0,e.prototype.fatal=void 0,e.prototype.place=void 0,e.prototype.ruleId=void 0,e.prototype.source=void 0},48987:(a,b,c)=>{"use strict";c.d(b,{G:()=>E});var d,e,f,g=c(42880),h=c(17552),i=0,j=0,k=0,l=0,m=0,n=0,o="object"==typeof performance&&performance.now?performance:Date,p="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(a){setTimeout(a,17)};function q(){return m||(p(r),m=o.now()+n)}function r(){m=0}function s(){this._call=this._time=this._next=null}function t(a,b,c){var d=new s;return d.restart(a,b,c),d}function u(){m=(l=o.now())+n,i=j=0;try{q(),++i;for(var a,b=e;b;)(a=m-b._time)>=0&&b._call.call(void 0,a),b=b._next;--i}finally{i=0,function(){for(var a,b,c=e,d=1/0;c;)c._call?(d>c._time&&(d=c._time),a=c,c=c._next):(b=c._next,c._next=null,c=a?a._next=b:e=b);f=a,w(d)}(),m=0}}function v(){var a=o.now(),b=a-l;b>1e3&&(n-=b,l=a)}function w(a){!i&&(j&&(j=clearTimeout(j)),a-m>24?(a<1/0&&(j=setTimeout(u,a-o.now()-n)),k&&(k=clearInterval(k))):(k||(l=o.now(),k=setInterval(v,1e3)),i=1,p(u)))}function x(a,b,c){var d=new s;return b=null==b?0:+b,d.restart(c=>{d.stop(),a(c+b)},b,c),d}s.prototype=t.prototype={constructor:s,restart:function(a,b,c){if("function"!=typeof a)throw TypeError("callback is not a function");c=(null==c?q():+c)+(null==b?0:+b),this._next||f===this||(f?f._next=this:e=this,f=this),this._call=a,this._time=c,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}};var y=(0,h.A)("start","end","cancel","interrupt"),z=[];function A(a,b,c,d,e,f){var g=a.__transition;if(g){if(c in g)return}else a.__transition={};!function(a,b,c){var d,e=a.__transition;function f(i){var j,k,l,m;if(1!==c.state)return h();for(j in e)if((m=e[j]).name===c.name){if(3===m.state)return x(f);4===m.state?(m.state=6,m.timer.stop(),m.on.call("interrupt",a,a.__data__,m.index,m.group),delete e[j]):+j<b&&(m.state=6,m.timer.stop(),m.on.call("cancel",a,a.__data__,m.index,m.group),delete e[j])}if(x(function(){3===c.state&&(c.state=4,c.timer.restart(g,c.delay,c.time),g(i))}),c.state=2,c.on.call("start",a,a.__data__,c.index,c.group),2===c.state){for(j=0,c.state=3,d=Array(l=c.tween.length),k=-1;j<l;++j)(m=c.tween[j].value.call(a,a.__data__,c.index,c.group))&&(d[++k]=m);d.length=k+1}}function g(b){for(var e=b<c.duration?c.ease.call(null,b/c.duration):(c.timer.restart(h),c.state=5,1),f=-1,g=d.length;++f<g;)d[f].call(a,e);5===c.state&&(c.on.call("end",a,a.__data__,c.index,c.group),h())}function h(){for(var d in c.state=6,c.timer.stop(),delete e[b],e)return;delete a.__transition}e[b]=c,c.timer=t(function(a){c.state=1,c.timer.restart(f,c.delay,c.time),c.delay<=a&&f(a-c.delay)},0,c.time)}(a,c,{name:b,index:d,group:e,on:y,tween:z,time:f.time,delay:f.delay,duration:f.duration,ease:f.ease,timer:null,state:0})}function B(a,b){var c=D(a,b);if(c.state>0)throw Error("too late; already scheduled");return c}function C(a,b){var c=D(a,b);if(c.state>3)throw Error("too late; already running");return c}function D(a,b){var c=a.__transition;if(!c||!(c=c[b]))throw Error("transition not found");return c}function E(a,b){var c,d,e,f=a.__transition,g=!0;if(f){for(e in b=null==b?null:b+"",f){if((c=f[e]).name!==b){g=!1;continue}d=c.state>2&&c.state<5,c.state=6,c.timer.stop(),c.on.call(d?"interrupt":"cancel",a,a.__data__,c.index,c.group),delete f[e]}g&&delete a.__transition}}var F=c(61071),G=180/Math.PI,H={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function I(a,b,c,d,e,f){var g,h,i;return(g=Math.sqrt(a*a+b*b))&&(a/=g,b/=g),(i=a*c+b*d)&&(c-=a*i,d-=b*i),(h=Math.sqrt(c*c+d*d))&&(c/=h,d/=h,i/=h),a*d<b*c&&(a=-a,b=-b,i=-i,g=-g),{translateX:e,translateY:f,rotate:Math.atan2(b,a)*G,skewX:Math.atan(i)*G,scaleX:g,scaleY:h}}function J(a,b,c,d){function e(a){return a.length?a.pop()+" ":""}return function(f,g){var h,i,j,k,l=[],m=[];return f=a(f),g=a(g),!function(a,d,e,f,g,h){if(a!==e||d!==f){var i=g.push("translate(",null,b,null,c);h.push({i:i-4,x:(0,F.A)(a,e)},{i:i-2,x:(0,F.A)(d,f)})}else(e||f)&&g.push("translate("+e+b+f+c)}(f.translateX,f.translateY,g.translateX,g.translateY,l,m),h=f.rotate,i=g.rotate,h!==i?(h-i>180?i+=360:i-h>180&&(h+=360),m.push({i:l.push(e(l)+"rotate(",null,d)-2,x:(0,F.A)(h,i)})):i&&l.push(e(l)+"rotate("+i+d),j=f.skewX,k=g.skewX,j!==k?m.push({i:l.push(e(l)+"skewX(",null,d)-2,x:(0,F.A)(j,k)}):k&&l.push(e(l)+"skewX("+k+d),!function(a,b,c,d,f,g){if(a!==c||b!==d){var h=f.push(e(f)+"scale(",null,",",null,")");g.push({i:h-4,x:(0,F.A)(a,c)},{i:h-2,x:(0,F.A)(b,d)})}else(1!==c||1!==d)&&f.push(e(f)+"scale("+c+","+d+")")}(f.scaleX,f.scaleY,g.scaleX,g.scaleY,l,m),f=g=null,function(a){for(var b,c=-1,d=m.length;++c<d;)l[(b=m[c]).i]=b.x(a);return l.join("")}}}var K=J(function(a){let b=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(a+"");return b.isIdentity?H:I(b.a,b.b,b.c,b.d,b.e,b.f)},"px, ","px)","deg)"),L=J(function(a){return null==a?H:(d||(d=document.createElementNS("http://www.w3.org/2000/svg","g")),d.setAttribute("transform",a),a=d.transform.baseVal.consolidate())?I((a=a.matrix).a,a.b,a.c,a.d,a.e,a.f):H},", ",")",")"),M=c(92740);function N(a,b,c){var d=a._id;return a.each(function(){var a=C(this,d);(a.value||(a.value={}))[b]=c.apply(this,arguments)}),function(a){return D(a,d).value[b]}}var O=c(50703),P=c(49171),Q=c(91287);function R(a,b){var c;return("number"==typeof b?F.A:b instanceof O.Ay?P.Ay:(c=(0,O.Ay)(b))?(b=c,P.Ay):Q.A)(a,b)}var S=c(99317),T=c(75018),U=c(38055),V=g.Ay.prototype.constructor,W=c(37087);function X(a){return function(){this.style.removeProperty(a)}}var Y=0;function Z(a,b,c,d){this._groups=a,this._parents=b,this._name=c,this._id=d}var $=g.Ay.prototype;Z.prototype=(function(a){return(0,g.Ay)().transition(a)}).prototype={constructor:Z,select:function(a){var b=this._name,c=this._id;"function"!=typeof a&&(a=(0,T.A)(a));for(var d=this._groups,e=d.length,f=Array(e),g=0;g<e;++g)for(var h,i,j=d[g],k=j.length,l=f[g]=Array(k),m=0;m<k;++m)(h=j[m])&&(i=a.call(h,h.__data__,m,j))&&("__data__"in h&&(i.__data__=h.__data__),l[m]=i,A(l[m],b,c,m,l,D(h,c)));return new Z(f,this._parents,b,c)},selectAll:function(a){var b=this._name,c=this._id;"function"!=typeof a&&(a=(0,U.A)(a));for(var d=this._groups,e=d.length,f=[],g=[],h=0;h<e;++h)for(var i,j=d[h],k=j.length,l=0;l<k;++l)if(i=j[l]){for(var m,n=a.call(i,i.__data__,l,j),o=D(i,c),p=0,q=n.length;p<q;++p)(m=n[p])&&A(m,b,c,p,n,o);f.push(n),g.push(i)}return new Z(f,g,b,c)},selectChild:$.selectChild,selectChildren:$.selectChildren,filter:function(a){"function"!=typeof a&&(a=(0,S.A)(a));for(var b=this._groups,c=b.length,d=Array(c),e=0;e<c;++e)for(var f,g=b[e],h=g.length,i=d[e]=[],j=0;j<h;++j)(f=g[j])&&a.call(f,f.__data__,j,g)&&i.push(f);return new Z(d,this._parents,this._name,this._id)},merge:function(a){if(a._id!==this._id)throw Error();for(var b=this._groups,c=a._groups,d=b.length,e=c.length,f=Math.min(d,e),g=Array(d),h=0;h<f;++h)for(var i,j=b[h],k=c[h],l=j.length,m=g[h]=Array(l),n=0;n<l;++n)(i=j[n]||k[n])&&(m[n]=i);for(;h<d;++h)g[h]=b[h];return new Z(g,this._parents,this._name,this._id)},selection:function(){return new V(this._groups,this._parents)},transition:function(){for(var a=this._name,b=this._id,c=++Y,d=this._groups,e=d.length,f=0;f<e;++f)for(var g,h=d[f],i=h.length,j=0;j<i;++j)if(g=h[j]){var k=D(g,b);A(g,a,c,j,h,{time:k.time+k.delay+k.duration,delay:0,duration:k.duration,ease:k.ease})}return new Z(d,this._parents,a,c)},call:$.call,nodes:$.nodes,node:$.node,size:$.size,empty:$.empty,each:$.each,on:function(a,b){var c,d,e,f,g,h,i=this._id;return arguments.length<2?D(this.node(),i).on.on(a):this.each((c=i,d=a,e=b,h=(d+"").trim().split(/^|\s+/).every(function(a){var b=a.indexOf(".");return b>=0&&(a=a.slice(0,b)),!a||"start"===a})?B:C,function(){var a=h(this,c),b=a.on;b!==f&&(g=(f=b).copy()).on(d,e),a.on=g}))},attr:function(a,b){var c=(0,M.A)(a),d="transform"===c?L:R;return this.attrTween(a,"function"==typeof b?(c.local?function(a,b,c){var d,e,f;return function(){var g,h,i=c(this);return null==i?void this.removeAttributeNS(a.space,a.local):(g=this.getAttributeNS(a.space,a.local))===(h=i+"")?null:g===d&&h===e?f:(e=h,f=b(d=g,i))}}:function(a,b,c){var d,e,f;return function(){var g,h,i=c(this);return null==i?void this.removeAttribute(a):(g=this.getAttribute(a))===(h=i+"")?null:g===d&&h===e?f:(e=h,f=b(d=g,i))}})(c,d,N(this,"attr."+a,b)):null==b?(c.local?function(a){return function(){this.removeAttributeNS(a.space,a.local)}}:function(a){return function(){this.removeAttribute(a)}})(c):(c.local?function(a,b,c){var d,e,f=c+"";return function(){var g=this.getAttributeNS(a.space,a.local);return g===f?null:g===d?e:e=b(d=g,c)}}:function(a,b,c){var d,e,f=c+"";return function(){var g=this.getAttribute(a);return g===f?null:g===d?e:e=b(d=g,c)}})(c,d,b))},attrTween:function(a,b){var c="attr."+a;if(arguments.length<2)return(c=this.tween(c))&&c._value;if(null==b)return this.tween(c,null);if("function"!=typeof b)throw Error();var d=(0,M.A)(a);return this.tween(c,(d.local?function(a,b){var c,d;function e(){var e=b.apply(this,arguments);return e!==d&&(c=(d=e)&&function(b){this.setAttributeNS(a.space,a.local,e.call(this,b))}),c}return e._value=b,e}:function(a,b){var c,d;function e(){var e=b.apply(this,arguments);return e!==d&&(c=(d=e)&&function(b){this.setAttribute(a,e.call(this,b))}),c}return e._value=b,e})(d,b))},style:function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y="transform"==(a+="")?K:R;return null==b?this.styleTween(a,(d=a,function(){var a=(0,W.j)(this,d),b=(this.style.removeProperty(d),(0,W.j)(this,d));return a===b?null:a===e&&b===f?g:g=y(e=a,f=b)})).on("end.style."+a,X(a)):"function"==typeof b?this.styleTween(a,(h=a,i=N(this,"style."+a,b),function(){var a=(0,W.j)(this,h),b=i(this),c=b+"";return null==b&&(this.style.removeProperty(h),c=b=(0,W.j)(this,h)),a===c?null:a===j&&c===k?l:(k=c,l=y(j=a,b))})).each((m=this._id,t="end."+(s="style."+(n=a)),function(){var a=C(this,m),b=a.on,c=null==a.value[s]?r||(r=X(n)):void 0;(b!==o||q!==c)&&(p=(o=b).copy()).on(t,q=c),a.on=p})):this.styleTween(a,(u=a,x=b+"",function(){var a=(0,W.j)(this,u);return a===x?null:a===v?w:w=y(v=a,b)}),c).on("end.style."+a,null)},styleTween:function(a,b,c){var d="style."+(a+="");if(arguments.length<2)return(d=this.tween(d))&&d._value;if(null==b)return this.tween(d,null);if("function"!=typeof b)throw Error();return this.tween(d,function(a,b,c){var d,e;function f(){var f=b.apply(this,arguments);return f!==e&&(d=(e=f)&&function(b){this.style.setProperty(a,f.call(this,b),c)}),d}return f._value=b,f}(a,b,null==c?"":c))},text:function(a){var b,c;return this.tween("text","function"==typeof a?(b=N(this,"text",a),function(){var a=b(this);this.textContent=null==a?"":a}):(c=null==a?"":a+"",function(){this.textContent=c}))},textTween:function(a){var b="text";if(arguments.length<1)return(b=this.tween(b))&&b._value;if(null==a)return this.tween(b,null);if("function"!=typeof a)throw Error();return this.tween(b,function(a){var b,c;function d(){var d=a.apply(this,arguments);return d!==c&&(b=(c=d)&&function(a){this.textContent=d.call(this,a)}),b}return d._value=a,d}(a))},remove:function(){var a;return this.on("end.remove",(a=this._id,function(){var b=this.parentNode;for(var c in this.__transition)if(+c!==a)return;b&&b.removeChild(this)}))},tween:function(a,b){var c=this._id;if(a+="",arguments.length<2){for(var d,e=D(this.node(),c).tween,f=0,g=e.length;f<g;++f)if((d=e[f]).name===a)return d.value;return null}return this.each((null==b?function(a,b){var c,d;return function(){var e=C(this,a),f=e.tween;if(f!==c){d=c=f;for(var g=0,h=d.length;g<h;++g)if(d[g].name===b){(d=d.slice()).splice(g,1);break}}e.tween=d}}:function(a,b,c){var d,e;if("function"!=typeof c)throw Error();return function(){var f=C(this,a),g=f.tween;if(g!==d){e=(d=g).slice();for(var h={name:b,value:c},i=0,j=e.length;i<j;++i)if(e[i].name===b){e[i]=h;break}i===j&&e.push(h)}f.tween=e}})(c,a,b))},delay:function(a){var b=this._id;return arguments.length?this.each(("function"==typeof a?function(a,b){return function(){B(this,a).delay=+b.apply(this,arguments)}}:function(a,b){return b*=1,function(){B(this,a).delay=b}})(b,a)):D(this.node(),b).delay},duration:function(a){var b=this._id;return arguments.length?this.each(("function"==typeof a?function(a,b){return function(){C(this,a).duration=+b.apply(this,arguments)}}:function(a,b){return b*=1,function(){C(this,a).duration=b}})(b,a)):D(this.node(),b).duration},ease:function(a){var b=this._id;return arguments.length?this.each(function(a,b){if("function"!=typeof b)throw Error();return function(){C(this,a).ease=b}}(b,a)):D(this.node(),b).ease},easeVarying:function(a){var b;if("function"!=typeof a)throw Error();return this.each((b=this._id,function(){var c=a.apply(this,arguments);if("function"!=typeof c)throw Error();C(this,b).ease=c}))},end:function(){var a,b,c=this,d=c._id,e=c.size();return new Promise(function(f,g){var h={value:g},i={value:function(){0==--e&&f()}};c.each(function(){var c=C(this,d),e=c.on;e!==a&&((b=(a=e).copy())._.cancel.push(h),b._.interrupt.push(h),b._.end.push(i)),c.on=b}),0===e&&f()})},[Symbol.iterator]:$[Symbol.iterator]};var _={time:null,delay:0,duration:250,ease:function(a){return((a*=2)<=1?a*a*a:(a-=2)*a*a+2)/2}};g.Ay.prototype.interrupt=function(a){return this.each(function(){E(this,a)})},g.Ay.prototype.transition=function(a){var b,c;a instanceof Z?(b=a._id,a=a._name):(b=++Y,(c=_).time=q(),a=null==a?null:a+"");for(var d=this._groups,e=d.length,f=0;f<e;++f)for(var g,h=d[f],i=h.length,j=0;j<i;++j)(g=h[j])&&A(g,a,b,j,h,c||function(a,b){for(var c;!(c=a.__transition)||!(c=c[b]);)if(!(a=a.parentNode))throw Error(`transition ${b} not found`);return c}(g,b));return new Z(d,this._parents,a,b)}},49060:(a,b,c)=>{"use strict";c.d(b,{xQ:()=>f});var d=c(21968),e=c(25367);function f(a=!0){let b=(0,d.useContext)(e.t);if(null===b)return[!0,null];let{isPresent:c,onExitComplete:g,register:h}=b,i=(0,d.useId)(),j=(0,d.useCallback)(()=>a&&g&&g(i),[i,g,a]);return!c&&g?[!1,j]:[!0]}},49171:(a,b,c)=>{"use strict";c.d(b,{Ay:()=>g});var d=c(50703);function e(a,b,c,d,e){var f=a*a,g=f*a;return((1-3*a+3*f-g)*b+(4-6*f+3*g)*c+(1+3*a+3*f-3*g)*d+g*e)/6}var f=c(30391);let g=function a(b){var c=(0,f.uN)(b);function e(a,b){var e=c((a=(0,d.Qh)(a)).r,(b=(0,d.Qh)(b)).r),g=c(a.g,b.g),h=c(a.b,b.b),i=(0,f.Ay)(a.opacity,b.opacity);return function(b){return a.r=e(b),a.g=g(b),a.b=h(b),a.opacity=i(b),a+""}}return e.gamma=a,e}(1);function h(a){return function(b){var c,e,f=b.length,g=Array(f),h=Array(f),i=Array(f);for(c=0;c<f;++c)e=(0,d.Qh)(b[c]),g[c]=e.r||0,h[c]=e.g||0,i[c]=e.b||0;return g=a(g),h=a(h),i=a(i),e.opacity=1,function(a){return e.r=g(a),e.g=h(a),e.b=i(a),e+""}}}h(function(a){var b=a.length-1;return function(c){var d=c<=0?c=0:c>=1?(c=1,b-1):Math.floor(c*b),f=a[d],g=a[d+1],h=d>0?a[d-1]:2*f-g,i=d<b-1?a[d+2]:2*g-f;return e((c-d/b)*b,h,f,g,i)}}),h(function(a){var b=a.length;return function(c){var d=Math.floor(((c%=1)<0?++c:c)*b),f=a[(d+b-1)%b],g=a[d%b],h=a[(d+1)%b],i=a[(d+2)%b];return e((c-d/b)*b,f,g,h,i)}})},49187:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{MutableRequestCookiesAdapter:function(){return l},ReadonlyRequestCookiesError:function(){return g},RequestCookiesAdapter:function(){return h},appendMutableCookies:function(){return k},areCookiesMutableInCurrentPhase:function(){return n},createCookiesWithMutableAccessCheck:function(){return m},getModifiedCookieValues:function(){return j},responseCookiesToRequestCookies:function(){return p}});let d=c(43313),e=c(56898),f=c(29294);class g extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new g}}class h{static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"clear":case"delete":case"set":return g.callable;default:return e.ReflectAdapter.get(a,b,c)}}})}}let i=Symbol.for("next.mutated.cookies");function j(a){let b=a[i];return b&&Array.isArray(b)&&0!==b.length?b:[]}function k(a,b){let c=j(b);if(0===c.length)return!1;let e=new d.ResponseCookies(a),f=e.getAll();for(let a of c)e.set(a);for(let a of f)e.set(a);return!0}class l{static wrap(a,b){let c=new d.ResponseCookies(new Headers);for(let b of a.getAll())c.set(b);let g=[],h=new Set,j=()=>{let a=f.workAsyncStorage.getStore();if(a&&(a.pathWasRevalidated=!0),g=c.getAll().filter(a=>h.has(a.name)),b){let a=[];for(let b of g){let c=new d.ResponseCookies(new Headers);c.set(b),a.push(c.toString())}b(a)}},k=new Proxy(c,{get(a,b,c){switch(b){case i:return g;case"delete":return function(...b){h.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.delete(...b),k}finally{j()}};case"set":return function(...b){h.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.set(...b),k}finally{j()}};default:return e.ReflectAdapter.get(a,b,c)}}});return k}}function m(a){let b=new Proxy(a.mutableCookies,{get(c,d,f){switch(d){case"delete":return function(...d){return o(a,"cookies().delete"),c.delete(...d),b};case"set":return function(...d){return o(a,"cookies().set"),c.set(...d),b};default:return e.ReflectAdapter.get(c,d,f)}}});return b}function n(a){return"action"===a.phase}function o(a,b){if(!n(a))throw new g}function p(a){let b=new d.RequestCookies(new Headers);for(let c of a.getAll())b.set(c);return b}},50266:(a,b,c)=>{"use strict";function d(a,b,c,d){let e,f=a.length,g=0;if(b=b<0?-b>f?0:f+b:b>f?f:b,c=c>0?c:0,d.length<1e4)(e=Array.from(d)).unshift(b,c),a.splice(...e);else for(c&&a.splice(b,c);g<d.length;)(e=d.slice(g,g+1e4)).unshift(b,0),a.splice(...e),g+=1e4,b+=1e4}function e(a,b){return a.length>0?(d(a,a.length,0,b),a):b}c.d(b,{V:()=>e,m:()=>d})},50650:(a,b,c)=>{"use strict";var d=c(28354),e=c(44928),f={stream:!0},g=Object.prototype.hasOwnProperty,h=new Map;function i(a){var b=globalThis.__next_require__(a);return"function"!=typeof b.then||"fulfilled"===b.status?null:(b.then(function(a){b.status="fulfilled",b.value=a},function(a){b.status="rejected",b.reason=a}),b)}function j(){}function k(a){for(var b=a[1],d=[],e=0;e<b.length;){var f=b[e++];b[e++];var g=h.get(f);if(void 0===g){g=c.e(f),d.push(g);var k=h.set.bind(h,f,null);g.then(k,j),h.set(f,g)}else null!==g&&d.push(g)}return 4===a.length?0===d.length?i(a[0]):Promise.all(d).then(function(){return i(a[0])}):0<d.length?Promise.all(d):null}function l(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"==typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:g.call(b,a[2])?b[a[2]]:void 0}var m=e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,n=Symbol.for("react.transitional.element"),o=Symbol.for("react.lazy"),p=Symbol.iterator,q=Symbol.asyncIterator,r=Array.isArray,s=Object.getPrototypeOf,t=Object.prototype,u=new WeakMap;function v(a,b,c,d,e){function f(a,c){c=new Blob([new Uint8Array(c.buffer,c.byteOffset,c.byteLength)]);var d=i++;return null===k&&(k=new FormData),k.append(b+d,c),"$"+a+d.toString(16)}function g(a,v){if(null===v)return null;if("object"==typeof v){switch(v.$$typeof){case n:if(void 0!==c&&-1===a.indexOf(":")){var w,x,y,z,A,B=l.get(this);if(void 0!==B)return c.set(B+":"+a,v),"$T"}throw Error("React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options.");case o:B=v._payload;var C=v._init;null===k&&(k=new FormData),j++;try{var D=C(B),E=i++,F=h(D,E);return k.append(b+E,F),"$"+E.toString(16)}catch(a){if("object"==typeof a&&null!==a&&"function"==typeof a.then){j++;var G=i++;return B=function(){try{var a=h(v,G),c=k;c.append(b+G,a),j--,0===j&&d(c)}catch(a){e(a)}},a.then(B,B),"$"+G.toString(16)}return e(a),null}finally{j--}}if(B=l.get(v),"function"==typeof v.then){if(void 0!==B)if(m!==v)return B;else m=null;null===k&&(k=new FormData),j++;var H=i++;return a="$@"+H.toString(16),l.set(v,a),v.then(function(a){try{var c=l.get(a),f=void 0!==c?JSON.stringify(c):h(a,H);(a=k).append(b+H,f),j--,0===j&&d(a)}catch(a){e(a)}},e),a}if(void 0!==B)if(m!==v)return B;else m=null;else -1===a.indexOf(":")&&void 0!==(B=l.get(this))&&(a=B+":"+a,l.set(v,a),void 0!==c&&c.set(a,v));if(r(v))return v;if(v instanceof FormData){null===k&&(k=new FormData);var I=k,J=b+(a=i++)+"_";return v.forEach(function(a,b){I.append(J+b,a)}),"$K"+a.toString(16)}if(v instanceof Map)return a=i++,B=h(Array.from(v),a),null===k&&(k=new FormData),k.append(b+a,B),"$Q"+a.toString(16);if(v instanceof Set)return a=i++,B=h(Array.from(v),a),null===k&&(k=new FormData),k.append(b+a,B),"$W"+a.toString(16);if(v instanceof ArrayBuffer)return a=new Blob([v]),B=i++,null===k&&(k=new FormData),k.append(b+B,a),"$A"+B.toString(16);if(v instanceof Int8Array)return f("O",v);if(v instanceof Uint8Array)return f("o",v);if(v instanceof Uint8ClampedArray)return f("U",v);if(v instanceof Int16Array)return f("S",v);if(v instanceof Uint16Array)return f("s",v);if(v instanceof Int32Array)return f("L",v);if(v instanceof Uint32Array)return f("l",v);if(v instanceof Float32Array)return f("G",v);if(v instanceof Float64Array)return f("g",v);if(v instanceof BigInt64Array)return f("M",v);if(v instanceof BigUint64Array)return f("m",v);if(v instanceof DataView)return f("V",v);if("function"==typeof Blob&&v instanceof Blob)return null===k&&(k=new FormData),a=i++,k.append(b+a,v),"$B"+a.toString(16);if(a=null===(w=v)||"object"!=typeof w?null:"function"==typeof(w=p&&w[p]||w["@@iterator"])?w:null)return(B=a.call(v))===v?(a=i++,B=h(Array.from(B),a),null===k&&(k=new FormData),k.append(b+a,B),"$i"+a.toString(16)):Array.from(B);if("function"==typeof ReadableStream&&v instanceof ReadableStream)return function(a){try{var c,f,h,l,m,n,o,p=a.getReader({mode:"byob"})}catch(l){return c=a.getReader(),null===k&&(k=new FormData),f=k,j++,h=i++,c.read().then(function a(i){if(i.done)f.append(b+h,"C"),0==--j&&d(f);else try{var k=JSON.stringify(i.value,g);f.append(b+h,k),c.read().then(a,e)}catch(a){e(a)}},e),"$R"+h.toString(16)}return l=p,null===k&&(k=new FormData),m=k,j++,n=i++,o=[],l.read(new Uint8Array(1024)).then(function a(c){c.done?(c=i++,m.append(b+c,new Blob(o)),m.append(b+n,'"$o'+c.toString(16)+'"'),m.append(b+n,"C"),0==--j&&d(m)):(o.push(c.value),l.read(new Uint8Array(1024)).then(a,e))},e),"$r"+n.toString(16)}(v);if("function"==typeof(a=v[q]))return x=v,y=a.call(v),null===k&&(k=new FormData),z=k,j++,A=i++,x=x===y,y.next().then(function a(c){if(c.done){if(void 0===c.value)z.append(b+A,"C");else try{var f=JSON.stringify(c.value,g);z.append(b+A,"C"+f)}catch(a){e(a);return}0==--j&&d(z)}else try{var h=JSON.stringify(c.value,g);z.append(b+A,h),y.next().then(a,e)}catch(a){e(a)}},e),"$"+(x?"x":"X")+A.toString(16);if((a=s(v))!==t&&(null===a||null!==s(a))){if(void 0===c)throw Error("Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported.");return"$T"}return v}if("string"==typeof v)return"Z"===v[v.length-1]&&this[a]instanceof Date?"$D"+v:a="$"===v[0]?"$"+v:v;if("boolean"==typeof v)return v;if("number"==typeof v)return Number.isFinite(v)?0===v&&-1/0==1/v?"$-0":v:1/0===v?"$Infinity":-1/0===v?"$-Infinity":"$NaN";if(void 0===v)return"$undefined";if("function"==typeof v){if(void 0!==(B=u.get(v)))return void 0!==(a=l.get(v))||(a=JSON.stringify({id:B.id,bound:B.bound},g),null===k&&(k=new FormData),B=i++,k.set(b+B,a),a="$h"+B.toString(16),l.set(v,a)),a;if(void 0!==c&&-1===a.indexOf(":")&&void 0!==(B=l.get(this)))return c.set(B+":"+a,v),"$T";throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.")}if("symbol"==typeof v){if(void 0!==c&&-1===a.indexOf(":")&&void 0!==(B=l.get(this)))return c.set(B+":"+a,v),"$T";throw Error("Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options.")}if("bigint"==typeof v)return"$n"+v.toString(10);throw Error("Type "+typeof v+" is not supported as an argument to a Server Function.")}function h(a,b){return"object"==typeof a&&null!==a&&(b="$"+b.toString(16),l.set(a,b),void 0!==c&&c.set(b,a)),m=a,JSON.stringify(a,g)}var i=1,j=0,k=null,l=new WeakMap,m=a,v=h(a,0);return null===k?d(v):(k.set(b+"0",v),0===j&&d(k)),function(){0<j&&(j=0,null===k?d(v):d(k))}}var w=new WeakMap;function x(a){var b=u.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){if((c=w.get(b))||(d={id:b.id,bound:b.bound},g=new Promise(function(a,b){e=a,f=b}),v(d,"",void 0,function(a){if("string"==typeof a){var b=new FormData;b.append("0",a),a=b}g.status="fulfilled",g.value=a,e(a)},function(a){g.status="rejected",g.reason=a,f(a)}),c=g,w.set(b,c)),"rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d,e,f,g,h=new FormData;b.forEach(function(b,c){h.append("$ACTION_"+a+":"+c,b)}),c=h,b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}function y(a,b){var c=u.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case"fulfilled":return d.value.length===b;case"pending":throw d;case"rejected":throw d.reason;default:throw"string"!=typeof d.status&&(d.status="pending",d.then(function(a){d.status="fulfilled",d.value=a},function(a){d.status="rejected",d.reason=a})),d}}function z(a,b,c,d){u.has(a)||(u.set(a,{id:b,originalBind:a.bind,bound:c}),Object.defineProperties(a,{$$FORM_ACTION:{value:void 0===d?x:function(){var a=u.get(this);if(!a)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var b=a.bound;return null===b&&(b=Promise.resolve([])),d(a.id,b)}},$$IS_SIGNATURE_EQUAL:{value:y},bind:{value:C}}))}var A=Function.prototype.bind,B=Array.prototype.slice;function C(){var a=u.get(this);if(!a)return A.apply(this,arguments);var b=a.originalBind.apply(this,arguments),c=B.call(arguments,1),d=null;return d=null!==a.bound?Promise.resolve(a.bound).then(function(a){return a.concat(c)}):Promise.resolve(c),u.set(b,{id:a.id,originalBind:b.bind,bound:d}),Object.defineProperties(b,{$$FORM_ACTION:{value:this.$$FORM_ACTION},$$IS_SIGNATURE_EQUAL:{value:y},bind:{value:C}}),b}function D(a,b,c){this.status=a,this.value=b,this.reason=c}function E(a){switch(a.status){case"resolved_model":P(a);break;case"resolved_module":Q(a)}switch(a.status){case"fulfilled":return a.value;case"pending":case"blocked":case"halted":throw a;default:throw a.reason}}function F(a,b){for(var c=0;c<a.length;c++){var d=a[c];"function"==typeof d?d(b):U(d,b)}}function G(a,b){for(var c=0;c<a.length;c++){var d=a[c];"function"==typeof d?d(b):V(d,b)}}function H(a,b){var c=b.handler.chunk;if(null===c)return null;if(c===a)return b.handler;if(null!==(b=c.value))for(c=0;c<b.length;c++){var d=b[c];if("function"!=typeof d&&null!==(d=H(a,d)))return d}return null}function I(a,b,c){switch(a.status){case"fulfilled":F(b,a.value);break;case"blocked":for(var d=0;d<b.length;d++){var e=b[d];if("function"!=typeof e){var f=H(a,e);if(null!==f)switch(U(e,f.value),b.splice(d,1),d--,null!==c&&-1!==(e=c.indexOf(e))&&c.splice(e,1),a.status){case"fulfilled":F(b,a.value);return;case"rejected":null!==c&&G(c,a.reason);return}}}case"pending":if(a.value)for(d=0;d<b.length;d++)a.value.push(b[d]);else a.value=b;if(a.reason){if(c)for(b=0;b<c.length;b++)a.reason.push(c[b])}else a.reason=c;break;case"rejected":c&&G(c,a.reason)}}function J(a,b,c){"pending"!==b.status&&"blocked"!==b.status?b.reason.error(c):(a=b.reason,b.status="rejected",b.reason=c,null!==a&&G(a,c))}function K(a,b,c){return new D("resolved_model",(c?'{"done":true,"value":':'{"done":false,"value":')+b+"}",a)}function L(a,b,c,d){M(a,b,(d?'{"done":true,"value":':'{"done":false,"value":')+c+"}")}function M(a,b,c){if("pending"!==b.status)b.reason.enqueueModel(c);else{var d=b.value,e=b.reason;b.status="resolved_model",b.value=c,b.reason=a,null!==d&&(P(b),I(b,d,e))}}function N(a,b,c){if("pending"===b.status||"blocked"===b.status){a=b.value;var d=b.reason;b.status="resolved_module",b.value=c,b.reason=null,null!==a&&(Q(b),I(b,a,d))}}D.prototype=Object.create(Promise.prototype),D.prototype.then=function(a,b){switch(this.status){case"resolved_model":P(this);break;case"resolved_module":Q(this)}switch(this.status){case"fulfilled":"function"==typeof a&&a(this.value);break;case"pending":case"blocked":"function"==typeof a&&(null===this.value&&(this.value=[]),this.value.push(a)),"function"==typeof b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;case"halted":break;default:"function"==typeof b&&b(this.reason)}};var O=null;function P(a){var b=O;O=null;var c=a.value,d=a.reason;a.status="blocked",a.value=null,a.reason=null;try{var e=JSON.parse(c,d._fromJSON),f=a.value;if(null!==f&&(a.value=null,a.reason=null,F(f,e)),null!==O){if(O.errored)throw O.reason;if(0<O.deps){O.value=e,O.reason=null,O.chunk=a;return}}a.status="fulfilled",a.value=e,a.reason=null}catch(b){a.status="rejected",a.reason=b}finally{O=b}}function Q(a){try{var b=l(a.value);a.status="fulfilled",a.value=b,a.reason=null}catch(b){a.status="rejected",a.reason=b}}function R(a,b){a._closed=!0,a._closedReason=b,a._chunks.forEach(function(c){"pending"===c.status?J(a,c,b):"fulfilled"===c.status&&null!==c.reason&&c.reason.error(b)})}function S(a){return{$$typeof:o,_payload:a,_init:E}}function T(a,b){var c=a._chunks,d=c.get(b);return d||(d=a._closed?new D("rejected",null,a._closedReason):new D("pending",null,null),c.set(b,d)),d}function U(a,b){var c=a.response,d=a.handler,e=a.parentObject,f=a.key,h=a.map,i=a.path;try{for(var j=1;j<i.length;j++){for(;b.$$typeof===o;){var k=b._payload;if(k===d.chunk)b=d.value;else{switch(k.status){case"resolved_model":P(k);break;case"resolved_module":Q(k)}switch(k.status){case"fulfilled":b=k.value;continue;case"blocked":var l=H(k,a);if(null!==l){b=l.value;continue}case"pending":i.splice(0,j-1),null===k.value?k.value=[a]:k.value.push(a),null===k.reason?k.reason=[a]:k.reason.push(a);return;case"halted":return;default:V(a,k.reason);return}}}var m=i[j];if("object"==typeof b&&null!==b&&g.call(b,m))b=b[m];else throw Error("Invalid reference.")}var p=h(c,b,e,f);if("__proto__"!==f&&(e[f]=p),""===f&&null===d.value&&(d.value=p),e[0]===n&&"object"==typeof d.value&&null!==d.value&&d.value.$$typeof===n){var q=d.value;"3"===f&&(q.props=p)}}catch(b){V(a,b);return}d.deps--,0===d.deps&&null!==(a=d.chunk)&&"blocked"===a.status&&(b=a.value,a.status="fulfilled",a.value=d.value,a.reason=d.reason,null!==b&&F(b,d.value))}function V(a,b){var c=a.handler;a=a.response,c.errored||(c.errored=!0,c.value=null,c.reason=b,null!==(c=c.chunk)&&"blocked"===c.status&&J(a,c,b))}function W(a,b,c,d,e,f){if(O){var g=O;g.deps++}else g=O={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1};return b={response:d,handler:g,parentObject:b,key:c,map:e,path:f},null===a.value?a.value=[b]:a.value.push(b),null===a.reason?a.reason=[b]:a.reason.push(b),null}function X(a,b,c,d){if(!a._serverReferenceConfig)return function(a,b,c){function d(){var a=Array.prototype.slice.call(arguments);return f?"fulfilled"===f.status?b(e,f.value.concat(a)):Promise.resolve(f).then(function(c){return b(e,c.concat(a))}):b(e,a)}var e=a.id,f=a.bound;return z(d,e,f,c),d}(b,a._callServer,a._encodeFormAction);var e=function(a,b){var c="",d=a[b];if(d)c=d.name;else{var e=b.lastIndexOf("#");if(-1!==e&&(c=b.slice(e+1),d=a[b.slice(0,e)]),!d)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.')}return d.async?[d.id,d.chunks,c,1]:[d.id,d.chunks,c]}(a._serverReferenceConfig,b.id),f=k(e);if(f)b.bound&&(f=Promise.all([f,b.bound]));else{if(!b.bound)return z(f=l(e),b.id,b.bound,a._encodeFormAction),f;f=Promise.resolve(b.bound)}if(O){var g=O;g.deps++}else g=O={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1};return f.then(function(){var f=l(e);if(b.bound){var h=b.bound.value.slice(0);h.unshift(null),f=f.bind.apply(f,h)}z(f,b.id,b.bound,a._encodeFormAction),"__proto__"!==d&&(c[d]=f),""===d&&null===g.value&&(g.value=f),c[0]===n&&"object"==typeof g.value&&null!==g.value&&g.value.$$typeof===n&&(h=g.value,"3"===d)&&(h.props=f),g.deps--,0===g.deps&&null!==(f=g.chunk)&&"blocked"===f.status&&(h=f.value,f.status="fulfilled",f.value=g.value,f.reason=null,null!==h&&F(h,g.value))},function(b){if(!g.errored){g.errored=!0,g.value=null,g.reason=b;var c=g.chunk;null!==c&&"blocked"===c.status&&J(a,c,b)}}),null}function Y(a,b,c,d,e){var f=parseInt((b=b.split(":"))[0],16);switch((f=T(a,f)).status){case"resolved_model":P(f);break;case"resolved_module":Q(f)}switch(f.status){case"fulfilled":var g=f.value;for(f=1;f<b.length;f++){for(;g.$$typeof===o;){switch((g=g._payload).status){case"resolved_model":P(g);break;case"resolved_module":Q(g)}switch(g.status){case"fulfilled":g=g.value;break;case"blocked":case"pending":return W(g,c,d,a,e,b.slice(f-1));case"halted":return O?(a=O,a.deps++):O={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},null;default:return O?(O.errored=!0,O.value=null,O.reason=g.reason):O={parent:null,chunk:null,value:null,reason:g.reason,deps:0,errored:!0},null}}g=g[b[f]]}return e(a,g,c,d);case"pending":case"blocked":return W(f,c,d,a,e,b);case"halted":return O?(a=O,a.deps++):O={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},null;default:return O?(O.errored=!0,O.value=null,O.reason=f.reason):O={parent:null,chunk:null,value:null,reason:f.reason,deps:0,errored:!0},null}}function Z(a,b){return new Map(b)}function $(a,b){return new Set(b)}function _(a,b){return new Blob(b.slice(1),{type:b[0]})}function aa(a,b){a=new FormData;for(var c=0;c<b.length;c++)a.append(b[c][0],b[c][1]);return a}function ab(a,b){return b[Symbol.iterator]()}function ac(a,b){return b}function ad(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.')}function ae(a,b,c,e,f,g,h){var i,j=new Map;this._bundlerConfig=a,this._serverReferenceConfig=b,this._moduleLoading=c,this._callServer=void 0!==e?e:ad,this._encodeFormAction=f,this._nonce=g,this._chunks=j,this._stringDecoder=new d.TextDecoder,this._fromJSON=null,this._closed=!1,this._closedReason=null,this._tempRefs=h,this._fromJSON=(i=this,function(a,b){if("__proto__"!==a){if("string"==typeof b){var c=i,d=this,e=a,f=b;if("$"===f[0]){if("$"===f)return null!==O&&"0"===e&&(O={parent:O,chunk:null,value:null,reason:null,deps:0,errored:!1}),n;switch(f[1]){case"$":return f.slice(1);case"L":return S(c=T(c,d=parseInt(f.slice(2),16)));case"@":return T(c,d=parseInt(f.slice(2),16));case"S":return Symbol.for(f.slice(2));case"h":return Y(c,f=f.slice(2),d,e,X);case"T":if(d="$"+f.slice(2),null==(c=c._tempRefs))throw Error("Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.");return c.get(d);case"Q":return Y(c,f=f.slice(2),d,e,Z);case"W":return Y(c,f=f.slice(2),d,e,$);case"B":return Y(c,f=f.slice(2),d,e,_);case"K":return Y(c,f=f.slice(2),d,e,aa);case"Z":return al();case"i":return Y(c,f=f.slice(2),d,e,ab);case"I":return 1/0;case"-":return"$-0"===f?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(f.slice(2)));case"n":return BigInt(f.slice(2));default:return Y(c,f=f.slice(1),d,e,ac)}}return f}if("object"==typeof b&&null!==b){if(b[0]===n){if(a={$$typeof:n,type:b[1],key:b[2],ref:null,props:b[3]},null!==O){if(O=(b=O).parent,b.errored)a=S(a=new D("rejected",null,b.reason));else if(0<b.deps){var g=new D("blocked",null,null);b.value=a,b.chunk=g,a=S(g)}}}else a=b;return a}return b}})}function af(){return{_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]}}function ag(a,b,c){var d=(a=a._chunks).get(b);d&&"pending"!==d.status?d.reason.enqueueValue(c):a.set(b,new D("fulfilled",c,null))}function ah(a,b,c,d){var e=a._chunks;(a=e.get(b))?"pending"===a.status&&(b=a.value,a.status="fulfilled",a.value=c,a.reason=d,null!==b&&F(b,a.value)):e.set(b,new D("fulfilled",c,d))}function ai(a,b,c){var d=null,e=!1;c=new ReadableStream({type:c,start:function(a){d=a}});var f=null;ah(a,b,c,{enqueueValue:function(a){null===f?d.enqueue(a):f.then(function(){d.enqueue(a)})},enqueueModel:function(b){if(null===f){var c=new D("resolved_model",b,a);P(c),"fulfilled"===c.status?d.enqueue(c.value):(c.then(function(a){return d.enqueue(a)},function(a){return d.error(a)}),f=c)}else{c=f;var e=new D("pending",null,null);e.then(function(a){return d.enqueue(a)},function(a){return d.error(a)}),f=e,c.then(function(){f===e&&(f=null),M(a,e,b)})}},close:function(){if(!e)if(e=!0,null===f)d.close();else{var a=f;f=null,a.then(function(){return d.close()})}},error:function(a){if(!e)if(e=!0,null===f)d.error(a);else{var b=f;f=null,b.then(function(){return d.error(a)})}}})}function aj(){return this}function ak(a,b,c){var d=[],e=!1,f=0,g={};g[q]=function(){var a,b=0;return(a={next:a=function(a){if(void 0!==a)throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components.");if(b===d.length){if(e)return new D("fulfilled",{done:!0,value:void 0},null);d[b]=new D("pending",null,null)}return d[b++]}})[q]=aj,a},ah(a,b,c?g[q]():g,{enqueueValue:function(a){if(f===d.length)d[f]=new D("fulfilled",{done:!1,value:a},null);else{var b=d[f],c=b.value,e=b.reason;b.status="fulfilled",b.value={done:!1,value:a},b.reason=null,null!==c&&I(b,c,e)}f++},enqueueModel:function(b){f===d.length?d[f]=K(a,b,!1):L(a,d[f],b,!1),f++},close:function(b){if(!e)for(e=!0,f===d.length?d[f]=K(a,b,!0):L(a,d[f],b,!0),f++;f<d.length;)L(a,d[f++],'"$undefined"',!0)},error:function(b){if(!e)for(e=!0,f===d.length&&(d[f]=new D("pending",null,null));f<d.length;)J(a,d[f++],b)}})}function al(){var a=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");return a.stack="Error: "+a.message,a}function am(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var f=e=0;f<c;f++){var g=a[f];d.set(g,e),e+=g.byteLength}return d.set(b,e),d}function an(a,b,c,d,e,f){ag(a,b,e=new e((c=0===c.length&&0==d.byteOffset%f?d:am(c,d)).buffer,c.byteOffset,c.byteLength/f))}function ao(a,b,c,d){switch(c){case 73:var e=a,f=b,g=d,h=e._chunks,i=h.get(f);g=JSON.parse(g,e._fromJSON);var j=function(a,b){if(a){var c=a[b[0]];if(a=c&&c[b[2]])c=a.name;else{if(!(a=c&&c["*"]))throw Error('Could not find the module "'+b[0]+'" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}(e._bundlerConfig,g);if(!function(a,b,c){if(null!==a)for(var d=1;d<b.length;d+=2){var e=m.d,f=e.X,g=a.prefix+b[d],h=a.crossOrigin;h="string"==typeof h?"use-credentials"===h?h:"":void 0,f.call(e,g,{crossOrigin:h,nonce:c})}}(e._moduleLoading,g[1],e._nonce),g=k(j)){if(i){var l=i;l.status="blocked"}else l=new D("blocked",null,null),h.set(f,l);g.then(function(){return N(e,l,j)},function(a){return J(e,l,a)})}else i?N(e,i,j):h.set(f,new D("resolved_module",j,null));break;case 72:switch(b=d[0],a=JSON.parse(d=d.slice(1),a._fromJSON),d=m.d,b){case"D":d.D(a);break;case"C":"string"==typeof a?d.C(a):d.C(a[0],a[1]);break;case"L":b=a[0],c=a[1],3===a.length?d.L(b,c,a[2]):d.L(b,c);break;case"m":"string"==typeof a?d.m(a):d.m(a[0],a[1]);break;case"X":"string"==typeof a?d.X(a):d.X(a[0],a[1]);break;case"S":"string"==typeof a?d.S(a):d.S(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case"M":"string"==typeof a?d.M(a):d.M(a[0],a[1])}break;case 69:var n=(c=a._chunks).get(b);d=JSON.parse(d);var o=al();o.digest=d.digest,n?J(a,n,o):c.set(b,new D("rejected",null,o));break;case 84:(c=(a=a._chunks).get(b))&&"pending"!==c.status?c.reason.enqueueValue(d):a.set(b,new D("fulfilled",d,null));break;case 78:case 68:case 74:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 82:ai(a,b,void 0);break;case 114:ai(a,b,"bytes");break;case 88:ak(a,b,!1);break;case 120:ak(a,b,!0);break;case 67:(a=a._chunks.get(b))&&"fulfilled"===a.status&&a.reason.close(""===d?'"$undefined"':d);break;default:(n=(c=a._chunks).get(b))?M(a,n,d):c.set(b,new D("resolved_model",d,a))}}function ap(a,b,c){for(var d=0,e=b._rowState,g=b._rowID,h=b._rowTag,i=b._rowLength,j=b._buffer,k=c.length;d<k;){var l=-1;switch(e){case 0:58===(l=c[d++])?e=1:g=g<<4|(96<l?l-87:l-48);continue;case 1:84===(e=c[d])||65===e||79===e||111===e||85===e||83===e||115===e||76===e||108===e||71===e||103===e||77===e||109===e||86===e?(h=e,e=2,d++):64<e&&91>e||35===e||114===e||120===e?(h=e,e=3,d++):(h=0,e=3);continue;case 2:44===(l=c[d++])?e=4:i=i<<4|(96<l?l-87:l-48);continue;case 3:l=c.indexOf(10,d);break;case 4:(l=d+i)>c.length&&(l=-1)}var m=c.byteOffset+d;if(-1<l)(function(a,b,c,d,e){switch(c){case 65:ag(a,b,am(d,e).buffer);return;case 79:an(a,b,d,e,Int8Array,1);return;case 111:ag(a,b,0===d.length?e:am(d,e));return;case 85:an(a,b,d,e,Uint8ClampedArray,1);return;case 83:an(a,b,d,e,Int16Array,2);return;case 115:an(a,b,d,e,Uint16Array,2);return;case 76:an(a,b,d,e,Int32Array,4);return;case 108:an(a,b,d,e,Uint32Array,4);return;case 71:an(a,b,d,e,Float32Array,4);return;case 103:an(a,b,d,e,Float64Array,8);return;case 77:an(a,b,d,e,BigInt64Array,8);return;case 109:an(a,b,d,e,BigUint64Array,8);return;case 86:an(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,h="",i=0;i<d.length;i++)h+=g.decode(d[i],f);ao(a,b,c,h+=g.decode(e))})(a,g,h,j,i=new Uint8Array(c.buffer,m,l-d)),d=l,3===e&&d++,i=g=h=e=0,j.length=0;else{a=new Uint8Array(c.buffer,m,c.byteLength-d),j.push(a),i-=a.byteLength;break}}b._rowState=e,b._rowID=g,b._rowTag=h,b._rowLength=i}function aq(a){R(a,Error("Connection closed."))}function ar(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.")}function as(a){return new ae(a.serverConsumerManifest.moduleMap,a.serverConsumerManifest.serverModuleMap,a.serverConsumerManifest.moduleLoading,ar,a.encodeFormAction,"string"==typeof a.nonce?a.nonce:void 0,a&&a.temporaryReferences?a.temporaryReferences:void 0)}function at(a,b){function c(b){R(a,b)}var d=af(),e=b.getReader();e.read().then(function b(f){var g=f.value;if(!f.done)return ap(a,d,g),e.read().then(b).catch(c);aq(a)}).catch(c)}function au(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.")}b.createFromFetch=function(a,b){var c=as(b);return a.then(function(a){at(c,a.body)},function(a){R(c,a)}),T(c,0)},b.createFromNodeStream=function(a,b,c){var d=new ae(b.moduleMap,b.serverModuleMap,b.moduleLoading,au,c?c.encodeFormAction:void 0,c&&"string"==typeof c.nonce?c.nonce:void 0,void 0),e=af();return a.on("data",function(a){if("string"==typeof a){for(var b=0,c=e._rowState,f=e._rowID,g=e._rowTag,h=e._rowLength,i=e._buffer,j=a.length;b<j;){var k=-1;switch(c){case 0:58===(k=a.charCodeAt(b++))?c=1:f=f<<4|(96<k?k-87:k-48);continue;case 1:84===(c=a.charCodeAt(b))||65===c||79===c||111===c||85===c||83===c||115===c||76===c||108===c||71===c||103===c||77===c||109===c||86===c?(g=c,c=2,b++):64<c&&91>c||114===c||120===c?(g=c,c=3,b++):(g=0,c=3);continue;case 2:44===(k=a.charCodeAt(b++))?c=4:h=h<<4|(96<k?k-87:k-48);continue;case 3:k=a.indexOf("\n",b);break;case 4:if(84!==g)throw Error("Binary RSC chunks cannot be encoded as strings. This is a bug in the wiring of the React streams.");if(h<a.length||a.length>3*h)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.");k=a.length}if(-1<k){if(0<i.length)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.");ao(d,f,g,b=a.slice(b,k)),b=k,3===c&&b++,h=f=g=c=0,i.length=0}else if(a.length!==b)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.")}e._rowState=c,e._rowID=f,e._rowTag=g,e._rowLength=h}else ap(d,e,a)}),a.on("error",function(a){R(d,a)}),a.on("end",function(){return aq(d)}),T(d,0)},b.createFromReadableStream=function(a,b){return at(b=as(b),a),T(b,0)},b.createServerReference=function(a){function b(){var b=Array.prototype.slice.call(arguments);return ar(a,b)}return z(b,a,null,void 0),b},b.createTemporaryReferenceSet=function(){return new Map},b.encodeReply=function(a,b){return new Promise(function(c,d){var e=v(a,"",b&&b.temporaryReferences?b.temporaryReferences:void 0,c,d);if(b&&b.signal){var f=b.signal;if(f.aborted)e(f.reason);else{var g=function(){e(f.reason),f.removeEventListener("abort",g)};f.addEventListener("abort",g)}}})},b.registerServerReference=function(a,b,c){return z(a,b,null,c),a}},50691:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{HeadersAdapter:function(){return f},ReadonlyHeadersError:function(){return e}});let d=c(56898);class e extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new e}}class f extends Headers{constructor(a){super(),this.headers=new Proxy(a,{get(b,c,e){if("symbol"==typeof c)return d.ReflectAdapter.get(b,c,e);let f=c.toLowerCase(),g=Object.keys(a).find(a=>a.toLowerCase()===f);if(void 0!==g)return d.ReflectAdapter.get(b,g,e)},set(b,c,e,f){if("symbol"==typeof c)return d.ReflectAdapter.set(b,c,e,f);let g=c.toLowerCase(),h=Object.keys(a).find(a=>a.toLowerCase()===g);return d.ReflectAdapter.set(b,h??c,e,f)},has(b,c){if("symbol"==typeof c)return d.ReflectAdapter.has(b,c);let e=c.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);return void 0!==f&&d.ReflectAdapter.has(b,f)},deleteProperty(b,c){if("symbol"==typeof c)return d.ReflectAdapter.deleteProperty(b,c);let e=c.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);return void 0===f||d.ReflectAdapter.deleteProperty(b,f)}})}static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"append":case"delete":case"set":return e.callable;default:return d.ReflectAdapter.get(a,b,c)}}})}merge(a){return Array.isArray(a)?a.join(", "):a}static from(a){return a instanceof Headers?a:new f(a)}append(a,b){let c=this.headers[a];"string"==typeof c?this.headers[a]=[c,b]:Array.isArray(c)?c.push(b):this.headers[a]=b}delete(a){delete this.headers[a]}get(a){let b=this.headers[a];return void 0!==b?this.merge(b):null}has(a){return void 0!==this.headers[a]}set(a,b){this.headers[a]=b}forEach(a,b){for(let[c,d]of this.entries())a.call(b,d,c,this)}*entries(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase(),c=this.get(b);yield[b,c]}}*keys(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase();yield b}}*values(){for(let a of Object.keys(this.headers)){let b=this.get(a);yield b}}[Symbol.iterator](){return this.entries()}}},50703:(a,b,c)=>{"use strict";c.d(b,{Ay:()=>s,Gw:()=>x,Q1:()=>e,Qh:()=>w,b:()=>v});var d=c(67713);function e(){}var f="\\s*([+-]?\\d+)\\s*",g="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",h="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",i=/^#([0-9a-f]{3,8})$/,j=RegExp(`^rgb\\(${f},${f},${f}\\)$`),k=RegExp(`^rgb\\(${h},${h},${h}\\)$`),l=RegExp(`^rgba\\(${f},${f},${f},${g}\\)$`),m=RegExp(`^rgba\\(${h},${h},${h},${g}\\)$`),n=RegExp(`^hsl\\(${g},${h},${h}\\)$`),o=RegExp(`^hsla\\(${g},${h},${h},${g}\\)$`),p={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function q(){return this.rgb().formatHex()}function r(){return this.rgb().formatRgb()}function s(a){var b,c;return a=(a+"").trim().toLowerCase(),(b=i.exec(a))?(c=b[1].length,b=parseInt(b[1],16),6===c?t(b):3===c?new x(b>>8&15|b>>4&240,b>>4&15|240&b,(15&b)<<4|15&b,1):8===c?u(b>>24&255,b>>16&255,b>>8&255,(255&b)/255):4===c?u(b>>12&15|b>>8&240,b>>8&15|b>>4&240,b>>4&15|240&b,((15&b)<<4|15&b)/255):null):(b=j.exec(a))?new x(b[1],b[2],b[3],1):(b=k.exec(a))?new x(255*b[1]/100,255*b[2]/100,255*b[3]/100,1):(b=l.exec(a))?u(b[1],b[2],b[3],b[4]):(b=m.exec(a))?u(255*b[1]/100,255*b[2]/100,255*b[3]/100,b[4]):(b=n.exec(a))?D(b[1],b[2]/100,b[3]/100,1):(b=o.exec(a))?D(b[1],b[2]/100,b[3]/100,b[4]):p.hasOwnProperty(a)?t(p[a]):"transparent"===a?new x(NaN,NaN,NaN,0):null}function t(a){return new x(a>>16&255,a>>8&255,255&a,1)}function u(a,b,c,d){return d<=0&&(a=b=c=NaN),new x(a,b,c,d)}function v(a){return(a instanceof e||(a=s(a)),a)?new x((a=a.rgb()).r,a.g,a.b,a.opacity):new x}function w(a,b,c,d){return 1==arguments.length?v(a):new x(a,b,c,null==d?1:d)}function x(a,b,c,d){this.r=+a,this.g=+b,this.b=+c,this.opacity=+d}function y(){return`#${C(this.r)}${C(this.g)}${C(this.b)}`}function z(){let a=A(this.opacity);return`${1===a?"rgb(":"rgba("}${B(this.r)}, ${B(this.g)}, ${B(this.b)}${1===a?")":`, ${a})`}`}function A(a){return isNaN(a)?1:Math.max(0,Math.min(1,a))}function B(a){return Math.max(0,Math.min(255,Math.round(a)||0))}function C(a){return((a=B(a))<16?"0":"")+a.toString(16)}function D(a,b,c,d){return d<=0?a=b=c=NaN:c<=0||c>=1?a=b=NaN:b<=0&&(a=NaN),new F(a,b,c,d)}function E(a){if(a instanceof F)return new F(a.h,a.s,a.l,a.opacity);if(a instanceof e||(a=s(a)),!a)return new F;if(a instanceof F)return a;var b=(a=a.rgb()).r/255,c=a.g/255,d=a.b/255,f=Math.min(b,c,d),g=Math.max(b,c,d),h=NaN,i=g-f,j=(g+f)/2;return i?(h=b===g?(c-d)/i+(c<d)*6:c===g?(d-b)/i+2:(b-c)/i+4,i/=j<.5?g+f:2-g-f,h*=60):i=j>0&&j<1?0:h,new F(h,i,j,a.opacity)}function F(a,b,c,d){this.h=+a,this.s=+b,this.l=+c,this.opacity=+d}function G(a){return(a=(a||0)%360)<0?a+360:a}function H(a){return Math.max(0,Math.min(1,a||0))}function I(a,b,c){return(a<60?b+(c-b)*a/60:a<180?c:a<240?b+(c-b)*(240-a)/60:b)*255}(0,d.A)(e,s,{copy(a){return Object.assign(new this.constructor,this,a)},displayable(){return this.rgb().displayable()},hex:q,formatHex:q,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return E(this).formatHsl()},formatRgb:r,toString:r}),(0,d.A)(x,w,(0,d.X)(e,{brighter(a){return a=null==a?1.4285714285714286:Math.pow(1.4285714285714286,a),new x(this.r*a,this.g*a,this.b*a,this.opacity)},darker(a){return a=null==a?.7:Math.pow(.7,a),new x(this.r*a,this.g*a,this.b*a,this.opacity)},rgb(){return this},clamp(){return new x(B(this.r),B(this.g),B(this.b),A(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:y,formatHex:y,formatHex8:function(){return`#${C(this.r)}${C(this.g)}${C(this.b)}${C((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:z,toString:z})),(0,d.A)(F,function(a,b,c,d){return 1==arguments.length?E(a):new F(a,b,c,null==d?1:d)},(0,d.X)(e,{brighter(a){return a=null==a?1.4285714285714286:Math.pow(1.4285714285714286,a),new F(this.h,this.s,this.l*a,this.opacity)},darker(a){return a=null==a?.7:Math.pow(.7,a),new F(this.h,this.s,this.l*a,this.opacity)},rgb(){var a=this.h%360+(this.h<0)*360,b=isNaN(a)||isNaN(this.s)?0:this.s,c=this.l,d=c+(c<.5?c:1-c)*b,e=2*c-d;return new x(I(a>=240?a-240:a+120,e,d),I(a,e,d),I(a<120?a+240:a-120,e,d),this.opacity)},clamp(){return new F(G(this.h),H(this.s),H(this.l),A(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let a=A(this.opacity);return`${1===a?"hsl(":"hsla("}${G(this.h)}, ${100*H(this.s)}%, ${100*H(this.l)}%${1===a?")":`, ${a})`}`}}))},50718:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("messages-square",[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z",key:"1n2ejm"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1",key:"1qfcsi"}]])},50785:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{decryptActionBoundArgs:function(){return s},encryptActionBoundArgs:function(){return r}}),c(9221);let d=c(80080),e=c(3671),f=c(72026),g=c(80533),h=c(63033),i=c(13786),j=function(a){return a&&a.__esModule?a:{default:a}}(c(97119)),k=new TextEncoder,l=new TextDecoder,m=void 0,n=void 0;async function o(a,b){let c=await (0,g.getActionEncryptionKey)();if(void 0===c)throw Object.defineProperty(Error("Missing encryption key for Server Action. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E65",enumerable:!1,configurable:!0});let d=atob(b),e=d.slice(0,16),f=d.slice(16),h=l.decode(await (0,g.decrypt)(c,(0,g.stringToUint8Array)(e),(0,g.stringToUint8Array)(f)));if(!h.startsWith(a))throw Object.defineProperty(Error("Invalid Server Action payload: failed to decrypt."),"__NEXT_ERROR_CODE",{value:"E191",enumerable:!1,configurable:!0});return h.slice(a.length)}async function p(a,b){let c=await (0,g.getActionEncryptionKey)();if(void 0===c)throw Object.defineProperty(Error("Missing encryption key for Server Action. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E65",enumerable:!1,configurable:!0});let d=new Uint8Array(16);h.workUnitAsyncStorage.exit(()=>crypto.getRandomValues(d));let e=(0,g.arrayBufferToString)(d.buffer),f=await (0,g.encrypt)(c,d,k.encode(a+b));return btoa(e+(0,g.arrayBufferToString)(f))}var q=function(a){return a[a.Ready=0]="Ready",a[a.Pending=1]="Pending",a[a.Complete=2]="Complete",a}(q||{});let r=j.default.cache(async function a(b,...c){let e=h.workUnitAsyncStorage.getStore(),j=e?(0,h.getCacheSignal)(e):void 0,{clientModules:k}=(0,g.getClientReferenceManifestForRsc)(),l=Error();Error.captureStackTrace(l,a);let n=!1,o=e?(0,i.createHangingInputAbortSignal)(e):void 0,q=0;function r(){0===q&&(q=1,null==j||j.beginRead())}function s(){1===q&&(null==j||j.endRead()),q=2}o&&j&&o.addEventListener("abort",r,{once:!0});let t=await (0,f.streamToString)((0,d.renderToReadableStream)(c,k,{filterStackFrame:m,signal:o,onError(a){(null==o||!o.aborted)&&(n||(n=!0,l.message=a instanceof Error?a.message:String(a)))}}),o);if(n)throw s(),l;if(!e)return p(b,t);r();let u=(0,h.getPrerenderResumeDataCache)(e),v=(0,h.getRenderResumeDataCache)(e),w=b+t,x=(null==u?void 0:u.encryptedBoundArgs.get(w))??(null==v?void 0:v.encryptedBoundArgs.get(w));if(x)return x;let y=await p(b,t);return s(),null==u||u.encryptedBoundArgs.set(w,y),y});async function s(a,b){let c,d=await b,f=h.workUnitAsyncStorage.getStore();if(f){let b=(0,h.getCacheSignal)(f),e=(0,h.getPrerenderResumeDataCache)(f),g=(0,h.getRenderResumeDataCache)(f);(c=(null==e?void 0:e.decryptedBoundArgs.get(d))??(null==g?void 0:g.decryptedBoundArgs.get(d)))||(null==b||b.beginRead(),c=await o(a,d),null==b||b.endRead(),null==e||e.decryptedBoundArgs.set(d,c))}else c=await o(a,d);let{edgeRscModuleMapping:i,rscModuleMapping:j}=(0,g.getClientReferenceManifestForRsc)();return await (0,e.createFromReadableStream)(new ReadableStream({start(a){switch(a.enqueue(k.encode(c)),null==f?void 0:f.type){case"prerender":case"prerender-runtime":f.renderSignal.aborted?a.close():f.renderSignal.addEventListener("abort",()=>a.close(),{once:!0});break;case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case void 0:return a.close()}}}),{findSourceMapURL:n,serverConsumerManifest:{moduleLoading:null,moduleMap:j,serverModuleMap:(0,g.getServerModuleMap)()}})}},51514:(a,b,c)=>{"use strict";let d;c.d(b,{RD:()=>r});var e=c(78904),f=c(92264),g=c(98602),h=c(19136);async function i(a,b,c){let d;if(!(0,h.G)(a))throw TypeError("JWK must be an object");switch(b??=a.alg,d??=c?.extractable??a.ext,a.kty){case"oct":if("string"!=typeof a.k||!a.k)throw TypeError('missing "k" (Key Value) Parameter value');return(0,f.D)(a.k);case"RSA":if("oth"in a&&void 0!==a.oth)throw new e.T0('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');return(0,g.x)({...a,alg:b,ext:d});case"AKP":if("string"!=typeof a.alg||!a.alg)throw TypeError('missing "alg" (Algorithm) Parameter value');if(void 0!==b&&b!==a.alg)throw TypeError("JWK alg and alg option value mismatch");return(0,g.x)({...a,ext:d});case"EC":case"OKP":return(0,g.x)({...a,alg:b,ext:d});default:throw new e.T0('Unsupported "kty" (Key Type) Parameter value')}}function j(a){return(0,h.G)(a)}class k{#a;#b=new WeakMap;constructor(a){if(!function(a){return a&&"object"==typeof a&&Array.isArray(a.keys)&&a.keys.every(j)}(a))throw new e.Dm("JSON Web Key Set malformed");this.#a=structuredClone(a)}jwks(){return this.#a}async getKey(a,b){let{alg:c,kid:d}={...a,...b?.header},f=function(a){switch("string"==typeof a&&a.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";case"ML":return"AKP";default:throw new e.T0('Unsupported "alg" value for a JSON Web Key Set')}}(c),g=this.#a.keys.filter(a=>{let b=f===a.kty;if(b&&"string"==typeof d&&(b=d===a.kid),b&&("string"==typeof a.alg||"AKP"===f)&&(b=c===a.alg),b&&"string"==typeof a.use&&(b="sig"===a.use),b&&Array.isArray(a.key_ops)&&(b=a.key_ops.includes("verify")),b)switch(c){case"ES256":b="P-256"===a.crv;break;case"ES384":b="P-384"===a.crv;break;case"ES512":b="P-521"===a.crv;break;case"Ed25519":case"EdDSA":b="Ed25519"===a.crv}return b}),{0:h,length:i}=g;if(0===i)throw new e.BT;if(1!==i){let a=new e.$4,b=this.#b;throw a[Symbol.asyncIterator]=async function*(){for(let a of g)try{yield await l(b,a,c)}catch{}},a}return l(this.#b,h,c)}}async function l(a,b,c){let d=a.get(b)||a.set(b,{}).get(b);if(void 0===d[c]){let a=await i({...b,ext:!0},c);if(a instanceof Uint8Array||"public"!==a.type)throw new e.Dm("JSON Web Key Set members must be public keys");d[c]=a}return d[c]}function m(a){let b=new k(a),c=async(a,c)=>b.getKey(a,c);return Object.defineProperties(c,{jwks:{value:()=>structuredClone(b.jwks()),enumerable:!1,configurable:!1,writable:!1}}),c}"undefined"!=typeof navigator&&navigator.userAgent?.startsWith?.("Mozilla/5.0 ")||(d="jose/v6.1.3");let n=Symbol();async function o(a,b,c,d=fetch){let f=await d(a,{method:"GET",signal:c,redirect:"manual",headers:b}).catch(a=>{if("TimeoutError"===a.name)throw new e.xb;throw a});if(200!==f.status)throw new e.i4("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await f.json()}catch{throw new e.i4("Failed to parse the JSON Web Key Set HTTP response as JSON")}}let p=Symbol();class q{#c;#d;#e;#f;#g;#h;#i;#j;#k;#l;constructor(a,b){if(!(a instanceof URL))throw TypeError("url must be an instance of URL");this.#c=new URL(a.href),this.#d="number"==typeof b?.timeoutDuration?b?.timeoutDuration:5e3,this.#e="number"==typeof b?.cooldownDuration?b?.cooldownDuration:3e4,this.#f="number"==typeof b?.cacheMaxAge?b?.cacheMaxAge:6e5,this.#i=new Headers(b?.headers),d&&!this.#i.has("User-Agent")&&this.#i.set("User-Agent",d),this.#i.has("accept")||(this.#i.set("accept","application/json"),this.#i.append("accept","application/jwk-set+json")),this.#j=b?.[n],b?.[p]!==void 0&&(this.#l=b?.[p],function(a,b){return!("object"!=typeof a||null===a||!("uat"in a)||"number"!=typeof a.uat||Date.now()-a.uat>=b)&&"jwks"in a&&!!(0,h.G)(a.jwks)&&!!Array.isArray(a.jwks.keys)&&!!Array.prototype.every.call(a.jwks.keys,h.G)}(b?.[p],this.#f)&&(this.#g=this.#l.uat,this.#k=m(this.#l.jwks)))}pendingFetch(){return!!this.#h}coolingDown(){return"number"==typeof this.#g&&Date.now()<this.#g+this.#e}fresh(){return"number"==typeof this.#g&&Date.now()<this.#g+this.#f}jwks(){return this.#k?.jwks()}async getKey(a,b){this.#k&&this.fresh()||await this.reload();try{return await this.#k(a,b)}catch(c){if(c instanceof e.BT&&!1===this.coolingDown())return await this.reload(),this.#k(a,b);throw c}}async reload(){this.#h&&("undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&(this.#h=void 0),this.#h||=o(this.#c.href,this.#i,AbortSignal.timeout(this.#d),this.#j).then(a=>{this.#k=m(a),this.#l&&(this.#l.uat=Date.now(),this.#l.jwks=a),this.#g=Date.now(),this.#h=void 0}).catch(a=>{throw this.#h=void 0,a}),await this.#h}}function r(a,b){let c=new q(a,b),d=async(a,b)=>c.getKey(a,b);return Object.defineProperties(d,{coolingDown:{get:()=>c.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>c.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>c.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>c.pendingFetch(),enumerable:!0,configurable:!1},jwks:{value:()=>c.jwks(),enumerable:!0,configurable:!1,writable:!1}}),d}},51537:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.camelCase=void 0;var c=/^--[a-zA-Z0-9_-]+$/,d=/-([a-z])/g,e=/^[^-]+$/,f=/^-(webkit|moz|ms|o|khtml)-/,g=/^-(ms)-/,h=function(a,b){return b.toUpperCase()},i=function(a,b){return"".concat(b,"-")};b.camelCase=function(a,b){var j;return(void 0===b&&(b={}),!(j=a)||e.test(j)||c.test(j))?a:(a=a.toLowerCase(),(a=b.reactCompat?a.replace(g,i):a.replace(f,i)).replace(d,h))}},51592:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]])},51662:(a,b,c)=>{"use strict";c.d(b,{Q:()=>d});let d=(0,c(21968).createContext)({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"})},51865:(a,b,c)=>{"use strict";let d,e=c(21820),f=c(83997),g=c(95804),{env:h}=process;function i(a){return 0!==a&&{level:a,hasBasic:!0,has256:a>=2,has16m:a>=3}}function j(a,b){if(0===d)return 0;if(g("color=16m")||g("color=full")||g("color=truecolor"))return 3;if(g("color=256"))return 2;if(a&&!b&&void 0===d)return 0;let c=d||0;if("dumb"===h.TERM)return c;if("win32"===process.platform){let a=e.release().split(".");return Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in h)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(a=>a in h)||"codeship"===h.CI_NAME?1:c;if("TEAMCITY_VERSION"in h)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h.TEAMCITY_VERSION);if("truecolor"===h.COLORTERM)return 3;if("TERM_PROGRAM"in h){let a=parseInt((h.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(h.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(h.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h.TERM)||"COLORTERM"in h?1:c}g("no-color")||g("no-colors")||g("color=false")||g("color=never")?d=0:(g("color")||g("colors")||g("color=true")||g("color=always"))&&(d=1),"FORCE_COLOR"in h&&(d="true"===h.FORCE_COLOR?1:"false"===h.FORCE_COLOR?0:0===h.FORCE_COLOR.length?1:Math.min(parseInt(h.FORCE_COLOR,10),3)),a.exports={supportsColor:function(a){return i(j(a,a&&a.isTTY))},stdout:i(j(!0,f.isatty(1))),stderr:i(j(!0,f.isatty(2)))}},51950:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a,b,c){for(var d=-1,e=Object(a),f=c(a),g=f.length;g--;){var h=f[++d];if(!1===b(e[h],h,e))break}return a}},52910:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=a=>()=>a},53072:(a,b,c)=>{"use strict";let d;Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{BubbledError:function(){return n},SpanKind:function(){return l},SpanStatusCode:function(){return k},getTracer:function(){return v},isBubbledError:function(){return o}});let e=c(12442),f=c(78449),g=process.env.NEXT_OTEL_PERFORMANCE_PREFIX;try{d=c(47992)}catch(a){d=c(47992)}let{context:h,propagation:i,trace:j,SpanStatusCode:k,SpanKind:l,ROOT_CONTEXT:m}=d;class n extends Error{constructor(a,b){super(),this.bubble=a,this.result=b}}function o(a){return"object"==typeof a&&null!==a&&a instanceof n}let p=(a,b)=>{o(b)&&b.bubble?a.setAttribute("next.bubble",!0):(b&&(a.recordException(b),a.setAttribute("error.type",b.name)),a.setStatus({code:k.ERROR,message:null==b?void 0:b.message})),a.end()},q=new Map,r=d.createContextKey("next.rootSpanId"),s=0,t={set(a,b,c){a.push({key:b,value:c})}};class u{getTracerInstance(){return j.getTracer("next.js","0.0.1")}getContext(){return h}getTracePropagationData(){let a=h.active(),b=[];return i.inject(a,b,t),b}getActiveScopeSpan(){return j.getSpan(null==h?void 0:h.active())}withPropagatedContext(a,b,c){let d=h.active();if(j.getSpanContext(d))return b();let e=i.extract(d,a,c);return h.with(e,b)}trace(...a){var b;let[c,d,i]=a,{fn:k,options:l}="function"==typeof d?{fn:d,options:{}}:{fn:i,options:{...d}},n=l.spanName??c;if(!e.NextVanillaSpanAllowlist.has(c)&&"1"!==process.env.NEXT_OTEL_VERBOSE||l.hideSpan)return k();let o=this.getSpanContext((null==l?void 0:l.parentSpan)??this.getActiveScopeSpan()),t=!1;o?(null==(b=j.getSpanContext(o))?void 0:b.isRemote)&&(t=!0):(o=(null==h?void 0:h.active())??m,t=!0);let u=s++;return l.attributes={"next.span_name":n,"next.span_type":c,...l.attributes},h.with(o.setValue(r,u),()=>this.getTracerInstance().startActiveSpan(n,l,a=>{let b;g&&c&&e.LogSpanAllowList.has(c)&&(b="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0);let d=!1,h=()=>{!d&&(d=!0,q.delete(u),b&&performance.measure(`${g}:next-${(c.split(".").pop()||"").replace(/[A-Z]/g,a=>"-"+a.toLowerCase())}`,{start:b,end:performance.now()}))};if(t&&q.set(u,new Map(Object.entries(l.attributes??{}))),k.length>1)try{return k(a,b=>p(a,b))}catch(b){throw p(a,b),b}finally{h()}try{let b=k(a);if((0,f.isThenable)(b))return b.then(b=>(a.end(),b)).catch(b=>{throw p(a,b),b}).finally(h);return a.end(),h(),b}catch(b){throw p(a,b),h(),b}}))}wrap(...a){let b=this,[c,d,f]=3===a.length?a:[a[0],{},a[1]];return e.NextVanillaSpanAllowlist.has(c)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let a=d;"function"==typeof a&&"function"==typeof f&&(a=a.apply(this,arguments));let e=arguments.length-1,g=arguments[e];if("function"!=typeof g)return b.trace(c,a,()=>f.apply(this,arguments));{let d=b.getContext().bind(h.active(),g);return b.trace(c,a,(a,b)=>(arguments[e]=function(a){return null==b||b(a),d.apply(this,arguments)},f.apply(this,arguments)))}}:f}startSpan(...a){let[b,c]=a,d=this.getSpanContext((null==c?void 0:c.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(b,c,d)}getSpanContext(a){return a?j.setSpan(h.active(),a):void 0}getRootSpanAttributes(){let a=h.active().getValue(r);return q.get(a)}setRootSpanAttribute(a,b){let c=h.active().getValue(r),d=q.get(c);d&&d.set(a,b)}}let v=(()=>{let a=new u;return()=>a})()},53250:(a,b,c)=>{"use strict";c.d(b,{C:()=>d});let d=function(a){var b,c;if(null==a)return f;if("function"==typeof a)return e(a);if("object"==typeof a){return Array.isArray(a)?function(a){let b=[],c=-1;for(;++c<a.length;)b[c]=d(a[c]);return e(function(...a){let c=-1;for(;++c<b.length;)if(b[c].apply(this,a))return!0;return!1})}(a):(b=a,e(function(a){let c;for(c in b)if(a[c]!==b[c])return!1;return!0}))}if("string"==typeof a){return c=a,e(function(a){return a&&a.type===c})}throw Error("Expected function, string, or object as test")};function e(a){return function(b,c,d){return!!(function(a){return null!==a&&"object"==typeof a&&"type"in a}(b)&&a.call(this,b,"number"==typeof c?c:void 0,d||void 0))}}function f(){return!0}},53295:a=>{"use strict";function b(a,b){var b=b||{};this._capacity=b.capacity,this._head=0,this._tail=0,Array.isArray(a)?this._fromArray(a):(this._capacityMask=3,this._list=[,,,,])}b.prototype.peekAt=function(a){var b=a;if(b===(0|b)){var c=this.size();if(!(b>=c)&&!(b<-c))return b<0&&(b+=c),b=this._head+b&this._capacityMask,this._list[b]}},b.prototype.get=function(a){return this.peekAt(a)},b.prototype.peek=function(){if(this._head!==this._tail)return this._list[this._head]},b.prototype.peekFront=function(){return this.peek()},b.prototype.peekBack=function(){return this.peekAt(-1)},Object.defineProperty(b.prototype,"length",{get:function(){return this.size()}}),b.prototype.size=function(){return this._head===this._tail?0:this._head<this._tail?this._tail-this._head:this._capacityMask+1-(this._head-this._tail)},b.prototype.unshift=function(a){if(0==arguments.length)return this.size();var b=this._list.length;return(this._head=this._head-1+b&this._capacityMask,this._list[this._head]=a,this._tail===this._head&&this._growArray(),this._capacity&&this.size()>this._capacity&&this.pop(),this._head<this._tail)?this._tail-this._head:this._capacityMask+1-(this._head-this._tail)},b.prototype.shift=function(){var a=this._head;if(a!==this._tail){var b=this._list[a];return this._list[a]=void 0,this._head=a+1&this._capacityMask,a<2&&this._tail>1e4&&this._tail<=this._list.length>>>2&&this._shrinkArray(),b}},b.prototype.push=function(a){if(0==arguments.length)return this.size();var b=this._tail;return(this._list[b]=a,this._tail=b+1&this._capacityMask,this._tail===this._head&&this._growArray(),this._capacity&&this.size()>this._capacity&&this.shift(),this._head<this._tail)?this._tail-this._head:this._capacityMask+1-(this._head-this._tail)},b.prototype.pop=function(){var a=this._tail;if(a!==this._head){var b=this._list.length;this._tail=a-1+b&this._capacityMask;var c=this._list[this._tail];return this._list[this._tail]=void 0,this._head<2&&a>1e4&&a<=b>>>2&&this._shrinkArray(),c}},b.prototype.removeOne=function(a){var b,c=a;if(c===(0|c)&&this._head!==this._tail){var d=this.size(),e=this._list.length;if(!(c>=d)&&!(c<-d)){c<0&&(c+=d),c=this._head+c&this._capacityMask;var f=this._list[c];if(a<d/2){for(b=a;b>0;b--)this._list[c]=this._list[c=c-1+e&this._capacityMask];this._list[c]=void 0,this._head=this._head+1+e&this._capacityMask}else{for(b=d-1-a;b>0;b--)this._list[c]=this._list[c=c+1+e&this._capacityMask];this._list[c]=void 0,this._tail=this._tail-1+e&this._capacityMask}return f}}},b.prototype.remove=function(a,b){var c,d,e=a,f=b;if(e===(0|e)&&this._head!==this._tail){var g=this.size(),h=this._list.length;if(!(e>=g)&&!(e<-g)&&!(b<1)){if(e<0&&(e+=g),1===b||!b)return(c=[,])[0]=this.removeOne(e),c;if(0===e&&e+b>=g)return c=this.toArray(),this.clear(),c;for(e+b>g&&(b=g-e),c=Array(b),d=0;d<b;d++)c[d]=this._list[this._head+e+d&this._capacityMask];if(e=this._head+e&this._capacityMask,a+b===g){for(this._tail=this._tail-b+h&this._capacityMask,d=b;d>0;d--)this._list[e=e+1+h&this._capacityMask]=void 0;return c}if(0===a){for(this._head=this._head+b+h&this._capacityMask,d=b-1;d>0;d--)this._list[e=e+1+h&this._capacityMask]=void 0;return c}if(e<g/2){for(this._head=this._head+a+b+h&this._capacityMask,d=a;d>0;d--)this.unshift(this._list[e=e-1+h&this._capacityMask]);for(e=this._head-1+h&this._capacityMask;f>0;)this._list[e=e-1+h&this._capacityMask]=void 0,f--;a<0&&(this._tail=e)}else{for(this._tail=e,e=e+b+h&this._capacityMask,d=g-(b+a);d>0;d--)this.push(this._list[e++]);for(e=this._tail;f>0;)this._list[e=e+1+h&this._capacityMask]=void 0,f--}return this._head<2&&this._tail>1e4&&this._tail<=h>>>2&&this._shrinkArray(),c}}},b.prototype.splice=function(a,b){var c=a;if(c===(0|c)){var d=this.size();if(c<0&&(c+=d),!(c>d))if(!(arguments.length>2))return this.remove(c,b);else{var e,f,g,h=arguments.length,i=this._list.length,j=2;if(!d||c<d/2){for(e=0,f=Array(c);e<c;e++)f[e]=this._list[this._head+e&this._capacityMask];for(0===b?(g=[],c>0&&(this._head=this._head+c+i&this._capacityMask)):(g=this.remove(c,b),this._head=this._head+c+i&this._capacityMask);h>j;)this.unshift(arguments[--h]);for(e=c;e>0;e--)this.unshift(f[e-1])}else{var k=(f=Array(d-(c+b))).length;for(e=0;e<k;e++)f[e]=this._list[this._head+c+b+e&this._capacityMask];for(0===b?(g=[],c!=d&&(this._tail=this._head+c+i&this._capacityMask)):(g=this.remove(c,b),this._tail=this._tail-k+i&this._capacityMask);j<h;)this.push(arguments[j++]);for(e=0;e<k;e++)this.push(f[e])}return g}}},b.prototype.clear=function(){this._list=Array(this._list.length),this._head=0,this._tail=0},b.prototype.isEmpty=function(){return this._head===this._tail},b.prototype.toArray=function(){return this._copyArray(!1)},b.prototype._fromArray=function(a){var b=a.length,c=this._nextPowerOf2(b);this._list=Array(c),this._capacityMask=c-1,this._tail=b;for(var d=0;d<b;d++)this._list[d]=a[d]},b.prototype._copyArray=function(a,b){var c,d=this._list,e=d.length,f=this.length;if((b|=f)==f&&this._head<this._tail)return this._list.slice(this._head,this._tail);var g=Array(b),h=0;if(a||this._head>this._tail){for(c=this._head;c<e;c++)g[h++]=d[c];for(c=0;c<this._tail;c++)g[h++]=d[c]}else for(c=this._head;c<this._tail;c++)g[h++]=d[c];return g},b.prototype._growArray=function(){if(0!=this._head){var a=this._copyArray(!0,this._list.length<<1);this._tail=this._list.length,this._head=0,this._list=a}else this._tail=this._list.length,this._list.length<<=1;this._capacityMask=this._capacityMask<<1|1},b.prototype._shrinkArray=function(){this._list.length>>>=1,this._capacityMask>>>=1},b.prototype._nextPowerOf2=function(a){return Math.max(1<<Math.log(a)/Math.log(2)+1,4)},a.exports=b},53932:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=(0,c(86944).Debug)("AbstractConnector");class e{constructor(a){this.connecting=!1,this.disconnectTimeout=a}check(a){return!0}disconnect(){if(this.connecting=!1,this.stream){let a=this.stream,b=setTimeout(()=>{d("stream %s:%s still open, destroying it",a.remoteAddress,a.remotePort),a.destroy()},this.disconnectTimeout);a.on("close",()=>clearTimeout(b)),a.end()}}}b.default=e},54469:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});let d={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:a=>a>=255?255:a<0?0:a,g:a=>a>=255?255:a<0?0:a,b:a=>a>=255?255:a<0?0:a,h:a=>a%360,s:a=>a>=100?100:a<0?0:a,l:a=>a>=100?100:a<0?0:a,a:a=>a>=1?1:a<0?0:a},toLinear:a=>{let b=a/255;return a>.03928?Math.pow((b+.055)/1.055,2.4):b/12.92},hue2rgb:(a,b,c)=>(c<0&&(c+=1),c>1&&(c-=1),c<1/6)?a+(b-a)*6*c:c<.5?b:c<2/3?a+(b-a)*(2/3-c)*6:a,hsl2rgb:({h:a,s:b,l:c},e)=>{if(!b)return 2.55*c;a/=360,b/=100;let f=(c/=100)<.5?c*(1+b):c+b-c*b,g=2*c-f;switch(e){case"r":return 255*d.hue2rgb(g,f,a+1/3);case"g":return 255*d.hue2rgb(g,f,a);case"b":return 255*d.hue2rgb(g,f,a-1/3)}},rgb2hsl:({r:a,g:b,b:c},d)=>{let e=Math.max(a/=255,b/=255,c/=255),f=Math.min(a,b,c),g=(e+f)/2;if("l"===d)return 100*g;if(e===f)return 0;let h=e-f;if("s"===d)return 100*(g>.5?h/(2-e-f):h/(e+f));switch(e){case a:return((b-c)/h+6*(b<c))*60;case b:return((c-a)/h+2)*60;case c:return((a-b)/h+4)*60;default:return -1}}},e={channel:d,lang:{clamp:(a,b,c)=>b>c?Math.min(b,Math.max(c,a)):Math.min(c,Math.max(b,a)),round:a=>Math.round(1e10*a)/1e10},unit:{dec2hex:a=>{let b=Math.round(a).toString(16);return b.length>1?b:`0${b}`}}}},54501:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"DetachedPromise",{enumerable:!0,get:function(){return c}});class c{constructor(){let a,b;this.promise=new Promise((c,d)=>{a=c,b=d}),this.resolve=a,this.reject=b}}},54643:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(36395),e=c(12500);let f=function(a){if(!(0,e.A)(a))return!1;var b=(0,d.A)(a);return"[object Function]"==b||"[object GeneratorFunction]"==b||"[object AsyncFunction]"==b||"[object Proxy]"==b}},55178:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(37785),e=c(88960),f=c(36385),g=c(4531);class h{constructor(){this.options={},this.scriptsSet={},this.addedBuiltinSet=new Set}getBuiltinCommands(){return i.slice(0)}createBuiltinCommand(a){return{string:j(null,a,"utf8"),buffer:j(null,a,null)}}addBuiltinCommand(a){this.addedBuiltinSet.add(a),this[a]=j(a,a,"utf8"),this[a+"Buffer"]=j(a+"Buffer",a,null)}defineCommand(a,b){let c=new g.default(b.lua,b.numberOfKeys,this.options.keyPrefix,b.readOnly);this.scriptsSet[a]=c,this[a]=k(a,a,c,"utf8"),this[a+"Buffer"]=k(a+"Buffer",a,c,null)}sendCommand(a,b,c){throw Error('"sendCommand" is not implemented')}}let i=d.list.filter(a=>"monitor"!==a);function j(a,b,c){return void 0===c&&(c=b,b=null),function(...d){let g=b||d.shift(),h=d[d.length-1];"function"==typeof h?d.pop():h=void 0;let i={errorStack:this.options.showFriendlyErrorStack?Error():void 0,keyPrefix:this.options.keyPrefix,replyEncoding:c};return(0,e.shouldUseAutoPipelining)(this,a,g)?(0,e.executeWithAutoPipelining)(this,a,g,d,h):this.sendCommand(new f.default(g,d,i,h))}}function k(a,b,c,d){return function(...f){let g="function"==typeof f[f.length-1]?f.pop():void 0,h={replyEncoding:d};return(this.options.showFriendlyErrorStack&&(h.errorStack=Error()),(0,e.shouldUseAutoPipelining)(this,a,b))?(0,e.executeWithAutoPipelining)(this,a,b,f,g):c.execute(this,f,h,g)}}i.push("sentinel"),i.forEach(function(a){h.prototype[a]=j(a,a,"utf8"),h.prototype[a+"Buffer"]=j(a+"Buffer",a,null)}),h.prototype.call=j("call","utf8"),h.prototype.callBuffer=j("callBuffer",null),h.prototype.send_command=h.prototype.call,b.default=h},55326:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=Function.prototype.toString;let e=function(a){if(null!=a){try{return d.call(a)}catch(a){}try{return a+""}catch(a){}}return""}},55775:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},56196:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return e}});let d=""+c(93123).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function e(){let a=Object.defineProperty(Error(d),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=d,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},56898:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ReflectAdapter",{enumerable:!0,get:function(){return c}});class c{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}},57301:(a,b,c)=>{"use strict";c.d(b,{DA:()=>u,IU:()=>D,U:()=>C,U7:()=>bo,U_:()=>bq,Zk:()=>l,aP:()=>bl,gh:()=>bp,lC:()=>n,on:()=>bn});var d=c(11910),e=c(34623),f=c(4892),g=c(46895),h=c(6335),i=c(42292),j=c(72636),k=c(99766),l=(0,i.K2)(async(a,b,c)=>{let e,i=b.useHtmlLabels||(0,h._3)((0,h.D7)()?.htmlLabels),k=a.insert("g").attr("class",c||"node default").attr("id",b.domId||b.id),l=k.insert("g").attr("class","label").attr("style",(0,g.KL)(b.labelStyle));e=void 0===b.label?"":"string"==typeof b.label?b.label:b.label[0];let m=!!b.icon||!!b.img,n="markdown"===b.labelType,o=await (0,f.GZ)(l,(0,h.jZ)((0,g.Sm)(e),(0,h.D7)()),{useHtmlLabels:i,width:b.width||(0,h.D7)().flowchart?.wrappingWidth,classes:n?"markdown-node-label":"",style:b.labelStyle,addSvgBackground:m,markdown:n},(0,h.D7)()),p=o.getBBox(),q=(b?.padding??0)/2;if(i){let a=o.children[0],b=(0,j.Ltv)(o);await (0,d.X)(a,e),p=a.getBoundingClientRect(),b.attr("width",p.width),b.attr("height",p.height)}return i?l.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"):l.attr("transform","translate(0, "+-p.height/2+")"),b.centerLabel&&l.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),l.insert("rect",":first-child"),{shapeSvg:k,bbox:p,halfPadding:q,label:l}},"labelHelper"),m=(0,i.K2)(async(a,b,c)=>{let d=c.useHtmlLabels??(0,h.E)((0,h.D7)()),e=a.insert("g").attr("class","label").attr("style",c.labelStyle||""),i=await (0,f.GZ)(e,(0,h.jZ)((0,g.Sm)(b),(0,h.D7)()),{useHtmlLabels:d,width:c.width||(0,h.D7)()?.flowchart?.wrappingWidth,style:c.labelStyle,addSvgBackground:!!c.icon||!!c.img}),k=i.getBBox(),l=c.padding/2;if((0,h.E)((0,h.D7)())){let a=i.children[0],b=(0,j.Ltv)(i);k=a.getBoundingClientRect(),b.attr("width",k.width),b.attr("height",k.height)}return d?e.attr("transform","translate("+-k.width/2+", "+-k.height/2+")"):e.attr("transform","translate(0, "+-k.height/2+")"),c.centerLabel&&e.attr("transform","translate("+-k.width/2+", "+-k.height/2+")"),e.insert("rect",":first-child"),{shapeSvg:a,bbox:k,halfPadding:l,label:e}},"insertLabel"),n=(0,i.K2)((a,b)=>{let c=b.node().getBBox();a.width=c.width,a.height=c.height},"updateNodeBounds"),o=(0,i.K2)((a,b)=>("handDrawn"===a.look?"rough-node":"node")+" "+a.cssClasses+" "+(b||""),"getNodeClasses");function p(a){let b=a.map((a,b)=>`${0===b?"M":"L"}${a.x},${a.y}`);return b.push("Z"),b.join(" ")}function q(a,b,c,d,e,f){let g=[],h=c-a,i=2*Math.PI/(h/f),j=b+(d-b)/2;for(let b=0;b<=50;b++){let c=a+b/50*h,d=j+e*Math.sin(i*(c-a));g.push({x:c,y:d})}return g}function r(a,b,c,d,e,f){let g=[],h=e*Math.PI/180,i=(f*Math.PI/180-h)/(d-1);for(let e=0;e<d;e++){let d=h+e*i,f=a+c*Math.cos(d),j=b+c*Math.sin(d);g.push({x:-f,y:-j})}return g}function s(a){let b=Array.from(a.childNodes).filter(a=>"path"===a.tagName),c=document.createElementNS("http://www.w3.org/2000/svg","path"),d=b.map(a=>a.getAttribute("d")).filter(a=>null!==a).join(" ");c.setAttribute("d",d);let e=b.find(a=>"none"!==a.getAttribute("fill")),f=b.find(a=>"none"!==a.getAttribute("stroke")),g=(0,i.K2)((a,b)=>a?.getAttribute(b)??void 0,"getAttr");e&&Object.entries({fill:g(e,"fill"),"fill-opacity":g(e,"fill-opacity")??"1"}).forEach(([a,b])=>{b&&c.setAttribute(a,b)}),f&&Object.entries({stroke:g(f,"stroke"),"stroke-width":g(f,"stroke-width")??"1","stroke-opacity":g(f,"stroke-opacity")??"1"}).forEach(([a,b])=>{b&&c.setAttribute(a,b)});let h=document.createElementNS("http://www.w3.org/2000/svg","g");return h.appendChild(c),h}(0,i.K2)(p,"createPathFromPoints"),(0,i.K2)(q,"generateFullSineWavePoints"),(0,i.K2)(r,"generateCirclePoints"),(0,i.K2)(s,"mergePaths");var t=(0,i.K2)((a,b)=>{var c,d,e=a.x,f=a.y,g=b.x-e,h=b.y-f,i=a.width/2,j=a.height/2;return Math.abs(h)*i>Math.abs(g)*j?(h<0&&(j=-j),c=0===h?0:j*g/h,d=j):(g<0&&(i=-i),c=i,d=0===g?0:i*h/g),{x:e+c,y:f+d}},"intersectRect"),u=(0,i.K2)(async(a,b,c,d=!1,e=!1)=>{let g=b||"";"object"==typeof g&&(g=g[0]);let i=(0,h.D7)(),j=(0,h.E)(i);return await (0,f.GZ)(a,g,{style:c,isTitle:d,useHtmlLabels:j,markdown:!1,isNode:e,width:1/0},i)},"createLabel"),v=(0,i.K2)((a,b,c,d,e)=>["M",a+e,b,"H",a+c-e,"A",e,e,"0 0 1",a+c,b+e,"V",b+d-e,"A",e,e,"0 0 1",a+c-e,b+d,"H",a+e,"A",e,e,"0 0 1",a,b+d-e,"V",b+e,"A",e,e,"0 0 1",a+e,b,"Z"].join(" "),"createRoundedRectPathD"),w=(0,i.K2)(async(a,b)=>{let c,g;i.Rm.info("Creating subgraph rect for ",b.id,b);let l=(0,h.D7)(),{themeVariables:m,handDrawnSeed:n}=l,{clusterBkg:o,clusterBorder:p}=m,{labelStyles:q,nodeStyles:r,borderStyles:s,backgroundStyles:w}=(0,e.GX)(b),x=a.insert("g").attr("class","cluster "+b.cssClasses).attr("id",b.domId).attr("data-look",b.look),y=(0,h.E)(l),z=x.insert("g").attr("class","cluster-label "),A=(c="markdown"===b.labelType?await (0,f.GZ)(z,b.label,{style:b.labelStyle,useHtmlLabels:y,isNode:!0,width:b.width}):await u(z,b.label,b.labelStyle||"",!1,!0)).getBBox();if((0,h.E)(l)){let a=c.children[0],b=(0,j.Ltv)(c);A=a.getBoundingClientRect(),b.attr("width",A.width),b.attr("height",A.height)}let B=b.width<=A.width+b.padding?A.width+b.padding:b.width;b.width<=A.width+b.padding?b.diff=(B-b.width)/2-b.padding:b.diff=-b.padding;let C=b.height,D=b.x-B/2,E=b.y-C/2;if(i.Rm.trace("Data ",b,JSON.stringify(b)),"handDrawn"===b.look){let a=k.A.svg(x),c=(0,e.Fr)(b,{roughness:.7,fill:o,stroke:p,fillWeight:3,seed:n}),d=a.path(v(D,E,B,C,0),c);(g=x.insert(()=>(i.Rm.debug("Rough node insert CXC",d),d),":first-child")).select("path:nth-child(2)").attr("style",s.join(";")),g.select("path").attr("style",w.join(";").replace("fill","stroke"))}else(g=x.insert("rect",":first-child")).attr("style",r).attr("rx",b.rx).attr("ry",b.ry).attr("x",D).attr("y",E).attr("width",B).attr("height",C);let{subGraphTitleTopMargin:F}=(0,d.O)(l);if(z.attr("transform",`translate(${b.x-A.width/2}, ${b.y-b.height/2+F})`),q){let a=z.select("span");a&&a.attr("style",q)}let G=g.node().getBBox();return b.offsetX=0,b.width=G.width,b.height=G.height,b.offsetY=A.height-b.padding/2,b.intersect=function(a){return t(b,a)},{cluster:x,labelBBox:A}},"rect"),x=(0,i.K2)((a,b)=>{let c=a.insert("g").attr("class","note-cluster").attr("id",b.domId),d=c.insert("rect",":first-child"),e=0*b.padding,f=e/2;d.attr("rx",b.rx).attr("ry",b.ry).attr("x",b.x-b.width/2-f).attr("y",b.y-b.height/2-f).attr("width",b.width+e).attr("height",b.height+e).attr("fill","none");let g=d.node().getBBox();return b.width=g.width,b.height=g.height,b.intersect=function(a){return t(b,a)},{cluster:c,labelBBox:{width:0,height:0}}},"noteGroup"),y=(0,i.K2)(async(a,b)=>{let c,d=(0,h.D7)(),{themeVariables:e,handDrawnSeed:f}=d,{altBackground:g,compositeBackground:i,compositeTitleBackground:l,nodeBorder:m}=e,n=a.insert("g").attr("class",b.cssClasses).attr("id",b.domId).attr("data-id",b.id).attr("data-look",b.look),o=n.insert("g",":first-child"),p=n.insert("g").attr("class","cluster-label"),q=n.append("rect"),r=await u(p,b.label,b.labelStyle,void 0,!0),s=r.getBBox();if((0,h.E)(d)){let a=r.children[0],b=(0,j.Ltv)(r);s=a.getBoundingClientRect(),b.attr("width",s.width),b.attr("height",s.height)}let w=0*b.padding,x=(b.width<=s.width+b.padding?s.width+b.padding:b.width)+w;b.width<=s.width+b.padding?b.diff=(x-b.width)/2-b.padding:b.diff=-b.padding;let y=b.height+w,z=b.height+w-s.height-6,A=b.x-x/2,B=b.y-y/2;b.width=x;let C=b.y-b.height/2-w/2+s.height+2;if("handDrawn"===b.look){let a=b.cssClasses.includes("statediagram-cluster-alt"),d=k.A.svg(n),e=b.rx||b.ry?d.path(v(A,B,x,y,10),{roughness:.7,fill:l,fillStyle:"solid",stroke:m,seed:f}):d.rectangle(A,B,x,y,{seed:f});c=n.insert(()=>e,":first-child");let h=d.rectangle(A,C,x,z,{fill:a?g:i,fillStyle:a?"hachure":"solid",stroke:m,seed:f});c=n.insert(()=>e,":first-child"),q=n.insert(()=>h)}else(c=o.insert("rect",":first-child")).attr("class","outer").attr("x",A).attr("y",B).attr("width",x).attr("height",y).attr("data-look",b.look),q.attr("class","inner").attr("x",A).attr("y",C).attr("width",x).attr("height",z);return p.attr("transform",`translate(${b.x-s.width/2}, ${B+1-3*!(0,h.E)(d)})`),b.height=c.node().getBBox().height,b.offsetX=0,b.offsetY=s.height-b.padding/2,b.labelBBox=s,b.intersect=function(a){return t(b,a)},{cluster:n,labelBBox:s}},"roundedWithTitle"),z=(0,i.K2)(async(a,b)=>{let c;i.Rm.info("Creating subgraph rect for ",b.id,b);let g=(0,h.D7)(),{themeVariables:l,handDrawnSeed:m}=g,{clusterBkg:n,clusterBorder:o}=l,{labelStyles:p,nodeStyles:q,borderStyles:r,backgroundStyles:s}=(0,e.GX)(b),u=a.insert("g").attr("class","cluster "+b.cssClasses).attr("id",b.domId).attr("data-look",b.look),w=(0,h.E)(g),x=u.insert("g").attr("class","cluster-label "),y=await (0,f.GZ)(x,b.label,{style:b.labelStyle,useHtmlLabels:w,isNode:!0,width:b.width}),z=y.getBBox();if((0,h.E)(g)){let a=y.children[0],b=(0,j.Ltv)(y);z=a.getBoundingClientRect(),b.attr("width",z.width),b.attr("height",z.height)}let A=b.width<=z.width+b.padding?z.width+b.padding:b.width;b.width<=z.width+b.padding?b.diff=(A-b.width)/2-b.padding:b.diff=-b.padding;let B=b.height,C=b.x-A/2,D=b.y-B/2;if(i.Rm.trace("Data ",b,JSON.stringify(b)),"handDrawn"===b.look){let a=k.A.svg(u),d=(0,e.Fr)(b,{roughness:.7,fill:n,stroke:o,fillWeight:4,seed:m}),f=a.path(v(C,D,A,B,b.rx),d);(c=u.insert(()=>(i.Rm.debug("Rough node insert CXC",f),f),":first-child")).select("path:nth-child(2)").attr("style",r.join(";")),c.select("path").attr("style",s.join(";").replace("fill","stroke"))}else(c=u.insert("rect",":first-child")).attr("style",q).attr("rx",b.rx).attr("ry",b.ry).attr("x",C).attr("y",D).attr("width",A).attr("height",B);let{subGraphTitleTopMargin:E}=(0,d.O)(g);if(x.attr("transform",`translate(${b.x-z.width/2}, ${b.y-b.height/2+E})`),p){let a=x.select("span");a&&a.attr("style",p)}let F=c.node().getBBox();return b.offsetX=0,b.width=F.width,b.height=F.height,b.offsetY=z.height-b.padding/2,b.intersect=function(a){return t(b,a)},{cluster:u,labelBBox:z}},"kanbanSection"),A={rect:w,squareRect:w,roundedWithTitle:y,noteGroup:x,divider:(0,i.K2)((a,b)=>{let c,{themeVariables:d,handDrawnSeed:e}=(0,h.D7)(),{nodeBorder:f}=d,g=a.insert("g").attr("class",b.cssClasses).attr("id",b.domId).attr("data-look",b.look),i=g.insert("g",":first-child"),j=0*b.padding,l=b.width+j;b.diff=-b.padding;let m=b.height+j,n=b.x-l/2,o=b.y-m/2;if(b.width=l,"handDrawn"===b.look){let a=k.A.svg(g).rectangle(n,o,l,m,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:f,seed:e});c=g.insert(()=>a,":first-child")}else{c=i.insert("rect",":first-child");let a="outer";b.look,a="divider",c.attr("class",a).attr("x",n).attr("y",o).attr("width",l).attr("height",m).attr("data-look",b.look)}return b.height=c.node().getBBox().height,b.offsetX=0,b.offsetY=0,b.intersect=function(a){return t(b,a)},{cluster:g,labelBBox:{}}},"divider"),kanbanSection:z},B=new Map,C=(0,i.K2)(async(a,b)=>{let c=b.shape||"rect",d=await A[c](a,b);return B.set(b.id,d),d},"insertCluster"),D=(0,i.K2)(()=>{B=new Map},"clear");function E(a,b,c,d){var e=a.x,f=a.y,g=e-d.x,h=f-d.y,i=Math.sqrt(b*b*h*h+c*c*g*g),j=Math.abs(b*c*g/i);d.x<e&&(j=-j);var k=Math.abs(b*c*h/i);return d.y<f&&(k=-k),{x:e+j,y:f+k}}function F(a,b,c){return E(a,b,b,c)}function G(a,b,c,d){{let e=b.y-a.y,f=a.x-b.x,g=b.x*a.y-a.x*b.y,h=e*c.x+f*c.y+g,i=e*d.x+f*d.y+g;if(0!==h&&0!==i&&H(h,i))return;let j=d.y-c.y,k=c.x-d.x,l=d.x*c.y-c.x*d.y,m=j*a.x+k*a.y+l,n=j*b.x+k*b.y+l;if(1e-6>Math.abs(m)&&1e-6>Math.abs(n)&&H(m,n))return;let o=e*k-j*f;if(0===o)return;let p=Math.abs(o/2),q=f*l-k*g;return{x:q<0?(q-p)/o:(q+p)/o,y:(q=j*g-e*l)<0?(q-p)/o:(q+p)/o}}}function H(a,b){return a*b>0}function I(a,b,c){let d=a.x,e=a.y,f=[],g=1/0,h=1/0;"function"==typeof b.forEach?b.forEach(function(a){g=Math.min(g,a.x),h=Math.min(h,a.y)}):(g=Math.min(g,b.x),h=Math.min(h,b.y));let i=d-a.width/2-g,j=e-a.height/2-h;for(let d=0;d<b.length;d++){let e=b[d],g=b[d<b.length-1?d+1:0],h=G(a,c,{x:i+e.x,y:j+e.y},{x:i+g.x,y:j+g.y});h&&f.push(h)}return f.length?(f.length>1&&f.sort(function(a,b){let d=a.x-c.x,e=a.y-c.y,f=Math.sqrt(d*d+e*e),g=b.x-c.x,h=b.y-c.y,i=Math.sqrt(g*g+h*h);return f<i?-1:+(f!==i)}),f[0]):a}(0,i.K2)(function(a,b){return a.intersect(b)},"intersectNode"),(0,i.K2)(E,"intersectEllipse"),(0,i.K2)(F,"intersectCircle"),(0,i.K2)(G,"intersectLine"),(0,i.K2)(H,"sameSign"),(0,i.K2)(I,"intersectPolygon");var J={circle:F,polygon:I,rect:t};function K(a,b){let{labelStyles:c}=(0,e.GX)(b);b.labelStyle=c;let d=o(b),f=d;d||(f="anchor");let h=a.insert("g").attr("class",f).attr("id",b.domId||b.id),{cssStyles:j}=b,l=k.A.svg(h),m=(0,e.Fr)(b,{fill:"black",stroke:"none",fillStyle:"solid"});"handDrawn"!==b.look&&(m.roughness=0);let p=l.circle(0,0,2,m),q=h.insert(()=>p,":first-child");return q.attr("class","anchor").attr("style",(0,g.KL)(j)),n(b,q),b.intersect=function(a){return i.Rm.info("Circle intersect",b,1,a),J.circle(b,1,a)},h}function L(a,b,c,d,e,f,g){let h=Math.atan2(d-b,c-a),i=Math.sqrt(((c-a)/2/e)**2+((d-b)/2/f)**2);if(i>1)throw Error("The given radii are too small to create an arc between the points.");let j=Math.sqrt(1-i**2),k=(a+c)/2+j*f*Math.sin(h)*(g?-1:1),l=(b+d)/2-j*e*Math.cos(h)*(g?-1:1),m=Math.atan2((b-l)/f,(a-k)/e),n=Math.atan2((d-l)/f,(c-k)/e)-m;g&&n<0&&(n+=2*Math.PI),!g&&n>0&&(n-=2*Math.PI);let o=[];for(let a=0;a<20;a++){let b=m+a/19*n,c=k+e*Math.cos(b),d=l+f*Math.sin(b);o.push({x:c,y:d})}return o}function M(a,b,c){let[d,e]=[b,c].sort((a,b)=>b-a);return e*(1-Math.sqrt(1-(a/d/2)**2))}async function N(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f=b.padding??0,g="neo"===b.look?16:f,h="neo"===b.look?12:f,j=(0,i.K2)(a=>a+h,"calcTotalHeight"),m=(0,i.K2)(a=>{let b=a/2;return[b/(2.5+a/50),b]},"calcEllipseRadius"),{shapeSvg:q,bbox:r}=await l(a,b,o(b)),s=j(b?.height?b?.height:r.height),[t,u]=m(s),v=M(s,t,u),w=(b?.width?b?.width:r.width)+2*g+v-v,{cssStyles:x}=b,y=[{x:w/2,y:-s/2},{x:-w/2,y:-s/2},...L(-w/2,-s/2,-w/2,s/2,t,u,!1),{x:w/2,y:s/2},...L(w/2,s/2,w/2,-s/2,t,u,!0)],z=k.A.svg(q),A=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(A.roughness=0,A.fillStyle="solid");let B=p(y),C=z.path(B,A),D=q.insert(()=>C,":first-child");return D.attr("class","basic label-container outer-path"),x&&"handDrawn"!==b.look&&D.selectAll("path").attr("style",x),d&&"handDrawn"!==b.look&&D.selectAll("path").attr("style",d),D.attr("transform",`translate(${t/2}, 0)`),n(b,D),b.intersect=function(a){return J.polygon(b,y,a)},q}function O(a,b,c,d){return a.insert("polygon",":first-child").attr("points",d.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-b/2+","+c/2+")")}async function P(a,b){let c,{labelStyles:d,nodeStyles:f}=(0,e.GX)(b);b.labelStyle=d;let g=b.padding??0,h="neo"===b.look?28:g,i="neo"===b.look?24:g,{shapeSvg:j,bbox:m}=await l(a,b,o(b)),q=(b?.width??m.width)+("neo"===b.look?2*h:h+12),r=(b?.height??m.height)+("neo"===b.look?2*i:i),s=-r,t=[{x:12,y:s},{x:q,y:s},{x:q,y:0},{x:0,y:0},{x:0,y:s+12},{x:12,y:s}],{cssStyles:u}=b;if("handDrawn"===b.look){let a=k.A.svg(j),d=(0,e.Fr)(b,{}),f=p(t),g=a.path(f,d);c=j.insert(()=>g,":first-child").attr("transform",`translate(${-q/2}, ${r/2})`),u&&c.attr("style",u)}else c=O(j,q,r,t);return f&&c.attr("style",f),n(b,c),b.intersect=function(a){return J.polygon(b,t,a)},j}function Q(a,b){let{nodeStyles:c}=(0,e.GX)(b);b.label="";let d=a.insert("g").attr("class",o(b)).attr("id",b.domId??b.id),{cssStyles:f}=b,g=Math.max(28,b.width??0),h=[{x:0,y:g/2},{x:g/2,y:0},{x:0,y:-g/2},{x:-g/2,y:0}],i=k.A.svg(d),j=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(j.roughness=0,j.fillStyle="solid");let l=p(h),m=i.path(l,j),n=d.insert(()=>m,":first-child");return f&&"handDrawn"!==b.look&&n.selectAll("path").attr("style",f),c&&"handDrawn"!==b.look&&n.selectAll("path").attr("style",c),b.width=28,b.height=28,b.intersect=function(a){return J.polygon(b,h,a)},d}async function R(a,b,c){let d,{labelStyles:f,nodeStyles:h}=(0,e.GX)(b);b.labelStyle=f;let{shapeSvg:j,bbox:m,halfPadding:p}=await l(a,b,o(b)),q=c?.padding??p,r="neo"===b.look?m.width/2+32:m.width/2+q,{cssStyles:s}=b;if("handDrawn"===b.look){let a=k.A.svg(j),c=(0,e.Fr)(b,{}),f=a.circle(0,0,2*r,c);(d=j.insert(()=>f,":first-child")).attr("class","basic label-container").attr("style",(0,g.KL)(s))}else d=j.insert("circle",":first-child").attr("class","basic label-container").attr("style",h).attr("r",r).attr("cx",0).attr("cy",0);return n(b,d),b.calcIntersect=function(a,b){let c=a.width/2;return J.circle(a,c,b)},b.intersect=function(a){return i.Rm.info("Circle intersect",b,r,a),J.circle(b,r,a)},j}function S(a){let b=Math.cos(Math.PI/4),c=Math.sin(Math.PI/4),d=2*a,e={x:d/2*b,y:d/2*c},f={x:-(d/2)*b,y:d/2*c},g={x:-(d/2)*b,y:-(d/2)*c},h={x:d/2*b,y:-(d/2)*c};return`M ${f.x},${f.y} L ${h.x},${h.y}
|
|
195
|
+
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),ad={extension:L,composition:M,aggregation:N,dependency:O,lollipop:P,point:Q,circle:R,cross:S,barb:T,barbNeo:U,only_one:V,zero_or_one:W,one_or_more:X,zero_or_more:Y,only_one_neo:Z,zero_or_one_neo:$,one_or_more_neo:_,zero_or_more_neo:aa,requirement_arrow:ab,requirement_contains:(0,k.K2)((a,b,c)=>{let d=a.append("defs").append("marker").attr("id",c+"_"+b+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");d.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),d.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),d.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),requirement_arrow_neo:ac,requirement_contains_neo:(0,k.K2)((a,b,c)=>{let{themeVariables:d}=(0,j.zj)(),{strokeWidth:e}=d,f=a.append("defs").append("marker").attr("id",c+"_"+b+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");f.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),f.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),f.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),f.selectAll("*").attr("stroke-width",`${e}`)},"requirement_contains_neo")},ae=K},36709:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a){return a}},37060:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]])},37087:(a,b,c)=>{"use strict";c.d(b,{A:()=>e,j:()=>f});var d=c(20903);function e(a,b,c){return arguments.length>1?this.each((null==b?function(a){return function(){this.style.removeProperty(a)}}:"function"==typeof b?function(a,b,c){return function(){var d=b.apply(this,arguments);null==d?this.style.removeProperty(a):this.style.setProperty(a,d,c)}}:function(a,b,c){return function(){this.style.setProperty(a,b,c)}})(a,b,null==c?"":c)):f(this.node(),a)}function f(a,b){return a.style.getPropertyValue(b)||(0,d.A)(a).getComputedStyle(a,null).getPropertyValue(b)}},37429:function(a){a.exports=function(){"use strict";var a="millisecond",b="second",c="minute",d="hour",e="week",f="month",g="quarter",h="year",i="date",j="Invalid Date",k=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m=function(a,b,c){var d=String(a);return!d||d.length>=b?a:""+Array(b+1-d.length).join(c)+a},n="en",o={};o[n]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(a){var b=["th","st","nd","rd"],c=a%100;return"["+a+(b[(c-20)%10]||b[c]||b[0])+"]"}};var p="$isDayjsObject",q=function(a){return a instanceof u||!(!a||!a[p])},r=function a(b,c,d){var e;if(!b)return n;if("string"==typeof b){var f=b.toLowerCase();o[f]&&(e=f),c&&(o[f]=c,e=f);var g=b.split("-");if(!e&&g.length>1)return a(g[0])}else{var h=b.name;o[h]=b,e=h}return!d&&e&&(n=e),e||!d&&n},s=function(a,b){if(q(a))return a.clone();var c="object"==typeof b?b:{};return c.date=a,c.args=arguments,new u(c)},t={s:m,z:function(a){var b=-a.utcOffset(),c=Math.abs(b);return(b<=0?"+":"-")+m(Math.floor(c/60),2,"0")+":"+m(c%60,2,"0")},m:function a(b,c){if(b.date()<c.date())return-a(c,b);var d=12*(c.year()-b.year())+(c.month()-b.month()),e=b.clone().add(d,f),g=c-e<0,h=b.clone().add(d+(g?-1:1),f);return+(-(d+(c-e)/(g?e-h:h-e))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(j){return({M:f,y:h,w:e,d:"day",D:i,h:d,m:c,s:b,ms:a,Q:g})[j]||String(j||"").toLowerCase().replace(/s$/,"")},u:function(a){return void 0===a}};t.l=r,t.i=q,t.w=function(a,b){return s(a,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var u=function(){function m(a){this.$L=r(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[p]=!0}var n=m.prototype;return n.parse=function(a){this.$d=function(a){var b=a.date,c=a.utc;if(null===b)return new Date(NaN);if(t.u(b))return new Date;if(b instanceof Date)return new Date(b);if("string"==typeof b&&!/Z$/i.test(b)){var d=b.match(k);if(d){var e=d[2]-1||0,f=(d[7]||"0").substring(0,3);return c?new Date(Date.UTC(d[1],e,d[3]||1,d[4]||0,d[5]||0,d[6]||0,f)):new Date(d[1],e,d[3]||1,d[4]||0,d[5]||0,d[6]||0,f)}}return new Date(b)}(a),this.init()},n.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},n.$utils=function(){return t},n.isValid=function(){return this.$d.toString()!==j},n.isSame=function(a,b){var c=s(a);return this.startOf(b)<=c&&c<=this.endOf(b)},n.isAfter=function(a,b){return s(a)<this.startOf(b)},n.isBefore=function(a,b){return this.endOf(b)<s(a)},n.$g=function(a,b,c){return t.u(a)?this[b]:this.set(c,a)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(a,g){var j=this,k=!!t.u(g)||g,l=t.p(a),m=function(a,b){var c=t.w(j.$u?Date.UTC(j.$y,b,a):new Date(j.$y,b,a),j);return k?c:c.endOf("day")},n=function(a,b){return t.w(j.toDate()[a].apply(j.toDate("s"),(k?[0,0,0,0]:[23,59,59,999]).slice(b)),j)},o=this.$W,p=this.$M,q=this.$D,r="set"+(this.$u?"UTC":"");switch(l){case h:return k?m(1,0):m(31,11);case f:return k?m(1,p):m(0,p+1);case e:var s=this.$locale().weekStart||0,u=(o<s?o+7:o)-s;return m(k?q-u:q+(6-u),p);case"day":case i:return n(r+"Hours",0);case d:return n(r+"Minutes",1);case c:return n(r+"Seconds",2);case b:return n(r+"Milliseconds",3);default:return this.clone()}},n.endOf=function(a){return this.startOf(a,!1)},n.$set=function(e,g){var j,k=t.p(e),l="set"+(this.$u?"UTC":""),m=((j={}).day=l+"Date",j[i]=l+"Date",j[f]=l+"Month",j[h]=l+"FullYear",j[d]=l+"Hours",j[c]=l+"Minutes",j[b]=l+"Seconds",j[a]=l+"Milliseconds",j)[k],n="day"===k?this.$D+(g-this.$W):g;if(k===f||k===h){var o=this.clone().set(i,1);o.$d[m](n),o.init(),this.$d=o.set(i,Math.min(this.$D,o.daysInMonth())).$d}else m&&this.$d[m](n);return this.init(),this},n.set=function(a,b){return this.clone().$set(a,b)},n.get=function(a){return this[t.p(a)]()},n.add=function(a,g){var i,j=this;a=Number(a);var k=t.p(g),l=function(b){var c=s(j);return t.w(c.date(c.date()+Math.round(b*a)),j)};if(k===f)return this.set(f,this.$M+a);if(k===h)return this.set(h,this.$y+a);if("day"===k)return l(1);if(k===e)return l(7);var m=((i={})[c]=6e4,i[d]=36e5,i[b]=1e3,i)[k]||1,n=this.$d.getTime()+a*m;return t.w(n,this)},n.subtract=function(a,b){return this.add(-1*a,b)},n.format=function(a){var b=this,c=this.$locale();if(!this.isValid())return c.invalidDate||j;var d=a||"YYYY-MM-DDTHH:mm:ssZ",e=t.z(this),f=this.$H,g=this.$m,h=this.$M,i=c.weekdays,k=c.months,m=c.meridiem,n=function(a,c,e,f){return a&&(a[c]||a(b,d))||e[c].slice(0,f)},o=function(a){return t.s(f%12||12,a,"0")},p=m||function(a,b,c){var d=a<12?"AM":"PM";return c?d.toLowerCase():d};return d.replace(l,function(a,d){return d||function(a){switch(a){case"YY":return String(b.$y).slice(-2);case"YYYY":return t.s(b.$y,4,"0");case"M":return h+1;case"MM":return t.s(h+1,2,"0");case"MMM":return n(c.monthsShort,h,k,3);case"MMMM":return n(k,h);case"D":return b.$D;case"DD":return t.s(b.$D,2,"0");case"d":return String(b.$W);case"dd":return n(c.weekdaysMin,b.$W,i,2);case"ddd":return n(c.weekdaysShort,b.$W,i,3);case"dddd":return i[b.$W];case"H":return String(f);case"HH":return t.s(f,2,"0");case"h":return o(1);case"hh":return o(2);case"a":return p(f,g,!0);case"A":return p(f,g,!1);case"m":return String(g);case"mm":return t.s(g,2,"0");case"s":return String(b.$s);case"ss":return t.s(b.$s,2,"0");case"SSS":return t.s(b.$ms,3,"0");case"Z":return e}return null}(a)||e.replace(":","")})},n.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},n.diff=function(a,i,j){var k,l=this,m=t.p(i),n=s(a),o=(n.utcOffset()-this.utcOffset())*6e4,p=this-n,q=function(){return t.m(l,n)};switch(m){case h:k=q()/12;break;case f:k=q();break;case g:k=q()/3;break;case e:k=(p-o)/6048e5;break;case"day":k=(p-o)/864e5;break;case d:k=p/36e5;break;case c:k=p/6e4;break;case b:k=p/1e3;break;default:k=p}return j?k:t.a(k)},n.daysInMonth=function(){return this.endOf(f).$D},n.$locale=function(){return o[this.$L]},n.locale=function(a,b){if(!a)return this.$L;var c=this.clone(),d=r(a,b,!0);return d&&(c.$L=d),c},n.clone=function(){return t.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},m}(),v=u.prototype;return s.prototype=v,[["$ms",a],["$s",b],["$m",c],["$H",d],["$W","day"],["$M",f],["$y",h],["$D",i]].forEach(function(a){v[a[1]]=function(b){return this.$g(b,a[0],a[1])}}),s.extend=function(a,b){return a.$i||(a(b,u,s),a.$i=!0),s},s.locale=r,s.isDayjs=q,s.unix=function(a){return s(1e3*a)},s.en=o[n],s.Ls=o,s.p={},s}()},37785:function(a,b,c){"use strict";var d=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(b,"__esModule",{value:!0}),b.getKeyIndexes=b.hasFlag=b.exists=b.list=void 0;let e=d(c(71686));b.list=Object.keys(e.default);let f={};function g(a){"string"!=typeof a&&(a=String(a));let b=a.indexOf("->");return -1===b?a.length:b}b.list.forEach(a=>{f[a]=e.default[a].flags.reduce(function(a,b){return a[b]=!0,a},{})}),b.exists=function(a,b){return a=(null==b?void 0:b.caseInsensitive)?String(a).toLowerCase():a,!!e.default[a]},b.hasFlag=function(a,b,c){if(!f[a=(null==c?void 0:c.nameCaseInsensitive)?String(a).toLowerCase():a])throw Error("Unknown command "+a);return!!f[a][b]},b.getKeyIndexes=function(a,b,c){a=(null==c?void 0:c.nameCaseInsensitive)?String(a).toLowerCase():a;let d=e.default[a];if(!d)throw Error("Unknown command "+a);if(!Array.isArray(b))throw Error("Expect args to be an array");let f=[],h=!!(c&&c.parseExternalKey),i=(a,b)=>{let c=[],d=Number(a[b]);for(let a=0;a<d;a++)c.push(a+b+1);return c},j=(a,b,c)=>{for(let d=b;d<a.length-1;d+=1)if(String(a[d]).toLowerCase()===c.toLowerCase())return d+1;return null};switch(a){case"zunionstore":case"zinterstore":case"zdiffstore":f.push(0,...i(b,1));break;case"eval":case"evalsha":case"eval_ro":case"evalsha_ro":case"fcall":case"fcall_ro":case"blmpop":case"bzmpop":f.push(...i(b,1));break;case"sintercard":case"lmpop":case"zunion":case"zinter":case"zmpop":case"zintercard":case"zdiff":f.push(...i(b,0));break;case"georadius":{f.push(0);let a=j(b,5,"STORE");a&&f.push(a);let c=j(b,5,"STOREDIST");c&&f.push(c);break}case"georadiusbymember":{f.push(0);let a=j(b,4,"STORE");a&&f.push(a);let c=j(b,4,"STOREDIST");c&&f.push(c);break}case"sort":case"sort_ro":f.push(0);for(let a=1;a<b.length-1;a++){let c=b[a];if("string"!=typeof c)continue;let d=c.toUpperCase();"GET"===d?(a+=1,"#"!==(c=b[a])&&(h?f.push([a,g(c)]):f.push(a))):"BY"===d?(a+=1,h?f.push([a,g(b[a])]):f.push(a)):"STORE"===d&&(a+=1,f.push(a))}break;case"migrate":if(""===b[2])for(let a=5;a<b.length-1;a++){let c=b[a];if("string"==typeof c&&"KEYS"===c.toUpperCase()){for(let c=a+1;c<b.length;c++)f.push(c);break}}else f.push(2);break;case"xreadgroup":case"xread":for(let c=3*("xread"!==a);c<b.length-1;c++)if("STREAMS"===String(b[c]).toUpperCase()){for(let a=c+1;a<=c+(b.length-1-c)/2;a++)f.push(a);break}break;default:if(d.step>0){let a=d.keyStart-1,c=d.keyStop>0?d.keyStop:b.length+d.keyStop+1;for(let b=a;b<c;b+=d.step)f.push(b)}}return f}},38055:(a,b,c)=>{"use strict";function d(){return[]}function e(a){return null==a?d:function(){return this.querySelectorAll(a)}}c.d(b,{A:()=>e})},38192:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),function(a,b){Object.keys(a).forEach(function(c){"default"===c||Object.prototype.hasOwnProperty.call(b,c)||Object.defineProperty(b,c,{enumerable:!0,get:function(){return a[c]}})})}(c(68733),b)},38400:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(12500),e=Object.create,f=function(){function a(){}return function(b){if(!(0,d.A)(b))return{};if(e)return e(b);a.prototype=b;var c=new a;return a.prototype=void 0,c}}(),g=c(84672),h=c(62190);let i=function(a){return"function"!=typeof a.constructor||(0,h.A)(a)?{}:f((0,g.A)(a))}},40092:(a,b,c)=>{"use strict";c.d(b,{l:()=>d});let d=a=>a},40162:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(31001),e=c(27655);let f=function(a){return(0,e.A)(a)&&(0,d.A)(a)}},40343:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{INTERNALS:function(){return h},NextRequest:function(){return i}});let d=c(10959),e=c(63279),f=c(83934),g=c(43313),h=Symbol("internal request");class i extends Request{constructor(a,b={}){let c="string"!=typeof a&&"url"in a?a.url:String(a);(0,e.validateURL)(c),b.body&&"half"!==b.duplex&&(b.duplex="half"),a instanceof Request?super(a,b):super(c,b);let f=new d.NextURL(c,{headers:(0,e.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:b.nextConfig});this[h]={cookies:new g.RequestCookies(this.headers),nextUrl:f,url:f.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[h].cookies}get nextUrl(){return this[h].nextUrl}get page(){throw new f.RemovedPageError}get ua(){throw new f.RemovedUAError}get url(){return this[h].url}}},40381:(a,b,c)=>{"use strict";c.d(b,{O:()=>as});var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I=c(50022);class J extends I.y{constructor(a){super("Invalid style definition",a),this.name="StyleValidationError"}}let K=function(){let a=Function.prototype.call.bind(Object.prototype.hasOwnProperty),b=a=>/[\uD800-\uDFFF]/.test(a)?[...a].length:a.length,c=RegExp("^https?:\\/\\/","u"),d=function a(d){a.errors=null;let e=0;if("string"!=typeof d)null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),e++;else{let f=e;d.length>2048&&b(d)>2048&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),e++),e===f&&!c.test(d)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/pattern",instanceLocation:"#"}),e++)}return 0===e},e=({keywordLocation:a,instanceLocation:b},c,d)=>({keywordLocation:`${c}${a.slice(1)}`,instanceLocation:`${d}${b.slice(1)}`}),f=a=>/~\//.test(a)?`${a}`.replace(/~/g,"~0").replace(/\//g,"~1"):a,g=RegExp("[uU][rR][lL]\\s*\\(\\s*[^#)\\s]","u"),h=RegExp("[eE][xX][pP][rR][eE][sS][sS][iI][oO][nN]\\s*\\(","u"),i=RegExp("[bB][eE][hH][aA][vV][iI][oO][rR]\\s*:","u"),j=RegExp("-[mM][oO][zZ]-[bB][iI][nN][dD][iI][nN][gG]","u"),k=RegExp("[jJ][aA][vV][aA][sS][cC][rR][iI][pP][tT]\\s*:","u"),l=RegExp("[vV][bB][sS][cC][rR][iI][pP][tT]\\s*:","u"),m=RegExp("\\\\","u"),n=function a(c){a.errors=null;let d=0;return"string"!=typeof c?(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++):(c.length>16384&&b(c)>16384&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),d++),(()=>{let a,b=0,d=null;if(a=0,!g.test(c)&&(null===d&&(d=[]),d.push({keywordLocation:"#/not/anyOf/0/pattern",instanceLocation:"#"}),a++),0!==a){let a;if(a=0,!h.test(c)&&(null===d&&(d=[]),d.push({keywordLocation:"#/not/anyOf/1/pattern",instanceLocation:"#"}),a++),0!==a){let a;if(a=0,!i.test(c)&&(null===d&&(d=[]),d.push({keywordLocation:"#/not/anyOf/2/pattern",instanceLocation:"#"}),a++),0!==a){let a;if(a=0,!j.test(c)&&(null===d&&(d=[]),d.push({keywordLocation:"#/not/anyOf/3/pattern",instanceLocation:"#"}),a++),0!==a){let a;if(a=0,!k.test(c)&&(null===d&&(d=[]),d.push({keywordLocation:"#/not/anyOf/4/pattern",instanceLocation:"#"}),a++),0!==a){let a;if(a=0,!l.test(c)&&(null===d&&(d=[]),d.push({keywordLocation:"#/not/anyOf/5/pattern",instanceLocation:"#"}),a++),0!==a){let a;a=0,!m.test(c)&&(null===d&&(d=[]),d.push({keywordLocation:"#/not/anyOf/6/pattern",instanceLocation:"#"}),a++),0!==a&&b++}}}}}}return 0===b})()&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/not",instanceLocation:"#"}),d++)),0===d},o=function a(c){a.errors=null;let d=0;if("string"!=typeof c)null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;else{c.length>1024&&b(c)>1024&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),d++);let f=a.errors,g=n(c),h=n.errors;a.errors=f,!g&&(null===a.errors&&(a.errors=[]),a.errors.push(...h.map(a=>e(a,"#/allOf/0/$ref","#"))),d++)}return 0===d},p=RegExp("^[a-z][a-zA-Z0-9]*$","u"),q=function a(c){a.errors=null;let d=0;if("string"!=typeof c)null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;else{let e=d;c.length>64&&b(c)>64&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),d++),d===e&&!p.test(c)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/pattern",instanceLocation:"#"}),d++)}return 0===d},r=function a(b){a.errors=null;let c=0,d=a.errors,f=q(b),g=q.errors;return a.errors=d,!f&&(null===a.errors&&(a.errors=[]),a.errors.push(...g.map(a=>e(a,"#/allOf/0/$ref","#"))),c++),0===c},s=function b(c){b.errors=null;let d=0,g=null;return!(()=>{let a=0,d=b.errors,f=o(c),g=o.errors;return b.errors=d,!f&&(null===b.errors&&(b.errors=[]),b.errors.push(...g.map(a=>e(a,"#/anyOf/0/$ref","#"))),a++),0===a})()&&!(()=>{let d=0;if("object"==typeof c&&c&&!Array.isArray(c)){if(!(void 0!==c.type&&a(c,"type"))&&(null===g&&(g=[]),g.push({keywordLocation:"#/anyOf/1/required",instanceLocation:"#/type"}),d++),!(void 0!==c.name&&a(c,"name"))&&(null===g&&(g=[]),g.push({keywordLocation:"#/anyOf/1/required",instanceLocation:"#/name"}),d++),void 0!==c.type&&a(c,"type")&&"color"!==c.type&&(null===g&&(g=[]),g.push({keywordLocation:"#/anyOf/1/properties/type/const",instanceLocation:"#/type"}),d++),void 0!==c.name&&a(c,"name")){let a=b.errors,f=r(c.name),g=r.errors;b.errors=a,!f&&(null===b.errors&&(b.errors=[]),b.errors.push(...g.map(a=>e(a,"#/anyOf/1/properties/name/$ref","#/name"))),d++)}for(let a of Object.keys(c))"type"!==a&&"name"!==a&&(null===g&&(g=[]),g.push({keywordLocation:"#/anyOf/1/additionalProperties",instanceLocation:"#/"+f(a)}),d++)}else null===g&&(g=[]),g.push({keywordLocation:"#/anyOf/1/type",instanceLocation:"#"}),d++;return 0===d})()&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/anyOf",instanceLocation:"#"}),g&&b.errors.push(...g),d++),0===d},t=function a(c){a.errors=null;let d=0;if("string"!=typeof c)null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;else{c.length>16384&&b(c)>16384&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),d++);let f=a.errors,g=n(c),h=n.errors;a.errors=f,!g&&(null===a.errors&&(a.errors=[]),a.errors.push(...h.map(a=>e(a,"#/allOf/0/$ref","#"))),d++)}return 0===d},u=RegExp("^#[a-zA-Z_][a-zA-Z0-9_.-]*$","u"),v=RegExp("^data:image\\/(png|gif|jpeg|webp|avif);base64,[a-zA-Z0-9+/=]+$","u"),w=RegExp("@[iI][mM][pP][oO][rR][tT]","u"),x=RegExp("@[fF][oO][nN][tT]-[fF][aA][cC][eE]","u"),y=RegExp("@[dD][oO][cC][uU][mM][eE][nN][tT]","u"),z=RegExp("@[cC][hH][aA][rR][sS][eE][tT]","u"),A=function a(c){a.errors=null;let d=0;if("string"!=typeof c)null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;else{c.length>4096&&b(c)>4096&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),d++),(()=>{let a,b=0,d=null;if(a=0,!w.test(c)&&(null===d&&(d=[]),d.push({keywordLocation:"#/not/anyOf/0/pattern",instanceLocation:"#"}),a++),0!==a){let a;if(a=0,!x.test(c)&&(null===d&&(d=[]),d.push({keywordLocation:"#/not/anyOf/1/pattern",instanceLocation:"#"}),a++),0!==a){let a;if(a=0,!y.test(c)&&(null===d&&(d=[]),d.push({keywordLocation:"#/not/anyOf/2/pattern",instanceLocation:"#"}),a++),0!==a){let a;a=0,!z.test(c)&&(null===d&&(d=[]),d.push({keywordLocation:"#/not/anyOf/3/pattern",instanceLocation:"#"}),a++),0!==a&&b++}}}return 0===b})()&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/not",instanceLocation:"#"}),d++);let f=a.errors,g=n(c),h=n.errors;a.errors=f,!g&&(null===a.errors&&(a.errors=[]),a.errors.push(...h.map(a=>e(a,"#/allOf/0/$ref","#"))),d++)}return 0===d},B=function c(d){c.errors=null;let g=0;if("object"==typeof d&&d&&!Array.isArray(d)){if(void 0!==d["alignment-baseline"]&&a(d,"alignment-baseline")){let a=c.errors,b=o(d["alignment-baseline"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/alignment-baseline/$ref","#/alignment-baseline"))),g++)}if(void 0!==d.amplitude&&a(d,"amplitude")){let a=c.errors,b=o(d.amplitude),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/amplitude/$ref","#/amplitude"))),g++)}if(void 0!==d.azimuth&&a(d,"azimuth")){let a=c.errors,b=o(d.azimuth),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/azimuth/$ref","#/azimuth"))),g++)}if(void 0!==d.baseFrequency&&a(d,"baseFrequency")){let a=c.errors,b=o(d.baseFrequency),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/baseFrequency/$ref","#/baseFrequency"))),g++)}if(void 0!==d["baseline-shift"]&&a(d,"baseline-shift")){let a=c.errors,b=o(d["baseline-shift"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/baseline-shift/$ref","#/baseline-shift"))),g++)}if(void 0!==d.bias&&a(d,"bias")){let a=c.errors,b=o(d.bias),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/bias/$ref","#/bias"))),g++)}if(void 0!==d.class&&a(d,"class")){let a=c.errors,b=o(d.class),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/class/$ref","#/class"))),g++)}if(void 0!==d.clipPathUnits&&a(d,"clipPathUnits")){let a=c.errors,b=o(d.clipPathUnits),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/clipPathUnits/$ref","#/clipPathUnits"))),g++)}if(void 0!==d["clip-path"]&&a(d,"clip-path")){let a=c.errors,b=o(d["clip-path"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/clip-path/$ref","#/clip-path"))),g++)}if(void 0!==d["clip-rule"]&&a(d,"clip-rule")){let a=c.errors,b=o(d["clip-rule"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/clip-rule/$ref","#/clip-rule"))),g++)}if(void 0!==d.color&&a(d,"color")){let a=c.errors,b=s(d.color),f=s.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/color/$ref","#/color"))),g++)}if(void 0!==d["color-interpolation"]&&a(d,"color-interpolation")){let a=c.errors,b=o(d["color-interpolation"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/color-interpolation/$ref","#/color-interpolation"))),g++)}if(void 0!==d["color-interpolation-filters"]&&a(d,"color-interpolation-filters")){let a=c.errors,b=o(d["color-interpolation-filters"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/color-interpolation-filters/$ref","#/color-interpolation-filters"))),g++)}if(void 0!==d.crossorigin&&a(d,"crossorigin")){let a=c.errors,b=o(d.crossorigin),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/crossorigin/$ref","#/crossorigin"))),g++)}if(void 0!==d.cx&&a(d,"cx")){let a=c.errors,b=o(d.cx),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/cx/$ref","#/cx"))),g++)}if(void 0!==d.cy&&a(d,"cy")){let a=c.errors,b=o(d.cy),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/cy/$ref","#/cy"))),g++)}if(void 0!==d.d&&a(d,"d")){let a=c.errors,b=t(d.d),f=t.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/d/$ref","#/d"))),g++)}if(void 0!==d.decoding&&a(d,"decoding")){let a=c.errors,b=o(d.decoding),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/decoding/$ref","#/decoding"))),g++)}if(void 0!==d.diffuseConstant&&a(d,"diffuseConstant")){let a=c.errors,b=o(d.diffuseConstant),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/diffuseConstant/$ref","#/diffuseConstant"))),g++)}if(void 0!==d.direction&&a(d,"direction")){let a=c.errors,b=o(d.direction),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/direction/$ref","#/direction"))),g++)}if(void 0!==d.display&&a(d,"display")){let a=c.errors,b=o(d.display),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/display/$ref","#/display"))),g++)}if(void 0!==d.divisor&&a(d,"divisor")){let a=c.errors,b=o(d.divisor),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/divisor/$ref","#/divisor"))),g++)}if(void 0!==d["dominant-baseline"]&&a(d,"dominant-baseline")){let a=c.errors,b=o(d["dominant-baseline"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/dominant-baseline/$ref","#/dominant-baseline"))),g++)}if(void 0!==d.dx&&a(d,"dx")){let a=c.errors,b=o(d.dx),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/dx/$ref","#/dx"))),g++)}if(void 0!==d.dy&&a(d,"dy")){let a=c.errors,b=o(d.dy),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/dy/$ref","#/dy"))),g++)}if(void 0!==d.edgeMode&&a(d,"edgeMode")){let a=c.errors,b=o(d.edgeMode),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/edgeMode/$ref","#/edgeMode"))),g++)}if(void 0!==d.elevation&&a(d,"elevation")){let a=c.errors,b=o(d.elevation),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/elevation/$ref","#/elevation"))),g++)}if(void 0!==d.exponent&&a(d,"exponent")){let a=c.errors,b=o(d.exponent),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/exponent/$ref","#/exponent"))),g++)}if(void 0!==d.fill&&a(d,"fill")){let a=c.errors,b=s(d.fill),f=s.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/fill/$ref","#/fill"))),g++)}if(void 0!==d["fill-opacity"]&&a(d,"fill-opacity")){let a=c.errors,b=o(d["fill-opacity"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/fill-opacity/$ref","#/fill-opacity"))),g++)}if(void 0!==d["fill-rule"]&&a(d,"fill-rule")){let a=c.errors,b=o(d["fill-rule"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/fill-rule/$ref","#/fill-rule"))),g++)}if(void 0!==d.filter&&a(d,"filter")){let a=c.errors,b=o(d.filter),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/filter/$ref","#/filter"))),g++)}if(void 0!==d.filterUnits&&a(d,"filterUnits")){let a=c.errors,b=o(d.filterUnits),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/filterUnits/$ref","#/filterUnits"))),g++)}if(void 0!==d["flood-color"]&&a(d,"flood-color")){let a=c.errors,b=s(d["flood-color"]),f=s.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/flood-color/$ref","#/flood-color"))),g++)}if(void 0!==d["flood-opacity"]&&a(d,"flood-opacity")){let a=c.errors,b=o(d["flood-opacity"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/flood-opacity/$ref","#/flood-opacity"))),g++)}if(void 0!==d["font-family"]&&a(d,"font-family")){let b=null;!(()=>{let a=0,b=c.errors,f=o(d["font-family"]),g=o.errors;return c.errors=b,!f&&(null===c.errors&&(c.errors=[]),c.errors.push(...g.map(a=>e(a,"#/properties/font-family/anyOf/0/$ref","#/font-family"))),a++),0===a})()&&!(()=>{let c=0;if("object"==typeof d["font-family"]&&d["font-family"]&&!Array.isArray(d["font-family"]))for(let e of(!(void 0!==d["font-family"].type&&a(d["font-family"],"type"))&&(null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-family/anyOf/1/required",instanceLocation:"#/font-family/type"}),c++),!(void 0!==d["font-family"].name&&a(d["font-family"],"name"))&&(null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-family/anyOf/1/required",instanceLocation:"#/font-family/name"}),c++),void 0!==d["font-family"].type&&a(d["font-family"],"type")&&"variable"!==d["font-family"].type&&(null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-family/anyOf/1/properties/type/const",instanceLocation:"#/font-family/type"}),c++),void 0!==d["font-family"].name&&a(d["font-family"],"name")&&"fontFamily"!==d["font-family"].name&&(null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-family/anyOf/1/properties/name/const",instanceLocation:"#/font-family/name"}),c++),Object.keys(d["font-family"])))"type"!==e&&"name"!==e&&(null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-family/anyOf/1/additionalProperties",instanceLocation:"#/font-family/"+f(e)}),c++);else null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-family/anyOf/1/type",instanceLocation:"#/font-family"}),c++;return 0===c})()&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/font-family/anyOf",instanceLocation:"#/font-family"}),b&&c.errors.push(...b),g++)}if(void 0!==d["font-size"]&&a(d,"font-size")){let a=c.errors,b=o(d["font-size"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/font-size/$ref","#/font-size"))),g++)}if(void 0!==d["font-size-adjust"]&&a(d,"font-size-adjust")){let a=c.errors,b=o(d["font-size-adjust"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/font-size-adjust/$ref","#/font-size-adjust"))),g++)}if(void 0!==d["font-style"]&&a(d,"font-style")){let a=c.errors,b=o(d["font-style"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/font-style/$ref","#/font-style"))),g++)}if(void 0!==d["font-variant"]&&a(d,"font-variant")){let a=c.errors,b=o(d["font-variant"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/font-variant/$ref","#/font-variant"))),g++)}if(void 0!==d["font-weight"]&&a(d,"font-weight")){let b=null;!(()=>{let a=0,b=c.errors,f=o(d["font-weight"]),g=o.errors;return c.errors=b,!f&&(null===c.errors&&(c.errors=[]),c.errors.push(...g.map(a=>e(a,"#/properties/font-weight/anyOf/0/$ref","#/font-weight"))),a++),0===a})()&&!(()=>{let c=0;if("object"==typeof d["font-weight"]&&d["font-weight"]&&!Array.isArray(d["font-weight"]))for(let e of(!(void 0!==d["font-weight"].type&&a(d["font-weight"],"type"))&&(null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-weight/anyOf/1/required",instanceLocation:"#/font-weight/type"}),c++),!(void 0!==d["font-weight"].name&&a(d["font-weight"],"name"))&&(null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-weight/anyOf/1/required",instanceLocation:"#/font-weight/name"}),c++),void 0!==d["font-weight"].type&&a(d["font-weight"],"type")&&"variable"!==d["font-weight"].type&&(null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-weight/anyOf/1/properties/type/const",instanceLocation:"#/font-weight/type"}),c++),void 0!==d["font-weight"].name&&a(d["font-weight"],"name")&&"fontWeight"!==d["font-weight"].name&&(null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-weight/anyOf/1/properties/name/const",instanceLocation:"#/font-weight/name"}),c++),Object.keys(d["font-weight"])))"type"!==e&&"name"!==e&&(null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-weight/anyOf/1/additionalProperties",instanceLocation:"#/font-weight/"+f(e)}),c++);else null===b&&(b=[]),b.push({keywordLocation:"#/properties/font-weight/anyOf/1/type",instanceLocation:"#/font-weight"}),c++;return 0===c})()&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/font-weight/anyOf",instanceLocation:"#/font-weight"}),b&&c.errors.push(...b),g++)}if(void 0!==d.fx&&a(d,"fx")){let a=c.errors,b=o(d.fx),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/fx/$ref","#/fx"))),g++)}if(void 0!==d.fy&&a(d,"fy")){let a=c.errors,b=o(d.fy),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/fy/$ref","#/fy"))),g++)}if(void 0!==d.gradientTransform&&a(d,"gradientTransform")){let a=c.errors,b=o(d.gradientTransform),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/gradientTransform/$ref","#/gradientTransform"))),g++)}if(void 0!==d.gradientUnits&&a(d,"gradientUnits")){let a=c.errors,b=o(d.gradientUnits),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/gradientUnits/$ref","#/gradientUnits"))),g++)}if(void 0!==d.height&&a(d,"height")){let a=c.errors,b=o(d.height),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/height/$ref","#/height"))),g++)}if(void 0!==d.href&&a(d,"href")){let a=null;!(()=>{let c=0;if("string"!=typeof d.href)null===a&&(a=[]),a.push({keywordLocation:"#/properties/href/anyOf/0/type",instanceLocation:"#/href"}),c++;else{let e=c;d.href.length>128&&b(d.href)>128&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/href/anyOf/0/maxLength",instanceLocation:"#/href"}),c++),c===e&&!u.test(d.href)&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/href/anyOf/0/pattern",instanceLocation:"#/href"}),c++)}return 0===c})()&&!(()=>{let c=0;if("string"!=typeof d.href)null===a&&(a=[]),a.push({keywordLocation:"#/properties/href/anyOf/1/type",instanceLocation:"#/href"}),c++;else{let e=c;d.href.length>262144&&b(d.href)>262144&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/href/anyOf/1/maxLength",instanceLocation:"#/href"}),c++),c===e&&!v.test(d.href)&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/href/anyOf/1/pattern",instanceLocation:"#/href"}),c++)}return 0===c})()&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/href/anyOf",instanceLocation:"#/href"}),a&&c.errors.push(...a),g++)}if(void 0!==d.id&&a(d,"id")){let a=c.errors,b=o(d.id),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/id/$ref","#/id"))),g++)}if(void 0!==d["image-rendering"]&&a(d,"image-rendering")){let a=c.errors,b=o(d["image-rendering"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/image-rendering/$ref","#/image-rendering"))),g++)}if(void 0!==d.in&&a(d,"in")){let a=c.errors,b=o(d.in),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/in/$ref","#/in"))),g++)}if(void 0!==d.in2&&a(d,"in2")){let a=c.errors,b=o(d.in2),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/in2/$ref","#/in2"))),g++)}if(void 0!==d.intercept&&a(d,"intercept")){let a=c.errors,b=o(d.intercept),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/intercept/$ref","#/intercept"))),g++)}if(void 0!==d.k1&&a(d,"k1")){let a=c.errors,b=o(d.k1),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/k1/$ref","#/k1"))),g++)}if(void 0!==d.k2&&a(d,"k2")){let a=c.errors,b=o(d.k2),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/k2/$ref","#/k2"))),g++)}if(void 0!==d.k3&&a(d,"k3")){let a=c.errors,b=o(d.k3),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/k3/$ref","#/k3"))),g++)}if(void 0!==d.k4&&a(d,"k4")){let a=c.errors,b=o(d.k4),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/k4/$ref","#/k4"))),g++)}if(void 0!==d.kernelMatrix&&a(d,"kernelMatrix")){let a=c.errors,b=o(d.kernelMatrix),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/kernelMatrix/$ref","#/kernelMatrix"))),g++)}if(void 0!==d.kernelUnitLength&&a(d,"kernelUnitLength")){let a=c.errors,b=o(d.kernelUnitLength),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/kernelUnitLength/$ref","#/kernelUnitLength"))),g++)}if(void 0!==d.lang&&a(d,"lang")){let a=c.errors,b=o(d.lang),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/lang/$ref","#/lang"))),g++)}if(void 0!==d.lengthAdjust&&a(d,"lengthAdjust")){let a=c.errors,b=o(d.lengthAdjust),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/lengthAdjust/$ref","#/lengthAdjust"))),g++)}if(void 0!==d["letter-spacing"]&&a(d,"letter-spacing")){let a=c.errors,b=o(d["letter-spacing"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/letter-spacing/$ref","#/letter-spacing"))),g++)}if(void 0!==d["lighting-color"]&&a(d,"lighting-color")){let a=c.errors,b=s(d["lighting-color"]),f=s.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/lighting-color/$ref","#/lighting-color"))),g++)}if(void 0!==d["marker-end"]&&a(d,"marker-end")){let a=c.errors,b=o(d["marker-end"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/marker-end/$ref","#/marker-end"))),g++)}if(void 0!==d["marker-mid"]&&a(d,"marker-mid")){let a=c.errors,b=o(d["marker-mid"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/marker-mid/$ref","#/marker-mid"))),g++)}if(void 0!==d["marker-start"]&&a(d,"marker-start")){let a=c.errors,b=o(d["marker-start"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/marker-start/$ref","#/marker-start"))),g++)}if(void 0!==d.markerHeight&&a(d,"markerHeight")){let a=c.errors,b=o(d.markerHeight),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/markerHeight/$ref","#/markerHeight"))),g++)}if(void 0!==d.markerUnits&&a(d,"markerUnits")){let a=c.errors,b=o(d.markerUnits),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/markerUnits/$ref","#/markerUnits"))),g++)}if(void 0!==d.markerWidth&&a(d,"markerWidth")){let a=c.errors,b=o(d.markerWidth),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/markerWidth/$ref","#/markerWidth"))),g++)}if(void 0!==d.mask&&a(d,"mask")){let a=c.errors,b=o(d.mask),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/mask/$ref","#/mask"))),g++)}if(void 0!==d.maskContentUnits&&a(d,"maskContentUnits")){let a=c.errors,b=o(d.maskContentUnits),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/maskContentUnits/$ref","#/maskContentUnits"))),g++)}if(void 0!==d.maskUnits&&a(d,"maskUnits")){let a=c.errors,b=o(d.maskUnits),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/maskUnits/$ref","#/maskUnits"))),g++)}if(void 0!==d.media&&a(d,"media")){let a=c.errors,b=o(d.media),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/media/$ref","#/media"))),g++)}if(void 0!==d.method&&a(d,"method")){let a=c.errors,b=o(d.method),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/method/$ref","#/method"))),g++)}if(void 0!==d.mode&&a(d,"mode")){let a=c.errors,b=o(d.mode),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/mode/$ref","#/mode"))),g++)}if(void 0!==d.numOctaves&&a(d,"numOctaves")){let a=c.errors,b=o(d.numOctaves),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/numOctaves/$ref","#/numOctaves"))),g++)}if(void 0!==d.offset&&a(d,"offset")){let a=c.errors,b=o(d.offset),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/offset/$ref","#/offset"))),g++)}if(void 0!==d.opacity&&a(d,"opacity")){let a=c.errors,b=o(d.opacity),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/opacity/$ref","#/opacity"))),g++)}if(void 0!==d.operator&&a(d,"operator")){let a=c.errors,b=o(d.operator),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/operator/$ref","#/operator"))),g++)}if(void 0!==d.order&&a(d,"order")){let a=c.errors,b=o(d.order),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/order/$ref","#/order"))),g++)}if(void 0!==d.orient&&a(d,"orient")){let a=c.errors,b=o(d.orient),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/orient/$ref","#/orient"))),g++)}if(void 0!==d.overflow&&a(d,"overflow")){let a=c.errors,b=o(d.overflow),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/overflow/$ref","#/overflow"))),g++)}if(void 0!==d["paint-order"]&&a(d,"paint-order")){let a=c.errors,b=o(d["paint-order"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/paint-order/$ref","#/paint-order"))),g++)}if(void 0!==d.path&&a(d,"path")){let a=c.errors,b=o(d.path),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/path/$ref","#/path"))),g++)}if(void 0!==d.pathLength&&a(d,"pathLength")){let a=c.errors,b=o(d.pathLength),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/pathLength/$ref","#/pathLength"))),g++)}if(void 0!==d.patternContentUnits&&a(d,"patternContentUnits")){let a=c.errors,b=o(d.patternContentUnits),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/patternContentUnits/$ref","#/patternContentUnits"))),g++)}if(void 0!==d.patternTransform&&a(d,"patternTransform")){let a=c.errors,b=o(d.patternTransform),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/patternTransform/$ref","#/patternTransform"))),g++)}if(void 0!==d.patternUnits&&a(d,"patternUnits")){let a=c.errors,b=o(d.patternUnits),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/patternUnits/$ref","#/patternUnits"))),g++)}if(void 0!==d.points&&a(d,"points")){let a=c.errors,b=o(d.points),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/points/$ref","#/points"))),g++)}if(void 0!==d.preserveAlpha&&a(d,"preserveAlpha")){let a=c.errors,b=o(d.preserveAlpha),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/preserveAlpha/$ref","#/preserveAlpha"))),g++)}if(void 0!==d.preserveAspectRatio&&a(d,"preserveAspectRatio")){let a=c.errors,b=o(d.preserveAspectRatio),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/preserveAspectRatio/$ref","#/preserveAspectRatio"))),g++)}if(void 0!==d.primitiveUnits&&a(d,"primitiveUnits")){let a=c.errors,b=o(d.primitiveUnits),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/primitiveUnits/$ref","#/primitiveUnits"))),g++)}if(void 0!==d.r&&a(d,"r")){let a=c.errors,b=o(d.r),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/r/$ref","#/r"))),g++)}if(void 0!==d.radius&&a(d,"radius")){let a=c.errors,b=o(d.radius),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/radius/$ref","#/radius"))),g++)}if(void 0!==d.refX&&a(d,"refX")){let a=c.errors,b=o(d.refX),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/refX/$ref","#/refX"))),g++)}if(void 0!==d.refY&&a(d,"refY")){let a=c.errors,b=o(d.refY),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/refY/$ref","#/refY"))),g++)}if(void 0!==d.result&&a(d,"result")){let a=c.errors,b=o(d.result),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/result/$ref","#/result"))),g++)}if(void 0!==d.rx&&a(d,"rx")){let a=c.errors,b=o(d.rx),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/rx/$ref","#/rx"))),g++)}if(void 0!==d.ry&&a(d,"ry")){let a=c.errors,b=o(d.ry),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/ry/$ref","#/ry"))),g++)}if(void 0!==d.scale&&a(d,"scale")){let a=c.errors,b=o(d.scale),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/scale/$ref","#/scale"))),g++)}if(void 0!==d.seed&&a(d,"seed")){let a=c.errors,b=o(d.seed),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/seed/$ref","#/seed"))),g++)}if(void 0!==d["shape-rendering"]&&a(d,"shape-rendering")){let a=c.errors,b=o(d["shape-rendering"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/shape-rendering/$ref","#/shape-rendering"))),g++)}if(void 0!==d.slope&&a(d,"slope")){let a=c.errors,b=o(d.slope),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/slope/$ref","#/slope"))),g++)}if(void 0!==d.specularConstant&&a(d,"specularConstant")){let a=c.errors,b=o(d.specularConstant),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/specularConstant/$ref","#/specularConstant"))),g++)}if(void 0!==d.specularExponent&&a(d,"specularExponent")){let a=c.errors,b=o(d.specularExponent),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/specularExponent/$ref","#/specularExponent"))),g++)}if(void 0!==d.spreadMethod&&a(d,"spreadMethod")){let a=c.errors,b=o(d.spreadMethod),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/spreadMethod/$ref","#/spreadMethod"))),g++)}if(void 0!==d.startOffset&&a(d,"startOffset")){let a=c.errors,b=o(d.startOffset),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/startOffset/$ref","#/startOffset"))),g++)}if(void 0!==d.stdDeviation&&a(d,"stdDeviation")){let a=c.errors,b=o(d.stdDeviation),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stdDeviation/$ref","#/stdDeviation"))),g++)}if(void 0!==d.stitchTiles&&a(d,"stitchTiles")){let a=c.errors,b=o(d.stitchTiles),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stitchTiles/$ref","#/stitchTiles"))),g++)}if(void 0!==d["stop-color"]&&a(d,"stop-color")){let a=c.errors,b=s(d["stop-color"]),f=s.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stop-color/$ref","#/stop-color"))),g++)}if(void 0!==d["stop-opacity"]&&a(d,"stop-opacity")){let a=c.errors,b=o(d["stop-opacity"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stop-opacity/$ref","#/stop-opacity"))),g++)}if(void 0!==d.stroke&&a(d,"stroke")){let a=c.errors,b=s(d.stroke),f=s.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stroke/$ref","#/stroke"))),g++)}if(void 0!==d["stroke-dasharray"]&&a(d,"stroke-dasharray")){let a=c.errors,b=o(d["stroke-dasharray"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stroke-dasharray/$ref","#/stroke-dasharray"))),g++)}if(void 0!==d["stroke-dashoffset"]&&a(d,"stroke-dashoffset")){let a=c.errors,b=o(d["stroke-dashoffset"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stroke-dashoffset/$ref","#/stroke-dashoffset"))),g++)}if(void 0!==d["stroke-linecap"]&&a(d,"stroke-linecap")){let a=c.errors,b=o(d["stroke-linecap"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stroke-linecap/$ref","#/stroke-linecap"))),g++)}if(void 0!==d["stroke-linejoin"]&&a(d,"stroke-linejoin")){let a=c.errors,b=o(d["stroke-linejoin"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stroke-linejoin/$ref","#/stroke-linejoin"))),g++)}if(void 0!==d["stroke-miterlimit"]&&a(d,"stroke-miterlimit")){let a=c.errors,b=o(d["stroke-miterlimit"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stroke-miterlimit/$ref","#/stroke-miterlimit"))),g++)}if(void 0!==d["stroke-opacity"]&&a(d,"stroke-opacity")){let a=c.errors,b=o(d["stroke-opacity"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stroke-opacity/$ref","#/stroke-opacity"))),g++)}if(void 0!==d["stroke-width"]&&a(d,"stroke-width")){let a=c.errors,b=o(d["stroke-width"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/stroke-width/$ref","#/stroke-width"))),g++)}if(void 0!==d.style&&a(d,"style")){let a=c.errors,b=A(d.style),f=A.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/style/$ref","#/style"))),g++)}if(void 0!==d.surfaceScale&&a(d,"surfaceScale")){let a=c.errors,b=o(d.surfaceScale),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/surfaceScale/$ref","#/surfaceScale"))),g++)}if(void 0!==d.systemLanguage&&a(d,"systemLanguage")){let a=c.errors,b=o(d.systemLanguage),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/systemLanguage/$ref","#/systemLanguage"))),g++)}if(void 0!==d.tabindex&&a(d,"tabindex")){let a=c.errors,b=o(d.tabindex),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/tabindex/$ref","#/tabindex"))),g++)}if(void 0!==d.tableValues&&a(d,"tableValues")){let a=c.errors,b=o(d.tableValues),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/tableValues/$ref","#/tableValues"))),g++)}if(void 0!==d.targetX&&a(d,"targetX")){let a=c.errors,b=o(d.targetX),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/targetX/$ref","#/targetX"))),g++)}if(void 0!==d.targetY&&a(d,"targetY")){let a=c.errors,b=o(d.targetY),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/targetY/$ref","#/targetY"))),g++)}if(void 0!==d["text-anchor"]&&a(d,"text-anchor")){let a=c.errors,b=o(d["text-anchor"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/text-anchor/$ref","#/text-anchor"))),g++)}if(void 0!==d["text-decoration"]&&a(d,"text-decoration")){let a=c.errors,b=o(d["text-decoration"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/text-decoration/$ref","#/text-decoration"))),g++)}if(void 0!==d["text-rendering"]&&a(d,"text-rendering")){let a=c.errors,b=o(d["text-rendering"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/text-rendering/$ref","#/text-rendering"))),g++)}if(void 0!==d.textLength&&a(d,"textLength")){let a=c.errors,b=o(d.textLength),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/textLength/$ref","#/textLength"))),g++)}if(void 0!==d.transform&&a(d,"transform")){let a=c.errors,b=o(d.transform),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/transform/$ref","#/transform"))),g++)}if(void 0!==d["transform-origin"]&&a(d,"transform-origin")){let a=c.errors,b=o(d["transform-origin"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/transform-origin/$ref","#/transform-origin"))),g++)}if(void 0!==d.type&&a(d,"type")){let a=c.errors,b=o(d.type),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/type/$ref","#/type"))),g++)}if(void 0!==d.values&&a(d,"values")){let a=c.errors,b=o(d.values),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/values/$ref","#/values"))),g++)}if(void 0!==d.viewBox&&a(d,"viewBox")){let a=c.errors,b=o(d.viewBox),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/viewBox/$ref","#/viewBox"))),g++)}if(void 0!==d.visibility&&a(d,"visibility")){let a=c.errors,b=o(d.visibility),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/visibility/$ref","#/visibility"))),g++)}if(void 0!==d.width&&a(d,"width")){let a=c.errors,b=o(d.width),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/width/$ref","#/width"))),g++)}if(void 0!==d["word-spacing"]&&a(d,"word-spacing")){let a=c.errors,b=o(d["word-spacing"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/word-spacing/$ref","#/word-spacing"))),g++)}if(void 0!==d["writing-mode"]&&a(d,"writing-mode")){let a=c.errors,b=o(d["writing-mode"]),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/writing-mode/$ref","#/writing-mode"))),g++)}if(void 0!==d.x&&a(d,"x")){let a=c.errors,b=o(d.x),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/x/$ref","#/x"))),g++)}if(void 0!==d.x1&&a(d,"x1")){let a=c.errors,b=o(d.x1),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/x1/$ref","#/x1"))),g++)}if(void 0!==d.x2&&a(d,"x2")){let a=c.errors,b=o(d.x2),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/x2/$ref","#/x2"))),g++)}if(void 0!==d.xChannelSelector&&a(d,"xChannelSelector")){let a=c.errors,b=o(d.xChannelSelector),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/xChannelSelector/$ref","#/xChannelSelector"))),g++)}if(void 0!==d.y&&a(d,"y")){let a=c.errors,b=o(d.y),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/y/$ref","#/y"))),g++)}if(void 0!==d.y1&&a(d,"y1")){let a=c.errors,b=o(d.y1),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/y1/$ref","#/y1"))),g++)}if(void 0!==d.y2&&a(d,"y2")){let a=c.errors,b=o(d.y2),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/y2/$ref","#/y2"))),g++)}if(void 0!==d.yChannelSelector&&a(d,"yChannelSelector")){let a=c.errors,b=o(d.yChannelSelector),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/yChannelSelector/$ref","#/yChannelSelector"))),g++)}if(void 0!==d.z&&a(d,"z")){let a=c.errors,b=o(d.z),f=o.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/z/$ref","#/z"))),g++)}for(let a of Object.keys(d))"alignment-baseline"!==a&&"amplitude"!==a&&"azimuth"!==a&&"baseFrequency"!==a&&"baseline-shift"!==a&&"bias"!==a&&"class"!==a&&"clipPathUnits"!==a&&"clip-path"!==a&&"clip-rule"!==a&&"color"!==a&&"color-interpolation"!==a&&"color-interpolation-filters"!==a&&"crossorigin"!==a&&"cx"!==a&&"cy"!==a&&"d"!==a&&"decoding"!==a&&"diffuseConstant"!==a&&"direction"!==a&&"display"!==a&&"divisor"!==a&&"dominant-baseline"!==a&&"dx"!==a&&"dy"!==a&&"edgeMode"!==a&&"elevation"!==a&&"exponent"!==a&&"fill"!==a&&"fill-opacity"!==a&&"fill-rule"!==a&&"filter"!==a&&"filterUnits"!==a&&"flood-color"!==a&&"flood-opacity"!==a&&"font-family"!==a&&"font-size"!==a&&"font-size-adjust"!==a&&"font-style"!==a&&"font-variant"!==a&&"font-weight"!==a&&"fx"!==a&&"fy"!==a&&"gradientTransform"!==a&&"gradientUnits"!==a&&"height"!==a&&"href"!==a&&"id"!==a&&"image-rendering"!==a&&"in"!==a&&"in2"!==a&&"intercept"!==a&&"k1"!==a&&"k2"!==a&&"k3"!==a&&"k4"!==a&&"kernelMatrix"!==a&&"kernelUnitLength"!==a&&"lang"!==a&&"lengthAdjust"!==a&&"letter-spacing"!==a&&"lighting-color"!==a&&"marker-end"!==a&&"marker-mid"!==a&&"marker-start"!==a&&"markerHeight"!==a&&"markerUnits"!==a&&"markerWidth"!==a&&"mask"!==a&&"maskContentUnits"!==a&&"maskUnits"!==a&&"media"!==a&&"method"!==a&&"mode"!==a&&"numOctaves"!==a&&"offset"!==a&&"opacity"!==a&&"operator"!==a&&"order"!==a&&"orient"!==a&&"overflow"!==a&&"paint-order"!==a&&"path"!==a&&"pathLength"!==a&&"patternContentUnits"!==a&&"patternTransform"!==a&&"patternUnits"!==a&&"points"!==a&&"preserveAlpha"!==a&&"preserveAspectRatio"!==a&&"primitiveUnits"!==a&&"r"!==a&&"radius"!==a&&"refX"!==a&&"refY"!==a&&"result"!==a&&"rx"!==a&&"ry"!==a&&"scale"!==a&&"seed"!==a&&"shape-rendering"!==a&&"slope"!==a&&"specularConstant"!==a&&"specularExponent"!==a&&"spreadMethod"!==a&&"startOffset"!==a&&"stdDeviation"!==a&&"stitchTiles"!==a&&"stop-color"!==a&&"stop-opacity"!==a&&"stroke"!==a&&"stroke-dasharray"!==a&&"stroke-dashoffset"!==a&&"stroke-linecap"!==a&&"stroke-linejoin"!==a&&"stroke-miterlimit"!==a&&"stroke-opacity"!==a&&"stroke-width"!==a&&"style"!==a&&"surfaceScale"!==a&&"systemLanguage"!==a&&"tabindex"!==a&&"tableValues"!==a&&"targetX"!==a&&"targetY"!==a&&"text-anchor"!==a&&"text-decoration"!==a&&"text-rendering"!==a&&"textLength"!==a&&"transform"!==a&&"transform-origin"!==a&&"type"!==a&&"values"!==a&&"viewBox"!==a&&"visibility"!==a&&"width"!==a&&"word-spacing"!==a&&"writing-mode"!==a&&"x"!==a&&"x1"!==a&&"x2"!==a&&"xChannelSelector"!==a&&"y"!==a&&"y1"!==a&&"y2"!==a&&"yChannelSelector"!==a&&"z"!==a&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(a)}),g++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),g++;return 0===g},C=function c(d){c.errors=null;let e=0;if("object"==typeof d&&d&&!Array.isArray(d)){if(!(void 0!==d.type&&a(d,"type"))&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/required",instanceLocation:"#/type"}),e++),!(void 0!==d.value&&a(d,"value"))&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/required",instanceLocation:"#/value"}),e++),void 0!==d.type&&a(d,"type")&&"text"!==d.type&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/type/const",instanceLocation:"#/type"}),e++),void 0!==d.value&&a(d,"value")){let g,h=null;g=0,"string"!=typeof d.value?(null===h&&(h=[]),h.push({keywordLocation:"#/properties/value/anyOf/0/type",instanceLocation:"#/value"}),g++):d.value.length>4096&&b(d.value)>4096&&(null===h&&(h=[]),h.push({keywordLocation:"#/properties/value/anyOf/0/maxLength",instanceLocation:"#/value"}),g++),0!==g&&!(()=>{let b=0;if("object"==typeof d.value&&d.value&&!Array.isArray(d.value))for(let c of(!(void 0!==d.value.type&&a(d.value,"type"))&&(null===h&&(h=[]),h.push({keywordLocation:"#/properties/value/anyOf/1/required",instanceLocation:"#/value/type"}),b++),!(void 0!==d.value.name&&a(d.value,"name"))&&(null===h&&(h=[]),h.push({keywordLocation:"#/properties/value/anyOf/1/required",instanceLocation:"#/value/name"}),b++),void 0!==d.value.type&&a(d.value,"type")&&"variable"!==d.value.type&&(null===h&&(h=[]),h.push({keywordLocation:"#/properties/value/anyOf/1/properties/type/const",instanceLocation:"#/value/type"}),b++),void 0!==d.value.name&&a(d.value,"name")&&"initial"!==d.value.name&&"initials"!==d.value.name&&(null===h&&(h=[]),h.push({keywordLocation:"#/properties/value/anyOf/1/properties/name/enum",instanceLocation:"#/value/name"}),b++),Object.keys(d.value)))"type"!==c&&"name"!==c&&(null===h&&(h=[]),h.push({keywordLocation:"#/properties/value/anyOf/1/additionalProperties",instanceLocation:"#/value/"+f(c)}),b++);else null===h&&(h=[]),h.push({keywordLocation:"#/properties/value/anyOf/1/type",instanceLocation:"#/value"}),b++;return 0===b})()&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/value/anyOf",instanceLocation:"#/value"}),h&&c.errors.push(...h),e++)}for(let a of Object.keys(d))"type"!==a&&"value"!==a&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(a)}),e++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),e++;return 0===e},D=function a(b){a.errors=null;let c=0,d=a.errors,f=q(b),g=q.errors;return a.errors=d,!f&&(null===a.errors&&(a.errors=[]),a.errors.push(...g.map(a=>e(a,"#/allOf/0/$ref","#"))),c++),0===c},E=function b(c){b.errors=null;let d=0;if("object"==typeof c&&c&&!Array.isArray(c)){if(!(void 0!==c.type&&a(c,"type"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/type"}),d++),!(void 0!==c.name&&a(c,"name"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/name"}),d++),void 0!==c.type&&a(c,"type")&&"component"!==c.type&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/type/const",instanceLocation:"#/type"}),d++),void 0!==c.name&&a(c,"name")){let a=b.errors,f=D(c.name),g=D.errors;b.errors=a,!f&&(null===b.errors&&(b.errors=[]),b.errors.push(...g.map(a=>e(a,"#/properties/name/$ref","#/name"))),d++)}if(void 0!==c.attributes&&a(c,"attributes")){let a=b.errors,f=B(c.attributes),g=B.errors;b.errors=a,!f&&(null===b.errors&&(b.errors=[]),b.errors.push(...g.map(a=>e(a,"#/properties/attributes/$ref","#/attributes"))),d++)}for(let a of Object.keys(c))"type"!==a&&"name"!==a&&"attributes"!==a&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(a)}),d++)}else null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;return 0===d},F=function b(c){b.errors=null;let d=0;if("object"==typeof c&&c&&!Array.isArray(c)){if(!(void 0!==c.type&&a(c,"type"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/type"}),d++),!(void 0!==c.name&&a(c,"name"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/name"}),d++),void 0!==c.type&&a(c,"type")&&"element"!==c.type&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/type/const",instanceLocation:"#/type"}),d++),void 0!==c.name&&a(c,"name")&&"style"!==c.name&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/name/const",instanceLocation:"#/name"}),d++),void 0!==c.attributes&&a(c,"attributes")){let a=b.errors,f=B(c.attributes),g=B.errors;b.errors=a,!f&&(null===b.errors&&(b.errors=[]),b.errors.push(...g.map(a=>e(a,"#/properties/attributes/$ref","#/attributes"))),d++)}if(void 0!==c.children&&a(c,"children"))if(Array.isArray(c.children)){c.children.length>64&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/children/maxItems",instanceLocation:"#/children"}),d++);for(let g=0;g<c.children.length;g++)if(void 0!==c.children[g]&&a(c.children,g))if("object"==typeof c.children[g]&&c.children[g]&&!Array.isArray(c.children[g])){if(!(void 0!==c.children[g].type&&a(c.children[g],"type"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/children/items/required",instanceLocation:"#/children/"+g+"/type"}),d++),!(void 0!==c.children[g].value&&a(c.children[g],"value"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/children/items/required",instanceLocation:"#/children/"+g+"/value"}),d++),void 0!==c.children[g].type&&a(c.children[g],"type")&&"text"!==c.children[g].type&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/children/items/properties/type/const",instanceLocation:"#/children/"+g+"/type"}),d++),void 0!==c.children[g].value&&a(c.children[g],"value")){let a=b.errors,f=A(c.children[g].value),h=A.errors;b.errors=a,!f&&(null===b.errors&&(b.errors=[]),b.errors.push(...h.map(a=>e(a,"#/properties/children/items/properties/value/$ref","#/children/"+g+"/value"))),d++)}for(let a of Object.keys(c.children[g]))"type"!==a&&"value"!==a&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/children/items/additionalProperties",instanceLocation:"#/children/"+g+"/"+f(a)}),d++)}else null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/children/items/type",instanceLocation:"#/children/"+g}),d++}else null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/children/type",instanceLocation:"#/children"}),d++;for(let a of Object.keys(c))"type"!==a&&"name"!==a&&"attributes"!==a&&"children"!==a&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(a)}),d++)}else null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;return 0===d},G=function b(c){b.errors=null;let d=0;if("object"==typeof c&&c&&!Array.isArray(c)){if(!(void 0!==c.type&&a(c,"type"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/type"}),d++),!(void 0!==c.name&&a(c,"name"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/name"}),d++),void 0!==c.type&&a(c,"type")&&"element"!==c.type&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/type/const",instanceLocation:"#/type"}),d++),void 0!==c.name&&a(c,"name")&&"circle"!==c.name&&"clipPath"!==c.name&&"defs"!==c.name&&"desc"!==c.name&&"ellipse"!==c.name&&"feBlend"!==c.name&&"feColorMatrix"!==c.name&&"feComponentTransfer"!==c.name&&"feComposite"!==c.name&&"feConvolveMatrix"!==c.name&&"feDiffuseLighting"!==c.name&&"feDisplacementMap"!==c.name&&"feDistantLight"!==c.name&&"feDropShadow"!==c.name&&"feFlood"!==c.name&&"feFuncA"!==c.name&&"feFuncB"!==c.name&&"feFuncG"!==c.name&&"feFuncR"!==c.name&&"feGaussianBlur"!==c.name&&"feImage"!==c.name&&"feMerge"!==c.name&&"feMergeNode"!==c.name&&"feMorphology"!==c.name&&"feOffset"!==c.name&&"fePointLight"!==c.name&&"feSpecularLighting"!==c.name&&"feSpotLight"!==c.name&&"feTile"!==c.name&&"feTurbulence"!==c.name&&"filter"!==c.name&&"g"!==c.name&&"image"!==c.name&&"line"!==c.name&&"linearGradient"!==c.name&&"marker"!==c.name&&"mask"!==c.name&&"metadata"!==c.name&&"mpath"!==c.name&&"path"!==c.name&&"pattern"!==c.name&&"polygon"!==c.name&&"polyline"!==c.name&&"radialGradient"!==c.name&&"rect"!==c.name&&"stop"!==c.name&&"svg"!==c.name&&"switch"!==c.name&&"symbol"!==c.name&&"text"!==c.name&&"textPath"!==c.name&&"title"!==c.name&&"tspan"!==c.name&&"use"!==c.name&&"view"!==c.name&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/name/enum",instanceLocation:"#/name"}),d++),void 0!==c.attributes&&a(c,"attributes")){let a=b.errors,f=B(c.attributes),g=B.errors;b.errors=a,!f&&(null===b.errors&&(b.errors=[]),b.errors.push(...g.map(a=>e(a,"#/properties/attributes/$ref","#/attributes"))),d++)}if(void 0!==c.children&&a(c,"children"))if(Array.isArray(c.children)){c.children.length>1024&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/children/maxItems",instanceLocation:"#/children"}),d++);for(let f=0;f<c.children.length;f++)if(void 0!==c.children[f]&&a(c.children,f)){let a=b.errors,g=H(c.children[f]),h=H.errors;b.errors=a,!g&&(null===b.errors&&(b.errors=[]),b.errors.push(...h.map(a=>e(a,"#/properties/children/items/$ref","#/children/"+f))),d++)}}else null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/children/type",instanceLocation:"#/children"}),d++;for(let a of Object.keys(c))"type"!==a&&"name"!==a&&"attributes"!==a&&"children"!==a&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(a)}),d++)}else null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;return 0===d},H=function a(b){a.errors=null;let c=0;return(()=>{let c=0,d=a.errors,f=C(b),g=C.errors;return a.errors=d,!f&&(null===a.errors&&(a.errors=[]),a.errors.push(...g.map(a=>e(a,"#/anyOf/0/$ref","#"))),c++),0===c})()||!(()=>{let c=0,d=a.errors,f=E(b),g=E.errors;return a.errors=d,!f&&(null===a.errors&&(a.errors=[]),a.errors.push(...g.map(a=>e(a,"#/anyOf/1/$ref","#"))),c++),0===c})()&&!(()=>{let c=0,d=a.errors,f=F(b),g=F.errors;return a.errors=d,!f&&(null===a.errors&&(a.errors=[]),a.errors.push(...g.map(a=>e(a,"#/anyOf/2/$ref","#"))),c++),0===c})()&&!(()=>{let c=0,d=a.errors,f=G(b),g=G.errors;return a.errors=d,!f&&(null===a.errors&&(a.errors=[]),a.errors.push(...g.map(a=>e(a,"#/anyOf/3/$ref","#"))),c++),0===c})()&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/anyOf",instanceLocation:"#"}),c++),0===c},I=function a(b){a.errors=null;let c=0;return"number"!=typeof b?(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),c++):(!(0<=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/minimum",instanceLocation:"#"}),c++),!(100>=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maximum",instanceLocation:"#"}),c++)),0===c},J=function b(c){b.errors=null;let d=0;if("object"==typeof c&&c&&!Array.isArray(c))for(let e of(!(void 0!==c.min&&a(c,"min"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/min"}),d++),!(void 0!==c.max&&a(c,"max"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/max"}),d++),void 0!==c.min&&a(c,"min")&&("number"!=typeof c.min?(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/min/type",instanceLocation:"#/min"}),d++):(!(-360<=c.min)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/min/minimum",instanceLocation:"#/min"}),d++),!(360>=c.min)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/min/maximum",instanceLocation:"#/min"}),d++))),void 0!==c.max&&a(c,"max")&&("number"!=typeof c.max?(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/max/type",instanceLocation:"#/max"}),d++):(!(-360<=c.max)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/max/minimum",instanceLocation:"#/max"}),d++),!(360>=c.max)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/max/maximum",instanceLocation:"#/max"}),d++))),void 0!==c.step&&a(c,"step")&&("number"!=typeof c.step?(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/step/type",instanceLocation:"#/step"}),d++):(!(0<c.step)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/step/exclusiveMinimum",instanceLocation:"#/step"}),d++),!(720>=c.step)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/step/maximum",instanceLocation:"#/step"}),d++))),Object.keys(c)))"min"!==e&&"max"!==e&&"step"!==e&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(e)}),d++);else null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;return 0===d},K=function b(c){b.errors=null;let d=0;if("object"==typeof c&&c&&!Array.isArray(c))for(let e of(!(void 0!==c.min&&a(c,"min"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/min"}),d++),!(void 0!==c.max&&a(c,"max"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/max"}),d++),void 0!==c.min&&a(c,"min")&&("number"!=typeof c.min?(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/min/type",instanceLocation:"#/min"}),d++):(!(0<=c.min)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/min/minimum",instanceLocation:"#/min"}),d++),!(10>=c.min)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/min/maximum",instanceLocation:"#/min"}),d++))),void 0!==c.max&&a(c,"max")&&("number"!=typeof c.max?(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/max/type",instanceLocation:"#/max"}),d++):(!(0<=c.max)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/max/minimum",instanceLocation:"#/max"}),d++),!(10>=c.max)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/max/maximum",instanceLocation:"#/max"}),d++))),void 0!==c.step&&a(c,"step")&&("number"!=typeof c.step?(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/step/type",instanceLocation:"#/step"}),d++):(!(0<c.step)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/step/exclusiveMinimum",instanceLocation:"#/step"}),d++),!(10>=c.step)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/step/maximum",instanceLocation:"#/step"}),d++))),Object.keys(c)))"min"!==e&&"max"!==e&&"step"!==e&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(e)}),d++);else null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;return 0===d},L=function b(c){b.errors=null;let d=0;if("object"==typeof c&&c&&!Array.isArray(c))for(let e of(!(void 0!==c.min&&a(c,"min"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/min"}),d++),!(void 0!==c.max&&a(c,"max"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/max"}),d++),void 0!==c.min&&a(c,"min")&&("number"!=typeof c.min?(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/min/type",instanceLocation:"#/min"}),d++):(!(-1e3<=c.min)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/min/minimum",instanceLocation:"#/min"}),d++),!(1e3>=c.min)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/min/maximum",instanceLocation:"#/min"}),d++))),void 0!==c.max&&a(c,"max")&&("number"!=typeof c.max?(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/max/type",instanceLocation:"#/max"}),d++):(!(-1e3<=c.max)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/max/minimum",instanceLocation:"#/max"}),d++),!(1e3>=c.max)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/max/maximum",instanceLocation:"#/max"}),d++))),void 0!==c.step&&a(c,"step")&&("number"!=typeof c.step?(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/step/type",instanceLocation:"#/step"}),d++):(!(0<c.step)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/step/exclusiveMinimum",instanceLocation:"#/step"}),d++),!(2e3>=c.step)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/properties/step/maximum",instanceLocation:"#/step"}),d++))),Object.keys(c)))"min"!==e&&"max"!==e&&"step"!==e&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(e)}),d++);else null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;return 0===d},M=function b(c){b.errors=null;let d=0;if("object"==typeof c&&c&&!Array.isArray(c)){if(void 0!==c.x&&a(c,"x")){let a=b.errors,f=L(c.x),g=L.errors;b.errors=a,!f&&(null===b.errors&&(b.errors=[]),b.errors.push(...g.map(a=>e(a,"#/properties/x/$ref","#/x"))),d++)}if(void 0!==c.y&&a(c,"y")){let a=b.errors,f=L(c.y),g=L.errors;b.errors=a,!f&&(null===b.errors&&(b.errors=[]),b.errors.push(...g.map(a=>e(a,"#/properties/y/$ref","#/y"))),d++)}for(let a of Object.keys(c))"x"!==a&&"y"!==a&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(a)}),d++)}else null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;return 0===d},N=RegExp("^[a-z][a-zA-Z0-9]*(:[a-z][a-zA-Z0-9]*)?$","u"),O=a=>{if(a.length<2)return!0;if(2===a.length)return!P(a[0],a[1]);let b=[],c=a.length>20?new Set:null,d=0,e=0;for(let f of a){if("object"==typeof f)b.push(f);else if(c){if(c.add(f),c.size!==++d)return!1}else if(-1!==a.indexOf(f,e+1))return!1;e++}for(let a=1;a<b.length;a++)for(let c=0;c<a;c++)if(P(b[a],b[c]))return!1;return!0},P=(a,b)=>{if(a===b)return!0;if(!a||!b||typeof a!=typeof b||a!==b&&"object"!=typeof a)return!1;let c=Object.getPrototypeOf(a);if(c!==Object.getPrototypeOf(b))return!1;if(c===Array.prototype)return!!Array.isArray(a)&&!!Array.isArray(b)&&a.length===b.length&&a.every((a,c)=>P(a,b[c]));if(c===Object.prototype){let[c,d]=[Object.keys(a),Object.keys(b)];return c.length===d.length&&new Set([...c,...d]).size===c.length&&c.every(c=>P(a[c],b[c]))}return!1},Q=function c(d){c.errors=null;let g=0;if("object"==typeof d&&d&&!Array.isArray(d)){if(!(void 0!==d.width&&a(d,"width"))&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/required",instanceLocation:"#/width"}),g++),!(void 0!==d.height&&a(d,"height"))&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/required",instanceLocation:"#/height"}),g++),!(void 0!==d.variants&&a(d,"variants"))&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/required",instanceLocation:"#/variants"}),g++),void 0!==d.width&&a(d,"width")&&("number"!=typeof d.width?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/width/type",instanceLocation:"#/width"}),g++):(!(1<=d.width)&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/width/minimum",instanceLocation:"#/width"}),g++),!(1e6>=d.width)&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/width/maximum",instanceLocation:"#/width"}),g++))),void 0!==d.height&&a(d,"height")&&("number"!=typeof d.height?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/height/type",instanceLocation:"#/height"}),g++):(!(1<=d.height)&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/height/minimum",instanceLocation:"#/height"}),g++),!(1e6>=d.height)&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/height/maximum",instanceLocation:"#/height"}),g++))),void 0!==d.probability&&a(d,"probability")){let a=c.errors,b=I(d.probability),f=I.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/probability/$ref","#/probability"))),g++)}if(void 0!==d.rotate&&a(d,"rotate")){let a=c.errors,b=J(d.rotate),f=J.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/rotate/$ref","#/rotate"))),g++)}if(void 0!==d.scale&&a(d,"scale")){let a=c.errors,b=K(d.scale),f=K.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/scale/$ref","#/scale"))),g++)}if(void 0!==d.translate&&a(d,"translate")){let a=c.errors,b=M(d.translate),f=M.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/translate/$ref","#/translate"))),g++)}if(void 0!==d.variants&&a(d,"variants"))if("object"==typeof d.variants&&d.variants&&!Array.isArray(d.variants)){for(let a of(Object.keys(d.variants).length>512&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/maxProperties",instanceLocation:"#/variants"}),g++),Object.keys(d.variants))){let b=c.errors,d=q(a),h=q.errors;c.errors=b,!d&&(null===c.errors&&(c.errors=[]),c.errors.push(...h.map(b=>e(b,"#/properties/variants/propertyNames/$ref","#/variants/"+f(a)))),g++)}for(let h of Object.keys(d.variants))if("object"==typeof d.variants[h]&&d.variants[h]&&!Array.isArray(d.variants[h])){if(!(void 0!==d.variants[h].elements&&a(d.variants[h],"elements"))&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/required",instanceLocation:"#/variants/"+f(h)+"/elements"}),g++),void 0!==d.variants[h].elements&&a(d.variants[h],"elements"))if(Array.isArray(d.variants[h].elements)){d.variants[h].elements.length>1024&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/elements/maxItems",instanceLocation:"#/variants/"+f(h)+"/elements"}),g++);for(let b=0;b<d.variants[h].elements.length;b++)if(void 0!==d.variants[h].elements[b]&&a(d.variants[h].elements,b)){let a=c.errors,i=H(d.variants[h].elements[b]),j=H.errors;c.errors=a,!i&&(null===c.errors&&(c.errors=[]),c.errors.push(...j.map(a=>e(a,"#/properties/variants/additionalProperties/properties/elements/items/$ref","#/variants/"+f(h)+"elements/"+b))),g++)}}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/elements/type",instanceLocation:"#/variants/"+f(h)+"/elements"}),g++;if(void 0!==d.variants[h].weight&&a(d.variants[h],"weight")&&("number"!=typeof d.variants[h].weight?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/weight/type",instanceLocation:"#/variants/"+f(h)+"/weight"}),g++):(!(0<=d.variants[h].weight)&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/weight/minimum",instanceLocation:"#/variants/"+f(h)+"/weight"}),g++),!(1e6>=d.variants[h].weight)&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/weight/maximum",instanceLocation:"#/variants/"+f(h)+"/weight"}),g++))),void 0!==d.variants[h].tags&&a(d.variants[h],"tags"))if(Array.isArray(d.variants[h].tags)){let e=g;d.variants[h].tags.length>32&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/maxItems",instanceLocation:"#/variants/"+f(h)+"/tags"}),g++);for(let e=0;e<d.variants[h].tags.length;e++)if(void 0!==d.variants[h].tags[e]&&a(d.variants[h].tags,e))if("string"!=typeof d.variants[h].tags[e])null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/items/type",instanceLocation:"#/variants/"+f(h)+"tags/"+e}),g++;else{let a=g;d.variants[h].tags[e].length>129&&b(d.variants[h].tags[e])>129&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/items/maxLength",instanceLocation:"#/variants/"+f(h)+"tags/"+e}),g++),g===a&&!N.test(d.variants[h].tags[e])&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/items/pattern",instanceLocation:"#/variants/"+f(h)+"tags/"+e}),g++)}g===e&&!O(d.variants[h].tags)&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/uniqueItems",instanceLocation:"#/variants/"+f(h)+"/tags"}),g++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/type",instanceLocation:"#/variants/"+f(h)+"/tags"}),g++;for(let a of Object.keys(d.variants[h]))"elements"!==a&&"weight"!==a&&"tags"!==a&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/additionalProperties",instanceLocation:"#/variants/"+f(h)+"/"+f(a)}),g++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/additionalProperties/type",instanceLocation:"#/variants/"+f(h)}),g++}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/variants/type",instanceLocation:"#/variants"}),g++;for(let a of Object.keys(d))"width"!==a&&"height"!==a&&"probability"!==a&&"rotate"!==a&&"scale"!==a&&"translate"!==a&&"variants"!==a&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(a)}),g++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),g++;return 0===g},R=function b(c){b.errors=null;let d=0;if("object"==typeof c&&c&&!Array.isArray(c)){if(!(void 0!==c.extends&&a(c,"extends"))&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/required",instanceLocation:"#/extends"}),d++),void 0!==c.extends&&a(c,"extends")){let a=b.errors,f=D(c.extends),g=D.errors;b.errors=a,!f&&(null===b.errors&&(b.errors=[]),b.errors.push(...g.map(a=>e(a,"#/properties/extends/$ref","#/extends"))),d++)}for(let a of Object.keys(c))"extends"!==a&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(a)}),d++)}else null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;return 0===d},S=RegExp("^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$","u"),T=function a(c){a.errors=null;let d=0;if("string"!=typeof c)null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;else{let e=d;c.length>9&&b(c)>9&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),d++),d===e&&!S.test(c)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/pattern",instanceLocation:"#"}),d++)}return 0===d};return function c(g){c.errors=null;let h=0;if("object"==typeof g&&g&&!Array.isArray(g)){if(!(void 0!==g.canvas&&a(g,"canvas"))&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/required",instanceLocation:"#/canvas"}),h++),void 0!==g.$id&&a(g,"$id")&&("string"!=typeof g.$id?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/$id/type",instanceLocation:"#/$id"}),h++):g.$id.length>256&&b(g.$id)>256&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/$id/maxLength",instanceLocation:"#/$id"}),h++)),void 0!==g.$schema&&a(g,"$schema")&&("string"!=typeof g.$schema?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/$schema/type",instanceLocation:"#/$schema"}),h++):g.$schema.length>256&&b(g.$schema)>256&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/$schema/maxLength",instanceLocation:"#/$schema"}),h++)),void 0!==g.$comment&&a(g,"$comment")&&("string"!=typeof g.$comment?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/$comment/type",instanceLocation:"#/$comment"}),h++):g.$comment.length>4096&&b(g.$comment)>4096&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/$comment/maxLength",instanceLocation:"#/$comment"}),h++)),void 0!==g.meta&&a(g,"meta"))if("object"==typeof g.meta&&g.meta&&!Array.isArray(g.meta)){if(void 0!==g.meta.license&&a(g.meta,"license"))if("object"==typeof g.meta.license&&g.meta.license&&!Array.isArray(g.meta.license)){if(void 0!==g.meta.license.name&&a(g.meta.license,"name")&&("string"!=typeof g.meta.license.name?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/license/properties/name/type",instanceLocation:"#/meta/license/name"}),h++):g.meta.license.name.length>128&&b(g.meta.license.name)>128&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/license/properties/name/maxLength",instanceLocation:"#/meta/license/name"}),h++)),void 0!==g.meta.license.url&&a(g.meta.license,"url")){let a=c.errors,b=d(g.meta.license.url),f=d.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/meta/properties/license/properties/url/$ref","#/meta/license/url"))),h++)}for(let d of(void 0!==g.meta.license.text&&a(g.meta.license,"text")&&("string"!=typeof g.meta.license.text?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/license/properties/text/type",instanceLocation:"#/meta/license/text"}),h++):g.meta.license.text.length>32768&&b(g.meta.license.text)>32768&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/license/properties/text/maxLength",instanceLocation:"#/meta/license/text"}),h++)),Object.keys(g.meta.license)))"name"!==d&&"url"!==d&&"text"!==d&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/license/additionalProperties",instanceLocation:"#/meta/license/"+f(d)}),h++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/license/type",instanceLocation:"#/meta/license"}),h++;if(void 0!==g.meta.creator&&a(g.meta,"creator"))if("object"==typeof g.meta.creator&&g.meta.creator&&!Array.isArray(g.meta.creator)){if(void 0!==g.meta.creator.name&&a(g.meta.creator,"name")&&("string"!=typeof g.meta.creator.name?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/creator/properties/name/type",instanceLocation:"#/meta/creator/name"}),h++):g.meta.creator.name.length>128&&b(g.meta.creator.name)>128&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/creator/properties/name/maxLength",instanceLocation:"#/meta/creator/name"}),h++)),void 0!==g.meta.creator.url&&a(g.meta.creator,"url")){let a=c.errors,b=d(g.meta.creator.url),f=d.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/meta/properties/creator/properties/url/$ref","#/meta/creator/url"))),h++)}for(let a of Object.keys(g.meta.creator))"name"!==a&&"url"!==a&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/creator/additionalProperties",instanceLocation:"#/meta/creator/"+f(a)}),h++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/creator/type",instanceLocation:"#/meta/creator"}),h++;if(void 0!==g.meta.source&&a(g.meta,"source"))if("object"==typeof g.meta.source&&g.meta.source&&!Array.isArray(g.meta.source)){if(void 0!==g.meta.source.name&&a(g.meta.source,"name")&&("string"!=typeof g.meta.source.name?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/source/properties/name/type",instanceLocation:"#/meta/source/name"}),h++):g.meta.source.name.length>128&&b(g.meta.source.name)>128&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/source/properties/name/maxLength",instanceLocation:"#/meta/source/name"}),h++)),void 0!==g.meta.source.url&&a(g.meta.source,"url")){let a=c.errors,b=d(g.meta.source.url),f=d.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/meta/properties/source/properties/url/$ref","#/meta/source/url"))),h++)}for(let a of Object.keys(g.meta.source))"name"!==a&&"url"!==a&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/source/additionalProperties",instanceLocation:"#/meta/source/"+f(a)}),h++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/properties/source/type",instanceLocation:"#/meta/source"}),h++;for(let a of Object.keys(g.meta))"license"!==a&&"creator"!==a&&"source"!==a&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/additionalProperties",instanceLocation:"#/meta/"+f(a)}),h++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/meta/type",instanceLocation:"#/meta"}),h++;if(void 0!==g.attributes&&a(g,"attributes")){let a=c.errors,b=B(g.attributes),d=B.errors;c.errors=a,!b&&(null===c.errors&&(c.errors=[]),c.errors.push(...d.map(a=>e(a,"#/properties/attributes/$ref","#/attributes"))),h++)}if(void 0!==g.canvas&&a(g,"canvas"))if("object"==typeof g.canvas&&g.canvas&&!Array.isArray(g.canvas)){if(!(void 0!==g.canvas.elements&&a(g.canvas,"elements"))&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/required",instanceLocation:"#/canvas/elements"}),h++),!(void 0!==g.canvas.width&&a(g.canvas,"width"))&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/required",instanceLocation:"#/canvas/width"}),h++),!(void 0!==g.canvas.height&&a(g.canvas,"height"))&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/required",instanceLocation:"#/canvas/height"}),h++),void 0!==g.canvas.elements&&a(g.canvas,"elements"))if(Array.isArray(g.canvas.elements)){g.canvas.elements.length>1024&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/properties/elements/maxItems",instanceLocation:"#/canvas/elements"}),h++);for(let b=0;b<g.canvas.elements.length;b++)if(void 0!==g.canvas.elements[b]&&a(g.canvas.elements,b)){let a=c.errors,d=H(g.canvas.elements[b]),f=H.errors;c.errors=a,!d&&(null===c.errors&&(c.errors=[]),c.errors.push(...f.map(a=>e(a,"#/properties/canvas/properties/elements/items/$ref","#/canvas/elements/"+b))),h++)}}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/properties/elements/type",instanceLocation:"#/canvas/elements"}),h++;for(let b of(void 0!==g.canvas.width&&a(g.canvas,"width")&&("number"!=typeof g.canvas.width?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/properties/width/type",instanceLocation:"#/canvas/width"}),h++):(!(1<=g.canvas.width)&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/properties/width/minimum",instanceLocation:"#/canvas/width"}),h++),!(1e6>=g.canvas.width)&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/properties/width/maximum",instanceLocation:"#/canvas/width"}),h++))),void 0!==g.canvas.height&&a(g.canvas,"height")&&("number"!=typeof g.canvas.height?(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/properties/height/type",instanceLocation:"#/canvas/height"}),h++):(!(1<=g.canvas.height)&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/properties/height/minimum",instanceLocation:"#/canvas/height"}),h++),!(1e6>=g.canvas.height)&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/properties/height/maximum",instanceLocation:"#/canvas/height"}),h++))),Object.keys(g.canvas)))"elements"!==b&&"width"!==b&&"height"!==b&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/additionalProperties",instanceLocation:"#/canvas/"+f(b)}),h++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/canvas/type",instanceLocation:"#/canvas"}),h++;if(void 0!==g.components&&a(g,"components"))if("object"==typeof g.components&&g.components&&!Array.isArray(g.components)){for(let a of(Object.keys(g.components).length>512&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/components/maxProperties",instanceLocation:"#/components"}),h++),Object.keys(g.components))){let b=c.errors,d=q(a),g=q.errors;c.errors=b,!d&&(null===c.errors&&(c.errors=[]),c.errors.push(...g.map(b=>e(b,"#/properties/components/propertyNames/$ref","#/components/"+f(a)))),h++)}for(let a of Object.keys(g.components))!(()=>{let b=0,d=c.errors,h=Q(g.components[a]),i=Q.errors;return c.errors=d,!h&&(null===c.errors&&(c.errors=[]),c.errors.push(...i.map(b=>e(b,"#/properties/components/additionalProperties/anyOf/0/$ref","#/components/"+f(a)))),b++),0===b})()&&!(()=>{let b=0,d=c.errors,h=R(g.components[a]),i=R.errors;return c.errors=d,!h&&(null===c.errors&&(c.errors=[]),c.errors.push(...i.map(b=>e(b,"#/properties/components/additionalProperties/anyOf/1/$ref","#/components/"+f(a)))),b++),0===b})()&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/components/additionalProperties/anyOf",instanceLocation:"#/components/"+f(a)}),h++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/components/type",instanceLocation:"#/components"}),h++;if(void 0!==g.colors&&a(g,"colors"))if("object"==typeof g.colors&&g.colors&&!Array.isArray(g.colors)){for(let a of(Object.keys(g.colors).length>512&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/colors/maxProperties",instanceLocation:"#/colors"}),h++),Object.keys(g.colors))){let b=c.errors,d=q(a),g=q.errors;c.errors=b,!d&&(null===c.errors&&(c.errors=[]),c.errors.push(...g.map(b=>e(b,"#/properties/colors/propertyNames/$ref","#/colors/"+f(a)))),h++)}for(let b of Object.keys(g.colors))if("object"==typeof g.colors[b]&&g.colors[b]&&!Array.isArray(g.colors[b])){if(!(void 0!==g.colors[b].values&&a(g.colors[b],"values"))&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/colors/additionalProperties/required",instanceLocation:"#/colors/"+f(b)+"/values"}),h++),void 0!==g.colors[b].values&&a(g.colors[b],"values"))if(Array.isArray(g.colors[b].values)){g.colors[b].values.length>128&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/colors/additionalProperties/properties/values/maxItems",instanceLocation:"#/colors/"+f(b)+"/values"}),h++),g.colors[b].values.length<1&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/colors/additionalProperties/properties/values/minItems",instanceLocation:"#/colors/"+f(b)+"/values"}),h++);for(let d=0;d<g.colors[b].values.length;d++)if(void 0!==g.colors[b].values[d]&&a(g.colors[b].values,d)){let a=c.errors,i=T(g.colors[b].values[d]),j=T.errors;c.errors=a,!i&&(null===c.errors&&(c.errors=[]),c.errors.push(...j.map(a=>e(a,"#/properties/colors/additionalProperties/properties/values/items/$ref","#/colors/"+f(b)+"values/"+d))),h++)}}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/colors/additionalProperties/properties/values/type",instanceLocation:"#/colors/"+f(b)+"/values"}),h++;if(void 0!==g.colors[b].notEqualTo&&a(g.colors[b],"notEqualTo"))if(Array.isArray(g.colors[b].notEqualTo)){g.colors[b].notEqualTo.length>64&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/colors/additionalProperties/properties/notEqualTo/maxItems",instanceLocation:"#/colors/"+f(b)+"/notEqualTo"}),h++);for(let d=0;d<g.colors[b].notEqualTo.length;d++)if(void 0!==g.colors[b].notEqualTo[d]&&a(g.colors[b].notEqualTo,d)){let a=c.errors,i=r(g.colors[b].notEqualTo[d]),j=r.errors;c.errors=a,!i&&(null===c.errors&&(c.errors=[]),c.errors.push(...j.map(a=>e(a,"#/properties/colors/additionalProperties/properties/notEqualTo/items/$ref","#/colors/"+f(b)+"notEqualTo/"+d))),h++)}}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/colors/additionalProperties/properties/notEqualTo/type",instanceLocation:"#/colors/"+f(b)+"/notEqualTo"}),h++;if(void 0!==g.colors[b].contrastTo&&a(g.colors[b],"contrastTo")){let a=c.errors,d=r(g.colors[b].contrastTo),i=r.errors;c.errors=a,!d&&(null===c.errors&&(c.errors=[]),c.errors.push(...i.map(a=>e(a,"#/properties/colors/additionalProperties/properties/contrastTo/$ref","#/colors/"+f(b)+"/contrastTo"))),h++)}for(let a of Object.keys(g.colors[b]))"values"!==a&&"notEqualTo"!==a&&"contrastTo"!==a&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/colors/additionalProperties/additionalProperties",instanceLocation:"#/colors/"+f(b)+"/"+f(a)}),h++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/colors/additionalProperties/type",instanceLocation:"#/colors/"+f(b)}),h++}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/properties/colors/type",instanceLocation:"#/colors"}),h++;for(let a of Object.keys(g))"$id"!==a&&"$schema"!==a&&"$comment"!==a&&"meta"!==a&&"attributes"!==a&&"canvas"!==a&&"components"!==a&&"colors"!==a&&(null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+f(a)}),h++)}else null===c.errors&&(c.errors=[]),c.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),h++;return 0===h}}(),L={type:"has an invalid type",enum:"must be one of the allowed values",const:"must equal the expected value",pattern:"does not match the required pattern",required:"is required but missing",additionalProperties:"has an unexpected property",propertyNames:"has an invalid property name",minimum:"is smaller than allowed",maximum:"is larger than allowed",exclusiveMinimum:"is smaller than allowed",exclusiveMaximum:"is larger than allowed",minLength:"is too short",maxLength:"is too long",minItems:"has too few items",maxItems:"has too many items",uniqueItems:"has duplicate items",minProperties:"has too few properties",maxProperties:"has too many properties",anyOf:"does not match any allowed variant",oneOf:"does not match exactly one allowed variant",allOf:"does not match all required schemas",not:"matches a disallowed schema"};function M(a){let b=a.keywordLocation.slice(a.keywordLocation.lastIndexOf("/")+1);return{instancePath:a.instanceLocation.slice(1),schemaPath:a.keywordLocation,keyword:b,message:L[b]??`must satisfy '${b}'`}}class N{static validate(a){if(!K(a))throw new J((K.errors??[]).map(M))}}var O=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},P=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class Q{constructor(a){d.set(this,void 0),O(this,d,a,"f")}name(){return P(this,d,"f").name}url(){return P(this,d,"f").url}text(){return P(this,d,"f").text}}d=new WeakMap;var R=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},S=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class T{constructor(a){e.set(this,void 0),R(this,e,a,"f")}name(){return S(this,e,"f").name}url(){return S(this,e,"f").url}}e=new WeakMap;var U=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},V=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class W{constructor(a){f.set(this,void 0),U(this,f,a,"f")}name(){return V(this,f,"f").name}url(){return V(this,f,"f").url}}f=new WeakMap;var X=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},Y=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class Z{constructor(a){g.set(this,void 0),h.set(this,void 0),i.set(this,void 0),j.set(this,void 0),X(this,g,a,"f")}license(){return X(this,h,Y(this,h,"f")??new Q(Y(this,g,"f").license??{}),"f"),Y(this,h,"f")}creator(){return X(this,i,Y(this,i,"f")??new T(Y(this,g,"f").creator??{}),"f"),Y(this,i,"f")}source(){return X(this,j,Y(this,j,"f")??new W(Y(this,g,"f").source??{}),"f"),Y(this,j,"f")}}g=new WeakMap,h=new WeakMap,i=new WeakMap,j=new WeakMap;var $=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},_=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class aa{constructor(a){k.set(this,void 0),l.set(this,void 0),$(this,k,a,"f")}type(){return _(this,k,"f").type}name(){return _(this,k,"f").name}value(){return _(this,k,"f").value}attributes(){return _(this,k,"f").attributes}children(){return $(this,l,_(this,l,"f")??(_(this,k,"f").children??[]).map(a=>new aa(a)),"f"),_(this,l,"f")}}k=new WeakMap,l=new WeakMap;var ab=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},ac=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class ad{constructor(a){m.set(this,void 0),n.set(this,void 0),ab(this,m,a,"f")}width(){return ac(this,m,"f").width}height(){return ac(this,m,"f").height}elements(){return ab(this,n,ac(this,n,"f")??ac(this,m,"f").elements.map(a=>new aa(a)),"f"),ac(this,n,"f")}}m=new WeakMap,n=new WeakMap;var ae=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},af=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class ag{constructor(a){o.set(this,void 0),ae(this,o,a,"f")}x(){return af(this,o,"f").x}y(){return af(this,o,"f").y}}o=new WeakMap;var ah=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},ai=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class aj{constructor(a){p.set(this,void 0),q.set(this,void 0),ah(this,p,a,"f")}elements(){return ah(this,q,ai(this,q,"f")??ai(this,p,"f").elements.map(a=>new aa(a)),"f"),ai(this,q,"f")}weight(){return ai(this,p,"f").weight??1}tags(){return ai(this,p,"f").tags??[]}hasTag(a,b){return void 0===b?this.tags().some(b=>b===a||b.startsWith(`${a}:`)):this.tags().includes(`${a}:${b}`)}}p=new WeakMap,q=new WeakMap;var ak=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},al=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class am{constructor(a,b,c){r.add(this),s.set(this,void 0),t.set(this,void 0),u.set(this,void 0),v.set(this,void 0),w.set(this,void 0),ak(this,s,b,"f"),ak(this,t,a,"f"),ak(this,u,c,"f")}name(){return al(this,t,"f")}extendsName(){return"extends"in al(this,s,"f")?al(this,s,"f").extends:void 0}sourceName(){return this.extendsName()??al(this,t,"f")}width(){return al(this,u,"f")?al(this,u,"f").width():al(this,r,"m",x).call(this).width}height(){return al(this,u,"f")?al(this,u,"f").height():al(this,r,"m",x).call(this).height}probability(){return al(this,u,"f")?al(this,u,"f").probability():al(this,r,"m",x).call(this).probability??100}rotate(){return al(this,u,"f")?al(this,u,"f").rotate():al(this,r,"m",x).call(this).rotate}scale(){return al(this,u,"f")?al(this,u,"f").scale():al(this,r,"m",x).call(this).scale}translate(){return al(this,u,"f")?al(this,u,"f").translate():(ak(this,v,al(this,v,"f")??new ag(al(this,r,"m",x).call(this).translate??{}),"f"),al(this,v,"f"))}variants(){return al(this,u,"f")?al(this,u,"f").variants():(ak(this,w,al(this,w,"f")??new Map(Object.entries(al(this,r,"m",x).call(this).variants).map(([a,b])=>[a,new aj(b)])),"f"),al(this,w,"f"))}}s=new WeakMap,t=new WeakMap,u=new WeakMap,v=new WeakMap,w=new WeakMap,r=new WeakSet,x=function(){return al(this,s,"f")};var an=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},ao=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class ap{constructor(a){y.set(this,void 0),an(this,y,a,"f")}values(){return ao(this,y,"f").values}notEqualTo(){return ao(this,y,"f").notEqualTo??[]}contrastTo(){return ao(this,y,"f").contrastTo}}y=new WeakMap;var aq=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},ar=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class as{constructor(a){z.add(this),B.set(this,void 0),C.set(this,void 0),D.set(this,void 0),E.set(this,void 0),F.set(this,void 0),N.validate(a),aq(this,B,structuredClone(a),"f"),ar(this,z,"m",G).call(this)}id(){return ar(this,B,"f").$id}schema(){return ar(this,B,"f").$schema}comment(){return ar(this,B,"f").$comment}meta(){return aq(this,C,ar(this,C,"f")??new Z(ar(this,B,"f").meta??{}),"f"),ar(this,C,"f")}attributes(){return structuredClone(ar(this,B,"f").attributes??{})}definition(){return structuredClone(ar(this,B,"f"))}canvas(){return aq(this,D,ar(this,D,"f")??new ad(ar(this,B,"f").canvas),"f"),ar(this,D,"f")}components(){if(ar(this,E,"f"))return ar(this,E,"f");let a=Object.entries(ar(this,B,"f").components??{}),b=new Map;for(let[c,d]of a)ar(A,A,"m",H).call(A,d)||b.set(c,new am(c,d));for(let[c,d]of a)ar(A,A,"m",H).call(A,d)&&b.set(c,new am(c,d,b.get(d.extends)));return aq(this,E,b,"f"),ar(this,E,"f")}colors(){return aq(this,F,ar(this,F,"f")??new Map(Object.entries(ar(this,B,"f").colors??{}).map(([a,b])=>[a,new ap(b)])),"f"),ar(this,F,"f")}}A=as,B=new WeakMap,C=new WeakMap,D=new WeakMap,E=new WeakMap,F=new WeakMap,z=new WeakSet,G=function(){let a=ar(this,B,"f").components;if(!a)return;let b=[];for(let[c,d]of Object.entries(a)){if(!ar(A,A,"m",H).call(A,d))continue;let e=d.extends,f=a[e];if(!f){b.push({instancePath:`/components/${c}/extends`,message:`references unknown component "${e}"`});continue}ar(A,A,"m",H).call(A,f)&&b.push({instancePath:`/components/${c}/extends`,message:`references alias "${e}" — alias chains are not allowed`})}if(b.length>0)throw new J(b)},H=function(a){return"extends"in a}},41290:(a,b,c)=>{"use strict";c.d(b,{UL:()=>d.U});var d=c(26960);c(24323),c(94488)},41335:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Anchor:()=>U,Arrow:()=>Z,Close:()=>Y,Content:()=>X,Popover:()=>A,PopoverAnchor:()=>C,PopoverArrow:()=>R,PopoverClose:()=>Q,PopoverContent:()=>K,PopoverPortal:()=>I,PopoverTrigger:()=>E,Portal:()=>W,Root:()=>T,Trigger:()=>V,createPopoverScope:()=>w});var d=c(21968),e=c(22546),f=c(96090),g=c(42990),h=c(44768),i=c(28697),j=c(63812),k=c(22243),l=c(47536),m=c(66619),n=c(5030),o=c(16551),p=c(11156),q=c(15035),r=c(93846),s=c(87226),t=c(10837),u="Popover",[v,w]=(0,g.A)(u,[l.Bk]),x=(0,l.Bk)(),[y,z]=v(u),A=a=>{let{__scopePopover:b,children:c,open:e,defaultOpen:f,onOpenChange:g,modal:h=!1}=a,i=x(b),j=d.useRef(null),[m,n]=d.useState(!1),[o,p]=(0,q.i)({prop:e,defaultProp:f??!1,onChange:g,caller:u});return(0,t.jsx)(l.bL,{...i,children:(0,t.jsx)(y,{scope:b,contentId:(0,k.B)(),triggerRef:j,open:o,onOpenChange:p,onOpenToggle:d.useCallback(()=>p(a=>!a),[p]),hasCustomAnchor:m,onCustomAnchorAdd:d.useCallback(()=>n(!0),[]),onCustomAnchorRemove:d.useCallback(()=>n(!1),[]),modal:h,children:c})})};A.displayName=u;var B="PopoverAnchor",C=d.forwardRef((a,b)=>{let{__scopePopover:c,...e}=a,f=z(B,c),g=x(c),{onCustomAnchorAdd:h,onCustomAnchorRemove:i}=f;return d.useEffect(()=>(h(),()=>i()),[h,i]),(0,t.jsx)(l.Mz,{...g,...e,ref:b})});C.displayName=B;var D="PopoverTrigger",E=d.forwardRef((a,b)=>{let{__scopePopover:c,...d}=a,g=z(D,c),h=x(c),i=(0,f.s)(b,g.triggerRef),j=(0,t.jsx)(o.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":g.open,"aria-controls":g.contentId,"data-state":S(g.open),...d,ref:i,onClick:(0,e.mK)(a.onClick,g.onOpenToggle)});return g.hasCustomAnchor?j:(0,t.jsx)(l.Mz,{asChild:!0,...h,children:j})});E.displayName=D;var F="PopoverPortal",[G,H]=v(F,{forceMount:void 0}),I=a=>{let{__scopePopover:b,forceMount:c,children:d,container:e}=a,f=z(F,b);return(0,t.jsx)(G,{scope:b,forceMount:c,children:(0,t.jsx)(n.C,{present:c||f.open,children:(0,t.jsx)(m.Portal,{asChild:!0,container:e,children:d})})})};I.displayName=F;var J="PopoverContent",K=d.forwardRef((a,b)=>{let c=H(J,a.__scopePopover),{forceMount:d=c.forceMount,...e}=a,f=z(J,a.__scopePopover);return(0,t.jsx)(n.C,{present:d||f.open,children:f.modal?(0,t.jsx)(M,{...e,ref:b}):(0,t.jsx)(N,{...e,ref:b})})});K.displayName=J;var L=(0,p.TL)("PopoverContent.RemoveScroll"),M=d.forwardRef((a,b)=>{let c=z(J,a.__scopePopover),g=d.useRef(null),h=(0,f.s)(b,g),i=d.useRef(!1);return d.useEffect(()=>{let a=g.current;if(a)return(0,r.Eq)(a)},[]),(0,t.jsx)(s.A,{as:L,allowPinchZoom:!0,children:(0,t.jsx)(O,{...a,ref:h,trapFocus:c.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,e.mK)(a.onCloseAutoFocus,a=>{a.preventDefault(),i.current||c.triggerRef.current?.focus()}),onPointerDownOutside:(0,e.mK)(a.onPointerDownOutside,a=>{let b=a.detail.originalEvent,c=0===b.button&&!0===b.ctrlKey;i.current=2===b.button||c},{checkForDefaultPrevented:!1}),onFocusOutside:(0,e.mK)(a.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),N=d.forwardRef((a,b)=>{let c=z(J,a.__scopePopover),e=d.useRef(!1),f=d.useRef(!1);return(0,t.jsx)(O,{...a,ref:b,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:b=>{a.onCloseAutoFocus?.(b),b.defaultPrevented||(e.current||c.triggerRef.current?.focus(),b.preventDefault()),e.current=!1,f.current=!1},onInteractOutside:b=>{a.onInteractOutside?.(b),b.defaultPrevented||(e.current=!0,"pointerdown"===b.detail.originalEvent.type&&(f.current=!0));let d=b.target;c.triggerRef.current?.contains(d)&&b.preventDefault(),"focusin"===b.detail.originalEvent.type&&f.current&&b.preventDefault()}})}),O=d.forwardRef((a,b)=>{let{__scopePopover:c,trapFocus:d,onOpenAutoFocus:e,onCloseAutoFocus:f,disableOutsidePointerEvents:g,onEscapeKeyDown:k,onPointerDownOutside:m,onFocusOutside:n,onInteractOutside:o,...p}=a,q=z(J,c),r=x(c);return(0,i.Oh)(),(0,t.jsx)(j.n,{asChild:!0,loop:!0,trapped:d,onMountAutoFocus:e,onUnmountAutoFocus:f,children:(0,t.jsx)(h.qW,{asChild:!0,disableOutsidePointerEvents:g,onInteractOutside:o,onEscapeKeyDown:k,onPointerDownOutside:m,onFocusOutside:n,onDismiss:()=>q.onOpenChange(!1),children:(0,t.jsx)(l.UC,{"data-state":S(q.open),role:"dialog",id:q.contentId,...r,...p,ref:b,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),P="PopoverClose",Q=d.forwardRef((a,b)=>{let{__scopePopover:c,...d}=a,f=z(P,c);return(0,t.jsx)(o.sG.button,{type:"button",...d,ref:b,onClick:(0,e.mK)(a.onClick,()=>f.onOpenChange(!1))})});Q.displayName=P;var R=d.forwardRef((a,b)=>{let{__scopePopover:c,...d}=a,e=x(c);return(0,t.jsx)(l.i3,{...e,...d,ref:b})});function S(a){return a?"open":"closed"}R.displayName="PopoverArrow";var T=A,U=C,V=E,W=I,X=K,Y=Q,Z=R},42157:(a,b,c)=>{"use strict";c.d(b,{M:()=>e});var d=c(21968);function e(a){let b=(0,d.useRef)(null);return null===b.current&&(b.current=a()),b.current}},42176:(a,b,c)=>{"use strict";function d(a,[b,c]){return Math.min(c,Math.max(b,a))}c.d(b,{q:()=>d})},42292:(a,b,c)=>{"use strict";c.d(b,{He:()=>j,K2:()=>f,Rm:()=>i,VA:()=>g});var d=c(37429),e=Object.defineProperty,f=(a,b)=>e(a,"name",{value:b,configurable:!0}),g=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},h={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},i={trace:f((...a)=>{},"trace"),debug:f((...a)=>{},"debug"),info:f((...a)=>{},"info"),warn:f((...a)=>{},"warn"),error:f((...a)=>{},"error"),fatal:f((...a)=>{},"fatal")},j=f(function(a="fatal"){let b=h.fatal;"string"==typeof a?a.toLowerCase()in h&&(b=h[a]):"number"==typeof a&&(b=a),i.trace=()=>{},i.debug=()=>{},i.info=()=>{},i.warn=()=>{},i.error=()=>{},i.fatal=()=>{},b<=h.fatal&&(i.fatal=console.error?console.error.bind(console,k("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",k("FATAL"))),b<=h.error&&(i.error=console.error?console.error.bind(console,k("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",k("ERROR"))),b<=h.warn&&(i.warn=console.warn?console.warn.bind(console,k("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,k("WARN"))),b<=h.info&&(i.info=console.info?console.info.bind(console,k("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",k("INFO"))),b<=h.debug&&(i.debug=console.debug?console.debug.bind(console,k("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",k("DEBUG"))),b<=h.trace&&(i.trace=console.debug?console.debug.bind(console,k("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",k("TRACE")))},"setLogLevel"),k=f(a=>{let b=d().format("ss.SSS");return`%c${b} : ${a} : `},"format")},42377:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{callServer:function(){return d.callServer},createServerReference:function(){return f.createServerReference},findSourceMapURL:function(){return e.findSourceMapURL}});let d=c(89138),e=c(49098),f=c(87285)},42612:(a,b,c)=>{"use strict";let d=c(12412),e=c(28354);function f(a){Object.defineProperty(this,"message",{value:a||"",configurable:!0,writable:!0}),Error.captureStackTrace(this,this.constructor)}function g(a,b,c){d(b),d.strictEqual(typeof c,"number"),Object.defineProperty(this,"message",{value:a||"",configurable:!0,writable:!0});let e=Error.stackTraceLimit;Error.stackTraceLimit=2,Error.captureStackTrace(this,this.constructor),Error.stackTraceLimit=e,this.offset=c,this.buffer=b}function h(a){Object.defineProperty(this,"message",{value:a||"",configurable:!0,writable:!0});let b=Error.stackTraceLimit;Error.stackTraceLimit=2,Error.captureStackTrace(this,this.constructor),Error.stackTraceLimit=b}function i(a){Object.defineProperty(this,"message",{value:a||"",configurable:!0,writable:!0}),Error.captureStackTrace(this,this.constructor)}function j(a){Object.defineProperty(this,"message",{value:a||"",configurable:!0,writable:!0}),Error.captureStackTrace(this,this.constructor)}e.inherits(f,Error),Object.defineProperty(f.prototype,"name",{value:"RedisError",configurable:!0,writable:!0}),e.inherits(g,f),Object.defineProperty(g.prototype,"name",{value:"ParserError",configurable:!0,writable:!0}),e.inherits(h,f),Object.defineProperty(h.prototype,"name",{value:"ReplyError",configurable:!0,writable:!0}),e.inherits(i,f),Object.defineProperty(i.prototype,"name",{value:"AbortError",configurable:!0,writable:!0}),e.inherits(j,i),Object.defineProperty(j.prototype,"name",{value:"InterruptError",configurable:!0,writable:!0}),a.exports={RedisError:f,ParserError:g,ReplyError:h,AbortError:i,InterruptError:j}},42880:(a,b,c)=>{"use strict";c.d(b,{LN:()=>M,Ay:()=>O,zr:()=>L});var d=c(75018),e=c(38055),f=c(99317),g=Array.prototype.find;function h(){return this.firstElementChild}var i=Array.prototype.filter;function j(){return Array.from(this.children)}function k(a){return Array(a.length)}function l(a,b){this.ownerDocument=a.ownerDocument,this.namespaceURI=a.namespaceURI,this._next=null,this._parent=a,this.__data__=b}function m(a,b,c,d,e,f){for(var g,h=0,i=b.length,j=f.length;h<j;++h)(g=b[h])?(g.__data__=f[h],d[h]=g):c[h]=new l(a,f[h]);for(;h<i;++h)(g=b[h])&&(e[h]=g)}function n(a,b,c,d,e,f,g){var h,i,j,k=new Map,m=b.length,n=f.length,o=Array(m);for(h=0;h<m;++h)(i=b[h])&&(o[h]=j=g.call(i,i.__data__,h,b)+"",k.has(j)?e[h]=i:k.set(j,i));for(h=0;h<n;++h)j=g.call(a,f[h],h,f)+"",(i=k.get(j))?(d[h]=i,i.__data__=f[h],k.delete(j)):c[h]=new l(a,f[h]);for(h=0;h<m;++h)(i=b[h])&&k.get(o[h])===i&&(e[h]=i)}function o(a){return a.__data__}function p(a,b){return a<b?-1:a>b?1:a>=b?0:NaN}l.prototype={constructor:l,appendChild:function(a){return this._parent.insertBefore(a,this._next)},insertBefore:function(a,b){return this._parent.insertBefore(a,b)},querySelector:function(a){return this._parent.querySelector(a)},querySelectorAll:function(a){return this._parent.querySelectorAll(a)}};var q=c(92740),r=c(37087);function s(a){return a.trim().split(/^|\s+/)}function t(a){return a.classList||new u(a)}function u(a){this._node=a,this._names=s(a.getAttribute("class")||"")}function v(a,b){for(var c=t(a),d=-1,e=b.length;++d<e;)c.add(b[d])}function w(a,b){for(var c=t(a),d=-1,e=b.length;++d<e;)c.remove(b[d])}function x(){this.textContent=""}function y(){this.innerHTML=""}function z(){this.nextSibling&&this.parentNode.appendChild(this)}function A(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}u.prototype={add:function(a){0>this._names.indexOf(a)&&(this._names.push(a),this._node.setAttribute("class",this._names.join(" ")))},remove:function(a){var b=this._names.indexOf(a);b>=0&&(this._names.splice(b,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(a){return this._names.indexOf(a)>=0}};var B=c(93636);function C(a){var b=(0,q.A)(a);return(b.local?function(a){return function(){return this.ownerDocument.createElementNS(a.space,a.local)}}:function(a){return function(){var b=this.ownerDocument,c=this.namespaceURI;return c===B.g&&b.documentElement.namespaceURI===B.g?b.createElement(a):b.createElementNS(c,a)}})(b)}function D(){return null}function E(){var a=this.parentNode;a&&a.removeChild(this)}function F(){var a=this.cloneNode(!1),b=this.parentNode;return b?b.insertBefore(a,this.nextSibling):a}function G(){var a=this.cloneNode(!0),b=this.parentNode;return b?b.insertBefore(a,this.nextSibling):a}function H(a){return function(){var b=this.__on;if(b){for(var c,d=0,e=-1,f=b.length;d<f;++d)(c=b[d],a.type&&c.type!==a.type||c.name!==a.name)?b[++e]=c:this.removeEventListener(c.type,c.listener,c.options);++e?b.length=e:delete this.__on}}}function I(a,b,c){return function(){var d,e=this.__on,f=function(a){b.call(this,a,this.__data__)};if(e){for(var g=0,h=e.length;g<h;++g)if((d=e[g]).type===a.type&&d.name===a.name){this.removeEventListener(d.type,d.listener,d.options),this.addEventListener(d.type,d.listener=f,d.options=c),d.value=b;return}}this.addEventListener(a.type,f,c),d={type:a.type,name:a.name,value:b,listener:f,options:c},e?e.push(d):this.__on=[d]}}var J=c(20903);function K(a,b,c){var d=(0,J.A)(a),e=d.CustomEvent;"function"==typeof e?e=new e(b,c):(e=d.document.createEvent("Event"),c?(e.initEvent(b,c.bubbles,c.cancelable),e.detail=c.detail):e.initEvent(b,!1,!1)),a.dispatchEvent(e)}var L=[null];function M(a,b){this._groups=a,this._parents=b}function N(){return new M([[document.documentElement]],L)}M.prototype=N.prototype={constructor:M,select:function(a){"function"!=typeof a&&(a=(0,d.A)(a));for(var b=this._groups,c=b.length,e=Array(c),f=0;f<c;++f)for(var g,h,i=b[f],j=i.length,k=e[f]=Array(j),l=0;l<j;++l)(g=i[l])&&(h=a.call(g,g.__data__,l,i))&&("__data__"in g&&(h.__data__=g.__data__),k[l]=h);return new M(e,this._parents)},selectAll:function(a){if("function"==typeof a){var b;b=a,a=function(){var a;return a=b.apply(this,arguments),null==a?[]:Array.isArray(a)?a:Array.from(a)}}else a=(0,e.A)(a);for(var c=this._groups,d=c.length,f=[],g=[],h=0;h<d;++h)for(var i,j=c[h],k=j.length,l=0;l<k;++l)(i=j[l])&&(f.push(a.call(i,i.__data__,l,j)),g.push(i));return new M(f,g)},selectChild:function(a){var b;return this.select(null==a?h:(b="function"==typeof a?a:(0,f.j)(a),function(){return g.call(this.children,b)}))},selectChildren:function(a){var b;return this.selectAll(null==a?j:(b="function"==typeof a?a:(0,f.j)(a),function(){return i.call(this.children,b)}))},filter:function(a){"function"!=typeof a&&(a=(0,f.A)(a));for(var b=this._groups,c=b.length,d=Array(c),e=0;e<c;++e)for(var g,h=b[e],i=h.length,j=d[e]=[],k=0;k<i;++k)(g=h[k])&&a.call(g,g.__data__,k,h)&&j.push(g);return new M(d,this._parents)},data:function(a,b){if(!arguments.length)return Array.from(this,o);var c=b?n:m,d=this._parents,e=this._groups;"function"!=typeof a&&(v=a,a=function(){return v});for(var f=e.length,g=Array(f),h=Array(f),i=Array(f),j=0;j<f;++j){var k=d[j],l=e[j],p=l.length,q="object"==typeof(u=a.call(k,k&&k.__data__,j,d))&&"length"in u?u:Array.from(u),r=q.length,s=h[j]=Array(r),t=g[j]=Array(r);c(k,l,s,t,i[j]=Array(p),q,b);for(var u,v,w,x,y=0,z=0;y<r;++y)if(w=s[y]){for(y>=z&&(z=y+1);!(x=t[z])&&++z<r;);w._next=x||null}}return(g=new M(g,d))._enter=h,g._exit=i,g},enter:function(){return new M(this._enter||this._groups.map(k),this._parents)},exit:function(){return new M(this._exit||this._groups.map(k),this._parents)},join:function(a,b,c){var d=this.enter(),e=this,f=this.exit();return"function"==typeof a?(d=a(d))&&(d=d.selection()):d=d.append(a+""),null!=b&&(e=b(e))&&(e=e.selection()),null==c?f.remove():c(f),d&&e?d.merge(e).order():e},merge:function(a){for(var b=a.selection?a.selection():a,c=this._groups,d=b._groups,e=c.length,f=d.length,g=Math.min(e,f),h=Array(e),i=0;i<g;++i)for(var j,k=c[i],l=d[i],m=k.length,n=h[i]=Array(m),o=0;o<m;++o)(j=k[o]||l[o])&&(n[o]=j);for(;i<e;++i)h[i]=c[i];return new M(h,this._parents)},selection:function(){return this},order:function(){for(var a=this._groups,b=-1,c=a.length;++b<c;)for(var d,e=a[b],f=e.length-1,g=e[f];--f>=0;)(d=e[f])&&(g&&4^d.compareDocumentPosition(g)&&g.parentNode.insertBefore(d,g),g=d);return this},sort:function(a){function b(b,c){return b&&c?a(b.__data__,c.__data__):!b-!c}a||(a=p);for(var c=this._groups,d=c.length,e=Array(d),f=0;f<d;++f){for(var g,h=c[f],i=h.length,j=e[f]=Array(i),k=0;k<i;++k)(g=h[k])&&(j[k]=g);j.sort(b)}return new M(e,this._parents).order()},call:function(){var a=arguments[0];return arguments[0]=this,a.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var a=this._groups,b=0,c=a.length;b<c;++b)for(var d=a[b],e=0,f=d.length;e<f;++e){var g=d[e];if(g)return g}return null},size:function(){let a=0;for(let b of this)++a;return a},empty:function(){return!this.node()},each:function(a){for(var b=this._groups,c=0,d=b.length;c<d;++c)for(var e,f=b[c],g=0,h=f.length;g<h;++g)(e=f[g])&&a.call(e,e.__data__,g,f);return this},attr:function(a,b){var c=(0,q.A)(a);if(arguments.length<2){var d=this.node();return c.local?d.getAttributeNS(c.space,c.local):d.getAttribute(c)}return this.each((null==b?c.local?function(a){return function(){this.removeAttributeNS(a.space,a.local)}}:function(a){return function(){this.removeAttribute(a)}}:"function"==typeof b?c.local?function(a,b){return function(){var c=b.apply(this,arguments);null==c?this.removeAttributeNS(a.space,a.local):this.setAttributeNS(a.space,a.local,c)}}:function(a,b){return function(){var c=b.apply(this,arguments);null==c?this.removeAttribute(a):this.setAttribute(a,c)}}:c.local?function(a,b){return function(){this.setAttributeNS(a.space,a.local,b)}}:function(a,b){return function(){this.setAttribute(a,b)}})(c,b))},style:r.A,property:function(a,b){return arguments.length>1?this.each((null==b?function(a){return function(){delete this[a]}}:"function"==typeof b?function(a,b){return function(){var c=b.apply(this,arguments);null==c?delete this[a]:this[a]=c}}:function(a,b){return function(){this[a]=b}})(a,b)):this.node()[a]},classed:function(a,b){var c=s(a+"");if(arguments.length<2){for(var d=t(this.node()),e=-1,f=c.length;++e<f;)if(!d.contains(c[e]))return!1;return!0}return this.each(("function"==typeof b?function(a,b){return function(){(b.apply(this,arguments)?v:w)(this,a)}}:b?function(a){return function(){v(this,a)}}:function(a){return function(){w(this,a)}})(c,b))},text:function(a){return arguments.length?this.each(null==a?x:("function"==typeof a?function(a){return function(){var b=a.apply(this,arguments);this.textContent=null==b?"":b}}:function(a){return function(){this.textContent=a}})(a)):this.node().textContent},html:function(a){return arguments.length?this.each(null==a?y:("function"==typeof a?function(a){return function(){var b=a.apply(this,arguments);this.innerHTML=null==b?"":b}}:function(a){return function(){this.innerHTML=a}})(a)):this.node().innerHTML},raise:function(){return this.each(z)},lower:function(){return this.each(A)},append:function(a){var b="function"==typeof a?a:C(a);return this.select(function(){return this.appendChild(b.apply(this,arguments))})},insert:function(a,b){var c="function"==typeof a?a:C(a),e=null==b?D:"function"==typeof b?b:(0,d.A)(b);return this.select(function(){return this.insertBefore(c.apply(this,arguments),e.apply(this,arguments)||null)})},remove:function(){return this.each(E)},clone:function(a){return this.select(a?G:F)},datum:function(a){return arguments.length?this.property("__data__",a):this.node().__data__},on:function(a,b,c){var d,e,f=(a+"").trim().split(/^|\s+/).map(function(a){var b="",c=a.indexOf(".");return c>=0&&(b=a.slice(c+1),a=a.slice(0,c)),{type:a,name:b}}),g=f.length;if(arguments.length<2){var h=this.node().__on;if(h){for(var i,j=0,k=h.length;j<k;++j)for(d=0,i=h[j];d<g;++d)if((e=f[d]).type===i.type&&e.name===i.name)return i.value}return}for(d=0,h=b?I:H;d<g;++d)this.each(h(f[d],b,c));return this},dispatch:function(a,b){return this.each(("function"==typeof b?function(a,b){return function(){return K(this,a,b.apply(this,arguments))}}:function(a,b){return function(){return K(this,a,b)}})(a,b))},[Symbol.iterator]:function*(){for(var a=this._groups,b=0,c=a.length;b<c;++b)for(var d,e=a[b],f=0,g=e.length;f<g;++f)(d=e[f])&&(yield d)}};let O=N},42911:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addPathPrefix",{enumerable:!0,get:function(){return e}});let d=c(12846);function e(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:e,hash:f}=(0,d.parsePath)(a);return""+b+c+e+f}},43048:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"pathHasPrefix",{enumerable:!0,get:function(){return e}});let d=c(12846);function e(a,b){if("string"!=typeof a)return!1;let{pathname:c}=(0,d.parsePath)(a);return c===b||c.startsWith(b+"/")}},43165:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=c(91275),e=c(32340),f=c(23057),g=c(61301),h=c(13786),i=c(18462);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},43313:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{RequestCookies:function(){return d.RequestCookies},ResponseCookies:function(){return d.ResponseCookies},stringifyCookie:function(){return d.stringifyCookie}});let d=c(96446)},43332:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("clock-3",[["path",{d:"M12 6v6h4",key:"135r8i"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},43646:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("folder-lock",[["rect",{width:"8",height:"5",x:"14",y:"17",rx:"1",key:"19aais"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5",key:"1w6v7t"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}]])},43708:(a,b,c)=>{"use strict";c.d(b,{W:()=>d});let d={}},43926:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},44511:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(99554),e="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=e&&"object"==typeof module&&module&&!module.nodeType&&module,g=f&&f.exports===e?d.A.Buffer:void 0,h=g?g.allocUnsafe:void 0;let i=function(a,b){if(b)return a.slice();var c=a.length,d=h?h(c):new a.constructor(c);return a.copy(d),d}},44650:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a,b){return function(c){return a(b(c))}}},44820:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]])},44928:(a,b,c)=>{"use strict";a.exports=c(76929).vendored["react-rsc"].ReactDOM},45110:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isRequestAPICallableInsideAfter:function(){return i},throwForSearchParamsAccessInUseCache:function(){return h},throwWithStaticGenerationBailoutError:function(){return f},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return g}});let d=c(60114),e=c(3295);function f(a,b){throw Object.defineProperty(new d.StaticGenBailoutError(`Route ${a} couldn't be rendered statically because it used ${b}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E576",enumerable:!1,configurable:!0})}function g(a,b){throw Object.defineProperty(new d.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${b}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function h(a,b){let c=Object.defineProperty(Error(`Route ${a.route} used "searchParams" inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await "searchParams" outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E779",enumerable:!1,configurable:!0});throw Error.captureStackTrace(c,b),a.invalidDynamicUsageError??=c,c}function i(){let a=e.afterTaskAsyncStorage.getStore();return(null==a?void 0:a.rootTaskSpawnPhase)==="action"}},45401:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(91645),e=c(34631),f=c(86944),g=c(53932);class h extends g.default{constructor(a){super(a.disconnectTimeout),this.options=a}connect(a){let b,{options:c}=this;return this.connecting=!0,"path"in c&&c.path?b={path:c.path}:(b={},"port"in c&&null!=c.port&&(b.port=c.port),"host"in c&&null!=c.host&&(b.host=c.host),"family"in c&&null!=c.family&&(b.family=c.family)),c.tls&&Object.assign(b,c.tls),new Promise((a,g)=>{process.nextTick(()=>{if(!this.connecting)return void g(Error(f.CONNECTION_CLOSED_ERROR_MSG));try{c.tls?this.stream=(0,e.connect)(b):this.stream=(0,d.createConnection)(b)}catch(a){g(a);return}this.stream.once("error",a=>{this.firstError=a}),a(this.stream)})})}}b.default=h},45549:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});let d=function(a,b,c){switch(c.length){case 0:return a.call(b);case 1:return a.call(b,c[0]);case 2:return a.call(b,c[0],c[1]);case 3:return a.call(b,c[0],c[1],c[2])}return a.apply(b,c)};var e=Math.max;let f=function(a,b,c){return b=e(void 0===b?a.length-1:b,0),function(){for(var f=arguments,g=-1,h=e(f.length-b,0),i=Array(h);++g<h;)i[g]=f[b+g];g=-1;for(var j=Array(b+1);++g<b;)j[g]=f[g];return j[b]=c(i),d(a,this,j)}}},46005:(a,b,c)=>{"use strict";c.d(b,{L:()=>d});let d=(0,c(21968).createContext)({})},46071:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(54469),e=c(14899);let f=(a,b,c)=>{let f=e.A.parse(a),g=f[b],h=d.A.channel.clamp[b](g+c);return g!==h&&(f[b]=h),e.A.stringify(f)}},46801:(a,b,c)=>{"use strict";c.d(b,{Gt:()=>e,PP:()=>h,WG:()=>f,uv:()=>g});var d=c(40092);let{schedule:e,cancel:f,state:g,steps:h}=(0,c(9915).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:d.l,!0)},46895:(a,b,c)=>{"use strict";c.d(b,{$C:()=>D,$t:()=>S,C4:()=>U,I5:()=>R,Ib:()=>r,KL:()=>X,Sm:()=>V,Un:()=>L,_K:()=>T,bH:()=>I,dq:()=>P,pe:()=>k,rY:()=>W,ru:()=>K,sM:()=>B,vU:()=>p,yT:()=>F});var d,e=c(6335),f=c(42292),g=c(82978),h=c(72636),i=c(31415),j=c(96842),k="",l={curveBasis:h.qrM,curveBasisClosed:h.Yu4,curveBasisOpen:h.IA3,curveBumpX:h.Wi0,curveBumpY:h.PGM,curveBundle:h.OEq,curveCardinalClosed:h.olC,curveCardinalOpen:h.IrU,curveCardinal:h.y8u,curveCatmullRomClosed:h.Q7f,curveCatmullRomOpen:h.cVp,curveCatmullRom:h.oDi,curveLinear:h.lUB,curveLinearClosed:h.Lx9,curveMonotoneX:h.nVG,curveMonotoneY:h.uxU,curveNatural:h.Xf2,curveStep:h.GZz,curveStepAfter:h.UPb,curveStepBefore:h.dyv},m=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,n=(0,f.K2)(function(a,b){let c=o(a,/(?:init\b)|(?:initialize\b)/),d={};if(Array.isArray(c)){let a=c.map(a=>a.args);(0,e.$i)(a),d=(0,e.hH)(d,[...a])}else d=c.args;if(!d)return;let f=(0,e.Ch)(a,b),g="config";return void 0!==d[g]&&("flowchart-v2"===f&&(f="flowchart"),d[f]=d[g],delete d[g]),d},"detectInit"),o=(0,f.K2)(function(a,b=null){try{let c,d=RegExp(`[%]{2}(?![{]${m.source})(?=[}][%]{2}).*
|
|
196
|
+
`,"ig");a=a.trim().replace(d,"").replace(/'/gm,'"'),f.Rm.debug(`Detecting diagram directive${null!==b?" type:"+b:""} based on the text:${a}`);let g=[];for(;null!==(c=e.DB.exec(a));)if(c.index===e.DB.lastIndex&&e.DB.lastIndex++,c&&!b||b&&c[1]?.match(b)||b&&c[2]?.match(b)){let a=c[1]?c[1]:c[2],b=c[3]?c[3].trim():c[4]?JSON.parse(c[4].trim()):null;g.push({type:a,args:b})}if(0===g.length)return{type:a,args:null};return 1===g.length?g[0]:g}catch(c){return f.Rm.error(`ERROR: ${c.message} - Unable to parse directive type: '${b}' based on the text: '${a}'`),{type:void 0,args:null}}},"detectDirective"),p=(0,f.K2)(function(a){return a.replace(e.DB,"")},"removeDirectives"),q=(0,f.K2)(function(a,b){for(let[c,d]of b.entries())if(d.match(a))return c;return -1},"isSubstringInArray");function r(a,b){return a?l[`curve${a.charAt(0).toUpperCase()+a.slice(1)}`]??b:b}function s(a,b){let c=a.trim();if(c)return"loose"!==b.securityLevel?(0,g.J)(c):c}(0,f.K2)(r,"interpolateToCurve"),(0,f.K2)(s,"formatUrl");var t=(0,f.K2)((a,...b)=>{let c=a.split("."),d=c.length-1,e=c[d],g=window;for(let b=0;b<d;b++)if(!(g=g[c[b]]))return void f.Rm.error(`Function name: ${a} not found in window`);g[e](...b)},"runFunc");function u(a,b){return a&&b?Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2)):0}function v(a){let b,c=0;return a.forEach(a=>{c+=u(a,b),b=a}),y(a,c/2)}function w(a){return 1===a.length?a[0]:v(a)}(0,f.K2)(u,"distance"),(0,f.K2)(v,"traverseEdge"),(0,f.K2)(w,"calcLabelPosition");var x=(0,f.K2)((a,b=2)=>{let c=Math.pow(10,b);return Math.round(a*c)/c},"roundNumber"),y=(0,f.K2)((a,b)=>{let c,d=b;for(let b of a){if(c){let a=u(b,c);if(0===a)return c;if(a<d)d-=a;else{let e=d/a;if(e<=0)return c;if(e>=1)return{x:b.x,y:b.y};if(e>0&&e<1)return{x:x((1-e)*c.x+e*b.x,5),y:x((1-e)*c.y+e*b.y,5)}}}c=b}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),z=(0,f.K2)((a,b,c)=>{f.Rm.info(`our points ${JSON.stringify(b)}`),b[0]!==c&&(b=b.reverse());let d=y(b,25),e=a?10:5,g=Math.atan2(b[0].y-d.y,b[0].x-d.x),h={x:0,y:0};return h.x=Math.sin(g)*e+(b[0].x+d.x)/2,h.y=-Math.cos(g)*e+(b[0].y+d.y)/2,h},"calcCardinalityPosition");function A(a,b,c){let d=structuredClone(c);f.Rm.info("our points",d),"start_left"!==b&&"start_right"!==b&&d.reverse();let e=y(d,25+a),g=10+.5*a,h=Math.atan2(d[0].y-e.y,d[0].x-e.x),i={x:0,y:0};return"start_left"===b?(i.x=Math.sin(h+Math.PI)*g+(d[0].x+e.x)/2,i.y=-Math.cos(h+Math.PI)*g+(d[0].y+e.y)/2):"end_right"===b?(i.x=Math.sin(h-Math.PI)*g+(d[0].x+e.x)/2-5,i.y=-Math.cos(h-Math.PI)*g+(d[0].y+e.y)/2-5):"end_left"===b?(i.x=Math.sin(h)*g+(d[0].x+e.x)/2-5,i.y=-Math.cos(h)*g+(d[0].y+e.y)/2-5):(i.x=Math.sin(h)*g+(d[0].x+e.x)/2,i.y=-Math.cos(h)*g+(d[0].y+e.y)/2),i}function B(a){let b="",c="";for(let d of a)void 0!==d&&(d.startsWith("color:")||d.startsWith("text-align:")?c=c+d+";":b=b+d+";");return{style:b,labelStyle:c}}(0,f.K2)(A,"calcTerminalLabelPosition"),(0,f.K2)(B,"getStylesFromArray");var C=0,D=(0,f.K2)(()=>(C++,"id-"+Math.random().toString(36).substr(2,12)+"-"+C),"generateId");function E(a){let b="",c="0123456789abcdef",d=c.length;for(let e=0;e<a;e++)b+=c.charAt(Math.floor(Math.random()*d));return b}(0,f.K2)(E,"makeRandomHex");var F=(0,f.K2)(a=>E(a.length),"random"),G=(0,f.K2)(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),H=(0,f.K2)(function(a,b){let c=b.text.replace(e.Y2.lineBreakRegex," "),[,d]=R(b.fontSize),f=a.append("text");f.attr("x",b.x),f.attr("y",b.y),f.style("text-anchor",b.anchor),f.style("font-family",b.fontFamily),f.style("font-size",d),f.style("font-weight",b.fontWeight),f.attr("fill",b.fill),void 0!==b.class&&f.attr("class",b.class);let g=f.append("tspan");return g.attr("x",b.x+2*b.textMargin),g.attr("fill",b.fill),g.text(c),f},"drawSimpleText"),I=(0,i.A)((a,b,c)=>{if(!a||(c=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},c),e.Y2.lineBreakRegex.test(a)))return a;let d=a.split(" ").filter(Boolean),f=[],g="";return d.forEach((a,e)=>{let h=L(`${a} `,c),i=L(g,c);if(h>b){let{hyphenatedStrings:d,remainingWord:e}=J(a,b,"-",c);f.push(g,...d),g=e}else i+h>=b?(f.push(g),g=a):g=[g,a].filter(Boolean).join(" ");e+1===d.length&&f.push(g)}),f.filter(a=>""!==a).join(c.joinWith)},(a,b,c)=>`${a}${b}${c.fontSize}${c.fontWeight}${c.fontFamily}${c.joinWith}`),J=(0,i.A)((a,b,c="-",d)=>{d=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},d);let e=[...a],f=[],g="";return e.forEach((a,h)=>{let i=`${g}${a}`;if(L(i,d)>=b){let a=e.length===h+1,b=`${i}${c}`;f.push(a?i:b),g=""}else g=i}),{hyphenatedStrings:f,remainingWord:g}},(a,b,c="-",d)=>`${a}${b}${c}${d.fontSize}${d.fontWeight}${d.fontFamily}`);function K(a,b){return M(a,b).height}function L(a,b){return M(a,b).width}(0,f.K2)(K,"calculateTextHeight"),(0,f.K2)(L,"calculateTextWidth");var M=(0,i.A)((a,b)=>{let{fontSize:c=12,fontFamily:d="Arial",fontWeight:f=400}=b;if(!a)return{width:0,height:0};let[,g]=R(c),i=a.split(e.Y2.lineBreakRegex),j=[],l=(0,h.Ltv)("body");if(!l.remove)return{width:0,height:0,lineHeight:0};let m=l.append("svg");for(let a of["sans-serif",d]){let b=0,c={width:0,height:0,lineHeight:0};for(let d of i){let e=G();e.text=d||k;let h=H(m,e).style("font-size",g).style("font-weight",f).style("font-family",a),i=(h._groups||h)[0][0].getBBox();if(0===i.width&&0===i.height)throw Error("svg element not in render tree");c.width=Math.round(Math.max(c.width,i.width)),b=Math.round(i.height),c.height+=b,c.lineHeight=Math.round(Math.max(c.lineHeight,b))}j.push(c)}m.remove();let n=isNaN(j[1].height)||isNaN(j[1].width)||isNaN(j[1].lineHeight)||j[0].height>j[1].height&&j[0].width>j[1].width&&j[0].lineHeight>j[1].lineHeight?0:1;return j[n]},(a,b)=>`${a}${b.fontSize}${b.fontWeight}${b.fontFamily}`),N=class{constructor(a=!1,b){this.count=0,this.count=b?b.length:0,this.next=a?()=>this.count++:()=>Date.now()}static{(0,f.K2)(this,"InitIDGenerator")}},O=(0,f.K2)(function(a){return d=d||document.createElement("div"),a=escape(a).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),d.innerHTML=a,unescape(d.textContent)},"entityDecode");function P(a){return"str"in a}(0,f.K2)(P,"isDetailedError");var Q=(0,f.K2)((a,b,c,d)=>{if(!d)return;let e=a.node()?.getBBox();e&&a.append("text").text(d).attr("text-anchor","middle").attr("x",e.x+e.width/2).attr("y",-c).attr("class",b)},"insertTitle"),R=(0,f.K2)(a=>{if("number"==typeof a)return[a,a+"px"];let b=parseInt(a??"",10);return Number.isNaN(b)?[void 0,void 0]:a===String(b)?[b,a+"px"]:[b,a]},"parseFontSize");function S(a,b){return(0,j.A)({},a,b)}(0,f.K2)(S,"cleanAndMerge");var T={assignWithDepth:e.hH,wrapLabel:I,calculateTextHeight:K,calculateTextWidth:L,calculateTextDimensions:M,cleanAndMerge:S,detectInit:n,detectDirective:o,isSubstringInArray:q,interpolateToCurve:r,calcLabelPosition:w,calcCardinalityPosition:z,calcTerminalLabelPosition:A,formatUrl:s,getStylesFromArray:B,generateId:D,random:F,runFunc:t,entityDecode:O,insertTitle:Q,isLabelCoordinateInPath:Y,parseFontSize:R,InitIDGenerator:N},U=(0,f.K2)(function(a){let b=a;return(b=(b=b.replace(/style.*:\S*#.*;/g,function(a){return a.substring(0,a.length-1)})).replace(/classDef.*:\S*#.*;/g,function(a){return a.substring(0,a.length-1)})).replace(/#\w+;/g,function(a){let b=a.substring(1,a.length-1);return/^\+?\d+$/.test(b)?"fl\xb0\xb0"+b+"\xb6\xdf":"fl\xb0"+b+"\xb6\xdf"})},"encodeEntities"),V=(0,f.K2)(function(a){return a.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),W=(0,f.K2)((a,b,{counter:c=0,prefix:d,suffix:e},f)=>f||`${d?`${d}_`:""}${a}_${b}_${c}${e?`_${e}`:""}`,"getEdgeId");function X(a){return a??null}function Y(a,b){let c=Math.round(a.x),d=Math.round(a.y),e=b.replace(/(\d+\.\d+)/g,a=>Math.round(parseFloat(a)).toString());return e.includes(c.toString())||e.includes(d.toString())}(0,f.K2)(X,"handleUndefinedAttr"),(0,f.K2)(Y,"isLabelCoordinateInPath")},46939:(a,b,c)=>{"use strict";function d(a){return a&&"object"==typeof a?"position"in a||"type"in a?f(a.position):"start"in a||"end"in a?f(a):"line"in a||"column"in a?e(a):"":""}function e(a){return g(a&&a.line)+":"+g(a&&a.column)}function f(a){return e(a&&a.start)+"-"+e(a&&a.end)}function g(a){return a&&"number"==typeof a?a:1}c.d(b,{L:()=>d})},47262:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(98131),e="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=e&&"object"==typeof module&&module&&!module.nodeType&&module,g=f&&f.exports===e&&d.A.process;let h=function(){try{var a=f&&f.require&&f.require("util").types;if(a)return a;return g&&g.binding&&g.binding("util")}catch(a){}}()},47924:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getRedirectError:function(){return g},getRedirectStatusCodeFromError:function(){return l},getRedirectTypeFromError:function(){return k},getURLFromRedirectError:function(){return j},permanentRedirect:function(){return i},redirect:function(){return h}});let d=c(87875),e=c(7533),f=c(19121).actionAsyncStorage;function g(a,b,c){void 0===c&&(c=d.RedirectStatusCode.TemporaryRedirect);let f=Object.defineProperty(Error(e.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return f.digest=e.REDIRECT_ERROR_CODE+";"+b+";"+a+";"+c+";",f}function h(a,b){var c;throw null!=b||(b=(null==f||null==(c=f.getStore())?void 0:c.isAction)?e.RedirectType.push:e.RedirectType.replace),g(a,b,d.RedirectStatusCode.TemporaryRedirect)}function i(a,b){throw void 0===b&&(b=e.RedirectType.replace),g(a,b,d.RedirectStatusCode.PermanentRedirect)}function j(a){return(0,e.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function k(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function l(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},47992:a=>{(()=>{"use strict";var b={491:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ContextAPI=void 0;let d=c(223),e=c(172),f=c(930),g="context",h=new d.NoopContextManager;class i{constructor(){}static getInstance(){return this._instance||(this._instance=new i),this._instance}setGlobalContextManager(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}active(){return this._getContextManager().active()}with(a,b,c,...d){return this._getContextManager().with(a,b,c,...d)}bind(a,b){return this._getContextManager().bind(a,b)}_getContextManager(){return(0,e.getGlobal)(g)||h}disable(){this._getContextManager().disable(),(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.ContextAPI=i},930:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagAPI=void 0;let d=c(56),e=c(912),f=c(957),g=c(172);class h{constructor(){function a(a){return function(...b){let c=(0,g.getGlobal)("diag");if(c)return c[a](...b)}}let b=this;b.setLogger=(a,c={logLevel:f.DiagLogLevel.INFO})=>{var d,h,i;if(a===b){let a=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return b.error(null!=(d=a.stack)?d:a.message),!1}"number"==typeof c&&(c={logLevel:c});let j=(0,g.getGlobal)("diag"),k=(0,e.createLogLevelDiagLogger)(null!=(h=c.logLevel)?h:f.DiagLogLevel.INFO,a);if(j&&!c.suppressOverrideMessage){let a=null!=(i=Error().stack)?i:"<failed to generate stacktrace>";j.warn(`Current logger will be overwritten from ${a}`),k.warn(`Current logger will overwrite one already registered from ${a}`)}return(0,g.registerGlobal)("diag",k,b,!0)},b.disable=()=>{(0,g.unregisterGlobal)("diag",b)},b.createComponentLogger=a=>new d.DiagComponentLogger(a),b.verbose=a("verbose"),b.debug=a("debug"),b.info=a("info"),b.warn=a("warn"),b.error=a("error")}static instance(){return this._instance||(this._instance=new h),this._instance}}b.DiagAPI=h},653:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.MetricsAPI=void 0;let d=c(660),e=c(172),f=c(930),g="metrics";class h{constructor(){}static getInstance(){return this._instance||(this._instance=new h),this._instance}setGlobalMeterProvider(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}getMeterProvider(){return(0,e.getGlobal)(g)||d.NOOP_METER_PROVIDER}getMeter(a,b,c){return this.getMeterProvider().getMeter(a,b,c)}disable(){(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.MetricsAPI=h},181:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.PropagationAPI=void 0;let d=c(172),e=c(874),f=c(194),g=c(277),h=c(369),i=c(930),j="propagation",k=new e.NoopTextMapPropagator;class l{constructor(){this.createBaggage=h.createBaggage,this.getBaggage=g.getBaggage,this.getActiveBaggage=g.getActiveBaggage,this.setBaggage=g.setBaggage,this.deleteBaggage=g.deleteBaggage}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalPropagator(a){return(0,d.registerGlobal)(j,a,i.DiagAPI.instance())}inject(a,b,c=f.defaultTextMapSetter){return this._getGlobalPropagator().inject(a,b,c)}extract(a,b,c=f.defaultTextMapGetter){return this._getGlobalPropagator().extract(a,b,c)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,d.unregisterGlobal)(j,i.DiagAPI.instance())}_getGlobalPropagator(){return(0,d.getGlobal)(j)||k}}b.PropagationAPI=l},997:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceAPI=void 0;let d=c(172),e=c(846),f=c(139),g=c(607),h=c(930),i="trace";class j{constructor(){this._proxyTracerProvider=new e.ProxyTracerProvider,this.wrapSpanContext=f.wrapSpanContext,this.isSpanContextValid=f.isSpanContextValid,this.deleteSpan=g.deleteSpan,this.getSpan=g.getSpan,this.getActiveSpan=g.getActiveSpan,this.getSpanContext=g.getSpanContext,this.setSpan=g.setSpan,this.setSpanContext=g.setSpanContext}static getInstance(){return this._instance||(this._instance=new j),this._instance}setGlobalTracerProvider(a){let b=(0,d.registerGlobal)(i,this._proxyTracerProvider,h.DiagAPI.instance());return b&&this._proxyTracerProvider.setDelegate(a),b}getTracerProvider(){return(0,d.getGlobal)(i)||this._proxyTracerProvider}getTracer(a,b){return this.getTracerProvider().getTracer(a,b)}disable(){(0,d.unregisterGlobal)(i,h.DiagAPI.instance()),this._proxyTracerProvider=new e.ProxyTracerProvider}}b.TraceAPI=j},277:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.deleteBaggage=b.setBaggage=b.getActiveBaggage=b.getBaggage=void 0;let d=c(491),e=(0,c(780).createContextKey)("OpenTelemetry Baggage Key");function f(a){return a.getValue(e)||void 0}b.getBaggage=f,b.getActiveBaggage=function(){return f(d.ContextAPI.getInstance().active())},b.setBaggage=function(a,b){return a.setValue(e,b)},b.deleteBaggage=function(a){return a.deleteValue(e)}},993:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.BaggageImpl=void 0;class c{constructor(a){this._entries=a?new Map(a):new Map}getEntry(a){let b=this._entries.get(a);if(b)return Object.assign({},b)}getAllEntries(){return Array.from(this._entries.entries()).map(([a,b])=>[a,b])}setEntry(a,b){let d=new c(this._entries);return d._entries.set(a,b),d}removeEntry(a){let b=new c(this._entries);return b._entries.delete(a),b}removeEntries(...a){let b=new c(this._entries);for(let c of a)b._entries.delete(c);return b}clear(){return new c}}b.BaggageImpl=c},830:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataSymbol=void 0,b.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataFromString=b.createBaggage=void 0;let d=c(930),e=c(993),f=c(830),g=d.DiagAPI.instance();b.createBaggage=function(a={}){return new e.BaggageImpl(new Map(Object.entries(a)))},b.baggageEntryMetadataFromString=function(a){return"string"!=typeof a&&(g.error(`Cannot create baggage metadata from unknown type: ${typeof a}`),a=""),{__TYPE__:f.baggageEntryMetadataSymbol,toString:()=>a}}},67:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.context=void 0,b.context=c(491).ContextAPI.getInstance()},223:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopContextManager=void 0;let d=c(780);class e{active(){return d.ROOT_CONTEXT}with(a,b,c,...d){return b.call(c,...d)}bind(a,b){return b}enable(){return this}disable(){return this}}b.NoopContextManager=e},780:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ROOT_CONTEXT=b.createContextKey=void 0,b.createContextKey=function(a){return Symbol.for(a)};class c{constructor(a){let b=this;b._currentContext=a?new Map(a):new Map,b.getValue=a=>b._currentContext.get(a),b.setValue=(a,d)=>{let e=new c(b._currentContext);return e._currentContext.set(a,d),e},b.deleteValue=a=>{let d=new c(b._currentContext);return d._currentContext.delete(a),d}}}b.ROOT_CONTEXT=new c},506:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.diag=void 0,b.diag=c(930).DiagAPI.instance()},56:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagComponentLogger=void 0;let d=c(172);class e{constructor(a){this._namespace=a.namespace||"DiagComponentLogger"}debug(...a){return f("debug",this._namespace,a)}error(...a){return f("error",this._namespace,a)}info(...a){return f("info",this._namespace,a)}warn(...a){return f("warn",this._namespace,a)}verbose(...a){return f("verbose",this._namespace,a)}}function f(a,b,c){let e=(0,d.getGlobal)("diag");if(e)return c.unshift(b),e[a](...c)}b.DiagComponentLogger=e},972:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagConsoleLogger=void 0;let c=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class d{constructor(){for(let a=0;a<c.length;a++)this[c[a].n]=function(a){return function(...b){if(console){let c=console[a];if("function"!=typeof c&&(c=console.log),"function"==typeof c)return c.apply(console,b)}}}(c[a].c)}}b.DiagConsoleLogger=d},912:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createLogLevelDiagLogger=void 0;let d=c(957);b.createLogLevelDiagLogger=function(a,b){function c(c,d){let e=b[c];return"function"==typeof e&&a>=d?e.bind(b):function(){}}return a<d.DiagLogLevel.NONE?a=d.DiagLogLevel.NONE:a>d.DiagLogLevel.ALL&&(a=d.DiagLogLevel.ALL),b=b||{},{error:c("error",d.DiagLogLevel.ERROR),warn:c("warn",d.DiagLogLevel.WARN),info:c("info",d.DiagLogLevel.INFO),debug:c("debug",d.DiagLogLevel.DEBUG),verbose:c("verbose",d.DiagLogLevel.VERBOSE)}}},957:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagLogLevel=void 0,function(a){a[a.NONE=0]="NONE",a[a.ERROR=30]="ERROR",a[a.WARN=50]="WARN",a[a.INFO=60]="INFO",a[a.DEBUG=70]="DEBUG",a[a.VERBOSE=80]="VERBOSE",a[a.ALL=9999]="ALL"}(b.DiagLogLevel||(b.DiagLogLevel={}))},172:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.unregisterGlobal=b.getGlobal=b.registerGlobal=void 0;let d=c(200),e=c(521),f=c(130),g=e.VERSION.split(".")[0],h=Symbol.for(`opentelemetry.js.api.${g}`),i=d._globalThis;b.registerGlobal=function(a,b,c,d=!1){var f;let g=i[h]=null!=(f=i[h])?f:{version:e.VERSION};if(!d&&g[a]){let b=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${a}`);return c.error(b.stack||b.message),!1}if(g.version!==e.VERSION){let b=Error(`@opentelemetry/api: Registration of version v${g.version} for ${a} does not match previously registered API v${e.VERSION}`);return c.error(b.stack||b.message),!1}return g[a]=b,c.debug(`@opentelemetry/api: Registered a global for ${a} v${e.VERSION}.`),!0},b.getGlobal=function(a){var b,c;let d=null==(b=i[h])?void 0:b.version;if(d&&(0,f.isCompatible)(d))return null==(c=i[h])?void 0:c[a]},b.unregisterGlobal=function(a,b){b.debug(`@opentelemetry/api: Unregistering a global for ${a} v${e.VERSION}.`);let c=i[h];c&&delete c[a]}},130:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.isCompatible=b._makeCompatibilityCheck=void 0;let d=c(521),e=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function f(a){let b=new Set([a]),c=new Set,d=a.match(e);if(!d)return()=>!1;let f={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=f.prerelease)return function(b){return b===a};function g(a){return c.add(a),!1}return function(a){if(b.has(a))return!0;if(c.has(a))return!1;let d=a.match(e);if(!d)return g(a);let h={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=h.prerelease||f.major!==h.major)return g(a);if(0===f.major)return f.minor===h.minor&&f.patch<=h.patch?(b.add(a),!0):g(a);return f.minor<=h.minor?(b.add(a),!0):g(a)}}b._makeCompatibilityCheck=f,b.isCompatible=f(d.VERSION)},886:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.metrics=void 0,b.metrics=c(653).MetricsAPI.getInstance()},901:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ValueType=void 0,function(a){a[a.INT=0]="INT",a[a.DOUBLE=1]="DOUBLE"}(b.ValueType||(b.ValueType={}))},102:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createNoopMeter=b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=b.NOOP_OBSERVABLE_GAUGE_METRIC=b.NOOP_OBSERVABLE_COUNTER_METRIC=b.NOOP_UP_DOWN_COUNTER_METRIC=b.NOOP_HISTOGRAM_METRIC=b.NOOP_COUNTER_METRIC=b.NOOP_METER=b.NoopObservableUpDownCounterMetric=b.NoopObservableGaugeMetric=b.NoopObservableCounterMetric=b.NoopObservableMetric=b.NoopHistogramMetric=b.NoopUpDownCounterMetric=b.NoopCounterMetric=b.NoopMetric=b.NoopMeter=void 0;class c{constructor(){}createHistogram(a,c){return b.NOOP_HISTOGRAM_METRIC}createCounter(a,c){return b.NOOP_COUNTER_METRIC}createUpDownCounter(a,c){return b.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(a,c){return b.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(a,c){return b.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(a,c){return b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(a,b){}removeBatchObservableCallback(a){}}b.NoopMeter=c;class d{}b.NoopMetric=d;class e extends d{add(a,b){}}b.NoopCounterMetric=e;class f extends d{add(a,b){}}b.NoopUpDownCounterMetric=f;class g extends d{record(a,b){}}b.NoopHistogramMetric=g;class h{addCallback(a){}removeCallback(a){}}b.NoopObservableMetric=h;class i extends h{}b.NoopObservableCounterMetric=i;class j extends h{}b.NoopObservableGaugeMetric=j;class k extends h{}b.NoopObservableUpDownCounterMetric=k,b.NOOP_METER=new c,b.NOOP_COUNTER_METRIC=new e,b.NOOP_HISTOGRAM_METRIC=new g,b.NOOP_UP_DOWN_COUNTER_METRIC=new f,b.NOOP_OBSERVABLE_COUNTER_METRIC=new i,b.NOOP_OBSERVABLE_GAUGE_METRIC=new j,b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new k,b.createNoopMeter=function(){return b.NOOP_METER}},660:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NOOP_METER_PROVIDER=b.NoopMeterProvider=void 0;let d=c(102);class e{getMeter(a,b,c){return d.NOOP_METER}}b.NoopMeterProvider=e,b.NOOP_METER_PROVIDER=new e},200:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(46),b)},651:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b._globalThis=void 0,b._globalThis="object"==typeof globalThis?globalThis:global},46:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(651),b)},939:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.propagation=void 0,b.propagation=c(181).PropagationAPI.getInstance()},874:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTextMapPropagator=void 0;class c{inject(a,b){}extract(a,b){return a}fields(){return[]}}b.NoopTextMapPropagator=c},194:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.defaultTextMapSetter=b.defaultTextMapGetter=void 0,b.defaultTextMapGetter={get(a,b){if(null!=a)return a[b]},keys:a=>null==a?[]:Object.keys(a)},b.defaultTextMapSetter={set(a,b,c){null!=a&&(a[b]=c)}}},845:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.trace=void 0,b.trace=c(997).TraceAPI.getInstance()},403:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NonRecordingSpan=void 0;let d=c(476);class e{constructor(a=d.INVALID_SPAN_CONTEXT){this._spanContext=a}spanContext(){return this._spanContext}setAttribute(a,b){return this}setAttributes(a){return this}addEvent(a,b){return this}setStatus(a){return this}updateName(a){return this}end(a){}isRecording(){return!1}recordException(a,b){}}b.NonRecordingSpan=e},614:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracer=void 0;let d=c(491),e=c(607),f=c(403),g=c(139),h=d.ContextAPI.getInstance();class i{startSpan(a,b,c=h.active()){var d;if(null==b?void 0:b.root)return new f.NonRecordingSpan;let i=c&&(0,e.getSpanContext)(c);return"object"==typeof(d=i)&&"string"==typeof d.spanId&&"string"==typeof d.traceId&&"number"==typeof d.traceFlags&&(0,g.isSpanContextValid)(i)?new f.NonRecordingSpan(i):new f.NonRecordingSpan}startActiveSpan(a,b,c,d){let f,g,i;if(arguments.length<2)return;2==arguments.length?i=b:3==arguments.length?(f=b,i=c):(f=b,g=c,i=d);let j=null!=g?g:h.active(),k=this.startSpan(a,f,j),l=(0,e.setSpan)(j,k);return h.with(l,i,void 0,k)}}b.NoopTracer=i},124:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracerProvider=void 0;let d=c(614);class e{getTracer(a,b,c){return new d.NoopTracer}}b.NoopTracerProvider=e},125:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracer=void 0;let d=new(c(614)).NoopTracer;class e{constructor(a,b,c,d){this._provider=a,this.name=b,this.version=c,this.options=d}startSpan(a,b,c){return this._getTracer().startSpan(a,b,c)}startActiveSpan(a,b,c,d){let e=this._getTracer();return Reflect.apply(e.startActiveSpan,e,arguments)}_getTracer(){if(this._delegate)return this._delegate;let a=this._provider.getDelegateTracer(this.name,this.version,this.options);return a?(this._delegate=a,this._delegate):d}}b.ProxyTracer=e},846:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracerProvider=void 0;let d=c(125),e=new(c(124)).NoopTracerProvider;class f{getTracer(a,b,c){var e;return null!=(e=this.getDelegateTracer(a,b,c))?e:new d.ProxyTracer(this,a,b,c)}getDelegate(){var a;return null!=(a=this._delegate)?a:e}setDelegate(a){this._delegate=a}getDelegateTracer(a,b,c){var d;return null==(d=this._delegate)?void 0:d.getTracer(a,b,c)}}b.ProxyTracerProvider=f},996:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SamplingDecision=void 0,function(a){a[a.NOT_RECORD=0]="NOT_RECORD",a[a.RECORD=1]="RECORD",a[a.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(b.SamplingDecision||(b.SamplingDecision={}))},607:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.getSpanContext=b.setSpanContext=b.deleteSpan=b.setSpan=b.getActiveSpan=b.getSpan=void 0;let d=c(780),e=c(403),f=c(491),g=(0,d.createContextKey)("OpenTelemetry Context Key SPAN");function h(a){return a.getValue(g)||void 0}function i(a,b){return a.setValue(g,b)}b.getSpan=h,b.getActiveSpan=function(){return h(f.ContextAPI.getInstance().active())},b.setSpan=i,b.deleteSpan=function(a){return a.deleteValue(g)},b.setSpanContext=function(a,b){return i(a,new e.NonRecordingSpan(b))},b.getSpanContext=function(a){var b;return null==(b=h(a))?void 0:b.spanContext()}},325:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceStateImpl=void 0;let d=c(564);class e{constructor(a){this._internalState=new Map,a&&this._parse(a)}set(a,b){let c=this._clone();return c._internalState.has(a)&&c._internalState.delete(a),c._internalState.set(a,b),c}unset(a){let b=this._clone();return b._internalState.delete(a),b}get(a){return this._internalState.get(a)}serialize(){return this._keys().reduce((a,b)=>(a.push(b+"="+this.get(b)),a),[]).join(",")}_parse(a){!(a.length>512)&&(this._internalState=a.split(",").reverse().reduce((a,b)=>{let c=b.trim(),e=c.indexOf("=");if(-1!==e){let f=c.slice(0,e),g=c.slice(e+1,b.length);(0,d.validateKey)(f)&&(0,d.validateValue)(g)&&a.set(f,g)}return a},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let a=new e;return a._internalState=new Map(this._internalState),a}}b.TraceStateImpl=e},564:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.validateValue=b.validateKey=void 0;let c="[_0-9a-z-*/]",d=`[a-z]${c}{0,255}`,e=`[a-z0-9]${c}{0,240}@[a-z]${c}{0,13}`,f=RegExp(`^(?:${d}|${e})$`),g=/^[ -~]{0,255}[!-~]$/,h=/,|=/;b.validateKey=function(a){return f.test(a)},b.validateValue=function(a){return g.test(a)&&!h.test(a)}},98:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createTraceState=void 0;let d=c(325);b.createTraceState=function(a){return new d.TraceStateImpl(a)}},476:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.INVALID_SPAN_CONTEXT=b.INVALID_TRACEID=b.INVALID_SPANID=void 0;let d=c(475);b.INVALID_SPANID="0000000000000000",b.INVALID_TRACEID="00000000000000000000000000000000",b.INVALID_SPAN_CONTEXT={traceId:b.INVALID_TRACEID,spanId:b.INVALID_SPANID,traceFlags:d.TraceFlags.NONE}},357:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SpanKind=void 0,function(a){a[a.INTERNAL=0]="INTERNAL",a[a.SERVER=1]="SERVER",a[a.CLIENT=2]="CLIENT",a[a.PRODUCER=3]="PRODUCER",a[a.CONSUMER=4]="CONSUMER"}(b.SpanKind||(b.SpanKind={}))},139:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.wrapSpanContext=b.isSpanContextValid=b.isValidSpanId=b.isValidTraceId=void 0;let d=c(476),e=c(403),f=/^([0-9a-f]{32})$/i,g=/^[0-9a-f]{16}$/i;function h(a){return f.test(a)&&a!==d.INVALID_TRACEID}function i(a){return g.test(a)&&a!==d.INVALID_SPANID}b.isValidTraceId=h,b.isValidSpanId=i,b.isSpanContextValid=function(a){return h(a.traceId)&&i(a.spanId)},b.wrapSpanContext=function(a){return new e.NonRecordingSpan(a)}},847:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SpanStatusCode=void 0,function(a){a[a.UNSET=0]="UNSET",a[a.OK=1]="OK",a[a.ERROR=2]="ERROR"}(b.SpanStatusCode||(b.SpanStatusCode={}))},475:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceFlags=void 0,function(a){a[a.NONE=0]="NONE",a[a.SAMPLED=1]="SAMPLED"}(b.TraceFlags||(b.TraceFlags={}))},521:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.VERSION=void 0,b.VERSION="1.6.0"}},c={};function d(a){var e=c[a];if(void 0!==e)return e.exports;var f=c[a]={exports:{}},g=!0;try{b[a].call(f.exports,f,f.exports,d),g=!1}finally{g&&delete c[a]}return f.exports}d.ab=__dirname+"/";var e={};(()=>{Object.defineProperty(e,"__esModule",{value:!0}),e.trace=e.propagation=e.metrics=e.diag=e.context=e.INVALID_SPAN_CONTEXT=e.INVALID_TRACEID=e.INVALID_SPANID=e.isValidSpanId=e.isValidTraceId=e.isSpanContextValid=e.createTraceState=e.TraceFlags=e.SpanStatusCode=e.SpanKind=e.SamplingDecision=e.ProxyTracerProvider=e.ProxyTracer=e.defaultTextMapSetter=e.defaultTextMapGetter=e.ValueType=e.createNoopMeter=e.DiagLogLevel=e.DiagConsoleLogger=e.ROOT_CONTEXT=e.createContextKey=e.baggageEntryMetadataFromString=void 0;var a=d(369);Object.defineProperty(e,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return a.baggageEntryMetadataFromString}});var b=d(780);Object.defineProperty(e,"createContextKey",{enumerable:!0,get:function(){return b.createContextKey}}),Object.defineProperty(e,"ROOT_CONTEXT",{enumerable:!0,get:function(){return b.ROOT_CONTEXT}});var c=d(972);Object.defineProperty(e,"DiagConsoleLogger",{enumerable:!0,get:function(){return c.DiagConsoleLogger}});var f=d(957);Object.defineProperty(e,"DiagLogLevel",{enumerable:!0,get:function(){return f.DiagLogLevel}});var g=d(102);Object.defineProperty(e,"createNoopMeter",{enumerable:!0,get:function(){return g.createNoopMeter}});var h=d(901);Object.defineProperty(e,"ValueType",{enumerable:!0,get:function(){return h.ValueType}});var i=d(194);Object.defineProperty(e,"defaultTextMapGetter",{enumerable:!0,get:function(){return i.defaultTextMapGetter}}),Object.defineProperty(e,"defaultTextMapSetter",{enumerable:!0,get:function(){return i.defaultTextMapSetter}});var j=d(125);Object.defineProperty(e,"ProxyTracer",{enumerable:!0,get:function(){return j.ProxyTracer}});var k=d(846);Object.defineProperty(e,"ProxyTracerProvider",{enumerable:!0,get:function(){return k.ProxyTracerProvider}});var l=d(996);Object.defineProperty(e,"SamplingDecision",{enumerable:!0,get:function(){return l.SamplingDecision}});var m=d(357);Object.defineProperty(e,"SpanKind",{enumerable:!0,get:function(){return m.SpanKind}});var n=d(847);Object.defineProperty(e,"SpanStatusCode",{enumerable:!0,get:function(){return n.SpanStatusCode}});var o=d(475);Object.defineProperty(e,"TraceFlags",{enumerable:!0,get:function(){return o.TraceFlags}});var p=d(98);Object.defineProperty(e,"createTraceState",{enumerable:!0,get:function(){return p.createTraceState}});var q=d(139);Object.defineProperty(e,"isSpanContextValid",{enumerable:!0,get:function(){return q.isSpanContextValid}}),Object.defineProperty(e,"isValidTraceId",{enumerable:!0,get:function(){return q.isValidTraceId}}),Object.defineProperty(e,"isValidSpanId",{enumerable:!0,get:function(){return q.isValidSpanId}});var r=d(476);Object.defineProperty(e,"INVALID_SPANID",{enumerable:!0,get:function(){return r.INVALID_SPANID}}),Object.defineProperty(e,"INVALID_TRACEID",{enumerable:!0,get:function(){return r.INVALID_TRACEID}}),Object.defineProperty(e,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return r.INVALID_SPAN_CONTEXT}});let s=d(67);Object.defineProperty(e,"context",{enumerable:!0,get:function(){return s.context}});let t=d(506);Object.defineProperty(e,"diag",{enumerable:!0,get:function(){return t.diag}});let u=d(886);Object.defineProperty(e,"metrics",{enumerable:!0,get:function(){return u.metrics}});let v=d(939);Object.defineProperty(e,"propagation",{enumerable:!0,get:function(){return v.propagation}});let w=d(845);Object.defineProperty(e,"trace",{enumerable:!0,get:function(){return w.trace}}),e.default={context:s.context,diag:t.diag,metrics:u.metrics,propagation:v.propagation,trace:w.trace}})(),a.exports=e})()},48589:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("folder-x",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"m9.5 10.5 5 5",key:"ra9qjz"}],["path",{d:"m14.5 10.5-5 5",key:"l2rkpq"}]])},48810:function(a,b,c){"use strict";var d=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(a,b){let c=null;if(!a||"string"!=typeof a)return c;let d=(0,e.default)(a),f="function"==typeof b;return d.forEach(a=>{if("declaration"!==a.type)return;let{property:d,value:e}=a;f?b(d,e,a):e&&((c=c||{})[d]=e)}),c};let e=d(c(93895))},48915:(a,b,c)=>{"use strict";c.d(b,{o:()=>e});var d=c(46939);class e extends Error{constructor(a,b,c){super(),"string"==typeof b&&(c=b,b=void 0);let e="",f={},g=!1;if(b&&(f="line"in b&&"column"in b||"start"in b&&"end"in b?{place:b}:"type"in b?{ancestors:[b],place:b.position}:{...b}),"string"==typeof a?e=a:!f.cause&&a&&(g=!0,e=a.message,f.cause=a),!f.ruleId&&!f.source&&"string"==typeof c){let a=c.indexOf(":");-1===a?f.ruleId=c:(f.source=c.slice(0,a),f.ruleId=c.slice(a+1))}if(!f.place&&f.ancestors&&f.ancestors){let a=f.ancestors[f.ancestors.length-1];a&&(f.place=a.position)}let h=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=e,this.line=h?h.line:void 0,this.name=(0,d.L)(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=g&&f.cause&&"string"==typeof f.cause.stack?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}e.prototype.file="",e.prototype.name="",e.prototype.reason="",e.prototype.message="",e.prototype.stack="",e.prototype.column=void 0,e.prototype.line=void 0,e.prototype.ancestors=void 0,e.prototype.cause=void 0,e.prototype.fatal=void 0,e.prototype.place=void 0,e.prototype.ruleId=void 0,e.prototype.source=void 0},48987:(a,b,c)=>{"use strict";c.d(b,{G:()=>E});var d,e,f,g=c(42880),h=c(17552),i=0,j=0,k=0,l=0,m=0,n=0,o="object"==typeof performance&&performance.now?performance:Date,p="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(a){setTimeout(a,17)};function q(){return m||(p(r),m=o.now()+n)}function r(){m=0}function s(){this._call=this._time=this._next=null}function t(a,b,c){var d=new s;return d.restart(a,b,c),d}function u(){m=(l=o.now())+n,i=j=0;try{q(),++i;for(var a,b=e;b;)(a=m-b._time)>=0&&b._call.call(void 0,a),b=b._next;--i}finally{i=0,function(){for(var a,b,c=e,d=1/0;c;)c._call?(d>c._time&&(d=c._time),a=c,c=c._next):(b=c._next,c._next=null,c=a?a._next=b:e=b);f=a,w(d)}(),m=0}}function v(){var a=o.now(),b=a-l;b>1e3&&(n-=b,l=a)}function w(a){!i&&(j&&(j=clearTimeout(j)),a-m>24?(a<1/0&&(j=setTimeout(u,a-o.now()-n)),k&&(k=clearInterval(k))):(k||(l=o.now(),k=setInterval(v,1e3)),i=1,p(u)))}function x(a,b,c){var d=new s;return b=null==b?0:+b,d.restart(c=>{d.stop(),a(c+b)},b,c),d}s.prototype=t.prototype={constructor:s,restart:function(a,b,c){if("function"!=typeof a)throw TypeError("callback is not a function");c=(null==c?q():+c)+(null==b?0:+b),this._next||f===this||(f?f._next=this:e=this,f=this),this._call=a,this._time=c,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}};var y=(0,h.A)("start","end","cancel","interrupt"),z=[];function A(a,b,c,d,e,f){var g=a.__transition;if(g){if(c in g)return}else a.__transition={};!function(a,b,c){var d,e=a.__transition;function f(i){var j,k,l,m;if(1!==c.state)return h();for(j in e)if((m=e[j]).name===c.name){if(3===m.state)return x(f);4===m.state?(m.state=6,m.timer.stop(),m.on.call("interrupt",a,a.__data__,m.index,m.group),delete e[j]):+j<b&&(m.state=6,m.timer.stop(),m.on.call("cancel",a,a.__data__,m.index,m.group),delete e[j])}if(x(function(){3===c.state&&(c.state=4,c.timer.restart(g,c.delay,c.time),g(i))}),c.state=2,c.on.call("start",a,a.__data__,c.index,c.group),2===c.state){for(j=0,c.state=3,d=Array(l=c.tween.length),k=-1;j<l;++j)(m=c.tween[j].value.call(a,a.__data__,c.index,c.group))&&(d[++k]=m);d.length=k+1}}function g(b){for(var e=b<c.duration?c.ease.call(null,b/c.duration):(c.timer.restart(h),c.state=5,1),f=-1,g=d.length;++f<g;)d[f].call(a,e);5===c.state&&(c.on.call("end",a,a.__data__,c.index,c.group),h())}function h(){for(var d in c.state=6,c.timer.stop(),delete e[b],e)return;delete a.__transition}e[b]=c,c.timer=t(function(a){c.state=1,c.timer.restart(f,c.delay,c.time),c.delay<=a&&f(a-c.delay)},0,c.time)}(a,c,{name:b,index:d,group:e,on:y,tween:z,time:f.time,delay:f.delay,duration:f.duration,ease:f.ease,timer:null,state:0})}function B(a,b){var c=D(a,b);if(c.state>0)throw Error("too late; already scheduled");return c}function C(a,b){var c=D(a,b);if(c.state>3)throw Error("too late; already running");return c}function D(a,b){var c=a.__transition;if(!c||!(c=c[b]))throw Error("transition not found");return c}function E(a,b){var c,d,e,f=a.__transition,g=!0;if(f){for(e in b=null==b?null:b+"",f){if((c=f[e]).name!==b){g=!1;continue}d=c.state>2&&c.state<5,c.state=6,c.timer.stop(),c.on.call(d?"interrupt":"cancel",a,a.__data__,c.index,c.group),delete f[e]}g&&delete a.__transition}}var F=c(61071),G=180/Math.PI,H={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function I(a,b,c,d,e,f){var g,h,i;return(g=Math.sqrt(a*a+b*b))&&(a/=g,b/=g),(i=a*c+b*d)&&(c-=a*i,d-=b*i),(h=Math.sqrt(c*c+d*d))&&(c/=h,d/=h,i/=h),a*d<b*c&&(a=-a,b=-b,i=-i,g=-g),{translateX:e,translateY:f,rotate:Math.atan2(b,a)*G,skewX:Math.atan(i)*G,scaleX:g,scaleY:h}}function J(a,b,c,d){function e(a){return a.length?a.pop()+" ":""}return function(f,g){var h,i,j,k,l=[],m=[];return f=a(f),g=a(g),!function(a,d,e,f,g,h){if(a!==e||d!==f){var i=g.push("translate(",null,b,null,c);h.push({i:i-4,x:(0,F.A)(a,e)},{i:i-2,x:(0,F.A)(d,f)})}else(e||f)&&g.push("translate("+e+b+f+c)}(f.translateX,f.translateY,g.translateX,g.translateY,l,m),h=f.rotate,i=g.rotate,h!==i?(h-i>180?i+=360:i-h>180&&(h+=360),m.push({i:l.push(e(l)+"rotate(",null,d)-2,x:(0,F.A)(h,i)})):i&&l.push(e(l)+"rotate("+i+d),j=f.skewX,k=g.skewX,j!==k?m.push({i:l.push(e(l)+"skewX(",null,d)-2,x:(0,F.A)(j,k)}):k&&l.push(e(l)+"skewX("+k+d),!function(a,b,c,d,f,g){if(a!==c||b!==d){var h=f.push(e(f)+"scale(",null,",",null,")");g.push({i:h-4,x:(0,F.A)(a,c)},{i:h-2,x:(0,F.A)(b,d)})}else(1!==c||1!==d)&&f.push(e(f)+"scale("+c+","+d+")")}(f.scaleX,f.scaleY,g.scaleX,g.scaleY,l,m),f=g=null,function(a){for(var b,c=-1,d=m.length;++c<d;)l[(b=m[c]).i]=b.x(a);return l.join("")}}}var K=J(function(a){let b=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(a+"");return b.isIdentity?H:I(b.a,b.b,b.c,b.d,b.e,b.f)},"px, ","px)","deg)"),L=J(function(a){return null==a?H:(d||(d=document.createElementNS("http://www.w3.org/2000/svg","g")),d.setAttribute("transform",a),a=d.transform.baseVal.consolidate())?I((a=a.matrix).a,a.b,a.c,a.d,a.e,a.f):H},", ",")",")"),M=c(92740);function N(a,b,c){var d=a._id;return a.each(function(){var a=C(this,d);(a.value||(a.value={}))[b]=c.apply(this,arguments)}),function(a){return D(a,d).value[b]}}var O=c(50703),P=c(49171),Q=c(91287);function R(a,b){var c;return("number"==typeof b?F.A:b instanceof O.Ay?P.Ay:(c=(0,O.Ay)(b))?(b=c,P.Ay):Q.A)(a,b)}var S=c(99317),T=c(75018),U=c(38055),V=g.Ay.prototype.constructor,W=c(37087);function X(a){return function(){this.style.removeProperty(a)}}var Y=0;function Z(a,b,c,d){this._groups=a,this._parents=b,this._name=c,this._id=d}var $=g.Ay.prototype;Z.prototype=(function(a){return(0,g.Ay)().transition(a)}).prototype={constructor:Z,select:function(a){var b=this._name,c=this._id;"function"!=typeof a&&(a=(0,T.A)(a));for(var d=this._groups,e=d.length,f=Array(e),g=0;g<e;++g)for(var h,i,j=d[g],k=j.length,l=f[g]=Array(k),m=0;m<k;++m)(h=j[m])&&(i=a.call(h,h.__data__,m,j))&&("__data__"in h&&(i.__data__=h.__data__),l[m]=i,A(l[m],b,c,m,l,D(h,c)));return new Z(f,this._parents,b,c)},selectAll:function(a){var b=this._name,c=this._id;"function"!=typeof a&&(a=(0,U.A)(a));for(var d=this._groups,e=d.length,f=[],g=[],h=0;h<e;++h)for(var i,j=d[h],k=j.length,l=0;l<k;++l)if(i=j[l]){for(var m,n=a.call(i,i.__data__,l,j),o=D(i,c),p=0,q=n.length;p<q;++p)(m=n[p])&&A(m,b,c,p,n,o);f.push(n),g.push(i)}return new Z(f,g,b,c)},selectChild:$.selectChild,selectChildren:$.selectChildren,filter:function(a){"function"!=typeof a&&(a=(0,S.A)(a));for(var b=this._groups,c=b.length,d=Array(c),e=0;e<c;++e)for(var f,g=b[e],h=g.length,i=d[e]=[],j=0;j<h;++j)(f=g[j])&&a.call(f,f.__data__,j,g)&&i.push(f);return new Z(d,this._parents,this._name,this._id)},merge:function(a){if(a._id!==this._id)throw Error();for(var b=this._groups,c=a._groups,d=b.length,e=c.length,f=Math.min(d,e),g=Array(d),h=0;h<f;++h)for(var i,j=b[h],k=c[h],l=j.length,m=g[h]=Array(l),n=0;n<l;++n)(i=j[n]||k[n])&&(m[n]=i);for(;h<d;++h)g[h]=b[h];return new Z(g,this._parents,this._name,this._id)},selection:function(){return new V(this._groups,this._parents)},transition:function(){for(var a=this._name,b=this._id,c=++Y,d=this._groups,e=d.length,f=0;f<e;++f)for(var g,h=d[f],i=h.length,j=0;j<i;++j)if(g=h[j]){var k=D(g,b);A(g,a,c,j,h,{time:k.time+k.delay+k.duration,delay:0,duration:k.duration,ease:k.ease})}return new Z(d,this._parents,a,c)},call:$.call,nodes:$.nodes,node:$.node,size:$.size,empty:$.empty,each:$.each,on:function(a,b){var c,d,e,f,g,h,i=this._id;return arguments.length<2?D(this.node(),i).on.on(a):this.each((c=i,d=a,e=b,h=(d+"").trim().split(/^|\s+/).every(function(a){var b=a.indexOf(".");return b>=0&&(a=a.slice(0,b)),!a||"start"===a})?B:C,function(){var a=h(this,c),b=a.on;b!==f&&(g=(f=b).copy()).on(d,e),a.on=g}))},attr:function(a,b){var c=(0,M.A)(a),d="transform"===c?L:R;return this.attrTween(a,"function"==typeof b?(c.local?function(a,b,c){var d,e,f;return function(){var g,h,i=c(this);return null==i?void this.removeAttributeNS(a.space,a.local):(g=this.getAttributeNS(a.space,a.local))===(h=i+"")?null:g===d&&h===e?f:(e=h,f=b(d=g,i))}}:function(a,b,c){var d,e,f;return function(){var g,h,i=c(this);return null==i?void this.removeAttribute(a):(g=this.getAttribute(a))===(h=i+"")?null:g===d&&h===e?f:(e=h,f=b(d=g,i))}})(c,d,N(this,"attr."+a,b)):null==b?(c.local?function(a){return function(){this.removeAttributeNS(a.space,a.local)}}:function(a){return function(){this.removeAttribute(a)}})(c):(c.local?function(a,b,c){var d,e,f=c+"";return function(){var g=this.getAttributeNS(a.space,a.local);return g===f?null:g===d?e:e=b(d=g,c)}}:function(a,b,c){var d,e,f=c+"";return function(){var g=this.getAttribute(a);return g===f?null:g===d?e:e=b(d=g,c)}})(c,d,b))},attrTween:function(a,b){var c="attr."+a;if(arguments.length<2)return(c=this.tween(c))&&c._value;if(null==b)return this.tween(c,null);if("function"!=typeof b)throw Error();var d=(0,M.A)(a);return this.tween(c,(d.local?function(a,b){var c,d;function e(){var e=b.apply(this,arguments);return e!==d&&(c=(d=e)&&function(b){this.setAttributeNS(a.space,a.local,e.call(this,b))}),c}return e._value=b,e}:function(a,b){var c,d;function e(){var e=b.apply(this,arguments);return e!==d&&(c=(d=e)&&function(b){this.setAttribute(a,e.call(this,b))}),c}return e._value=b,e})(d,b))},style:function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y="transform"==(a+="")?K:R;return null==b?this.styleTween(a,(d=a,function(){var a=(0,W.j)(this,d),b=(this.style.removeProperty(d),(0,W.j)(this,d));return a===b?null:a===e&&b===f?g:g=y(e=a,f=b)})).on("end.style."+a,X(a)):"function"==typeof b?this.styleTween(a,(h=a,i=N(this,"style."+a,b),function(){var a=(0,W.j)(this,h),b=i(this),c=b+"";return null==b&&(this.style.removeProperty(h),c=b=(0,W.j)(this,h)),a===c?null:a===j&&c===k?l:(k=c,l=y(j=a,b))})).each((m=this._id,t="end."+(s="style."+(n=a)),function(){var a=C(this,m),b=a.on,c=null==a.value[s]?r||(r=X(n)):void 0;(b!==o||q!==c)&&(p=(o=b).copy()).on(t,q=c),a.on=p})):this.styleTween(a,(u=a,x=b+"",function(){var a=(0,W.j)(this,u);return a===x?null:a===v?w:w=y(v=a,b)}),c).on("end.style."+a,null)},styleTween:function(a,b,c){var d="style."+(a+="");if(arguments.length<2)return(d=this.tween(d))&&d._value;if(null==b)return this.tween(d,null);if("function"!=typeof b)throw Error();return this.tween(d,function(a,b,c){var d,e;function f(){var f=b.apply(this,arguments);return f!==e&&(d=(e=f)&&function(b){this.style.setProperty(a,f.call(this,b),c)}),d}return f._value=b,f}(a,b,null==c?"":c))},text:function(a){var b,c;return this.tween("text","function"==typeof a?(b=N(this,"text",a),function(){var a=b(this);this.textContent=null==a?"":a}):(c=null==a?"":a+"",function(){this.textContent=c}))},textTween:function(a){var b="text";if(arguments.length<1)return(b=this.tween(b))&&b._value;if(null==a)return this.tween(b,null);if("function"!=typeof a)throw Error();return this.tween(b,function(a){var b,c;function d(){var d=a.apply(this,arguments);return d!==c&&(b=(c=d)&&function(a){this.textContent=d.call(this,a)}),b}return d._value=a,d}(a))},remove:function(){var a;return this.on("end.remove",(a=this._id,function(){var b=this.parentNode;for(var c in this.__transition)if(+c!==a)return;b&&b.removeChild(this)}))},tween:function(a,b){var c=this._id;if(a+="",arguments.length<2){for(var d,e=D(this.node(),c).tween,f=0,g=e.length;f<g;++f)if((d=e[f]).name===a)return d.value;return null}return this.each((null==b?function(a,b){var c,d;return function(){var e=C(this,a),f=e.tween;if(f!==c){d=c=f;for(var g=0,h=d.length;g<h;++g)if(d[g].name===b){(d=d.slice()).splice(g,1);break}}e.tween=d}}:function(a,b,c){var d,e;if("function"!=typeof c)throw Error();return function(){var f=C(this,a),g=f.tween;if(g!==d){e=(d=g).slice();for(var h={name:b,value:c},i=0,j=e.length;i<j;++i)if(e[i].name===b){e[i]=h;break}i===j&&e.push(h)}f.tween=e}})(c,a,b))},delay:function(a){var b=this._id;return arguments.length?this.each(("function"==typeof a?function(a,b){return function(){B(this,a).delay=+b.apply(this,arguments)}}:function(a,b){return b*=1,function(){B(this,a).delay=b}})(b,a)):D(this.node(),b).delay},duration:function(a){var b=this._id;return arguments.length?this.each(("function"==typeof a?function(a,b){return function(){C(this,a).duration=+b.apply(this,arguments)}}:function(a,b){return b*=1,function(){C(this,a).duration=b}})(b,a)):D(this.node(),b).duration},ease:function(a){var b=this._id;return arguments.length?this.each(function(a,b){if("function"!=typeof b)throw Error();return function(){C(this,a).ease=b}}(b,a)):D(this.node(),b).ease},easeVarying:function(a){var b;if("function"!=typeof a)throw Error();return this.each((b=this._id,function(){var c=a.apply(this,arguments);if("function"!=typeof c)throw Error();C(this,b).ease=c}))},end:function(){var a,b,c=this,d=c._id,e=c.size();return new Promise(function(f,g){var h={value:g},i={value:function(){0==--e&&f()}};c.each(function(){var c=C(this,d),e=c.on;e!==a&&((b=(a=e).copy())._.cancel.push(h),b._.interrupt.push(h),b._.end.push(i)),c.on=b}),0===e&&f()})},[Symbol.iterator]:$[Symbol.iterator]};var _={time:null,delay:0,duration:250,ease:function(a){return((a*=2)<=1?a*a*a:(a-=2)*a*a+2)/2}};g.Ay.prototype.interrupt=function(a){return this.each(function(){E(this,a)})},g.Ay.prototype.transition=function(a){var b,c;a instanceof Z?(b=a._id,a=a._name):(b=++Y,(c=_).time=q(),a=null==a?null:a+"");for(var d=this._groups,e=d.length,f=0;f<e;++f)for(var g,h=d[f],i=h.length,j=0;j<i;++j)(g=h[j])&&A(g,a,b,j,h,c||function(a,b){for(var c;!(c=a.__transition)||!(c=c[b]);)if(!(a=a.parentNode))throw Error(`transition ${b} not found`);return c}(g,b));return new Z(d,this._parents,a,b)}},49060:(a,b,c)=>{"use strict";c.d(b,{xQ:()=>f});var d=c(21968),e=c(25367);function f(a=!0){let b=(0,d.useContext)(e.t);if(null===b)return[!0,null];let{isPresent:c,onExitComplete:g,register:h}=b,i=(0,d.useId)(),j=(0,d.useCallback)(()=>a&&g&&g(i),[i,g,a]);return!c&&g?[!1,j]:[!0]}},49171:(a,b,c)=>{"use strict";c.d(b,{Ay:()=>g});var d=c(50703);function e(a,b,c,d,e){var f=a*a,g=f*a;return((1-3*a+3*f-g)*b+(4-6*f+3*g)*c+(1+3*a+3*f-3*g)*d+g*e)/6}var f=c(30391);let g=function a(b){var c=(0,f.uN)(b);function e(a,b){var e=c((a=(0,d.Qh)(a)).r,(b=(0,d.Qh)(b)).r),g=c(a.g,b.g),h=c(a.b,b.b),i=(0,f.Ay)(a.opacity,b.opacity);return function(b){return a.r=e(b),a.g=g(b),a.b=h(b),a.opacity=i(b),a+""}}return e.gamma=a,e}(1);function h(a){return function(b){var c,e,f=b.length,g=Array(f),h=Array(f),i=Array(f);for(c=0;c<f;++c)e=(0,d.Qh)(b[c]),g[c]=e.r||0,h[c]=e.g||0,i[c]=e.b||0;return g=a(g),h=a(h),i=a(i),e.opacity=1,function(a){return e.r=g(a),e.g=h(a),e.b=i(a),e+""}}}h(function(a){var b=a.length-1;return function(c){var d=c<=0?c=0:c>=1?(c=1,b-1):Math.floor(c*b),f=a[d],g=a[d+1],h=d>0?a[d-1]:2*f-g,i=d<b-1?a[d+2]:2*g-f;return e((c-d/b)*b,h,f,g,i)}}),h(function(a){var b=a.length;return function(c){var d=Math.floor(((c%=1)<0?++c:c)*b),f=a[(d+b-1)%b],g=a[d%b],h=a[(d+1)%b],i=a[(d+2)%b];return e((c-d/b)*b,f,g,h,i)}})},49187:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{MutableRequestCookiesAdapter:function(){return l},ReadonlyRequestCookiesError:function(){return g},RequestCookiesAdapter:function(){return h},appendMutableCookies:function(){return k},areCookiesMutableInCurrentPhase:function(){return n},createCookiesWithMutableAccessCheck:function(){return m},getModifiedCookieValues:function(){return j},responseCookiesToRequestCookies:function(){return p}});let d=c(43313),e=c(56898),f=c(29294);class g extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new g}}class h{static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"clear":case"delete":case"set":return g.callable;default:return e.ReflectAdapter.get(a,b,c)}}})}}let i=Symbol.for("next.mutated.cookies");function j(a){let b=a[i];return b&&Array.isArray(b)&&0!==b.length?b:[]}function k(a,b){let c=j(b);if(0===c.length)return!1;let e=new d.ResponseCookies(a),f=e.getAll();for(let a of c)e.set(a);for(let a of f)e.set(a);return!0}class l{static wrap(a,b){let c=new d.ResponseCookies(new Headers);for(let b of a.getAll())c.set(b);let g=[],h=new Set,j=()=>{let a=f.workAsyncStorage.getStore();if(a&&(a.pathWasRevalidated=!0),g=c.getAll().filter(a=>h.has(a.name)),b){let a=[];for(let b of g){let c=new d.ResponseCookies(new Headers);c.set(b),a.push(c.toString())}b(a)}},k=new Proxy(c,{get(a,b,c){switch(b){case i:return g;case"delete":return function(...b){h.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.delete(...b),k}finally{j()}};case"set":return function(...b){h.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.set(...b),k}finally{j()}};default:return e.ReflectAdapter.get(a,b,c)}}});return k}}function m(a){let b=new Proxy(a.mutableCookies,{get(c,d,f){switch(d){case"delete":return function(...d){return o(a,"cookies().delete"),c.delete(...d),b};case"set":return function(...d){return o(a,"cookies().set"),c.set(...d),b};default:return e.ReflectAdapter.get(c,d,f)}}});return b}function n(a){return"action"===a.phase}function o(a,b){if(!n(a))throw new g}function p(a){let b=new d.RequestCookies(new Headers);for(let c of a.getAll())b.set(c);return b}},50022:(a,b,c)=>{"use strict";c.d(b,{y:()=>d});class d extends Error{constructor(a,b){let c=[];for(let a of b){let b=[];a.instancePath&&b.push(a.instancePath),a.message&&b.push(a.message),c.push(b.join(" "))}super(`${a}: ${c.join(", ")}`),this.name="ValidationError",this.details=b}}},50266:(a,b,c)=>{"use strict";function d(a,b,c,d){let e,f=a.length,g=0;if(b=b<0?-b>f?0:f+b:b>f?f:b,c=c>0?c:0,d.length<1e4)(e=Array.from(d)).unshift(b,c),a.splice(...e);else for(c&&a.splice(b,c);g<d.length;)(e=d.slice(g,g+1e4)).unshift(b,0),a.splice(...e),g+=1e4,b+=1e4}function e(a,b){return a.length>0?(d(a,a.length,0,b),a):b}c.d(b,{V:()=>e,m:()=>d})},50650:(a,b,c)=>{"use strict";var d=c(28354),e=c(44928),f={stream:!0},g=Object.prototype.hasOwnProperty,h=new Map;function i(a){var b=globalThis.__next_require__(a);return"function"!=typeof b.then||"fulfilled"===b.status?null:(b.then(function(a){b.status="fulfilled",b.value=a},function(a){b.status="rejected",b.reason=a}),b)}function j(){}function k(a){for(var b=a[1],d=[],e=0;e<b.length;){var f=b[e++];b[e++];var g=h.get(f);if(void 0===g){g=c.e(f),d.push(g);var k=h.set.bind(h,f,null);g.then(k,j),h.set(f,g)}else null!==g&&d.push(g)}return 4===a.length?0===d.length?i(a[0]):Promise.all(d).then(function(){return i(a[0])}):0<d.length?Promise.all(d):null}function l(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"==typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:g.call(b,a[2])?b[a[2]]:void 0}var m=e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,n=Symbol.for("react.transitional.element"),o=Symbol.for("react.lazy"),p=Symbol.iterator,q=Symbol.asyncIterator,r=Array.isArray,s=Object.getPrototypeOf,t=Object.prototype,u=new WeakMap;function v(a,b,c,d,e){function f(a,c){c=new Blob([new Uint8Array(c.buffer,c.byteOffset,c.byteLength)]);var d=i++;return null===k&&(k=new FormData),k.append(b+d,c),"$"+a+d.toString(16)}function g(a,v){if(null===v)return null;if("object"==typeof v){switch(v.$$typeof){case n:if(void 0!==c&&-1===a.indexOf(":")){var w,x,y,z,A,B=l.get(this);if(void 0!==B)return c.set(B+":"+a,v),"$T"}throw Error("React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options.");case o:B=v._payload;var C=v._init;null===k&&(k=new FormData),j++;try{var D=C(B),E=i++,F=h(D,E);return k.append(b+E,F),"$"+E.toString(16)}catch(a){if("object"==typeof a&&null!==a&&"function"==typeof a.then){j++;var G=i++;return B=function(){try{var a=h(v,G),c=k;c.append(b+G,a),j--,0===j&&d(c)}catch(a){e(a)}},a.then(B,B),"$"+G.toString(16)}return e(a),null}finally{j--}}if(B=l.get(v),"function"==typeof v.then){if(void 0!==B)if(m!==v)return B;else m=null;null===k&&(k=new FormData),j++;var H=i++;return a="$@"+H.toString(16),l.set(v,a),v.then(function(a){try{var c=l.get(a),f=void 0!==c?JSON.stringify(c):h(a,H);(a=k).append(b+H,f),j--,0===j&&d(a)}catch(a){e(a)}},e),a}if(void 0!==B)if(m!==v)return B;else m=null;else -1===a.indexOf(":")&&void 0!==(B=l.get(this))&&(a=B+":"+a,l.set(v,a),void 0!==c&&c.set(a,v));if(r(v))return v;if(v instanceof FormData){null===k&&(k=new FormData);var I=k,J=b+(a=i++)+"_";return v.forEach(function(a,b){I.append(J+b,a)}),"$K"+a.toString(16)}if(v instanceof Map)return a=i++,B=h(Array.from(v),a),null===k&&(k=new FormData),k.append(b+a,B),"$Q"+a.toString(16);if(v instanceof Set)return a=i++,B=h(Array.from(v),a),null===k&&(k=new FormData),k.append(b+a,B),"$W"+a.toString(16);if(v instanceof ArrayBuffer)return a=new Blob([v]),B=i++,null===k&&(k=new FormData),k.append(b+B,a),"$A"+B.toString(16);if(v instanceof Int8Array)return f("O",v);if(v instanceof Uint8Array)return f("o",v);if(v instanceof Uint8ClampedArray)return f("U",v);if(v instanceof Int16Array)return f("S",v);if(v instanceof Uint16Array)return f("s",v);if(v instanceof Int32Array)return f("L",v);if(v instanceof Uint32Array)return f("l",v);if(v instanceof Float32Array)return f("G",v);if(v instanceof Float64Array)return f("g",v);if(v instanceof BigInt64Array)return f("M",v);if(v instanceof BigUint64Array)return f("m",v);if(v instanceof DataView)return f("V",v);if("function"==typeof Blob&&v instanceof Blob)return null===k&&(k=new FormData),a=i++,k.append(b+a,v),"$B"+a.toString(16);if(a=null===(w=v)||"object"!=typeof w?null:"function"==typeof(w=p&&w[p]||w["@@iterator"])?w:null)return(B=a.call(v))===v?(a=i++,B=h(Array.from(B),a),null===k&&(k=new FormData),k.append(b+a,B),"$i"+a.toString(16)):Array.from(B);if("function"==typeof ReadableStream&&v instanceof ReadableStream)return function(a){try{var c,f,h,l,m,n,o,p=a.getReader({mode:"byob"})}catch(l){return c=a.getReader(),null===k&&(k=new FormData),f=k,j++,h=i++,c.read().then(function a(i){if(i.done)f.append(b+h,"C"),0==--j&&d(f);else try{var k=JSON.stringify(i.value,g);f.append(b+h,k),c.read().then(a,e)}catch(a){e(a)}},e),"$R"+h.toString(16)}return l=p,null===k&&(k=new FormData),m=k,j++,n=i++,o=[],l.read(new Uint8Array(1024)).then(function a(c){c.done?(c=i++,m.append(b+c,new Blob(o)),m.append(b+n,'"$o'+c.toString(16)+'"'),m.append(b+n,"C"),0==--j&&d(m)):(o.push(c.value),l.read(new Uint8Array(1024)).then(a,e))},e),"$r"+n.toString(16)}(v);if("function"==typeof(a=v[q]))return x=v,y=a.call(v),null===k&&(k=new FormData),z=k,j++,A=i++,x=x===y,y.next().then(function a(c){if(c.done){if(void 0===c.value)z.append(b+A,"C");else try{var f=JSON.stringify(c.value,g);z.append(b+A,"C"+f)}catch(a){e(a);return}0==--j&&d(z)}else try{var h=JSON.stringify(c.value,g);z.append(b+A,h),y.next().then(a,e)}catch(a){e(a)}},e),"$"+(x?"x":"X")+A.toString(16);if((a=s(v))!==t&&(null===a||null!==s(a))){if(void 0===c)throw Error("Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported.");return"$T"}return v}if("string"==typeof v)return"Z"===v[v.length-1]&&this[a]instanceof Date?"$D"+v:a="$"===v[0]?"$"+v:v;if("boolean"==typeof v)return v;if("number"==typeof v)return Number.isFinite(v)?0===v&&-1/0==1/v?"$-0":v:1/0===v?"$Infinity":-1/0===v?"$-Infinity":"$NaN";if(void 0===v)return"$undefined";if("function"==typeof v){if(void 0!==(B=u.get(v)))return void 0!==(a=l.get(v))||(a=JSON.stringify({id:B.id,bound:B.bound},g),null===k&&(k=new FormData),B=i++,k.set(b+B,a),a="$h"+B.toString(16),l.set(v,a)),a;if(void 0!==c&&-1===a.indexOf(":")&&void 0!==(B=l.get(this)))return c.set(B+":"+a,v),"$T";throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.")}if("symbol"==typeof v){if(void 0!==c&&-1===a.indexOf(":")&&void 0!==(B=l.get(this)))return c.set(B+":"+a,v),"$T";throw Error("Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options.")}if("bigint"==typeof v)return"$n"+v.toString(10);throw Error("Type "+typeof v+" is not supported as an argument to a Server Function.")}function h(a,b){return"object"==typeof a&&null!==a&&(b="$"+b.toString(16),l.set(a,b),void 0!==c&&c.set(b,a)),m=a,JSON.stringify(a,g)}var i=1,j=0,k=null,l=new WeakMap,m=a,v=h(a,0);return null===k?d(v):(k.set(b+"0",v),0===j&&d(k)),function(){0<j&&(j=0,null===k?d(v):d(k))}}var w=new WeakMap;function x(a){var b=u.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){if((c=w.get(b))||(d={id:b.id,bound:b.bound},g=new Promise(function(a,b){e=a,f=b}),v(d,"",void 0,function(a){if("string"==typeof a){var b=new FormData;b.append("0",a),a=b}g.status="fulfilled",g.value=a,e(a)},function(a){g.status="rejected",g.reason=a,f(a)}),c=g,w.set(b,c)),"rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d,e,f,g,h=new FormData;b.forEach(function(b,c){h.append("$ACTION_"+a+":"+c,b)}),c=h,b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}function y(a,b){var c=u.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case"fulfilled":return d.value.length===b;case"pending":throw d;case"rejected":throw d.reason;default:throw"string"!=typeof d.status&&(d.status="pending",d.then(function(a){d.status="fulfilled",d.value=a},function(a){d.status="rejected",d.reason=a})),d}}function z(a,b,c,d){u.has(a)||(u.set(a,{id:b,originalBind:a.bind,bound:c}),Object.defineProperties(a,{$$FORM_ACTION:{value:void 0===d?x:function(){var a=u.get(this);if(!a)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var b=a.bound;return null===b&&(b=Promise.resolve([])),d(a.id,b)}},$$IS_SIGNATURE_EQUAL:{value:y},bind:{value:C}}))}var A=Function.prototype.bind,B=Array.prototype.slice;function C(){var a=u.get(this);if(!a)return A.apply(this,arguments);var b=a.originalBind.apply(this,arguments),c=B.call(arguments,1),d=null;return d=null!==a.bound?Promise.resolve(a.bound).then(function(a){return a.concat(c)}):Promise.resolve(c),u.set(b,{id:a.id,originalBind:b.bind,bound:d}),Object.defineProperties(b,{$$FORM_ACTION:{value:this.$$FORM_ACTION},$$IS_SIGNATURE_EQUAL:{value:y},bind:{value:C}}),b}function D(a,b,c){this.status=a,this.value=b,this.reason=c}function E(a){switch(a.status){case"resolved_model":P(a);break;case"resolved_module":Q(a)}switch(a.status){case"fulfilled":return a.value;case"pending":case"blocked":case"halted":throw a;default:throw a.reason}}function F(a,b){for(var c=0;c<a.length;c++){var d=a[c];"function"==typeof d?d(b):U(d,b)}}function G(a,b){for(var c=0;c<a.length;c++){var d=a[c];"function"==typeof d?d(b):V(d,b)}}function H(a,b){var c=b.handler.chunk;if(null===c)return null;if(c===a)return b.handler;if(null!==(b=c.value))for(c=0;c<b.length;c++){var d=b[c];if("function"!=typeof d&&null!==(d=H(a,d)))return d}return null}function I(a,b,c){switch(a.status){case"fulfilled":F(b,a.value);break;case"blocked":for(var d=0;d<b.length;d++){var e=b[d];if("function"!=typeof e){var f=H(a,e);if(null!==f)switch(U(e,f.value),b.splice(d,1),d--,null!==c&&-1!==(e=c.indexOf(e))&&c.splice(e,1),a.status){case"fulfilled":F(b,a.value);return;case"rejected":null!==c&&G(c,a.reason);return}}}case"pending":if(a.value)for(d=0;d<b.length;d++)a.value.push(b[d]);else a.value=b;if(a.reason){if(c)for(b=0;b<c.length;b++)a.reason.push(c[b])}else a.reason=c;break;case"rejected":c&&G(c,a.reason)}}function J(a,b,c){"pending"!==b.status&&"blocked"!==b.status?b.reason.error(c):(a=b.reason,b.status="rejected",b.reason=c,null!==a&&G(a,c))}function K(a,b,c){return new D("resolved_model",(c?'{"done":true,"value":':'{"done":false,"value":')+b+"}",a)}function L(a,b,c,d){M(a,b,(d?'{"done":true,"value":':'{"done":false,"value":')+c+"}")}function M(a,b,c){if("pending"!==b.status)b.reason.enqueueModel(c);else{var d=b.value,e=b.reason;b.status="resolved_model",b.value=c,b.reason=a,null!==d&&(P(b),I(b,d,e))}}function N(a,b,c){if("pending"===b.status||"blocked"===b.status){a=b.value;var d=b.reason;b.status="resolved_module",b.value=c,b.reason=null,null!==a&&(Q(b),I(b,a,d))}}D.prototype=Object.create(Promise.prototype),D.prototype.then=function(a,b){switch(this.status){case"resolved_model":P(this);break;case"resolved_module":Q(this)}switch(this.status){case"fulfilled":"function"==typeof a&&a(this.value);break;case"pending":case"blocked":"function"==typeof a&&(null===this.value&&(this.value=[]),this.value.push(a)),"function"==typeof b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;case"halted":break;default:"function"==typeof b&&b(this.reason)}};var O=null;function P(a){var b=O;O=null;var c=a.value,d=a.reason;a.status="blocked",a.value=null,a.reason=null;try{var e=JSON.parse(c,d._fromJSON),f=a.value;if(null!==f&&(a.value=null,a.reason=null,F(f,e)),null!==O){if(O.errored)throw O.reason;if(0<O.deps){O.value=e,O.reason=null,O.chunk=a;return}}a.status="fulfilled",a.value=e,a.reason=null}catch(b){a.status="rejected",a.reason=b}finally{O=b}}function Q(a){try{var b=l(a.value);a.status="fulfilled",a.value=b,a.reason=null}catch(b){a.status="rejected",a.reason=b}}function R(a,b){a._closed=!0,a._closedReason=b,a._chunks.forEach(function(c){"pending"===c.status?J(a,c,b):"fulfilled"===c.status&&null!==c.reason&&c.reason.error(b)})}function S(a){return{$$typeof:o,_payload:a,_init:E}}function T(a,b){var c=a._chunks,d=c.get(b);return d||(d=a._closed?new D("rejected",null,a._closedReason):new D("pending",null,null),c.set(b,d)),d}function U(a,b){var c=a.response,d=a.handler,e=a.parentObject,f=a.key,h=a.map,i=a.path;try{for(var j=1;j<i.length;j++){for(;b.$$typeof===o;){var k=b._payload;if(k===d.chunk)b=d.value;else{switch(k.status){case"resolved_model":P(k);break;case"resolved_module":Q(k)}switch(k.status){case"fulfilled":b=k.value;continue;case"blocked":var l=H(k,a);if(null!==l){b=l.value;continue}case"pending":i.splice(0,j-1),null===k.value?k.value=[a]:k.value.push(a),null===k.reason?k.reason=[a]:k.reason.push(a);return;case"halted":return;default:V(a,k.reason);return}}}var m=i[j];if("object"==typeof b&&null!==b&&g.call(b,m))b=b[m];else throw Error("Invalid reference.")}var p=h(c,b,e,f);if("__proto__"!==f&&(e[f]=p),""===f&&null===d.value&&(d.value=p),e[0]===n&&"object"==typeof d.value&&null!==d.value&&d.value.$$typeof===n){var q=d.value;"3"===f&&(q.props=p)}}catch(b){V(a,b);return}d.deps--,0===d.deps&&null!==(a=d.chunk)&&"blocked"===a.status&&(b=a.value,a.status="fulfilled",a.value=d.value,a.reason=d.reason,null!==b&&F(b,d.value))}function V(a,b){var c=a.handler;a=a.response,c.errored||(c.errored=!0,c.value=null,c.reason=b,null!==(c=c.chunk)&&"blocked"===c.status&&J(a,c,b))}function W(a,b,c,d,e,f){if(O){var g=O;g.deps++}else g=O={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1};return b={response:d,handler:g,parentObject:b,key:c,map:e,path:f},null===a.value?a.value=[b]:a.value.push(b),null===a.reason?a.reason=[b]:a.reason.push(b),null}function X(a,b,c,d){if(!a._serverReferenceConfig)return function(a,b,c){function d(){var a=Array.prototype.slice.call(arguments);return f?"fulfilled"===f.status?b(e,f.value.concat(a)):Promise.resolve(f).then(function(c){return b(e,c.concat(a))}):b(e,a)}var e=a.id,f=a.bound;return z(d,e,f,c),d}(b,a._callServer,a._encodeFormAction);var e=function(a,b){var c="",d=a[b];if(d)c=d.name;else{var e=b.lastIndexOf("#");if(-1!==e&&(c=b.slice(e+1),d=a[b.slice(0,e)]),!d)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.')}return d.async?[d.id,d.chunks,c,1]:[d.id,d.chunks,c]}(a._serverReferenceConfig,b.id),f=k(e);if(f)b.bound&&(f=Promise.all([f,b.bound]));else{if(!b.bound)return z(f=l(e),b.id,b.bound,a._encodeFormAction),f;f=Promise.resolve(b.bound)}if(O){var g=O;g.deps++}else g=O={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1};return f.then(function(){var f=l(e);if(b.bound){var h=b.bound.value.slice(0);h.unshift(null),f=f.bind.apply(f,h)}z(f,b.id,b.bound,a._encodeFormAction),"__proto__"!==d&&(c[d]=f),""===d&&null===g.value&&(g.value=f),c[0]===n&&"object"==typeof g.value&&null!==g.value&&g.value.$$typeof===n&&(h=g.value,"3"===d)&&(h.props=f),g.deps--,0===g.deps&&null!==(f=g.chunk)&&"blocked"===f.status&&(h=f.value,f.status="fulfilled",f.value=g.value,f.reason=null,null!==h&&F(h,g.value))},function(b){if(!g.errored){g.errored=!0,g.value=null,g.reason=b;var c=g.chunk;null!==c&&"blocked"===c.status&&J(a,c,b)}}),null}function Y(a,b,c,d,e){var f=parseInt((b=b.split(":"))[0],16);switch((f=T(a,f)).status){case"resolved_model":P(f);break;case"resolved_module":Q(f)}switch(f.status){case"fulfilled":var g=f.value;for(f=1;f<b.length;f++){for(;g.$$typeof===o;){switch((g=g._payload).status){case"resolved_model":P(g);break;case"resolved_module":Q(g)}switch(g.status){case"fulfilled":g=g.value;break;case"blocked":case"pending":return W(g,c,d,a,e,b.slice(f-1));case"halted":return O?(a=O,a.deps++):O={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},null;default:return O?(O.errored=!0,O.value=null,O.reason=g.reason):O={parent:null,chunk:null,value:null,reason:g.reason,deps:0,errored:!0},null}}g=g[b[f]]}return e(a,g,c,d);case"pending":case"blocked":return W(f,c,d,a,e,b);case"halted":return O?(a=O,a.deps++):O={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},null;default:return O?(O.errored=!0,O.value=null,O.reason=f.reason):O={parent:null,chunk:null,value:null,reason:f.reason,deps:0,errored:!0},null}}function Z(a,b){return new Map(b)}function $(a,b){return new Set(b)}function _(a,b){return new Blob(b.slice(1),{type:b[0]})}function aa(a,b){a=new FormData;for(var c=0;c<b.length;c++)a.append(b[c][0],b[c][1]);return a}function ab(a,b){return b[Symbol.iterator]()}function ac(a,b){return b}function ad(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.')}function ae(a,b,c,e,f,g,h){var i,j=new Map;this._bundlerConfig=a,this._serverReferenceConfig=b,this._moduleLoading=c,this._callServer=void 0!==e?e:ad,this._encodeFormAction=f,this._nonce=g,this._chunks=j,this._stringDecoder=new d.TextDecoder,this._fromJSON=null,this._closed=!1,this._closedReason=null,this._tempRefs=h,this._fromJSON=(i=this,function(a,b){if("__proto__"!==a){if("string"==typeof b){var c=i,d=this,e=a,f=b;if("$"===f[0]){if("$"===f)return null!==O&&"0"===e&&(O={parent:O,chunk:null,value:null,reason:null,deps:0,errored:!1}),n;switch(f[1]){case"$":return f.slice(1);case"L":return S(c=T(c,d=parseInt(f.slice(2),16)));case"@":return T(c,d=parseInt(f.slice(2),16));case"S":return Symbol.for(f.slice(2));case"h":return Y(c,f=f.slice(2),d,e,X);case"T":if(d="$"+f.slice(2),null==(c=c._tempRefs))throw Error("Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.");return c.get(d);case"Q":return Y(c,f=f.slice(2),d,e,Z);case"W":return Y(c,f=f.slice(2),d,e,$);case"B":return Y(c,f=f.slice(2),d,e,_);case"K":return Y(c,f=f.slice(2),d,e,aa);case"Z":return al();case"i":return Y(c,f=f.slice(2),d,e,ab);case"I":return 1/0;case"-":return"$-0"===f?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(f.slice(2)));case"n":return BigInt(f.slice(2));default:return Y(c,f=f.slice(1),d,e,ac)}}return f}if("object"==typeof b&&null!==b){if(b[0]===n){if(a={$$typeof:n,type:b[1],key:b[2],ref:null,props:b[3]},null!==O){if(O=(b=O).parent,b.errored)a=S(a=new D("rejected",null,b.reason));else if(0<b.deps){var g=new D("blocked",null,null);b.value=a,b.chunk=g,a=S(g)}}}else a=b;return a}return b}})}function af(){return{_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]}}function ag(a,b,c){var d=(a=a._chunks).get(b);d&&"pending"!==d.status?d.reason.enqueueValue(c):a.set(b,new D("fulfilled",c,null))}function ah(a,b,c,d){var e=a._chunks;(a=e.get(b))?"pending"===a.status&&(b=a.value,a.status="fulfilled",a.value=c,a.reason=d,null!==b&&F(b,a.value)):e.set(b,new D("fulfilled",c,d))}function ai(a,b,c){var d=null,e=!1;c=new ReadableStream({type:c,start:function(a){d=a}});var f=null;ah(a,b,c,{enqueueValue:function(a){null===f?d.enqueue(a):f.then(function(){d.enqueue(a)})},enqueueModel:function(b){if(null===f){var c=new D("resolved_model",b,a);P(c),"fulfilled"===c.status?d.enqueue(c.value):(c.then(function(a){return d.enqueue(a)},function(a){return d.error(a)}),f=c)}else{c=f;var e=new D("pending",null,null);e.then(function(a){return d.enqueue(a)},function(a){return d.error(a)}),f=e,c.then(function(){f===e&&(f=null),M(a,e,b)})}},close:function(){if(!e)if(e=!0,null===f)d.close();else{var a=f;f=null,a.then(function(){return d.close()})}},error:function(a){if(!e)if(e=!0,null===f)d.error(a);else{var b=f;f=null,b.then(function(){return d.error(a)})}}})}function aj(){return this}function ak(a,b,c){var d=[],e=!1,f=0,g={};g[q]=function(){var a,b=0;return(a={next:a=function(a){if(void 0!==a)throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components.");if(b===d.length){if(e)return new D("fulfilled",{done:!0,value:void 0},null);d[b]=new D("pending",null,null)}return d[b++]}})[q]=aj,a},ah(a,b,c?g[q]():g,{enqueueValue:function(a){if(f===d.length)d[f]=new D("fulfilled",{done:!1,value:a},null);else{var b=d[f],c=b.value,e=b.reason;b.status="fulfilled",b.value={done:!1,value:a},b.reason=null,null!==c&&I(b,c,e)}f++},enqueueModel:function(b){f===d.length?d[f]=K(a,b,!1):L(a,d[f],b,!1),f++},close:function(b){if(!e)for(e=!0,f===d.length?d[f]=K(a,b,!0):L(a,d[f],b,!0),f++;f<d.length;)L(a,d[f++],'"$undefined"',!0)},error:function(b){if(!e)for(e=!0,f===d.length&&(d[f]=new D("pending",null,null));f<d.length;)J(a,d[f++],b)}})}function al(){var a=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");return a.stack="Error: "+a.message,a}function am(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var f=e=0;f<c;f++){var g=a[f];d.set(g,e),e+=g.byteLength}return d.set(b,e),d}function an(a,b,c,d,e,f){ag(a,b,e=new e((c=0===c.length&&0==d.byteOffset%f?d:am(c,d)).buffer,c.byteOffset,c.byteLength/f))}function ao(a,b,c,d){switch(c){case 73:var e=a,f=b,g=d,h=e._chunks,i=h.get(f);g=JSON.parse(g,e._fromJSON);var j=function(a,b){if(a){var c=a[b[0]];if(a=c&&c[b[2]])c=a.name;else{if(!(a=c&&c["*"]))throw Error('Could not find the module "'+b[0]+'" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}(e._bundlerConfig,g);if(!function(a,b,c){if(null!==a)for(var d=1;d<b.length;d+=2){var e=m.d,f=e.X,g=a.prefix+b[d],h=a.crossOrigin;h="string"==typeof h?"use-credentials"===h?h:"":void 0,f.call(e,g,{crossOrigin:h,nonce:c})}}(e._moduleLoading,g[1],e._nonce),g=k(j)){if(i){var l=i;l.status="blocked"}else l=new D("blocked",null,null),h.set(f,l);g.then(function(){return N(e,l,j)},function(a){return J(e,l,a)})}else i?N(e,i,j):h.set(f,new D("resolved_module",j,null));break;case 72:switch(b=d[0],a=JSON.parse(d=d.slice(1),a._fromJSON),d=m.d,b){case"D":d.D(a);break;case"C":"string"==typeof a?d.C(a):d.C(a[0],a[1]);break;case"L":b=a[0],c=a[1],3===a.length?d.L(b,c,a[2]):d.L(b,c);break;case"m":"string"==typeof a?d.m(a):d.m(a[0],a[1]);break;case"X":"string"==typeof a?d.X(a):d.X(a[0],a[1]);break;case"S":"string"==typeof a?d.S(a):d.S(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case"M":"string"==typeof a?d.M(a):d.M(a[0],a[1])}break;case 69:var n=(c=a._chunks).get(b);d=JSON.parse(d);var o=al();o.digest=d.digest,n?J(a,n,o):c.set(b,new D("rejected",null,o));break;case 84:(c=(a=a._chunks).get(b))&&"pending"!==c.status?c.reason.enqueueValue(d):a.set(b,new D("fulfilled",d,null));break;case 78:case 68:case 74:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 82:ai(a,b,void 0);break;case 114:ai(a,b,"bytes");break;case 88:ak(a,b,!1);break;case 120:ak(a,b,!0);break;case 67:(a=a._chunks.get(b))&&"fulfilled"===a.status&&a.reason.close(""===d?'"$undefined"':d);break;default:(n=(c=a._chunks).get(b))?M(a,n,d):c.set(b,new D("resolved_model",d,a))}}function ap(a,b,c){for(var d=0,e=b._rowState,g=b._rowID,h=b._rowTag,i=b._rowLength,j=b._buffer,k=c.length;d<k;){var l=-1;switch(e){case 0:58===(l=c[d++])?e=1:g=g<<4|(96<l?l-87:l-48);continue;case 1:84===(e=c[d])||65===e||79===e||111===e||85===e||83===e||115===e||76===e||108===e||71===e||103===e||77===e||109===e||86===e?(h=e,e=2,d++):64<e&&91>e||35===e||114===e||120===e?(h=e,e=3,d++):(h=0,e=3);continue;case 2:44===(l=c[d++])?e=4:i=i<<4|(96<l?l-87:l-48);continue;case 3:l=c.indexOf(10,d);break;case 4:(l=d+i)>c.length&&(l=-1)}var m=c.byteOffset+d;if(-1<l)(function(a,b,c,d,e){switch(c){case 65:ag(a,b,am(d,e).buffer);return;case 79:an(a,b,d,e,Int8Array,1);return;case 111:ag(a,b,0===d.length?e:am(d,e));return;case 85:an(a,b,d,e,Uint8ClampedArray,1);return;case 83:an(a,b,d,e,Int16Array,2);return;case 115:an(a,b,d,e,Uint16Array,2);return;case 76:an(a,b,d,e,Int32Array,4);return;case 108:an(a,b,d,e,Uint32Array,4);return;case 71:an(a,b,d,e,Float32Array,4);return;case 103:an(a,b,d,e,Float64Array,8);return;case 77:an(a,b,d,e,BigInt64Array,8);return;case 109:an(a,b,d,e,BigUint64Array,8);return;case 86:an(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,h="",i=0;i<d.length;i++)h+=g.decode(d[i],f);ao(a,b,c,h+=g.decode(e))})(a,g,h,j,i=new Uint8Array(c.buffer,m,l-d)),d=l,3===e&&d++,i=g=h=e=0,j.length=0;else{a=new Uint8Array(c.buffer,m,c.byteLength-d),j.push(a),i-=a.byteLength;break}}b._rowState=e,b._rowID=g,b._rowTag=h,b._rowLength=i}function aq(a){R(a,Error("Connection closed."))}function ar(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.")}function as(a){return new ae(a.serverConsumerManifest.moduleMap,a.serverConsumerManifest.serverModuleMap,a.serverConsumerManifest.moduleLoading,ar,a.encodeFormAction,"string"==typeof a.nonce?a.nonce:void 0,a&&a.temporaryReferences?a.temporaryReferences:void 0)}function at(a,b){function c(b){R(a,b)}var d=af(),e=b.getReader();e.read().then(function b(f){var g=f.value;if(!f.done)return ap(a,d,g),e.read().then(b).catch(c);aq(a)}).catch(c)}function au(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.")}b.createFromFetch=function(a,b){var c=as(b);return a.then(function(a){at(c,a.body)},function(a){R(c,a)}),T(c,0)},b.createFromNodeStream=function(a,b,c){var d=new ae(b.moduleMap,b.serverModuleMap,b.moduleLoading,au,c?c.encodeFormAction:void 0,c&&"string"==typeof c.nonce?c.nonce:void 0,void 0),e=af();return a.on("data",function(a){if("string"==typeof a){for(var b=0,c=e._rowState,f=e._rowID,g=e._rowTag,h=e._rowLength,i=e._buffer,j=a.length;b<j;){var k=-1;switch(c){case 0:58===(k=a.charCodeAt(b++))?c=1:f=f<<4|(96<k?k-87:k-48);continue;case 1:84===(c=a.charCodeAt(b))||65===c||79===c||111===c||85===c||83===c||115===c||76===c||108===c||71===c||103===c||77===c||109===c||86===c?(g=c,c=2,b++):64<c&&91>c||114===c||120===c?(g=c,c=3,b++):(g=0,c=3);continue;case 2:44===(k=a.charCodeAt(b++))?c=4:h=h<<4|(96<k?k-87:k-48);continue;case 3:k=a.indexOf("\n",b);break;case 4:if(84!==g)throw Error("Binary RSC chunks cannot be encoded as strings. This is a bug in the wiring of the React streams.");if(h<a.length||a.length>3*h)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.");k=a.length}if(-1<k){if(0<i.length)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.");ao(d,f,g,b=a.slice(b,k)),b=k,3===c&&b++,h=f=g=c=0,i.length=0}else if(a.length!==b)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.")}e._rowState=c,e._rowID=f,e._rowTag=g,e._rowLength=h}else ap(d,e,a)}),a.on("error",function(a){R(d,a)}),a.on("end",function(){return aq(d)}),T(d,0)},b.createFromReadableStream=function(a,b){return at(b=as(b),a),T(b,0)},b.createServerReference=function(a){function b(){var b=Array.prototype.slice.call(arguments);return ar(a,b)}return z(b,a,null,void 0),b},b.createTemporaryReferenceSet=function(){return new Map},b.encodeReply=function(a,b){return new Promise(function(c,d){var e=v(a,"",b&&b.temporaryReferences?b.temporaryReferences:void 0,c,d);if(b&&b.signal){var f=b.signal;if(f.aborted)e(f.reason);else{var g=function(){e(f.reason),f.removeEventListener("abort",g)};f.addEventListener("abort",g)}}})},b.registerServerReference=function(a,b,c){return z(a,b,null,c),a}},50691:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{HeadersAdapter:function(){return f},ReadonlyHeadersError:function(){return e}});let d=c(56898);class e extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new e}}class f extends Headers{constructor(a){super(),this.headers=new Proxy(a,{get(b,c,e){if("symbol"==typeof c)return d.ReflectAdapter.get(b,c,e);let f=c.toLowerCase(),g=Object.keys(a).find(a=>a.toLowerCase()===f);if(void 0!==g)return d.ReflectAdapter.get(b,g,e)},set(b,c,e,f){if("symbol"==typeof c)return d.ReflectAdapter.set(b,c,e,f);let g=c.toLowerCase(),h=Object.keys(a).find(a=>a.toLowerCase()===g);return d.ReflectAdapter.set(b,h??c,e,f)},has(b,c){if("symbol"==typeof c)return d.ReflectAdapter.has(b,c);let e=c.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);return void 0!==f&&d.ReflectAdapter.has(b,f)},deleteProperty(b,c){if("symbol"==typeof c)return d.ReflectAdapter.deleteProperty(b,c);let e=c.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);return void 0===f||d.ReflectAdapter.deleteProperty(b,f)}})}static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"append":case"delete":case"set":return e.callable;default:return d.ReflectAdapter.get(a,b,c)}}})}merge(a){return Array.isArray(a)?a.join(", "):a}static from(a){return a instanceof Headers?a:new f(a)}append(a,b){let c=this.headers[a];"string"==typeof c?this.headers[a]=[c,b]:Array.isArray(c)?c.push(b):this.headers[a]=b}delete(a){delete this.headers[a]}get(a){let b=this.headers[a];return void 0!==b?this.merge(b):null}has(a){return void 0!==this.headers[a]}set(a,b){this.headers[a]=b}forEach(a,b){for(let[c,d]of this.entries())a.call(b,d,c,this)}*entries(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase(),c=this.get(b);yield[b,c]}}*keys(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase();yield b}}*values(){for(let a of Object.keys(this.headers)){let b=this.get(a);yield b}}[Symbol.iterator](){return this.entries()}}},50703:(a,b,c)=>{"use strict";c.d(b,{Ay:()=>s,Gw:()=>x,Q1:()=>e,Qh:()=>w,b:()=>v});var d=c(67713);function e(){}var f="\\s*([+-]?\\d+)\\s*",g="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",h="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",i=/^#([0-9a-f]{3,8})$/,j=RegExp(`^rgb\\(${f},${f},${f}\\)$`),k=RegExp(`^rgb\\(${h},${h},${h}\\)$`),l=RegExp(`^rgba\\(${f},${f},${f},${g}\\)$`),m=RegExp(`^rgba\\(${h},${h},${h},${g}\\)$`),n=RegExp(`^hsl\\(${g},${h},${h}\\)$`),o=RegExp(`^hsla\\(${g},${h},${h},${g}\\)$`),p={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function q(){return this.rgb().formatHex()}function r(){return this.rgb().formatRgb()}function s(a){var b,c;return a=(a+"").trim().toLowerCase(),(b=i.exec(a))?(c=b[1].length,b=parseInt(b[1],16),6===c?t(b):3===c?new x(b>>8&15|b>>4&240,b>>4&15|240&b,(15&b)<<4|15&b,1):8===c?u(b>>24&255,b>>16&255,b>>8&255,(255&b)/255):4===c?u(b>>12&15|b>>8&240,b>>8&15|b>>4&240,b>>4&15|240&b,((15&b)<<4|15&b)/255):null):(b=j.exec(a))?new x(b[1],b[2],b[3],1):(b=k.exec(a))?new x(255*b[1]/100,255*b[2]/100,255*b[3]/100,1):(b=l.exec(a))?u(b[1],b[2],b[3],b[4]):(b=m.exec(a))?u(255*b[1]/100,255*b[2]/100,255*b[3]/100,b[4]):(b=n.exec(a))?D(b[1],b[2]/100,b[3]/100,1):(b=o.exec(a))?D(b[1],b[2]/100,b[3]/100,b[4]):p.hasOwnProperty(a)?t(p[a]):"transparent"===a?new x(NaN,NaN,NaN,0):null}function t(a){return new x(a>>16&255,a>>8&255,255&a,1)}function u(a,b,c,d){return d<=0&&(a=b=c=NaN),new x(a,b,c,d)}function v(a){return(a instanceof e||(a=s(a)),a)?new x((a=a.rgb()).r,a.g,a.b,a.opacity):new x}function w(a,b,c,d){return 1==arguments.length?v(a):new x(a,b,c,null==d?1:d)}function x(a,b,c,d){this.r=+a,this.g=+b,this.b=+c,this.opacity=+d}function y(){return`#${C(this.r)}${C(this.g)}${C(this.b)}`}function z(){let a=A(this.opacity);return`${1===a?"rgb(":"rgba("}${B(this.r)}, ${B(this.g)}, ${B(this.b)}${1===a?")":`, ${a})`}`}function A(a){return isNaN(a)?1:Math.max(0,Math.min(1,a))}function B(a){return Math.max(0,Math.min(255,Math.round(a)||0))}function C(a){return((a=B(a))<16?"0":"")+a.toString(16)}function D(a,b,c,d){return d<=0?a=b=c=NaN:c<=0||c>=1?a=b=NaN:b<=0&&(a=NaN),new F(a,b,c,d)}function E(a){if(a instanceof F)return new F(a.h,a.s,a.l,a.opacity);if(a instanceof e||(a=s(a)),!a)return new F;if(a instanceof F)return a;var b=(a=a.rgb()).r/255,c=a.g/255,d=a.b/255,f=Math.min(b,c,d),g=Math.max(b,c,d),h=NaN,i=g-f,j=(g+f)/2;return i?(h=b===g?(c-d)/i+(c<d)*6:c===g?(d-b)/i+2:(b-c)/i+4,i/=j<.5?g+f:2-g-f,h*=60):i=j>0&&j<1?0:h,new F(h,i,j,a.opacity)}function F(a,b,c,d){this.h=+a,this.s=+b,this.l=+c,this.opacity=+d}function G(a){return(a=(a||0)%360)<0?a+360:a}function H(a){return Math.max(0,Math.min(1,a||0))}function I(a,b,c){return(a<60?b+(c-b)*a/60:a<180?c:a<240?b+(c-b)*(240-a)/60:b)*255}(0,d.A)(e,s,{copy(a){return Object.assign(new this.constructor,this,a)},displayable(){return this.rgb().displayable()},hex:q,formatHex:q,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return E(this).formatHsl()},formatRgb:r,toString:r}),(0,d.A)(x,w,(0,d.X)(e,{brighter(a){return a=null==a?1.4285714285714286:Math.pow(1.4285714285714286,a),new x(this.r*a,this.g*a,this.b*a,this.opacity)},darker(a){return a=null==a?.7:Math.pow(.7,a),new x(this.r*a,this.g*a,this.b*a,this.opacity)},rgb(){return this},clamp(){return new x(B(this.r),B(this.g),B(this.b),A(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:y,formatHex:y,formatHex8:function(){return`#${C(this.r)}${C(this.g)}${C(this.b)}${C((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:z,toString:z})),(0,d.A)(F,function(a,b,c,d){return 1==arguments.length?E(a):new F(a,b,c,null==d?1:d)},(0,d.X)(e,{brighter(a){return a=null==a?1.4285714285714286:Math.pow(1.4285714285714286,a),new F(this.h,this.s,this.l*a,this.opacity)},darker(a){return a=null==a?.7:Math.pow(.7,a),new F(this.h,this.s,this.l*a,this.opacity)},rgb(){var a=this.h%360+(this.h<0)*360,b=isNaN(a)||isNaN(this.s)?0:this.s,c=this.l,d=c+(c<.5?c:1-c)*b,e=2*c-d;return new x(I(a>=240?a-240:a+120,e,d),I(a,e,d),I(a<120?a+240:a-120,e,d),this.opacity)},clamp(){return new F(G(this.h),H(this.s),H(this.l),A(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let a=A(this.opacity);return`${1===a?"hsl(":"hsla("}${G(this.h)}, ${100*H(this.s)}%, ${100*H(this.l)}%${1===a?")":`, ${a})`}`}}))},50718:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("messages-square",[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z",key:"1n2ejm"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1",key:"1qfcsi"}]])},50785:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{decryptActionBoundArgs:function(){return s},encryptActionBoundArgs:function(){return r}}),c(9221);let d=c(80080),e=c(3671),f=c(72026),g=c(80533),h=c(63033),i=c(13786),j=function(a){return a&&a.__esModule?a:{default:a}}(c(97119)),k=new TextEncoder,l=new TextDecoder,m=void 0,n=void 0;async function o(a,b){let c=await (0,g.getActionEncryptionKey)();if(void 0===c)throw Object.defineProperty(Error("Missing encryption key for Server Action. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E65",enumerable:!1,configurable:!0});let d=atob(b),e=d.slice(0,16),f=d.slice(16),h=l.decode(await (0,g.decrypt)(c,(0,g.stringToUint8Array)(e),(0,g.stringToUint8Array)(f)));if(!h.startsWith(a))throw Object.defineProperty(Error("Invalid Server Action payload: failed to decrypt."),"__NEXT_ERROR_CODE",{value:"E191",enumerable:!1,configurable:!0});return h.slice(a.length)}async function p(a,b){let c=await (0,g.getActionEncryptionKey)();if(void 0===c)throw Object.defineProperty(Error("Missing encryption key for Server Action. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E65",enumerable:!1,configurable:!0});let d=new Uint8Array(16);h.workUnitAsyncStorage.exit(()=>crypto.getRandomValues(d));let e=(0,g.arrayBufferToString)(d.buffer),f=await (0,g.encrypt)(c,d,k.encode(a+b));return btoa(e+(0,g.arrayBufferToString)(f))}var q=function(a){return a[a.Ready=0]="Ready",a[a.Pending=1]="Pending",a[a.Complete=2]="Complete",a}(q||{});let r=j.default.cache(async function a(b,...c){let e=h.workUnitAsyncStorage.getStore(),j=e?(0,h.getCacheSignal)(e):void 0,{clientModules:k}=(0,g.getClientReferenceManifestForRsc)(),l=Error();Error.captureStackTrace(l,a);let n=!1,o=e?(0,i.createHangingInputAbortSignal)(e):void 0,q=0;function r(){0===q&&(q=1,null==j||j.beginRead())}function s(){1===q&&(null==j||j.endRead()),q=2}o&&j&&o.addEventListener("abort",r,{once:!0});let t=await (0,f.streamToString)((0,d.renderToReadableStream)(c,k,{filterStackFrame:m,signal:o,onError(a){(null==o||!o.aborted)&&(n||(n=!0,l.message=a instanceof Error?a.message:String(a)))}}),o);if(n)throw s(),l;if(!e)return p(b,t);r();let u=(0,h.getPrerenderResumeDataCache)(e),v=(0,h.getRenderResumeDataCache)(e),w=b+t,x=(null==u?void 0:u.encryptedBoundArgs.get(w))??(null==v?void 0:v.encryptedBoundArgs.get(w));if(x)return x;let y=await p(b,t);return s(),null==u||u.encryptedBoundArgs.set(w,y),y});async function s(a,b){let c,d=await b,f=h.workUnitAsyncStorage.getStore();if(f){let b=(0,h.getCacheSignal)(f),e=(0,h.getPrerenderResumeDataCache)(f),g=(0,h.getRenderResumeDataCache)(f);(c=(null==e?void 0:e.decryptedBoundArgs.get(d))??(null==g?void 0:g.decryptedBoundArgs.get(d)))||(null==b||b.beginRead(),c=await o(a,d),null==b||b.endRead(),null==e||e.decryptedBoundArgs.set(d,c))}else c=await o(a,d);let{edgeRscModuleMapping:i,rscModuleMapping:j}=(0,g.getClientReferenceManifestForRsc)();return await (0,e.createFromReadableStream)(new ReadableStream({start(a){switch(a.enqueue(k.encode(c)),null==f?void 0:f.type){case"prerender":case"prerender-runtime":f.renderSignal.aborted?a.close():f.renderSignal.addEventListener("abort",()=>a.close(),{once:!0});break;case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case void 0:return a.close()}}}),{findSourceMapURL:n,serverConsumerManifest:{moduleLoading:null,moduleMap:j,serverModuleMap:(0,g.getServerModuleMap)()}})}},51514:(a,b,c)=>{"use strict";let d;c.d(b,{RD:()=>r});var e=c(78904),f=c(92264),g=c(98602),h=c(19136);async function i(a,b,c){let d;if(!(0,h.G)(a))throw TypeError("JWK must be an object");switch(b??=a.alg,d??=c?.extractable??a.ext,a.kty){case"oct":if("string"!=typeof a.k||!a.k)throw TypeError('missing "k" (Key Value) Parameter value');return(0,f.D)(a.k);case"RSA":if("oth"in a&&void 0!==a.oth)throw new e.T0('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');return(0,g.x)({...a,alg:b,ext:d});case"AKP":if("string"!=typeof a.alg||!a.alg)throw TypeError('missing "alg" (Algorithm) Parameter value');if(void 0!==b&&b!==a.alg)throw TypeError("JWK alg and alg option value mismatch");return(0,g.x)({...a,ext:d});case"EC":case"OKP":return(0,g.x)({...a,alg:b,ext:d});default:throw new e.T0('Unsupported "kty" (Key Type) Parameter value')}}function j(a){return(0,h.G)(a)}class k{#a;#b=new WeakMap;constructor(a){if(!function(a){return a&&"object"==typeof a&&Array.isArray(a.keys)&&a.keys.every(j)}(a))throw new e.Dm("JSON Web Key Set malformed");this.#a=structuredClone(a)}jwks(){return this.#a}async getKey(a,b){let{alg:c,kid:d}={...a,...b?.header},f=function(a){switch("string"==typeof a&&a.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";case"ML":return"AKP";default:throw new e.T0('Unsupported "alg" value for a JSON Web Key Set')}}(c),g=this.#a.keys.filter(a=>{let b=f===a.kty;if(b&&"string"==typeof d&&(b=d===a.kid),b&&("string"==typeof a.alg||"AKP"===f)&&(b=c===a.alg),b&&"string"==typeof a.use&&(b="sig"===a.use),b&&Array.isArray(a.key_ops)&&(b=a.key_ops.includes("verify")),b)switch(c){case"ES256":b="P-256"===a.crv;break;case"ES384":b="P-384"===a.crv;break;case"ES512":b="P-521"===a.crv;break;case"Ed25519":case"EdDSA":b="Ed25519"===a.crv}return b}),{0:h,length:i}=g;if(0===i)throw new e.BT;if(1!==i){let a=new e.$4,b=this.#b;throw a[Symbol.asyncIterator]=async function*(){for(let a of g)try{yield await l(b,a,c)}catch{}},a}return l(this.#b,h,c)}}async function l(a,b,c){let d=a.get(b)||a.set(b,{}).get(b);if(void 0===d[c]){let a=await i({...b,ext:!0},c);if(a instanceof Uint8Array||"public"!==a.type)throw new e.Dm("JSON Web Key Set members must be public keys");d[c]=a}return d[c]}function m(a){let b=new k(a),c=async(a,c)=>b.getKey(a,c);return Object.defineProperties(c,{jwks:{value:()=>structuredClone(b.jwks()),enumerable:!1,configurable:!1,writable:!1}}),c}"undefined"!=typeof navigator&&navigator.userAgent?.startsWith?.("Mozilla/5.0 ")||(d="jose/v6.1.3");let n=Symbol();async function o(a,b,c,d=fetch){let f=await d(a,{method:"GET",signal:c,redirect:"manual",headers:b}).catch(a=>{if("TimeoutError"===a.name)throw new e.xb;throw a});if(200!==f.status)throw new e.i4("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await f.json()}catch{throw new e.i4("Failed to parse the JSON Web Key Set HTTP response as JSON")}}let p=Symbol();class q{#c;#d;#e;#f;#g;#h;#i;#j;#k;#l;constructor(a,b){if(!(a instanceof URL))throw TypeError("url must be an instance of URL");this.#c=new URL(a.href),this.#d="number"==typeof b?.timeoutDuration?b?.timeoutDuration:5e3,this.#e="number"==typeof b?.cooldownDuration?b?.cooldownDuration:3e4,this.#f="number"==typeof b?.cacheMaxAge?b?.cacheMaxAge:6e5,this.#i=new Headers(b?.headers),d&&!this.#i.has("User-Agent")&&this.#i.set("User-Agent",d),this.#i.has("accept")||(this.#i.set("accept","application/json"),this.#i.append("accept","application/jwk-set+json")),this.#j=b?.[n],b?.[p]!==void 0&&(this.#l=b?.[p],function(a,b){return!("object"!=typeof a||null===a||!("uat"in a)||"number"!=typeof a.uat||Date.now()-a.uat>=b)&&"jwks"in a&&!!(0,h.G)(a.jwks)&&!!Array.isArray(a.jwks.keys)&&!!Array.prototype.every.call(a.jwks.keys,h.G)}(b?.[p],this.#f)&&(this.#g=this.#l.uat,this.#k=m(this.#l.jwks)))}pendingFetch(){return!!this.#h}coolingDown(){return"number"==typeof this.#g&&Date.now()<this.#g+this.#e}fresh(){return"number"==typeof this.#g&&Date.now()<this.#g+this.#f}jwks(){return this.#k?.jwks()}async getKey(a,b){this.#k&&this.fresh()||await this.reload();try{return await this.#k(a,b)}catch(c){if(c instanceof e.BT&&!1===this.coolingDown())return await this.reload(),this.#k(a,b);throw c}}async reload(){this.#h&&("undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&(this.#h=void 0),this.#h||=o(this.#c.href,this.#i,AbortSignal.timeout(this.#d),this.#j).then(a=>{this.#k=m(a),this.#l&&(this.#l.uat=Date.now(),this.#l.jwks=a),this.#g=Date.now(),this.#h=void 0}).catch(a=>{throw this.#h=void 0,a}),await this.#h}}function r(a,b){let c=new q(a,b),d=async(a,b)=>c.getKey(a,b);return Object.defineProperties(d,{coolingDown:{get:()=>c.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>c.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>c.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>c.pendingFetch(),enumerable:!0,configurable:!1},jwks:{value:()=>c.jwks(),enumerable:!0,configurable:!1,writable:!1}}),d}},51537:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.camelCase=void 0;var c=/^--[a-zA-Z0-9_-]+$/,d=/-([a-z])/g,e=/^[^-]+$/,f=/^-(webkit|moz|ms|o|khtml)-/,g=/^-(ms)-/,h=function(a,b){return b.toUpperCase()},i=function(a,b){return"".concat(b,"-")};b.camelCase=function(a,b){var j;return(void 0===b&&(b={}),!(j=a)||e.test(j)||c.test(j))?a:(a=a.toLowerCase(),(a=b.reactCompat?a.replace(g,i):a.replace(f,i)).replace(d,h))}},51592:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]])},51662:(a,b,c)=>{"use strict";c.d(b,{Q:()=>d});let d=(0,c(21968).createContext)({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"})},51865:(a,b,c)=>{"use strict";let d,e=c(21820),f=c(83997),g=c(95804),{env:h}=process;function i(a){return 0!==a&&{level:a,hasBasic:!0,has256:a>=2,has16m:a>=3}}function j(a,b){if(0===d)return 0;if(g("color=16m")||g("color=full")||g("color=truecolor"))return 3;if(g("color=256"))return 2;if(a&&!b&&void 0===d)return 0;let c=d||0;if("dumb"===h.TERM)return c;if("win32"===process.platform){let a=e.release().split(".");return Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in h)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(a=>a in h)||"codeship"===h.CI_NAME?1:c;if("TEAMCITY_VERSION"in h)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h.TEAMCITY_VERSION);if("truecolor"===h.COLORTERM)return 3;if("TERM_PROGRAM"in h){let a=parseInt((h.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(h.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(h.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h.TERM)||"COLORTERM"in h?1:c}g("no-color")||g("no-colors")||g("color=false")||g("color=never")?d=0:(g("color")||g("colors")||g("color=true")||g("color=always"))&&(d=1),"FORCE_COLOR"in h&&(d="true"===h.FORCE_COLOR?1:"false"===h.FORCE_COLOR?0:0===h.FORCE_COLOR.length?1:Math.min(parseInt(h.FORCE_COLOR,10),3)),a.exports={supportsColor:function(a){return i(j(a,a&&a.isTTY))},stdout:i(j(!0,f.isatty(1))),stderr:i(j(!0,f.isatty(2)))}},51928:(a,b,c)=>{"use strict";var d=c(21968),e="function"==typeof Object.is?Object.is:function(a,b){return a===b&&(0!==a||1/a==1/b)||a!=a&&b!=b},f=d.useState,g=d.useEffect,h=d.useLayoutEffect,i=d.useDebugValue;function j(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!e(a,c)}catch(a){return!0}}var k="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(a,b){return b()}:function(a,b){var c=b(),d=f({inst:{value:c,getSnapshot:b}}),e=d[0].inst,k=d[1];return h(function(){e.value=c,e.getSnapshot=b,j(e)&&k({inst:e})},[a,c,b]),g(function(){return j(e)&&k({inst:e}),a(function(){j(e)&&k({inst:e})})},[a]),i(c),c};b.useSyncExternalStore=void 0!==d.useSyncExternalStore?d.useSyncExternalStore:k},51950:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=function(a,b,c){for(var d=-1,e=Object(a),f=c(a),g=f.length;g--;){var h=f[++d];if(!1===b(e[h],h,e))break}return a}},52910:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=a=>()=>a},53072:(a,b,c)=>{"use strict";let d;Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{BubbledError:function(){return n},SpanKind:function(){return l},SpanStatusCode:function(){return k},getTracer:function(){return v},isBubbledError:function(){return o}});let e=c(12442),f=c(78449),g=process.env.NEXT_OTEL_PERFORMANCE_PREFIX;try{d=c(47992)}catch(a){d=c(47992)}let{context:h,propagation:i,trace:j,SpanStatusCode:k,SpanKind:l,ROOT_CONTEXT:m}=d;class n extends Error{constructor(a,b){super(),this.bubble=a,this.result=b}}function o(a){return"object"==typeof a&&null!==a&&a instanceof n}let p=(a,b)=>{o(b)&&b.bubble?a.setAttribute("next.bubble",!0):(b&&(a.recordException(b),a.setAttribute("error.type",b.name)),a.setStatus({code:k.ERROR,message:null==b?void 0:b.message})),a.end()},q=new Map,r=d.createContextKey("next.rootSpanId"),s=0,t={set(a,b,c){a.push({key:b,value:c})}};class u{getTracerInstance(){return j.getTracer("next.js","0.0.1")}getContext(){return h}getTracePropagationData(){let a=h.active(),b=[];return i.inject(a,b,t),b}getActiveScopeSpan(){return j.getSpan(null==h?void 0:h.active())}withPropagatedContext(a,b,c){let d=h.active();if(j.getSpanContext(d))return b();let e=i.extract(d,a,c);return h.with(e,b)}trace(...a){var b;let[c,d,i]=a,{fn:k,options:l}="function"==typeof d?{fn:d,options:{}}:{fn:i,options:{...d}},n=l.spanName??c;if(!e.NextVanillaSpanAllowlist.has(c)&&"1"!==process.env.NEXT_OTEL_VERBOSE||l.hideSpan)return k();let o=this.getSpanContext((null==l?void 0:l.parentSpan)??this.getActiveScopeSpan()),t=!1;o?(null==(b=j.getSpanContext(o))?void 0:b.isRemote)&&(t=!0):(o=(null==h?void 0:h.active())??m,t=!0);let u=s++;return l.attributes={"next.span_name":n,"next.span_type":c,...l.attributes},h.with(o.setValue(r,u),()=>this.getTracerInstance().startActiveSpan(n,l,a=>{let b;g&&c&&e.LogSpanAllowList.has(c)&&(b="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0);let d=!1,h=()=>{!d&&(d=!0,q.delete(u),b&&performance.measure(`${g}:next-${(c.split(".").pop()||"").replace(/[A-Z]/g,a=>"-"+a.toLowerCase())}`,{start:b,end:performance.now()}))};if(t&&q.set(u,new Map(Object.entries(l.attributes??{}))),k.length>1)try{return k(a,b=>p(a,b))}catch(b){throw p(a,b),b}finally{h()}try{let b=k(a);if((0,f.isThenable)(b))return b.then(b=>(a.end(),b)).catch(b=>{throw p(a,b),b}).finally(h);return a.end(),h(),b}catch(b){throw p(a,b),h(),b}}))}wrap(...a){let b=this,[c,d,f]=3===a.length?a:[a[0],{},a[1]];return e.NextVanillaSpanAllowlist.has(c)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let a=d;"function"==typeof a&&"function"==typeof f&&(a=a.apply(this,arguments));let e=arguments.length-1,g=arguments[e];if("function"!=typeof g)return b.trace(c,a,()=>f.apply(this,arguments));{let d=b.getContext().bind(h.active(),g);return b.trace(c,a,(a,b)=>(arguments[e]=function(a){return null==b||b(a),d.apply(this,arguments)},f.apply(this,arguments)))}}:f}startSpan(...a){let[b,c]=a,d=this.getSpanContext((null==c?void 0:c.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(b,c,d)}getSpanContext(a){return a?j.setSpan(h.active(),a):void 0}getRootSpanAttributes(){let a=h.active().getValue(r);return q.get(a)}setRootSpanAttribute(a,b){let c=h.active().getValue(r),d=q.get(c);d&&d.set(a,b)}}let v=(()=>{let a=new u;return()=>a})()},53152:(a,b,c)=>{"use strict";c.d(b,{e:()=>aU});var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am=c(40381),an=c(50022);class ao extends an.y{constructor(a){super("Invalid options",a),this.name="OptionsValidationError"}}let ap=function(){let a=a=>/[\uD800-\uDFFF]/.test(a)?[...a].length:a.length,b=a=>/~\//.test(a)?`${a}`.replace(/~/g,"~0").replace(/\//g,"~1"):a,c=Function.prototype.call.bind(Object.prototype.hasOwnProperty),d=function a(b){a.errors=null;let c=0;return"string"!=typeof b?(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),c++):"none"!==b&&"horizontal"!==b&&"vertical"!==b&&"both"!==b&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/enum",instanceLocation:"#"}),c++),0===c},e=({keywordLocation:a,instanceLocation:b},c,d)=>({keywordLocation:`${c}${a.slice(1)}`,instanceLocation:`${d}${b.slice(1)}`}),f=RegExp("^[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*(, ?[a-zA-Z0-9_\\-]+( [a-zA-Z0-9_\\-]+)*)*$","u"),g=function b(c){b.errors=null;let d=0;if("string"!=typeof c)null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;else{let e=d;c.length>256&&a(c)>256&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),d++),d===e&&!f.test(c)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/pattern",instanceLocation:"#"}),d++)}return 0===d},h=function a(b){a.errors=null;let c=0;return Number.isInteger(b)?(!(1<=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/minimum",instanceLocation:"#"}),c++),!(1e3>=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maximum",instanceLocation:"#"}),c++)):(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),c++),0===c},i=function a(b){a.errors=null;let c=0;return"number"!=typeof b?(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),c++):(!(0<=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/minimum",instanceLocation:"#"}),c++),!(10>=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maximum",instanceLocation:"#"}),c++)),0===c},j=function a(b){a.errors=null;let d=0,f=null;return!(()=>{let c=0,d=a.errors,f=i(b),g=i.errors;return a.errors=d,!f&&(null===a.errors&&(a.errors=[]),a.errors.push(...g.map(a=>e(a,"#/anyOf/0/$ref","#"))),c++),0===c})()&&!(()=>{let d=0;if(Array.isArray(b)){b.length>2&&(null===f&&(f=[]),f.push({keywordLocation:"#/anyOf/1/maxItems",instanceLocation:"#"}),d++),b.length<0&&(null===f&&(f=[]),f.push({keywordLocation:"#/anyOf/1/minItems",instanceLocation:"#"}),d++);for(let f=0;f<b.length;f++)if(void 0!==b[f]&&c(b,f)){let c=a.errors,g=i(b[f]),h=i.errors;a.errors=c,!g&&(null===a.errors&&(a.errors=[]),a.errors.push(...h.map(a=>e(a,"#/anyOf/1/items/$ref","#/"+f))),d++)}}else null===f&&(f=[]),f.push({keywordLocation:"#/anyOf/1/type",instanceLocation:"#"}),d++;return 0===d})()&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/anyOf",instanceLocation:"#"}),f&&a.errors.push(...f),d++),0===d},k=function a(b){a.errors=null;let c=0;return"number"!=typeof b?(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),c++):(!(0<=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/minimum",instanceLocation:"#"}),c++),!(50>=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maximum",instanceLocation:"#"}),c++)),0===c},l=RegExp("^!?[a-z][a-zA-Z0-9]*(:[a-z][a-zA-Z0-9]*)?$","u"),m=function b(c){b.errors=null;let d=0;if("string"!=typeof c)null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;else{let e=d;c.length>130&&a(c)>130&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),d++),d===e&&!l.test(c)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/pattern",instanceLocation:"#"}),d++)}return 0===d},n=RegExp("^[a-z][a-zA-Z0-9]*Probability$","u"),o=RegExp("^[a-z][a-zA-Z0-9]*Variant$","u"),p=RegExp("^[a-z][a-zA-Z0-9]*$","u"),q=function b(c){b.errors=null;let d=0;if("string"!=typeof c)null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),d++;else{let e=d;c.length>64&&a(c)>64&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),d++),d===e&&!p.test(c)&&(null===b.errors&&(b.errors=[]),b.errors.push({keywordLocation:"#/pattern",instanceLocation:"#"}),d++)}return 0===d},r=RegExp("^[a-z][a-zA-Z0-9]*Color$","u"),s=RegExp("^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$","u"),t=function a(b){a.errors=null;let c=0;if("string"!=typeof b)null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),c++;else{let d=c;c===d&&!s.test(b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/pattern",instanceLocation:"#"}),c++)}return 0===c},u=RegExp("^[a-z][a-zA-Z0-9]*ColorFill$","u"),v=function a(b){a.errors=null;let c=0;return"string"!=typeof b?(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),c++):"solid"!==b&&"linear"!==b&&"radial"!==b&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/enum",instanceLocation:"#"}),c++),0===c},w=RegExp("^[a-z][a-zA-Z0-9]*ColorFillStops$","u"),x=function a(b){a.errors=null;let c=0;return Number.isInteger(b)?!(2<=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/minimum",instanceLocation:"#"}),c++):(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),c++),0===c},y=RegExp("^[a-z][a-zA-Z0-9]*ColorAngle$","u"),z=function a(b){a.errors=null;let c=0;return"number"!=typeof b?(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),c++):(!(-360<=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/minimum",instanceLocation:"#"}),c++),!(360>=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maximum",instanceLocation:"#"}),c++)),0===c},A=function a(b){a.errors=null;let d=0,f=null;return!(()=>{let c=0,d=a.errors,f=z(b),g=z.errors;return a.errors=d,!f&&(null===a.errors&&(a.errors=[]),a.errors.push(...g.map(a=>e(a,"#/anyOf/0/$ref","#"))),c++),0===c})()&&!(()=>{let d=0;if(Array.isArray(b)){b.length>2&&(null===f&&(f=[]),f.push({keywordLocation:"#/anyOf/1/maxItems",instanceLocation:"#"}),d++),b.length<0&&(null===f&&(f=[]),f.push({keywordLocation:"#/anyOf/1/minItems",instanceLocation:"#"}),d++);for(let f=0;f<b.length;f++)if(void 0!==b[f]&&c(b,f)){let c=a.errors,g=z(b[f]),h=z.errors;a.errors=c,!g&&(null===a.errors&&(a.errors=[]),a.errors.push(...h.map(a=>e(a,"#/anyOf/1/items/$ref","#/"+f))),d++)}}else null===f&&(f=[]),f.push({keywordLocation:"#/anyOf/1/type",instanceLocation:"#"}),d++;return 0===d})()&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/anyOf",instanceLocation:"#"}),f&&a.errors.push(...f),d++),0===d},B=RegExp("^[a-z][a-zA-Z0-9]*ColorOrder$","u"),C=function a(b){a.errors=null;let c=0;return"number"!=typeof b?(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),c++):(!(-1e3<=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/minimum",instanceLocation:"#"}),c++),!(1e3>=b)&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/maximum",instanceLocation:"#"}),c++)),0===c},D=function a(b){a.errors=null;let d=0,f=null;return!(()=>{let c=0,d=a.errors,f=C(b),g=C.errors;return a.errors=d,!f&&(null===a.errors&&(a.errors=[]),a.errors.push(...g.map(a=>e(a,"#/anyOf/0/$ref","#"))),c++),0===c})()&&!(()=>{let d=0;if(Array.isArray(b)){b.length>2&&(null===f&&(f=[]),f.push({keywordLocation:"#/anyOf/1/maxItems",instanceLocation:"#"}),d++),b.length<0&&(null===f&&(f=[]),f.push({keywordLocation:"#/anyOf/1/minItems",instanceLocation:"#"}),d++);for(let f=0;f<b.length;f++)if(void 0!==b[f]&&c(b,f)){let c=a.errors,g=C(b[f]),h=C.errors;a.errors=c,!g&&(null===a.errors&&(a.errors=[]),a.errors.push(...h.map(a=>e(a,"#/anyOf/1/items/$ref","#/"+f))),d++)}}else null===f&&(f=[]),f.push({keywordLocation:"#/anyOf/1/type",instanceLocation:"#"}),d++;return 0===d})()&&(null===a.errors&&(a.errors=[]),a.errors.push({keywordLocation:"#/anyOf",instanceLocation:"#"}),f&&a.errors.push(...f),d++),0===d};return function f(i){f.errors=null;let l=0;if("object"==typeof i&&i&&!Array.isArray(i)){let p=l;for(let c of(Object.keys(i).length>512&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/maxProperties",instanceLocation:"#"}),l++),Object.keys(i)))c.length>128&&a(c)>128&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/propertyNames/maxLength",instanceLocation:"#/"+b(c)}),l++);if(void 0!==i.seed&&c(i,"seed")&&("string"!=typeof i.seed?(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/seed/type",instanceLocation:"#/seed"}),l++):i.seed.length>1024&&a(i.seed)>1024&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/seed/maxLength",instanceLocation:"#/seed"}),l++)),void 0!==i.size&&c(i,"size")&&(Number.isInteger(i.size)?(!(1<=i.size)&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/size/minimum",instanceLocation:"#/size"}),l++),!(4096>=i.size)&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/size/maximum",instanceLocation:"#/size"}),l++)):(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/size/type",instanceLocation:"#/size"}),l++)),void 0!==i.idRandomization&&c(i,"idRandomization")&&"boolean"!=typeof i.idRandomization&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/idRandomization/type",instanceLocation:"#/idRandomization"}),l++),void 0!==i.title&&c(i,"title")&&("string"!=typeof i.title?(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/title/type",instanceLocation:"#/title"}),l++):i.title.length>256&&a(i.title)>256&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/title/maxLength",instanceLocation:"#/title"}),l++)),void 0!==i.flip&&c(i,"flip")){let a=null;!(()=>{let a=0,b=f.errors,c=d(i.flip),g=d.errors;return f.errors=b,!c&&(null===f.errors&&(f.errors=[]),f.errors.push(...g.map(a=>e(a,"#/properties/flip/anyOf/0/$ref","#/flip"))),a++),0===a})()&&!(()=>{let b=0;if(Array.isArray(i.flip)){i.flip.length>4&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/flip/anyOf/1/maxItems",instanceLocation:"#/flip"}),b++),i.flip.length<0&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/flip/anyOf/1/minItems",instanceLocation:"#/flip"}),b++);for(let a=0;a<i.flip.length;a++)if(void 0!==i.flip[a]&&c(i.flip,a)){let c=f.errors,g=d(i.flip[a]),h=d.errors;f.errors=c,!g&&(null===f.errors&&(f.errors=[]),f.errors.push(...h.map(b=>e(b,"#/properties/flip/anyOf/1/items/$ref","#/flip/"+a))),b++)}}else null===a&&(a=[]),a.push({keywordLocation:"#/properties/flip/anyOf/1/type",instanceLocation:"#/flip"}),b++;return 0===b})()&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/flip/anyOf",instanceLocation:"#/flip"}),a&&f.errors.push(...a),l++)}if(void 0!==i.fontFamily&&c(i,"fontFamily")){let a=null;!(()=>{let a=0,b=f.errors,c=g(i.fontFamily),d=g.errors;return f.errors=b,!c&&(null===f.errors&&(f.errors=[]),f.errors.push(...d.map(a=>e(a,"#/properties/fontFamily/anyOf/0/$ref","#/fontFamily"))),a++),0===a})()&&!(()=>{let b=0;if(Array.isArray(i.fontFamily)){i.fontFamily.length>128&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/fontFamily/anyOf/1/maxItems",instanceLocation:"#/fontFamily"}),b++),i.fontFamily.length<0&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/fontFamily/anyOf/1/minItems",instanceLocation:"#/fontFamily"}),b++);for(let a=0;a<i.fontFamily.length;a++)if(void 0!==i.fontFamily[a]&&c(i.fontFamily,a)){let c=f.errors,d=g(i.fontFamily[a]),h=g.errors;f.errors=c,!d&&(null===f.errors&&(f.errors=[]),f.errors.push(...h.map(b=>e(b,"#/properties/fontFamily/anyOf/1/items/$ref","#/fontFamily/"+a))),b++)}}else null===a&&(a=[]),a.push({keywordLocation:"#/properties/fontFamily/anyOf/1/type",instanceLocation:"#/fontFamily"}),b++;return 0===b})()&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/fontFamily/anyOf",instanceLocation:"#/fontFamily"}),a&&f.errors.push(...a),l++)}if(void 0!==i.fontWeight&&c(i,"fontWeight")){let a=null;!(()=>{let a=0,b=f.errors,c=h(i.fontWeight),d=h.errors;return f.errors=b,!c&&(null===f.errors&&(f.errors=[]),f.errors.push(...d.map(a=>e(a,"#/properties/fontWeight/anyOf/0/$ref","#/fontWeight"))),a++),0===a})()&&!(()=>{let b=0;if(Array.isArray(i.fontWeight)){i.fontWeight.length>128&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/fontWeight/anyOf/1/maxItems",instanceLocation:"#/fontWeight"}),b++),i.fontWeight.length<0&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/fontWeight/anyOf/1/minItems",instanceLocation:"#/fontWeight"}),b++);for(let a=0;a<i.fontWeight.length;a++)if(void 0!==i.fontWeight[a]&&c(i.fontWeight,a)){let c=f.errors,d=h(i.fontWeight[a]),g=h.errors;f.errors=c,!d&&(null===f.errors&&(f.errors=[]),f.errors.push(...g.map(b=>e(b,"#/properties/fontWeight/anyOf/1/items/$ref","#/fontWeight/"+a))),b++)}}else null===a&&(a=[]),a.push({keywordLocation:"#/properties/fontWeight/anyOf/1/type",instanceLocation:"#/fontWeight"}),b++;return 0===b})()&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/fontWeight/anyOf",instanceLocation:"#/fontWeight"}),a&&f.errors.push(...a),l++)}if(void 0!==i.scale&&c(i,"scale")){let a=f.errors,b=j(i.scale),c=j.errors;f.errors=a,!b&&(null===f.errors&&(f.errors=[]),f.errors.push(...c.map(a=>e(a,"#/properties/scale/allOf/0/$ref","#/scale"))),l++)}if(void 0!==i.borderRadius&&c(i,"borderRadius")){let a=null;!(()=>{let a=0,b=f.errors,c=k(i.borderRadius),d=k.errors;return f.errors=b,!c&&(null===f.errors&&(f.errors=[]),f.errors.push(...d.map(a=>e(a,"#/properties/borderRadius/anyOf/0/$ref","#/borderRadius"))),a++),0===a})()&&!(()=>{let b=0;if(Array.isArray(i.borderRadius)){i.borderRadius.length>2&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/borderRadius/anyOf/1/maxItems",instanceLocation:"#/borderRadius"}),b++),i.borderRadius.length<0&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/borderRadius/anyOf/1/minItems",instanceLocation:"#/borderRadius"}),b++);for(let a=0;a<i.borderRadius.length;a++)if(void 0!==i.borderRadius[a]&&c(i.borderRadius,a)){let c=f.errors,d=k(i.borderRadius[a]),g=k.errors;f.errors=c,!d&&(null===f.errors&&(f.errors=[]),f.errors.push(...g.map(b=>e(b,"#/properties/borderRadius/anyOf/1/items/$ref","#/borderRadius/"+a))),b++)}}else null===a&&(a=[]),a.push({keywordLocation:"#/properties/borderRadius/anyOf/1/type",instanceLocation:"#/borderRadius"}),b++;return 0===b})()&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/borderRadius/anyOf",instanceLocation:"#/borderRadius"}),a&&f.errors.push(...a),l++)}if(void 0!==i.tags&&c(i,"tags")){let a=null;!(()=>{let a=0,b=f.errors,c=m(i.tags),d=m.errors;return f.errors=b,!c&&(null===f.errors&&(f.errors=[]),f.errors.push(...d.map(a=>e(a,"#/properties/tags/anyOf/0/$ref","#/tags"))),a++),0===a})()&&!(()=>{let b=0;if(Array.isArray(i.tags)){i.tags.length>128&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/tags/anyOf/1/maxItems",instanceLocation:"#/tags"}),b++),i.tags.length<0&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/tags/anyOf/1/minItems",instanceLocation:"#/tags"}),b++);for(let a=0;a<i.tags.length;a++)if(void 0!==i.tags[a]&&c(i.tags,a)){let c=f.errors,d=m(i.tags[a]),g=m.errors;f.errors=c,!d&&(null===f.errors&&(f.errors=[]),f.errors.push(...g.map(b=>e(b,"#/properties/tags/anyOf/1/items/$ref","#/tags/"+a))),b++)}}else null===a&&(a=[]),a.push({keywordLocation:"#/properties/tags/anyOf/1/type",instanceLocation:"#/tags"}),b++;return 0===b})()&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/properties/tags/anyOf",instanceLocation:"#/tags"}),a&&f.errors.push(...a),l++)}if(l===p){for(let a of Object.keys(i)){if(n.test(a)&&("number"!=typeof i[a]?(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Probability$/type",instanceLocation:"#/"+b(a)}),l++):(!(0<=i[a])&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Probability$/minimum",instanceLocation:"#/"+b(a)}),l++),!(100>=i[a])&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Probability$/maximum",instanceLocation:"#/"+b(a)}),l++))),o.test(a)){let d=null;!(()=>{let c=0,d=f.errors,g=q(i[a]),h=q.errors;return f.errors=d,!g&&(null===f.errors&&(f.errors=[]),f.errors.push(...h.map(c=>e(c,"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf/0/$ref","#/"+b(a)))),c++),0===c})()&&!(()=>{let g=0;if(Array.isArray(i[a])){i[a].length>128&&(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf/1/maxItems",instanceLocation:"#/"+b(a)}),g++),i[a].length<0&&(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf/1/minItems",instanceLocation:"#/"+b(a)}),g++);for(let d=0;d<i[a].length;d++)if(void 0!==i[a][d]&&c(i[a],d)){let c=f.errors,h=q(i[a][d]),j=q.errors;f.errors=c,!h&&(null===f.errors&&(f.errors=[]),f.errors.push(...j.map(c=>e(c,"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf/1/items/$ref","#/"+b(a)+"/"+d))),g++)}}else null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf/1/type",instanceLocation:"#/"+b(a)}),g++;return 0===g})()&&!(()=>{let c=0;if("object"==typeof i[a]&&i[a]&&!Array.isArray(i[a])){for(let g of(Object.keys(i[a]).length>512&&(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf/2/maxProperties",instanceLocation:"#/"+b(a)}),c++),Object.keys(i[a]).length<1&&(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf/2/minProperties",instanceLocation:"#/"+b(a)}),c++),Object.keys(i[a]))){let d=f.errors,h=q(g),i=q.errors;f.errors=d,!h&&(null===f.errors&&(f.errors=[]),f.errors.push(...i.map(c=>e(c,"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf/2/propertyNames/$ref","#/"+b(a)+"/"+b(g)))),c++)}for(let e of Object.keys(i[a]))"number"!=typeof i[a][e]?(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf/2/additionalProperties/type",instanceLocation:"#/"+b(a)+"/"+b(e)}),c++):!(0<=i[a][e])&&(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf/2/additionalProperties/minimum",instanceLocation:"#/"+b(a)+"/"+b(e)}),c++)}else null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf/2/type",instanceLocation:"#/"+b(a)}),c++;return 0===c})()&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Variant$/anyOf",instanceLocation:"#/"+b(a)}),d&&f.errors.push(...d),l++)}if(r.test(a)){let d=null;!(()=>{let c=0,d=f.errors,g=t(i[a]),h=t.errors;return f.errors=d,!g&&(null===f.errors&&(f.errors=[]),f.errors.push(...h.map(c=>e(c,"#/patternProperties/^[a-z][a-zA-Z0-9]*Color$/anyOf/0/$ref","#/"+b(a)))),c++),0===c})()&&!(()=>{let g=0;if(Array.isArray(i[a])){i[a].length>128&&(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Color$/anyOf/1/maxItems",instanceLocation:"#/"+b(a)}),g++),i[a].length<0&&(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Color$/anyOf/1/minItems",instanceLocation:"#/"+b(a)}),g++);for(let d=0;d<i[a].length;d++)if(void 0!==i[a][d]&&c(i[a],d)){let c=f.errors,h=t(i[a][d]),j=t.errors;f.errors=c,!h&&(null===f.errors&&(f.errors=[]),f.errors.push(...j.map(c=>e(c,"#/patternProperties/^[a-z][a-zA-Z0-9]*Color$/anyOf/1/items/$ref","#/"+b(a)+"/"+d))),g++)}}else null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Color$/anyOf/1/type",instanceLocation:"#/"+b(a)}),g++;return 0===g})()&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*Color$/anyOf",instanceLocation:"#/"+b(a)}),d&&f.errors.push(...d),l++)}if(u.test(a)){let d=null;!(()=>{let c=0,d=f.errors,g=v(i[a]),h=v.errors;return f.errors=d,!g&&(null===f.errors&&(f.errors=[]),f.errors.push(...h.map(c=>e(c,"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFill$/anyOf/0/$ref","#/"+b(a)))),c++),0===c})()&&!(()=>{let g=0;if(Array.isArray(i[a])){i[a].length>128&&(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFill$/anyOf/1/maxItems",instanceLocation:"#/"+b(a)}),g++),i[a].length<0&&(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFill$/anyOf/1/minItems",instanceLocation:"#/"+b(a)}),g++);for(let d=0;d<i[a].length;d++)if(void 0!==i[a][d]&&c(i[a],d)){let c=f.errors,h=v(i[a][d]),j=v.errors;f.errors=c,!h&&(null===f.errors&&(f.errors=[]),f.errors.push(...j.map(c=>e(c,"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFill$/anyOf/1/items/$ref","#/"+b(a)+"/"+d))),g++)}}else null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFill$/anyOf/1/type",instanceLocation:"#/"+b(a)}),g++;return 0===g})()&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFill$/anyOf",instanceLocation:"#/"+b(a)}),d&&f.errors.push(...d),l++)}if(w.test(a)){let d=null;!(()=>{let c=0,d=f.errors,g=x(i[a]),h=x.errors;return f.errors=d,!g&&(null===f.errors&&(f.errors=[]),f.errors.push(...h.map(c=>e(c,"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFillStops$/anyOf/0/$ref","#/"+b(a)))),c++),0===c})()&&!(()=>{let g=0;if(Array.isArray(i[a])){i[a].length>2&&(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFillStops$/anyOf/1/maxItems",instanceLocation:"#/"+b(a)}),g++),i[a].length<0&&(null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFillStops$/anyOf/1/minItems",instanceLocation:"#/"+b(a)}),g++);for(let d=0;d<i[a].length;d++)if(void 0!==i[a][d]&&c(i[a],d)){let c=f.errors,h=x(i[a][d]),j=x.errors;f.errors=c,!h&&(null===f.errors&&(f.errors=[]),f.errors.push(...j.map(c=>e(c,"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFillStops$/anyOf/1/items/$ref","#/"+b(a)+"/"+d))),g++)}}else null===d&&(d=[]),d.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFillStops$/anyOf/1/type",instanceLocation:"#/"+b(a)}),g++;return 0===g})()&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorFillStops$/anyOf",instanceLocation:"#/"+b(a)}),d&&f.errors.push(...d),l++)}if(y.test(a)){let c=f.errors,d=A(i[a]),g=A.errors;f.errors=c,!d&&(null===f.errors&&(f.errors=[]),f.errors.push(...g.map(c=>e(c,"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorAngle$/allOf/0/$ref","#/"+b(a)))),l++)}if(B.test(a)&&("string"!=typeof i[a]?(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorOrder$/type",instanceLocation:"#/"+b(a)}),l++):"random"!==i[a]&&"fixed"!==i[a]&&(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/patternProperties/^[a-z][a-zA-Z0-9]*ColorOrder$/enum",instanceLocation:"#/"+b(a)}),l++)),"rotate"===a){let c=f.errors,d=A(i[a]),g=A.errors;f.errors=c,!d&&(null===f.errors&&(f.errors=[]),f.errors.push(...g.map(c=>e(c,"#/patternProperties/^rotate$/allOf/0/$ref","#/"+b(a)))),l++)}if("translateY"===a){let c=f.errors,d=D(i[a]),g=D.errors;f.errors=c,!d&&(null===f.errors&&(f.errors=[]),f.errors.push(...g.map(c=>e(c,"#/patternProperties/^translateY$/allOf/0/$ref","#/"+b(a)))),l++)}if("translateX"===a){let c=f.errors,d=D(i[a]),g=D.errors;f.errors=c,!d&&(null===f.errors&&(f.errors=[]),f.errors.push(...g.map(c=>e(c,"#/patternProperties/^translateX$/allOf/0/$ref","#/"+b(a)))),l++)}}for(let a of Object.keys(i))"seed"===a||"size"===a||"idRandomization"===a||"title"===a||"flip"===a||"fontFamily"===a||"fontWeight"===a||"scale"===a||"borderRadius"===a||"tags"===a||n.test(a)||o.test(a)||r.test(a)||u.test(a)||w.test(a)||y.test(a)||B.test(a)||"rotate"===a||"translateY"===a||"translateX"===a||(null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+b(a)}),l++)}}else null===f.errors&&(f.errors=[]),f.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),l++;return 0===l}}(),aq={type:"has an invalid type",enum:"must be one of the allowed values",const:"must equal the expected value",pattern:"does not match the required pattern",required:"is required but missing",additionalProperties:"has an unexpected property",propertyNames:"has an invalid property name",minimum:"is smaller than allowed",maximum:"is larger than allowed",exclusiveMinimum:"is smaller than allowed",exclusiveMaximum:"is larger than allowed",minLength:"is too short",maxLength:"is too long",minItems:"has too few items",maxItems:"has too many items",uniqueItems:"has duplicate items",minProperties:"has too few properties",maxProperties:"has too many properties",anyOf:"does not match any allowed variant",oneOf:"does not match exactly one allowed variant",allOf:"does not match all required schemas",not:"matches a disallowed schema"};function ar(a){let b=a.keywordLocation.slice(a.keywordLocation.lastIndexOf("/")+1);return{instancePath:a.instanceLocation.slice(1),schemaPath:a.keywordLocation,keyword:b,message:aq[b]??`must satisfy '${b}'`}}class as{static validate(a){if(!ap(a))throw new ao((ap.errors??[]).map(ar))}}var at=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},au=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class av{constructor(a={}){d.add(this),e.set(this,void 0),f.set(this,void 0),as.validate(a),at(this,e,structuredClone(a),"f")}seed(){return au(this,e,"f").seed}size(){return au(this,e,"f").size}idRandomization(){return au(this,e,"f").idRandomization}title(){return au(this,e,"f").title}flip(){return au(this,d,"m",h).call(this,au(this,e,"f").flip)}fontFamily(){return au(this,d,"m",h).call(this,au(this,e,"f").fontFamily)}fontWeight(){return au(this,d,"m",h).call(this,au(this,e,"f").fontWeight)}scale(){return au(this,d,"m",i).call(this,au(this,e,"f").scale)}borderRadius(){return au(this,d,"m",i).call(this,au(this,e,"f").borderRadius)}rotate(){return au(this,d,"m",i).call(this,au(this,e,"f").rotate)}translateX(){return au(this,d,"m",i).call(this,au(this,e,"f").translateX)}translateY(){return au(this,d,"m",i).call(this,au(this,e,"f").translateY)}tags(){return at(this,f,au(this,f,"f")??au(this,d,"m",h).call(this,au(this,e,"f").tags).map(a=>{let b=a.startsWith("!"),c=b?a.slice(1):a,d=c.indexOf(":");return -1===d?{category:c,negated:b}:{category:c.slice(0,d),value:c.slice(d+1),negated:b}}),"f")}componentVariant(a){let b=au(this,d,"m",g).call(this,`${a}Variant`);if(void 0!==b)return"string"==typeof b?{[b]:1}:Array.isArray(b)?Object.fromEntries(b.map(a=>[a,1])):b}componentProbability(a){return au(this,d,"m",g).call(this,`${a}Probability`)}color(a){let b=au(this,d,"m",g).call(this,`${a}Color`);return void 0===b?void 0:au(this,d,"m",h).call(this,b)}colorFill(a){return au(this,d,"m",h).call(this,au(this,d,"m",g).call(this,`${a}ColorFill`))}colorAngle(a){return au(this,d,"m",i).call(this,au(this,d,"m",g).call(this,`${a}ColorAngle`))}colorFillStops(a){return au(this,d,"m",i).call(this,au(this,d,"m",g).call(this,`${a}ColorFillStops`))}colorOrder(a){return au(this,d,"m",g).call(this,`${a}ColorOrder`)}}e=new WeakMap,f=new WeakMap,d=new WeakSet,g=function(a){return au(this,e,"f")[a]},h=function(a){return void 0===a?[]:Array.isArray(a)?a:[a]},i=function(a){return void 0===a?void 0:"number"==typeof a?{min:a,max:a}:0!==a.length?{min:Math.min(...a),max:Math.max(...a)}:void 0};class aw{static hash(a){let b=0x811c9dc5;for(let c=0;c<a.length;c++)b^=a.charCodeAt(c),b=Math.imul(b,0x1000193);return b>>>0}static hex(a){return aw.hash(a).toString(16).padStart(8,"0")}}var ax=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},ay=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class az{constructor(a){j.set(this,void 0),ax(this,j,a,"f")}next(){let a=ax(this,j,ay(this,j,"f")+0x6d2b79f5|0,"f"),b=Math.imul(a^a>>>15,1|a);return((b^=b+Math.imul(b^b>>>7,61|b))^b>>>14)>>>0}nextFloat(){return this.next()/0x100000000}state(){return ay(this,j,"f")}}j=new WeakMap;var aA=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},aB=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class aC{constructor(a){k.add(this),l.set(this,void 0),aA(this,l,a,"f")}pick(a,b){if(0===b.length)return;if(1===b.length)return b[0];let c=aB(this,k,"m",m).call(this,b);if(1===c.length)return c[0];let d=c.sort(aB(this,k,"m",n)),e=Math.floor(this.getValue(a)*d.length);return d[e]}weightedPick(a,b){let c=Object.keys(b);if(0===c.length)return;if(1===c.length)return c[0];let d=c.sort(aB(this,k,"m",n)),e=d.reduce((a,c)=>a+b[c],0);if(0===e)return this.pick(a,d);let f=this.getValue(a)*e,g=0;for(let a of d)if(f<(g+=b[a]))return a;return d[d.length-1]}bool(a,b=50){return 100*this.getValue(a)<b}float(a,b){let c,d=Math.min(b.min,b.max),e=Math.max(b.min,b.max),f=b.step??0;if(f>0){let b=Math.floor((e-d)/f)+1;c=d+Math.floor(this.getValue(a)*b)*f}else c=d+this.getValue(a)*(e-d);return Math.round(1e4*c)/1e4}integer(a,b){let c=Math.min(b.min,b.max),d=Math.max(b.min,b.max);return Math.floor(this.getValue(a)*(d-c+1))+c}shuffle(a,b){if(b.length<=1)return[...b];let c=aB(this,k,"m",m).call(this,b).sort(aB(this,k,"m",n)),d=new az(aw.hash(aB(this,l,"f")+":"+a));for(let a=c.length-1;a>0;a--){let b=Math.floor(d.nextFloat()*(a+1)),e=c[a];c[a]=c[b],c[b]=e}return c}getValue(a){return new az(aw.hash(aB(this,l,"f")+":"+a)).nextFloat()}}l=new WeakMap,k=new WeakSet,m=function(a,b=String){let c=new Set,d=[];for(let e of a){let a=b(e);c.has(a)||(c.add(a),d.push(e))}return d},n=function(a,b){let c=String(a),d=String(b);return c<d?-1:+(c>d)};var aD=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class aE{static toHex(a){let b=a.replace(/^#/,"").toLowerCase();return 3===b.length?"#"+b[0]+b[0]+b[1]+b[1]+b[2]+b[2]:4===b.length?"#"+b[0]+b[0]+b[1]+b[1]+b[2]+b[2]+b[3]+b[3]:"#"+b}static toRgbHex(a){let b=this.toHex(a);return b.length>7?b.slice(0,7):b}static parseHex(a){let b=this.toHex(a).slice(1);return[parseInt(b.slice(0,2),16),parseInt(b.slice(2,4),16),parseInt(b.slice(4,6),16)]}static luminance(a){let b=this.parseHex(a),c=aD(this,o,"m",q).call(this,b[0]);return .2126*c+.7152*aD(this,o,"m",q).call(this,b[1])+.0722*aD(this,o,"m",q).call(this,b[2])}static sortByContrast(a,b){let c=this.luminance(b),d=a.map(a=>{let b=this.luminance(a);return{color:a,ratio:(Math.max(b,c)+.05)/(Math.min(b,c)+.05)}});return d.sort((a,b)=>b.ratio-a.ratio),d.map(a=>a.color)}static filterNotEqualTo(a,b){let c=new Set(b.map(a=>this.toRgbHex(a))),d=a.filter(a=>!c.has(this.toRgbHex(a)));return d.length>0?d:Array.from(a)}}o=aE,q=function(a){return aD(o,o,"f",p)[a]},p={value:[0,3035269835488375e-19,607053967097675e-18,9105809506465125e-19,.00121410793419535,.0015176349177441874,.001821161901293025,.0021246888848418626,.0024282158683907,.0027317428519395373,.003035269835488375,.003346535763899161,.003676507324047436,.004024717018496307,.004391442037410293,.004776953480693729,.005181516702338386,.005605391624202723,.006048833022857055,.006512090792594474,.006995410187265387,.007499032043226175,.008023192985384994,.008568125618069307,.009134058702220787,.009721217320237847,.010329823029626938,.010960094006488246,.011612245179743887,.012286488356915872,.012983032342173012,.013702083047289686,.014443843596092545,.01520851442291271,.01599629336550963,.016807375752887384,.017641954488384078,.018500220128379697,.019382360956935723,.0202885630566524,.021219010376003558,.02217388479338738,.02315336617811041,.024157632448504756,.025186859627361627,.026241221894849898,.027320891639074897,.028426039504420793,.0295568344378088,.030713443732993635,.03189603307301153,.033104766570885055,.03433980680868217,.03560131487502034,.03688945040110004,.0382043715953465,.03954623527673283,.04091519690685319,.042311410620809675,.043735029256973465,.04518620438567554,.0466650863368801,.048171824226889426,.04970656598412723,.05126945837404324,.052860647023180246,.05448027644244237,.05612849004960009,.05780543019106723,.0595112381629812,.06124605423161761,.06301001765316767,.06480326669290577,.06662593864377289,.06847816984440017,.07036009569659588,.07227185068231748,.07421356838014963,.07618538148130785,.07818742180518633,.08021982031446831,.0822827071298148,.08437621154414882,.08650046203654976,.08865558628577294,.09084171118340767,.09305896284668747,.0953074666309647,.09758734714186246,.09989872824711389,.1022417330881013,.10461648409110419,.10702310297826761,.10946171077829933,.1119324278369056,.11443537382697373,.11697066775851084,.11953842798834562,.12213877222960187,.12477181756095049,.12743768043564743,.1301364766903643,.13286832155381798,.13563332965520566,.13843161503245183,.14126329114027164,.14412847085805777,.14702726649759498,.14995978981060856,.15292615199615017,.1559264637078274,.1589608350608804,.16202937563911096,.1651321945016676,.16826940018969075,.1714411007328226,.17464740365558504,.17788841598362914,.18116424424986022,.184474994500441,.18782077230067787,.1912016827407914,.19461783044157582,.19806931955994886,.20155625379439707,.20507873639031693,.20863687014525575,.21223075741405523,.21586050011389923,.21952619972926923,.2232279573168085,.22696587351009836,.23074004852434915,.23455058216100522,.238397573812271,.24228112246555486,.24620132670783548,.25015828472995344,.25415209433082675,.2581828529215958,.26225065752969623,.26635560480286247,.2704977910130658,.27467731206038465,.2788942634768104,.2831487404299921,.2874408377269175,.29177064981753587,.2961382707983211,.3005437944157765,.3049873140698863,.30946892281750854,.31398871337571754,.31854677812509186,.32314320911295075,.3277780980565422,.33245153634617935,.33716361504833037,.341914424908661,.3467040563550296,.35153259950043936,.3564001441459435,.3613067797835095,.3662525955988395,.3712376804741491,.37626212299090644,.3813260114325301,.386429433787049,.39157247774972326,.39675523072562685,.40197777983219574,.4072402119017367,.41254261348390375,.4178850708481375,.4232676699860717,.4286904966139067,.4341536361747489,.4396571738409188,.44520119451622786,.45078578283822346,.45641102318040466,.4620769996544071,.467783796112159,.47353149614800955,.4793201831008268,.4851499400560704,.4910208498478356,.4969329950608704,.5028864580325687,.5088813208549338,.5149176653765214,.5209955732043543,.5271151257058131,.5332764040105052,.5394794890121071,.5457244613701866,.5520114015120001,.5583403896342679,.5647115057049292,.5711248294648731,.5775804404296506,.5840784178911641,.5906188409193369,.5972017883637634,.6038273388553378,.6104955708078648,.6172065624196511,.6239603916750761,.6307571363461468,.6375968739940326,.6444796819705821,.6514056374198242,.6583748172794486,.665387298282272,.6724431569576875,.6795424696330938,.6866853124353134,.6938717612919899,.7011018919329731,.7083757798916868,.7156935005064807,.7230551289219693,.7304607400903537,.7379104087727308,.7454042095403874,.7529422167760779,.7605245046752924,.7681511472475071,.7758222183174236,.7835377915261935,.7912979403326302,.799102738014409,.8069522576692516,.8148465722161012,.8227857543962835,.8307698767746546,.83879901174074,.846873231509858,.8549926081242338,.8631572134541023,.8713671191987973,.8796223968878317,.8879231178819663,.8962693533742664,.9046611743911496,.9130986517934192,.9215818562772946,.9301108583754237,.938685728457888,.9473065367331999,.9559733532492861,.9646862478944651,.9734452903984125,.9822505503331171,.9911020971138298,1]};class aF extends Error{constructor(a){super(`Circular color reference: ${a.join(" → ")}`),this.name="CircularColorReferenceError",this.chain=a}}var aG=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},aH=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class aI{constructor(a,b){r.add(this),s.set(this,void 0),t.set(this,void 0),u.set(this,void 0),v.set(this,[]),w.set(this,{}),x.set(this,void 0),aG(this,s,a,"f"),aG(this,t,b,"f"),aG(this,u,new aC(this.seed()),"f")}seed(){return aH(this,t,"f").seed()??""}size(){return aH(this,r,"m",H).call(this,"size",()=>aH(this,t,"f").size())}idRandomization(){return aH(this,r,"m",H).call(this,"idRandomization",()=>aH(this,t,"f").idRandomization()??!1)}title(){return aH(this,r,"m",H).call(this,"title",()=>aH(this,t,"f").title())}flip(){return aH(this,r,"m",H).call(this,"flip",()=>aH(this,u,"f").pick("flip",aH(this,t,"f").flip())??"none")}fontFamily(){return aH(this,r,"m",H).call(this,"fontFamily",()=>aH(this,u,"f").pick("fontFamily",aH(this,t,"f").fontFamily())??"system-ui")}fontWeight(){return aH(this,r,"m",H).call(this,"fontWeight",()=>aH(this,u,"f").pick("fontWeight",aH(this,t,"f").fontWeight())??400)}scale(){return aH(this,r,"m",G).call(this,"scale",aH(this,t,"f").scale(),1)}borderRadius(){return aH(this,r,"m",G).call(this,"borderRadius",aH(this,t,"f").borderRadius(),0)}rotate(){return aH(this,r,"m",G).call(this,"rotate",aH(this,t,"f").rotate(),0)}translateX(){return aH(this,r,"m",G).call(this,"translateX",aH(this,t,"f").translateX(),0)}translateY(){return aH(this,r,"m",G).call(this,"translateY",aH(this,t,"f").translateY(),0)}variant(a){return aH(this,r,"m",H).call(this,`${a}Variant`,()=>{let b=aH(this,s,"f").components().get(a);if(b&&aH(this,r,"m",z).call(this,a,b))return aH(this,u,"f").weightedPick(`${a}Variant`,aH(this,r,"m",A).call(this,b))})}color(a){return aH(this,r,"m",H).call(this,`${a}Color`,()=>aH(this,r,"m",D).call(this,a))}colorFill(a){return aH(this,r,"m",H).call(this,`${a}ColorFill`,()=>aH(this,u,"f").pick(`${a}ColorFill`,aH(this,t,"f").colorFill(a))??"solid")}colorAngle(a){return aH(this,r,"m",G).call(this,`${a}ColorAngle`,aH(this,t,"f").colorAngle(a),0)}colorOrder(a){return aH(this,t,"f").colorOrder(a)??"random"}componentTransform(a){let b=aH(this,s,"f").components().get(a);return{rotate:aH(this,r,"m",G).call(this,`${a}Rotate`,b?.rotate(),0),translateX:aH(this,r,"m",G).call(this,`${a}TranslateX`,b?.translate().x(),0),translateY:aH(this,r,"m",G).call(this,`${a}TranslateY`,b?.translate().y(),0),scale:aH(this,r,"m",G).call(this,`${a}Scale`,b?.scale(),1)}}resolved(){return aH(this,w,"f")}}s=new WeakMap,t=new WeakMap,u=new WeakMap,v=new WeakMap,w=new WeakMap,x=new WeakMap,r=new WeakSet,y=function(a){return aH(this,t,"f").componentProbability(a.sourceName())??a.probability()},z=function(a,b){return aH(this,u,"f").bool(`${a}Probability`,aH(this,r,"m",y).call(this,b))},A=function(a){let b=a.variants(),c=aH(this,t,"f").componentVariant(a.sourceName()),d={};for(let a of c?Object.keys(c):aH(this,t,"f").tags().length>0?aH(this,r,"m",C).call(this,b):b.keys()){let e=b.get(a);void 0!==e&&(d[a]=c?c[a]:e.weight())}return d},B=function(){if(aH(this,x,"f"))return aH(this,x,"f");let a=new Map,b=new Set,c=[],d=new Set;for(let{category:e,value:f,negated:g}of aH(this,t,"f").tags())if(g)c.push({category:e,value:f}),void 0===f&&d.add(e);else if(void 0!==f){let b=a.get(e)??[];b.push(f),a.set(e,b)}else b.add(e);return aG(this,x,{allowGroups:[...a],bares:b,disallows:c,bareDisallows:d},"f"),aH(this,x,"f")},C=function(a){let{allowGroups:b,bares:c,disallows:d,bareDisallows:e}=aH(this,r,"m",B).call(this),f=[...c].filter(b=>{if(e.has(b))return!1;for(let c of a.values())if(c.hasTag(b))return!0;return!1}),g=[];for(let[c,e]of a){let a=b.every(([a,b])=>!e.hasTag(a)||b.some(b=>e.hasTag(a,b)))&&f.every(a=>e.hasTag(a)),h=d.some(({category:a,value:b})=>e.hasTag(a,b));a&&!h&&g.push(c)}return g},D=function(a){let b=aH(this,t,"f").color(a),c=aH(this,s,"f").colors().get(a),d=(b??c?.values()??[]).map(a=>aE.toHex(a)),e="fixed"===this.colorOrder(a),f=void 0!==b&&e,g="solid"===this.colorFill(a)?1:aH(this,r,"m",F).call(this,a,f?d.length:2);if(!c)return aH(this,r,"m",E).call(this,a,d,e,f).slice(0,g);if(aH(this,v,"f").includes(a))throw new aF(aH(this,v,"f").concat(a));aH(this,v,"f").push(a);let h=c.contrastTo(),i=c.notEqualTo();try{if(h&&!f){let a=this.color(h)[0];a&&(d=aE.sortByContrast(d,a))}if(i.length>0){let a=[];for(let b of i)for(let c of this.color(b))a.push(c);d=aE.filterNotEqualTo(d,a)}}finally{aH(this,v,"f").pop()}return(h?d:aH(this,r,"m",E).call(this,a,d,e,f)).slice(0,g)},E=function(a,b,c,d){return c?d?b:Array.from(new Set(b)).sort():aH(this,u,"f").shuffle(`${a}Color`,b)},F=function(a,b){let c=aH(this,t,"f").colorFillStops(a);return c?aH(this,u,"f").integer(`${a}ColorFillStops`,c):b},G=function(a,b,c){return aH(this,r,"m",H).call(this,a,()=>b?aH(this,u,"f").float(a,b):c)},H=function(a,b){if(a in aH(this,w,"f"))return aH(this,w,"f")[a];let c=b();return aH(this,w,"f")[a]=c,c};class aJ{static fromSeed(a,b=!0){let c=a;b&&(c=a.replace(/@.*/s,""));let d=(c=c.replace(/[`´'ʼ]/g,"")).match(/(\p{L}[\p{L}\p{M}]*)/gu);if(!d)return b?this.fromSeed(a,!1):"";if(1===d.length){let a=d[0].match(/^(?:\p{L}\p{M}*){1,2}/u);return a?a[0].toUpperCase():""}let e=d[0].match(/^(?:\p{L}\p{M}*)/u),f=d[d.length-1].match(/^(?:\p{L}\p{M}*)/u);return e&&f?(e[0]+f[0]).toUpperCase():""}}var aK=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class aL{static escape(a){return a.replace(aK(I,I,"f",K),a=>aK(I,I,"f",J)[a])}}I=aL,J={value:{"&":"&","'":"'",'"':""","<":"<",">":">"}},K={value:RegExp(`[${Object.keys(aK(I,I,"f",J)).join("")}]`,"g")};class aM{static text(a){let b=a.source().name(),c=a.source().url(),d=a.creator().name(),e=a.license().name(),f=a.license().url();if(!b&&!d&&!e)return"";let g=b?`“${b}”`:"Design";c&&(g+=` (${c})`);let h=`“${d??"Unknown"}”`,i="";return"MIT"!==e&&"DiceBear"!==d&&b&&(i+="Remix of "),i+=`${g} by ${h}`,e&&(i+=`, licensed under “${e}”`,f&&(i+=` (${f})`)),i}static xml(a){let b=a.source().name(),c=a.creator().name(),d=a.source().url(),e=a.license().url(),f=this.text(a);if(!b&&!c&&!d&&!e&&!f)return"";let g=[];return b&&g.push(`<dc:title>${aL.escape(b)}</dc:title>`),c&&g.push(`<dc:creator>${aL.escape(c)}</dc:creator>`),d&&g.push(`<dc:source xsi:type="dcterms:URI">${aL.escape(d)}</dc:source>`),e&&g.push(`<dcterms:license xsi:type="dcterms:URI">${aL.escape(e)}</dcterms:license>`),f&&g.push(`<dc:rights>${aL.escape(f)}</dc:rights>`),`<metadata xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"><rdf:RDF><rdf:Description>${g.join("")}</rdf:Description></rdf:RDF></metadata>`}}class aN{static format(a){if(a!=a)return"NaN";if(a===1/0)return"Infinity";if(a===-1/0)return"-Infinity";let b=Math.round(1e5*a),c=b<0?"-":"",d=Math.floor((b=Math.abs(b))/1e5),e=String(b%1e5).padStart(5,"0").replace(/0+$/,"");return`${c}${d}${e?`.${e}`:""}`}}var aO=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},aP=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};class aQ{constructor(a,b){L.add(this),M.set(this,void 0),N.set(this,void 0),O.set(this,new Map),P.set(this,void 0),Q.set(this,void 0),aO(this,M,a,"f"),aO(this,N,b,"f")}render(){let a=aP(this,M,"f").canvas(),b=aP(this,L,"m",W).call(this,a),c=aP(this,L,"m",Y).call(this,a.elements());c=aP(this,L,"m",S).call(this,c,a),c=aP(this,L,"m",R).call(this,c,a),c=aP(this,L,"m",U).call(this,c,a),c=aP(this,L,"m",V).call(this,c,a),c=aP(this,L,"m",T).call(this,`${b}${c}`,a);let d=aM.xml(aP(this,M,"f").meta()),e=aP(this,O,"f").size>0?`<defs>${Array.from(aP(this,O,"f").values()).join("")}</defs>`:"",f=aP(this,N,"f").size(),g=aP(this,N,"f").title(),h=void 0!==g?aL.escape(g):void 0,i=['xmlns="http://www.w3.org/2000/svg"',`viewBox="0 0 ${aN.format(a.width())} ${aN.format(a.height())}"`],j=aP(this,L,"m",ac).call(this,aP(this,M,"f").attributes());if(j&&i.push(j.trimStart()),void 0!==h?i.push('role="img"',`aria-label="${h}"`):i.push('aria-hidden="true"'),void 0!==f){let a=aN.format(f);i.push(`width="${a}"`,`height="${a}"`)}let k=void 0!==h?`<title>${h}</title>`:"",l=`<svg ${i.join(" ")}><!-- Generated by DiceBear (https://www.dicebear.com) -->${d}${e}${k}${c}</svg>`;return aP(this,N,"f").idRandomization()&&(l=aP(this,L,"m",X).call(this,l)),l}}M=new WeakMap,N=new WeakMap,O=new WeakMap,P=new WeakMap,Q=new WeakMap,L=new WeakSet,R=function(a,b){let c,d=aP(this,N,"f").flip();if("none"===d)return a;let e=aN.format(b.width()),f=aN.format(b.height());switch(d){case"horizontal":c=`translate(${e}, 0) scale(-1, 1)`;break;case"vertical":c=`translate(0, ${f}) scale(1, -1)`;break;case"both":c=`translate(${e}, ${f}) scale(-1, -1)`}return`<g transform="${c}">${a}</g>`},S=function(a,b){let c=aP(this,N,"f").scale();if(1===c)return a;let d=b.width()/2,e=b.height()/2;return`<g transform="translate(${aN.format(d)}, ${aN.format(e)}) scale(${aN.format(c)}) translate(${aN.format(-d)}, ${aN.format(-e)})">${a}</g>`},T=function(a,b){let c=aP(this,N,"f").borderRadius(),d=`clip-${aP(this,L,"m",aj).call(this)}`,e=aN.format(c/100*b.width()),f=aN.format(c/100*b.height());return aP(this,O,"f").set(d,`<clipPath id="${d}"><rect width="${aN.format(b.width())}" height="${aN.format(b.height())}" rx="${e}" ry="${f}"/></clipPath>`),`<g clip-path="url(#${d})">${a}</g>`},U=function(a,b){let c=aP(this,N,"f").rotate();if(0===c)return a;let d=b.width()/2,e=b.height()/2;return`<g transform="rotate(${aN.format(c)}, ${aN.format(d)}, ${aN.format(e)})">${a}</g>`},V=function(a,b){let c=aP(this,N,"f").translateX(),d=aP(this,N,"f").translateY();if(0===c&&0===d)return a;let e=aN.format(c/100*b.width()),f=aN.format(d/100*b.height());return`<g transform="translate(${e}, ${f})">${a}</g>`},W=function(a){return 0===aP(this,N,"f").color("background").length?"":`<rect width="${aN.format(a.width())}" height="${aN.format(a.height())}" fill="${aL.escape(aP(this,L,"m",ae).call(this,"background"))}"/>`},X=function(a){let b=Math.floor(0xffffff*Math.random()).toString(16).padStart(6,"0"),c=new Set;for(let b of a.matchAll(/\bid="([^"]+)"/g))c.add(b[1]);if(0===c.size)return a;let d=Array.from(c,a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),e=RegExp(`(id="|url\\(#|href="#)(${d.join("|")})("|\\))`,"g");return a.replace(e,(a,c,d,e)=>`${c}${d}-${b}${e}`)},Y=function(a){return a.map(a=>aP(this,L,"m",Z).call(this,a)).join("")},Z=function(a){switch(a.type()){case"element":return aP(this,L,"m",$).call(this,a);case"text":return aP(this,L,"m",_).call(this,a);case"component":return aP(this,L,"m",aa).call(this,a)}},$=function(a){let b=a.name();if(!b)return"";if("defs"===b){for(let b of a.children()){let a=aP(this,L,"m",Z).call(this,b);if(a.length>0){let c=b.attributes()?.id,d="string"==typeof c?c:`_${aP(this,O,"f").size}`;aP(this,O,"f").set(d,a)}}return""}let c=aP(this,L,"m",ac).call(this,a.attributes()),d=aP(this,L,"m",Y).call(this,a.children());return 0===d.length?`<${b}${c}/>`:`<${b}${c}>${d}</${b}>`},_=function(a){let b=a.value();return void 0!==b?aL.escape(aP(this,L,"m",ag).call(this,b)):""},aa=function(a){let b=a.name();if("string"!=typeof b)return"";let c=aP(this,N,"f").variant(b);if(!c)return"";let d=aP(this,M,"f").components().get(b);if(!d)return"";let e=d.variants().get(c);if(!e)return"";let f=`${d.sourceName()}-${c}-${aP(this,L,"m",aj).call(this)}`;if(!aP(this,O,"f").has(f)){let a=aP(this,L,"m",Y).call(this,e.elements());aP(this,O,"f").set(f,`<g id="${f}">${a}</g>`)}let g=aP(this,L,"m",ab).call(this,d),h=a.attributes(),i=h;if(g.length>0){let a=h?.transform,b="string"==typeof a&&a.length>0?[a,...g]:g;i={...h,transform:b.join(" ")}}let j=aP(this,L,"m",ac).call(this,i);return`<use${j} href="#${f}"/>`},ab=function(a){let{rotate:b,translateX:c,translateY:d,scale:e}=aP(this,N,"f").componentTransform(a.name());if(0===c&&0===d&&0===b&&1===e)return[];let f=[],g=a.width()/2,h=a.height()/2,i=aN.format(g),j=aN.format(h);if(0!==c||0!==d){let b=aN.format(c/100*a.width()),e=aN.format(d/100*a.height());f.push(`translate(${b}, ${e})`)}return 0!==b&&f.push(`rotate(${aN.format(b)}, ${i}, ${j})`),1!==e&&f.push(`translate(${i}, ${j}) scale(${aN.format(e)}) translate(${aN.format(-g)}, ${aN.format(-h)})`),f},ac=function(a){if(!a)return"";let b=[];for(let[c,d]of Object.entries(a))void 0!==d&&b.push(`${c}="${aL.escape(aP(this,L,"m",ad).call(this,d))}"`);return 0===b.length?"":` ${b.join(" ")}`},ad=function(a){return"string"==typeof a?a:"color"===a.type?aP(this,L,"m",ae).call(this,a.name):aP(this,L,"m",ah).call(this,a.name)},ae=function(a){let b=aP(this,N,"f").color(a),c=aP(this,N,"f").colorFill(a);return"solid"===c||b.length<=1?b[0]??"none":aP(this,L,"m",af).call(this,a,b,c)},af=function(a,b,c){let d=aP(this,N,"f").colorAngle(a),e=`${a}-color-${aP(this,L,"m",aj).call(this)}`,f="linear"===c?"linearGradient":"radialGradient",g=0!==d?` gradientTransform="rotate(${aN.format(d)}, 0.5, 0.5)"`:"",h=b.map((a,c)=>{let d=aN.format(c/(b.length-1)*100);return`<stop offset="${d}%" stop-color="${aL.escape(a)}"/>`});return aP(this,O,"f").set(e,`<${f} id="${e}"${g}>${h.join("")}</${f}>`),`url(#${e})`},ag=function(a){return"string"==typeof a?a:"variable"===a.type?aP(this,L,"m",ah).call(this,a.name):""},ah=function(a){switch(a){case"initial":{let a=aP(this,L,"m",ai).call(this).codePointAt(0);return void 0!==a?String.fromCodePoint(a):""}case"initials":return aP(this,L,"m",ai).call(this);case"fontWeight":return aN.format(aP(this,N,"f").fontWeight());case"fontFamily":return aP(this,N,"f").fontFamily()}},ai=function(){return aO(this,Q,aP(this,Q,"f")??aJ.fromSeed(aP(this,N,"f").seed()),"f")},aj=function(){return aO(this,P,aP(this,P,"f")??aw.hex((aP(this,M,"f").meta().source().name()??"")+":"+aP(this,N,"f").seed()),"f")};var aR=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c},aS=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};let aT=!1;class aU{constructor(a,b){ak.set(this,void 0),al.set(this,void 0),a instanceof am.O||aT||(aT=!0,console.warn("[DiceBear] Passing a style definition to `new Avatar()` is deprecated and will be removed in v11. Wrap it in a Style first: `new Avatar(new Style(definition), options)`."));let c=a instanceof am.O?a:new am.O(a),d=new aI(c,new av(b));aR(this,ak,new aQ(c,d).render(),"f"),aR(this,al,d.resolved(),"f")}toString(){return aS(this,ak,"f")}toJSON(){return{svg:aS(this,ak,"f"),options:structuredClone(aS(this,al,"f"))}}toDataUri(){return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(aS(this,ak,"f"))}`}}ak=new WeakMap,al=new WeakMap},53250:(a,b,c)=>{"use strict";c.d(b,{C:()=>d});let d=function(a){var b,c;if(null==a)return f;if("function"==typeof a)return e(a);if("object"==typeof a){return Array.isArray(a)?function(a){let b=[],c=-1;for(;++c<a.length;)b[c]=d(a[c]);return e(function(...a){let c=-1;for(;++c<b.length;)if(b[c].apply(this,a))return!0;return!1})}(a):(b=a,e(function(a){let c;for(c in b)if(a[c]!==b[c])return!1;return!0}))}if("string"==typeof a){return c=a,e(function(a){return a&&a.type===c})}throw Error("Expected function, string, or object as test")};function e(a){return function(b,c,d){return!!(function(a){return null!==a&&"object"==typeof a&&"type"in a}(b)&&a.call(this,b,"number"==typeof c?c:void 0,d||void 0))}}function f(){return!0}},53295:a=>{"use strict";function b(a,b){var b=b||{};this._capacity=b.capacity,this._head=0,this._tail=0,Array.isArray(a)?this._fromArray(a):(this._capacityMask=3,this._list=[,,,,])}b.prototype.peekAt=function(a){var b=a;if(b===(0|b)){var c=this.size();if(!(b>=c)&&!(b<-c))return b<0&&(b+=c),b=this._head+b&this._capacityMask,this._list[b]}},b.prototype.get=function(a){return this.peekAt(a)},b.prototype.peek=function(){if(this._head!==this._tail)return this._list[this._head]},b.prototype.peekFront=function(){return this.peek()},b.prototype.peekBack=function(){return this.peekAt(-1)},Object.defineProperty(b.prototype,"length",{get:function(){return this.size()}}),b.prototype.size=function(){return this._head===this._tail?0:this._head<this._tail?this._tail-this._head:this._capacityMask+1-(this._head-this._tail)},b.prototype.unshift=function(a){if(0==arguments.length)return this.size();var b=this._list.length;return(this._head=this._head-1+b&this._capacityMask,this._list[this._head]=a,this._tail===this._head&&this._growArray(),this._capacity&&this.size()>this._capacity&&this.pop(),this._head<this._tail)?this._tail-this._head:this._capacityMask+1-(this._head-this._tail)},b.prototype.shift=function(){var a=this._head;if(a!==this._tail){var b=this._list[a];return this._list[a]=void 0,this._head=a+1&this._capacityMask,a<2&&this._tail>1e4&&this._tail<=this._list.length>>>2&&this._shrinkArray(),b}},b.prototype.push=function(a){if(0==arguments.length)return this.size();var b=this._tail;return(this._list[b]=a,this._tail=b+1&this._capacityMask,this._tail===this._head&&this._growArray(),this._capacity&&this.size()>this._capacity&&this.shift(),this._head<this._tail)?this._tail-this._head:this._capacityMask+1-(this._head-this._tail)},b.prototype.pop=function(){var a=this._tail;if(a!==this._head){var b=this._list.length;this._tail=a-1+b&this._capacityMask;var c=this._list[this._tail];return this._list[this._tail]=void 0,this._head<2&&a>1e4&&a<=b>>>2&&this._shrinkArray(),c}},b.prototype.removeOne=function(a){var b,c=a;if(c===(0|c)&&this._head!==this._tail){var d=this.size(),e=this._list.length;if(!(c>=d)&&!(c<-d)){c<0&&(c+=d),c=this._head+c&this._capacityMask;var f=this._list[c];if(a<d/2){for(b=a;b>0;b--)this._list[c]=this._list[c=c-1+e&this._capacityMask];this._list[c]=void 0,this._head=this._head+1+e&this._capacityMask}else{for(b=d-1-a;b>0;b--)this._list[c]=this._list[c=c+1+e&this._capacityMask];this._list[c]=void 0,this._tail=this._tail-1+e&this._capacityMask}return f}}},b.prototype.remove=function(a,b){var c,d,e=a,f=b;if(e===(0|e)&&this._head!==this._tail){var g=this.size(),h=this._list.length;if(!(e>=g)&&!(e<-g)&&!(b<1)){if(e<0&&(e+=g),1===b||!b)return(c=[,])[0]=this.removeOne(e),c;if(0===e&&e+b>=g)return c=this.toArray(),this.clear(),c;for(e+b>g&&(b=g-e),c=Array(b),d=0;d<b;d++)c[d]=this._list[this._head+e+d&this._capacityMask];if(e=this._head+e&this._capacityMask,a+b===g){for(this._tail=this._tail-b+h&this._capacityMask,d=b;d>0;d--)this._list[e=e+1+h&this._capacityMask]=void 0;return c}if(0===a){for(this._head=this._head+b+h&this._capacityMask,d=b-1;d>0;d--)this._list[e=e+1+h&this._capacityMask]=void 0;return c}if(e<g/2){for(this._head=this._head+a+b+h&this._capacityMask,d=a;d>0;d--)this.unshift(this._list[e=e-1+h&this._capacityMask]);for(e=this._head-1+h&this._capacityMask;f>0;)this._list[e=e-1+h&this._capacityMask]=void 0,f--;a<0&&(this._tail=e)}else{for(this._tail=e,e=e+b+h&this._capacityMask,d=g-(b+a);d>0;d--)this.push(this._list[e++]);for(e=this._tail;f>0;)this._list[e=e+1+h&this._capacityMask]=void 0,f--}return this._head<2&&this._tail>1e4&&this._tail<=h>>>2&&this._shrinkArray(),c}}},b.prototype.splice=function(a,b){var c=a;if(c===(0|c)){var d=this.size();if(c<0&&(c+=d),!(c>d))if(!(arguments.length>2))return this.remove(c,b);else{var e,f,g,h=arguments.length,i=this._list.length,j=2;if(!d||c<d/2){for(e=0,f=Array(c);e<c;e++)f[e]=this._list[this._head+e&this._capacityMask];for(0===b?(g=[],c>0&&(this._head=this._head+c+i&this._capacityMask)):(g=this.remove(c,b),this._head=this._head+c+i&this._capacityMask);h>j;)this.unshift(arguments[--h]);for(e=c;e>0;e--)this.unshift(f[e-1])}else{var k=(f=Array(d-(c+b))).length;for(e=0;e<k;e++)f[e]=this._list[this._head+c+b+e&this._capacityMask];for(0===b?(g=[],c!=d&&(this._tail=this._head+c+i&this._capacityMask)):(g=this.remove(c,b),this._tail=this._tail-k+i&this._capacityMask);j<h;)this.push(arguments[j++]);for(e=0;e<k;e++)this.push(f[e])}return g}}},b.prototype.clear=function(){this._list=Array(this._list.length),this._head=0,this._tail=0},b.prototype.isEmpty=function(){return this._head===this._tail},b.prototype.toArray=function(){return this._copyArray(!1)},b.prototype._fromArray=function(a){var b=a.length,c=this._nextPowerOf2(b);this._list=Array(c),this._capacityMask=c-1,this._tail=b;for(var d=0;d<b;d++)this._list[d]=a[d]},b.prototype._copyArray=function(a,b){var c,d=this._list,e=d.length,f=this.length;if((b|=f)==f&&this._head<this._tail)return this._list.slice(this._head,this._tail);var g=Array(b),h=0;if(a||this._head>this._tail){for(c=this._head;c<e;c++)g[h++]=d[c];for(c=0;c<this._tail;c++)g[h++]=d[c]}else for(c=this._head;c<this._tail;c++)g[h++]=d[c];return g},b.prototype._growArray=function(){if(0!=this._head){var a=this._copyArray(!0,this._list.length<<1);this._tail=this._list.length,this._head=0,this._list=a}else this._tail=this._list.length,this._list.length<<=1;this._capacityMask=this._capacityMask<<1|1},b.prototype._shrinkArray=function(){this._list.length>>>=1,this._capacityMask>>>=1},b.prototype._nextPowerOf2=function(a){return Math.max(1<<Math.log(a)/Math.log(2)+1,4)},a.exports=b},53932:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=(0,c(86944).Debug)("AbstractConnector");class e{constructor(a){this.connecting=!1,this.disconnectTimeout=a}check(a){return!0}disconnect(){if(this.connecting=!1,this.stream){let a=this.stream,b=setTimeout(()=>{d("stream %s:%s still open, destroying it",a.remoteAddress,a.remotePort),a.destroy()},this.disconnectTimeout);a.on("close",()=>clearTimeout(b)),a.end()}}}b.default=e},54469:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});let d={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:a=>a>=255?255:a<0?0:a,g:a=>a>=255?255:a<0?0:a,b:a=>a>=255?255:a<0?0:a,h:a=>a%360,s:a=>a>=100?100:a<0?0:a,l:a=>a>=100?100:a<0?0:a,a:a=>a>=1?1:a<0?0:a},toLinear:a=>{let b=a/255;return a>.03928?Math.pow((b+.055)/1.055,2.4):b/12.92},hue2rgb:(a,b,c)=>(c<0&&(c+=1),c>1&&(c-=1),c<1/6)?a+(b-a)*6*c:c<.5?b:c<2/3?a+(b-a)*(2/3-c)*6:a,hsl2rgb:({h:a,s:b,l:c},e)=>{if(!b)return 2.55*c;a/=360,b/=100;let f=(c/=100)<.5?c*(1+b):c+b-c*b,g=2*c-f;switch(e){case"r":return 255*d.hue2rgb(g,f,a+1/3);case"g":return 255*d.hue2rgb(g,f,a);case"b":return 255*d.hue2rgb(g,f,a-1/3)}},rgb2hsl:({r:a,g:b,b:c},d)=>{let e=Math.max(a/=255,b/=255,c/=255),f=Math.min(a,b,c),g=(e+f)/2;if("l"===d)return 100*g;if(e===f)return 0;let h=e-f;if("s"===d)return 100*(g>.5?h/(2-e-f):h/(e+f));switch(e){case a:return((b-c)/h+6*(b<c))*60;case b:return((c-a)/h+2)*60;case c:return((a-b)/h+4)*60;default:return -1}}},e={channel:d,lang:{clamp:(a,b,c)=>b>c?Math.min(b,Math.max(c,a)):Math.min(c,Math.max(b,a)),round:a=>Math.round(1e10*a)/1e10},unit:{dec2hex:a=>{let b=Math.round(a).toString(16);return b.length>1?b:`0${b}`}}}},54501:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"DetachedPromise",{enumerable:!0,get:function(){return c}});class c{constructor(){let a,b;this.promise=new Promise((c,d)=>{a=c,b=d}),this.resolve=a,this.reject=b}}},54643:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(36395),e=c(12500);let f=function(a){if(!(0,e.A)(a))return!1;var b=(0,d.A)(a);return"[object Function]"==b||"[object GeneratorFunction]"==b||"[object AsyncFunction]"==b||"[object Proxy]"==b}},55178:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});let d=c(37785),e=c(88960),f=c(36385),g=c(4531);class h{constructor(){this.options={},this.scriptsSet={},this.addedBuiltinSet=new Set}getBuiltinCommands(){return i.slice(0)}createBuiltinCommand(a){return{string:j(null,a,"utf8"),buffer:j(null,a,null)}}addBuiltinCommand(a){this.addedBuiltinSet.add(a),this[a]=j(a,a,"utf8"),this[a+"Buffer"]=j(a+"Buffer",a,null)}defineCommand(a,b){let c=new g.default(b.lua,b.numberOfKeys,this.options.keyPrefix,b.readOnly);this.scriptsSet[a]=c,this[a]=k(a,a,c,"utf8"),this[a+"Buffer"]=k(a+"Buffer",a,c,null)}sendCommand(a,b,c){throw Error('"sendCommand" is not implemented')}}let i=d.list.filter(a=>"monitor"!==a);function j(a,b,c){return void 0===c&&(c=b,b=null),function(...d){let g=b||d.shift(),h=d[d.length-1];"function"==typeof h?d.pop():h=void 0;let i={errorStack:this.options.showFriendlyErrorStack?Error():void 0,keyPrefix:this.options.keyPrefix,replyEncoding:c};return(0,e.shouldUseAutoPipelining)(this,a,g)?(0,e.executeWithAutoPipelining)(this,a,g,d,h):this.sendCommand(new f.default(g,d,i,h))}}function k(a,b,c,d){return function(...f){let g="function"==typeof f[f.length-1]?f.pop():void 0,h={replyEncoding:d};return(this.options.showFriendlyErrorStack&&(h.errorStack=Error()),(0,e.shouldUseAutoPipelining)(this,a,b))?(0,e.executeWithAutoPipelining)(this,a,b,f,g):c.execute(this,f,h,g)}}i.push("sentinel"),i.forEach(function(a){h.prototype[a]=j(a,a,"utf8"),h.prototype[a+"Buffer"]=j(a+"Buffer",a,null)}),h.prototype.call=j("call","utf8"),h.prototype.callBuffer=j("callBuffer",null),h.prototype.send_command=h.prototype.call,b.default=h},55326:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=Function.prototype.toString;let e=function(a){if(null!=a){try{return d.call(a)}catch(a){}try{return a+""}catch(a){}}return""}},55775:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(56556).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},56196:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return e}});let d=""+c(93123).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function e(){let a=Object.defineProperty(Error(d),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=d,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},56898:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ReflectAdapter",{enumerable:!0,get:function(){return c}});class c{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}},57301:(a,b,c)=>{"use strict";c.d(b,{DA:()=>u,IU:()=>D,U:()=>C,U7:()=>bo,U_:()=>bq,Zk:()=>l,aP:()=>bl,gh:()=>bp,lC:()=>n,on:()=>bn});var d=c(11910),e=c(34623),f=c(4892),g=c(46895),h=c(6335),i=c(42292),j=c(72636),k=c(99766),l=(0,i.K2)(async(a,b,c)=>{let e,i=b.useHtmlLabels||(0,h._3)((0,h.D7)()?.htmlLabels),k=a.insert("g").attr("class",c||"node default").attr("id",b.domId||b.id),l=k.insert("g").attr("class","label").attr("style",(0,g.KL)(b.labelStyle));e=void 0===b.label?"":"string"==typeof b.label?b.label:b.label[0];let m=!!b.icon||!!b.img,n="markdown"===b.labelType,o=await (0,f.GZ)(l,(0,h.jZ)((0,g.Sm)(e),(0,h.D7)()),{useHtmlLabels:i,width:b.width||(0,h.D7)().flowchart?.wrappingWidth,classes:n?"markdown-node-label":"",style:b.labelStyle,addSvgBackground:m,markdown:n},(0,h.D7)()),p=o.getBBox(),q=(b?.padding??0)/2;if(i){let a=o.children[0],b=(0,j.Ltv)(o);await (0,d.X)(a,e),p=a.getBoundingClientRect(),b.attr("width",p.width),b.attr("height",p.height)}return i?l.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"):l.attr("transform","translate(0, "+-p.height/2+")"),b.centerLabel&&l.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),l.insert("rect",":first-child"),{shapeSvg:k,bbox:p,halfPadding:q,label:l}},"labelHelper"),m=(0,i.K2)(async(a,b,c)=>{let d=c.useHtmlLabels??(0,h.E)((0,h.D7)()),e=a.insert("g").attr("class","label").attr("style",c.labelStyle||""),i=await (0,f.GZ)(e,(0,h.jZ)((0,g.Sm)(b),(0,h.D7)()),{useHtmlLabels:d,width:c.width||(0,h.D7)()?.flowchart?.wrappingWidth,style:c.labelStyle,addSvgBackground:!!c.icon||!!c.img}),k=i.getBBox(),l=c.padding/2;if((0,h.E)((0,h.D7)())){let a=i.children[0],b=(0,j.Ltv)(i);k=a.getBoundingClientRect(),b.attr("width",k.width),b.attr("height",k.height)}return d?e.attr("transform","translate("+-k.width/2+", "+-k.height/2+")"):e.attr("transform","translate(0, "+-k.height/2+")"),c.centerLabel&&e.attr("transform","translate("+-k.width/2+", "+-k.height/2+")"),e.insert("rect",":first-child"),{shapeSvg:a,bbox:k,halfPadding:l,label:e}},"insertLabel"),n=(0,i.K2)((a,b)=>{let c=b.node().getBBox();a.width=c.width,a.height=c.height},"updateNodeBounds"),o=(0,i.K2)((a,b)=>("handDrawn"===a.look?"rough-node":"node")+" "+a.cssClasses+" "+(b||""),"getNodeClasses");function p(a){let b=a.map((a,b)=>`${0===b?"M":"L"}${a.x},${a.y}`);return b.push("Z"),b.join(" ")}function q(a,b,c,d,e,f){let g=[],h=c-a,i=2*Math.PI/(h/f),j=b+(d-b)/2;for(let b=0;b<=50;b++){let c=a+b/50*h,d=j+e*Math.sin(i*(c-a));g.push({x:c,y:d})}return g}function r(a,b,c,d,e,f){let g=[],h=e*Math.PI/180,i=(f*Math.PI/180-h)/(d-1);for(let e=0;e<d;e++){let d=h+e*i,f=a+c*Math.cos(d),j=b+c*Math.sin(d);g.push({x:-f,y:-j})}return g}function s(a){let b=Array.from(a.childNodes).filter(a=>"path"===a.tagName),c=document.createElementNS("http://www.w3.org/2000/svg","path"),d=b.map(a=>a.getAttribute("d")).filter(a=>null!==a).join(" ");c.setAttribute("d",d);let e=b.find(a=>"none"!==a.getAttribute("fill")),f=b.find(a=>"none"!==a.getAttribute("stroke")),g=(0,i.K2)((a,b)=>a?.getAttribute(b)??void 0,"getAttr");e&&Object.entries({fill:g(e,"fill"),"fill-opacity":g(e,"fill-opacity")??"1"}).forEach(([a,b])=>{b&&c.setAttribute(a,b)}),f&&Object.entries({stroke:g(f,"stroke"),"stroke-width":g(f,"stroke-width")??"1","stroke-opacity":g(f,"stroke-opacity")??"1"}).forEach(([a,b])=>{b&&c.setAttribute(a,b)});let h=document.createElementNS("http://www.w3.org/2000/svg","g");return h.appendChild(c),h}(0,i.K2)(p,"createPathFromPoints"),(0,i.K2)(q,"generateFullSineWavePoints"),(0,i.K2)(r,"generateCirclePoints"),(0,i.K2)(s,"mergePaths");var t=(0,i.K2)((a,b)=>{var c,d,e=a.x,f=a.y,g=b.x-e,h=b.y-f,i=a.width/2,j=a.height/2;return Math.abs(h)*i>Math.abs(g)*j?(h<0&&(j=-j),c=0===h?0:j*g/h,d=j):(g<0&&(i=-i),c=i,d=0===g?0:i*h/g),{x:e+c,y:f+d}},"intersectRect"),u=(0,i.K2)(async(a,b,c,d=!1,e=!1)=>{let g=b||"";"object"==typeof g&&(g=g[0]);let i=(0,h.D7)(),j=(0,h.E)(i);return await (0,f.GZ)(a,g,{style:c,isTitle:d,useHtmlLabels:j,markdown:!1,isNode:e,width:1/0},i)},"createLabel"),v=(0,i.K2)((a,b,c,d,e)=>["M",a+e,b,"H",a+c-e,"A",e,e,"0 0 1",a+c,b+e,"V",b+d-e,"A",e,e,"0 0 1",a+c-e,b+d,"H",a+e,"A",e,e,"0 0 1",a,b+d-e,"V",b+e,"A",e,e,"0 0 1",a+e,b,"Z"].join(" "),"createRoundedRectPathD"),w=(0,i.K2)(async(a,b)=>{let c,g;i.Rm.info("Creating subgraph rect for ",b.id,b);let l=(0,h.D7)(),{themeVariables:m,handDrawnSeed:n}=l,{clusterBkg:o,clusterBorder:p}=m,{labelStyles:q,nodeStyles:r,borderStyles:s,backgroundStyles:w}=(0,e.GX)(b),x=a.insert("g").attr("class","cluster "+b.cssClasses).attr("id",b.domId).attr("data-look",b.look),y=(0,h.E)(l),z=x.insert("g").attr("class","cluster-label "),A=(c="markdown"===b.labelType?await (0,f.GZ)(z,b.label,{style:b.labelStyle,useHtmlLabels:y,isNode:!0,width:b.width}):await u(z,b.label,b.labelStyle||"",!1,!0)).getBBox();if((0,h.E)(l)){let a=c.children[0],b=(0,j.Ltv)(c);A=a.getBoundingClientRect(),b.attr("width",A.width),b.attr("height",A.height)}let B=b.width<=A.width+b.padding?A.width+b.padding:b.width;b.width<=A.width+b.padding?b.diff=(B-b.width)/2-b.padding:b.diff=-b.padding;let C=b.height,D=b.x-B/2,E=b.y-C/2;if(i.Rm.trace("Data ",b,JSON.stringify(b)),"handDrawn"===b.look){let a=k.A.svg(x),c=(0,e.Fr)(b,{roughness:.7,fill:o,stroke:p,fillWeight:3,seed:n}),d=a.path(v(D,E,B,C,0),c);(g=x.insert(()=>(i.Rm.debug("Rough node insert CXC",d),d),":first-child")).select("path:nth-child(2)").attr("style",s.join(";")),g.select("path").attr("style",w.join(";").replace("fill","stroke"))}else(g=x.insert("rect",":first-child")).attr("style",r).attr("rx",b.rx).attr("ry",b.ry).attr("x",D).attr("y",E).attr("width",B).attr("height",C);let{subGraphTitleTopMargin:F}=(0,d.O)(l);if(z.attr("transform",`translate(${b.x-A.width/2}, ${b.y-b.height/2+F})`),q){let a=z.select("span");a&&a.attr("style",q)}let G=g.node().getBBox();return b.offsetX=0,b.width=G.width,b.height=G.height,b.offsetY=A.height-b.padding/2,b.intersect=function(a){return t(b,a)},{cluster:x,labelBBox:A}},"rect"),x=(0,i.K2)((a,b)=>{let c=a.insert("g").attr("class","note-cluster").attr("id",b.domId),d=c.insert("rect",":first-child"),e=0*b.padding,f=e/2;d.attr("rx",b.rx).attr("ry",b.ry).attr("x",b.x-b.width/2-f).attr("y",b.y-b.height/2-f).attr("width",b.width+e).attr("height",b.height+e).attr("fill","none");let g=d.node().getBBox();return b.width=g.width,b.height=g.height,b.intersect=function(a){return t(b,a)},{cluster:c,labelBBox:{width:0,height:0}}},"noteGroup"),y=(0,i.K2)(async(a,b)=>{let c,d=(0,h.D7)(),{themeVariables:e,handDrawnSeed:f}=d,{altBackground:g,compositeBackground:i,compositeTitleBackground:l,nodeBorder:m}=e,n=a.insert("g").attr("class",b.cssClasses).attr("id",b.domId).attr("data-id",b.id).attr("data-look",b.look),o=n.insert("g",":first-child"),p=n.insert("g").attr("class","cluster-label"),q=n.append("rect"),r=await u(p,b.label,b.labelStyle,void 0,!0),s=r.getBBox();if((0,h.E)(d)){let a=r.children[0],b=(0,j.Ltv)(r);s=a.getBoundingClientRect(),b.attr("width",s.width),b.attr("height",s.height)}let w=0*b.padding,x=(b.width<=s.width+b.padding?s.width+b.padding:b.width)+w;b.width<=s.width+b.padding?b.diff=(x-b.width)/2-b.padding:b.diff=-b.padding;let y=b.height+w,z=b.height+w-s.height-6,A=b.x-x/2,B=b.y-y/2;b.width=x;let C=b.y-b.height/2-w/2+s.height+2;if("handDrawn"===b.look){let a=b.cssClasses.includes("statediagram-cluster-alt"),d=k.A.svg(n),e=b.rx||b.ry?d.path(v(A,B,x,y,10),{roughness:.7,fill:l,fillStyle:"solid",stroke:m,seed:f}):d.rectangle(A,B,x,y,{seed:f});c=n.insert(()=>e,":first-child");let h=d.rectangle(A,C,x,z,{fill:a?g:i,fillStyle:a?"hachure":"solid",stroke:m,seed:f});c=n.insert(()=>e,":first-child"),q=n.insert(()=>h)}else(c=o.insert("rect",":first-child")).attr("class","outer").attr("x",A).attr("y",B).attr("width",x).attr("height",y).attr("data-look",b.look),q.attr("class","inner").attr("x",A).attr("y",C).attr("width",x).attr("height",z);return p.attr("transform",`translate(${b.x-s.width/2}, ${B+1-3*!(0,h.E)(d)})`),b.height=c.node().getBBox().height,b.offsetX=0,b.offsetY=s.height-b.padding/2,b.labelBBox=s,b.intersect=function(a){return t(b,a)},{cluster:n,labelBBox:s}},"roundedWithTitle"),z=(0,i.K2)(async(a,b)=>{let c;i.Rm.info("Creating subgraph rect for ",b.id,b);let g=(0,h.D7)(),{themeVariables:l,handDrawnSeed:m}=g,{clusterBkg:n,clusterBorder:o}=l,{labelStyles:p,nodeStyles:q,borderStyles:r,backgroundStyles:s}=(0,e.GX)(b),u=a.insert("g").attr("class","cluster "+b.cssClasses).attr("id",b.domId).attr("data-look",b.look),w=(0,h.E)(g),x=u.insert("g").attr("class","cluster-label "),y=await (0,f.GZ)(x,b.label,{style:b.labelStyle,useHtmlLabels:w,isNode:!0,width:b.width}),z=y.getBBox();if((0,h.E)(g)){let a=y.children[0],b=(0,j.Ltv)(y);z=a.getBoundingClientRect(),b.attr("width",z.width),b.attr("height",z.height)}let A=b.width<=z.width+b.padding?z.width+b.padding:b.width;b.width<=z.width+b.padding?b.diff=(A-b.width)/2-b.padding:b.diff=-b.padding;let B=b.height,C=b.x-A/2,D=b.y-B/2;if(i.Rm.trace("Data ",b,JSON.stringify(b)),"handDrawn"===b.look){let a=k.A.svg(u),d=(0,e.Fr)(b,{roughness:.7,fill:n,stroke:o,fillWeight:4,seed:m}),f=a.path(v(C,D,A,B,b.rx),d);(c=u.insert(()=>(i.Rm.debug("Rough node insert CXC",f),f),":first-child")).select("path:nth-child(2)").attr("style",r.join(";")),c.select("path").attr("style",s.join(";").replace("fill","stroke"))}else(c=u.insert("rect",":first-child")).attr("style",q).attr("rx",b.rx).attr("ry",b.ry).attr("x",C).attr("y",D).attr("width",A).attr("height",B);let{subGraphTitleTopMargin:E}=(0,d.O)(g);if(x.attr("transform",`translate(${b.x-z.width/2}, ${b.y-b.height/2+E})`),p){let a=x.select("span");a&&a.attr("style",p)}let F=c.node().getBBox();return b.offsetX=0,b.width=F.width,b.height=F.height,b.offsetY=z.height-b.padding/2,b.intersect=function(a){return t(b,a)},{cluster:u,labelBBox:z}},"kanbanSection"),A={rect:w,squareRect:w,roundedWithTitle:y,noteGroup:x,divider:(0,i.K2)((a,b)=>{let c,{themeVariables:d,handDrawnSeed:e}=(0,h.D7)(),{nodeBorder:f}=d,g=a.insert("g").attr("class",b.cssClasses).attr("id",b.domId).attr("data-look",b.look),i=g.insert("g",":first-child"),j=0*b.padding,l=b.width+j;b.diff=-b.padding;let m=b.height+j,n=b.x-l/2,o=b.y-m/2;if(b.width=l,"handDrawn"===b.look){let a=k.A.svg(g).rectangle(n,o,l,m,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:f,seed:e});c=g.insert(()=>a,":first-child")}else{c=i.insert("rect",":first-child");let a="outer";b.look,a="divider",c.attr("class",a).attr("x",n).attr("y",o).attr("width",l).attr("height",m).attr("data-look",b.look)}return b.height=c.node().getBBox().height,b.offsetX=0,b.offsetY=0,b.intersect=function(a){return t(b,a)},{cluster:g,labelBBox:{}}},"divider"),kanbanSection:z},B=new Map,C=(0,i.K2)(async(a,b)=>{let c=b.shape||"rect",d=await A[c](a,b);return B.set(b.id,d),d},"insertCluster"),D=(0,i.K2)(()=>{B=new Map},"clear");function E(a,b,c,d){var e=a.x,f=a.y,g=e-d.x,h=f-d.y,i=Math.sqrt(b*b*h*h+c*c*g*g),j=Math.abs(b*c*g/i);d.x<e&&(j=-j);var k=Math.abs(b*c*h/i);return d.y<f&&(k=-k),{x:e+j,y:f+k}}function F(a,b,c){return E(a,b,b,c)}function G(a,b,c,d){{let e=b.y-a.y,f=a.x-b.x,g=b.x*a.y-a.x*b.y,h=e*c.x+f*c.y+g,i=e*d.x+f*d.y+g;if(0!==h&&0!==i&&H(h,i))return;let j=d.y-c.y,k=c.x-d.x,l=d.x*c.y-c.x*d.y,m=j*a.x+k*a.y+l,n=j*b.x+k*b.y+l;if(1e-6>Math.abs(m)&&1e-6>Math.abs(n)&&H(m,n))return;let o=e*k-j*f;if(0===o)return;let p=Math.abs(o/2),q=f*l-k*g;return{x:q<0?(q-p)/o:(q+p)/o,y:(q=j*g-e*l)<0?(q-p)/o:(q+p)/o}}}function H(a,b){return a*b>0}function I(a,b,c){let d=a.x,e=a.y,f=[],g=1/0,h=1/0;"function"==typeof b.forEach?b.forEach(function(a){g=Math.min(g,a.x),h=Math.min(h,a.y)}):(g=Math.min(g,b.x),h=Math.min(h,b.y));let i=d-a.width/2-g,j=e-a.height/2-h;for(let d=0;d<b.length;d++){let e=b[d],g=b[d<b.length-1?d+1:0],h=G(a,c,{x:i+e.x,y:j+e.y},{x:i+g.x,y:j+g.y});h&&f.push(h)}return f.length?(f.length>1&&f.sort(function(a,b){let d=a.x-c.x,e=a.y-c.y,f=Math.sqrt(d*d+e*e),g=b.x-c.x,h=b.y-c.y,i=Math.sqrt(g*g+h*h);return f<i?-1:+(f!==i)}),f[0]):a}(0,i.K2)(function(a,b){return a.intersect(b)},"intersectNode"),(0,i.K2)(E,"intersectEllipse"),(0,i.K2)(F,"intersectCircle"),(0,i.K2)(G,"intersectLine"),(0,i.K2)(H,"sameSign"),(0,i.K2)(I,"intersectPolygon");var J={circle:F,polygon:I,rect:t};function K(a,b){let{labelStyles:c}=(0,e.GX)(b);b.labelStyle=c;let d=o(b),f=d;d||(f="anchor");let h=a.insert("g").attr("class",f).attr("id",b.domId||b.id),{cssStyles:j}=b,l=k.A.svg(h),m=(0,e.Fr)(b,{fill:"black",stroke:"none",fillStyle:"solid"});"handDrawn"!==b.look&&(m.roughness=0);let p=l.circle(0,0,2,m),q=h.insert(()=>p,":first-child");return q.attr("class","anchor").attr("style",(0,g.KL)(j)),n(b,q),b.intersect=function(a){return i.Rm.info("Circle intersect",b,1,a),J.circle(b,1,a)},h}function L(a,b,c,d,e,f,g){let h=Math.atan2(d-b,c-a),i=Math.sqrt(((c-a)/2/e)**2+((d-b)/2/f)**2);if(i>1)throw Error("The given radii are too small to create an arc between the points.");let j=Math.sqrt(1-i**2),k=(a+c)/2+j*f*Math.sin(h)*(g?-1:1),l=(b+d)/2-j*e*Math.cos(h)*(g?-1:1),m=Math.atan2((b-l)/f,(a-k)/e),n=Math.atan2((d-l)/f,(c-k)/e)-m;g&&n<0&&(n+=2*Math.PI),!g&&n>0&&(n-=2*Math.PI);let o=[];for(let a=0;a<20;a++){let b=m+a/19*n,c=k+e*Math.cos(b),d=l+f*Math.sin(b);o.push({x:c,y:d})}return o}function M(a,b,c){let[d,e]=[b,c].sort((a,b)=>b-a);return e*(1-Math.sqrt(1-(a/d/2)**2))}async function N(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f=b.padding??0,g="neo"===b.look?16:f,h="neo"===b.look?12:f,j=(0,i.K2)(a=>a+h,"calcTotalHeight"),m=(0,i.K2)(a=>{let b=a/2;return[b/(2.5+a/50),b]},"calcEllipseRadius"),{shapeSvg:q,bbox:r}=await l(a,b,o(b)),s=j(b?.height?b?.height:r.height),[t,u]=m(s),v=M(s,t,u),w=(b?.width?b?.width:r.width)+2*g+v-v,{cssStyles:x}=b,y=[{x:w/2,y:-s/2},{x:-w/2,y:-s/2},...L(-w/2,-s/2,-w/2,s/2,t,u,!1),{x:w/2,y:s/2},...L(w/2,s/2,w/2,-s/2,t,u,!0)],z=k.A.svg(q),A=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(A.roughness=0,A.fillStyle="solid");let B=p(y),C=z.path(B,A),D=q.insert(()=>C,":first-child");return D.attr("class","basic label-container outer-path"),x&&"handDrawn"!==b.look&&D.selectAll("path").attr("style",x),d&&"handDrawn"!==b.look&&D.selectAll("path").attr("style",d),D.attr("transform",`translate(${t/2}, 0)`),n(b,D),b.intersect=function(a){return J.polygon(b,y,a)},q}function O(a,b,c,d){return a.insert("polygon",":first-child").attr("points",d.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-b/2+","+c/2+")")}async function P(a,b){let c,{labelStyles:d,nodeStyles:f}=(0,e.GX)(b);b.labelStyle=d;let g=b.padding??0,h="neo"===b.look?28:g,i="neo"===b.look?24:g,{shapeSvg:j,bbox:m}=await l(a,b,o(b)),q=(b?.width??m.width)+("neo"===b.look?2*h:h+12),r=(b?.height??m.height)+("neo"===b.look?2*i:i),s=-r,t=[{x:12,y:s},{x:q,y:s},{x:q,y:0},{x:0,y:0},{x:0,y:s+12},{x:12,y:s}],{cssStyles:u}=b;if("handDrawn"===b.look){let a=k.A.svg(j),d=(0,e.Fr)(b,{}),f=p(t),g=a.path(f,d);c=j.insert(()=>g,":first-child").attr("transform",`translate(${-q/2}, ${r/2})`),u&&c.attr("style",u)}else c=O(j,q,r,t);return f&&c.attr("style",f),n(b,c),b.intersect=function(a){return J.polygon(b,t,a)},j}function Q(a,b){let{nodeStyles:c}=(0,e.GX)(b);b.label="";let d=a.insert("g").attr("class",o(b)).attr("id",b.domId??b.id),{cssStyles:f}=b,g=Math.max(28,b.width??0),h=[{x:0,y:g/2},{x:g/2,y:0},{x:0,y:-g/2},{x:-g/2,y:0}],i=k.A.svg(d),j=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(j.roughness=0,j.fillStyle="solid");let l=p(h),m=i.path(l,j),n=d.insert(()=>m,":first-child");return f&&"handDrawn"!==b.look&&n.selectAll("path").attr("style",f),c&&"handDrawn"!==b.look&&n.selectAll("path").attr("style",c),b.width=28,b.height=28,b.intersect=function(a){return J.polygon(b,h,a)},d}async function R(a,b,c){let d,{labelStyles:f,nodeStyles:h}=(0,e.GX)(b);b.labelStyle=f;let{shapeSvg:j,bbox:m,halfPadding:p}=await l(a,b,o(b)),q=c?.padding??p,r="neo"===b.look?m.width/2+32:m.width/2+q,{cssStyles:s}=b;if("handDrawn"===b.look){let a=k.A.svg(j),c=(0,e.Fr)(b,{}),f=a.circle(0,0,2*r,c);(d=j.insert(()=>f,":first-child")).attr("class","basic label-container").attr("style",(0,g.KL)(s))}else d=j.insert("circle",":first-child").attr("class","basic label-container").attr("style",h).attr("r",r).attr("cx",0).attr("cy",0);return n(b,d),b.calcIntersect=function(a,b){let c=a.width/2;return J.circle(a,c,b)},b.intersect=function(a){return i.Rm.info("Circle intersect",b,r,a),J.circle(b,r,a)},j}function S(a){let b=Math.cos(Math.PI/4),c=Math.sin(Math.PI/4),d=2*a,e={x:d/2*b,y:d/2*c},f={x:-(d/2)*b,y:d/2*c},g={x:-(d/2)*b,y:-(d/2)*c},h={x:d/2*b,y:-(d/2)*c};return`M ${f.x},${f.y} L ${h.x},${h.y}
|
|
197
197
|
M ${e.x},${e.y} L ${g.x},${g.y}`}function T(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c,b.label="";let f=a.insert("g").attr("class",o(b)).attr("id",b.domId??b.id),g=Math.max(30,b?.width??0),{cssStyles:h}=b,j=k.A.svg(f),l=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(l.roughness=0,l.fillStyle="solid");let m=j.circle(0,0,2*g,l),p=S(g),q=j.path(p,l),r=f.insert(()=>m,":first-child");return r.insert(()=>q),r.attr("class","outer-path"),h&&"handDrawn"!==b.look&&r.selectAll("path").attr("style",h),d&&"handDrawn"!==b.look&&r.selectAll("path").attr("style",d),n(b,r),b.intersect=function(a){return i.Rm.info("crossedCircle intersect",b,{radius:g,point:a}),J.circle(b,g,a)},f}function U(a,b,c,d=100,e=0,f=180){let g=[],h=e*Math.PI/180,i=(f*Math.PI/180-h)/(d-1);for(let e=0;e<d;e++){let d=h+e*i,f=a+c*Math.cos(d),j=b+c*Math.sin(d);g.push({x:-f,y:-j})}return g}async function V(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let{shapeSvg:f,bbox:g,label:h}=await l(a,b,o(b)),i="neo"===b.look?18:b.padding??0,j="neo"===b.look?12:b.padding??0,m=g.width+i,q=g.height+j,r=Math.max(5,.1*q),{cssStyles:s}=b,t=[...U(m/2,-q/2,r,30,-90,0),{x:-m/2-r,y:r},...U(m/2+2*r,-r,r,20,-180,-270),...U(m/2+2*r,r,r,20,-90,-180),{x:-m/2-r,y:-q/2},...U(m/2,q/2,r,20,0,90)],u=[{x:m/2,y:-q/2-r},{x:-m/2,y:-q/2-r},...U(m/2,-q/2,r,20,-90,0),{x:-m/2-r,y:-r},...U(m/2+.1*m,-r,r,20,-180,-270),...U(m/2+.1*m,r,r,20,-90,-180),{x:-m/2-r,y:q/2},...U(m/2,q/2,r,20,0,90),{x:-m/2,y:q/2+r},{x:m/2,y:q/2+r}],v=k.A.svg(f),w=(0,e.Fr)(b,{fill:"none"});"handDrawn"!==b.look&&(w.roughness=0,w.fillStyle="solid");let x=p(t).replace("Z",""),y=v.path(x,w),z=p(u),A=v.path(z,{...w}),B=f.insert("g",":first-child");return B.insert(()=>A,":first-child").attr("stroke-opacity",0),B.insert(()=>y,":first-child"),B.attr("class","text"),s&&"handDrawn"!==b.look&&B.selectAll("path").attr("style",s),d&&"handDrawn"!==b.look&&B.selectAll("path").attr("style",d),B.attr("transform",`translate(${r}, 0)`),h.attr("transform",`translate(${-m/2+r-(g.x-(g.left??0))},${-q/2+(b.padding??0)/2-(g.y-(g.top??0))})`),n(b,B),b.intersect=function(a){return J.polygon(b,u,a)},f}function W(a,b,c,d=100,e=0,f=180){let g=[],h=e*Math.PI/180,i=(f*Math.PI/180-h)/(d-1);for(let e=0;e<d;e++){let d=h+e*i,f=a+c*Math.cos(d),j=b+c*Math.sin(d);g.push({x:f,y:j})}return g}async function X(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let{shapeSvg:f,bbox:g,label:h}=await l(a,b,o(b)),i="neo"===b.look?18:b.padding??0,j="neo"===b.look?12:b.padding??0,m=g.width+("neo"===b.look?2*i:i),q=g.height+("neo"===b.look?2*j:j),r=Math.max(5,.1*q),{cssStyles:s}=b,t=[...W(m/2,-q/2,r,20,-90,0),{x:m/2+r,y:-r},...W(m/2+2*r,-r,r,20,-180,-270),...W(m/2+2*r,r,r,20,-90,-180),{x:m/2+r,y:q/2},...W(m/2,q/2,r,20,0,90)],u=[{x:-m/2,y:-q/2-r},{x:m/2,y:-q/2-r},...W(m/2,-q/2,r,20,-90,0),{x:m/2+r,y:-r},...W(m/2+2*r,-r,r,20,-180,-270),...W(m/2+2*r,r,r,20,-90,-180),{x:m/2+r,y:q/2},...W(m/2,q/2,r,20,0,90),{x:m/2,y:q/2+r},{x:-m/2,y:q/2+r}],v=k.A.svg(f),w=(0,e.Fr)(b,{fill:"none"});"handDrawn"!==b.look&&(w.roughness=0,w.fillStyle="solid");let x=p(t).replace("Z",""),y=v.path(x,w),z=p(u),A=v.path(z,{...w}),B=f.insert("g",":first-child");return B.insert(()=>A,":first-child").attr("stroke-opacity",0),B.insert(()=>y,":first-child"),B.attr("class","text"),s&&"handDrawn"!==b.look&&B.selectAll("path").attr("style",s),d&&"handDrawn"!==b.look&&B.selectAll("path").attr("style",d),B.attr("transform",`translate(${-r}, 0)`),h.attr("transform",`translate(${-m/2+(b.padding??0)/2-(g.x-(g.left??0))},${-q/2+(b.padding??0)/2-(g.y-(g.top??0))})`),n(b,B),b.intersect=function(a){return J.polygon(b,u,a)},f}function Y(a,b,c,d=100,e=0,f=180){let g=[],h=e*Math.PI/180,i=(f*Math.PI/180-h)/(d-1);for(let e=0;e<d;e++){let d=h+e*i,f=a+c*Math.cos(d),j=b+c*Math.sin(d);g.push({x:-f,y:-j})}return g}async function Z(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let{shapeSvg:f,bbox:g,label:h}=await l(a,b,o(b)),i="neo"===b.look?18:b.padding??0,j="neo"===b.look?12:b.padding??0,m=g.width+("neo"===b.look?2*i:i),q=g.height+("neo"===b.look?2*j:j),r=Math.max(5,.1*q),{cssStyles:s}=b,t=[...Y(m/2,-q/2,r,30,-90,0),{x:-m/2-r,y:r},...Y(m/2+2*r,-r,r,20,-180,-270),...Y(m/2+2*r,r,r,20,-90,-180),{x:-m/2-r,y:-q/2},...Y(m/2,q/2,r,20,0,90)],u=[...Y(-m/2+r+r/2,-q/2,r,20,-90,-180),{x:m/2-r/2,y:r},...Y(-m/2-r/2,-r,r,20,0,90),...Y(-m/2-r/2,r,r,20,-90,0),{x:m/2-r/2,y:-r},...Y(-m/2+r+r/2,q/2,r,30,-180,-270)],v=[{x:m/2,y:-q/2-r},{x:-m/2,y:-q/2-r},...Y(m/2,-q/2,r,20,-90,0),{x:-m/2-r,y:-r},...Y(m/2+2*r,-r,r,20,-180,-270),...Y(m/2+2*r,r,r,20,-90,-180),{x:-m/2-r,y:q/2},...Y(m/2,q/2,r,20,0,90),{x:-m/2,y:q/2+r},{x:m/2-r-r/2,y:q/2+r},...Y(-m/2+r+r/2,-q/2,r,20,-90,-180),{x:m/2-r/2,y:r},...Y(-m/2-r/2,-r,r,20,0,90),...Y(-m/2-r/2,r,r,20,-90,0),{x:m/2-r/2,y:-r},...Y(-m/2+r+r/2,q/2,r,30,-180,-270)],w=k.A.svg(f),x=(0,e.Fr)(b,{fill:"none"});"handDrawn"!==b.look&&(x.roughness=0,x.fillStyle="solid");let y=p(t).replace("Z",""),z=w.path(y,x),A=p(u).replace("Z",""),B=w.path(A,x),C=p(v),D=w.path(C,{...x}),E=f.insert("g",":first-child");return E.insert(()=>D,":first-child").attr("stroke-opacity",0),E.insert(()=>z,":first-child"),E.insert(()=>B,":first-child"),E.attr("class","text"),s&&"handDrawn"!==b.look&&E.selectAll("path").attr("style",s),d&&"handDrawn"!==b.look&&E.selectAll("path").attr("style",d),E.attr("transform",`translate(${r-r/4}, 0)`),h.attr("transform",`translate(${-m/2+(b.padding??0)/2-(g.x-(g.left??0))},${-q/2+(b.padding??0)/2-(g.y-(g.top??0))})`),n(b,E),b.intersect=function(a){return J.polygon(b,v,a)},f}async function $(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f=b.padding??0,g="neo"===b.look?16:f,h="neo"===b.look?12:f,{shapeSvg:i,bbox:j}=await l(a,b,o(b)),m=Math.max(20,(j.width+2*g)*1.25,b?.width??0),q=Math.max(5,j.height+2*h,b?.height??0),s=q/2,{cssStyles:t}=b,u=k.A.svg(i),v=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(v.roughness=0,v.fillStyle="solid");let w=m-s,x=q/4,y=[{x:w,y:0},{x:x,y:0},{x:0,y:q/2},{x:x,y:q},{x:w,y:q},...r(-w,-q/2,s,50,270,90)],z=p(y),A=u.path(z,v),B=i.insert(()=>A,":first-child");return B.attr("class","basic label-container outer-path"),t&&"handDrawn"!==b.look&&B.selectChildren("path").attr("style",t),d&&"handDrawn"!==b.look&&B.selectChildren("path").attr("style",d),B.attr("transform",`translate(${-m/2}, ${-q/2})`),n(b,B),b.intersect=function(a){return J.polygon(b,y,a)},i}(0,i.K2)(K,"anchor"),(0,i.K2)(L,"generateArcPoints"),(0,i.K2)(M,"calculateArcSagitta"),(0,i.K2)(N,"bowTieRect"),(0,i.K2)(O,"insertPolygonShape"),(0,i.K2)(P,"card"),(0,i.K2)(Q,"choice"),(0,i.K2)(R,"circle"),(0,i.K2)(S,"createLine"),(0,i.K2)(T,"crossedCircle"),(0,i.K2)(U,"generateCirclePoints"),(0,i.K2)(V,"curlyBraceLeft"),(0,i.K2)(W,"generateCirclePoints"),(0,i.K2)(X,"curlyBraceRight"),(0,i.K2)(Y,"generateCirclePoints"),(0,i.K2)(Z,"curlyBraces"),(0,i.K2)($,"curvedTrapezoid");var _=(0,i.K2)((a,b,c,d,e,f)=>`M${a},${b+f} a${e},${f} 0,0,0 ${c},0 a${e},${f} 0,0,0 ${-c},0 l0,${d} a${e},${f} 0,0,0 ${c},0 l0,${-d}`,"createCylinderPathD"),aa=(0,i.K2)((a,b,c,d,e,f)=>`M${a},${b+f} M${a+c},${b+f} a${e},${f} 0,0,0 ${-c},0 l0,${d} a${e},${f} 0,0,0 ${c},0 l0,${-d}`,"createOuterCylinderPathD"),ab=(0,i.K2)((a,b,c,d,e,f)=>`M${a-c/2},${-d/2} a${e},${f} 0,0,0 ${c},0`,"createInnerCylinderPathD");async function ac(a,b){let c,{labelStyles:d,nodeStyles:f}=(0,e.GX)(b);b.labelStyle=d;let h=b.padding??0,i="neo"===b.look?24:h,j="neo"===b.look?24:h;if(b.width||b.height){let a=b.width??0;b.width=(b.width??0)-j,b.width<8&&(b.width=8),b.height=(b.height??0)-i-a/2/(2.5+a/50)*3,b.height<8&&(b.height=8)}let{shapeSvg:m,bbox:p,label:q}=await l(a,b,o(b)),r=(b.width?b.width:p.width)+j,s=r/2,t=s/(2.5+r/50),u=(b.height?b.height:p.height)+i+t,{cssStyles:v}=b;if("handDrawn"===b.look){let a=k.A.svg(m),d=aa(0,0,r,u,s,t),f=ab(0,t,r,u,s,t),g=(0,e.Fr)(b,{}),h=a.path(d,g),i=a.path(f,(0,e.Fr)(b,{fill:"none"}));c=m.insert(()=>i,":first-child"),(c=m.insert(()=>h,":first-child")).attr("class","basic label-container"),v&&c.attr("style",v)}else{let a=_(0,0,r,u,s,t);c=m.insert("path",":first-child").attr("d",a).attr("class","basic label-container outer-path").attr("style",(0,g.KL)(v)).attr("style",f)}return c.attr("label-offset-y",t),c.attr("transform",`translate(${-r/2}, ${-(u/2+t)})`),n(b,c),q.attr("transform",`translate(${-(p.width/2)-(p.x-(p.left??0))}, ${-(p.height/2)+(b.padding??0)/1.5-(p.y-(p.top??0))})`),b.intersect=function(a){let c=J.rect(b,a),d=c.x-(b.x??0);if(0!=s&&(Math.abs(d)<(b.width??0)/2||Math.abs(d)==(b.width??0)/2&&Math.abs(c.y-(b.y??0))>(b.height??0)/2-t)){let e=t*t*(1-d*d/(s*s));e>0&&(e=Math.sqrt(e)),e=t-e,a.y-(b.y??0)>0&&(e=-e),c.y+=e}return c},m}async function ad(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f="neo"===b.look?16:b.padding??0,g="neo"===b.look?16:b.padding??0,{shapeSvg:h,bbox:i,label:j}=await l(a,b,o(b)),m=i.width+f,p=i.height+g,q=.2*p,r=-m/2,s=-p/2-q/2,{cssStyles:t}=b,u=k.A.svg(h),v=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(v.roughness=0,v.fillStyle="solid");let w=u.polygon([{x:r,y:s+q},{x:-r,y:s+q},{x:-r,y:-s},{x:r,y:-s},{x:r,y:s},{x:-r,y:s},{x:-r,y:s+q}].map(a=>[a.x,a.y]),v),x=h.insert(()=>w,":first-child");return x.attr("class","basic label-container outer-path"),t&&"handDrawn"!==b.look&&x.selectAll("path").attr("style",t),d&&"handDrawn"!==b.look&&x.selectAll("path").attr("style",d),j.attr("transform",`translate(${r+(b.padding??0)/2-(i.x-(i.left??0))}, ${s+q+(b.padding??0)/2-(i.y-(i.top??0))})`),n(b,x),b.intersect=function(a){return J.rect(b,a)},h}async function ae(a,b){let c,{labelStyles:d,nodeStyles:f}=(0,e.GX)(b),h="neo"===b.look?12:5;b.labelStyle=d;let j=b.padding??0,m="neo"===b.look?16:j,{shapeSvg:p,bbox:q}=await l(a,b,o(b)),r=(b?.width?b?.width/2:q.width/2)+(m??0),s=r-h,{cssStyles:t}=b;if("handDrawn"===b.look){let a=k.A.svg(p),d=(0,e.Fr)(b,{roughness:.2,strokeWidth:2.5}),f=(0,e.Fr)(b,{roughness:.2,strokeWidth:1.5}),h=a.circle(0,0,2*r,d),i=a.circle(0,0,2*s,f);(c=p.insert("g",":first-child")).attr("class",(0,g.KL)(b.cssClasses)).attr("style",(0,g.KL)(t)),c.node()?.appendChild(h),c.node()?.appendChild(i)}else{let a=(c=p.insert("g",":first-child")).insert("circle",":first-child"),b=c.insert("circle");c.attr("class","basic label-container").attr("style",f),a.attr("class","outer-circle").attr("style",f).attr("r",r).attr("cx",0).attr("cy",0),b.attr("class","inner-circle").attr("style",f).attr("r",s).attr("cx",0).attr("cy",0)}return n(b,c),b.intersect=function(a){return i.Rm.info("DoubleCircle intersect",b,r,a),J.circle(b,r,a)},p}function af(a,b,{config:{themeVariables:c}}){let{labelStyles:d,nodeStyles:f}=(0,e.GX)(b);b.label="",b.labelStyle=d;let g=a.insert("g").attr("class",o(b)).attr("id",b.domId??b.id),{cssStyles:h}=b,j=k.A.svg(g),{nodeBorder:l}=c,m=(0,e.Fr)(b,{fillStyle:"solid"});"handDrawn"!==b.look&&(m.roughness=0);let p=j.circle(0,0,14,m),q=g.insert(()=>p,":first-child");return q.selectAll("path").attr("style",`fill: ${l} !important;`),h&&h.length>0&&"handDrawn"!==b.look&&q.selectAll("path").attr("style",h),f&&"handDrawn"!==b.look&&q.selectAll("path").attr("style",f),n(b,q),b.intersect=function(a){return i.Rm.info("filledCircle intersect",b,{radius:7,point:a}),J.circle(b,7,a)},g}async function ag(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f=b.padding??0,g="neo"===b.look?2*f:f;(b.width||b.height)&&(b.height=b?.height??0,b.height<10&&(b.height=10),b.width=(b?.width??0)-g-g/2,b.width<10&&(b.width=10));let{shapeSvg:h,bbox:j,label:m}=await l(a,b,o(b)),q=(b?.width?b?.width:j.width)+(g??0),r=b?.height?b?.height:q+j.height,s=[{x:0,y:-r},{x:r,y:-r},{x:r/2,y:0}],{cssStyles:t}=b,u=k.A.svg(h),v=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(v.roughness=0,v.fillStyle="solid");let w=p(s),x=u.path(w,v),y=h.insert(()=>x,":first-child").attr("transform",`translate(${-r/2}, ${r/2})`).attr("class","outer-path");return t&&"handDrawn"!==b.look&&y.selectChildren("path").attr("style",t),d&&"handDrawn"!==b.look&&y.selectChildren("path").attr("style",d),b.width=q,b.height=r,n(b,y),m.attr("transform",`translate(${-j.width/2-(j.x-(j.left??0))}, ${-r/2+(b.padding??0)/2+(j.y-(j.top??0))})`),b.intersect=function(a){return i.Rm.info("Triangle intersect",b,s,a),J.polygon(b,s,a)},h}function ah(a,b,{dir:c,config:{state:d,themeVariables:f}}){let{nodeStyles:g}=(0,e.GX)(b);b.label="";let h=a.insert("g").attr("class",o(b)).attr("id",b.domId??b.id),{cssStyles:i}=b,j=Math.max(70,b?.width??0),l=Math.max(10,b?.height??0);"LR"===c&&(j=Math.max(10,b?.width??0),l=Math.max(70,b?.height??0));let m=-1*j/2,p=-1*l/2,q=k.A.svg(h),r=(0,e.Fr)(b,{stroke:f.lineColor,fill:f.lineColor});"handDrawn"!==b.look&&(r.roughness=0,r.fillStyle="solid");let s=q.rectangle(m,p,j,l,r),t=h.insert(()=>s,":first-child");i&&"handDrawn"!==b.look&&t.selectAll("path").attr("style",i),g&&"handDrawn"!==b.look&&t.selectAll("path").attr("style",g),n(b,t);let u=d?.padding??0;return b.width&&b.height&&(b.width+=u/2||0,b.height+=u/2||0),b.intersect=function(a){return J.rect(b,a)},h}async function ai(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f="neo"===b.look?16:b.padding??0,g="neo"===b.look?12:b.padding??0;(b.width||b.height)&&(b.height=(b?.height??0)-2*g,b.height<10&&(b.height=10),b.width=(b?.width??0)-2*f,b.width<15&&(b.width=15));let{shapeSvg:h,bbox:j}=await l(a,b,o(b)),m=(b?.width?b?.width:Math.max(15,j.width))+2*f,q=(b?.height?b?.height:Math.max(10,j.height))+2*g,s=q/2,{cssStyles:t}=b,u=k.A.svg(h),v=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(v.roughness=0,v.fillStyle="solid");let w=[{x:-m/2,y:-q/2},{x:m/2-s,y:-q/2},...r(-m/2+s,0,s,50,90,270),{x:m/2-s,y:q/2},{x:-m/2,y:q/2}],x=p(w),y=u.path(x,v),z=h.insert(()=>y,":first-child");return z.attr("class","basic label-container outer-path"),t&&"handDrawn"!==b.look&&z.selectChildren("path").attr("style",t),d&&"handDrawn"!==b.look&&z.selectChildren("path").attr("style",d),n(b,z),b.intersect=function(a){return i.Rm.info("Pill intersect",b,{radius:s,point:a}),J.polygon(b,w,a)},h}(0,i.K2)(ac,"cylinder"),(0,i.K2)(ad,"dividedRectangle"),(0,i.K2)(ae,"doublecircle"),(0,i.K2)(af,"filledCircle"),(0,i.K2)(ag,"flippedTriangle"),(0,i.K2)(ah,"forkJoin"),(0,i.K2)(ai,"halfRoundedRectangle");var aj=(0,i.K2)((a,b,c,d,e)=>`M${a+e},${b} L${a+c-e},${b} L${a+c},${b-d/2} L${a+c-e},${b-d} L${a+e},${b-d} L${a},${b-d/2} Z`,"createHexagonPathD");async function ak(a,b){let c,{labelStyles:d,nodeStyles:f}=(0,e.GX)(b),g="neo"===b.look?3.5:4;b.labelStyle=d;let h=b.padding??0,i="neo"===b.look?70:h,j="neo"===b.look?32:h;if(b.width||b.height){let a=b.height??0;b.width=(b?.width??0)-a/g*2-j,b.height=(b.height??0)-i}let{shapeSvg:m,bbox:p}=await l(a,b,o(b)),q=(b?.height?b?.height:p.height)+i,r=q/g,s=(b?.width?b?.width:p.width)+2*r+j,t=[{x:r,y:0},{x:s-r,y:0},{x:s,y:-q/2},{x:s-r,y:-q},{x:r,y:-q},{x:0,y:-q/2}],{cssStyles:u}=b;if("handDrawn"===b.look){let a=k.A.svg(m),d=(0,e.Fr)(b,{}),f=aj(0,0,s,q,r),g=a.path(f,d);c=m.insert(()=>g,":first-child").attr("transform",`translate(${-s/2}, ${q/2})`),u&&c.attr("style",u)}else c=O(m,s,q,t);return f&&c.attr("style",f),b.width=s,b.height=q,n(b,c),b.intersect=function(a){return J.polygon(b,t,a)},m}async function al(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.label="",b.labelStyle=c;let{shapeSvg:f}=await l(a,b,o(b)),g=Math.max(30,b?.width??0),h=Math.max(30,b?.height??0),{cssStyles:j}=b,m=k.A.svg(f),q=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(q.roughness=0,q.fillStyle="solid");let r=[{x:0,y:0},{x:g,y:0},{x:0,y:h},{x:g,y:h}],s=p(r),t=m.path(s,q),u=f.insert(()=>t,":first-child");return u.attr("class","basic label-container outer-path"),j&&"handDrawn"!==b.look&&u.selectChildren("path").attr("style",j),d&&"handDrawn"!==b.look&&u.selectChildren("path").attr("style",d),u.attr("transform",`translate(${-g/2}, ${-h/2})`),n(b,u),b.intersect=function(a){return i.Rm.info("Pill intersect",b,{points:r}),J.polygon(b,r,a)},f}async function am(a,b,{config:{themeVariables:c,flowchart:d}}){let{labelStyles:g}=(0,e.GX)(b);b.labelStyle=g;let h=Math.max(b.assetHeight??48,b.assetWidth??48);b.width=Math.max(h,d?.wrappingWidth??0);let{shapeSvg:j,bbox:m,label:o}=await l(a,b,"icon-shape default"),p="t"===b.pos,{nodeBorder:q}=c,{stylesMap:r}=(0,e.WW)(b),s=-h/2,t=-h/2,u=8*!!b.label,v=k.A.svg(j),w=(0,e.Fr)(b,{stroke:"none",fill:"none"});"handDrawn"!==b.look&&(w.roughness=0,w.fillStyle="solid");let x=v.rectangle(s,t,h,h,w),y=Math.max(h,m.width),z=h+m.height+u,A=v.rectangle(-y/2,-z/2,y,z,{...w,fill:"transparent",stroke:"none"}),B=j.insert(()=>x,":first-child"),C=j.insert(()=>A);if(b.icon){let a=j.append("g");a.html(`<g>${await (0,f.WY)(b.icon,{height:h,width:h,fallbackPrefix:""})}</g>`);let c=a.node().getBBox(),d=c.width,e=c.height,g=c.x,i=c.y;a.attr("transform",`translate(${-d/2-g},${p?m.height/2+u/2-e/2-i:-m.height/2-u/2-e/2-i})`),a.attr("style",`color: ${r.get("stroke")??q};`)}return o.attr("transform",`translate(${-m.width/2-(m.x-(m.left??0))},${p?-z/2:z/2-m.height})`),B.attr("transform",`translate(0,${p?m.height/2+u/2:-m.height/2-u/2})`),n(b,C),b.intersect=function(a){if(i.Rm.info("iconSquare intersect",b,a),!b.label)return J.rect(b,a);let c=b.x??0,d=b.y??0,e=b.height??0,f=[];return f=p?[{x:c-m.width/2,y:d-e/2},{x:c+m.width/2,y:d-e/2},{x:c+m.width/2,y:d-e/2+m.height+u},{x:c+h/2,y:d-e/2+m.height+u},{x:c+h/2,y:d+e/2},{x:c-h/2,y:d+e/2},{x:c-h/2,y:d-e/2+m.height+u},{x:c-m.width/2,y:d-e/2+m.height+u}]:[{x:c-h/2,y:d-e/2},{x:c+h/2,y:d-e/2},{x:c+h/2,y:d-e/2+h},{x:c+m.width/2,y:d-e/2+h},{x:c+m.width/2/2,y:d+e/2},{x:c-m.width/2,y:d+e/2},{x:c-m.width/2,y:d-e/2+h},{x:c-h/2,y:d-e/2+h}],J.polygon(b,f,a)},j}async function an(a,b,{config:{themeVariables:c,flowchart:d}}){let{labelStyles:g}=(0,e.GX)(b);b.labelStyle=g;let h=Math.max(b.assetHeight??48,b.assetWidth??48);b.width=Math.max(h,d?.wrappingWidth??0);let{shapeSvg:j,bbox:m,label:o}=await l(a,b,"icon-shape default"),p=8*!!b.label,q="t"===b.pos,{nodeBorder:r,mainBkg:s}=c,{stylesMap:t}=(0,e.WW)(b),u=k.A.svg(j),v=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(v.roughness=0,v.fillStyle="solid"),v.stroke=t.get("fill")??s;let w=j.append("g");b.icon&&w.html(`<g>${await (0,f.WY)(b.icon,{height:h,width:h,fallbackPrefix:""})}</g>`);let x=w.node().getBBox(),y=x.width,z=x.height,A=x.x,B=x.y,C=Math.max(y,z)*Math.SQRT2+40,D=u.circle(0,0,C,v),E=Math.max(C,m.width),F=C+m.height+p,G=u.rectangle(-E/2,-F/2,E,F,{...v,fill:"transparent",stroke:"none"}),H=j.insert(()=>D,":first-child"),I=j.insert(()=>G);return w.attr("transform",`translate(${-y/2-A},${q?m.height/2+p/2-z/2-B:-m.height/2-p/2-z/2-B})`),w.attr("style",`color: ${t.get("stroke")??r};`),o.attr("transform",`translate(${-m.width/2-(m.x-(m.left??0))},${q?-F/2:F/2-m.height})`),H.attr("transform",`translate(0,${q?m.height/2+p/2:-m.height/2-p/2})`),n(b,I),b.intersect=function(a){return i.Rm.info("iconSquare intersect",b,a),J.rect(b,a)},j}async function ao(a,b,{config:{themeVariables:c,flowchart:d}}){let{labelStyles:g}=(0,e.GX)(b);b.labelStyle=g;let h=Math.max(b.assetHeight??48,b.assetWidth??48);b.width=Math.max(h,d?.wrappingWidth??0);let{shapeSvg:j,bbox:m,halfPadding:o,label:p}=await l(a,b,"icon-shape default"),q="t"===b.pos,r=h+2*o,s=h+2*o,{nodeBorder:t,mainBkg:u}=c,{stylesMap:w}=(0,e.WW)(b),x=8*!!b.label,y=k.A.svg(j),z=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(z.roughness=0,z.fillStyle="solid"),z.stroke=w.get("fill")??u;let A=y.path(v(-s/2,-r/2,s,r,5),z),B=Math.max(s,m.width),C=r+m.height+x,D=y.rectangle(-B/2,-C/2,B,C,{...z,fill:"transparent",stroke:"none"}),E=j.insert(()=>A,":first-child").attr("class","icon-shape2"),F=j.insert(()=>D);if(b.icon){let a=j.append("g");a.html(`<g>${await (0,f.WY)(b.icon,{height:h,width:h,fallbackPrefix:""})}</g>`);let c=a.node().getBBox(),d=c.width,e=c.height,g=c.x,i=c.y;a.attr("transform",`translate(${-d/2-g},${q?m.height/2+x/2-e/2-i:-m.height/2-x/2-e/2-i})`),a.attr("style",`color: ${w.get("stroke")??t};`)}return p.attr("transform",`translate(${-m.width/2-(m.x-(m.left??0))},${q?-C/2:C/2-m.height})`),E.attr("transform",`translate(0,${q?m.height/2+x/2:-m.height/2-x/2})`),n(b,F),b.intersect=function(a){if(i.Rm.info("iconSquare intersect",b,a),!b.label)return J.rect(b,a);let c=b.x??0,d=b.y??0,e=b.height??0,f=[];return f=q?[{x:c-m.width/2,y:d-e/2},{x:c+m.width/2,y:d-e/2},{x:c+m.width/2,y:d-e/2+m.height+x},{x:c+s/2,y:d-e/2+m.height+x},{x:c+s/2,y:d+e/2},{x:c-s/2,y:d+e/2},{x:c-s/2,y:d-e/2+m.height+x},{x:c-m.width/2,y:d-e/2+m.height+x}]:[{x:c-s/2,y:d-e/2},{x:c+s/2,y:d-e/2},{x:c+s/2,y:d-e/2+r},{x:c+m.width/2,y:d-e/2+r},{x:c+m.width/2/2,y:d+e/2},{x:c-m.width/2,y:d+e/2},{x:c-m.width/2,y:d-e/2+r},{x:c-s/2,y:d-e/2+r}],J.polygon(b,f,a)},j}async function ap(a,b,{config:{themeVariables:c,flowchart:d}}){let{labelStyles:g}=(0,e.GX)(b);b.labelStyle=g;let h=Math.max(b.assetHeight??48,b.assetWidth??48);b.width=Math.max(h,d?.wrappingWidth??0);let{shapeSvg:j,bbox:m,halfPadding:o,label:p}=await l(a,b,"icon-shape default"),q="t"===b.pos,r=h+2*o,s=h+2*o,{nodeBorder:t,mainBkg:u}=c,{stylesMap:w}=(0,e.WW)(b),x=8*!!b.label,y=k.A.svg(j),z=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(z.roughness=0,z.fillStyle="solid"),z.stroke=w.get("fill")??u;let A=y.path(v(-s/2,-r/2,s,r,.1),z),B=Math.max(s,m.width),C=r+m.height+x,D=y.rectangle(-B/2,-C/2,B,C,{...z,fill:"transparent",stroke:"none"}),E=j.insert(()=>A,":first-child"),F=j.insert(()=>D);if(b.icon){let a=j.append("g");a.html(`<g>${await (0,f.WY)(b.icon,{height:h,width:h,fallbackPrefix:""})}</g>`);let c=a.node().getBBox(),d=c.width,e=c.height,g=c.x,i=c.y;a.attr("transform",`translate(${-d/2-g},${q?m.height/2+x/2-e/2-i:-m.height/2-x/2-e/2-i})`),a.attr("style",`color: ${w.get("stroke")??t};`)}return p.attr("transform",`translate(${-m.width/2-(m.x-(m.left??0))},${q?-C/2:C/2-m.height})`),E.attr("transform",`translate(0,${q?m.height/2+x/2:-m.height/2-x/2})`),n(b,F),b.intersect=function(a){if(i.Rm.info("iconSquare intersect",b,a),!b.label)return J.rect(b,a);let c=b.x??0,d=b.y??0,e=b.height??0,f=[];return f=q?[{x:c-m.width/2,y:d-e/2},{x:c+m.width/2,y:d-e/2},{x:c+m.width/2,y:d-e/2+m.height+x},{x:c+s/2,y:d-e/2+m.height+x},{x:c+s/2,y:d+e/2},{x:c-s/2,y:d+e/2},{x:c-s/2,y:d-e/2+m.height+x},{x:c-m.width/2,y:d-e/2+m.height+x}]:[{x:c-s/2,y:d-e/2},{x:c+s/2,y:d-e/2},{x:c+s/2,y:d-e/2+r},{x:c+m.width/2,y:d-e/2+r},{x:c+m.width/2/2,y:d+e/2},{x:c-m.width/2,y:d+e/2},{x:c-m.width/2,y:d-e/2+r},{x:c-s/2,y:d-e/2+r}],J.polygon(b,f,a)},j}async function aq(a,b,{config:{flowchart:c}}){let d=new Image;d.src=b?.img??"",await d.decode();let f=Number(d.naturalWidth.toString().replace("px","")),g=Number(d.naturalHeight.toString().replace("px",""));b.imageAspectRatio=f/g;let{labelStyles:h}=(0,e.GX)(b);b.labelStyle=h;let j=c?.wrappingWidth;b.defaultWidth=c?.wrappingWidth;let m=Math.max(b.label?j??0:0,b?.assetWidth??f),o="on"===b.constraint&&b?.assetHeight?b.assetHeight*b.imageAspectRatio:m,p="on"===b.constraint?o/b.imageAspectRatio:b?.assetHeight??g;b.width=Math.max(o,j??0);let{shapeSvg:q,bbox:r,label:s}=await l(a,b,"image-shape default"),t="t"===b.pos,u=-o/2,v=8*!!b.label,w=k.A.svg(q),x=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(x.roughness=0,x.fillStyle="solid");let y=w.rectangle(u,-p/2,o,p,x),z=Math.max(o,r.width),A=p+r.height+v,B=w.rectangle(-z/2,-A/2,z,A,{...x,fill:"none",stroke:"none"}),C=q.insert(()=>y,":first-child"),D=q.insert(()=>B);if(b.img){let a=q.append("image");a.attr("href",b.img),a.attr("width",o),a.attr("height",p),a.attr("preserveAspectRatio","none"),a.attr("transform",`translate(${-o/2},${t?A/2-p:-A/2})`)}return s.attr("transform",`translate(${-r.width/2-(r.x-(r.left??0))},${t?-p/2-r.height/2-v/2:p/2-r.height/2+v/2})`),C.attr("transform",`translate(0,${t?r.height/2+v/2:-r.height/2-v/2})`),n(b,D),b.intersect=function(a){if(i.Rm.info("iconSquare intersect",b,a),!b.label)return J.rect(b,a);let c=b.x??0,d=b.y??0,e=b.height??0,f=[];return f=t?[{x:c-r.width/2,y:d-e/2},{x:c+r.width/2,y:d-e/2},{x:c+r.width/2,y:d-e/2+r.height+v},{x:c+o/2,y:d-e/2+r.height+v},{x:c+o/2,y:d+e/2},{x:c-o/2,y:d+e/2},{x:c-o/2,y:d-e/2+r.height+v},{x:c-r.width/2,y:d-e/2+r.height+v}]:[{x:c-o/2,y:d-e/2},{x:c+o/2,y:d-e/2},{x:c+o/2,y:d-e/2+p},{x:c+r.width/2,y:d-e/2+p},{x:c+r.width/2/2,y:d+e/2},{x:c-r.width/2,y:d+e/2},{x:c-r.width/2,y:d-e/2+p},{x:c-o/2,y:d-e/2+p}],J.polygon(b,f,a)},q}async function ar(a,b){let c,{labelStyles:d,nodeStyles:f}=(0,e.GX)(b);b.labelStyle=d;let g=b.padding??0,h="neo"===b.look?2*g:g,{shapeSvg:i,bbox:j}=await l(a,b,o(b)),m=Math.max(j.width+(h??0)*2,b?.width??0),q=Math.max(j.height+(g??0)*2,b?.height??0),r=[{x:0,y:0},{x:m,y:0},{x:m+3*q/6,y:-q},{x:-3*q/6,y:-q}],{cssStyles:s}=b;if("handDrawn"===b.look){let a=k.A.svg(i),d=(0,e.Fr)(b,{}),f=p(r),g=a.path(f,d);c=i.insert(()=>g,":first-child").attr("transform",`translate(${-m/2}, ${q/2})`),s&&c.attr("style",s)}else c=O(i,m,q,r);return f&&c.attr("style",f),b.width=m,b.height=q,n(b,c),b.intersect=function(a){return J.polygon(b,r,a)},i}async function as(a,b,c){let d,{labelStyles:f,nodeStyles:h}=(0,e.GX)(b);b.labelStyle=f;let{shapeSvg:i,bbox:j}=await l(a,b,o(b)),m=Math.max(j.width+2*c.labelPaddingX,b?.width||0),p=Math.max(j.height+2*c.labelPaddingY,b?.height||0),q=-m/2,r=-p/2,{rx:s,ry:t}=b,{cssStyles:u}=b;if(c?.rx&&c.ry&&(s=c.rx,t=c.ry),"handDrawn"===b.look){let a=k.A.svg(i),c=(0,e.Fr)(b,{}),f=s||t?a.path(v(q,r,m,p,s||0),c):a.rectangle(q,r,m,p,c);(d=i.insert(()=>f,":first-child")).attr("class","basic label-container").attr("style",(0,g.KL)(u))}else(d=i.insert("rect",":first-child")).attr("class","basic label-container").attr("style",h).attr("rx",(0,g.KL)(s)).attr("ry",(0,g.KL)(t)).attr("x",q).attr("y",r).attr("width",m).attr("height",p);return n(b,d),b.calcIntersect=function(a,b){return J.rect(a,b)},b.intersect=function(a){return J.rect(b,a)},i}async function at(a,b){let{shapeSvg:c,bbox:d,label:e}=await l(a,b,"label"),f=c.insert("rect",":first-child");return f.attr("width",.1).attr("height",.1),c.attr("class","label edgeLabel"),e.attr("transform",`translate(${-(d.width/2)-(d.x-(d.left??0))}, ${-(d.height/2)-(d.y-(d.top??0))})`),n(b,f),b.intersect=function(a){return J.rect(b,a)},c}async function au(a,b){let c,{labelStyles:d,nodeStyles:f}=(0,e.GX)(b);b.labelStyle=d;let g=b.padding??0,h="neo"===b.look?2*g:g,{shapeSvg:i,bbox:j}=await l(a,b,o(b)),m=(b?.height??j.height)+g,q=(b?.width??j.width)+h,r=[{x:0,y:0},{x:q+3*m/6,y:0},{x:q,y:-m},{x:-(3*m)/6,y:-m}],{cssStyles:s}=b;if("handDrawn"===b.look){let a=k.A.svg(i),d=(0,e.Fr)(b,{}),f=p(r),g=a.path(f,d);c=i.insert(()=>g,":first-child").attr("transform",`translate(${-q/2}, ${m/2})`),s&&c.attr("style",s)}else c=O(i,q,m,r);return f&&c.attr("style",f),b.width=q,b.height=m,n(b,c),b.intersect=function(a){return J.polygon(b,r,a)},i}async function av(a,b){let c,{labelStyles:d,nodeStyles:f}=(0,e.GX)(b);b.labelStyle=d;let g=b.padding??0,h="neo"===b.look?2*g:g,{shapeSvg:i,bbox:j}=await l(a,b,o(b)),m=(b?.height??j.height)+g,q=(b?.width??j.width)+h,r=[{x:-3*m/6,y:0},{x:q,y:0},{x:q+3*m/6,y:-m},{x:0,y:-m}],{cssStyles:s}=b;if("handDrawn"===b.look){let a=k.A.svg(i),d=(0,e.Fr)(b,{}),f=p(r),g=a.path(f,d);c=i.insert(()=>g,":first-child").attr("transform",`translate(${-q/2}, ${m/2})`),s&&c.attr("style",s)}else c=O(i,q,m,r);return f&&c.attr("style",f),b.width=q,b.height=m,n(b,c),b.intersect=function(a){return J.polygon(b,r,a)},i}function aw(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.label="",b.labelStyle=c;let f=a.insert("g").attr("class",o(b)).attr("id",b.domId??b.id),{cssStyles:g}=b,h=Math.max(35,b?.width??0),j=Math.max(35,b?.height??0),l=[{x:h,y:0},{x:0,y:j+3.5},{x:h-14,y:j+3.5},{x:0,y:2*j},{x:h,y:j-3.5},{x:14,y:j-3.5}],m=k.A.svg(f),q=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(q.roughness=0,q.fillStyle="solid");let r=p(l),s=m.path(r,q),t=f.insert(()=>s,":first-child");return t.attr("class","outer-path"),g&&"handDrawn"!==b.look&&t.selectAll("path").attr("style",g),d&&"handDrawn"!==b.look&&t.selectAll("path").attr("style",d),t.attr("transform",`translate(-${h/2},${-j})`),n(b,t),b.intersect=function(a){return i.Rm.info("lightningBolt intersect",b,a),J.polygon(b,l,a)},f}(0,i.K2)(ak,"hexagon"),(0,i.K2)(al,"hourglass"),(0,i.K2)(am,"icon"),(0,i.K2)(an,"iconCircle"),(0,i.K2)(ao,"iconRounded"),(0,i.K2)(ap,"iconSquare"),(0,i.K2)(aq,"imageSquare"),(0,i.K2)(ar,"inv_trapezoid"),(0,i.K2)(as,"drawRect"),(0,i.K2)(at,"labelRect"),(0,i.K2)(au,"lean_left"),(0,i.K2)(av,"lean_right"),(0,i.K2)(aw,"lightningBolt");var ax=(0,i.K2)((a,b,c,d,e,f,g)=>`M${a},${b+f} a${e},${f} 0,0,0 ${c},0 a${e},${f} 0,0,0 ${-c},0 l0,${d} a${e},${f} 0,0,0 ${c},0 l0,${-d} M${a},${b+f+g} a${e},${f} 0,0,0 ${c},0`,"createCylinderPathD"),ay=(0,i.K2)((a,b,c,d,e,f,g)=>`M${a},${b+f} M${a+c},${b+f} a${e},${f} 0,0,0 ${-c},0 l0,${d} a${e},${f} 0,0,0 ${c},0 l0,${-d} M${a},${b+f+g} a${e},${f} 0,0,0 ${c},0`,"createOuterCylinderPathD"),az=(0,i.K2)((a,b,c,d,e,f)=>`M${a-c/2},${-d/2} a${e},${f} 0,0,0 ${c},0`,"createInnerCylinderPathD");async function aA(a,b){let c,{labelStyles:d,nodeStyles:f}=(0,e.GX)(b);b.labelStyle=d;let h=b.padding??0,i="neo"===b.look?16:h,j="neo"===b.look?24:h;if(b.width||b.height){let a=b.width??0;b.width=(b.width??0)-i,b.width<10&&(b.width=10),b.height=(b.height??0)-j-a/2/(2.5+a/50)*3,b.height<10&&(b.height=10)}let{shapeSvg:m,bbox:p,label:q}=await l(a,b,o(b)),r=(b?.width?b?.width:p.width)+2*i,s=r/2,t=s/(2.5+r/50),u=(b?.height?b?.height:p.height)+t+2*j,v=.1*u,{cssStyles:w}=b;if("handDrawn"===b.look){let a=k.A.svg(m),d=ay(0,0,r,u,s,t,v),f=az(0,t,r,u,s,t),g=(0,e.Fr)(b,{}),h=a.path(d,g),i=a.path(f,g);m.insert(()=>i,":first-child").attr("class","line"),(c=m.insert(()=>h,":first-child")).attr("class","basic label-container"),w&&c.attr("style",w)}else{let a=ax(0,0,r,u,s,t,v);c=m.insert("path",":first-child").attr("d",a).attr("class","basic label-container outer-path").attr("style",(0,g.KL)(w)).attr("style",f)}return c.attr("label-offset-y",t),c.attr("transform",`translate(${-r/2}, ${-(u/2+t)})`),n(b,c),q.attr("transform",`translate(${-(p.width/2)-(p.x-(p.left??0))}, ${-(p.height/2)+t-(p.y-(p.top??0))})`),b.intersect=function(a){let c=J.rect(b,a),d=c.x-(b.x??0);if(0!=s&&(Math.abs(d)<(b.width??0)/2||Math.abs(d)==(b.width??0)/2&&Math.abs(c.y-(b.y??0))>(b.height??0)/2-t)){let e=t*t*(1-d*d/(s*s));e>0&&(e=Math.sqrt(e)),e=t-e,a.y-(b.y??0)>0&&(e=-e),c.y+=e}return c},m}async function aB(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f=b.padding??0,g="neo"===b.look?16:f,h="neo"===b.look?12:f;if(b.width||b.height){let a=b.width;b.width=(a??0)*10/11-2*g,b.width<10&&(b.width=10),b.height=(b?.height??0)-2*h,b.height<10&&(b.height=10)}let{shapeSvg:i,bbox:j,label:m}=await l(a,b,o(b)),p=(b?.width?b?.width:j.width)+(g??0)*2,r=(b?.height?b?.height:j.height)+(h??0)*2,s="neo"===b.look?r/4:r/8,t=r+s,{cssStyles:u}=b,v=k.A.svg(i),w=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(w.roughness=0,w.fillStyle="solid");let x=[{x:-p/2-p/2*.1,y:-t/2},{x:-p/2-p/2*.1,y:t/2},...q(-p/2-p/2*.1,t/2,p/2+p/2*.1,t/2,s,.8),{x:p/2+p/2*.1,y:-t/2},{x:-p/2-p/2*.1,y:-t/2},{x:-p/2,y:-t/2},{x:-p/2,y:t/2*1.1},{x:-p/2,y:-t/2}],y=v.polygon(x.map(a=>[a.x,a.y]),w),z=i.insert(()=>y,":first-child");return z.attr("class","basic label-container outer-path"),u&&"handDrawn"!==b.look&&z.selectAll("path").attr("style",u),d&&"handDrawn"!==b.look&&z.selectAll("path").attr("style",d),z.attr("transform",`translate(0,${-s/2})`),m.attr("transform",`translate(${-p/2+(b.padding??0)+p/2*.1/2-(j.x-(j.left??0))},${-r/2+(b.padding??0)-s/2-(j.y-(j.top??0))})`),n(b,z),b.intersect=function(a){return J.polygon(b,x,a)},i}async function aC(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f=b.padding??0,g="neo"===b.look?16:f,h="neo"===b.look?12:f,i="neo"===b.look?10:5;(b.width||b.height)&&(b.width=Math.max((b?.width??0)-2*g-2*i,10),b.height=Math.max((b?.height??0)-2*h-2*i,10));let{shapeSvg:j,bbox:m,label:q}=await l(a,b,o(b)),r=(b?.width?b?.width:m.width)+2*g+2*i,t=(b?.height?b?.height:m.height)+2*h+2*i,u=r-2*i,v=t-2*i,w=-u/2,x=-v/2,{cssStyles:y}=b,z=k.A.svg(j),A=(0,e.Fr)(b,{}),B=[{x:w-i,y:x+i},{x:w-i,y:x+v+i},{x:w+u-i,y:x+v+i},{x:w+u-i,y:x+v},{x:w+u,y:x+v},{x:w+u,y:x+v-i},{x:w+u+i,y:x+v-i},{x:w+u+i,y:x-i},{x:w+i,y:x-i},{x:w+i,y:x},{x:w,y:x},{x:w,y:x+i}];"handDrawn"!==b.look&&(A.roughness=0,A.fillStyle="solid");let C=p(B),D=z.path(C,A),E=p([{x:w,y:x+i},{x:w+u-i,y:x+i},{x:w+u-i,y:x+v},{x:w+u,y:x+v},{x:w+u,y:x},{x:w,y:x}]),F=z.path(E,A);"handDrawn"!==b.look&&(D=s(D),F=s(F));let G=j.insert("g",":first-child");return G.insert(()=>D),G.insert(()=>F),G.attr("class","basic label-container outer-path"),y&&"handDrawn"!==b.look&&G.selectAll("path").attr("style",y),d&&"handDrawn"!==b.look&&G.selectAll("path").attr("style",d),q.attr("transform",`translate(${-(m.width/2)-i-(m.x-(m.left??0))}, ${-(m.height/2)+i-(m.y-(m.top??0))})`),n(b,G),b.intersect=function(a){return J.polygon(b,B,a)},j}async function aD(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let{shapeSvg:f,bbox:g,label:h}=await l(a,b,o(b)),i=b.padding??0,j="neo"===b.look?16:i,m="neo"===b.look?12:i,r=!0;(b.width||b.height)&&(r=!1,b.width=(b?.width??0)-2*j,b.height=(b?.height??0)-3*m);let s=Math.max(g.width,b?.width??0)+2*j,t=Math.max(g.height,b?.height??0)+3*m,u="neo"===b.look?t/4:t/8,v=t+(r?u/2:-u/2),w=-s/2,x=-v/2,{cssStyles:y}=b,z=q(w-10,x+v+10,w+s-10,x+v+10,u,.8),A=z?.[z.length-1],B=[{x:w-10,y:x+10},{x:w-10,y:x+v+10},...z,{x:w+s-10,y:A.y-10},{x:w+s,y:A.y-10},{x:w+s,y:A.y-20},{x:w+s+10,y:A.y-20},{x:w+s+10,y:x-10},{x:w+10,y:x-10},{x:w+10,y:x},{x:w,y:x},{x:w,y:x+10}],C=[{x:w,y:x+10},{x:w+s-10,y:x+10},{x:w+s-10,y:A.y-10},{x:w+s,y:A.y-10},{x:w+s,y:x},{x:w,y:x}],D=k.A.svg(f),E=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(E.roughness=0,E.fillStyle="solid");let F=p(B),G=D.path(F,E),H=p(C),I=D.path(H,E),K=f.insert(()=>G,":first-child");return K.insert(()=>I),K.attr("class","basic label-container outer-path"),y&&"handDrawn"!==b.look&&K.selectAll("path").attr("style",y),d&&"handDrawn"!==b.look&&K.selectAll("path").attr("style",d),K.attr("transform",`translate(0,${-u/2})`),h.attr("transform",`translate(${-(g.width/2)-10-(g.x-(g.left??0))}, ${-(g.height/2)+10-u/2-(g.y-(g.top??0))})`),n(b,K),b.intersect=function(a){return J.polygon(b,B,a)},f}async function aE(a,b,{config:{themeVariables:c}}){let{labelStyles:d,nodeStyles:f}=(0,e.GX)(b);b.labelStyle=d,b.useHtmlLabels||(0,h.E)((0,h.zj)())||(b.centerLabel=!0);let{shapeSvg:g,bbox:i,label:j}=await l(a,b,o(b)),m=Math.max(i.width+(b.padding??0)*2,b?.width??0),p=Math.max(i.height+(b.padding??0)*2,b?.height??0),{cssStyles:q}=b,r=k.A.svg(g),s=(0,e.Fr)(b,{fill:c.noteBkgColor,stroke:c.noteBorderColor});"handDrawn"!==b.look&&(s.roughness=0,s.fillStyle="solid");let t=r.rectangle(-m/2,-p/2,m,p,s),u=g.insert(()=>t,":first-child");return u.attr("class","basic label-container outer-path"),j.attr("class","label noteLabel"),q&&"handDrawn"!==b.look&&u.selectAll("path").attr("style",q),f&&"handDrawn"!==b.look&&u.selectAll("path").attr("style",f),j.attr("transform",`translate(${-i.width/2-(i.x-(i.left??0))}, ${-(i.height/2)-(i.y-(i.top??0))})`),n(b,u),b.intersect=function(a){return J.rect(b,a)},g}(0,i.K2)(aA,"linedCylinder"),(0,i.K2)(aB,"linedWaveEdgedRect"),(0,i.K2)(aC,"multiRect"),(0,i.K2)(aD,"multiWaveEdgedRectangle"),(0,i.K2)(aE,"note");var aF=(0,i.K2)((a,b,c)=>`M${a+c/2},${b} L${a+c},${b-c/2} L${a+c/2},${b-c} L${a},${b-c/2} Z`,"createDecisionBoxPathD");async function aG(a,b){let c,{labelStyles:d,nodeStyles:f}=(0,e.GX)(b);b.labelStyle=d;let{shapeSvg:g,bbox:h}=await l(a,b,o(b)),i=h.width+(b.padding??0)+(h.height+(b.padding??0)),j=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}],{cssStyles:m}=b;if("handDrawn"===b.look){let a=k.A.svg(g),d=(0,e.Fr)(b,{}),f=aF(0,0,i),h=a.path(f,d);c=g.insert(()=>h,":first-child").attr("transform",`translate(${-i/2+.5}, ${i/2})`),m&&c.attr("style",m)}else(c=O(g,i,i,j)).attr("transform",`translate(${-i/2+.5}, ${i/2})`);return f&&c.attr("style",f),n(b,c),b.calcIntersect=function(a,b){let c=a.width,d=J.polygon(a,[{x:c/2,y:0},{x:c,y:-c/2},{x:c/2,y:-c},{x:0,y:-c/2}],b);return{x:d.x-.5,y:d.y-.5}},b.intersect=function(a){return this.calcIntersect(b,a)},g}async function aH(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f=b.padding??0,g="neo"===b.look?21:f??0,h="neo"===b.look?12:f??0,{shapeSvg:i,bbox:j,label:m}=await l(a,b,o(b)),q=(b?.width??j.width)+("neo"===b.look?2*g:g),r=(b?.height??j.height)+("neo"===b.look?2*h:h),s=-q/2,t=-r/2,u=t/2,v=[{x:s+u,y:t},{x:s,y:0},{x:s+u,y:-t},{x:-s,y:-t},{x:-s,y:t}],{cssStyles:w}=b,x=k.A.svg(i),y=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(y.roughness=0,y.fillStyle="solid");let z=p(v),A=x.path(z,y),B=i.insert(()=>A,":first-child");return B.attr("class","basic label-container outer-path"),w&&"handDrawn"!==b.look&&B.selectAll("path").attr("style",w),d&&"handDrawn"!==b.look&&B.selectAll("path").attr("style",d),B.attr("transform",`translate(${-u/2},0)`),m.attr("transform",`translate(${-u/2-j.width/2-(j.x-(j.left??0))}, ${-(j.height/2)-(j.y-(j.top??0))})`),n(b,B),b.intersect=function(a){return J.polygon(b,v,a)},i}async function aI(a,b){let c,d,f,{labelStyles:g,nodeStyles:l}=(0,e.GX)(b);b.labelStyle=g,c=b.cssClasses?"node "+b.cssClasses:"node default";let m=a.insert("g").attr("class",c).attr("id",b.domId||b.id),o=m.insert("g"),p=m.insert("g").attr("class","label").attr("style",l),q=b.description,r=b.label,s=await u(p,r,b.labelStyle,!0,!0),t={width:0,height:0};if((0,h.E)((0,h.D7)())){let a=s.children[0],b=(0,j.Ltv)(s);t=a.getBoundingClientRect(),b.attr("width",t.width),b.attr("height",t.height)}i.Rm.info("Text 2",q);let w=q||[],x=s.getBBox(),y=await u(p,Array.isArray(w)?w.join("<br/>"):w,b.labelStyle,!0,!0),z=y.children[0],A=(0,j.Ltv)(y);t=z.getBoundingClientRect(),A.attr("width",t.width),A.attr("height",t.height);let B=(b.padding||0)/2;(0,j.Ltv)(y).attr("transform","translate( "+(t.width>x.width?0:(x.width-t.width)/2)+", "+(x.height+B+5)+")"),(0,j.Ltv)(s).attr("transform","translate( "+(t.width<x.width?0:-(x.width-t.width)/2)+", 0)"),t=p.node().getBBox(),p.attr("transform","translate("+-t.width/2+", "+(-t.height/2-B+3)+")");let C=t.width+(b.padding||0),D=t.height+(b.padding||0),E=-t.width/2-B,F=-t.height/2-B;if("handDrawn"===b.look){let a=k.A.svg(m),c=(0,e.Fr)(b,{}),g=a.path(v(E,F,C,D,b.rx||0),c),h=a.line(-t.width/2-B,-t.height/2-B+x.height+B,t.width/2+B,-t.height/2-B+x.height+B,c);f=m.insert(()=>(i.Rm.debug("Rough node insert CXC",g),h),":first-child"),d=m.insert(()=>(i.Rm.debug("Rough node insert CXC",g),g),":first-child")}else d=o.insert("rect",":first-child"),f=o.insert("line"),d.attr("class","outer title-state").attr("style",l).attr("x",-t.width/2-B).attr("y",-t.height/2-B).attr("width",t.width+(b.padding||0)).attr("height",t.height+(b.padding||0)),f.attr("class","divider").attr("x1",-t.width/2-B).attr("x2",t.width/2+B).attr("y1",-t.height/2-B+x.height+B).attr("y2",-t.height/2-B+x.height+B);return n(b,d),b.intersect=function(a){return J.rect(b,a)},m}async function aJ(a,b,{config:{themeVariables:c}}){let d=c?.radius??5,e={rx:d,ry:d,classes:"",labelPaddingX:(b?.padding??0)*1,labelPaddingY:(b?.padding??0)*1};return as(a,b,e)}async function aK(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f="neo"===b.look?16:b.padding??0,h="neo"===b.look?12:b.padding??0,{shapeSvg:i,bbox:j,label:m}=await l(a,b,o(b)),p=(b?.width??j.width)+2*f+("neo"===b.look?8:16),q=(b?.height??j.height)+2*h,r=p-8,s=8-p/2,t=-q/2,{cssStyles:u}=b,v=k.A.svg(i),w=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(w.roughness=0,w.fillStyle="solid");let x=v.polygon([{x:s,y:t},{x:s+r,y:t},{x:s+r,y:t+q},{x:s-8,y:t+q},{x:s-8,y:t},{x:s,y:t},{x:s,y:t+q}].map(a=>[a.x,a.y]),w),y=i.insert(()=>x,":first-child");return y.attr("class","basic label-container outer-path").attr("style",(0,g.KL)(u)),d&&"handDrawn"!==b.look&&y.selectAll("path").attr("style",d),u&&"handDrawn"!==b.look&&y.selectAll("path").attr("style",d),m.attr("transform",`translate(${4-j.width/2-(j.x-(j.left??0))}, ${-(j.height/2)-(j.y-(j.top??0))})`),n(b,y),b.intersect=function(a){return J.rect(b,a)},i}async function aL(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f=b.padding??0,g="neo"===b.look?16:f,h="neo"===b.look?12:f;(b.width||b.height)&&(b.width=Math.max((b?.width??0)-2*g,10),b.height=Math.max((b?.height??0)/1.5-2*h,10));let{shapeSvg:i,bbox:j,label:m}=await l(a,b,o(b)),q=(b?.width?b?.width:j.width)+2*g,r=((b?.height?b?.height:j.height)+2*h)*1.5/1.5,s=-q/2,t=-r/2,{cssStyles:u}=b,v=k.A.svg(i),w=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(w.roughness=0,w.fillStyle="solid");let x=[{x:s,y:t},{x:s,y:t+r},{x:s+q,y:t+r},{x:s+q,y:t-r/2}],y=p(x),z=v.path(y,w),A=i.insert(()=>z,":first-child");return A.attr("class","basic label-container outer-path"),u&&"handDrawn"!==b.look&&A.selectChildren("path").attr("style",u),d&&"handDrawn"!==b.look&&A.selectChildren("path").attr("style",d),A.attr("transform",`translate(0, ${r/4})`),m.attr("transform",`translate(${-q/2+(b.padding??0)-(j.x-(j.left??0))}, ${-r/4+(b.padding??0)-(j.y-(j.top??0))})`),n(b,A),b.intersect=function(a){return J.polygon(b,x,a)},i}async function aM(a,b){let c=b.padding??0,d="neo"===b.look?16:2*c,e="neo"===b.look?12:c,f={rx:0,ry:0,classes:"",labelPaddingX:b.labelPaddingX??d,labelPaddingY:e};return as(a,b,f)}async function aN(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f=b.padding??0,g="neo"===b.look?20:f,h="neo"===b.look?12:f,{shapeSvg:i,bbox:j}=await l(a,b,o(b)),m=j.height+("neo"===b.look?2*h:h),q=j.width+m/4+("neo"===b.look?2*g:g),s=m/2,{cssStyles:t}=b,u=k.A.svg(i),v=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(v.roughness=0,v.fillStyle="solid");let w=[{x:-q/2+s,y:-m/2},{x:q/2-s,y:-m/2},...r(-q/2+s,0,s,50,90,270),{x:q/2-s,y:m/2},...r(q/2-s,0,s,50,270,450)],x=p(w),y=u.path(x,v),z=i.insert(()=>y,":first-child");return z.attr("class","basic label-container outer-path"),t&&"handDrawn"!==b.look&&z.selectChildren("path").attr("style",t),d&&"handDrawn"!==b.look&&z.selectChildren("path").attr("style",d),n(b,z),b.intersect=function(a){return J.polygon(b,w,a)},i}async function aO(a,b){let c={rx:"neo"===b.look?3:5,ry:"neo"===b.look?3:5,classes:"flowchart-node"};return as(a,b,c)}function aP(a,b,{config:{themeVariables:c}}){let{labelStyles:d,nodeStyles:f}=(0,e.GX)(b);b.labelStyle=d;let{cssStyles:g}=b,{lineColor:h,stateBorder:i,nodeBorder:j,nodeShadow:l}=c;(b.width||b.height)&&((b.width??0)<14&&(b.width=14),(b.height??0)<14&&(b.height=14)),b.width||(b.width=14),b.height||(b.height=14);let m=a.insert("g").attr("class","node default").attr("id",b.domId??b.id),o=k.A.svg(m),p=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(p.roughness=0,p.fillStyle="solid");let q=o.circle(0,0,b.width,{...p,stroke:h,strokeWidth:2}),r=i??j,s=(b.width??0)*5/14,t=o.circle(0,0,s,{...p,fill:r,stroke:r,strokeWidth:2,fillStyle:"solid"}),u=m.insert(()=>q,":first-child");if(u.insert(()=>t),"handDrawn"!==b.look&&u.attr("class","outer-path"),g&&u.selectAll("path").attr("style",g),f&&u.selectAll("path").attr("style",f),b.width<25&&l&&"handDrawn"!==b.look){let b=a.node()?.ownerSVGElement?.id??"",c=b?`${b}-drop-shadow-small`:"drop-shadow-small";u.attr("style",`filter:url(#${c})`)}return n(b,u),b.intersect=function(a){return J.circle(b,(b.width??0)/2,a)},m}function aQ(a,b,{config:{themeVariables:c}}){let d,{lineColor:f,nodeShadow:g}=c;(b.width||b.height)&&((b.width??0)<14&&(b.width=14),(b.height??0)<14&&(b.height=14)),b.width||(b.width=14),b.height||(b.height=14);let h=a.insert("g").attr("class","node default").attr("id",b.domId||b.id);if("handDrawn"===b.look){let a=k.A.svg(h).circle(0,0,b.width,(0,e.ue)(f));(d=h.insert(()=>a)).attr("class","state-start").attr("r",(b.width??7)/2).attr("width",b.width??14).attr("height",b.height??14)}else(d=h.insert("circle",":first-child")).attr("class","state-start").attr("r",(b.width??7)/2).attr("width",b.width??14).attr("height",b.height??14);if(b.width<25&&g&&"handDrawn"!==b.look){let b=a.node()?.ownerSVGElement?.id??"",c=b?`${b}-drop-shadow-small`:"drop-shadow-small";d.attr("style",`filter:url(#${c})`)}return n(b,d),b.intersect=function(a){return J.circle(b,(b.width??7)/2,a)},h}async function aR(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f=b?.padding??8,h="neo"===b.look?28:f,i="neo"===b.look?12:f,{shapeSvg:j,bbox:m}=await l(a,b,o(b)),p=(b?.width??m.width)+16+h,q=(b?.height??m.height)+i,r=p-16,s=-p/2,t=-q/2,u=[{x:0,y:0},{x:r,y:0},{x:r,y:-q},{x:0,y:-q},{x:0,y:0},{x:-8,y:0},{x:r+8,y:0},{x:r+8,y:-q},{x:-8,y:-q},{x:-8,y:0}];if("handDrawn"===b.look){let a=k.A.svg(j),c=(0,e.Fr)(b,{}),d=a.rectangle(s,t,r+16,q,c),f=a.line(s+8,t,s+8,t+q,c),h=a.line(s+8+r,t,s+8+r,t+q,c);j.insert(()=>f,":first-child"),j.insert(()=>h,":first-child");let i=j.insert(()=>d,":first-child"),{cssStyles:l}=b;i.attr("class","basic label-container").attr("style",(0,g.KL)(l)),n(b,i)}else{let a=O(j,r,q,u);d&&a.attr("style",d),n(b,a)}return b.intersect=function(a){return J.polygon(b,u,a)},j}async function aS(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let f=b.padding??0,g="neo"===b.look?16:f,h="neo"===b.look?12:f;(b.width||b.height)&&(b.height=Math.max((b?.height??0)-2*h,10),b.width=Math.max((b?.width??0)-2*g-.2*(b.height+2*h),10));let{shapeSvg:i,bbox:j}=await l(a,b,o(b)),m=(b?.height?b?.height:j.height)+2*h,q=.2*m,r=(b?.width?b?.width:j.width)+2*g+q-q,s=-r/2,t=-m/2,{cssStyles:u}=b,v=k.A.svg(i),w=(0,e.Fr)(b,{}),x=[{x:s-q/2,y:t},{x:s+r+q/2,y:t},{x:s+r+q/2,y:t+m},{x:s-q/2,y:t+m}];"handDrawn"!==b.look&&(w.roughness=0,w.fillStyle="solid");let y=p(x),z=v.path(y,w),A=p([{x:s+r-q/2,y:t+m},{x:s+r+q/2,y:t+m},{x:s+r+q/2,y:t+m-.2*m}]),B=v.path(A,{...w,fillStyle:"solid"}),C=i.insert(()=>B,":first-child");return C.insert(()=>z,":first-child"),C.attr("class","basic label-container outer-path"),u&&"handDrawn"!==b.look&&C.selectAll("path").attr("style",u),d&&"handDrawn"!==b.look&&C.selectAll("path").attr("style",d),n(b,C),b.intersect=function(a){return J.polygon(b,x,a)},i}async function aT(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let{shapeSvg:f,bbox:g,label:h}=await l(a,b,o(b)),i=Math.max(g.width+(b.padding??0)*2,b?.width??0),j=Math.max(g.height+(b.padding??0)*2,b?.height??0),m=j/8,r=.2*i,s=.2*j,t=j+m,{cssStyles:u}=b,v=k.A.svg(f),w=(0,e.Fr)(b,{});"handDrawn"!==b.look&&(w.roughness=0,w.fillStyle="solid");let x=[{x:-i/2-i/2*.1,y:t/2},...q(-i/2-i/2*.1,t/2,i/2+i/2*.1,t/2,m,.8),{x:i/2+i/2*.1,y:-t/2},{x:-i/2-i/2*.1,y:-t/2}],y=-i/2+i/2*.1,z=-t/2-.4*s,A=[{x:y+i-r,y:(z+j)*1.3},{x:y+i,y:z+j-s},{x:y+i,y:(z+j)*.9},...q(y+i,(z+j)*1.25,y+i-r,(z+j)*1.3,-(.02*j),.5)],B=p(x),C=v.path(B,w),D=p(A),E=v.path(D,{...w,fillStyle:"solid"}),F=f.insert(()=>E,":first-child");return F.insert(()=>C,":first-child"),F.attr("class","basic label-container outer-path"),u&&"handDrawn"!==b.look&&F.selectAll("path").attr("style",u),d&&"handDrawn"!==b.look&&F.selectAll("path").attr("style",d),F.attr("transform",`translate(0,${-m/2})`),h.attr("transform",`translate(${-i/2+(b.padding??0)-(g.x-(g.left??0))},${-j/2+(b.padding??0)-m/2-(g.y-(g.top??0))})`),n(b,F),b.intersect=function(a){return J.polygon(b,x,a)},f}async function aU(a,b){let{labelStyles:c,nodeStyles:d}=(0,e.GX)(b);b.labelStyle=c;let{shapeSvg:f,bbox:g}=await l(a,b,o(b)),h=Math.max(g.width+(b.padding??0),b?.width||0),i=Math.max(g.height+(b.padding??0),b?.height||0),j=f.insert("rect",":first-child");return j.attr("class","text").attr("style",d).attr("rx",0).attr("ry",0).attr("x",-h/2).attr("y",-i/2).attr("width",h).attr("height",i),n(b,j),b.intersect=function(a){return J.rect(b,a)},f}(0,i.K2)(aG,"question"),(0,i.K2)(aH,"rect_left_inv_arrow"),(0,i.K2)(aI,"rectWithTitle"),(0,i.K2)(aJ,"roundedRect"),(0,i.K2)(aK,"shadedProcess"),(0,i.K2)(aL,"slopedRect"),(0,i.K2)(aM,"squareRect"),(0,i.K2)(aN,"stadium"),(0,i.K2)(aO,"state"),(0,i.K2)(aP,"stateEnd"),(0,i.K2)(aQ,"stateStart"),(0,i.K2)(aR,"subroutine"),(0,i.K2)(aS,"taggedRect"),(0,i.K2)(aT,"taggedWaveEdgedRectangle"),(0,i.K2)(aU,"text");var aV=(0,i.K2)((a,b,c,d,e,f)=>`M${a},${b}
|
|
198
198
|
a${e},${f} 0,0,1 0,${-d}
|
|
199
199
|
l${c},0
|