@amir83nasr/10router 0.1.8 → 0.1.9
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/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +6 -6
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +23 -23
- package/.next/react-loadable-manifest.json +9 -0
- package/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
- package/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/combos/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/profile/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
- package/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/quota/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/usage/page.js +1 -1
- package/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +5 -5
- package/.next/server/app/_not-found.segments/_full.segment.rsc +5 -5
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -5
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/api/cli-tools/all-statuses/route.js +1 -1
- package/.next/server/app/api/cli-tools/claude-settings/route.js +1 -1
- package/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
- package/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
- package/.next/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/.next/server/app/api/cli-tools/dsh-settings/route.js +1 -1
- package/.next/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- package/.next/server/app/api/combos/[id]/route.js +1 -1
- package/.next/server/app/api/combos/route.js +1 -1
- package/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/.next/server/app/api/oauth/codex/bulk-import/route.js +1 -1
- package/.next/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/.next/server/app/api/providers/[id]/models/route.js +1 -1
- package/.next/server/app/api/providers/client/route.js +1 -1
- package/.next/server/app/api/providers/route.js +1 -1
- package/.next/server/app/api/translator/send/route.js +1 -1
- package/.next/server/app/api/translator/translate/route.js +1 -1
- package/.next/server/app/api/tunnel/tailscale-install/route.js +2 -2
- package/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
- package/.next/server/app/api/usage/[connectionId]/route.js +1 -1
- package/.next/server/app/api/usage/stream/route.js +2 -6
- package/.next/server/app/api/v1/audio/speech/route.js +1 -1
- package/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/.next/server/app/api/v1/embeddings/route.js +1 -1
- package/.next/server/app/api/v1/images/generations/route.js +1 -1
- package/.next/server/app/api/v1/systemone/route.js +1 -1
- package/.next/server/app/api/version/route.js +1 -1
- package/.next/server/app/callback/page_client-reference-manifest.js +1 -1
- package/.next/server/app/callback.html +1 -1
- package/.next/server/app/callback.rsc +6 -6
- package/.next/server/app/callback.segments/_full.segment.rsc +6 -6
- package/.next/server/app/callback.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +6 -6
- package/.next/server/app/dashboard/basic-chat.html +1 -1
- package/.next/server/app/dashboard/basic-chat.rsc +7 -7
- package/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/cli-tools.html +1 -1
- package/.next/server/app/dashboard/cli-tools.rsc +7 -7
- package/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/combos.html +1 -1
- package/.next/server/app/dashboard/combos.rsc +7 -7
- package/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/combos.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/endpoint.html +1 -1
- package/.next/server/app/dashboard/endpoint.rsc +7 -7
- package/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/media-providers/systemone.html +1 -1
- package/.next/server/app/dashboard/media-providers/systemone.rsc +7 -7
- package/.next/server/app/dashboard/media-providers/systemone.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/systemone/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/media-providers/systemone.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/media-providers/systemone.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/profile.html +1 -1
- package/.next/server/app/dashboard/profile.rsc +7 -7
- package/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/profile.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/providers/new.html +1 -1
- package/.next/server/app/dashboard/providers/new.rsc +7 -7
- package/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/providers.html +1 -1
- package/.next/server/app/dashboard/providers.rsc +7 -7
- package/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/providers.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/proxy-pools.html +1 -1
- package/.next/server/app/dashboard/proxy-pools.rsc +7 -7
- package/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/pxpipe.html +1 -1
- package/.next/server/app/dashboard/pxpipe.rsc +7 -7
- package/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/pxpipe.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/quota.html +2 -2
- package/.next/server/app/dashboard/quota.rsc +8 -8
- package/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +8 -8
- package/.next/server/app/dashboard/quota.segments/_full.segment.rsc +8 -8
- package/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/.next/server/app/dashboard/settings/pricing.html +1 -1
- package/.next/server/app/dashboard/settings/pricing.rsc +6 -6
- package/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
- package/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +6 -6
- package/.next/server/app/dashboard/token-saver.html +1 -1
- package/.next/server/app/dashboard/token-saver.rsc +6 -6
- package/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +6 -6
- package/.next/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
- package/.next/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard/usage.html +2 -2
- package/.next/server/app/dashboard/usage.rsc +7 -7
- package/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard/usage.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/dashboard.html +1 -1
- package/.next/server/app/dashboard.rsc +7 -7
- package/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/dashboard.segments/_full.segment.rsc +7 -7
- package/.next/server/app/dashboard.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +5 -5
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +5 -5
- package/.next/server/app/index.segments/_full.segment.rsc +5 -5
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/landing/page_client-reference-manifest.js +1 -1
- package/.next/server/app/landing.html +1 -1
- package/.next/server/app/landing.rsc +6 -6
- package/.next/server/app/landing.segments/_full.segment.rsc +6 -6
- package/.next/server/app/landing.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +6 -6
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login.html +1 -1
- package/.next/server/app/login.rsc +5 -5
- package/.next/server/app/login.segments/_full.segment.rsc +5 -5
- package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +6 -6
- package/.next/server/chunks/1003.js +1 -1
- package/.next/server/chunks/1011.js +1 -1
- package/.next/server/chunks/1194.js +1 -1
- package/.next/server/chunks/1289.js +1 -1
- package/.next/server/chunks/1412.js +1 -1
- package/.next/server/chunks/1633.js +1 -1
- package/.next/server/chunks/1985.js +1 -1
- package/.next/server/chunks/2282.js +8 -4
- package/.next/server/chunks/2339.js +1 -1
- package/.next/server/chunks/2801.js +1 -1
- package/.next/server/chunks/3425.js +1 -1
- package/.next/server/chunks/4364.js +1 -1
- package/.next/server/chunks/460.js +1 -1
- package/.next/server/chunks/5761.js +1 -1
- package/.next/server/chunks/6056.js +1 -1
- package/.next/server/chunks/6343.js +3 -3
- package/.next/server/chunks/6823.js +1 -1
- package/.next/server/chunks/7019.js +2 -2
- package/.next/server/chunks/7348.js +1 -1
- package/.next/server/chunks/7504.js +1 -1
- package/.next/server/chunks/7535.js +2 -2
- package/.next/server/chunks/8923.js +1 -1
- package/.next/server/chunks/9018.js +1 -1
- package/.next/server/chunks/9250.js +1 -1
- package/.next/server/chunks/9429.js +1 -1
- package/.next/server/chunks/9646.js +1 -1
- package/.next/server/chunks/9817.js +67 -0
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/middleware.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/{1278-605cc36f762c2ea7.js → 1278-efb46cc82262aa4e.js} +1 -1
- package/.next/static/chunks/{1471-69a7c30abf98c656.js → 1471-10f225f62f7469cc.js} +1 -1
- package/.next/static/chunks/{1699-49be310981e2759e.js → 1699-13ee6864a8a31a96.js} +2 -2
- package/.next/static/chunks/{1830-901fe48c3c62604f.js → 1830-d26d77c95932d7ce.js} +1 -1
- package/.next/static/chunks/1940.1f30124180f22498.js +1 -0
- package/.next/static/chunks/{2836-8e7f4c382297ac97.js → 2836-d97f0aa2718945d5.js} +1 -1
- package/.next/static/chunks/3445-99e12528f235cedb.js +1 -0
- package/.next/static/chunks/{3577-1f02993330d7fba7.js → 3577-cd98d40e3099e1b0.js} +1 -1
- package/.next/static/chunks/{5862-6f3a3a6d4c00100d.js → 5862-f98c2f3d480b80d2.js} +1 -1
- package/.next/static/chunks/6770-e2921b2ce695ed57.js +1 -0
- package/.next/static/chunks/7276-a15e4d56ec28aba8.js +1 -0
- package/.next/static/chunks/{9369-7ef21480b9132957.js → 9369-0d43b295968c2168.js} +1 -1
- package/.next/static/chunks/{9ce8c186-6cd204e9c27ecee1.js → 9ce8c186-3c7d7dbc5d428052.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-9efe55fed2f7c81f.js → page-e8bceccb95695755.js} +2 -2
- package/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-9dcb29085167b384.js → page-adee408d9de02423.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/combos/{page-f5db9f681c6bface.js → page-d4c1e29e8d038f09.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/console-log/{page-d134cc313c9fa0b8.js → page-139200833f7a4ecc.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/endpoint/{page-f2d1a733e7f841cb.js → page-67516b120adbc4d7.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/media-providers/systemone/[id]/{page-0d6e623de6134598.js → page-b751d9603cb82e62.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/{page-e8f1d8be5e294fb0.js → page-315c9f52c472a700.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-c96cbcc4f5736e36.js → page-d5d480e209fdc55a.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/providers/new/{page-cc51346e464158b1.js → page-61b87a31ba21a055.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/providers/{page-1ee147fbe0693dc1.js → page-2396571281d02804.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-2287b1915fa887fc.js → page-cfd6bcb7e55d7d18.js} +2 -2
- package/.next/static/chunks/app/(dashboard)/dashboard/pxpipe/{page-696cb5c2703ca1ec.js → page-4d758f53c8cfc308.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/quota/{page-54a329d725734a1f.js → page-fef6edb7aafd8bd0.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/dashboard/usage/{page-a81f78bb43042c30.js → page-697f46461825d7fc.js} +1 -1
- package/.next/static/chunks/app/(dashboard)/{layout-c199eb2ad56ae96a.js → layout-5039502fc12707c9.js} +1 -1
- package/.next/static/chunks/app/{layout-9bd5877ae6198856.js → layout-8810d4df3081b5df.js} +1 -1
- package/.next/static/chunks/webpack-cb89101193742e2b.js +1 -0
- package/CHANGELOG.md +19 -0
- package/open-sse/executors/zed.js +98 -5
- package/open-sse/handlers/chatCore/sseToJsonHandler.js +11 -4
- package/open-sse/providers/pricing.js +24 -10
- package/open-sse/services/usage/antigravity-weekly.js +10 -0
- package/open-sse/services/usage/claude.js +15 -0
- package/open-sse/shared/zedAuth.js +43 -2
- package/open-sse/translator/concerns/prefetch.js +12 -4
- package/open-sse/translator/response/claude-to-openai.js +2 -2
- package/open-sse/utils/streamHandler.js +1 -5
- package/package.json +1 -1
- package/src/app/(dashboard)/dashboard/providers/[id]/BulkImportGrokCliModal.tsx +1 -1
- package/src/app/(dashboard)/dashboard/providers/[id]/page.tsx +1 -1
- package/src/app/(dashboard)/dashboard/usage/components/ProviderTopology.tsx +5 -2
- package/src/app/api/combos/[id]/route.js +38 -1
- package/src/app/api/combos/route.js +27 -2
- package/src/app/api/providers/[id]/models/route.js +12 -1
- package/src/app/api/providers/route.js +4 -1
- package/src/app/api/usage/stream/route.js +74 -68
- package/src/app/api/v1/models/route.js +20 -6
- package/src/lib/db/index.js +3 -0
- package/src/lib/db/repos/settingsRepo.js +22 -1
- package/src/lib/oauth/services/xai.js +4 -4
- package/src/lib/validateComboModels.ts +48 -0
- package/src/shared/components/UsageStats.tsx +7 -1
- package/src/shared/hooks/useShutdown.ts +2 -4
- package/src/sse/handlers/chat.js +5 -1
- package/src/sse/services/antigravityQuota.ts +7 -3
- package/src/sse/services/model.ts +9 -20
- package/.next/server/chunks/5351.js +0 -67
- package/.next/static/chunks/3973-424848b943e2ecab.js +0 -1
- package/.next/static/chunks/7276-16ef14f7b2cd478d.js +0 -1
- package/.next/static/chunks/webpack-452a2f4aec1a53ee.js +0 -1
- /package/.next/static/{iz7psrsEuHZGPvj7rbSWc → awjDWqWCZbU3VVSuN7-oA}/_buildManifest.js +0 -0
- /package/.next/static/{iz7psrsEuHZGPvj7rbSWc → awjDWqWCZbU3VVSuN7-oA}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=9646,exports.ids=[9646],exports.modules={57265:(a,b,c)=>{c.d(b,{PROVIDER_PRICING:()=>e,calculateCostFromTokens:()=>i,getPricingForModel:()=>h});let d={"claude-opus-4-6":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-opus-4-5-20251101":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-sonnet-4-6":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-sonnet-4-5-20250929":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-haiku-4-5-20251001":{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25},"claude-sonnet-4-20250514":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-opus-4-20250514":{input:15,output:25,cached:7.5,reasoning:112.5,cache_creation:15},"claude-3-5-sonnet-20241022":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-haiku-4.5":{input:.5,output:2.5,cached:.05,reasoning:3.75,cache_creation:.5},"claude-opus-4.1":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.5":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.6":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-sonnet-4":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.5":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.6":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-opus-4-5-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4-6-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-fable-5":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5},"gpt-3.5-turbo":{input:.5,output:1.5,cached:.25,reasoning:2.25,cache_creation:.5},"gpt-4":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4-turbo":{input:10,output:30,cached:5,reasoning:45,cache_creation:10},"gpt-4o":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4o-mini":{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15},"gpt-4.1":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-5":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5-mini":{input:.25,output:2,cached:.125,reasoning:2,cache_creation:.25},"gpt-5-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex-mini":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"gpt-5.1-codex-mini-high":{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"gpt-5.1-codex-max":{input:8,output:32,cached:4,reasoning:48,cache_creation:8},"gpt-5.2":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.2-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex-spark":{input:3,output:12,cached:.3,reasoning:12,cache_creation:3},"gpt-5.6":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5},"gpt-5.6-luna":{input:1,output:6,cached:.1,reasoning:6,cache_creation:1},"gpt-5.6-terra":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5},"gpt-5.6-sol":{input:5,output:30,cached:.5,reasoning:30,cache_creation:5},"gpt-6-astra":{input:5,output:30,cached:.5,reasoning:30,cache_creation:5},o1:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15},"o1-mini":{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"gemini-3.8-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.5-flash-lite":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.375},"gemini-3.5-flash-high":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash-preview":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-pro-preview":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-low":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-high":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-pro-agent":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-3-flash-agent":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-extra-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-2.5-pro":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-2.5-flash":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3},"gemini-2.5-flash-lite":{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15},"qwen3-coder-plus":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"qwen3-coder-flash":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"kimi-k3":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},k3:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},"kimi-k2.7-code":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-k2.7-code-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-for-coding":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-for-coding-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-k2":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-k2-thinking":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"kimi-k2.5":{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2},"kimi-k2.5-thinking":{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8},"kimi-k2.6":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-latest":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"deepseek-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-r1":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4-flash":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4.1-flash":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-flash":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4-pro":{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:.435},"glm-4.6":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"glm-4.6v":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-4.7":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-5":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"MiniMax-M3":{input:.3,output:1.2,cached:.06,reasoning:1.8,cache_creation:.3},"MiniMax-M2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.5":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.7":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.5":{input:.6,output:2.4,cached:.3,reasoning:3.6,cache_creation:.6},"grok-code-fast-1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},auto:{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"oswe-vscode-prime":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"gpt-oss-120b-medium":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"vision-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"coder-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},e={gh:{"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},tokenrouter:{"MiniMax-M3":{input:.3,output:1.2,cached:.06,reasoning:1.2},"anthropic/claude-fable-5":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-haiku-4.5":{input:1,output:5,cached:.1,cache_creation:1.25,reasoning:5},"anthropic/claude-opus-4.5":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.6":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.7":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.7-fast":{input:30,output:150,cached:3,reasoning:150},"anthropic/claude-opus-4.8":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.8-fast":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-opus-5":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-5-fast":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-sonnet-4":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-4.5":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-4.6":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10},"claude-opus-4-8-m-aws":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"deepseek/deepseek-v3.2":{input:.26,output:.38,cached:.13,reasoning:.38},"deepseek/deepseek-v4-flash":{input:.14,output:.28,cached:.0028,reasoning:.28},"deepseek/deepseek-v4-flash-0731":{input:.14,output:.28,cached:.0028,reasoning:.28},"deepseek/deepseek-v4-pro":{input:.435,output:.87,cached:.003625,reasoning:.87},"ex/gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15},"google/gemini-2.5-flash-image":{input:.3,output:2.5,reasoning:2.5},"google/gemini-3-flash-preview":{input:.5,output:3,cached:.05,cache_creation:.08333,reasoning:3},"google/gemini-3-pro-image-preview":{input:2,output:12,reasoning:12},"google/gemini-3.1-flash-image-preview":{input:.5,output:3,reasoning:3},"google/gemini-3.1-flash-lite-image":{input:.25,output:1.5,reasoning:1.5},"google/gemini-3.1-pro-preview":{input:2,output:12,cached:.2,cache_creation:.375,reasoning:12},"google/gemini-3.5-flash":{input:1.5,output:9,cached:.15,cache_creation:.08333,reasoning:9},"google/gemini-3.5-flash-lite":{input:.3,output:2.5,cached:.03,cache_creation:.08333,reasoning:2.5},"google/gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,cache_creation:.08333,reasoning:7.5},"google/gemini-embedding-2":{input:1,output:6,cached:.1,reasoning:6},"google/gemma-4-26b-a4b-it":{input:.06,output:.33,reasoning:.33},"kling-3.0-turbo":{input:2.1,output:2.1,reasoning:2.1},"microsoft/mai-image-2.5":{input:5,output:47,reasoning:47},"minimax/minimax-m2-her":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.1":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.1-highspeed":{input:.6,output:2.4,cached:.06,reasoning:2.4},"minimax/minimax-m2.5":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.7":{input:.3,output:1.2,cached:.06,reasoning:1.2},"minimax/minimax-m2.7-highspeed":{input:.6,output:2.4,cached:.06,reasoning:2.4},"miromind/mirothinker-1-7-deepresearch":{input:4,output:25,reasoning:25},"miromind/mirothinker-1-7-deepresearch-mini":{input:1.25,output:10,reasoning:10},"mistralai/devstral-2512":{input:.4,output:2,cached:.04,reasoning:2},"mistralai/mistral-medium-3-5":{input:1.5,output:7.5,reasoning:7.5},"mistralai/mistral-small-2603":{input:.15,output:.6,cached:.015,reasoning:.6},"mistralai/voxtral-small-24b-2507":{input:.1,output:.3,cached:.01,reasoning:.3},"moonshotai/kimi-k2.5":{input:.6,output:3,cached:.1,reasoning:3},"moonshotai/kimi-k2.6":{input:.95,output:4,cached:.16,reasoning:4},"moonshotai/kimi-k2.7-code":{input:.9286,output:3.8571,cached:.1857,reasoning:3.8571},"moonshotai/kimi-k3":{input:3,output:15,cached:.3,reasoning:15},"nvidia/nemotron-3-super-120b-a12b":{input:.3,output:.9,cached:.1,reasoning:.9},"openai/gpt-4o-mini":{input:.15,output:.6,cached:.075,reasoning:.6},"openai/gpt-5":{input:1.25,output:10,cached:.125,reasoning:10},"openai/gpt-5-image":{input:10,output:40,cached:2.5,reasoning:40},"openai/gpt-5-image-mini":{input:2.5,output:8,cached:.25,reasoning:8},"openai/gpt-5-mini":{input:.25,output:2,cached:.025,reasoning:2},"openai/gpt-5.2":{input:1.75,output:14,cached:.175,reasoning:14},"openai/gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14},"openai/gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15},"openai/gpt-5.4-image-2":{input:8,output:30,cached:2,reasoning:30},"openai/gpt-5.4-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5},"openai/gpt-5.4-nano":{input:.2,output:1.25,cached:.02,reasoning:1.25},"openai/gpt-5.4-pro":{input:30,output:180,reasoning:180},"openai/gpt-5.5":{input:5,output:30,cached:.5,reasoning:30},"openai/gpt-5.5-pro":{input:30,output:180,reasoning:180},"openai/gpt-5.6-luna":{input:.2,output:1.2,cached:.02,cache_creation:.25,reasoning:1.2},"openai/gpt-5.6-sol":{input:5,output:30,cached:.5,cache_creation:6.25,reasoning:30},"openai/gpt-5.6-terra":{input:2,output:12,cached:.2,cache_creation:2.5,reasoning:12},"openai/gpt-audio":{input:2.5,output:10,reasoning:10},"openai/gpt-audio-mini":{input:.6,output:2.4,reasoning:2.4},"openai/gpt-oss-120b":{input:.039,output:.18,reasoning:.18},"qwen/qwen3-coder-next":{input:.12,output:.75,cached:.06,reasoning:.75},"qwen/qwen3.5-122b-a10b":{input:.26,output:2.08,reasoning:2.08},"qwen/qwen3.5-35b-a3b":{input:.1625,output:1.3,reasoning:1.3},"qwen/qwen3.5-397b-a17b":{input:.39,output:2.34,reasoning:2.34},"qwen/qwen3.5-9b":{input:.1,output:.15,reasoning:.15},"qwen/qwen3.5-flash":{input:.1048,output:.4194,reasoning:.4194},"qwen/qwen3.5-plus-02-15":{input:.26,output:1.56,reasoning:1.56},"qwen/qwen3.6-plus":{input:.54,output:3.21,reasoning:3.21},"qwen/qwen3.7-max":{input:1.25,output:3.75,cached:.25,reasoning:3.75},"qwen/qwen3.7-plus":{input:.4,output:1.6,cached:.08,reasoning:1.6},"qwen/qwen3.8-max":{input:2,output:6,cached:.25,cache_creation:2.5,reasoning:6},"qwen3.5-omni-plus":{input:1,output:5.7143,reasoning:5.7143},"qwen3.6-flash":{input:.171,output:1.029,cached:.017,cache_creation:.214,reasoning:1.029},"sakana/fugu-ultra":{input:5,output:30,cached:.5,reasoning:30},"seed-2-0-code-preview-260328":{input:1,output:6,cached:.2,cache_creation:.008333,reasoning:6},"seed-2-0-lite-260428":{input:.5,output:4,cached:.1,cache_creation:.008333,reasoning:4},"seed-2-0-mini-260428":{input:.2,output:.8,cached:.04,cache_creation:.00833,reasoning:.8},"seed-2-0-pro-260328":{input:1,output:6,cached:.2,cache_creation:.008333,reasoning:6},"stepfun/step-3.5-flash":{input:.1,output:.3,cached:.02,reasoning:.3},"stepfun/step-3.7-flash":{input:.2,output:1.15,cached:.04,reasoning:1.15},"tencent/hy3-preview":{input:.066,output:.26,cached:.029,reasoning:.26},"x-ai/grok-4.1-fast":{input:.2,output:.5,cached:.05,reasoning:.5},"x-ai/grok-4.20-beta":{input:2,output:6,cached:.2,reasoning:6},"x-ai/grok-4.3":{input:1.25,output:2.5,cached:.2,reasoning:2.5},"x-ai/grok-4.5":{input:2,output:6,cached:.5,reasoning:6},"x-ai/grok-build-0.1":{input:1,output:2,cached:.2,reasoning:2},"xiaomi/mimo-v2-flash":{input:.1,output:.3,cached:.01,reasoning:.3},"xiaomi/mimo-v2-omni":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi/mimo-v2-pro":{input:1,output:3,cached:.2,reasoning:3},"xiaomi/mimo-v2.5":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi/mimo-v2.5-pro":{input:1,output:3,cached:.2,reasoning:3},"z-ai/glm-4.5-air":{input:.13,output:.85,cached:.025,reasoning:.85},"z-ai/glm-4.6":{input:.6,output:2.2,cached:.11,reasoning:2.2},"z-ai/glm-4.6v":{input:.3,output:.9,reasoning:.9},"z-ai/glm-4.7":{input:.6,output:2.2,cached:.11,reasoning:2.2},"z-ai/glm-5":{input:1,output:3.2,cached:.2,reasoning:3.2},"z-ai/glm-5-turbo":{input:1.2,output:4,cached:.24,reasoning:4},"z-ai/glm-5.1":{input:1.05,output:3.5,cached:.525,reasoning:3.5},"z-ai/glm-5.2":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"z-ai/glm-5.3-free":{input:0,output:0,cached:0,reasoning:0}}},f=[{pattern:"*-codex-xhigh",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"*-codex-high",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-max",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-mini-*",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-mini",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-low",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-none",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-spark",pricing:{input:3,output:12,cached:.3,reasoning:12,cache_creation:3}},{pattern:"codex-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"claude-opus-*",pricing:{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25}},{pattern:"claude-sonnet-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"claude-haiku-*",pricing:{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25}},{pattern:"claude-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"gemini-*-flash-lite",pricing:{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15}},{pattern:"gemini-*-flash",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*-pro",pricing:{input:2,output:12,cached:.25,reasoning:18,cache_creation:2}},{pattern:"gemini-3-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gemini-2.5-*",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gpt-5.6-*",pricing:{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-5.3-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.2-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.1-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-4o-*",pricing:{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15}},{pattern:"gpt-4o",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-4*",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"o1-*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"o1",pricing:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15}},{pattern:"o3-*",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"o4-*",pricing:{input:2,output:8,cached:1,reasoning:12,cache_creation:2}},{pattern:"qwen3-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"kimi-*-thinking",pricing:{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8}},{pattern:"kimi-k3*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3}},{pattern:"kimi-k2*",pricing:{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2}},{pattern:"kimi-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"deepseek-*reasoner*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-r*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-v*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"glm-5*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"glm-4*",pricing:{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75}},{pattern:"glm-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"MiniMax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"minimax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-code-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}}];function g(a,b){return RegExp("^"+a.split("*").map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*")+"$","i").test(b)}function h(a,b){if(!b)return null;if(a&&e[a]?.[b])return e[a][b];let c=b.includes("/")?b.split("/").pop():b;if(d[c])return d[c];if(d[b])return d[b];for(let{pattern:a,pricing:d}of f)if(g(a,c)||g(a,b))return d;return null}function i(a,b){if(!a||!b)return 0;let c=0,d=a.prompt_tokens||a.input_tokens||0,e=a.cached_tokens||a.cache_read_input_tokens||0,f=a.cache_creation_input_tokens||0;c+=Math.max(0,d-e-f)*(b.input/1e6),e>0&&(c+=e*((b.cached||b.input)/1e6)),c+=(a.completion_tokens||a.output_tokens||0)*(b.output/1e6);let g=a.reasoning_tokens||0;return g>0&&(c+=g*((b.reasoning||b.output)/1e6)),f>0&&(c+=f*((b.cache_creation||b.input)/1e6)),c}}};
|
|
1
|
+
"use strict";exports.id=9646,exports.ids=[9646],exports.modules={57265:(a,b,c)=>{c.d(b,{PROVIDER_PRICING:()=>e,calculateCostFromTokens:()=>j,getPricingForModel:()=>i});let d={"claude-opus-4-6":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-opus-4-5-20251101":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-sonnet-4-6":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-sonnet-4-5-20250929":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-haiku-4-5-20251001":{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25},"claude-sonnet-4-20250514":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-opus-4-20250514":{input:15,output:25,cached:7.5,reasoning:112.5,cache_creation:15},"claude-3-5-sonnet-20241022":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-haiku-4.5":{input:.5,output:2.5,cached:.05,reasoning:3.75,cache_creation:.5},"claude-opus-4.1":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.5":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.6":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-sonnet-4":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.5":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.6":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-opus-4-5-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4-6-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-fable-5":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5},"gpt-3.5-turbo":{input:.5,output:1.5,cached:.25,reasoning:2.25,cache_creation:.5},"gpt-4":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4-turbo":{input:10,output:30,cached:5,reasoning:45,cache_creation:10},"gpt-4o":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4o-mini":{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15},"gpt-4.1":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-5":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5-mini":{input:.25,output:2,cached:.125,reasoning:2,cache_creation:.25},"gpt-5-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex-mini":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"gpt-5.1-codex-mini-high":{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"gpt-5.1-codex-max":{input:8,output:32,cached:4,reasoning:48,cache_creation:8},"gpt-5.2":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.2-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex-spark":{input:3,output:12,cached:.3,reasoning:12,cache_creation:3},"gpt-5.6":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5},"gpt-5.6-luna":{input:1,output:6,cached:.1,reasoning:6,cache_creation:1},"gpt-5.6-terra":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5},"gpt-5.6-sol":{input:5,output:30,cached:.5,reasoning:30,cache_creation:5},"gpt-6-astra":{input:5,output:30,cached:.5,reasoning:30,cache_creation:5},o1:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15},"o1-mini":{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"gemini-3.8-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.5-flash-lite":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.375},"gemini-3.5-flash-high":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash-preview":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-pro-preview":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-low":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-high":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-pro-agent":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-3-flash-agent":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-extra-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-2.5-pro":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-2.5-flash":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3},"gemini-2.5-flash-lite":{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15},"qwen3-coder-plus":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"qwen3-coder-flash":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"kimi-k3":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},k3:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},"kimi-k2.7-code":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-k2.7-code-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-for-coding":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-for-coding-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-k2":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-k2-thinking":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"kimi-k2.5":{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2},"kimi-k2.5-thinking":{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8},"kimi-k2.6":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-latest":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"deepseek-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-r1":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4-flash":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4.1-flash":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-flash":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4-pro":{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:.435},"glm-4.6":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"glm-4.6v":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-4.7":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-5":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"MiniMax-M3":{input:.3,output:1.2,cached:.06,reasoning:1.8,cache_creation:.3},"MiniMax-M2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.5":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.7":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.5":{input:.6,output:2.4,cached:.3,reasoning:3.6,cache_creation:.6},"grok-code-fast-1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},auto:{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"oswe-vscode-prime":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"gpt-oss-120b-medium":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"vision-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"coder-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},e={gh:{"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},tokenrouter:{"MiniMax-M3":{input:.3,output:1.2,cached:.06,reasoning:1.2},"anthropic/claude-fable-5":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-haiku-4.5":{input:1,output:5,cached:.1,cache_creation:1.25,reasoning:5},"anthropic/claude-opus-4.5":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.6":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.7":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.7-fast":{input:30,output:150,cached:3,reasoning:150},"anthropic/claude-opus-4.8":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.8-fast":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-opus-5":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-5-fast":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-sonnet-4":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-4.5":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-4.6":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10},"claude-opus-4-8-m-aws":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"deepseek/deepseek-v3.2":{input:.26,output:.38,cached:.13,reasoning:.38},"deepseek/deepseek-v4-flash":{input:.14,output:.28,cached:.0028,reasoning:.28},"deepseek/deepseek-v4-flash-0731":{input:.14,output:.28,cached:.0028,reasoning:.28},"deepseek/deepseek-v4-pro":{input:.435,output:.87,cached:.003625,reasoning:.87},"ex/gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15},"google/gemini-2.5-flash-image":{input:.3,output:2.5,reasoning:2.5},"google/gemini-3-flash-preview":{input:.5,output:3,cached:.05,cache_creation:.08333,reasoning:3},"google/gemini-3-pro-image-preview":{input:2,output:12,reasoning:12},"google/gemini-3.1-flash-image-preview":{input:.5,output:3,reasoning:3},"google/gemini-3.1-flash-lite-image":{input:.25,output:1.5,reasoning:1.5},"google/gemini-3.1-pro-preview":{input:2,output:12,cached:.2,cache_creation:.375,reasoning:12},"google/gemini-3.5-flash":{input:1.5,output:9,cached:.15,cache_creation:.08333,reasoning:9},"google/gemini-3.5-flash-lite":{input:.3,output:2.5,cached:.03,cache_creation:.08333,reasoning:2.5},"google/gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,cache_creation:.08333,reasoning:7.5},"google/gemini-embedding-2":{input:1,output:6,cached:.1,reasoning:6},"google/gemma-4-26b-a4b-it":{input:.06,output:.33,reasoning:.33},"kling-3.0-turbo":{input:2.1,output:2.1,reasoning:2.1},"microsoft/mai-image-2.5":{input:5,output:47,reasoning:47},"minimax/minimax-m2-her":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.1":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.1-highspeed":{input:.6,output:2.4,cached:.06,reasoning:2.4},"minimax/minimax-m2.5":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.7":{input:.3,output:1.2,cached:.06,reasoning:1.2},"minimax/minimax-m2.7-highspeed":{input:.6,output:2.4,cached:.06,reasoning:2.4},"miromind/mirothinker-1-7-deepresearch":{input:4,output:25,reasoning:25},"miromind/mirothinker-1-7-deepresearch-mini":{input:1.25,output:10,reasoning:10},"mistralai/devstral-2512":{input:.4,output:2,cached:.04,reasoning:2},"mistralai/mistral-medium-3-5":{input:1.5,output:7.5,reasoning:7.5},"mistralai/mistral-small-2603":{input:.15,output:.6,cached:.015,reasoning:.6},"mistralai/voxtral-small-24b-2507":{input:.1,output:.3,cached:.01,reasoning:.3},"moonshotai/kimi-k2.5":{input:.6,output:3,cached:.1,reasoning:3},"moonshotai/kimi-k2.6":{input:.95,output:4,cached:.16,reasoning:4},"moonshotai/kimi-k2.7-code":{input:.9286,output:3.8571,cached:.1857,reasoning:3.8571},"moonshotai/kimi-k3":{input:3,output:15,cached:.3,reasoning:15},"nvidia/nemotron-3-super-120b-a12b":{input:.3,output:.9,cached:.1,reasoning:.9},"openai/gpt-4o-mini":{input:.15,output:.6,cached:.075,reasoning:.6},"openai/gpt-5":{input:1.25,output:10,cached:.125,reasoning:10},"openai/gpt-5-image":{input:10,output:40,cached:2.5,reasoning:40},"openai/gpt-5-image-mini":{input:2.5,output:8,cached:.25,reasoning:8},"openai/gpt-5-mini":{input:.25,output:2,cached:.025,reasoning:2},"openai/gpt-5.2":{input:1.75,output:14,cached:.175,reasoning:14},"openai/gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14},"openai/gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15},"openai/gpt-5.4-image-2":{input:8,output:30,cached:2,reasoning:30},"openai/gpt-5.4-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5},"openai/gpt-5.4-nano":{input:.2,output:1.25,cached:.02,reasoning:1.25},"openai/gpt-5.4-pro":{input:30,output:180,reasoning:180},"openai/gpt-5.5":{input:5,output:30,cached:.5,reasoning:30},"openai/gpt-5.5-pro":{input:30,output:180,reasoning:180},"openai/gpt-5.6-luna":{input:.2,output:1.2,cached:.02,cache_creation:.25,reasoning:1.2},"openai/gpt-5.6-sol":{input:5,output:30,cached:.5,cache_creation:6.25,reasoning:30},"openai/gpt-5.6-terra":{input:2,output:12,cached:.2,cache_creation:2.5,reasoning:12},"openai/gpt-audio":{input:2.5,output:10,reasoning:10},"openai/gpt-audio-mini":{input:.6,output:2.4,reasoning:2.4},"openai/gpt-oss-120b":{input:.039,output:.18,reasoning:.18},"qwen/qwen3-coder-next":{input:.12,output:.75,cached:.06,reasoning:.75},"qwen/qwen3.5-122b-a10b":{input:.26,output:2.08,reasoning:2.08},"qwen/qwen3.5-35b-a3b":{input:.1625,output:1.3,reasoning:1.3},"qwen/qwen3.5-397b-a17b":{input:.39,output:2.34,reasoning:2.34},"qwen/qwen3.5-9b":{input:.1,output:.15,reasoning:.15},"qwen/qwen3.5-flash":{input:.1048,output:.4194,reasoning:.4194},"qwen/qwen3.5-plus-02-15":{input:.26,output:1.56,reasoning:1.56},"qwen/qwen3.6-plus":{input:.54,output:3.21,reasoning:3.21},"qwen/qwen3.7-max":{input:1.25,output:3.75,cached:.25,reasoning:3.75},"qwen/qwen3.7-plus":{input:.4,output:1.6,cached:.08,reasoning:1.6},"qwen/qwen3.8-max":{input:2,output:6,cached:.25,cache_creation:2.5,reasoning:6},"qwen3.5-omni-plus":{input:1,output:5.7143,reasoning:5.7143},"qwen3.6-flash":{input:.171,output:1.029,cached:.017,cache_creation:.214,reasoning:1.029},"sakana/fugu-ultra":{input:5,output:30,cached:.5,reasoning:30},"seed-2-0-code-preview-260328":{input:1,output:6,cached:.2,cache_creation:.008333,reasoning:6},"seed-2-0-lite-260428":{input:.5,output:4,cached:.1,cache_creation:.008333,reasoning:4},"seed-2-0-mini-260428":{input:.2,output:.8,cached:.04,cache_creation:.00833,reasoning:.8},"seed-2-0-pro-260328":{input:1,output:6,cached:.2,cache_creation:.008333,reasoning:6},"stepfun/step-3.5-flash":{input:.1,output:.3,cached:.02,reasoning:.3},"stepfun/step-3.7-flash":{input:.2,output:1.15,cached:.04,reasoning:1.15},"tencent/hy3-preview":{input:.066,output:.26,cached:.029,reasoning:.26},"x-ai/grok-4.1-fast":{input:.2,output:.5,cached:.05,reasoning:.5},"x-ai/grok-4.20-beta":{input:2,output:6,cached:.2,reasoning:6},"x-ai/grok-4.3":{input:1.25,output:2.5,cached:.2,reasoning:2.5},"x-ai/grok-4.5":{input:2,output:6,cached:.5,reasoning:6},"x-ai/grok-build-0.1":{input:1,output:2,cached:.2,reasoning:2},"xiaomi/mimo-v2-flash":{input:.1,output:.3,cached:.01,reasoning:.3},"xiaomi/mimo-v2-omni":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi/mimo-v2-pro":{input:1,output:3,cached:.2,reasoning:3},"xiaomi/mimo-v2.5":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi/mimo-v2.5-pro":{input:1,output:3,cached:.2,reasoning:3},"z-ai/glm-4.5-air":{input:.13,output:.85,cached:.025,reasoning:.85},"z-ai/glm-4.6":{input:.6,output:2.2,cached:.11,reasoning:2.2},"z-ai/glm-4.6v":{input:.3,output:.9,reasoning:.9},"z-ai/glm-4.7":{input:.6,output:2.2,cached:.11,reasoning:2.2},"z-ai/glm-5":{input:1,output:3.2,cached:.2,reasoning:3.2},"z-ai/glm-5-turbo":{input:1.2,output:4,cached:.24,reasoning:4},"z-ai/glm-5.1":{input:1.05,output:3.5,cached:.525,reasoning:3.5},"z-ai/glm-5.2":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"z-ai/glm-5.3-free":{input:0,output:0,cached:0,reasoning:0}}},f=[{pattern:"*-codex-xhigh",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"*-codex-high",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-max",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-mini-*",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-mini",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-low",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-none",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-spark",pricing:{input:3,output:12,cached:.3,reasoning:12,cache_creation:3}},{pattern:"codex-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"claude-opus-*",pricing:{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25}},{pattern:"claude-sonnet-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"claude-haiku-*",pricing:{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25}},{pattern:"claude-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"gemini-*-flash-lite",pricing:{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15}},{pattern:"gemini-*-flash",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*-pro",pricing:{input:2,output:12,cached:.25,reasoning:18,cache_creation:2}},{pattern:"gemini-3-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gemini-2.5-*",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gpt-5.6-*",pricing:{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-5.3-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.2-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.1-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-4o-*",pricing:{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15}},{pattern:"gpt-4o",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-4*",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"o1-*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"o1",pricing:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15}},{pattern:"o3-*",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"o4-*",pricing:{input:2,output:8,cached:1,reasoning:12,cache_creation:2}},{pattern:"qwen3-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"kimi-*-thinking",pricing:{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8}},{pattern:"kimi-k3*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3}},{pattern:"kimi-k2*",pricing:{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2}},{pattern:"kimi-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"deepseek-*reasoner*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-r*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-v*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"glm-5*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"glm-4*",pricing:{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75}},{pattern:"glm-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"MiniMax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"minimax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-code-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}}],g=new Map;function h(a,b){let c;return(!(c=g.get(a))&&(c=RegExp("^"+a.split("*").map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*")+"$","i"),g.set(a,c)),c).test(b)}function i(a,b){if(!b)return null;if(a&&e[a]?.[b])return e[a][b];let c=b.includes("/")?b.split("/").pop():b;if(d[c])return d[c];if(d[b])return d[b];for(let{pattern:a,pricing:d}of f)if(h(a,c)||h(a,b))return d;return null}function j(a,b){if(!a||!b)return 0;let c=0,d=a.prompt_tokens||a.input_tokens||0,e=a.cached_tokens||a.cache_read_input_tokens||0,f=a.cache_creation_input_tokens||0;c+=Math.max(0,d-e-f)*(b.input/1e6),e>0&&(c+=e*((b.cached||b.input)/1e6)),c+=(a.completion_tokens||a.output_tokens||0)*(b.output/1e6);let g=a.reasoning_tokens||0;return g>0&&(c+=g*((b.reasoning||b.output)/1e6)),f>0&&(c+=f*((b.cache_creation||b.input)/1e6)),c}}};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";exports.id=9817,exports.ids=[9817],exports.modules={2521:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});var d={default:function(){return p},defaultHead:function(){return l}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(66984),g=c(11903),h=c(86240),i=g._(c(70433)),j=f._(c(77016)),k=c(35382);function l(){return[(0,h.jsx)("meta",{charSet:"utf-8"},"charset"),(0,h.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function m(a,b){return"string"==typeof b||"number"==typeof b?a:b.type===i.default.Fragment?a.concat(i.default.Children.toArray(b.props.children).reduce((a,b)=>"string"==typeof b||"number"==typeof b?a:a.concat(b),[])):a.concat(b)}let n=["name","httpEquiv","charSet","itemProp"];function o(a){let b,c,d,e;return a.reduce(m,[]).reverse().concat(l().reverse()).filter((b=new Set,c=new Set,d=new Set,e={},a=>{let f=!0,g=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){g=!0;let c=a.key.slice(a.key.indexOf("$")+1);b.has(c)?f=!1:b.add(c)}switch(a.type){case"title":case"base":c.has(a.type)?f=!1:c.add(a.type);break;case"meta":for(let b=0,c=n.length;b<c;b++){let c=n[b];if(a.props.hasOwnProperty(c))if("charSet"===c)d.has(c)?f=!1:d.add(c);else{let b=a.props[c],d=e[c]||new Set;("name"!==c||!g)&&d.has(b)?f=!1:(d.add(b),e[c]=d)}}}return f})).reverse().map((a,b)=>{let c=a.key||b;return i.default.cloneElement(a,{key:c})})}let p=function({children:a}){let b=(0,i.useContext)(k.HeadManagerContext);return(0,h.jsx)(j.default,{reduceComponentsToState:o,headManager:b,children: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)},2600:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return e}});let d=c(66984)._(c(41344));function e(a,b){let c={};"function"==typeof a&&(c.loader=a);let e={...c,...b};return(0,d.default)({...e,modules:e.loadableGenerated?.modules})}("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)},3391:(a,b,c)=>{a.exports=c(48384).vendored.contexts.RouterContext},4459:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});var d={default:function(){return p},useLinkStatus:function(){return r}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(11903),g=c(86240),h=f._(c(70433)),i=c(20680),j=c(86157),k=c(16823),l=c(58486),m=c(90324);c(37131);let n=c(90163);c(70317);let o=c(45818);function p(a){var b;let c,d,e,[f,p]=(0,h.useOptimistic)(n.IDLE_LINK_STATUS),r=(0,h.useRef)(null),{href:s,as:t,children:u,prefetch:v=null,passHref:w,replace:x,shallow:y,scroll:z,onClick:A,onMouseEnter:B,onTouchStart:C,legacyBehavior:D=!1,onNavigate:E,transitionTypes:F,ref:G,unstable_dynamicOnHover:H,...I}=a;c=u,D&&("string"==typeof c||"number"==typeof c)&&(c=(0,g.jsx)("a",{children:c}));let J=h.default.useContext(j.AppRouterContext),K=!1!==v,L=!1===v?"none":!0===v?"full":"auto",M="none"!==L?"auto"===L?o.FetchStrategy.PPR:o.FetchStrategy.Full:o.FetchStrategy.PPR,N="string"==typeof(b=t||s)?b:(0,i.formatUrl)(b);if(D){if(c?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});d=h.default.Children.only(c)}let O=D?d&&"object"==typeof d&&d.ref:G,P,Q=h.default.useCallback(a=>(null!==J&&(r.current=(0,n.mountLinkInstance)(a,N,J,M,K,p,P)),()=>{r.current&&((0,n.unmountLinkForCurrentNavigation)(r.current),r.current=null),(0,n.unmountPrefetchableInstance)(a)}),[K,N,J,M,p,P]),R={ref:(0,k.useMergedRef)(Q,O),onClick(a){D||"function"!=typeof A||A(a),D&&d.props&&"function"==typeof d.props.onClick&&d.props.onClick(a),!J||a.defaultPrevented||function(a="none"){}(L)},onMouseEnter(a){D||"function"!=typeof B||B(a),D&&d.props&&"function"==typeof d.props.onMouseEnter&&d.props.onMouseEnter(a),J&&K&&(0,n.onNavigationIntent)(a.currentTarget,!0===H)},onTouchStart:function(a){D||"function"!=typeof C||C(a),D&&d.props&&"function"==typeof d.props.onTouchStart&&d.props.onTouchStart(a),J&&K&&(0,n.onNavigationIntent)(a.currentTarget,!0===H)}};return(0,l.isAbsoluteUrl)(N)?R.href=N:D&&!w&&("a"!==d.type||"href"in d.props)||(R.href=(0,m.addBasePath)(N)),e=D?h.default.cloneElement(d,R):(0,g.jsx)("a",{...I,...R,children:c}),(0,g.jsx)(q.Provider,{value:f,children:e})}let q=(0,h.createContext)(n.IDLE_LINK_STATUS),r=()=>(0,h.useContext)(q);("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)},8580:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return g}});let d=c(74006),e=c(88668);function f({config:a,src:b,width:c,quality:g}){let h=(0,e.getDeploymentId)();if(b.startsWith("/")&&!b.startsWith("//"))if(b.includes("/_next/static/immutable")&&!(0,e.getAssetToken)())h=void 0;else{let a=b.indexOf("?");if(-1!==a){let c=new URLSearchParams(b.slice(a+1)),d=c.get("dpl");if(d){h=d,c.delete("dpl");let e=c.toString();b=b.slice(0,a)+(e?"?"+e:"")}}}if(b.startsWith("/")&&b.includes("?")&&a.localPatterns?.length===1&&"**"===a.localPatterns[0].pathname&&""===a.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${b}" is using a query string which is not configured in images.localPatterns.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let i=(0,d.findClosestQuality)(g,a);return`${a.path}?url=${encodeURIComponent(b)}&w=${c}&q=${i}${b.startsWith("/")&&h?`&dpl=${h}`:""}`}f.__next_img_default=!0;let g=f},14582:(a,b,c)=>{c.d(b,{bL:()=>u,zi:()=>v});var d=c(70433),e=c(40283),f=c(35676),g=c(58542),h=c(76125),i=c(78945),j=c(59524),k=c(86240),l=Object.defineProperty,m=(a,b)=>l(a,"name",{value:b,configurable:!0}),n="Switch",[o,p]=(0,g.A)(n),[q,r]=o(n);function s(a){let{__scopeSwitch:b,checked:c,children:e,defaultChecked:f,disabled:g,form:i,name:j,onCheckedChange:l,required:m,value:o="on",internal_do_not_use_render:p}=a,[r,s]=(0,h.i)({prop:c,defaultProp:f??!1,onChange:l,caller:n}),[t,u]=d.useState(null),[v,w]=d.useState(null),y=d.useRef(!1),[z,A]=d.useReducer(a=>a+1,0),B=!t||!!i||!!t.closest("form"),C={checked:r,setChecked:s,disabled:g,control:t,setControl:u,name:j,form:i,value:o,hasConsumerStoppedPropagationRef:y,userInteractionCount:z,onUserInteraction:A,required:m,defaultChecked:f,isFormControl:B,bubbleInput:v,setBubbleInput:w};return(0,k.jsx)(q,{scope:b,...C,children:x(p)?p(C):e})}m(s,"SwitchProvider");var t=d.forwardRef(m(function({__scopeSwitch:a,onClick:b,...c},g){let{control:h,form:i,value:l,disabled:n,checked:o,required:p,setControl:q,setChecked:s,hasConsumerStoppedPropagationRef:t,onUserInteraction:u,isFormControl:v,bubbleInput:w}=r("SwitchTrigger",a),x=(0,f.s)(g,q),z=d.useRef(o);return d.useEffect(()=>{let a=i?h?.ownerDocument.getElementById(i):h?.form;if(a instanceof HTMLFormElement){let b=m(()=>s(z.current),"reset");return a.addEventListener("reset",b),()=>a.removeEventListener("reset",b)}},[h,i,s]),(0,k.jsx)(j.sG.button,{type:"button",role:"switch","aria-checked":o,"aria-required":p,"data-state":y(o),"data-disabled":n?"":void 0,disabled:n,value:l,...c,ref:x,onClick:(0,e.mK)(b,a=>{u(),s(a=>!a),w&&v&&(t.current=a.isPropagationStopped(),t.current||a.stopPropagation())})})},"SwitchTrigger")),u=d.forwardRef(m(function(a,b){let{__scopeSwitch:c,name:d,checked:e,defaultChecked:f,required:g,disabled:h,value:i,onCheckedChange:j,form:l,...m}=a;return(0,k.jsx)(s,{__scopeSwitch:c,checked:e,defaultChecked:f,disabled:h,required:g,onCheckedChange:j,name:d,form:l,value:i,internal_do_not_use_render:({isFormControl:a})=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(t,{...m,ref:b,__scopeSwitch:c}),a&&(0,k.jsx)(w,{__scopeSwitch:c})]})})},"Switch")),v=d.forwardRef(m(function(a,b){let{__scopeSwitch:c,...d}=a,e=r("SwitchThumb",c);return(0,k.jsx)(j.sG.span,{"data-state":y(e.checked),"data-disabled":e.disabled?"":void 0,...d,ref:b})},"SwitchThumb")),w=d.forwardRef(m(function({__scopeSwitch:a,onClick:b,...c},g){let{control:h,hasConsumerStoppedPropagationRef:l,userInteractionCount:m,checked:n,defaultChecked:o,required:p,disabled:q,name:s,value:t,form:u,bubbleInput:v,setBubbleInput:w}=r("SwitchBubbleInput",a),x=(0,f.s)(g,w),y=(0,i.X)(h),z=d.useRef(!1),A=d.useRef(n),B=d.useRef(m);d.useEffect(()=>{if(!v)return;let a=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,b=m!==B.current;B.current=m;let c=A.current!==n;A.current=n;let d=!(b&&l.current);if(c&&a){z.current=!b;let c=new Event("click",{bubbles:d});a.call(v,n),v.dispatchEvent(c),z.current=!1}},[v,n,l,m]);let C=d.useRef(n);return(0,k.jsx)(j.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:o??C.current,required:p,disabled:q,name:s,value:t,form:u,...c,tabIndex:-1,ref:x,onClick:(0,e.mK)(b,a=>{z.current&&a.stopPropagation()}),style:{...c.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function x(a){return"function"==typeof a}function y(a){return a?"checked":"unchecked"}m(x,"isFunction"),m(y,"getState")},16823:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"useMergedRef",{enumerable:!0,get:function(){return e}});let d=c(70433);function e(a,b){let c=(0,d.useRef)(null),e=(0,d.useRef)(null);return(0,d.useCallback)(d=>{if(null===d){let a=c.current;a&&(c.current=null,a());let b=e.current;b&&(e.current=null,b())}else a&&(c.current=f(a,d)),b&&(e.current=f(b,d))},[a,b])}function f(a,b){if("function"!=typeof a)return a.current=b,()=>{a.current=null};{let c=a(b);return"function"==typeof c?c:()=>a(null)}}("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)},18511:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return f}});let d=c(25220),e=c(48146),f=a=>{if(47!==a.charCodeAt(0))return a;let{pathname:b,query:c,hash:f}=(0,e.parsePath)(a);return`${(0,d.removeTrailingSlash)(b)}${c}${f}`};("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)},19123:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"BailoutToCSR",{enumerable:!0,get:function(){return e}});let d=c(75559);function e({reason:a,children:b}){throw Object.defineProperty(new d.BailoutToCSRError(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},20680:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});var d={formatUrl:function(){return h},formatWithValidation:function(){return j},urlObjectKeys:function(){return i}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(11903)._(c(34018)),g=/https?|ftp|gopher|file/;function h(a){let{auth:b,hostname:c}=a,d=a.protocol||"",e=a.pathname||"",h=a.hash||"",i=a.query||"",j=!1;b=b?encodeURIComponent(b).replace(/%3A/i,":")+"@":"",a.host?j=b+a.host:c&&(j=b+(~c.indexOf(":")?`[${c}]`:c),a.port&&(j+=":"+a.port)),i&&"object"==typeof i&&(i=String(f.urlQueryToSearchParams(i)));let k=a.search||i&&`?${i}`||"";return d&&!d.endsWith(":")&&(d+=":"),a.slashes||(!d||g.test(d))&&!1!==j?(j="//"+(j||""),e&&"/"!==e[0]&&(e="/"+e)):j||(j=""),h&&"#"!==h[0]&&(h="#"+h),k&&"?"!==k[0]&&(k="?"+k),e=e.replace(/[?#]/g,encodeURIComponent),k=k.replace("#","%23"),`${d}${j}${e}${k}${h}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function j(a){return h(a)}},25220:(a,b)=>{function c(a){return 47===a.charCodeAt(a.length-1)&&a.length>1?a.slice(0,-1):a}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"removeTrailingSlash",{enumerable:!0,get:function(){return c}})},25988:(a,b,c)=>{function d(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}c.d(b,{xI:()=>aE});var e=d(),f={exec:()=>null};function g(a){let b=[];return c=>{let d=Math.max(0,Math.min(3,c-1)),e=b[d];return e||(e=a(d),b[d]=e),e}}function h(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(j.caret,"$1"),c=c.replace(a,e),d},getRegex:()=>new RegExp(c,b)};return d}var i=((a="")=>{try{return!!RegExp("(?<=1)(?<!1)"+a)}catch{return!1}})(),j={codeRemoveIndent:/^(?: {0,3}\t| {1,4})/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,endingSpaceTabChar:/[ \t]$/,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,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ 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,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:g(a=>RegExp(`^ {0,${a}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:g(a=>RegExp(`^ {0,${a}}((?:-[ ]*){3,}|(?:_[ ]*){3,}|(?:\\*[ ]*){3,})(?:\\n+|$)`)),fencesBeginRegex:g(a=>RegExp(`^ {0,${a}}(?:\`\`\`|~~~)`)),headingBeginRegex:g(a=>RegExp(`^ {0,${a}}#`)),htmlBeginRegex:g(a=>RegExp(`^ {0,${a}}(?:</?(?:${t})(?: +|$|/?>)|<(?:script|pre|style|textarea|!--))`,"i")),blockquoteBeginRegex:g(a=>RegExp(`^ {0,${a}}>`))},k=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,l=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,m=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,n=h(m).replace(/bull/g,l).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}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),o=h(m).replace(/bull/g,l).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}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),p=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,q=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,r=h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",q).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),s=h(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,l).getRegex(),t="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",u=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,v=h("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][a-z0-9-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][a-z0-9-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",u).replace("tag",t).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),w=a=>h(p).replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list",a).replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t).getRegex(),x=w(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),y=w(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),z={blockquote:h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",y).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:r,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:k,html:v,lheading:n,list:s,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:x,table:f,text:/^[^\n]+/},A=h("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t).getRegex(),B={...z,lheading:o,table:A,paragraph:h(p).replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",A).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t).getRegex()},C={...z,html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",u).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:f,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:h(p).replace("hr",k).replace("heading",` *#{1,6} *[^
|
|
3
|
+
]`).replace("lheading",n).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},D=/^( {2,}|\\)\n(?!\s*$)[ \t]*/,E=/[\p{P}\p{S}]/u,F=/[\s\p{P}\p{S}]/u,G=/[^\s\p{P}\p{S}]/u,H=h(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,F).getRegex(),I=/(?!~)[\p{P}\p{S}]/u,J=h(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",i?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),K=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,L=h(K,"u").replace(/punct/g,E).getRegex(),M=h(K,"u").replace(/punct/g,I).getRegex(),N=h(/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,"u").replace(/openQuote/g,/[\p{Pi}\p{Ps}"']/u).replace(/punct/g,E).getRegex(),O="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",P=h(O,"gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),Q=h(O,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,I).getRegex(),R=h("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),S=h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),T=h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),U=h(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,E).getRegex(),V=h("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,G).replace(/punctSpace/g,F).replace(/punct/g,E).getRegex(),W=h(/\\(punct)/,"gu").replace(/punct/g,E).getRegex(),X=h(/^<(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(),Y=h(u).replace("(?:--\x3e|$)","--\x3e").getRegex(),Z=h("^comment|^</[a-zA-Z][a-zA-Z0-9-]*\\s*>|^<[a-zA-Z][a-zA-Z0-9-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Y).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),$=/\[(?:\\[\s\S]|[^\[\]\\])*\]/,_=h(/(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/).replace("brackets",$).getRegex(),aa=h(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",_).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),ab=h(/^!?\[(label)\]\[(ref)\]/).replace("label",_).replace("ref",q).getRegex(),ac=h(/^!?\[(ref)\](?:\[\])?/).replace("ref",q).getRegex(),ad=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\]){1,999}/,ae=h(/(?:[^\[\]\\`]*(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\]))){0,999}?[^\[\]\\`]*?/).replace("brackets",$).getRegex(),af=h("reflink|nolink(?!\\()","g").replace("reflink",h(/^!?\[(label)\]\[(ref)\]/).replace("label",ae).replace("ref",ad).getRegex()).replace("nolink",h(/^!?\[(ref)\](?:\[\])?/).replace("ref",ad).getRegex()).getRegex(),ag=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ah={_backpedal:f,anyPunctuation:W,autolink:X,blockSkip:J,br:D,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:f,delLDelim:f,delRDelim:f,emStrongLDelim:L,emStrongRDelimAst:P,emStrongRDelimUnd:S,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:aa,nolink:ac,punctuation:H,reflink:ab,reflinkSearch:af,tag:Z,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:f},ai={...ah,emStrongLDelim:N,emStrongRDelimAst:R,emStrongRDelimUnd:T,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",_).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_).getRegex()},aj={...ah,emStrongRDelimAst:Q,emStrongLDelim:M,delLDelim:U,delRDelim:V,url:h(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",ag).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:h(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",ag).getRegex()},ak={...aj,br:h(D).replace("{2,}","*").getRegex(),text:h(aj.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},al={normal:z,gfm:B,pedantic:C},am={normal:ah,gfm:aj,breaks:ak,pedantic:ai},an={"&":"&","<":"<",">":">",'"':""","'":"'"},ao=a=>an[a];function ap(a,b){if(b){if(j.escapeTest.test(a))return a.replace(j.escapeReplace,ao)}else if(j.escapeTestNoEncode.test(a))return a.replace(j.escapeReplaceNoEncode,ao);return a}function aq(a){try{a=encodeURI(a).replace(j.percentDecode,"%")}catch{return null}return a}function ar(a,b){let c=a.replace(j.findPipe,(a,b,c)=>{let d=!1,e=b;for(;--e>=0&&"\\"===c[e];)d=!d;return d?"|":" |"}).split(j.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(j.slashPipe,"|");return c}function as(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 at(a){let b=a.split(`
|
|
4
|
+
`),c=b.length-1;for(;c>=0&&j.blankLine.test(b[c]);)c--;return b.length-c<=2?a:b.slice(0,c+1).join(`
|
|
5
|
+
`)}function au(a){return a.toLowerCase().toUpperCase().toLowerCase()}function av(a,b,c,d,e){let f=b.href,g=b.title||null,h=a[1].replace(e.other.outputLinkReplace,"$1"),i="!"===a[0].charAt(0);d.state.inLink=!0;let j=d.state.linkEmitted,k=d.state.inRawBlock;d.state.linkEmitted=!1;let l=d.inlineTokens(h),m=d.state.linkEmitted;if(d.state.linkEmitted=j,d.state.inLink=!1,!i){if(m){d.state.inRawBlock=k;return}d.state.linkEmitted=!0}return{type:i?"image":"link",raw:c,href:f,title:g,text:h,tokens:l}}function aw(a,b,c,d){if(!b.includes("<"))return!1;for(let e=0;e<b.length;e++){if("\\"===b[e]){e++;continue}if("`"===b[e]){let a=d.inline.code.exec(b.slice(e));if(a){e+=a[0].length-1;continue}}if("<"!==b[e])continue;let f=a.slice(c+e),g=d.inline.tag.exec(f)||d.inline.autolink.exec(f);if(g){if(g[0].length>b.length-e)return!0;e+=g[0].length-1}}return!1}var ax=class{options;rules;lexer;constructor(a){this.options=a||e}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=this.options.pedantic?b[0]:at(b[0]),c=a.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:a,codeBlockStyle:"indented",text:c}}}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(`
|
|
6
|
+
`).map(a=>{let b=a.match(c.other.beginningSpace);if(null===b)return a;let[d]=b;return a.slice(Math.min(d.length,e.length))}).join(`
|
|
7
|
+
`)}(a,b[3]||"",this.rules);return{type:"code",raw:a,lang:b[2]?b[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):b[2],text:c}}}heading(a){let b=this.rules.block.heading.exec(a);if(b){let a=b[2].trim();if(this.rules.other.endingHash.test(a)){let b=as(a,"#");(this.options.pedantic||!b||this.rules.other.endingSpaceTabChar.test(b))&&(a=b.trim())}return{type:"heading",raw:as(b[0],`
|
|
8
|
+
`),depth:b[1].length,text:a,tokens:this.lexer.inline(a)}}}hr(a){let b=this.rules.block.hr.exec(a);if(b)return{type:"hr",raw:as(b[0],`
|
|
9
|
+
`)}}blockquote(a){let b=this.rules.block.blockquote.exec(a);if(b){let a=as(b[0],`
|
|
10
|
+
`).split(`
|
|
11
|
+
`),c="",d="",e=[];for(;a.length>0;){let b=!1,f=[],g;for(g=0;g<a.length;g++)if(this.rules.other.blockquoteStart.test(a[g]))f.push(a[g]),b=!0;else if(b)break;else f.push(a[g]);a=a.slice(g);let h=f.join(`
|
|
12
|
+
`),i=h.replace(this.rules.other.blockquoteSetextReplace,`
|
|
13
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");c=c?`${c}
|
|
14
|
+
${h}`:h,d=d?`${d}
|
|
15
|
+
${i}`:i;let j=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(i,e,!0),this.lexer.state.top=j,0===a.length)break;let k=e.at(-1);if(k?.type==="code")break;if(k?.type==="blockquote"){let b=a.join(`
|
|
16
|
+
`),f=k.raw+`
|
|
17
|
+
`+b.replace(this.rules.other.blockquoteSetextReplace2,""),g=this.blockquote(f);e[e.length-1]=g,c=`${c}
|
|
18
|
+
${b}`,d=d.substring(0,d.length-k.text.length)+g.text;break}if(k?.type==="list"){let b=k.raw+`
|
|
19
|
+
`+a.join(`
|
|
20
|
+
`),f=this.list(b);e[e.length-1]=f,c=c.substring(0,c.length-k.raw.length)+f.raw,d=d.substring(0,d.length-k.raw.length)+f.raw,a=b.substring(e.at(-1).raw.length).split(`
|
|
21
|
+
`);continue}}return{type:"blockquote",raw:c,tokens:e,text:d}}}list(a){let b=this.rules.block.list.exec(a);if(b){let c=b[1].trim(),d=c.length>1,e={type:"list",raw:"",ordered:d,start:d?+c.slice(0,-1):"",loose:!1,items:[]};c=d?`\\d{1,9}\\${c.slice(-1)}`:`\\${c}`,this.options.pedantic&&(c=d?c:"[*+-]");let f=this.rules.other.listItemRegex(c),g=!1;for(;a;){let c=!1,d="",h="";if(!(b=f.exec(a))||this.rules.block.hr.test(a))break;d=b[0],a=a.substring(d.length);let i=function(a,b=0){let c=b,d="";for(let b of a)if(" "===b){let a=4-c%4;d+=" ".repeat(a),c+=a}else d+=b,c++;return d}(b[2].split(`
|
|
22
|
+
`,1)[0],b[1].length),j=a.split(`
|
|
23
|
+
`,1)[0],k=!i.trim(),l=0;if(this.options.pedantic?(l=2,h=i.trimStart()):k?l=b[1].length+1:(l=(l=i.search(this.rules.other.nonSpaceChar))>4?1:l,h=i.slice(l),l+=b[1].length),k&&this.rules.other.blankLine.test(j)&&(d+=j+`
|
|
24
|
+
`,a=a.substring(j.length+1),c=!0),!c){let b=this.rules.other.nextBulletRegex(l),c=this.rules.other.hrRegex(l),e=this.rules.other.fencesBeginRegex(l),f=this.rules.other.headingBeginRegex(l),g=this.rules.other.htmlBeginRegex(l),m=this.rules.other.blockquoteBeginRegex(l);for(;a;){let n=a.split(`
|
|
25
|
+
`,1)[0],o;if(j=n,o=this.options.pedantic?j=j.replace(this.rules.other.listReplaceNesting," "):j.replace(this.rules.other.tabCharGlobal," "),e.test(j)||f.test(j)||g.test(j)||m.test(j)||b.test(j)||c.test(j))break;if(o.search(this.rules.other.nonSpaceChar)>=l||!j.trim())h+=`
|
|
26
|
+
`+o.slice(l);else{if(k||i.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||e.test(i)||f.test(i)||c.test(i))break;h+=`
|
|
27
|
+
`+j}k=!j.trim(),d+=n+`
|
|
28
|
+
`,a=a.substring(n.length+1),i=o.slice(l)}}e.loose||(g?e.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(g=!0)),e.items.push({type:"list_item",raw:d,task:!!this.options.gfm&&this.rules.other.listIsTask.test(h),loose:!1,text:h,tokens:[]}),e.raw+=d}let h=e.items.at(-1);if(!h)return;for(let a of(h.raw=h.raw.trimEnd(),h.text=h.text.trimEnd(),e.raw=e.raw.trimEnd(),e.items))if(this.lexer.state.top=!1,a.tokens=this.lexer.blockTokens(a.text,[]),!e.loose){let b=a.tokens.filter(a=>"space"===a.type);e.loose=b.length>0&&b.some(a=>this.rules.other.anyLine.test(a.raw))}for(let a of e.items){let b=a.tokens[0];if(a.task&&(b?.type==="text"||b?.type==="paragraph")){a.text=a.text.replace(this.rules.other.listReplaceTask,""),b.raw=b.raw.replace(this.rules.other.listReplaceTask,""),b.text=b.text.replace(this.rules.other.listReplaceTask,"");for(let a=this.lexer.inlineQueue.length-1;a>=0;a--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[a].src)){this.lexer.inlineQueue[a].src=this.lexer.inlineQueue[a].src.replace(this.rules.other.listReplaceTask,"");break}let c=this.rules.other.listTaskCheckbox.exec(a.raw);if(c){let b={type:"checkbox",raw:c[0]+" ",checked:"[ ]"!==c[0]};a.checked=b.checked,e.loose?a.tokens[0]&&["paragraph","text"].includes(a.tokens[0].type)&&"tokens"in a.tokens[0]&&a.tokens[0].tokens?(a.tokens[0].raw=b.raw+a.tokens[0].raw,a.tokens[0].text=b.raw+a.tokens[0].text,a.tokens[0].tokens.unshift(b)):a.tokens.unshift({type:"paragraph",raw:b.raw,text:b.raw,tokens:[b]}):a.tokens.unshift(b)}}else a.task&&(a.task=!1)}if(e.loose)for(let a of e.items)for(let b of(a.loose=!0,a.tokens))"text"===b.type&&(b.type="paragraph");return e}}html(a){let b=this.rules.block.html.exec(a);if(b){let a=at(b[0]);return{type:"html",block:!0,raw:a,pre:"pre"===b[1]||"script"===b[1]||"style"===b[1],text:a}}}def(a){let b=this.rules.block.def.exec(a);if(b){let a=au(b[1]).replace(this.rules.other.multipleSpaceGlobal," "),c=b[2]?b[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",d=b[3]?b[3].substring(1,b[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):b[3];return{type:"def",tag:a,raw:as(b[0],`
|
|
29
|
+
`),href:c,title:d}}}table(a){let b=this.rules.block.table.exec(a);if(!b||!this.rules.other.tableDelimiter.test(b[2]))return;let c=ar(b[1]),d=b[2].replace(this.rules.other.tableAlignChars,"").split("|"),e=b[3]?.trim()?b[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
30
|
+
`):[],f={type:"table",raw:as(b[0],`
|
|
31
|
+
`),header:[],align:[],rows:[]};if(c.length===d.length){for(let a of d)this.rules.other.tableAlignRight.test(a)?f.align.push("right"):this.rules.other.tableAlignCenter.test(a)?f.align.push("center"):this.rules.other.tableAlignLeft.test(a)?f.align.push("left"):f.align.push(null);for(let a=0;a<c.length;a++)f.header.push({text:c[a],tokens:this.lexer.inline(c[a]),header:!0,align:f.align[a]});for(let a of e)f.rows.push(ar(a,f.header.length).map((a,b)=>({text:a,tokens:this.lexer.inline(a),header:!1,align:f.align[b]})));return f}}lheading(a){let b=this.rules.block.lheading.exec(a);if(b){let a=b[1].trim();return{type:"heading",raw:as(b[0],`
|
|
32
|
+
`),depth:"="===b[2].charAt(0)?1:2,text:a,tokens:this.lexer.inline(a)}}}paragraph(a){let b=this.rules.block.paragraph.exec(a);if(b){let a=b[1].charAt(b[1].length-1)===`
|
|
33
|
+
`?b[1].slice(0,-1):b[1];return{type:"paragraph",raw:b[0],text:a,tokens:this.lexer.inline(a)}}}text(a){let b=this.rules.block.text.exec(a);if(b)return{type:"text",raw:b[0],text:b[0],tokens:this.lexer.inline(b[0])}}escape(a){let b=this.rules.inline.escape.exec(a);if(b)return{type:"escape",raw:b[0],text:b[1]}}tag(a){let b=this.rules.inline.tag.exec(a);if(b)return!this.lexer.state.inLink&&this.rules.other.startATag.test(b[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(b[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(b[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(b[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:b[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:b[0]}}link(a){let b=this.rules.inline.link.exec(a);if(b){let c="!"===b[0].charAt(0)?2:1;if(!this.options.pedantic&&aw(a,b[1],c,this.rules))return;let d=b[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(d)){if(!this.rules.other.endAngleBracket.test(d))return;let a=as(d.slice(0,-1),"\\");if((d.length-a.length)%2==0)return}else{let a=function(a){if(-1===a.indexOf(")"))return -1;let b=0;for(let c=0;c<a.length;c++)if("\\"===a[c])c++;else if("("===a[c])b++;else if(")"===a[c]&&--b<0)return c;return b>0?-2:-1}(b[2]);if(-2===a)return;if(a>-1){let c=(0===b[0].indexOf("!")?5:4)+b[1].length+a;b[2]=b[2].substring(0,a),b[0]=b[0].substring(0,c).trim(),b[3]=""}}let e=b[2],f="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(e);a&&(e=a[1],f=a[3])}else f=b[3]?b[3].slice(1,-1):"";return e=e.trim(),this.rules.other.startAngleBracket.test(e)&&(e=this.options.pedantic&&!this.rules.other.endAngleBracket.test(d)?e.slice(1):e.slice(1,-1)),av(b,{href:e&&e.replace(this.rules.inline.anyPunctuation,"$1"),title:f&&f.replace(this.rules.inline.anyPunctuation,"$1")},b[0],this.lexer,this.rules)}}reflink(a,b){let c;if((c=this.rules.inline.reflink.exec(a))||(c=this.rules.inline.nolink.exec(a))){let d="!"===c[0].charAt(0)?2:1;if(!this.options.pedantic&&aw(a,c[1],d,this.rules))return;let e=b[au((c[2]||c[1]).replace(this.rules.other.multipleSpaceGlobal," "))];if(!e){let a=c[0].charAt(0);return{type:"text",raw:a,text:a}}return av(c,e,c[0],this.lexer,this.rules)}}emStrong(a,b,c=""){let d=this.rules.inline.emStrongLDelim.exec(a);if(!(!d||!d[1]&&!d[2]&&!d[3]&&!d[4]||d[4]&&c.match(this.rules.other.unicodeAlphaNumeric))&&(!(d[1]||d[3])||!c||this.rules.inline.punctuation.exec(c))){let e=[...d[0]].length-1,f,g,h=e,i=0,j=d[0][0],k=c===j,l="*"===j?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,b=b.slice(-1*a.length+e);null!==(d=l.exec(b));){if(!(f=d[1]||d[2]||d[3]||d[4]||d[5]||d[6]))continue;if(g=[...f].length,d[3]||d[4]){h+=g;continue}if(d[5]||d[6]){if(e%3&&!((e+g)%3)){i+=g;continue}if(k)break}if((h-=g)>0)continue;g=Math.min(g,g+h+i);let b=[...d[0]][0].length,c=a.slice(0,e+d.index+b+g);if(Math.min(e,g)%2){let a=c.slice(1,-1);return{type:"em",raw:c,text:a,tokens:this.lexer.inlineTokens(a)}}let j=c.slice(2,-2);return{type:"strong",raw:c,text:j,tokens:this.lexer.inlineTokens(j)}}}}codespan(a){let b=this.rules.inline.code.exec(a);if(b){let a=b[2].replace(this.rules.other.newLineCharGlobal," "),c=this.rules.other.nonSpaceChar.test(a),d=this.rules.other.startingSpaceChar.test(a)&&this.rules.other.endingSpaceChar.test(a);return c&&d&&(a=a.substring(1,a.length-1)),{type:"codespan",raw:b[0],text:a}}}br(a){let b=this.rules.inline.br.exec(a);if(b)return{type:"br",raw:b[0]}}del(a,b,c=""){let d=this.rules.inline.delLDelim.exec(a);if(d&&(!d[1]||!c||this.rules.inline.punctuation.exec(c))){let c=[...d[0]].length-1,e,f,g=c,h=this.rules.inline.delRDelim;for(h.lastIndex=0,b=b.slice(-1*a.length+c);null!==(d=h.exec(b));){if(!(e=d[1]||d[2]||d[3]||d[4]||d[5]||d[6])||(f=[...e].length)!==c)continue;if(d[3]||d[4]){g+=f;continue}if((g-=f)>0)continue;f=Math.min(f,f+g);let b=[...d[0]][0].length,h=a.slice(0,c+d.index+b+f),i=h.slice(c,-c);return{type:"del",raw:h,text:i,tokens:this.lexer.inlineTokens(i)}}}}autolink(a){let b=this.rules.inline.autolink.exec(a);if(b){let a,c;return c="@"===b[2]?"mailto:"+(a=b[1]):a=b[1],{type:"link",raw:b[0],text:a,href:c,autolink:!0,tokens:[{type:"text",raw:a,text:a}]}}}url(a){let b;if(b=this.rules.inline.url.exec(a)){let a,c;if("@"===b[2])c="mailto:"+(a=b[0]);else{let d;do d=b[0],b[0]=this.rules.inline._backpedal.exec(b[0])?.[0]??"";while(d!==b[0]);a=b[0],c="www."===b[1]?"http://"+b[0]:b[0]}return{type:"link",raw:b[0],text:a,href:c,autolink:!0,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(a){let b=this.rules.inline.text.exec(a);if(b){let a=this.lexer.state.inRawBlock;return{type:"text",raw:b[0],text:b[0],escaped:a}}}},ay=class a{tokens;options;state;inlineQueue;tokenizer;constructor(a){this.tokens=[],this.tokens.links=Object.create(null),this.options=a||e,this.options.tokenizer=this.options.tokenizer||new ax,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,linkEmitted:!1,top:!0};let b={other:j,block:al.normal,inline:am.normal};this.options.pedantic?(b.block=al.pedantic,b.inline=am.pedantic):this.options.gfm&&(b.block=al.gfm,this.options.breaks?b.inline=am.breaks:b.inline=am.gfm),this.tokenizer.rules=b}static get rules(){return{block:al,inline:am}}static lex(b,c){return new a(c).lex(b)}static lexInline(b,c){return new a(c).inlineTokens(b)}lex(a){a=a.replace(j.carriageReturn,`
|
|
34
|
+
`),this.blockTokens(a,this.tokens);for(let a=0;a<this.inlineQueue.length;a++){let b=this.inlineQueue[a];this.inlineTokens(b.src,b.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(a,b=[],c=!1){this.tokenizer.lexer=this,this.options.pedantic&&(a=a.replace(j.tabCharGlobal," ").replace(j.spaceLine,""));let d=1/0;for(;a;){let e;if(a.length<d)d=a.length;else{this.infiniteLoopError(a.charCodeAt(0));break}if(this.options.extensions?.block?.some(c=>!!(e=c.call({lexer:this},a,b))&&(a=a.substring(e.raw.length),b.push(e),!0)))continue;if(e=this.tokenizer.space(a)){a=a.substring(e.raw.length);let c=b.at(-1);1===e.raw.length&&void 0!==c?c.raw+=`
|
|
35
|
+
`:b.push(e);continue}if(e=this.tokenizer.code(a)){a=a.substring(e.raw.length);let c=b.at(-1);c?.type==="paragraph"||c?.type==="text"?(c.raw+=(c.raw.endsWith(`
|
|
36
|
+
`)?"":`
|
|
37
|
+
`)+e.raw,c.text+=`
|
|
38
|
+
`+e.text,this.inlineQueue.at(-1).src=c.text):b.push(e);continue}if((e=this.tokenizer.fences(a))||(e=this.tokenizer.heading(a))||(e=this.tokenizer.hr(a))||(e=this.tokenizer.blockquote(a))||(e=this.tokenizer.list(a))||(e=this.tokenizer.html(a))){a=a.substring(e.raw.length),b.push(e);continue}if(e=this.tokenizer.def(a)){a=a.substring(e.raw.length);let c=b.at(-1);c?.type==="paragraph"||c?.type==="text"?(c.raw+=(c.raw.endsWith(`
|
|
39
|
+
`)?"":`
|
|
40
|
+
`)+e.raw,c.text+=`
|
|
41
|
+
`+e.raw,this.inlineQueue.at(-1).src=c.text):this.tokens.links[e.tag]||(this.tokens.links[e.tag]={href:e.href,title:e.title},b.push(e));continue}if((e=this.tokenizer.table(a))||(e=this.tokenizer.lheading(a))){a=a.substring(e.raw.length),b.push(e);continue}let f=a;if(this.options.extensions?.startBlock){let b=1/0,c=a.slice(1),d;this.options.extensions.startBlock.forEach(a=>{"number"==typeof(d=a.call({lexer:this},c))&&d>=0&&(b=Math.min(b,d))}),b<1/0&&b>=0&&(f=a.substring(0,b+1))}if(this.state.top&&(e=this.tokenizer.paragraph(f))){let d=b.at(-1);c&&d?.type==="paragraph"?(d.raw+=(d.raw.endsWith(`
|
|
42
|
+
`)?"":`
|
|
43
|
+
`)+e.raw,d.text+=`
|
|
44
|
+
`+e.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=d.text):b.push(e),c=f.length!==a.length,a=a.substring(e.raw.length);continue}if(e=this.tokenizer.text(a)){a=a.substring(e.raw.length);let c=b.at(-1);c?.type==="text"?(c.raw+=(c.raw.endsWith(`
|
|
45
|
+
`)?"":`
|
|
46
|
+
`)+e.raw,c.text+=`
|
|
47
|
+
`+e.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):b.push(e);continue}if(a){this.infiniteLoopError(a.charCodeAt(0));break}}return this.state.top=!0,b}inline(a,b=[]){return this.inlineQueue.push({src:a,tokens:b}),b}linkInText(a){if(!a.includes("["))return!1;let b=this.tokenizer.rules.inline.link;for(let c of a.matchAll(this.tokenizer.rules.inline.blockSkip))if(b.test(c[0])&&"!"!==a.charAt(c.index-1))return!0;for(let b of a.matchAll(this.tokenizer.rules.inline.reflinkSearch)){let a=b[0],c=a.lastIndexOf("[");if(!("!"===a.charAt(0)||!Object.hasOwn(this.tokens.links,au(a.slice(c+1,-1))))&&!(c>1&&this.linkInText(a.slice(1,c-1))))return!0}return!1}inlineTokens(a,b=[]){this.tokenizer.lexer=this;let c=a;if(this.tokens.links&&a.includes("[")){let a=this.tokenizer.rules.inline.reflinkSearch,b=c=>{let d=c.lastIndexOf("[");if(!Object.hasOwn(this.tokens.links,au(c.slice(d+1,-1))))return c;if(d>1&&"!"!==c.charAt(0)){let e=c.slice(1,d-1);if(this.linkInText(e))return"["+e.replace(a,b)+"]["+"a".repeat(c.length-d-2)+"]"}return"["+"a".repeat(c.length-2)+"]"};c=c.replace(a,b)}c=(c=c.replace(this.tokenizer.rules.inline.anyPunctuation,a=>"+".repeat(a.length))).replace(this.tokenizer.rules.inline.blockSkip,(a,b,c)=>{let d=c?c.length:0;return a.slice(0,d)+"["+"a".repeat(a.length-d-2)+"]"}),c=this.options.hooks?.emStrongMask?.call({lexer:this},c)??c;let d=!1,e="",f=1/0;for(;a;){let g;if(a.length<f)f=a.length;else{this.infiniteLoopError(a.charCodeAt(0));break}if(d||(e=""),d=!1,this.options.extensions?.inline?.some(c=>!!(g=c.call({lexer:this},a,b))&&(a=a.substring(g.raw.length),b.push(g),!0)))continue;if((g=this.tokenizer.escape(a))||(g=this.tokenizer.tag(a))||(g=this.tokenizer.link(a))){a=a.substring(g.raw.length),b.push(g);continue}if(g=this.tokenizer.reflink(a,this.tokens.links)){a=a.substring(g.raw.length);let c=b.at(-1);"text"===g.type&&c?.type==="text"?(c.raw+=g.raw,c.text+=g.text):b.push(g);continue}if((g=this.tokenizer.emStrong(a,c,e))||(g=this.tokenizer.codespan(a))||(g=this.tokenizer.br(a))||(g=this.tokenizer.del(a,c,e))||(g=this.tokenizer.autolink(a))||!this.state.inLink&&(g=this.tokenizer.url(a))){a=a.substring(g.raw.length),b.push(g);continue}let h=a;if(this.options.extensions?.startInline){let b=1/0,c=a.slice(1),d;this.options.extensions.startInline.forEach(a=>{"number"==typeof(d=a.call({lexer:this},c))&&d>=0&&(b=Math.min(b,d))}),b<1/0&&b>=0&&(h=a.substring(0,b+1))}if(g=this.tokenizer.inlineText(h)){a=a.substring(g.raw.length),"_"!==g.raw.slice(-1)&&(e=g.raw.slice(-1)),d=!0;let c=b.at(-1);c?.type==="text"?(c.raw+=g.raw,c.text+=g.text):b.push(g);continue}if(a){this.infiniteLoopError(a.charCodeAt(0));break}}return b}infiniteLoopError(a){let b="Infinite loop on byte: "+a;if(this.options.silent)console.error(b);else throw Error(b)}},az=class{options;parser;constructor(a){this.options=a||e}space(a){return""}code({text:a,lang:b,escaped:c}){let d=(b||"").match(j.notSpaceStart)?.[0],e=a?a.replace(j.endingNewline,"")+`
|
|
48
|
+
`:"";return d?'<pre><code class="language-'+ap(d)+'">'+(c?e:ap(e,!0))+`</code></pre>
|
|
49
|
+
`:"<pre><code>"+(c?e:ap(e,!0))+`</code></pre>
|
|
50
|
+
`}blockquote({tokens:a}){return`<blockquote>
|
|
51
|
+
${this.parser.parse(a)}</blockquote>
|
|
52
|
+
`}html({text:a}){return a}def(a){return""}heading({tokens:a,depth:b}){return`<h${b}>${this.parser.parseInline(a)}</h${b}>
|
|
53
|
+
`}hr(a){return`<hr>
|
|
54
|
+
`}list(a){let b=a.ordered,c=a.start,d="";for(let b=0;b<a.items.length;b++){let c=a.items[b];d+=this.listitem(c)}let e=b?"ol":"ul";return"<"+e+(b&&1!==c?' start="'+c+'"':"")+`>
|
|
55
|
+
`+d+"</"+e+`>
|
|
56
|
+
`}listitem(a){return`<li>${this.parser.parse(a.tokens)}</li>
|
|
57
|
+
`}checkbox({checked:a}){return"<input "+(a?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:a}){return`<p>${this.parser.parseInline(a)}</p>
|
|
58
|
+
`}table(a){let b="",c="";for(let b=0;b<a.header.length;b++)c+=this.tablecell(a.header[b]);b+=this.tablerow({text:c});let d="";for(let b=0;b<a.rows.length;b++){let e=a.rows[b];c="";for(let a=0;a<e.length;a++)c+=this.tablecell(e[a]);d+=this.tablerow({text:c})}return d&&(d=`<tbody>${d}</tbody>`),`<table>
|
|
59
|
+
<thead>
|
|
60
|
+
`+b+`</thead>
|
|
61
|
+
`+d+`</table>
|
|
62
|
+
`}tablerow({text:a}){return`<tr>
|
|
63
|
+
${a}</tr>
|
|
64
|
+
`}tablecell(a){let b=this.parser.parseInline(a.tokens),c=a.header?"th":"td";return(a.align?`<${c} align="${a.align}">`:`<${c}>`)+b+`</${c}>
|
|
65
|
+
`}strong({tokens:a}){return`<strong>${this.parser.parseInline(a)}</strong>`}em({tokens:a}){return`<em>${this.parser.parseInline(a)}</em>`}codespan({text:a}){return`<code>${ap(a,!0)}</code>`}br(a){return"<br>"}del({tokens:a}){return`<del>${this.parser.parseInline(a)}</del>`}link({href:a,title:b,text:c,tokens:d,autolink:e}){let f=e?ap(c,!0):this.parser.parseInline(d),g=aq(a);if(null===g)return f;let h='<a href="'+(a=ap(g,e))+'"';return b&&(h+=' title="'+ap(b)+'"'),h+=">"+f+"</a>"}image({href:a,title:b,text:c,tokens:d}){d&&(c=this.parser.parseInline(d,this.parser.textRenderer));let e=aq(a);if(null===e)return ap(c);a=e;let f=`<img src="${ap(a)}" alt="${ap(c)}"`;return b&&(f+=` title="${ap(b)}"`),f+=">"}text(a){return"tokens"in a&&a.tokens?this.parser.parseInline(a.tokens):"escaped"in a&&a.escaped?a.text:ap(a.text)}},aA=class{strong({text:a}){return a}em({text:a}){return a}codespan({text:a}){return a}del({text:a}){return a}html({text:a}){return a}text({text:a}){return a}link({text:a}){return""+a}image({text:a}){return""+a}br(){return""}checkbox({raw:a}){return a}},aB=class a{options;renderer;textRenderer;constructor(a){this.options=a||e,this.options.renderer=this.options.renderer||new az,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new aA}static parse(b,c){return new a(c).parse(b)}static parseInline(b,c){return new a(c).parseInline(b)}parse(a){this.renderer.parser=this;let b="";for(let c=0;c<a.length;c++){let d=a[c];if(this.options.extensions?.renderers?.[d.type]){let a=this.options.extensions.renderers[d.type].call({parser:this},d);if(!1!==a||!["space","hr","heading","code","table","blockquote","list","checkbox","html","def","paragraph","text"].includes(d.type)){b+=a||"";continue}}switch(d.type){case"space":b+=this.renderer.space(d);break;case"hr":b+=this.renderer.hr(d);break;case"heading":b+=this.renderer.heading(d);break;case"code":b+=this.renderer.code(d);break;case"table":b+=this.renderer.table(d);break;case"blockquote":b+=this.renderer.blockquote(d);break;case"list":b+=this.renderer.list(d);break;case"checkbox":b+=this.renderer.checkbox(d);break;case"html":b+=this.renderer.html(d);break;case"def":b+=this.renderer.def(d);break;case"paragraph":b+=this.renderer.paragraph(d);break;case"text":b+=this.renderer.text(d);break;default:{let a='Token with "'+d.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw Error(a)}}}return b}parseInline(a,b=this.renderer){this.renderer.parser=this;let c="";for(let d=0;d<a.length;d++){let e=a[d];if(this.options.extensions?.renderers?.[e.type]){let a=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==a||!["escape","html","link","image","checkbox","strong","em","codespan","br","del","text"].includes(e.type)){c+=a||"";continue}}switch(e.type){case"escape":case"text":c+=b.text(e);break;case"html":c+=b.html(e);break;case"link":c+=b.link(e);break;case"image":c+=b.image(e);break;case"checkbox":c+=b.checkbox(e);break;case"strong":c+=b.strong(e);break;case"em":c+=b.em(e);break;case"codespan":c+=b.codespan(e);break;case"br":c+=b.br(e);break;case"del":c+=b.del(e);break;default:{let a='Token with "'+e.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw Error(a)}}}return c}},aC=class{options;block;constructor(a){this.options=a||e}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(a){return a}postprocess(a){return a}processAllTokens(a){return a}emStrongMask(a){return a}provideLexer(a=this.block){return a?ay.lex:ay.lexInline}provideParser(a=this.block){return a?aB.parse:aB.parseInline}},aD=new class{defaults=d();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=aB;Renderer=az;TextRenderer=aA;Lexer=ay;Tokenizer=ax;Hooks=aC;constructor(...a){this.use(...a)}walkTokens(a,b){let c=[];for(let d of a)switch(c=c.concat(b.call(this,d)),d.type){case"table":for(let a of d.header)c=c.concat(this.walkTokens(a.tokens,b));for(let a of d.rows)for(let d of a)c=c.concat(this.walkTokens(d.tokens,b));break;case"list":c=c.concat(this.walkTokens(d.items,b));break;default:{let a=d;this.defaults.extensions?.childTokens?.[a.type]?this.defaults.extensions.childTokens[a.type].forEach(d=>{let e=a[d].flat(1/0);c=c.concat(this.walkTokens(e,b))}):a.tokens&&(c=c.concat(this.walkTokens(a.tokens,b)))}}return c}use(...a){let b=this.defaults.extensions||{renderers:{},childTokens:{}};return a.forEach(a=>{let c={...a};if(c.async=this.defaults.async||c.async||!1,a.extensions&&(a.extensions.forEach(a=>{if(!a.name)throw Error("extension name required");if("renderer"in a){let c=b.renderers[a.name];c?b.renderers[a.name]=function(...b){let d=a.renderer.apply(this,b);return!1===d&&(d=c.apply(this,b)),d}:b.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||"block"!==a.level&&"inline"!==a.level)throw Error("extension level must be 'block' or 'inline'");let c=b[a.level];c?c.unshift(a.tokenizer):b[a.level]=[a.tokenizer],a.start&&("block"===a.level?b.startBlock?b.startBlock.push(a.start):b.startBlock=[a.start]:"inline"===a.level&&(b.startInline?b.startInline.push(a.start):b.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(b.childTokens[a.name]=a.childTokens)}),c.extensions=b),a.renderer){let b=this.defaults.renderer||new az(this.defaults);for(let c in a.renderer){if(!(c in b))throw Error(`renderer '${c}' does not exist`);if(["options","parser"].includes(c))continue;let d=a.renderer[c],e=b[c];b[c]=(...a)=>{let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c||""}}c.renderer=b}if(a.tokenizer){let b=this.defaults.tokenizer||new ax(this.defaults);for(let c in a.tokenizer){if(!(c in b))throw Error(`tokenizer '${c}' does not exist`);if(["options","rules","lexer"].includes(c))continue;let d=a.tokenizer[c],e=b[c];b[c]=(...a)=>{let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c}}c.tokenizer=b}if(a.hooks){let b=this.defaults.hooks||new aC;for(let c in a.hooks){if(!(c in b))throw Error(`hook '${c}' does not exist`);if(["options","block"].includes(c))continue;let d=a.hooks[c],e=b[c];aC.passThroughHooks.has(c)?b[c]=a=>{if(this.defaults.async&&aC.passThroughHooksRespectAsync.has(c))return(async()=>{let c=await d.call(b,a);return e.call(b,c)})();let f=d.call(b,a);return e.call(b,f)}:b[c]=(...a)=>{if(this.defaults.async)return(async()=>{let c=await d.apply(b,a);return!1===c&&(c=await e.apply(b,a)),c})();let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c}}c.hooks=b}if(a.walkTokens){let b=this.defaults.walkTokens,d=a.walkTokens;c.walkTokens=function(a){let c=[];return c.push(d.call(this,a)),b&&(c=c.concat(b.call(this,a))),c}}this.defaults={...this.defaults,...c}}),this}setOptions(a){return this.defaults={...this.defaults,...a},this}lexer(a,b){return ay.lex(a,b??this.defaults)}parser(a,b){return aB.parse(a,b??this.defaults)}parseMarkdown(a){return(b,c)=>{let d={...c},e={...this.defaults,...d},f=this.onError(!!e.silent,!!e.async);if(!0===this.defaults.async&&!1===d.async)return f(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof b>"u"||null===b)return f(Error("marked(): input parameter is undefined or null"));if("string"!=typeof b)return f(Error("marked(): input parameter is of type "+Object.prototype.toString.call(b)+", string expected"));if(e.hooks&&(e.hooks.options=e,e.hooks.block=a),e.async)return(async()=>{let c=e.hooks?await e.hooks.preprocess(b):b,d=await (e.hooks?await e.hooks.provideLexer(a):a?ay.lex:ay.lexInline)(c,e),f=e.hooks?await e.hooks.processAllTokens(d):d;e.walkTokens&&await Promise.all(this.walkTokens(f,e.walkTokens));let g=await (e.hooks?await e.hooks.provideParser(a):a?aB.parse:aB.parseInline)(f,e);return e.hooks?await e.hooks.postprocess(g):g})().catch(f);try{e.hooks&&(b=e.hooks.preprocess(b));let c=(e.hooks?e.hooks.provideLexer(a):a?ay.lex:ay.lexInline)(b,e);e.hooks&&(c=e.hooks.processAllTokens(c)),e.walkTokens&&this.walkTokens(c,e.walkTokens);let d=(e.hooks?e.hooks.provideParser(a):a?aB.parse:aB.parseInline)(c,e);return e.hooks&&(d=e.hooks.postprocess(d)),d}catch(a){return f(a)}}}onError(a,b){return c=>{if(c.message+=`
|
|
66
|
+
Please report this to https://github.com/markedjs/marked.`,a){let a="<p>An error occurred:</p><pre>"+ap(c.message+"",!0)+"</pre>";return b?Promise.resolve(a):a}if(b)return Promise.reject(c);throw c}}};function aE(a,b){return aD.parse(a,b)}aE.options=aE.setOptions=function(a){return aD.setOptions(a),aE.defaults=aD.defaults,e=aE.defaults,aE},aE.getDefaults=d,aE.defaults=e,aE.use=function(...a){return aD.use(...a),aE.defaults=aD.defaults,e=aE.defaults,aE},aE.walkTokens=function(a,b){return aD.walkTokens(a,b)},aE.parseInline=aD.parseInline,aE.Parser=aB,aE.parser=aB.parse,aE.Renderer=az,aE.TextRenderer=aA,aE.Lexer=ay,aE.lexer=ay.lex,aE.Tokenizer=ax,aE.Hooks=aC,aE.parse=aE,aE.options,aE.setOptions,aE.walkTokens,aE.parseInline,aB.parse,ay.lex},26338:(a,b,c)=>{c.d(b,{C1:()=>w,bL:()=>v});var d=c(70433),e=c(35676),f=c(58542),g=c(40283),h=c(76125),i=c(78945),j=c(45491),k=c(59524),l=c(86240),m=Object.defineProperty,n=(a,b)=>m(a,"name",{value:b,configurable:!0}),o="Checkbox",[p,q]=(0,f.A)(o),[r,s]=p(o);function t(a){let{__scopeCheckbox:b,checked:c,children:e,defaultChecked:f,disabled:g,form:i,name:j,onCheckedChange:k,required:m,value:n="on",internal_do_not_use_render:p}=a,[q,s]=(0,h.i)({prop:c,defaultProp:f??!1,onChange:k,caller:o}),[t,u]=d.useState(null),[v,w]=d.useState(null),x=d.useRef(!1),[A,B]=d.useReducer(a=>a+1,0),C=!t||!!i||!!t.closest("form"),D={checked:q,disabled:g,setChecked:s,control:t,setControl:u,name:j,form:i,value:n,hasConsumerStoppedPropagationRef:x,userInteractionCount:A,onUserInteraction:B,required:m,defaultChecked:!z(f)&&f,isFormControl:C,bubbleInput:v,setBubbleInput:w};return(0,l.jsx)(r,{scope:b,...D,children:y(p)?p(D):e})}n(t,"CheckboxProvider");var u=d.forwardRef(n(function({__scopeCheckbox:a,onKeyDown:b,onClick:c,...f},h){let{control:i,value:j,disabled:m,checked:o,required:p,setControl:q,setChecked:r,hasConsumerStoppedPropagationRef:t,onUserInteraction:u,isFormControl:v,bubbleInput:w}=s("CheckboxTrigger",a),x=(0,e.s)(h,q),y=d.useRef(o);return d.useEffect(()=>{let a=i?.form;if(a){let b=n(()=>r(y.current),"reset");return a.addEventListener("reset",b),()=>a.removeEventListener("reset",b)}},[i,r]),(0,l.jsx)(k.sG.button,{type:"button",role:"checkbox","aria-checked":z(o)?"mixed":o,"aria-required":p,"data-state":A(o),"data-disabled":m?"":void 0,disabled:m,value:j,...f,ref:x,onKeyDown:(0,g.mK)(b,a=>{"Enter"===a.key&&a.preventDefault()}),onClick:(0,g.mK)(c,a=>{u(),r(a=>!!z(a)||!a),w&&v&&(t.current=a.isPropagationStopped(),t.current||a.stopPropagation())})})},"CheckboxTrigger")),v=d.forwardRef(n(function(a,b){let{__scopeCheckbox:c,name:d,checked:e,defaultChecked:f,required:g,disabled:h,value:i,onCheckedChange:j,form:k,...m}=a;return(0,l.jsx)(t,{__scopeCheckbox:c,checked:e,defaultChecked:f,disabled:h,required:g,onCheckedChange:j,name:d,form:k,value:i,internal_do_not_use_render:({isFormControl:a})=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u,{...m,ref:b,__scopeCheckbox:c}),a&&(0,l.jsx)(x,{__scopeCheckbox:c})]})})},"Checkbox")),w=d.forwardRef(n(function(a,b){let{__scopeCheckbox:c,forceMount:d,...e}=a,f=s("CheckboxIndicator",c);return(0,l.jsx)(j.C,{present:d||z(f.checked)||!0===f.checked,children:(0,l.jsx)(k.sG.span,{"data-state":A(f.checked),"data-disabled":f.disabled?"":void 0,...e,ref:b,style:{pointerEvents:"none",...a.style}})})},"CheckboxIndicator")),x=d.forwardRef(n(function({__scopeCheckbox:a,onClick:b,...c},f){let{control:h,hasConsumerStoppedPropagationRef:j,userInteractionCount:m,checked:n,defaultChecked:o,required:p,disabled:q,name:r,value:t,form:u,bubbleInput:v,setBubbleInput:w}=s("CheckboxBubbleInput",a),x=(0,e.s)(f,w),y=(0,i.X)(h),A=d.useRef(!1),B=d.useRef(n),C=d.useRef(m);d.useEffect(()=>{if(!v)return;let a=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,b=m!==C.current;C.current=m;let c=B.current!==n;B.current=n;let d=!(b&&j.current);if(c&&a){A.current=!b;let c=new Event("click",{bubbles:d});v.indeterminate=z(n),a.call(v,!z(n)&&n),v.dispatchEvent(c),A.current=!1}},[v,n,j,m]);let D=d.useRef(!z(n)&&n);return(0,l.jsx)(k.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:o??D.current,required:p,disabled:q,name:r,value:t,form:u,...c,tabIndex:-1,ref:x,onClick:(0,g.mK)(b,a=>{A.current&&a.stopPropagation()}),style:{...c.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function y(a){return"function"==typeof a}function z(a){return"indeterminate"===a}function A(a){return z(a)?"indeterminate":a?"checked":"unchecked"}n(y,"isFunction"),n(z,"isIndeterminate"),n(A,"getState")},26409:(a,b,c)=>{c.d(b,{jH:()=>g});var d=c(70433);c(86240);var e=Object.defineProperty,f=d.createContext(void 0);function g(a){let b=d.useContext(f);return a||b||"ltr"}e(g,"name",{value:"useDirection",configurable:!0})},28489:(a,b)=>{function c({widthInt:a,heightInt:b,blurWidth:d,blurHeight:e,blurDataURL:f,objectFit:g}){let h=d?40*d:a,i=e?40*e:b,j=h&&i?`viewBox='0 0 ${h} ${i}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${j}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${j?"none":"contain"===g?"xMidYMid":"cover"===g?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${f}'/%3E%3C/svg%3E`}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getImageBlurSvg",{enumerable:!0,get:function(){return c}})},29699:(a,b,c)=>{c.d(b,{N:()=>k});var d=c(70433),e=c(58542),f=c(35676),g=c(3510),h=c(86240),i=Object.defineProperty,j=(a,b)=>i(a,"name",{value:b,configurable:!0});function k(a){let b=a+"CollectionProvider",[c,i]=(0,e.A)(b),[k,l]=c(b,{collectionRef:{current:null},itemMap:new Map}),m=j(a=>{let{scope:b,children:c}=a,e=d.useRef(null),f=d.useRef(new Map).current;return(0,h.jsx)(k,{scope:b,itemMap:f,collectionRef:e,children:c})},"CollectionProvider");m.displayName=b;let n=a+"CollectionSlot",o=(0,g.TL)(n),p=d.forwardRef((a,b)=>{let{scope:c,children:d}=a,e=l(n,c),g=(0,f.s)(b,e.collectionRef);return(0,h.jsx)(o,{ref:g,children:d})});p.displayName=n;let q=a+"CollectionItemSlot",r="data-radix-collection-item",s=(0,g.TL)(q),t=d.forwardRef((a,b)=>{let{scope:c,children:e,...g}=a,i=d.useRef(null),j=(0,f.s)(b,i),k=l(q,c);return d.useEffect(()=>(k.itemMap.set(i,{ref:i,...g}),()=>void k.itemMap.delete(i))),(0,h.jsx)(s,{...{[r]:""},ref:j,children:e})});function u(b){let c=l(a+"CollectionConsumer",b);return d.useCallback(()=>{let a=c.collectionRef.current;if(!a)return[];let b=Array.from(a.querySelectorAll(`[${r}]`));return Array.from(c.itemMap.values()).sort((a,c)=>b.indexOf(a.ref.current)-b.indexOf(c.ref.current))},[c.collectionRef,c.itemMap])}return t.displayName=q,j(u,"useCollection"),[{Provider:m,Slot:p,ItemSlot:t},u,i]}j(k,"createCollection");var l=new WeakMap,m=class a extends Map{static{j(this,"OrderedDict")}#a;constructor(a){super(a),this.#a=[...super.keys()],l.set(this,!0)}set(a,b){return l.get(this)&&(this.has(a)?this.#a[this.#a.indexOf(a)]=a:this.#a.push(a)),super.set(a,b),this}insert(a,b,c){let d,e=this.has(b),f=this.#a.length,g=p(a),h=g>=0?g:f+g,i=h<0||h>=f?-1:h;if(i===this.size||e&&i===this.size-1||-1===i)return this.set(b,c),this;let j=this.size+ +!e;g<0&&h++;let k=[...this.#a],l=!1;for(let a=h;a<j;a++)if(h===a){let f=k[a];k[a]===b&&(f=k[a+1]),e&&this.delete(b),d=this.get(f),this.set(b,c)}else{l||k[a-1]!==b||(l=!0);let c=k[l?a:a-1],e=d;d=this.get(c),this.delete(c),this.set(c,e)}return this}with(b,c,d){let e=new a(this);return e.insert(b,c,d),e}before(a){let b=this.#a.indexOf(a)-1;if(!(b<0))return this.entryAt(b)}setBefore(a,b,c){let d=this.#a.indexOf(a);return -1===d?this:this.insert(d,b,c)}after(a){let b=this.#a.indexOf(a);if(-1!==(b=-1===b||b===this.size-1?-1:b+1))return this.entryAt(b)}setAfter(a,b,c){let d=this.#a.indexOf(a);return -1===d?this:this.insert(d+1,b,c)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#a=[],super.clear()}delete(a){let b=super.delete(a);return b&&this.#a.splice(this.#a.indexOf(a),1),b}deleteAt(a){let b=this.keyAt(a);return void 0!==b&&this.delete(b)}at(a){let b=n(this.#a,a);if(void 0!==b)return this.get(b)}entryAt(a){let b=n(this.#a,a);if(void 0!==b)return[b,this.get(b)]}indexOf(a){return this.#a.indexOf(a)}keyAt(a){return n(this.#a,a)}from(a,b){let c=this.indexOf(a);if(-1===c)return;let d=c+b;return d<0&&(d=0),d>=this.size&&(d=this.size-1),this.at(d)}keyFrom(a,b){let c=this.indexOf(a);if(-1===c)return;let d=c+b;return d<0&&(d=0),d>=this.size&&(d=this.size-1),this.keyAt(d)}find(a,b){let c=0;for(let d of this){if(Reflect.apply(a,b,[d,c,this]))return d;c++}}findIndex(a,b){let c=0;for(let d of this){if(Reflect.apply(a,b,[d,c,this]))return c;c++}return -1}filter(b,c){let d=[],e=0;for(let a of this)Reflect.apply(b,c,[a,e,this])&&d.push(a),e++;return new a(d)}map(b,c){let d=[],e=0;for(let a of this)d.push([a[0],Reflect.apply(b,c,[a,e,this])]),e++;return new a(d)}reduce(...a){let[b,c]=a,d=0,e=c??this.at(0);for(let c of this)e=0===d&&1===a.length?c:Reflect.apply(b,this,[e,c,d,this]),d++;return e}reduceRight(...a){let[b,c]=a,d=c??this.at(-1);for(let c=this.size-1;c>=0;c--){let e=this.at(c);d=c===this.size-1&&1===a.length?e:Reflect.apply(b,this,[d,e,c,this])}return d}toSorted(b){return new a([...this.entries()].sort(b))}toReversed(){let b=new a;for(let a=this.size-1;a>=0;a--){let c=this.keyAt(a),d=this.get(c);b.set(c,d)}return b}toSpliced(...b){let c=[...this.entries()];return c.splice(...b),new a(c)}slice(b,c){let d=new a,e=this.size-1;if(void 0===b)return d;b<0&&(b+=this.size),void 0!==c&&c>0&&(e=c-1);for(let a=b;a<=e;a++){let b=this.keyAt(a),c=this.get(b);d.set(b,c)}return d}every(a,b){let c=0;for(let d of this){if(!Reflect.apply(a,b,[d,c,this]))return!1;c++}return!0}some(a,b){let c=0;for(let d of this){if(Reflect.apply(a,b,[d,c,this]))return!0;c++}return!1}};function n(a,b){if("at"in Array.prototype)return Array.prototype.at.call(a,b);let c=o(a,b);return -1===c?void 0:a[c]}function o(a,b){let c=a.length,d=p(b),e=d>=0?d:c+d;return e<0||e>=c?-1:e}function p(a){return a!=a||0===a?0:Math.trunc(a)}function q(a,b){if(a===b)return!0;if("object"!=typeof a||"object"!=typeof b||null==a||null==b)return!1;let c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(let d of c)if(!Object.prototype.hasOwnProperty.call(b,d)||a[d]!==b[d])return!1;return!0}function r(a,b){return!!(b.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_PRECEDING)}function s(a,b){return a[1].element&&b[1].element?r(a[1].element,b[1].element)?-1:1:0}function t(a){return new MutationObserver(b=>{for(let c of b)if("childList"===c.type)return void a()})}j(n,"at"),j(o,"toSafeIndex"),j(p,"toSafeInteger"),j(function(a){let b=a+"CollectionProvider",[c,i]=(0,e.A)(b),[k,l]=c(b,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new m,setItemMap:j(()=>void 0,"setItemMap")}),n=j(({state:a,...b})=>a?(0,h.jsx)(p,{...b,state:a}):(0,h.jsx)(o,{...b}),"CollectionProvider");n.displayName=b;let o=j(a=>{let b=z();return(0,h.jsx)(p,{...a,state:b})},"CollectionInit");o.displayName=b+"Init";let p=j(a=>{let{scope:b,children:c,state:e}=a,g=d.useRef(null),[i,j]=d.useState(null),l=(0,f.s)(g,j),[m,n]=e;return d.useEffect(()=>{if(!i)return;let a=t(()=>{});return a.observe(i,{childList:!0,subtree:!0}),()=>{a.disconnect()}},[i]),(0,h.jsx)(k,{scope:b,itemMap:m,setItemMap:n,collectionRef:l,collectionRefObject:g,collectionElement:i,children:c})},"CollectionProviderImpl");p.displayName=b+"Impl";let r=a+"CollectionSlot",u=(0,g.TL)(r),v=d.forwardRef((a,b)=>{let{scope:c,children:d}=a,e=l(r,c),g=(0,f.s)(b,e.collectionRef);return(0,h.jsx)(u,{ref:g,children:d})});v.displayName=r;let w=a+"CollectionItemSlot",x=(0,g.TL)(w),y=d.forwardRef((a,b)=>{let{scope:c,children:e,...g}=a,i=d.useRef(null),[j,k]=d.useState(null),n=(0,f.s)(b,i,k),{setItemMap:o}=l(w,c),p=d.useRef(g);q(p.current,g)||(p.current=g);let r=p.current;return d.useEffect(()=>(o(a=>j?a.has(j)?a.set(j,{...r,element:j}).toSorted(s):(a.set(j,{...r,element:j}),a.toSorted(s)):a),()=>{o(a=>j&&a.has(j)?(a.delete(j),new m(a)):a)}),[j,r,o]),(0,h.jsx)(x,{"data-radix-collection-item":"",ref:n,children:e})});function z(){return d.useState(new m)}function A(b){let{itemMap:c}=l(a+"CollectionConsumer",b);return c}return y.displayName=w,j(z,"useInitCollection"),j(A,"useCollection"),[{Provider:n,Slot:v,ItemSlot:y},{createCollectionScope:i,useCollection:A,useInitCollection:z}]},"createCollection"),j(q,"shallowEqual"),j(r,"isElementPreceding"),j(s,"sortByDocumentPosition"),j(t,"getChildListObserver")},37162:(a,b,c)=>{c.d(b,{UC:()=>aN,q7:()=>aP,JU:()=>aO,ZL:()=>aM,bL:()=>aK,wv:()=>aQ,l9:()=>aL});var d=c(70433),e=c(40283),f=c(35676),g=c(58542),h=c(76125),i=c(59524),j=c(29699),k=c(26409),l=c(13442),m=c(65999),n=c(66194),o=c(86492),p=c(55065),q=c(45491),r=c(73523),s=c(3510),t=c(23769),u=c(22971),v=c(99628),w=c(86240),x=Object.defineProperty,y=(a,b)=>x(a,"name",{value:b,configurable:!0}),z=["Enter"," "],A=["ArrowUp","PageDown","End"],B=["ArrowDown","PageUp","Home",...A];[...z],[...z];var C="Menu",[D,E,F]=(0,j.N)(C),[G,H]=(0,g.A)(C,[F,o.Bk,r.RG]),I=(0,o.Bk)(),J=(0,r.RG)(),[K,L]=G(C),[M,N]=G(C),O=y(a=>{let{__scopeMenu:b,open:c=!1,children:e,dir:f,onOpenChange:g,modal:h=!0}=a,i=I(b),[j,l]=d.useState(null),m=d.useRef(!1),n=(0,t.c)(g),p=(0,k.jH)(f);return d.useEffect(()=>{let a=y(()=>{m.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},"handleKeyDown"),b=y(()=>m.current=!1,"handlePointer");return document.addEventListener("keydown",a,{capture:!0}),()=>{document.removeEventListener("keydown",a,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),d.useEffect(()=>{if(!c)return;let a=y(()=>n(!1),"handleBlur");return window.addEventListener("blur",a),()=>window.removeEventListener("blur",a)},[c,n]),(0,w.jsx)(o.bL,{...i,children:(0,w.jsx)(K,{scope:b,open:c,onOpenChange:n,content:j,onContentChange:l,children:(0,w.jsx)(M,{scope:b,onClose:d.useCallback(()=>n(!1),[n]),isUsingKeyboardRef:m,dir:p,modal:h,children:e})})})},"Menu"),P=d.forwardRef(y(function(a,b){let{__scopeMenu:c,...d}=a,e=I(c);return(0,w.jsx)(o.Mz,{...e,...d,ref:b})},"MenuAnchor")),Q="MenuPortal",[R,S]=G(Q,{forceMount:void 0}),T=y(a=>{let{__scopeMenu:b,forceMount:c,children:d,container:e}=a,f=L(Q,b);return(0,w.jsx)(R,{scope:b,forceMount:c,children:(0,w.jsx)(q.C,{present:c||f.open,children:(0,w.jsx)(p.Z,{asChild:!0,container:e,children:d})})})},"MenuPortal"),U="MenuContent",[V,W]=G(U),X=d.forwardRef(y(function(a,b){let c=S(U,a.__scopeMenu),{forceMount:d=c.forceMount,...e}=a,f=L(U,a.__scopeMenu),g=N(U,a.__scopeMenu);return(0,w.jsx)(D.Provider,{scope:a.__scopeMenu,children:(0,w.jsx)(q.C,{present:d||f.open,children:(0,w.jsx)(D.Slot,{scope:a.__scopeMenu,children:g.modal?(0,w.jsx)(Y,{...e,ref:b}):(0,w.jsx)(Z,{...e,ref:b})})})})},"MenuContent")),Y=d.forwardRef(y(function(a,b){let c=L(U,a.__scopeMenu),g=d.useRef(null),h=(0,f.s)(b,g);return d.useEffect(()=>{let a=g.current;if(a)return(0,u.Eq)(a)},[]),(0,w.jsx)(_,{...a,ref:h,trapFocus:c.open,disableOutsidePointerEvents:c.open,disableOutsideScroll:!0,onFocusOutside:(0,e.mK)(a.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>c.onOpenChange(!1)})},"MenuRootContentModal")),Z=d.forwardRef(y(function(a,b){let c=L(U,a.__scopeMenu);return(0,w.jsx)(_,{...a,ref:b,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>c.onOpenChange(!1)})},"MenuRootContentNonModal")),$=(0,s.TL)("MenuContent.ScrollLock"),_=d.forwardRef(y(function(a,b){let{__scopeMenu:c,loop:g=!1,trapFocus:h,onOpenAutoFocus:i,onCloseAutoFocus:j,disableOutsidePointerEvents:k,onEntryFocus:p,onEscapeKeyDown:q,onPointerDownOutside:s,onFocusOutside:t,onInteractOutside:u,onDismiss:x,disableOutsideScroll:z,...C}=a,D=L(U,c),F=N(U,c),G=I(c),H=J(c),K=E(c),[M,O]=d.useState(null),P=d.useRef(null),Q=(0,f.s)(b,P,D.onContentChange),R=d.useRef(0),S=d.useRef(""),T=d.useRef(0),W=d.useRef(null),X=d.useRef("right"),Y=d.useRef(0),Z=z?v.A:d.Fragment,_=y(a=>{let b=S.current+a,c=K().filter(a=>!a.disabled),d=document.activeElement,e=c.find(a=>a.ref.current===d)?.textValue,f=aq(c.map(a=>a.textValue),b,e),g=c.find(a=>a.textValue===f)?.ref.current;g&&setTimeout(()=>g.focus())},"handleTypeaheadSearch");d.useEffect(()=>()=>window.clearTimeout(R.current),[]),(0,m.Oh)();let aa=d.useCallback(a=>X.current===W.current?.side&&as(a,W.current?.area),[]);return(0,w.jsx)(V,{scope:c,searchRef:S,onItemEnter:d.useCallback(a=>{aa(a)&&a.preventDefault()},[aa]),onItemLeave:d.useCallback(a=>{aa(a)||(P.current?.focus(),O(null))},[aa]),onTriggerLeave:d.useCallback(a=>{aa(a)&&a.preventDefault()},[aa]),pointerGraceTimerRef:T,onPointerGraceIntentChange:d.useCallback(a=>{W.current=a},[]),children:(0,w.jsx)(Z,{...z?{as:$,allowPinchZoom:!0}:void 0,children:(0,w.jsx)(n.n,{asChild:!0,trapped:h,onMountAutoFocus:(0,e.mK)(i,a=>{a.preventDefault(),P.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:j,children:(0,w.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:k,onEscapeKeyDown:q,onPointerDownOutside:s,onFocusOutside:t,onInteractOutside:u,onDismiss:x,children:(0,w.jsx)(r.bL,{asChild:!0,...H,dir:F.dir,orientation:"vertical",loop:g,currentTabStopId:M,onCurrentTabStopIdChange:O,onEntryFocus:(0,e.mK)(p,a=>{F.isUsingKeyboardRef.current||a.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,w.jsx)(o.UC,{role:"menu","aria-orientation":"vertical","data-state":am(D.open),"data-radix-menu-content":"",dir:F.dir,...G,...C,ref:Q,style:{outline:"none",...C.style},onKeyDown:(0,e.mK)(C.onKeyDown,a=>{let b=a.target.closest("[data-radix-menu-content]")===a.currentTarget,c=a.ctrlKey||a.altKey||a.metaKey,d=1===a.key.length;b&&("Tab"===a.key&&a.preventDefault(),!c&&d&&_(a.key));let e=P.current;if(a.target!==e||!B.includes(a.key))return;a.preventDefault();let f=K().filter(a=>!a.disabled).map(a=>a.ref.current);A.includes(a.key)&&f.reverse(),ao(f)}),onBlur:(0,e.mK)(a.onBlur,a=>{a.currentTarget.contains(a.target)||(window.clearTimeout(R.current),S.current="")}),onPointerMove:(0,e.mK)(a.onPointerMove,at(a=>{let b=a.target,c=Y.current!==a.clientX;a.currentTarget.contains(b)&&c&&(X.current=a.clientX>Y.current?"right":"left",Y.current=a.clientX)}))})})})})})})},"MenuContentImpl")),aa=d.forwardRef(y(function(a,b){let{__scopeMenu:c,...d}=a;return(0,w.jsx)(i.sG.div,{...d,ref:b})},"MenuLabel")),ab="MenuItem",ac="menu.itemSelect",ad=d.forwardRef(y(function(a,b){let{disabled:c=!1,onSelect:g,...h}=a,j=d.useRef(null),k=N(ab,a.__scopeMenu),l=W(ab,a.__scopeMenu),m=(0,f.s)(b,j),n=d.useRef(!1),o=y(()=>{let a=j.current;if(!c&&a){let b=new CustomEvent(ac,{bubbles:!0,cancelable:!0});a.addEventListener(ac,a=>g?.(a),{once:!0}),(0,i.hO)(a,b),b.defaultPrevented?n.current=!1:k.onClose()}},"handleSelect");return(0,w.jsx)(ae,{...h,ref:m,disabled:c,onClick:(0,e.mK)(a.onClick,o),onPointerDown:b=>{a.onPointerDown?.(b),n.current=!0},onPointerUp:(0,e.mK)(a.onPointerUp,a=>{n.current||a.currentTarget?.click()}),onKeyDown:(0,e.mK)(a.onKeyDown,a=>{c||a.target!==a.currentTarget||(""===l.searchRef.current||" "!==a.key)&&z.includes(a.key)&&(a.currentTarget.click(),a.preventDefault())})})},"MenuItem")),ae=d.forwardRef(y(function(a,b){let{__scopeMenu:c,disabled:g=!1,textValue:h,...j}=a,k=W(ab,c),l=J(c),m=d.useRef(null),n=(0,f.s)(b,m),[o,p]=d.useState(!1),[q,s]=d.useState("");return d.useEffect(()=>{let a=m.current;a&&s((a.textContent??"").trim())},[j.children]),(0,w.jsx)(D.ItemSlot,{scope:c,disabled:g,textValue:h??q,children:(0,w.jsx)(r.q7,{asChild:!0,...l,focusable:!g,children:(0,w.jsx)(i.sG.div,{role:"menuitem","data-highlighted":o?"":void 0,"aria-disabled":g||void 0,"data-disabled":g?"":void 0,...j,ref:n,onPointerMove:(0,e.mK)(a.onPointerMove,at(a=>{g?k.onItemLeave(a):(k.onItemEnter(a),a.defaultPrevented||a.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,e.mK)(a.onPointerLeave,at(a=>k.onItemLeave(a))),onFocus:(0,e.mK)(a.onFocus,()=>p(!0)),onBlur:(0,e.mK)(a.onBlur,()=>p(!1))})})})},"MenuItemImpl")),[af,ag]=G("MenuRadioGroup",{value:void 0,onValueChange:y(()=>{},"onValueChange")}),[ah,ai]=G("MenuItemIndicator",{checked:!1}),aj=d.forwardRef(y(function(a,b){let{__scopeMenu:c,...d}=a;return(0,w.jsx)(i.sG.div,{role:"separator","aria-orientation":"horizontal",...d,ref:b})},"MenuSeparator")),[ak,al]=G("MenuSub");function am(a){return a?"open":"closed"}function an(a){return"indeterminate"===a}function ao(a){let b=document.activeElement;for(let c of a)if(c===b||(c.focus(),document.activeElement!==b))return}function ap(a,b){return a.map((c,d)=>a[(b+d)%a.length])}function aq(a,b,c){let d=b.length>1&&Array.from(b).every(a=>a===b[0])?b[0]:b,e=c?a.indexOf(c):-1,f=ap(a,Math.max(e,0));1===d.length&&(f=f.filter(a=>a!==c));let g=f.find(a=>a.toLowerCase().startsWith(d.toLowerCase()));return g!==c?g:void 0}function ar(a,b){let{x:c,y:d}=a,e=!1;for(let a=0,f=b.length-1;a<b.length;f=a++){let g=b[a],h=b[f],i=g.x,j=g.y,k=h.x,l=h.y;j>d!=l>d&&c<(k-i)*(d-j)/(l-j)+i&&(e=!e)}return e}function as(a,b){return!!b&&ar({x:a.clientX,y:a.clientY},b)}function at(a){return b=>"mouse"===b.pointerType?a(b):void 0}y(am,"getOpenState"),y(an,"isIndeterminate"),y(function(a){return an(a)?"indeterminate":a?"checked":"unchecked"},"getCheckedState"),y(ao,"focusFirst"),y(ap,"wrapArray"),y(aq,"getNextMatch"),y(ar,"isPointInPolygon"),y(as,"isPointerInGraceArea"),y(at,"whenMouse");var au=c(44161),av=Object.defineProperty,aw=(a,b)=>av(a,"name",{value:b,configurable:!0}),ax="DropdownMenu",[ay,az]=(0,g.A)(ax,[H]),aA=H(),[aB,aC]=ay(ax),aD=aw(a=>{let{__scopeDropdownMenu:b,children:c,dir:e,open:f,defaultOpen:g,onOpenChange:i,modal:j=!0}=a,k=aA(b),l=d.useRef(null),[m,n]=(0,h.i)({prop:f,defaultProp:g??!1,onChange:i,caller:ax});return(0,w.jsx)(aB,{scope:b,triggerId:(0,au.B)(),triggerRef:l,contentId:(0,au.B)(),open:m,onOpenChange:n,onOpenToggle:d.useCallback(()=>n(a=>!a),[n]),modal:j,children:(0,w.jsx)(O,{...k,open:m,onOpenChange:n,dir:e,modal:j,children:c})})},"DropdownMenu"),aE=d.forwardRef(aw(function(a,b){let{__scopeDropdownMenu:c,disabled:d=!1,...g}=a,h=aC("DropdownMenuTrigger",c),j=aA(c),k=(0,f.s)(b,h.triggerRef);return(0,w.jsx)(P,{asChild:!0,...j,children:(0,w.jsx)(i.sG.button,{type:"button",id:h.triggerId,"aria-haspopup":"menu","aria-expanded":h.open,"aria-controls":h.open?h.contentId:void 0,"data-state":h.open?"open":"closed","data-disabled":d?"":void 0,disabled:d,...g,ref:k,onPointerDown:(0,e.mK)(a.onPointerDown,a=>{!d&&0===a.button&&!1===a.ctrlKey&&(h.onOpenToggle(),h.open||a.preventDefault())}),onKeyDown:(0,e.mK)(a.onKeyDown,a=>{!d&&(["Enter"," "].includes(a.key)&&h.onOpenToggle(),"ArrowDown"===a.key&&h.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(a.key)&&a.preventDefault())})})})},"DropdownMenuTrigger")),aF=aw(a=>{let{__scopeDropdownMenu:b,...c}=a,d=aA(b);return(0,w.jsx)(T,{...d,...c})},"DropdownMenuPortal"),aG=d.forwardRef(aw(function(a,b){let{__scopeDropdownMenu:c,...f}=a,g=aC("DropdownMenuContent",c),h=aA(c),i=d.useRef(!1);return(0,w.jsx)(X,{id:g.contentId,"aria-labelledby":g.triggerId,...h,...f,ref:b,onCloseAutoFocus:(0,e.mK)(a.onCloseAutoFocus,a=>{i.current||g.triggerRef.current?.focus(),i.current=!1,a.preventDefault()}),onInteractOutside:(0,e.mK)(a.onInteractOutside,a=>{let b=a.detail.originalEvent,c=0===b.button&&!0===b.ctrlKey,d=2===b.button||c;(!g.modal||d)&&(i.current=!0)}),style:{...a.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})},"DropdownMenuContent")),aH=d.forwardRef(aw(function(a,b){let{__scopeDropdownMenu:c,...d}=a,e=aA(c);return(0,w.jsx)(aa,{...e,...d,ref:b})},"DropdownMenuLabel")),aI=d.forwardRef(aw(function(a,b){let{__scopeDropdownMenu:c,...d}=a,e=aA(c);return(0,w.jsx)(ad,{...e,...d,ref:b})},"DropdownMenuItem")),aJ=d.forwardRef(aw(function(a,b){let{__scopeDropdownMenu:c,...d}=a,e=aA(c);return(0,w.jsx)(aj,{...e,...d,ref:b})},"DropdownMenuSeparator")),aK=aD,aL=aE,aM=aF,aN=aG,aO=aH,aP=aI,aQ=aJ},40117:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0});var c={VALID_LOADERS:function(){return e},imageConfigDefault:function(){return f}};for(var d in c)Object.defineProperty(b,d,{enumerable:!0,get:c[d]});let e=["default","imgix","cloudinary","akamai","custom"],f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},41344:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return j}});let d=c(86240),e=c(70433),f=c(19123),g=c(86046);function h(a){return{default:a&&"default"in a?a.default:a}}let i={loader:()=>Promise.resolve(h(()=>null)),loading:null,ssr:!0},j=function(a){let b={...i,...a},c=(0,e.lazy)(()=>b.loader().then(h)),j=b.loading;function k(a){let h=j?(0,d.jsx)(j,{isLoading:!0,pastDelay:!0,error:null}):null,i=!b.ssr||!!b.loading,k=i?e.Suspense:e.Fragment,l=b.ssr?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.PreloadChunks,{moduleIds:b.modules}),(0,d.jsx)(c,{...a})]}):(0,d.jsx)(f.BailoutToCSR,{reason:"next/dynamic",children:(0,d.jsx)(c,{...a})});return(0,d.jsx)(k,{...i?{fallback:h}:{},children:l})}return k.displayName="LoadableComponent",k}},43200:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});var d={default:function(){return k},getImageProps:function(){return j}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(66984),g=c(88554),h=c(94406),i=f._(c(8580));function j(a){let{props:b}=(0,g.getImgProps)(a,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[a,c]of Object.entries(b))void 0===c&&delete b[a];return{props:b}}let k=h.Image},51265:(a,b,c)=>{c.d(b,{default:()=>e.a});var d=c(2600),e=c.n(d)},54992:(a,b)=>{function c(a){return a.split("/").map(a=>encodeURIComponent(a)).join("/")}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"encodeURIPath",{enumerable:!0,get:function(){return c}})},62871:(a,b,c)=>{c.d(b,{default:()=>e.a});var d=c(43200),e=c.n(d)},69940:(a,b,c)=>{a.exports=c(48384).vendored.contexts.ImageConfigContext},70317:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isLocalURL",{enumerable:!0,get:function(){return f}});let d=c(58486),e=c(92503);function f(a){if(!(0,d.isAbsoluteUrl)(a))return!0;try{let b=(0,d.getLocationOrigin)(),c=new URL(a,b);return c.origin===b&&(0,e.hasBasePath)(c.pathname)}catch(a){return!1}}},73523:(a,b,c)=>{c.d(b,{q7:()=>T,bL:()=>S,RG:()=>H});var d=c(70433),e=c.t(d,2),f=c(40283),g=c(29699),h=c(35676),i=c(58542),j=c(44161),k=c(59524),l=c(23769),m=c(76125),n=c(26409),o=c(81917),p=Object.defineProperty,q=(a,b)=>p(a,"name",{value:b,configurable:!0}),r=!1;function s(){let[a,b]=d.useState(r);return d.useEffect(()=>{r||(r=!0,b(!0))},[]),a}q(s,"useIsHydrated");var t=e[" useSyncExternalStore ".trim().toString()];function u(){return()=>{}}function v(){return t(u,()=>!0,()=>!1)}q(u,"subscribe"),q(v,"useIsHydratedModern");var w="function"==typeof t?v:s,x=c(86240),y=Object.defineProperty,z=(a,b)=>y(a,"name",{value:b,configurable:!0}),A="rovingFocusGroup.onEntryFocus",B={bubbles:!1,cancelable:!0},C="RovingFocusGroup",[D,E,F]=(0,g.N)(C),[G,H]=(0,i.A)(C,[F]),[I,J]=G(C),K=d.forwardRef(z(function(a,b){return(0,x.jsx)(D.Provider,{scope:a.__scopeRovingFocusGroup,children:(0,x.jsx)(D.Slot,{scope:a.__scopeRovingFocusGroup,children:(0,x.jsx)(L,{...a,ref:b})})})},"RovingFocusGroup")),L=d.forwardRef(z(function(a,b){let{__scopeRovingFocusGroup:c,orientation:e,loop:g=!1,dir:i,currentTabStopId:j,defaultCurrentTabStopId:o,onCurrentTabStopIdChange:p,onEntryFocus:q,preventScrollOnEntryFocus:r=!1,...s}=a,t=d.useRef(null),u=(0,h.s)(b,t),v=(0,n.jH)(i),[w,y]=(0,m.i)({prop:j,defaultProp:o??null,onChange:p,caller:C}),[z,D]=d.useState(!1),F=(0,l.c)(q),G=E(c),H=d.useRef(!1),[J,K]=d.useState(0);return d.useEffect(()=>{let a=t.current;if(a)return a.addEventListener(A,F),()=>a.removeEventListener(A,F)},[F]),(0,x.jsx)(I,{scope:c,orientation:e,dir:v,loop:g,currentTabStopId:w,onItemFocus:d.useCallback(a=>y(a),[y]),onItemShiftTab:d.useCallback(()=>D(!0),[]),onFocusableItemAdd:d.useCallback(()=>K(a=>a+1),[]),onFocusableItemRemove:d.useCallback(()=>K(a=>a-1),[]),children:(0,x.jsx)(k.sG.div,{tabIndex:z||0===J?-1:0,"data-orientation":e,...s,ref:u,style:{outline:"none",...a.style},onMouseDown:(0,f.mK)(a.onMouseDown,()=>{H.current=!0}),onFocus:(0,f.mK)(a.onFocus,a=>{let b=!H.current;if(a.target===a.currentTarget&&b&&!z){let b=new CustomEvent(A,B);if(a.currentTarget.dispatchEvent(b),!b.defaultPrevented){let a=G().filter(a=>a.focusable);Q([a.find(a=>a.active),a.find(a=>a.id===w),...a].filter(Boolean).map(a=>a.ref.current),r)}}H.current=!1}),onBlur:(0,f.mK)(a.onBlur,()=>D(!1))})})},"RovingFocusGroupImpl")),M=d.forwardRef(z(function(a,b){let{__scopeRovingFocusGroup:c,focusable:e=!0,active:g=!1,tabStopId:h,children:i,...l}=a,m=(0,j.B)(),n=h||m,p=J("RovingFocusGroupItem",c),q=p.currentTabStopId===n,r=E(c),{onFocusableItemAdd:s,onFocusableItemRemove:t,currentTabStopId:u}=p,v=w();return(0,o.N)(()=>{if(v&&e)return s(),()=>t()},[v,e,s,t]),d.useEffect(()=>{if(!v&&e)return s(),()=>t()},[v,e,s,t]),(0,x.jsx)(D.ItemSlot,{scope:c,id:n,focusable:e,active:g,children:(0,x.jsx)(k.sG.span,{tabIndex:q?0:-1,"data-orientation":p.orientation,...l,ref:b,onMouseDown:(0,f.mK)(a.onMouseDown,a=>{e?p.onItemFocus(n):a.preventDefault()}),onFocus:(0,f.mK)(a.onFocus,()=>p.onItemFocus(n)),onKeyDown:(0,f.mK)(a.onKeyDown,a=>{if("Tab"===a.key&&a.shiftKey)return void p.onItemShiftTab();if(a.target!==a.currentTarget)return;let b=P(a,p.orientation,p.dir);if(void 0!==b){if(a.metaKey||a.ctrlKey||a.altKey||a.shiftKey)return;a.preventDefault();let c=r().filter(a=>a.focusable).map(a=>a.ref.current);if("last"===b)c.reverse();else if("prev"===b||"next"===b){"prev"===b&&c.reverse();let d=c.indexOf(a.currentTarget);c=p.loop?R(c,d+1):c.slice(d+1)}setTimeout(()=>Q(c))}}),children:"function"==typeof i?i({isCurrentTabStop:q,hasTabStop:null!=u}):i})})},"RovingFocusGroupItem")),N={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function O(a,b){return"rtl"!==b?a:"ArrowLeft"===a?"ArrowRight":"ArrowRight"===a?"ArrowLeft":a}function P(a,b,c){let d=O(a.key,c);if(!("vertical"===b&&["ArrowLeft","ArrowRight"].includes(d))&&!("horizontal"===b&&["ArrowUp","ArrowDown"].includes(d)))return N[d]}function Q(a,b=!1){let c=document.activeElement;for(let d of a)if(d===c||(d.focus({preventScroll:b}),document.activeElement!==c))return}function R(a,b){return a.map((c,d)=>a[(b+d)%a.length])}z(O,"getDirectionAwareKey"),z(P,"getFocusIntent"),z(Q,"focusFirst"),z(R,"wrapArray");var S=K,T=M},74006:(a,b)=>{function c(a,b){let c=a||75;return b?.qualities?.length?b.qualities.reduce((a,b)=>Math.abs(b-c)<Math.abs(a-c)?b:a,b.qualities[0]):c}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"findClosestQuality",{enumerable:!0,get:function(){return c}})},74491:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addPathPrefix",{enumerable:!0,get:function(){return e}});let d=c(48146);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}`}},76163:(a,b,c)=>{c.d(b,{B8:()=>A,bL:()=>z,l9:()=>B});var d=c(70433),e=c(40283),f=c(58542),g=c(73523),h=c(59524),i=c(26409),j=c(76125),k=c(44161),l=c(86240),m=Object.defineProperty,n=(a,b)=>m(a,"name",{value:b,configurable:!0}),o="Tabs",[p,q]=(0,f.A)(o,[g.RG]),r=(0,g.RG)(),[s,t]=p(o),u=d.forwardRef(n(function(a,b){let{__scopeTabs:c,value:d,onValueChange:e,defaultValue:f,orientation:g="horizontal",dir:m,activationMode:n="automatic",...p}=a,q=(0,i.jH)(m),[r,t]=(0,j.i)({prop:d,onChange:e,defaultProp:f??"",caller:o});return(0,l.jsx)(s,{scope:c,baseId:(0,k.B)(),value:r,onValueChange:t,orientation:g,dir:q,activationMode:n,children:(0,l.jsx)(h.sG.div,{dir:q,"data-orientation":g,...p,ref:b})})},"Tabs")),v=d.forwardRef(n(function(a,b){let{__scopeTabs:c,loop:d=!0,...e}=a,f=t("TabsList",c),i=r(c);return(0,l.jsx)(g.bL,{asChild:!0,...i,orientation:f.orientation,dir:f.dir,loop:d,children:(0,l.jsx)(h.sG.div,{role:"tablist","aria-orientation":f.orientation,...e,ref:b})})},"TabsList")),w=d.forwardRef(n(function(a,b){let{__scopeTabs:c,value:d,disabled:f=!1,...i}=a,j=t("TabsTrigger",c),k=r(c),m=x(j.baseId,d),n=y(j.baseId,d),o=d===j.value;return(0,l.jsx)(g.q7,{asChild:!0,...k,focusable:!f,active:o,children:(0,l.jsx)(h.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:m,...i,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=>{!f&&a.target===a.currentTarget&&[" ","Enter"].includes(a.key)&&j.onValueChange(d)}),onFocus:(0,e.mK)(a.onFocus,()=>{let a="manual"!==j.activationMode;o||f||!a||j.onValueChange(d)})})})},"TabsTrigger"));function x(a,b){return`${a}-trigger-${b}`}function y(a,b){return`${a}-content-${b}`}n(x,"makeTriggerId"),n(y,"makeContentId");var z=u,A=v,B=w},77016:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return f}});let d=c(70433),e=()=>{};function f(a){let{headManager:b,reduceComponentsToState:c}=a;function f(){if(b&&b.mountedInstances){let a=d.Children.toArray(Array.from(b.mountedInstances).filter(Boolean));b.updateHead(c(a))}}return b?.mountedInstances?.add(a.children),f(),e(),e(),null}},86046:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"PreloadChunks",{enumerable:!0,get:function(){return i}});let d=c(86240),e=c(24980),f=c(29294),g=c(54992),h=c(88668);function i({moduleIds:a}){let b=f.workAsyncStorage.getStore();if(void 0===b)return null;let c=[];if(b.reactLoadableManifest&&a){let d=b.reactLoadableManifest;for(let b of a){if(!d[b])continue;let a=d[b].files;c.push(...a)}}if(0===c.length)return null;let j=(0,h.getAssetTokenQuery)();return(0,d.jsx)(d.Fragment,{children:c.map(a=>{let c=`${b.assetPrefix}/_next/${(0,g.encodeURIPath)(a)}${j}`;return a.endsWith(".css")?(0,d.jsx)("link",{precedence:"dynamic",href:c,rel:"stylesheet",as:"style",nonce:b.nonce},a):((0,e.preload)(c,{as:"script",fetchPriority:"low",nonce:b.nonce}),null)})})}},88554:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getImgProps",{enumerable:!0,get:function(){return j}});let d=c(88668),e=c(28489),f=c(40117),g=["-moz-initial","fill","none","scale-down",void 0];function h(a){return void 0!==a.default}function i(a){return void 0===a?a:"number"==typeof a?Number.isFinite(a)?a:NaN:"string"==typeof a&&/^[0-9]+$/.test(a)?parseInt(a,10):NaN}function j({src:a,sizes:b,unoptimized:c=!1,priority:k=!1,preload:l=!1,loading:m,className:n,quality:o,width:p,height:q,fill:r=!1,style:s,overrideSrc:t,onLoad:u,onLoadingComplete:v,placeholder:w="empty",blurDataURL:x,fetchPriority:y,decoding:z="async",layout:A,objectFit:B,objectPosition:C,lazyBoundary:D,lazyRoot:E,...F},G){var H;let I,J,K,{imgConf:L,showAltText:M,blurComplete:N,defaultLoader:O}=G,P=L||f.imageConfigDefault;if("allSizes"in P)I=P;else{let a=[...P.deviceSizes,...P.imageSizes].sort((a,b)=>a-b),b=P.deviceSizes.sort((a,b)=>a-b),c=P.qualities?.sort((a,b)=>a-b);I={...P,allSizes:a,deviceSizes:b,qualities:c}}if(void 0===O)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let Q=F.loader||O;delete F.loader,delete F.srcSet;let R="__next_img_default"in Q;if(R){if("custom"===I.loader)throw Object.defineProperty(Error(`Image with src "${a}" is missing "loader" prop.
|
|
67
|
+
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let a=Q;Q=b=>{let{config:c,...d}=b;return a(d)}}if(A){"fill"===A&&(r=!0);let a={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];a&&(s={...s,...a});let c={responsive:"100vw",fill:"100vw"}[A];c&&!b&&(b=c)}let S="",T=i(p),U=i(q);if((H=a)&&"object"==typeof H&&(h(H)||void 0!==H.src)){let b=h(a)?a.default:a;if(!b.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(b)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!b.height||!b.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(b)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(J=b.blurWidth,K=b.blurHeight,x=x||b.blurDataURL,S=b.src,!r)if(T||U){if(T&&!U){let a=T/b.width;U=Math.round(b.height*a)}else if(!T&&U){let a=U/b.height;T=Math.round(b.width*a)}}else T=b.width,U=b.height}let V=!k&&!l&&("lazy"===m||void 0===m);(!(a="string"==typeof a?a:S)||a.startsWith("data:")||a.startsWith("blob:"))&&(c=!0,V=!1),I.unoptimized&&(c=!0),R&&!I.dangerouslyAllowSVG&&a.split("?",1)[0].endsWith(".svg")&&(c=!0);let W=i(o),X=Object.assign(r?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:B,objectPosition:C}:{},M?{}:{color:"transparent"},s),Y=N||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,e.getImageBlurSvg)({widthInt:T,heightInt:U,blurWidth:J,blurHeight:K,blurDataURL:x||"",objectFit:X.objectFit})}")`:`url("${w}")`,Z=g.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,$=Y?{backgroundSize:Z,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},_=function({config:a,src:b,unoptimized:c,width:e,quality:f,sizes:g,loader:h}){if(c){if(b.startsWith("/")&&!b.startsWith("//")){let a=(0,d.getDeploymentId)();if(b.includes("/_next/static/immutable")&&!(0,d.getAssetToken)())a=void 0;else if(a){let c=b.indexOf("?");if(-1!==c){let d=new URLSearchParams(b.slice(c+1));d.get("dpl")||(d.append("dpl",a),b=b.slice(0,c)+"?"+d.toString())}else b+=`?dpl=${a}`}}return{src:b,srcSet:void 0,sizes:void 0}}let{widths:i,kind:j}=function({deviceSizes:a,allSizes:b},c,d){if(d){let c=/(^|\s)(1?\d?\d)vw/g,e=[];for(let a;a=c.exec(d);)e.push(parseInt(a[2]));if(e.length){let c=.01*Math.min(...e);return{widths:b.filter(b=>b>=a[0]*c),kind:"w"}}return{widths:b,kind:"w"}}return"number"!=typeof c?{widths:a,kind:"w"}:{widths:[...new Set([c,2*c].map(a=>b.find(b=>b>=a)||b[b.length-1]))],kind:"x"}}(a,e,g),k=i.length-1;return{sizes:g||"w"!==j?g:"100vw",srcSet:i.map((c,d)=>`${h({config:a,src:b,quality:f,width:c})} ${"w"===j?c:d+1}${j}`).join(", "),src:h({config:a,src:b,quality:f,width:i[k]})}}({config:I,src:a,unoptimized:c,width:T,quality:W,sizes:b,loader:Q}),aa=V?"lazy":m;return{props:{...F,loading:aa,fetchPriority:y,width:T,height:U,decoding:z,className:n,style:{...X,...$},sizes:_.sizes,srcSet:_.srcSet,src:t||_.src},meta:{unoptimized:c,preload:l||k,placeholder:w,fill:r}}}},89055:(a,b,c)=>{c.d(b,{UC:()=>$,In:()=>V,q7:()=>ap,VF:()=>as,p4:()=>ar,ZL:()=>Y,bL:()=>S,wn:()=>aw,PP:()=>au,l9:()=>T,WT:()=>U,LM:()=>aj});var d=c(70433),e=c(24980);function f(a,[b,c]){return Math.min(c,Math.max(b,a))}(0,Object.defineProperty)(f,"name",{value:"clamp",configurable:!0});var g=c(40283),h=c(29699),i=c(35676),j=c(58542),k=c(26409),l=c(13442),m=c(65999),n=c(66194),o=c(44161),p=c(86492),q=c(55065),r=c(45491),s=c(59524),t=c(3510),u=c(23769),v=c(76125),w=c(81917);function x(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])}(0,Object.defineProperty)(x,"name",{value:"usePrevious",configurable:!0});var y=c(16866),z=c(22971),A=c(99628),B=c(86240),C=Object.defineProperty,D=(a,b)=>C(a,"name",{value:b,configurable:!0}),E=[" ","Enter","ArrowUp","ArrowDown"],F=[" ","Enter"],G="Select",[H,I,J]=(0,h.N)(G),[K,L]=(0,j.A)(G,[J,p.Bk]),M=(0,p.Bk)(),[N,O]=K(G),[P,Q]=K(G);function R(a){let{__scopeSelect:b,children:c,open:e,defaultOpen:f,onOpenChange:g,value:h,defaultValue:i,onValueChange:j,dir:l,name:m,autoComplete:n,disabled:q,required:r,form:s,internal_do_not_use_render:t}=a,u=M(b),[w,x]=d.useState(null),[y,z]=d.useState(null),[A,C]=d.useState(!1),E=(0,k.jH)(l),[F,I]=(0,v.i)({prop:e,defaultProp:f??!1,onChange:g,caller:G}),[J,K]=(0,v.i)({prop:h,defaultProp:i,onChange:j,caller:G}),L=d.useRef(null),O=d.useRef(J);d.useEffect(()=>{let a=s?w?.ownerDocument.getElementById(s):w?.form;if(a instanceof HTMLFormElement){let b=D(()=>K(O.current),"reset");return a.addEventListener("reset",b),()=>a.removeEventListener("reset",b)}},[s,w,K]);let Q=!w||!!s||!!w.closest("form"),[R,S]=d.useState(new Set),T=(0,o.B)(),U=Array.from(R).map(a=>a.props.value).join(";"),V=d.useCallback(a=>{S(b=>new Set(b).add(a))},[]),W=d.useCallback(a=>{S(b=>{let c=new Set(b);return c.delete(a),c})},[]),X={required:r,trigger:w,onTriggerChange:x,valueNode:y,onValueNodeChange:z,valueNodeHasChildren:A,onValueNodeHasChildrenChange:C,contentId:T,value:J,onValueChange:K,open:F,onOpenChange:I,dir:E,triggerPointerDownPosRef:L,disabled:q,name:m,autoComplete:n,form:s,nativeOptions:R,nativeSelectKey:U,isFormControl:Q};return(0,B.jsx)(p.bL,{...u,children:(0,B.jsx)(N,{scope:b,...X,children:(0,B.jsx)(H.Provider,{scope:b,children:(0,B.jsx)(P,{scope:b,onNativeOptionAdd:V,onNativeOptionRemove:W,children:az(t)?t(X):c})})})})}D(R,"SelectProvider");var S=D(a=>{let{__scopeSelect:b,children:c,...d}=a;return(0,B.jsx)(R,{__scopeSelect:b,...d,internal_do_not_use_render:({isFormControl:a})=>(0,B.jsxs)(B.Fragment,{children:[c,a?(0,B.jsx)(ay,{__scopeSelect:b}):null]})})},"Select"),T=d.forwardRef(D(function(a,b){let{__scopeSelect:c,disabled:e=!1,...f}=a,h=M(c),j=O("SelectTrigger",c),k=j.disabled||e,l=(0,i.s)(b,j.onTriggerChange),m=I(c),n=d.useRef("touch"),[o,q,r]=aB(a=>{let b=m().filter(a=>!a.disabled),c=b.find(a=>a.value===j.value),d=aC(b,a,c);void 0!==d&&j.onValueChange(d.value)}),t=D(a=>{k||(j.onOpenChange(!0),r()),a&&(j.triggerPointerDownPosRef.current={x:Math.round(a.pageX),y:Math.round(a.pageY)})},"handleOpen");return(0,B.jsx)(p.Mz,{asChild:!0,...h,children:(0,B.jsx)(s.sG.button,{type:"button",role:"combobox","aria-controls":j.open?j.contentId:void 0,"aria-expanded":j.open,"aria-required":j.required,"aria-autocomplete":"none",dir:j.dir,"data-state":j.open?"open":"closed",disabled:k,"data-disabled":k?"":void 0,"data-placeholder":aA(j.value)?"":void 0,...f,ref:l,onClick:(0,g.mK)(f.onClick,a=>{a.currentTarget.focus(),"mouse"!==n.current&&t(a)}),onPointerDown:(0,g.mK)(f.onPointerDown,a=>{n.current=a.pointerType;let b=a.target;b.hasPointerCapture(a.pointerId)&&b.releasePointerCapture(a.pointerId),0===a.button&&!1===a.ctrlKey&&"mouse"===a.pointerType&&(t(a),a.preventDefault())}),onKeyDown:(0,g.mK)(f.onKeyDown,a=>{let b=""!==o.current;a.ctrlKey||a.altKey||a.metaKey||1!==a.key.length||q(a.key),(!b||" "!==a.key)&&E.includes(a.key)&&(t(),a.preventDefault())})})})},"SelectTrigger")),U=d.forwardRef(D(function(a,b){let{__scopeSelect:c,className:e,style:f,children:g,placeholder:h="",...j}=a,k=O("SelectValue",c),{onValueNodeHasChildrenChange:l}=k,m=void 0!==g,n=(0,i.s)(b,k.onValueNodeChange);(0,w.N)(()=>{l(m)},[l,m]);let o=aA(k.value);return(0,B.jsx)(s.sG.span,{...j,asChild:!o&&j.asChild,ref:n,style:{pointerEvents:"none"},children:(0,B.jsx)(d.Fragment,{children:o?h:g},o?"placeholder":"value")})},"SelectValue")),V=d.forwardRef(D(function(a,b){let{__scopeSelect:c,children:d,...e}=a;return(0,B.jsx)(s.sG.span,{"aria-hidden":!0,...e,ref:b,children:d||"▼"})},"SelectIcon")),[W,X]=K("SelectPortal",{forceMount:void 0}),Y=D(a=>{let{__scopeSelect:b,forceMount:c,...d}=a;return(0,B.jsx)(W,{scope:a.__scopeSelect,forceMount:c,children:(0,B.jsx)(q.Z,{asChild:!0,...d})})},"SelectPortal"),Z="SelectContent",$=d.forwardRef(D(function(a,b){let c=X(Z,a.__scopeSelect),{forceMount:e=c.forceMount,...f}=a,g=O(Z,a.__scopeSelect),[h,i]=d.useState();return(0,w.N)(()=>{i(new DocumentFragment)},[]),(0,B.jsx)(r.C,{present:e||g.open,children:({present:a})=>a?(0,B.jsx)(ad,{...f,ref:b}):(0,B.jsx)(_,{...f,fragment:h})})},"SelectContent")),_=d.forwardRef(D(function(a,b){let{__scopeSelect:c,children:d,fragment:f}=a;return f?e.createPortal((0,B.jsx)(aa,{scope:c,children:(0,B.jsx)(H.Slot,{scope:c,children:(0,B.jsx)("div",{ref:b,children:d})})}),f):null},"SelectContentFragment")),[aa,ab]=K(Z),ac=(0,t.TL)("SelectContent.RemoveScroll"),ad=d.forwardRef(D(function(a,b){let{__scopeSelect:c}=a,{position:e="item-aligned",onCloseAutoFocus:f,onEscapeKeyDown:h,onPointerDownOutside:j,side:k,sideOffset:o,align:p,alignOffset:q,arrowPadding:r,collisionBoundary:s,collisionPadding:t,sticky:u,hideWhenDetached:v,avoidCollisions:w,...x}=a,y=O(Z,c),[C,E]=d.useState(null),[F,G]=d.useState(null),H=(0,i.s)(b,E),[J,K]=d.useState(null),[L,M]=d.useState(null),N=I(c),[P,Q]=d.useState(!1),R=d.useRef(!1);d.useEffect(()=>{if(C)return(0,z.Eq)(C)},[C]),(0,m.Oh)();let S=d.useCallback(a=>{let[b,...c]=N().map(a=>a.ref.current),[d]=c.slice(-1),e=document.activeElement;for(let c of a)if(c===e||(c?.scrollIntoView({block:"nearest"}),c===b&&F&&(F.scrollTop=0),c===d&&F&&(F.scrollTop=F.scrollHeight),c?.focus(),document.activeElement!==e))return},[N,F]),T=d.useCallback(()=>S([J,C]),[S,J,C]);d.useEffect(()=>{P&&T()},[P,T]);let{onOpenChange:U,triggerPointerDownPosRef:V}=y;d.useEffect(()=>{if(C){let a={x:0,y:0},b=D(b=>{a={x:Math.abs(Math.round(b.pageX)-(V.current?.x??0)),y:Math.abs(Math.round(b.pageY)-(V.current?.y??0))}},"handlePointerMove"),c=D(c=>{a.x<=10&&a.y<=10?c.preventDefault():c.composedPath().includes(C)||U(!1),document.removeEventListener("pointermove",b),V.current=null},"handlePointerUp");return null!==V.current&&(document.addEventListener("pointermove",b),document.addEventListener("pointerup",c,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",c,{capture:!0})}}},[C,U,V]),d.useEffect(()=>{let a=D(()=>U(!1),"close");return window.addEventListener("blur",a),window.addEventListener("resize",a),()=>{window.removeEventListener("blur",a),window.removeEventListener("resize",a)}},[U]);let[W,X]=aB(a=>{let b=N().filter(a=>!a.disabled),c=b.find(a=>a.ref.current===document.activeElement),d=aC(b,a,c);d&&setTimeout(()=>d.ref.current?.focus())}),Y=d.useCallback((a,b,c)=>{let d=!R.current&&!c;(void 0!==y.value&&y.value===b||d)&&(K(a),d&&(R.current=!0))},[y.value]),$=d.useCallback(()=>C?.focus(),[C]),_=d.useCallback((a,b,c)=>{let d=!R.current&&!c;(void 0!==y.value&&y.value===b||d)&&M(a)},[y.value]),ab="popper"===e?af:ae;return(0,B.jsx)(aa,{scope:c,content:C,viewport:F,onViewportChange:G,itemRefCallback:Y,selectedItem:J,onItemLeave:$,itemTextRefCallback:_,focusSelectedItem:T,selectedItemText:L,position:e,isPositioned:P,searchRef:W,children:(0,B.jsx)(A.A,{as:ac,allowPinchZoom:!0,children:(0,B.jsx)(n.n,{asChild:!0,trapped:y.open,onMountAutoFocus:a=>{a.preventDefault()},onUnmountAutoFocus:(0,g.mK)(f,a=>{y.trigger?.focus({preventScroll:!0}),a.preventDefault()}),children:(0,B.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:h,onPointerDownOutside:j,onFocusOutside:a=>a.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:(0,B.jsx)(ab,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:a=>a.preventDefault(),...x,...ab===af?{side:k,sideOffset:o,align:p,alignOffset:q,arrowPadding:r,collisionBoundary:s,collisionPadding:t,sticky:u,hideWhenDetached:v,avoidCollisions:w}:{},onPlaced:()=>Q(!0),ref:H,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:(0,g.mK)(x.onKeyDown,a=>{let b=a.ctrlKey||a.altKey||a.metaKey;if("Tab"===a.key&&a.preventDefault(),b||1!==a.key.length||X(a.key),["ArrowUp","ArrowDown","Home","End"].includes(a.key)){let b=N().filter(a=>!a.disabled).map(a=>a.ref.current);if(["ArrowUp","End"].includes(a.key)&&(b=b.slice().reverse()),["ArrowUp","ArrowDown"].includes(a.key)){let c=a.target,d=b.indexOf(c);b=b.slice(d+1)}setTimeout(()=>S(b)),a.preventDefault()}})})})})})})},"SelectContentImpl")),ae=d.forwardRef(D(function(a,b){let{__scopeSelect:c,onPlaced:e,...g}=a,h=O(Z,c),j=ab(Z,c),[k,l]=d.useState(null),[m,n]=d.useState(null),o=(0,i.s)(b,n),p=I(c),q=d.useRef(!1),r=d.useRef(!0),{viewport:t,selectedItem:u,selectedItemText:v,focusSelectedItem:x}=j,y=d.useCallback(()=>{if(h.trigger&&h.valueNode&&k&&m&&t&&u&&v){let a=h.trigger.getBoundingClientRect(),b=m.getBoundingClientRect(),c=h.valueNode.getBoundingClientRect(),d=v.getBoundingClientRect();if("rtl"!==h.dir){let e=d.left-b.left,g=c.left-e,h=a.left-g,i=a.width+h,j=Math.max(i,b.width),l=f(g,[10,Math.max(10,window.innerWidth-10-j)]);k.style.minWidth=i+"px",k.style.left=l+"px"}else{let e=b.right-d.right,g=window.innerWidth-c.right-e,h=window.innerWidth-a.right-g,i=a.width+h,j=Math.max(i,b.width),l=f(g,[10,Math.max(10,window.innerWidth-10-j)]);k.style.minWidth=i+"px",k.style.right=l+"px"}let g=p(),i=window.innerHeight-20,j=t.scrollHeight,l=window.getComputedStyle(m),n=parseInt(l.borderTopWidth,10),o=parseInt(l.paddingTop,10),r=parseInt(l.borderBottomWidth,10),s=n+o+j+parseInt(l.paddingBottom,10)+r,w=Math.min(5*u.offsetHeight,s),x=window.getComputedStyle(t),y=parseInt(x.paddingTop,10),z=parseInt(x.paddingBottom,10),A=a.top+a.height/2-10,B=u.offsetHeight/2,C=n+o+(u.offsetTop+B);if(C<=A){let a=g.length>0&&u===g[g.length-1].ref.current;k.style.bottom="0px";let b=Math.max(i-A,B+(a?z:0)+(m.clientHeight-t.offsetTop-t.offsetHeight)+r);k.style.height=C+b+"px"}else{let a=g.length>0&&u===g[0].ref.current;k.style.top="0px";let b=Math.max(A,n+t.offsetTop+(a?y:0)+B);k.style.height=b+(s-C)+"px",t.scrollTop=C-A+t.offsetTop}k.style.margin="10px 0",k.style.minHeight=w+"px",k.style.maxHeight=i+"px",e?.(),requestAnimationFrame(()=>q.current=!0)}},[p,h.trigger,h.valueNode,k,m,t,u,v,h.dir,e]);(0,w.N)(()=>y(),[y]);let[z,A]=d.useState();(0,w.N)(()=>{m&&A(window.getComputedStyle(m).zIndex)},[m]);let C=d.useCallback(a=>{a&&!0===r.current&&(y(),x?.(),r.current=!1)},[y,x]);return(0,B.jsx)(ag,{scope:c,contentWrapper:k,shouldExpandOnScrollRef:q,onScrollButtonChange:C,children:(0,B.jsx)("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:z},children:(0,B.jsx)(s.sG.div,{...g,ref:o,style:{boxSizing:"border-box",maxHeight:"100%",...g.style}})})})},"SelectItemAlignedPosition")),af=d.forwardRef(D(function(a,b){let{__scopeSelect:c,align:d="start",collisionPadding:e=10,...f}=a,g=M(c);return(0,B.jsx)(p.UC,{...g,...f,ref:b,align:d,collisionPadding:e,style:{boxSizing:"border-box",...f.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})},"SelectPopperPosition")),[ag,ah]=K(Z,{}),ai="SelectViewport",aj=d.forwardRef(D(function(a,b){let{__scopeSelect:c,nonce:e,...f}=a,h=ab(ai,c),j=ah(ai,c),k=(0,i.s)(b,h.onViewportChange),l=d.useRef(0);return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:e}),(0,B.jsx)(H.Slot,{scope:c,children:(0,B.jsx)(s.sG.div,{"data-radix-select-viewport":"",role:"presentation",...f,ref:k,style:{position:"relative",flex:1,overflow:"hidden auto",...f.style},onScroll:(0,g.mK)(f.onScroll,a=>{let b=a.currentTarget,{contentWrapper:c,shouldExpandOnScrollRef:d}=j;if(d?.current&&c){let a=Math.abs(l.current-b.scrollTop);if(a>0){let d=window.innerHeight-20,e=Math.max(parseFloat(c.style.minHeight),parseFloat(c.style.height));if(e<d){let f=e+a,g=Math.min(d,f),h=f-g;c.style.height=g+"px","0px"===c.style.bottom&&(b.scrollTop=h>0?h:0,c.style.justifyContent="flex-end")}}}l.current=b.scrollTop})})})]})},"SelectViewport")),[ak,al]=K("SelectGroup"),am="SelectItem",[an,ao]=K(am),ap=d.forwardRef(D(function(a,b){let{__scopeSelect:c,value:e,disabled:f=!1,textValue:h,...j}=a,k=O(am,c),l=ab(am,c),m=k.value===e,[n,p]=d.useState(h??""),[q,r]=d.useState(!1),t=(0,u.c)(a=>l.itemRefCallback?.(a,e,f)),v=(0,i.s)(b,t),w=(0,o.B)(),x=d.useRef("touch"),y=D(()=>{f||(k.onValueChange(e),k.onOpenChange(!1))},"handleSelect");return(0,B.jsx)(an,{scope:c,value:e,disabled:f,textId:w,isSelected:m,onItemTextChange:d.useCallback(a=>{p(b=>b||(a?.textContent??"").trim())},[]),children:(0,B.jsx)(H.ItemSlot,{scope:c,value:e,disabled:f,textValue:n,children:(0,B.jsx)(s.sG.div,{role:"option","aria-labelledby":w,"data-highlighted":q?"":void 0,"aria-selected":m&&q,"data-state":m?"checked":"unchecked","aria-disabled":f||void 0,"data-disabled":f?"":void 0,tabIndex:f?void 0:-1,...j,ref:v,onFocus:(0,g.mK)(j.onFocus,()=>r(!0)),onBlur:(0,g.mK)(j.onBlur,()=>r(!1)),onClick:(0,g.mK)(j.onClick,()=>{"mouse"!==x.current&&y()}),onPointerUp:(0,g.mK)(j.onPointerUp,()=>{"mouse"===x.current&&y()}),onPointerDown:(0,g.mK)(j.onPointerDown,a=>{x.current=a.pointerType}),onPointerMove:(0,g.mK)(j.onPointerMove,a=>{x.current=a.pointerType,f?l.onItemLeave?.():"mouse"===x.current&&a.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,g.mK)(j.onPointerLeave,a=>{a.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:(0,g.mK)(j.onKeyDown,a=>{f||a.target!==a.currentTarget||(l.searchRef?.current===""||" "!==a.key)&&(F.includes(a.key)&&y()," "===a.key&&a.preventDefault())})})})})},"SelectItem")),aq="SelectItemText",ar=d.forwardRef(D(function(a,b){let{__scopeSelect:c,className:f,style:g,...h}=a,j=O(aq,c),k=ab(aq,c),l=ao(aq,c),m=Q(aq,c),[n,o]=d.useState(null),p=(0,u.c)(a=>k.itemTextRefCallback?.(a,l.value,l.disabled)),q=(0,i.s)(b,o,l.onItemTextChange,p),r=n?.textContent,t=d.useMemo(()=>(0,B.jsx)("option",{value:l.value,disabled:l.disabled,children:r},l.value),[l.disabled,l.value,r]),{onNativeOptionAdd:v,onNativeOptionRemove:x}=m;return(0,w.N)(()=>(v(t),()=>x(t)),[v,x,t]),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(s.sG.span,{id:l.textId,...h,ref:q}),l.isSelected&&j.valueNode&&!j.valueNodeHasChildren&&!aA(j.value)?e.createPortal(h.children,j.valueNode):null]})},"SelectItemText")),as=d.forwardRef(D(function(a,b){let{__scopeSelect:c,...d}=a;return ao("SelectItemIndicator",c).isSelected?(0,B.jsx)(s.sG.span,{"aria-hidden":!0,...d,ref:b}):null},"SelectItemIndicator")),at="SelectScrollUpButton",au=d.forwardRef(D(function(a,b){let c=ab(at,a.__scopeSelect),e=ah(at,a.__scopeSelect),[f,g]=d.useState(!1),h=(0,i.s)(b,e.onScrollButtonChange);return(0,w.N)(()=>{if(c.viewport&&c.isPositioned){let a=function(){g(b.scrollTop>0)};D(a,"handleScroll");let b=c.viewport;return a(),b.addEventListener("scroll",a),()=>b.removeEventListener("scroll",a)}},[c.viewport,c.isPositioned]),f?(0,B.jsx)(ax,{...a,ref:h,onAutoScroll:()=>{let{viewport:a,selectedItem:b}=c;a&&b&&(a.scrollTop=a.scrollTop-b.offsetHeight)}}):null},"SelectScrollUpButton")),av="SelectScrollDownButton",aw=d.forwardRef(D(function(a,b){let c=ab(av,a.__scopeSelect),e=ah(av,a.__scopeSelect),[f,g]=d.useState(!1),h=(0,i.s)(b,e.onScrollButtonChange);return(0,w.N)(()=>{if(c.viewport&&c.isPositioned){let a=function(){let a=b.scrollHeight-b.clientHeight;g(Math.ceil(b.scrollTop)<a)};D(a,"handleScroll");let b=c.viewport;return a(),b.addEventListener("scroll",a),()=>b.removeEventListener("scroll",a)}},[c.viewport,c.isPositioned]),f?(0,B.jsx)(ax,{...a,ref:h,onAutoScroll:()=>{let{viewport:a,selectedItem:b}=c;a&&b&&(a.scrollTop=a.scrollTop+b.offsetHeight)}}):null},"SelectScrollDownButton")),ax=d.forwardRef(D(function(a,b){let{__scopeSelect:c,onAutoScroll:e,...f}=a,h=ab("SelectScrollButton",c),i=d.useRef(null),j=I(c),k=d.useCallback(()=>{null!==i.current&&(window.clearInterval(i.current),i.current=null)},[]);return d.useEffect(()=>()=>k(),[k]),(0,w.N)(()=>{let a=j().find(a=>a.ref.current===document.activeElement);a?.ref.current?.scrollIntoView({block:"nearest"})},[j]),(0,B.jsx)(s.sG.div,{"aria-hidden":!0,...f,ref:b,style:{flexShrink:0,...f.style},onPointerDown:(0,g.mK)(f.onPointerDown,()=>{null===i.current&&(i.current=window.setInterval(e,50))}),onPointerMove:(0,g.mK)(f.onPointerMove,()=>{h.onItemLeave?.(),null===i.current&&(i.current=window.setInterval(e,50))}),onPointerLeave:(0,g.mK)(f.onPointerLeave,()=>{k()})})},"SelectScrollButtonImpl")),ay=d.forwardRef(D(function({__scopeSelect:a,...b},c){let e=O("SelectBubbleInput",a),{value:f,onValueChange:g,required:h,disabled:j,name:k,autoComplete:l,form:m}=e,{nativeOptions:n,nativeSelectKey:o}=e,p=d.useRef(null),q=(0,i.s)(c,p),r=f??"",t=x(r),u=Array.from(n).some(a=>(a.props.value??"")==="");return d.useEffect(()=>{let a=p.current;if(!a)return;let b=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(t!==r&&b){let c=new Event("change",{bubbles:!0});b.call(a,r),a.dispatchEvent(c)}},[t,r]),(0,B.jsxs)(s.sG.select,{"aria-hidden":!0,required:h,tabIndex:-1,name:k,autoComplete:l,disabled:j,form:m,onChange:a=>g(a.target.value),...b,style:{...y.Qg,...b.style},ref:q,defaultValue:r,children:[aA(f)&&!u?(0,B.jsx)("option",{value:""}):null,Array.from(n)]},o)},"SelectBubbleInput"));function az(a){return"function"==typeof a}function aA(a){return""===a||void 0===a}function aB(a){let b=(0,u.c)(a),c=d.useRef(""),e=d.useRef(0),f=d.useCallback(a=>{b(c.current+a)},[b]),g=d.useCallback(()=>{c.current="",window.clearTimeout(e.current)},[]);return d.useEffect(()=>()=>window.clearTimeout(e.current),[]),[c,f,g]}function aC(a,b,c){let d=b.length>1&&Array.from(b).every(a=>a===b[0])?b[0]:b,e=c?a.indexOf(c):-1,f=aD(a,Math.max(e,0));1===d.length&&(f=f.filter(a=>a!==c));let g=f.find(a=>a.textValue.toLowerCase().startsWith(d.toLowerCase()));return g!==c?g:void 0}function aD(a,b){return a.map((c,d)=>a[(b+d)%a.length])}D(az,"isFunction"),D(aA,"shouldShowPlaceholder"),D(aB,"useTypeaheadSearch"),D(aC,"findNextItem"),D(aD,"wrapArray")},90324:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addBasePath",{enumerable:!0,get:function(){return f}});let d=c(74491),e=c(18511);function f(a,b){return(0,e.normalizePathTrailingSlash)((0,d.addPathPrefix)(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)},94406:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"Image",{enumerable:!0,get:function(){return v}});let d=c(66984),e=c(11903),f=c(86240),g=e._(c(70433)),h=d._(c(24980)),i=d._(c(2521)),j=c(88554),k=c(40117),l=c(69940),m=c(3391),n=d._(c(8580)),o=c(16823),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function q(a,b,c,d,e,f,g){let h=a?.src;a&&a["data-loaded-src"]!==h&&(a["data-loaded-src"]=h,("decode"in a?a.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(a.parentElement&&a.isConnected){if("empty"!==b&&e(!0),c?.current){let b=new Event("load");Object.defineProperty(b,"target",{writable:!1,value:a});let d=!1,e=!1;c.current({...b,nativeEvent:b,currentTarget:a,target:a,isDefaultPrevented:()=>d,isPropagationStopped:()=>e,persist:()=>{},preventDefault:()=>{d=!0,b.preventDefault()},stopPropagation:()=>{e=!0,b.stopPropagation()}})}d?.current&&d.current(a)}}))}function r(a){return g.use?{fetchPriority:a}:{fetchpriority:a}}globalThis.__NEXT_IMAGE_IMPORTED=!0;let s=g.useEffect,t=(0,g.forwardRef)(({src:a,srcSet:b,sizes:c,height:d,width:e,decoding:h,className:i,style:j,fetchPriority:k,placeholder:l,loading:m,unoptimized:n,fill:p,onLoadRef:t,onLoadingCompleteRef:u,setBlurComplete:v,setShowAltText:w,sizesInput:x,onLoad:y,onError:z,...A},B)=>{let C=(0,g.useRef)(!1),D=(0,g.useRef)(null);s(()=>{let{current:a}=C,{current:b}=D;a||null===b||(z&&(b.src=b.src),b.complete&&q(b,l,t,u,v,n,x),C.current=!0)},[a,l,t,u,z,n,x]);let E=(0,o.useMergedRef)(B,D);return(0,f.jsx)("img",{...A,...r(k),loading:m,width:e,height:d,decoding:h,"data-nimg":p?"fill":"1",className:i,style:j,sizes:c,srcSet:b,src:a,ref:E,onLoad:a=>{q(a.currentTarget,l,t,u,v,n,x)},onError:a=>{w(!0),"empty"!==l&&v(!0),z&&z(a)}})});function u({isAppRouter:a,imgAttributes:b}){let c={as:"image",imageSrcSet:b.srcSet,imageSizes:b.sizes,crossOrigin:b.crossOrigin,referrerPolicy:b.referrerPolicy,...r(b.fetchPriority)};return a&&h.default.preload?(h.default.preload(b.src,c),null):(0,f.jsx)(i.default,{children:(0,f.jsx)("link",{rel:"preload",href:b.srcSet?void 0:b.src,...c},"__nimg-"+b.src+b.srcSet+b.sizes)})}let v=(0,g.forwardRef)((a,b)=>{let c=(0,g.useContext)(m.RouterContext),d=(0,g.useContext)(l.ImageConfigContext),e=(0,g.useMemo)(()=>{let a=p||d||k.imageConfigDefault,b=[...a.deviceSizes,...a.imageSizes].sort((a,b)=>a-b),c=a.deviceSizes.sort((a,b)=>a-b),e=a.qualities?.sort((a,b)=>a-b);return{...a,allSizes:b,deviceSizes:c,qualities:e,localPatterns:d?.localPatterns}},[d]),{onLoad:h,onLoadingComplete:i}=a,o=(0,g.useRef)(h);(0,g.useEffect)(()=>{o.current=h},[h]);let q=(0,g.useRef)(i);(0,g.useEffect)(()=>{q.current=i},[i]);let[r,s]=(0,g.useState)(!1),[v,w]=(0,g.useState)(!1),{props:x,meta:y}=(0,j.getImgProps)(a,{defaultLoader:n.default,imgConf:e,blurComplete:r,showAltText:v});return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(t,{...x,unoptimized:y.unoptimized,placeholder:y.placeholder,fill:y.fill,onLoadRef:o,onLoadingCompleteRef:q,setBlurComplete:s,setShowAltText:w,sizesInput:a.sizes,ref:b}),y.preload?(0,f.jsx)(u,{isAppRouter:!c,imgAttributes:x}):null]})});("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)},96487:(a,b,c)=>{c.d(b,{b:()=>m});var d=c(70433),e=c(59524),f=c(86240),g=Object.defineProperty,h=(a,b)=>g(a,"name",{value:b,configurable:!0}),i="horizontal",j=["horizontal","vertical"],k=d.forwardRef(h(function(a,b){let{decorative:c,orientation:d=i,...g}=a,h=l(d)?d:i;return(0,f.jsx)(e.sG.div,{"data-orientation":h,...c?{role:"none"}:{"aria-orientation":"vertical"===h?h:void 0,role:"separator"},...g,ref:b})},"Separator"));function l(a){return j.includes(a)}h(l,"isValidOrientation");var m=k}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/
|
|
1
|
+
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/awjDWqWCZbU3VVSuN7-oA/_buildManifest.js","static/awjDWqWCZbU3VVSuN7-oA/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-cb89101193742e2b.js","static/chunks/e138dfde-a5c7fa92857215f2.js","static/chunks/9966-7232c138a59bdc2f.js","static/chunks/main-app-2ecba5da1d59188c.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__REACT_LOADABLE_MANIFEST='{"shared/components/UsageStats.tsx -> @/app/(dashboard)/dashboard/usage/components/ProviderTopology":{"id":47280,"files":["static/css/e07f2bf4fa519943.css","static/chunks/80d4b624.42a8767f1c8767a3.js","static/chunks/7822.01a4d5bdd39fa0b7.js","static/chunks/4899.0d4260af2a463837.js"]}}';
|
|
1
|
+
self.__REACT_LOADABLE_MANIFEST='{"shared/components/UsageStats.tsx -> @/app/(dashboard)/dashboard/usage/components/ProviderTopology":{"id":47280,"files":["static/css/e07f2bf4fa519943.css","static/chunks/80d4b624.42a8767f1c8767a3.js","static/chunks/3445-99e12528f235cedb.js","static/chunks/7822.01a4d5bdd39fa0b7.js","static/chunks/4899.0d4260af2a463837.js"]},"shared/components/UsageStats.tsx -> @/app/(dashboard)/dashboard/usage/components/UsageChart":{"id":21940,"files":["static/chunks/3445-99e12528f235cedb.js","static/chunks/7276-a15e4d56ec28aba8.js","static/chunks/1940.1f30124180f22498.js"]}}';
|