@shepai/cli 1.106.4-pr327.f3fea88 → 1.106.4-pr328.6940924
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/apis/json-schema/FeatureFlags.yaml +0 -5
- package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.d.ts +1 -0
- package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.js +8 -3
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +0 -1
- package/dist/packages/core/src/domain/generated/output.d.ts +0 -4
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +1 -3
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.js +0 -11
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +2 -3
- package/dist/src/presentation/web/app/actions/delete-feature.d.ts +1 -1
- package/dist/src/presentation/web/app/actions/delete-feature.d.ts.map +1 -1
- package/dist/src/presentation/web/app/actions/delete-feature.js +8 -3
- package/dist/src/presentation/web/components/common/delete-feature-dialog/delete-feature-dialog-config.d.ts +2 -1
- package/dist/src/presentation/web/components/common/delete-feature-dialog/delete-feature-dialog-config.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/delete-feature-dialog/delete-feature-dialog.d.ts +1 -1
- package/dist/src/presentation/web/components/common/delete-feature-dialog/delete-feature-dialog.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/delete-feature-dialog/delete-feature-dialog.js +4 -2
- package/dist/src/presentation/web/components/common/delete-feature-dialog/delete-feature-dialog.stories.d.ts +2 -0
- package/dist/src/presentation/web/components/common/delete-feature-dialog/delete-feature-dialog.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/delete-feature-dialog/delete-feature-dialog.stories.js +11 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +2 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node.js +3 -3
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts +1 -1
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.js +13 -10
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js +1 -3
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +0 -3
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +1 -6
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +0 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.js +2 -2
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +1 -1
- package/dist/src/presentation/web/hooks/feature-flags-context.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/feature-flags-context.js +1 -6
- package/dist/src/presentation/web/lib/derive-graph.d.ts +1 -1
- package/dist/src/presentation/web/lib/derive-graph.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/derive-graph.js +13 -2
- package/dist/src/presentation/web/lib/feature-flags.d.ts +0 -2
- package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/feature-flags.js +0 -7
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +0 -2
- package/web/.next/build-manifest.json +7 -7
- package/web/.next/fallback-build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +1 -1
- package/web/.next/required-server-files.json +1 -1
- package/web/.next/routes-manifest.json +0 -12
- package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +20 -20
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +25 -25
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +25 -25
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +18 -18
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +20 -20
- package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +25 -25
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +25 -25
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +18 -18
- package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/build-manifest.json +5 -5
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +18 -18
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error/page/build-manifest.json +5 -5
- package/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/server/app/_global-error.rsc +7 -7
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/build-manifest.json +5 -5
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/api/agent-events/route.js +2 -1
- package/web/.next/server/app/api/agent-events/route.js.nft.json +1 -1
- package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
- package/web/.next/server/app/api/attachments/upload-from-path/route.js +1 -1
- package/web/.next/server/app/api/attachments/upload-from-path/route.js.nft.json +1 -1
- package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
- package/web/.next/server/app/api/feature-logs/route.js +1 -1
- package/web/.next/server/app/api/feature-logs/route.js.nft.json +1 -1
- package/web/.next/server/app/settings/page/build-manifest.json +5 -5
- package/web/.next/server/app/settings/page/server-reference-manifest.json +5 -5
- package/web/.next/server/app/settings/page.js.nft.json +1 -1
- package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/skills/page/build-manifest.json +5 -5
- package/web/.next/server/app/skills/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/skills/page.js +4 -4
- package/web/.next/server/app/skills/page.js.nft.json +1 -1
- package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/tools/page/build-manifest.json +5 -5
- package/web/.next/server/app/tools/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/tools/page.js.nft.json +1 -1
- package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/version/page/build-manifest.json +5 -5
- package/web/.next/server/app/version/page/server-reference-manifest.json +2 -2
- package/web/.next/server/app/version/page.js.nft.json +1 -1
- package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app-paths-manifest.json +0 -2
- package/web/.next/server/chunks/403f9_next_567de315._.js +1 -1
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js +6 -0
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__0866d2b5._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__332c8d91._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__3b22a1eb._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__3b22a1eb._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__3b72e8b0._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__57104a4c._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__7d63f9a4._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__9191749c._.js +1 -1
- package/web/.next/server/chunks/{[root-of-the-server]__52c318d1._.js → [root-of-the-server]__91d44424._.js} +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__9a136c79._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__a1c7c02a._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__b2f9a412._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__b4102cc7._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__d2c18946._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__d9d410a8._.js +1 -1
- package/web/.next/server/chunks/{[root-of-the-server]__a5879003._.js → [root-of-the-server]__db04ed44._.js} +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__e247a485._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__f47bb8a5._.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_31ea46d3._.js +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_c9d9b4d7._.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_d0119342._.js +3 -0
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_d0119342._.js.map +1 -0
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_0a7546ed.js +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_0a7546ed.js.map +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_978cbb4c.js +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_978cbb4c.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__248ee887._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__24dd0927._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__24dd0927._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__51fc98b0._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__51fc98b0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__52485955._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__57f37786._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__57f37786._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5d87af2e._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__708dcad1._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__708dcad1._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__753f42eb._.js → [root-of-the-server]__845a9d2a._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__845a9d2a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__89e8a5cc._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__89e8a5cc._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8e002910._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8e002910._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b062b383._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__d91fdd51._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__d91fdd51._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_135edb9c._.js +1 -1
- package/web/.next/server/chunks/ssr/_135edb9c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1bb131c4._.js +3 -0
- package/web/.next/server/chunks/ssr/_1bb131c4._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_273d4632._.js +1 -1
- package/web/.next/server/chunks/ssr/_3a4c94e3._.js +3 -0
- package/web/.next/server/chunks/ssr/_3a4c94e3._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_6e08ce21._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_8dacd1e7._.js +2 -2
- package/web/.next/server/chunks/ssr/_8dacd1e7._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_9ac70f88._.js +5 -0
- package/web/.next/server/chunks/ssr/_9ac70f88._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_a37f5f18._.js +1 -1
- package/web/.next/server/chunks/ssr/_a37f5f18._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_a68d7e1c._.js +9 -0
- package/web/.next/server/chunks/ssr/_a68d7e1c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_b5fc318a._.js +3 -0
- package/web/.next/server/chunks/ssr/_b5fc318a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_c567d3d1._.js +4 -0
- package/web/.next/server/chunks/ssr/_c567d3d1._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_cc77a143._.js +1 -1
- package/web/.next/server/chunks/ssr/_cc77a143._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_15dc3761._.js → _cd8c246a._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_15dc3761._.js.map → _cd8c246a._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_e6f2da4f._.js +7 -0
- package/web/.next/server/chunks/ssr/_e6f2da4f._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_f2fff47b._.js +3 -0
- package/web/.next/server/chunks/ssr/_f2fff47b._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_f5316e67._.js +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_7275ce5d._.js +2 -2
- package/web/.next/server/chunks/ssr/src_presentation_web_7275ce5d._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_758dfa10._.js +2 -2
- package/web/.next/server/chunks/ssr/src_presentation_web_758dfa10._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_84803221.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_84803221.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_tools_tools-page-client_tsx_3d0aa70c._.js +1 -1
- package/web/.next/server/middleware-build-manifest.js +5 -5
- package/web/.next/server/pages/500.html +2 -2
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +31 -38
- package/web/.next/static/chunks/{73512dcafc035901.js → 0102ce60a2a42fab.js} +1 -1
- package/web/.next/static/chunks/07b853e29af1e5f2.js +1 -0
- package/web/.next/static/chunks/1d8896de64e3ba4b.js +1 -0
- package/web/.next/static/chunks/3871eeb13727c993.js +1 -0
- package/web/.next/static/chunks/3bb35e0689e8b6b7.js +1 -0
- package/web/.next/static/chunks/{fc1587c1e44444d4.js → 43c5590ddd63c65a.js} +1 -1
- package/web/.next/static/chunks/52b56677c842e45f.js +3 -0
- package/web/.next/static/chunks/5f08c6959431965a.js +2 -0
- package/web/.next/static/chunks/{0b0f65124c9e6e98.js → 73058878c9a649aa.js} +1 -1
- package/web/.next/static/chunks/84a181ff3270fd9f.js +1 -0
- package/web/.next/static/chunks/8ba5b2c15350b397.js +2 -0
- package/web/.next/static/chunks/{ff20a3511ab6687b.js → a7901df8d0187123.js} +1 -1
- package/web/.next/static/chunks/{0146cc63e09aa1fc.js → beb9f1a26ce08e6f.js} +1 -1
- package/web/.next/static/chunks/{8f4b01641dd98daa.js → cfe4dc9904fcfddb.js} +1 -1
- package/web/.next/static/chunks/d4d8f0a137bd2eb4.js +4 -0
- package/web/.next/static/chunks/db122a6247f69104.css +1 -0
- package/web/.next/static/chunks/{7b3bad34a11293ef.js → dddf5099be94613c.js} +1 -1
- package/web/.next/static/chunks/ed3a602003bcb31b.js +1 -0
- package/web/.next/static/chunks/f3e7e637fa3cfefe.js +11 -0
- package/web/.next/static/chunks/{98c68c9ea7a9e597.js → fe70e73feb07bcfd.js} +1 -1
- package/web/.next/static/chunks/{turbopack-19fdba76a6171f31.js → turbopack-426d9bc2450816ba.js} +1 -1
- package/web/package.json +1 -6
- package/dist/src/presentation/web/app/api/chat/stream/route.d.ts +0 -14
- package/dist/src/presentation/web/app/api/chat/stream/route.d.ts.map +0 -1
- package/dist/src/presentation/web/app/api/chat/stream/route.js +0 -153
- package/dist/src/presentation/web/app/chat/page.d.ts +0 -4
- package/dist/src/presentation/web/app/chat/page.d.ts.map +0 -1
- package/dist/src/presentation/web/app/chat/page.js +0 -11
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.d.ts +0 -6
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.js +0 -14
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.stories.d.ts +0 -7
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/chat/chat-empty-state.stories.js +0 -15
- package/dist/src/presentation/web/components/features/chat/chat-header.d.ts +0 -7
- package/dist/src/presentation/web/components/features/chat/chat-header.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/chat/chat-header.js +0 -10
- package/dist/src/presentation/web/components/features/chat/chat-header.stories.d.ts +0 -8
- package/dist/src/presentation/web/components/features/chat/chat-header.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/chat/chat-header.stories.js +0 -20
- package/dist/src/presentation/web/components/features/chat/chat-page-client.d.ts +0 -2
- package/dist/src/presentation/web/components/features/chat/chat-page-client.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/chat/chat-page-client.js +0 -50
- package/dist/src/presentation/web/components/features/chat/chat-page-client.stories.d.ts +0 -7
- package/dist/src/presentation/web/components/features/chat/chat-page-client.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/chat/chat-page-client.stories.js +0 -15
- package/dist/src/presentation/web/components/features/chat/chat-view.d.ts +0 -24
- package/dist/src/presentation/web/components/features/chat/chat-view.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/chat/chat-view.js +0 -17
- package/dist/src/presentation/web/components/features/chat/chat-view.stories.d.ts +0 -14
- package/dist/src/presentation/web/components/features/chat/chat-view.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/chat/chat-view.stories.js +0 -149
- package/dist/src/presentation/web/components/features/chat/index.d.ts +0 -5
- package/dist/src/presentation/web/components/features/chat/index.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/chat/index.js +0 -4
- package/dist/src/presentation/web/components/ui/avatar.d.ts +0 -12
- package/dist/src/presentation/web/components/ui/avatar.d.ts.map +0 -1
- package/dist/src/presentation/web/components/ui/avatar.js +0 -23
- package/dist/src/presentation/web/components/ui/chat-container.d.ts +0 -17
- package/dist/src/presentation/web/components/ui/chat-container.d.ts.map +0 -1
- package/dist/src/presentation/web/components/ui/chat-container.js +0 -14
- package/dist/src/presentation/web/components/ui/code-block.d.ts +0 -17
- package/dist/src/presentation/web/components/ui/code-block.d.ts.map +0 -1
- package/dist/src/presentation/web/components/ui/code-block.js +0 -29
- package/dist/src/presentation/web/components/ui/loader.d.ts +0 -60
- package/dist/src/presentation/web/components/ui/loader.d.ts.map +0 -1
- package/dist/src/presentation/web/components/ui/loader.js +0 -190
- package/dist/src/presentation/web/components/ui/markdown.d.ts +0 -12
- package/dist/src/presentation/web/components/ui/markdown.d.ts.map +0 -1
- package/dist/src/presentation/web/components/ui/markdown.js +0 -50
- package/dist/src/presentation/web/components/ui/message.d.ts +0 -35
- package/dist/src/presentation/web/components/ui/message.d.ts.map +0 -1
- package/dist/src/presentation/web/components/ui/message.js +0 -18
- package/dist/src/presentation/web/components/ui/prompt-input.d.ts +0 -30
- package/dist/src/presentation/web/components/ui/prompt-input.d.ts.map +0 -1
- package/dist/src/presentation/web/components/ui/prompt-input.js +0 -98
- package/dist/src/presentation/web/hooks/use-chat.d.ts +0 -57
- package/dist/src/presentation/web/hooks/use-chat.d.ts.map +0 -1
- package/dist/src/presentation/web/hooks/use-chat.js +0 -217
- package/web/.next/server/app/api/chat/stream/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/api/chat/stream/route/build-manifest.json +0 -11
- package/web/.next/server/app/api/chat/stream/route/server-reference-manifest.json +0 -4
- package/web/.next/server/app/api/chat/stream/route.js +0 -6
- package/web/.next/server/app/api/chat/stream/route.js.map +0 -5
- package/web/.next/server/app/api/chat/stream/route.js.nft.json +0 -1
- package/web/.next/server/app/api/chat/stream/route_client-reference-manifest.js +0 -2
- package/web/.next/server/app/chat/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/chat/page/build-manifest.json +0 -18
- package/web/.next/server/app/chat/page/next-font-manifest.json +0 -6
- package/web/.next/server/app/chat/page/react-loadable-manifest.json +0 -1
- package/web/.next/server/app/chat/page/server-reference-manifest.json +0 -20
- package/web/.next/server/app/chat/page.js +0 -17
- package/web/.next/server/app/chat/page.js.map +0 -5
- package/web/.next/server/app/chat/page.js.nft.json +0 -1
- package/web/.next/server/app/chat/page_client-reference-manifest.js +0 -2
- package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_chat_stream_route_actions_ea265361.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__99c20fe5._.js +0 -5
- package/web/.next/server/chunks/[root-of-the-server]__99c20fe5._.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__aae14de3._.js +0 -6
- package/web/.next/server/chunks/[root-of-the-server]__aae14de3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +0 -4
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13482941._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13482941._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1f1931f8._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1f1931f8._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__26d31159._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__26d31159._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2a6f3e3f._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2a6f3e3f._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6803b571._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6803b571._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__753f42eb._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__99857356._.js +0 -61
- package/web/.next/server/chunks/ssr/[root-of-the-server]__99857356._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9b8f6941._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9b8f6941._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_25eb2abf._.js +0 -4
- package/web/.next/server/chunks/ssr/_25eb2abf._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_34ba40e0._.js +0 -3
- package/web/.next/server/chunks/ssr/_34ba40e0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_4093a637._.js +0 -5
- package/web/.next/server/chunks/ssr/_4093a637._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_6a2e8373._.js +0 -3
- package/web/.next/server/chunks/ssr/_6a2e8373._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_7ba5f9bd._.js +0 -9
- package/web/.next/server/chunks/ssr/_7ba5f9bd._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_906e9cde._.js +0 -3
- package/web/.next/server/chunks/ssr/_906e9cde._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_b407679c._.js +0 -3
- package/web/.next/server/chunks/ssr/_b407679c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_d7c4fb01._.js +0 -7
- package/web/.next/server/chunks/ssr/_d7c4fb01._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_eb8add9f._.js +0 -4
- package/web/.next/server/chunks/ssr/_eb8add9f._.js.map +0 -1
- package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js +0 -3
- package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js.map +0 -1
- package/web/.next/static/chunks/0000a3bd9d33363e.js +0 -1
- package/web/.next/static/chunks/01c44c0f52e94d13.js +0 -1
- package/web/.next/static/chunks/025972c91961cb4f.js +0 -1
- package/web/.next/static/chunks/04077bc8814ebb95.js +0 -1
- package/web/.next/static/chunks/040f765faf202f21.js +0 -1
- package/web/.next/static/chunks/0452bf6331941e3f.js +0 -1
- package/web/.next/static/chunks/04abfd0d3656c990.js +0 -1
- package/web/.next/static/chunks/04ba2061ab93d4b4.js +0 -1
- package/web/.next/static/chunks/053a7b986353ec4b.js +0 -1
- package/web/.next/static/chunks/06f273bdc5828685.js +0 -1
- package/web/.next/static/chunks/0749a5b512d6df6b.js +0 -1
- package/web/.next/static/chunks/07720f62d0494cff.js +0 -1
- package/web/.next/static/chunks/07b3a3fe5ed6806c.js +0 -1
- package/web/.next/static/chunks/07ed2655f92b082d.js +0 -1
- package/web/.next/static/chunks/0820c893f5292ab6.js +0 -1
- package/web/.next/static/chunks/08fb03f101641646.js +0 -1
- package/web/.next/static/chunks/0992e1494eb73f73.js +0 -1
- package/web/.next/static/chunks/0b64f70d18b592a9.js +0 -1
- package/web/.next/static/chunks/0b925ca1a402d3cd.js +0 -1
- package/web/.next/static/chunks/0c4d93176dc739f0.js +0 -1
- package/web/.next/static/chunks/0c65283281ae11be.js +0 -1
- package/web/.next/static/chunks/0c82301271695b04.js +0 -1
- package/web/.next/static/chunks/0d6db841c33ab4f1.js +0 -1
- package/web/.next/static/chunks/0d813d73dacd9b43.js +0 -1
- package/web/.next/static/chunks/0dcf159fb9a610e4.js +0 -1
- package/web/.next/static/chunks/0e7dfad45e402b87.js +0 -1
- package/web/.next/static/chunks/0e827c7f60ca4551.js +0 -1
- package/web/.next/static/chunks/0f619c5c402fb9f4.js +0 -1
- package/web/.next/static/chunks/0f83f16fa24fd5d7.js +0 -1
- package/web/.next/static/chunks/0feedea346fd5fbe.js +0 -1
- package/web/.next/static/chunks/12dbfd5ed203fd8c.js +0 -1
- package/web/.next/static/chunks/13ab63bcbd1b9d73.js +0 -1
- package/web/.next/static/chunks/14e6e069b833483c.js +0 -1
- package/web/.next/static/chunks/15049e8c70931a5c.js +0 -1
- package/web/.next/static/chunks/15e9e6d3526dba19.js +0 -1
- package/web/.next/static/chunks/1675a99c138a8dff.js +0 -1
- package/web/.next/static/chunks/18257a988399c500.js +0 -1
- package/web/.next/static/chunks/18b8b7c0f43653ed.js +0 -1
- package/web/.next/static/chunks/1903ea0fc4a1c66a.js +0 -1
- package/web/.next/static/chunks/1a9763ce5ba22b57.js +0 -1
- package/web/.next/static/chunks/1c5a18c436c08be5.js +0 -1
- package/web/.next/static/chunks/1d95a3b4ad425e84.js +0 -1
- package/web/.next/static/chunks/1e88753738d86281.js +0 -1
- package/web/.next/static/chunks/1f5b06b26b55f61e.js +0 -1
- package/web/.next/static/chunks/20e893034947cff0.js +0 -1
- package/web/.next/static/chunks/2199bd4a3f61c371.js +0 -1
- package/web/.next/static/chunks/21f6010e9d824e2b.js +0 -1
- package/web/.next/static/chunks/2277de4cd5d76ea0.js +0 -1
- package/web/.next/static/chunks/23874b32b27bc398.js +0 -1
- package/web/.next/static/chunks/242af1b1794692bb.js +0 -1
- package/web/.next/static/chunks/24ff7613e7640548.js +0 -1
- package/web/.next/static/chunks/255b89458bc45261.js +0 -1
- package/web/.next/static/chunks/256f95ef70dd81c3.js +0 -1
- package/web/.next/static/chunks/2612e5560f8ba2c2.js +0 -1
- package/web/.next/static/chunks/26cc1fb330a4c4ef.js +0 -1
- package/web/.next/static/chunks/2796913db81fa3a0.js +0 -1
- package/web/.next/static/chunks/2a0985b01345546d.js +0 -1
- package/web/.next/static/chunks/2a13aed05cd157cb.js +0 -1
- package/web/.next/static/chunks/2a65cbda6248ac45.js +0 -1
- package/web/.next/static/chunks/2a9e798066780ccb.js +0 -1
- package/web/.next/static/chunks/2aecaa7075dff32c.js +0 -1
- package/web/.next/static/chunks/2aff3eb00311b5ff.js +0 -1
- package/web/.next/static/chunks/2b601943d3e94e5b.js +0 -1
- package/web/.next/static/chunks/2ce5939b18e1a21e.js +0 -1
- package/web/.next/static/chunks/2d204a2a777b935d.js +0 -1
- package/web/.next/static/chunks/2d64b4ffcaccace0.js +0 -1
- package/web/.next/static/chunks/2d890ccc3bdefafa.js +0 -1
- package/web/.next/static/chunks/2e25aca5b7400f56.js +0 -1
- package/web/.next/static/chunks/2ed750fa9ff05fb4.js +0 -1
- package/web/.next/static/chunks/2f1a7ab193aa56ab.js +0 -1
- package/web/.next/static/chunks/2fc0965d77242987.js +0 -1
- package/web/.next/static/chunks/3054fd6667aee1d2.js +0 -1
- package/web/.next/static/chunks/305ea36a55b1b01d.js +0 -1
- package/web/.next/static/chunks/31345772bfb5b56d.js +0 -1
- package/web/.next/static/chunks/31e19c87048a2dd2.js +0 -1
- package/web/.next/static/chunks/32a5dff7a1424ce7.js +0 -1
- package/web/.next/static/chunks/3320db3c4bd922dd.js +0 -1
- package/web/.next/static/chunks/338b409bcf9c5da6.js +0 -1
- package/web/.next/static/chunks/33f71ecfbcc40eb8.js +0 -1
- package/web/.next/static/chunks/35bc063ce1c82d62.js +0 -1
- package/web/.next/static/chunks/366630af12ceb9aa.js +0 -1
- package/web/.next/static/chunks/36a02bc96e797be1.js +0 -1
- package/web/.next/static/chunks/3857a5a593f557b6.js +0 -1
- package/web/.next/static/chunks/38f38199611b387a.js +0 -1
- package/web/.next/static/chunks/39fd8dea78ce33a1.js +0 -1
- package/web/.next/static/chunks/3a9753d40e045b8f.js +0 -1
- package/web/.next/static/chunks/3ae3c50c728eab31.js +0 -11
- package/web/.next/static/chunks/3b811f725088f5ec.js +0 -1
- package/web/.next/static/chunks/3d0086082ce28745.js +0 -1
- package/web/.next/static/chunks/3daba4c77e106a0b.js +0 -1
- package/web/.next/static/chunks/3eeb840a2075bfde.js +0 -1
- package/web/.next/static/chunks/3f2585c9332265e2.js +0 -1
- package/web/.next/static/chunks/3f701f917196c596.js +0 -1
- package/web/.next/static/chunks/4028b1961891bd0b.js +0 -1
- package/web/.next/static/chunks/40962df79d5b9308.js +0 -1
- package/web/.next/static/chunks/40bdb6b0b6b24b30.js +0 -1
- package/web/.next/static/chunks/419f2849c47d15b0.js +0 -1
- package/web/.next/static/chunks/4301b2746001957f.js +0 -1
- package/web/.next/static/chunks/458a6ec844531967.js +0 -1
- package/web/.next/static/chunks/45ae42a60c5885ba.js +0 -1
- package/web/.next/static/chunks/45d55f26409a62e9.js +0 -1
- package/web/.next/static/chunks/469057391d9b81af.js +0 -1
- package/web/.next/static/chunks/46af0d08db9ec138.js +0 -1
- package/web/.next/static/chunks/47dd15642d568b90.js +0 -1
- package/web/.next/static/chunks/4be33773114cd302.js +0 -1
- package/web/.next/static/chunks/4c3eff62cda82668.js +0 -1
- package/web/.next/static/chunks/4c592610236f630f.js +0 -4
- package/web/.next/static/chunks/4cc404bcff34a71f.js +0 -1
- package/web/.next/static/chunks/4d44c49ec4cdd79f.js +0 -1
- package/web/.next/static/chunks/4f0c36555d75e5fe.js +0 -1
- package/web/.next/static/chunks/554aadda059a8430.js +0 -1
- package/web/.next/static/chunks/55c4d9d2fddbead4.js +0 -1
- package/web/.next/static/chunks/55dc4e8d31455c2d.js +0 -1
- package/web/.next/static/chunks/5737640b5eb3844c.js +0 -1
- package/web/.next/static/chunks/5874c94c33f9b7b0.js +0 -1
- package/web/.next/static/chunks/58d9b3be51fd5de0.js +0 -1
- package/web/.next/static/chunks/5a4e2f295be16022.js +0 -1
- package/web/.next/static/chunks/5bc3c8f3a6aca6fa.js +0 -1
- package/web/.next/static/chunks/5c3c605bb590e3e7.js +0 -1
- package/web/.next/static/chunks/5c955aad7e021e56.js +0 -1
- package/web/.next/static/chunks/5cb21622c5e5747e.js +0 -1
- package/web/.next/static/chunks/5cdf0942d4f7ed5f.js +0 -1
- package/web/.next/static/chunks/5d4a3f9a24a357ab.js +0 -1
- package/web/.next/static/chunks/5d97d16f083409e9.js +0 -1
- package/web/.next/static/chunks/60f3d869542bf677.js +0 -1
- package/web/.next/static/chunks/62224eae737b4521.js +0 -1
- package/web/.next/static/chunks/6539d0757f0cfc29.js +0 -1
- package/web/.next/static/chunks/65a238abdcb11bcd.js +0 -1
- package/web/.next/static/chunks/65b76ab700c2a9d0.js +0 -1
- package/web/.next/static/chunks/660ad72a4adcb7fc.js +0 -1
- package/web/.next/static/chunks/664c671566a249f4.js +0 -1
- package/web/.next/static/chunks/66bbfced65db425f.js +0 -1
- package/web/.next/static/chunks/68b6eedefa12f8c7.js +0 -1
- package/web/.next/static/chunks/68fa8559029f9f41.js +0 -1
- package/web/.next/static/chunks/6947ab623933a779.js +0 -1
- package/web/.next/static/chunks/6e9f2a1a17352af0.js +0 -1
- package/web/.next/static/chunks/6ee18bbefc401436.js +0 -1
- package/web/.next/static/chunks/6f83a2cba6850e4a.js +0 -1
- package/web/.next/static/chunks/6fb42a88b84aa22b.js +0 -1
- package/web/.next/static/chunks/6ffd8d481eb5e86a.js +0 -1
- package/web/.next/static/chunks/70ebb562067defff.js +0 -1
- package/web/.next/static/chunks/719ffd0d25696861.js +0 -1
- package/web/.next/static/chunks/71bbf75ff7ac7d1c.js +0 -1
- package/web/.next/static/chunks/72452c79bb483893.js +0 -1
- package/web/.next/static/chunks/737b452d10950f75.js +0 -1
- package/web/.next/static/chunks/73c9849a26d56eaf.js +0 -1
- package/web/.next/static/chunks/742ddcbde2de0a5f.js +0 -1
- package/web/.next/static/chunks/75f20501876081ae.js +0 -1
- package/web/.next/static/chunks/771904aa3f2b5890.js +0 -1
- package/web/.next/static/chunks/78140b3927f34ee1.js +0 -1
- package/web/.next/static/chunks/78c2221a0e9ac3e0.js +0 -1
- package/web/.next/static/chunks/7a16988476a29ae1.js +0 -1
- package/web/.next/static/chunks/7aebb2852b03cf3b.js +0 -1
- package/web/.next/static/chunks/7cada01735a2de18.js +0 -1
- package/web/.next/static/chunks/7cd5e13ac856cf73.js +0 -1
- package/web/.next/static/chunks/7d0c918f6da54095.js +0 -1
- package/web/.next/static/chunks/7e55ce83f10514a3.js +0 -1
- package/web/.next/static/chunks/7e70c7df8d1224f0.js +0 -1
- package/web/.next/static/chunks/7f3161de6996c05f.js +0 -1
- package/web/.next/static/chunks/806207333fba56e3.js +0 -1
- package/web/.next/static/chunks/825f5a75a38db3ec.js +0 -1
- package/web/.next/static/chunks/82df15d2af5efffe.js +0 -1
- package/web/.next/static/chunks/83397d71344d405d.js +0 -1
- package/web/.next/static/chunks/8478b108a35675bb.js +0 -1
- package/web/.next/static/chunks/84b6fde40fe98bbc.js +0 -1
- package/web/.next/static/chunks/8525e0fed6102ee4.js +0 -1
- package/web/.next/static/chunks/858a571e17cbe069.js +0 -1
- package/web/.next/static/chunks/8599414ffd4e15f5.js +0 -1
- package/web/.next/static/chunks/85da8b6aabbfc33c.js +0 -1
- package/web/.next/static/chunks/8866422156b74976.js +0 -1
- package/web/.next/static/chunks/8884218357d06e4c.js +0 -1
- package/web/.next/static/chunks/890e85bcb002030f.js +0 -1
- package/web/.next/static/chunks/8a6482e4289bd485.js +0 -1
- package/web/.next/static/chunks/8b34938e48e56746.js +0 -1
- package/web/.next/static/chunks/8bc16f2ee0ac282b.js +0 -1
- package/web/.next/static/chunks/8c05e7493172a40a.js +0 -1
- package/web/.next/static/chunks/8c16bb1814e36e5d.js +0 -1
- package/web/.next/static/chunks/8d9c6ac44d75942c.js +0 -1
- package/web/.next/static/chunks/8e2d9292729601b9.js +0 -1
- package/web/.next/static/chunks/8ed313638226f782.js +0 -1
- package/web/.next/static/chunks/8f98e5a8f241fe53.js +0 -1
- package/web/.next/static/chunks/8fc154c5edda0beb.js +0 -1
- package/web/.next/static/chunks/8fe2d5b09bf432b8.js +0 -1
- package/web/.next/static/chunks/8fe35ce71e4ad05b.js +0 -1
- package/web/.next/static/chunks/9067d4871d0c903f.js +0 -1
- package/web/.next/static/chunks/92d091aa318b78fb.js +0 -1
- package/web/.next/static/chunks/93af57e60f3a66ba.js +0 -1
- package/web/.next/static/chunks/93dd149a0766adcc.js +0 -1
- package/web/.next/static/chunks/957474fa08a22115.js +0 -1
- package/web/.next/static/chunks/95b925bb74686af7.js +0 -1
- package/web/.next/static/chunks/96158847987b2403.js +0 -1
- package/web/.next/static/chunks/975c124d34c8c6a8.js +0 -1
- package/web/.next/static/chunks/97bf3636621b58c7.js +0 -1
- package/web/.next/static/chunks/97e9c48e0abc9a50.js +0 -1
- package/web/.next/static/chunks/99052b059a0075f9.js +0 -1
- package/web/.next/static/chunks/99de3f6268e262a3.js +0 -1
- package/web/.next/static/chunks/99e12f466e3868ca.js +0 -1
- package/web/.next/static/chunks/9ba434534d00d922.js +0 -1
- package/web/.next/static/chunks/9d3cb38ab5fb405b.js +0 -1
- package/web/.next/static/chunks/9d5adb23e0187d9c.js +0 -1
- package/web/.next/static/chunks/9d8444f3f16a0998.js +0 -1
- package/web/.next/static/chunks/9dd2a16ac3fea1f1.js +0 -1
- package/web/.next/static/chunks/9e66ab37fd08bc66.js +0 -1
- package/web/.next/static/chunks/a09fa49dbf0f3636.js +0 -1
- package/web/.next/static/chunks/a2000986cd87a131.js +0 -1
- package/web/.next/static/chunks/a31fd9cfaa7a3158.js +0 -1
- package/web/.next/static/chunks/a38e1790e76ded6c.js +0 -1
- package/web/.next/static/chunks/a662e9340d282c55.js +0 -1
- package/web/.next/static/chunks/a77c0a719a2cc920.js +0 -1
- package/web/.next/static/chunks/a7f8cdb6749f9bdd.js +0 -1
- package/web/.next/static/chunks/a8a4fdbbcb3a5998.js +0 -1
- package/web/.next/static/chunks/a8f26eabe8187392.js +0 -1
- package/web/.next/static/chunks/a954d978d5e9781e.js +0 -1
- package/web/.next/static/chunks/a977e04dad1a77c7.js +0 -1
- package/web/.next/static/chunks/abd77592929f00d5.js +0 -1
- package/web/.next/static/chunks/ac53962c1a4765c7.js +0 -1
- package/web/.next/static/chunks/ade5ee5b3412436e.js +0 -1
- package/web/.next/static/chunks/ae84e9326b9e9200.js +0 -2
- package/web/.next/static/chunks/b0810838151379a2.js +0 -1
- package/web/.next/static/chunks/b1106224fbc2f015.js +0 -1
- package/web/.next/static/chunks/b13329875853d9a5.js +0 -1
- package/web/.next/static/chunks/b1460995e7a388b9.css +0 -1
- package/web/.next/static/chunks/b2b08e8fb70210c7.js +0 -1
- package/web/.next/static/chunks/b2f0e49369262eea.js +0 -1
- package/web/.next/static/chunks/b46abe587d05f58c.js +0 -1
- package/web/.next/static/chunks/b555154c60b9d90c.js +0 -1
- package/web/.next/static/chunks/b61982efe6f7e40e.js +0 -1
- package/web/.next/static/chunks/b6972d679174ce65.js +0 -1
- package/web/.next/static/chunks/b6ae34a5c2627d04.js +0 -1
- package/web/.next/static/chunks/bae57337da9a2d34.js +0 -1
- package/web/.next/static/chunks/bba2ccf4fd7849e1.js +0 -1
- package/web/.next/static/chunks/bc21e40585b8dcf4.js +0 -1
- package/web/.next/static/chunks/bd0cd7805b800eab.js +0 -1
- package/web/.next/static/chunks/bf13e9bc0390b21d.js +0 -59
- package/web/.next/static/chunks/bfec0c4899344791.js +0 -1
- package/web/.next/static/chunks/c1a40361928a6f90.js +0 -1
- package/web/.next/static/chunks/c1f34786f0d6908c.js +0 -2
- package/web/.next/static/chunks/c1fa94e9df162cb2.js +0 -1
- package/web/.next/static/chunks/c260a37325b283d3.js +0 -1
- package/web/.next/static/chunks/c3abb9ed0d089656.js +0 -1
- package/web/.next/static/chunks/c49a32e2d002dd91.js +0 -1
- package/web/.next/static/chunks/c564bdda2d517997.js +0 -1
- package/web/.next/static/chunks/c5c7a925445f4d05.js +0 -1
- package/web/.next/static/chunks/c7e793951b20a67f.js +0 -1
- package/web/.next/static/chunks/c86d4c471f194ad0.js +0 -1
- package/web/.next/static/chunks/c8d2cd372806e8b4.js +0 -1
- package/web/.next/static/chunks/c932b41ef3a40647.js +0 -1
- package/web/.next/static/chunks/c95abf23ce28b320.js +0 -1
- package/web/.next/static/chunks/c9d225b49db0980e.js +0 -1
- package/web/.next/static/chunks/c9e3afa09e76a4b2.js +0 -1
- package/web/.next/static/chunks/c9ef2470073e11cb.js +0 -1
- package/web/.next/static/chunks/ca201ae288dba155.js +0 -1
- package/web/.next/static/chunks/ca6196a863fc258d.js +0 -1
- package/web/.next/static/chunks/cac3a64966a112f7.js +0 -1
- package/web/.next/static/chunks/cb1e02415930189c.js +0 -1
- package/web/.next/static/chunks/cb412c095989545d.js +0 -1
- package/web/.next/static/chunks/cba332976e88a351.js +0 -1
- package/web/.next/static/chunks/cbf0c6470851a2f0.js +0 -1
- package/web/.next/static/chunks/cc60420e9bf53d96.js +0 -1
- package/web/.next/static/chunks/cc9054c5e6e1c706.js +0 -1
- package/web/.next/static/chunks/cd3bf2c5469b9646.js +0 -1
- package/web/.next/static/chunks/cdd7964a31b63d66.js +0 -1
- package/web/.next/static/chunks/cdd7f91e23b5ea49.js +0 -1
- package/web/.next/static/chunks/ce6a2fd4485c50c7.js +0 -1
- package/web/.next/static/chunks/d04de4be30ab78ca.js +0 -3
- package/web/.next/static/chunks/d0be65e7d38590b6.js +0 -1
- package/web/.next/static/chunks/d128b5501807e6f0.js +0 -1
- package/web/.next/static/chunks/d2124558f2b71c54.js +0 -1
- package/web/.next/static/chunks/d21a7ac5bcd538a3.js +0 -1
- package/web/.next/static/chunks/d35123b0dc2e2702.js +0 -1
- package/web/.next/static/chunks/d3ff3d218c7ad329.js +0 -1
- package/web/.next/static/chunks/d47def0da790a783.js +0 -1
- package/web/.next/static/chunks/d56169a6ceb14d27.js +0 -1
- package/web/.next/static/chunks/d5f1eede831e271a.js +0 -1
- package/web/.next/static/chunks/d62ba6ca7b41e179.js +0 -1
- package/web/.next/static/chunks/d6e74c394e816b3a.js +0 -1
- package/web/.next/static/chunks/d700d036b0dd9d28.js +0 -1
- package/web/.next/static/chunks/d7922dc82b3d8177.js +0 -1
- package/web/.next/static/chunks/d79a28dee31b3e43.js +0 -1
- package/web/.next/static/chunks/d88d6c7dd4fb3eb0.js +0 -1
- package/web/.next/static/chunks/d95b6e4c9a832b75.js +0 -1
- package/web/.next/static/chunks/dac044a4e6d8e3d4.js +0 -1
- package/web/.next/static/chunks/db873305cb622122.js +0 -1
- package/web/.next/static/chunks/dba11645cc1ddde8.js +0 -1
- package/web/.next/static/chunks/dbfb2921fe1fbe42.js +0 -1
- package/web/.next/static/chunks/dc75258a3914ab28.js +0 -1
- package/web/.next/static/chunks/ddbb7e6d2aa7940f.js +0 -1
- package/web/.next/static/chunks/ddcfb6c08594ccb7.js +0 -1
- package/web/.next/static/chunks/de82d83003608b30.js +0 -1
- package/web/.next/static/chunks/debe9e537fa1dd5c.js +0 -1
- package/web/.next/static/chunks/e0e2881173c1b4ea.js +0 -1
- package/web/.next/static/chunks/e16538f1db410909.js +0 -1
- package/web/.next/static/chunks/e1dcb6b88dd2cbfb.js +0 -1
- package/web/.next/static/chunks/e1ec2aeadbc3e43e.js +0 -1
- package/web/.next/static/chunks/e4967b0e84ca5a95.js +0 -1
- package/web/.next/static/chunks/e4c653eb9557c225.js +0 -1
- package/web/.next/static/chunks/e51516e366109a4d.js +0 -1
- package/web/.next/static/chunks/e759235b76258903.js +0 -1
- package/web/.next/static/chunks/e75c5376799db08c.js +0 -1
- package/web/.next/static/chunks/e8341f198526730e.js +0 -1
- package/web/.next/static/chunks/e8d014f4a5df5f4b.js +0 -1
- package/web/.next/static/chunks/eab21ff64827175b.js +0 -1
- package/web/.next/static/chunks/eaf5638419fe834d.js +0 -1
- package/web/.next/static/chunks/eb49387d22b57020.js +0 -1
- package/web/.next/static/chunks/ebb7e6387076d1f2.js +0 -1
- package/web/.next/static/chunks/ecf9bd4e51bc22b2.js +0 -1
- package/web/.next/static/chunks/ed5f5eaaba3fe86e.js +0 -1
- package/web/.next/static/chunks/ee3792dfe67952fc.js +0 -1
- package/web/.next/static/chunks/ee96f625d002bb6f.js +0 -1
- package/web/.next/static/chunks/f01c407dc77e32e6.js +0 -1
- package/web/.next/static/chunks/f05e324248b7eefa.js +0 -1
- package/web/.next/static/chunks/f116adff993e4e78.js +0 -1
- package/web/.next/static/chunks/f48a6189ac11bc51.js +0 -1
- package/web/.next/static/chunks/f57a12cf8a7fa100.js +0 -1
- package/web/.next/static/chunks/f6bf8273ddaca996.js +0 -1
- package/web/.next/static/chunks/f7313a12522304e8.js +0 -1
- package/web/.next/static/chunks/f7938fccffa01b89.js +0 -1
- package/web/.next/static/chunks/f7b685bb0cb377c2.js +0 -1
- package/web/.next/static/chunks/f7e499a9733db05b.js +0 -1
- package/web/.next/static/chunks/fa113f988d09306b.js +0 -1
- package/web/.next/static/chunks/fcb420148a0cf38e.js +0 -1
- package/web/.next/static/chunks/fd6bbc9c53b0101e.js +0 -1
- package/web/.next/static/chunks/fef1f3b5114b8d2d.js +0 -1
- /package/web/.next/server/chunks/{[root-of-the-server]__52c318d1._.js.map → [root-of-the-server]__91d44424._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__a5879003._.js.map → [root-of-the-server]__db04ed44._.js.map} +0 -0
- /package/web/.next/server/chunks/{744ca_web__next-internal_server_app_api_chat_stream_route_actions_ea265361.js.map → ssr/[root-of-the-server]__52485955._.js.map} +0 -0
- /package/web/.next/static/{OiQDaxgdMUYHZ4ZGZWNWt → vM_hX6beWPwd9pbv9Quhc}/_buildManifest.js +0 -0
- /package/web/.next/static/{OiQDaxgdMUYHZ4ZGZWNWt → vM_hX6beWPwd9pbv9Quhc}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{OiQDaxgdMUYHZ4ZGZWNWt → vM_hX6beWPwd9pbv9Quhc}/_ssgManifest.js +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
module.exports=[96213,a=>{"use strict";var b=a.i(10973),c=a.i(96960),d=a.i(3703);let e=(0,c.createContext)(null);function f({children:a}){let f=(0,c.useRef)(null),g=(0,c.useRef)(null),[h,i]=(0,c.useState)(!1),j=(0,c.useCallback)(a=>{f.current=a},[]),k=(0,c.useCallback)(a=>{if(f.current?.isDirty){g.current=a,i(!0);return}a()},[]),l=(0,c.useCallback)(()=>{i(!1),f.current?.onReset(),f.current=null,g.current?.(),g.current=null},[]),m=(0,c.useCallback)(()=>{i(!1),g.current=null},[]),n=(0,c.useCallback)(()=>f.current?.isDirty??!1,[]);return(0,b.jsxs)(e,{value:{setGuard:j,guardedNavigate:k,getIsDirty:n},children:[a,(0,b.jsx)(d.AlertDialog,{open:h,children:(0,b.jsxs)(d.AlertDialogContent,{children:[(0,b.jsxs)(d.AlertDialogHeader,{children:[(0,b.jsx)(d.AlertDialogTitle,{children:"Discard unsaved changes?"}),(0,b.jsx)(d.AlertDialogDescription,{children:"You have unsaved changes. Are you sure you want to discard them?"})]}),(0,b.jsxs)(d.AlertDialogFooter,{children:[(0,b.jsx)(d.AlertDialogAction,{variant:"destructive",onClick:l,children:"Discard"}),(0,b.jsx)(d.AlertDialogCancel,{onClick:m,children:"Keep editing"})]})]})})]})}function g(){let a=(0,c.useContext)(e);if(!a)throw Error("useDrawerCloseGuard must be used within DrawerCloseGuardProvider");return a}function h({open:a,isDirty:b,onClose:d,onReset:e}){let{setGuard:f,guardedNavigate:h}=g();return(0,c.useEffect)(()=>(a?f({isDirty:b,onReset:e}):f(null),()=>f(null)),[a,b,e,f]),{attemptClose:(0,c.useCallback)(()=>{h(()=>{e(),d()})},[h,d,e])}}a.s(["DrawerCloseGuardProvider",()=>f,"useDrawerCloseGuard",()=>g,"useGuardedDrawerClose",()=>h])},2065,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"useMergedRef",{enumerable:!0,get:function(){return e}});let d=a.r(96960);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 c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},61712,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"warnOnce",{enumerable:!0,get:function(){return d}});let d=a=>{}},27478,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getDeploymentId:function(){return f},getDeploymentIdQueryOrEmptyString:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(){return!1}function g(){return""}},58508,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DEFAULT_SEGMENT_KEY:function(){return l},NOT_FOUND_SEGMENT_KEY:function(){return m},PAGE_SEGMENT_KEY:function(){return k},addSearchParamsIfPageSegment:function(){return i},computeSelectedLayoutSegment:function(){return j},getSegmentValue:function(){return f},getSelectedLayoutSegmentPath:function(){return function a(b,c,d=!0,e=[]){let g;if(d)g=b[1][c];else{let a=b[1];g=a.children??Object.values(a)[0]}if(!g)return e;let h=f(g[0]);return!h||h.startsWith(k)?e:(e.push(h),a(g,c,!1,e))}},isGroupSegment:function(){return g},isParallelRouteSegment:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){return Array.isArray(a)?a[1]:a}function g(a){return"("===a[0]&&a.endsWith(")")}function h(a){return a.startsWith("@")&&"@children"!==a}function i(a,b){if(a.includes(k)){let a=JSON.stringify(b);return"{}"!==a?k+"?"+a:k}return a}function j(a,b){if(!a||0===a.length)return null;let c="children"===b?a[0]:a[a.length-1];return c===l?null:c}let k="__PAGE__",l="__DEFAULT__",m="/_not-found"},3703,a=>{"use strict";var b=a.i(10973),c=a.i(96960),d=a.i(7420),e=a.i(6175),f=a.i(40093),g=a.i(59653),h=a.i(90986),i="AlertDialog",[j,k]=(0,d.createContextScope)(i,[f.createDialogScope]),l=(0,f.createDialogScope)(),m=a=>{let{__scopeAlertDialog:c,...d}=a,e=l(c);return(0,b.jsx)(f.Root,{...e,...d,modal:!0})};m.displayName=i;var n=c.forwardRef((a,c)=>{let{__scopeAlertDialog:d,...e}=a,g=l(d);return(0,b.jsx)(f.Trigger,{...g,...e,ref:c})});n.displayName="AlertDialogTrigger";var o=a=>{let{__scopeAlertDialog:c,...d}=a,e=l(c);return(0,b.jsx)(f.Portal,{...e,...d})};o.displayName="AlertDialogPortal";var p=c.forwardRef((a,c)=>{let{__scopeAlertDialog:d,...e}=a,g=l(d);return(0,b.jsx)(f.Overlay,{...g,...e,ref:c})});p.displayName="AlertDialogOverlay";var q="AlertDialogContent",[r,s]=j(q),t=(0,h.createSlottable)("AlertDialogContent"),u=c.forwardRef((a,d)=>{let{__scopeAlertDialog:h,children:i,...j}=a,k=l(h),m=c.useRef(null),n=(0,e.useComposedRefs)(d,m),o=c.useRef(null);return(0,b.jsx)(f.WarningProvider,{contentName:q,titleName:v,docsSlug:"alert-dialog",children:(0,b.jsx)(r,{scope:h,cancelRef:o,children:(0,b.jsxs)(f.Content,{role:"alertdialog",...k,...j,ref:n,onOpenAutoFocus:(0,g.composeEventHandlers)(j.onOpenAutoFocus,a=>{a.preventDefault(),o.current?.focus({preventScroll:!0})}),onPointerDownOutside:a=>a.preventDefault(),onInteractOutside:a=>a.preventDefault(),children:[(0,b.jsx)(t,{children:i}),(0,b.jsx)(C,{contentRef:m})]})})})});u.displayName=q;var v="AlertDialogTitle",w=c.forwardRef((a,c)=>{let{__scopeAlertDialog:d,...e}=a,g=l(d);return(0,b.jsx)(f.Title,{...g,...e,ref:c})});w.displayName=v;var x="AlertDialogDescription",y=c.forwardRef((a,c)=>{let{__scopeAlertDialog:d,...e}=a,g=l(d);return(0,b.jsx)(f.Description,{...g,...e,ref:c})});y.displayName=x;var z=c.forwardRef((a,c)=>{let{__scopeAlertDialog:d,...e}=a,g=l(d);return(0,b.jsx)(f.Close,{...g,...e,ref:c})});z.displayName="AlertDialogAction";var A="AlertDialogCancel",B=c.forwardRef((a,c)=>{let{__scopeAlertDialog:d,...g}=a,{cancelRef:h}=s(A,d),i=l(d),j=(0,e.useComposedRefs)(c,h);return(0,b.jsx)(f.Close,{...i,...g,ref:j})});B.displayName=A;var C=({contentRef:a})=>{let b=`\`${q}\` requires a description for the component to be accessible for screen reader users.
|
|
2
|
-
|
|
3
|
-
You can add a description to the \`${q}\` by passing a \`${x}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
4
|
-
|
|
5
|
-
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${q}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
6
|
-
|
|
7
|
-
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return c.useEffect(()=>{document.getElementById(a.current?.getAttribute("aria-describedby"))||console.warn(b)},[b,a]),null};a.s(["Action",()=>z,"AlertDialog",()=>m,"AlertDialogAction",()=>z,"AlertDialogCancel",()=>B,"AlertDialogContent",()=>u,"AlertDialogDescription",()=>y,"AlertDialogOverlay",()=>p,"AlertDialogPortal",()=>o,"AlertDialogTitle",()=>w,"AlertDialogTrigger",()=>n,"Cancel",()=>B,"Content",()=>u,"Description",()=>y,"Overlay",()=>p,"Portal",()=>o,"Root",()=>m,"Title",()=>w,"Trigger",()=>n,"createAlertDialogScope",()=>k],41802);var D=a.i(41802),D=D,E=a.i(85536),F=a.i(18948);function G({...a}){return(0,b.jsx)(D.Root,{"data-slot":"alert-dialog",...a})}function H({...a}){return(0,b.jsx)(D.Trigger,{"data-slot":"alert-dialog-trigger",...a})}function I({...a}){return(0,b.jsx)(D.Portal,{"data-slot":"alert-dialog-portal",...a})}function J({className:a,onClick:c,...d}){return(0,b.jsx)(D.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,E.cn)("fixed inset-0 z-50 bg-black/50",a),onClick:a=>{a.stopPropagation(),c?.(a)},...d})}function K({className:a,size:c="default",...d}){return(0,b.jsxs)(I,{children:[(0,b.jsx)(J,{}),(0,b.jsx)(D.Content,{"data-slot":"alert-dialog-content","data-size":c,className:(0,E.cn)("bg-background group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-lg",a),...d})]})}function L({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,E.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",a),...c})}function M({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,E.cn)("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",a),...c})}function N({className:a,...c}){return(0,b.jsx)(D.Title,{"data-slot":"alert-dialog-title",className:(0,E.cn)("text-lg font-semibold sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",a),...c})}function O({className:a,...c}){return(0,b.jsx)(D.Description,{"data-slot":"alert-dialog-description",className:(0,E.cn)("text-muted-foreground text-sm",a),...c})}function P({className:a,variant:c="default",size:d="default",...e}){return(0,b.jsx)(F.Button,{variant:c,size:d,asChild:!0,children:(0,b.jsx)(D.Action,{"data-slot":"alert-dialog-action",className:(0,E.cn)(a),...e})})}function Q({className:a,variant:c="outline",size:d="default",...e}){return(0,b.jsx)(F.Button,{variant:c,size:d,asChild:!0,children:(0,b.jsx)(D.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,E.cn)(a),...e})})}a.s(["AlertDialog",()=>G,"AlertDialogAction",()=>P,"AlertDialogCancel",()=>Q,"AlertDialogContent",()=>K,"AlertDialogDescription",()=>O,"AlertDialogFooter",()=>M,"AlertDialogHeader",()=>L,"AlertDialogTitle",()=>N,"AlertDialogTrigger",()=>H],3703)}];
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=_7ba5f9bd._.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../src/presentation/web/hooks/drawer-close-guard.tsx","../../../../../../../node_modules/.pnpm/next%4016.1.6_%40babel%2Bcore%407.29.0_%40playwright%2Btest%401.58.1_react-dom%4019.2.4_react%4019.2.4__react%4019.2.4/node_modules/next/src/client/use-merged-ref.ts","../../../../../../../node_modules/.pnpm/next%4016.1.6_%40babel%2Bcore%407.29.0_%40playwright%2Btest%401.58.1_react-dom%4019.2.4_react%4019.2.4__react%4019.2.4/node_modules/next/src/shared/lib/utils/warn-once.ts","../../../../../../../node_modules/.pnpm/next%4016.1.6_%40babel%2Bcore%407.29.0_%40playwright%2Btest%401.58.1_react-dom%4019.2.4_react%4019.2.4__react%4019.2.4/node_modules/next/src/shared/lib/deployment-id.ts","../../../../../../../node_modules/.pnpm/next%4016.1.6_%40babel%2Bcore%407.29.0_%40playwright%2Btest%401.58.1_react-dom%4019.2.4_react%4019.2.4__react%4019.2.4/node_modules/next/src/shared/lib/segment.ts","../../../../../../../src/presentation/web/components/ui/alert-dialog.tsx","../../../../../../../node_modules/.pnpm/%40radix-ui%2Breact-alert-dialog%401.1.15_%40types%2Breact-dom%4019.2.3_%40types%2Breact%4019.2.10__%40type_56f594cfdf18ff10dafbf7587c6528db/node_modules/%40radix-ui/react-alert-dialog/dist/index.mjs"],"sourcesContent":["'use client';\n\nimport {\n createContext,\n useContext,\n useState,\n useCallback,\n useEffect,\n useRef,\n type ReactNode,\n} from 'react';\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogTitle,\n} from '@/components/ui/alert-dialog';\n\n/* ---------------------------------------------------------------------------\n * Context\n * ------------------------------------------------------------------------- */\n\ninterface DrawerCloseGuardContextValue {\n /** Register a drawer's dirty state and reset callback. Pass `null` to unregister. */\n setGuard: (guard: { isDirty: boolean; onReset: () => void } | null) => void;\n /** Navigate only if no dirty drawer is registered; otherwise show confirmation. */\n guardedNavigate: (navigate: () => void) => void;\n /** Returns true when any drawer has unsaved changes. Safe to call from effects/intervals. */\n getIsDirty: () => boolean;\n}\n\nconst DrawerCloseGuardContext = createContext<DrawerCloseGuardContextValue | null>(null);\n\n/* ---------------------------------------------------------------------------\n * Provider — renders the shared confirmation dialog\n * ------------------------------------------------------------------------- */\n\nexport function DrawerCloseGuardProvider({ children }: { children: ReactNode }) {\n // Use a ref so guard updates (on every keystroke) don't re-render the provider tree.\n const guardRef = useRef<{ isDirty: boolean; onReset: () => void } | null>(null);\n const pendingNavigateRef = useRef<(() => void) | null>(null);\n const [showConfirmation, setShowConfirmation] = useState(false);\n\n const setGuard = useCallback((guard: { isDirty: boolean; onReset: () => void } | null) => {\n guardRef.current = guard;\n }, []);\n\n const guardedNavigate = useCallback((navigate: () => void) => {\n if (guardRef.current?.isDirty) {\n pendingNavigateRef.current = navigate;\n setShowConfirmation(true);\n return;\n }\n navigate();\n }, []);\n\n const confirmDiscard = useCallback(() => {\n setShowConfirmation(false);\n guardRef.current?.onReset();\n guardRef.current = null;\n pendingNavigateRef.current?.();\n pendingNavigateRef.current = null;\n }, []);\n\n const cancelDiscard = useCallback(() => {\n setShowConfirmation(false);\n pendingNavigateRef.current = null;\n }, []);\n\n const getIsDirty = useCallback(() => guardRef.current?.isDirty ?? false, []);\n\n return (\n <DrawerCloseGuardContext value={{ setGuard, guardedNavigate, getIsDirty }}>\n {children}\n\n <AlertDialog open={showConfirmation}>\n <AlertDialogContent>\n <AlertDialogHeader>\n <AlertDialogTitle>Discard unsaved changes?</AlertDialogTitle>\n <AlertDialogDescription>\n You have unsaved changes. Are you sure you want to discard them?\n </AlertDialogDescription>\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogAction variant=\"destructive\" onClick={confirmDiscard}>\n Discard\n </AlertDialogAction>\n <AlertDialogCancel onClick={cancelDiscard}>Keep editing</AlertDialogCancel>\n </AlertDialogFooter>\n </AlertDialogContent>\n </AlertDialog>\n </DrawerCloseGuardContext>\n );\n}\n\n/* ---------------------------------------------------------------------------\n * Hook — access the guard from any child component\n * ------------------------------------------------------------------------- */\n\nexport function useDrawerCloseGuard() {\n const ctx = useContext(DrawerCloseGuardContext);\n if (!ctx) throw new Error('useDrawerCloseGuard must be used within DrawerCloseGuardProvider');\n return ctx;\n}\n\n/* ---------------------------------------------------------------------------\n * Convenience hook for drawer components\n *\n * Registers dirty state + reset callback with the guard, and returns an\n * `attemptClose` function that goes through the guard before closing.\n * ------------------------------------------------------------------------- */\n\nexport function useGuardedDrawerClose({\n open,\n isDirty,\n onClose,\n onReset,\n}: {\n open: boolean;\n isDirty: boolean;\n onClose: () => void;\n onReset: () => void;\n}) {\n const { setGuard, guardedNavigate } = useDrawerCloseGuard();\n\n // Keep the guard in sync with dirty state. Because setGuard writes to a ref,\n // this doesn't trigger re-renders in the provider.\n useEffect(() => {\n if (open) {\n setGuard({ isDirty, onReset });\n } else {\n setGuard(null);\n }\n return () => setGuard(null);\n }, [open, isDirty, onReset, setGuard]);\n\n const attemptClose = useCallback(() => {\n guardedNavigate(() => {\n onReset();\n onClose();\n });\n }, [guardedNavigate, onClose, onReset]);\n\n return { attemptClose };\n}\n","import { useCallback, useRef, type Ref } from 'react'\n\n// This is a compatibility hook to support React 18 and 19 refs.\n// In 19, a cleanup function from refs may be returned.\n// In 18, returning a cleanup function creates a warning.\n// Since we take userspace refs, we don't know ahead of time if a cleanup function will be returned.\n// This implements cleanup functions with the old behavior in 18.\n// We know refs are always called alternating with `null` and then `T`.\n// So a call with `null` means we need to call the previous cleanup functions.\nexport function useMergedRef<TElement>(\n refA: Ref<TElement>,\n refB: Ref<TElement>\n): Ref<TElement> {\n const cleanupA = useRef<(() => void) | null>(null)\n const cleanupB = useRef<(() => void) | null>(null)\n\n // NOTE: In theory, we could skip the wrapping if only one of the refs is non-null.\n // (this happens often if the user doesn't pass a ref to Link/Form/Image)\n // But this can cause us to leak a cleanup-ref into user code (previously via `<Link legacyBehavior>`),\n // and the user might pass that ref into ref-merging library that doesn't support cleanup refs\n // (because it hasn't been updated for React 19)\n // which can then cause things to blow up, because a cleanup-returning ref gets called with `null`.\n // So in practice, it's safer to be defensive and always wrap the ref, even on React 19.\n return useCallback(\n (current: TElement | null): void => {\n if (current === null) {\n const cleanupFnA = cleanupA.current\n if (cleanupFnA) {\n cleanupA.current = null\n cleanupFnA()\n }\n const cleanupFnB = cleanupB.current\n if (cleanupFnB) {\n cleanupB.current = null\n cleanupFnB()\n }\n } else {\n if (refA) {\n cleanupA.current = applyRef(refA, current)\n }\n if (refB) {\n cleanupB.current = applyRef(refB, current)\n }\n }\n },\n [refA, refB]\n )\n}\n\nfunction applyRef<TElement>(\n refA: NonNullable<Ref<TElement>>,\n current: TElement\n) {\n if (typeof refA === 'function') {\n const cleanup = refA(current)\n if (typeof cleanup === 'function') {\n return cleanup\n } else {\n return () => refA(null)\n }\n } else {\n refA.current = current\n return () => {\n refA.current = null\n }\n }\n}\n","let warnOnce = (_: string) => {}\nif (process.env.NODE_ENV !== 'production') {\n const warnings = new Set<string>()\n warnOnce = (msg: string) => {\n if (!warnings.has(msg)) {\n console.warn(msg)\n }\n warnings.add(msg)\n }\n}\n\nexport { warnOnce }\n","// This could also be a variable instead of a function, but some unit tests want to change the ID at\n// runtime. Even though that would never happen in a real deployment.\nexport function getDeploymentId(): string | undefined {\n return process.env.NEXT_DEPLOYMENT_ID\n}\n\nexport function getDeploymentIdQueryOrEmptyString(): string {\n let deploymentId = getDeploymentId()\n if (deploymentId) {\n return `?dpl=${deploymentId}`\n }\n return ''\n}\n","import type { FlightRouterState, Segment } from './app-router-types'\n\nexport function getSegmentValue(segment: Segment) {\n return Array.isArray(segment) ? segment[1] : segment\n}\n\nexport function isGroupSegment(segment: string) {\n // Use array[0] for performant purpose\n return segment[0] === '(' && segment.endsWith(')')\n}\n\nexport function isParallelRouteSegment(segment: string) {\n return segment.startsWith('@') && segment !== '@children'\n}\n\nexport function addSearchParamsIfPageSegment(\n segment: Segment,\n searchParams: Record<string, string | string[] | undefined>\n) {\n const isPageSegment = segment.includes(PAGE_SEGMENT_KEY)\n\n if (isPageSegment) {\n const stringifiedQuery = JSON.stringify(searchParams)\n return stringifiedQuery !== '{}'\n ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery\n : PAGE_SEGMENT_KEY\n }\n\n return segment\n}\n\nexport function computeSelectedLayoutSegment(\n segments: string[] | null,\n parallelRouteKey: string\n): string | null {\n if (!segments || segments.length === 0) {\n return null\n }\n\n // For 'children', use first segment; for other parallel routes, use last segment\n const rawSegment =\n parallelRouteKey === 'children'\n ? segments[0]\n : segments[segments.length - 1]\n\n // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n // Returning an internal value like `__DEFAULT__` would be confusing\n return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment\n}\n\n/** Get the canonical parameters from the current level to the leaf node. */\nexport function getSelectedLayoutSegmentPath(\n tree: FlightRouterState,\n parallelRouteKey: string,\n first = true,\n segmentPath: string[] = []\n): string[] {\n let node: FlightRouterState\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey]\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1]\n node = parallelRoutes.children ?? Object.values(parallelRoutes)[0]\n }\n\n if (!node) return segmentPath\n const segment = node[0]\n\n let segmentValue = getSegmentValue(segment)\n\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n return segmentPath\n }\n\n segmentPath.push(segmentValue)\n\n return getSelectedLayoutSegmentPath(\n node,\n parallelRouteKey,\n false,\n segmentPath\n )\n}\n\nexport const PAGE_SEGMENT_KEY = '__PAGE__'\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__'\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found'\n","'use client';\n\nimport * as React from 'react';\nimport { AlertDialog as AlertDialogPrimitive } from 'radix-ui';\n\nimport { cn } from '@/lib/utils';\nimport { Button } from '@/components/ui/button';\n\nfunction AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>) {\n return <AlertDialogPrimitive.Root data-slot=\"alert-dialog\" {...props} />;\n}\n\nfunction AlertDialogTrigger({\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>) {\n return <AlertDialogPrimitive.Trigger data-slot=\"alert-dialog-trigger\" {...props} />;\n}\n\nfunction AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>) {\n return <AlertDialogPrimitive.Portal data-slot=\"alert-dialog-portal\" {...props} />;\n}\n\nfunction AlertDialogOverlay({\n className,\n onClick,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>) {\n return (\n <AlertDialogPrimitive.Overlay\n data-slot=\"alert-dialog-overlay\"\n className={cn('fixed inset-0 z-50 bg-black/50', className)}\n onClick={(e) => {\n // Prevent overlay clicks from propagating to document-level handlers\n // (e.g. BaseDrawer outside-click) — only the dialog should dismiss.\n e.stopPropagation();\n onClick?.(e);\n }}\n {...props}\n />\n );\n}\n\nfunction AlertDialogContent({\n className,\n size = 'default',\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Content> & {\n size?: 'default' | 'sm';\n}) {\n return (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n data-slot=\"alert-dialog-content\"\n data-size={size}\n className={cn(\n 'bg-background group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-lg',\n className\n )}\n {...props}\n />\n </AlertDialogPortal>\n );\n}\n\nfunction AlertDialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"alert-dialog-header\"\n className={cn(\n 'grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction AlertDialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"alert-dialog-footer\"\n className={cn(\n 'flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction AlertDialogTitle({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Title>) {\n return (\n <AlertDialogPrimitive.Title\n data-slot=\"alert-dialog-title\"\n className={cn(\n 'text-lg font-semibold sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction AlertDialogDescription({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Description>) {\n return (\n <AlertDialogPrimitive.Description\n data-slot=\"alert-dialog-description\"\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n );\n}\n\nfunction AlertDialogMedia({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"alert-dialog-media\"\n className={cn(\n \"bg-muted mb-2 inline-flex size-16 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-8\",\n className\n )}\n {...props}\n />\n );\n}\n\nfunction AlertDialogAction({\n className,\n variant = 'default',\n size = 'default',\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Action> &\n Pick<React.ComponentProps<typeof Button>, 'variant' | 'size'>) {\n return (\n <Button variant={variant} size={size} asChild>\n <AlertDialogPrimitive.Action\n data-slot=\"alert-dialog-action\"\n className={cn(className)}\n {...props}\n />\n </Button>\n );\n}\n\nfunction AlertDialogCancel({\n className,\n variant = 'outline',\n size = 'default',\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel> &\n Pick<React.ComponentProps<typeof Button>, 'variant' | 'size'>) {\n return (\n <Button variant={variant} size={size} asChild>\n <AlertDialogPrimitive.Cancel\n data-slot=\"alert-dialog-cancel\"\n className={cn(className)}\n {...props}\n />\n </Button>\n );\n}\n\nexport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogMedia,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n};\n","\"use client\";\n\n// src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useMergedRef","refA","refB","cleanupA","useRef","cleanupB","useCallback","current","cleanupFnA","cleanupFnB","applyRef","cleanup","warnOnce","_","process","env","NODE_ENV","warnings","Set","msg","has","console","warn","add","getDeploymentId","getDeploymentIdQueryOrEmptyString","NEXT_DEPLOYMENT_ID","deploymentId","DEFAULT_SEGMENT_KEY","NOT_FOUND_SEGMENT_KEY","PAGE_SEGMENT_KEY","addSearchParamsIfPageSegment","computeSelectedLayoutSegment","getSegmentValue","getSelectedLayoutSegmentPath","isGroupSegment","isParallelRouteSegment","segment","Array","isArray","endsWith","startsWith","searchParams","isPageSegment","includes","stringifiedQuery","JSON","stringify","segments","parallelRouteKey","length","rawSegment","tree","first","segmentPath","node","parallelRoutes","children","Object","values","segmentValue","push"],"mappings":"wDAEA,EAAA,EAAA,CAAA,CAAA,OASA,EAAA,EAAA,CAAA,CAAA,MAwBA,IAAM,EAA0B,CAAA,EAAA,EAAA,aAAA,AAAa,EAAsC,MAM5E,SAAS,EAAyB,UAAE,CAAQ,CAA2B,EAE5E,IAAM,EAAW,CAAA,EAAA,EAAA,MAAA,AAAM,EAAmD,MACpE,EAAqB,CAAA,EAAA,EAAA,MAAA,AAAM,EAAsB,MACjD,CAAC,EAAkB,EAAoB,CAAG,CAAA,EAAA,EAAA,QAAA,AAAQ,GAAC,GAEnD,EAAW,CAAA,EAAA,EAAA,WAAA,AAAW,EAAC,AAAC,IAC5B,EAAS,OAAO,CAAG,CACrB,EAAG,EAAE,EAEC,EAAkB,CAAA,EAAA,EAAA,WAAA,AAAW,EAAC,AAAC,IACnC,GAAI,EAAS,OAAO,EAAE,QAAS,CAC7B,EAAmB,OAAO,CAAG,EAC7B,GAAoB,GACpB,MACF,CACA,GACF,EAAG,EAAE,EAEC,EAAiB,CAAA,EAAA,EAAA,WAAA,AAAW,EAAC,KACjC,GAAoB,GACpB,EAAS,OAAO,EAAE,UAClB,EAAS,OAAO,CAAG,KACnB,EAAmB,OAAO,KAC1B,EAAmB,OAAO,CAAG,IAC/B,EAAG,EAAE,EAEC,EAAgB,CAAA,EAAA,EAAA,WAAA,A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B,WAC9B,CAAS,CACT,GAAG,EAC2D,EAC9D,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,EAAqB,WAAW,CAAA,CAC/B,YAAU,2BACV,UAAW,CAAA,EAAA,EAAA,EAAA,AAAE,EAAC,gCAAiC,GAC9C,GAAG,CAAK,EAGf,CAeA,SAAS,EAAkB,CACzB,WAAS,SACT,EAAU,SAAS,MACnB,EAAO,SAAS,CAChB,GAAG,EAE0D,EAC7D,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,MAAM,CAAA,CAAC,QAAS,EAAS,KAAM,EAAM,OAAO,CAAA,CAAA,WAC3C,CAAA,EAAA,EAAA,GAAA,EAAC,EAAqB,MAAM,CAAA,CAC1B,YAAU,sBACV,UAAW,CAAA,EAAA,EAAA,EAAA,AAAE,EAAC,GACb,GAAG,CAAK,IAIjB,CAEA,SAAS,EAAkB,WACzB,CAAS,SACT,EAAU,SAAS,MACnB,EAAO,SAAS,CAChB,GAAG,EAE0D,EAC7D,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,MAAM,CAAA,CAAC,QAAS,EAAS,KAAM,EAAM,OAAO,CAAA,CAAA,WAC3C,CAAA,EAAA,EAAA,GAAA,EAAC,EAAqB,MAAM,CAAA,CAC1B,YAAU,sBACV,UAAW,CAAA,EAAA,EAAA,EAAA,AAAE,EAAC,GACb,GAAG,CAAK,IAIjB","ignoreList":[1,2,3,4,6]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[31187,(a,b,c)=>{"use strict";var d=a.r(96960);d.useState,d.useEffect,d.useLayoutEffect,d.useDebugValue,c.useSyncExternalStore=void 0!==d.useSyncExternalStore?d.useSyncExternalStore:function(a,b){return b()}},7108,(a,b,c)=>{"use strict";b.exports=a.r(31187)},16605,a=>{"use strict";let b=(0,a.i(25700).default)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);a.s(["Trash2",()=>b],16605)},72980,a=>{"use strict";var b=a.i(76234);a.s(["AlertCircle",()=>b.default])},72016,51969,a=>{"use strict";let b=(0,a.i(25700).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);a.s(["default",()=>b],51969),a.s(["Check",()=>b],72016)},64005,a=>{"use strict";var b=a.i(96960);function c(a){let c=b.useRef({value:a,previous:a});return b.useMemo(()=>(c.current.value!==a&&(c.current.previous=c.current.value,c.current.value=a),c.current.previous),[a])}a.s(["usePrevious",()=>c])},58860,a=>{"use strict";var b=a.i(10973),c=a.i(96960),d=a.i(66873),e=c.forwardRef((a,c)=>(0,b.jsx)(d.Primitive.label,{...a,ref:c,onMouseDown:b=>{b.target.closest("button, input, select, textarea")||(a.onMouseDown?.(b),!b.defaultPrevented&&b.detail>1&&b.preventDefault())}}));e.displayName="Label",a.s(["Label",()=>e,"Root",()=>e],59967);var f=a.i(59967),f=f,g=a.i(42261),h=a.i(85536);let i=(0,g.cva)("text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),j=c.forwardRef(({className:a,...c},d)=>(0,b.jsx)(f.Root,{ref:d,className:(0,h.cn)(i(),a),...c}));j.displayName=f.Root.displayName,a.s(["Label",()=>j],58860)},3410,a=>{"use strict";let b=(0,a.i(25700).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["ChevronRight",()=>b],3410)},94132,a=>{"use strict";let b=(0,a.i(25700).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);a.s(["ChevronLeft",()=>b],94132)},96853,a=>{"use strict";let b=(0,a.i(25700).default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);a.s(["default",()=>b])},58339,a=>{"use strict";var b=a.i(10973),c=a.i(42261),d=a.i(85536);let e=(0,c.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-none",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function f({className:a,variant:c,...f}){return(0,b.jsx)("div",{className:(0,d.cn)(e({variant:c}),a),...f})}a.s(["Badge",()=>f])},63698,a=>{"use strict";let b=(0,a.i(25700).default)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]);a.s(["Terminal",()=>b],63698)},71238,a=>{"use strict";let b=(0,a.i(25700).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",()=>b],71238)},78454,a=>{"use strict";a.i(24255),a.s([])},3195,a=>{"use strict";let b=(0,a.i(25700).default)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);a.s(["FolderOpen",()=>b],3195)},50488,68291,85137,4901,a=>{"use strict";let b=(0,a.i(25700).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);a.s(["Code2",()=>b],50488);var c=a.i(25674);let d=(0,c.createServerReference)("404bd17f744a17b20231f90035371ffca34b0b13dd",c.callServer,void 0,c.findSourceMapURL,"openIde");a.s(["openIde",()=>d],68291);let e=(0,c.createServerReference)("40ddd631bf0b32d79e31bc49b7930c15d80982206a",c.callServer,void 0,c.findSourceMapURL,"openShell");a.s(["openShell",()=>e],85137);let f=(0,c.createServerReference)("400c7b1b7d6bbb265e7f4feda45c4494b42115ee8f",c.callServer,void 0,c.findSourceMapURL,"openFolder");a.s(["openFolder",()=>f],4901)},98410,a=>{"use strict";let b=(0,a.i(25700).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);a.s(["Copy",()=>b],98410)},67075,a=>{"use strict";var b=a.i(2811);a.s(["CheckCircle2",()=>b.default])},42642,a=>{"use strict";let b=(0,a.i(25700).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);a.s(["default",()=>b])},3942,a=>{"use strict";let b=(0,a.i(25700).default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);a.s(["Zap",()=>b],3942)},10606,a=>{"use strict";var b=a.i(51969);a.s(["CheckIcon",()=>b.default])},18615,a=>{"use strict";let b=(0,a.i(25700).default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);a.s(["RotateCcw",()=>b],18615)},38702,16223,a=>{"use strict";var b=a.i(10973),c=a.i(85536);function d({icon:a,title:d,description:e,action:f,className:g,...h}){return(0,b.jsxs)("div",{className:(0,c.cn)("flex flex-col items-center gap-4 px-4 py-12 text-center",g),...h,children:[a?(0,b.jsx)("div",{className:"text-muted-foreground",children:a}):null,(0,b.jsx)("h3",{className:"text-lg font-semibold",children:d}),e?(0,b.jsx)("p",{className:"text-muted-foreground max-w-md text-sm",children:e}):null,f?(0,b.jsx)("div",{className:"mt-2",children:f}):null]})}a.s(["EmptyState",()=>d],16223),a.s([],38702)},2372,21438,a=>{"use strict";var b=a.i(25674);let c=(0,b.createServerReference)("00f314d8d3b6d06cbd017be5780f932bfdf1910caa",b.callServer,void 0,b.findSourceMapURL,"getAllAgentModels");a.s(["getAllAgentModels",()=>c],2372);let d=(0,b.createServerReference)("60be3f60ebd6d3f42c3fb8db6763af9f6cec7f0b33",b.callServer,void 0,b.findSourceMapURL,"updateAgentAndModel");a.s(["updateAgentAndModel",()=>d],21438)},34644,a=>{"use strict";let b=(0,a.i(25700).default)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);a.s(["Bot",()=>b],34644)},55628,a=>{"use strict";var b=a.i(96960),c=a.i(68291),d=a.i(85137),e=a.i(4901);function f(a){let[f,g]=(0,b.useState)(!1),[h,i]=(0,b.useState)(!1),[j,k]=(0,b.useState)(!1),[l,m]=(0,b.useState)(null),[n,o]=(0,b.useState)(null),[p,q]=(0,b.useState)(null),r=(0,b.useRef)(null),s=(0,b.useRef)(null),t=(0,b.useRef)(null);(0,b.useEffect)(()=>()=>{r.current&&clearTimeout(r.current),s.current&&clearTimeout(s.current),t.current&&clearTimeout(t.current)},[]);let u=(0,b.useCallback)(async(b,c,d,e,f)=>{if(a&&!f){e.current&&clearTimeout(e.current),c(!0),d(null);try{let a=await b();if(!a.success){let b=a.error??"An unexpected error occurred";d(b),e.current=setTimeout(()=>d(null),5e3)}}catch(a){d(a instanceof Error?a.message:"An unexpected error occurred"),e.current=setTimeout(()=>d(null),5e3)}finally{c(!1)}}},[a]);return{openInIde:(0,b.useCallback)(()=>u(()=>(0,c.openIde)({repositoryPath:a.repositoryPath}),g,m,r,f),[u,f,a]),openInShell:(0,b.useCallback)(()=>u(()=>(0,d.openShell)({repositoryPath:a.repositoryPath}),i,o,s,h),[u,h,a]),openFolder:(0,b.useCallback)(()=>u(()=>(0,e.openFolder)(a.repositoryPath),k,q,t,j),[u,j,a]),ideLoading:f,shellLoading:h,folderLoading:j,ideError:l,shellError:n,folderError:p}}a.s(["useRepositoryActions",()=>f])}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_906e9cde._.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../node_modules/.pnpm/use-sync-external-store%401.6.0_react%4019.2.4/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","../../../../../../../node_modules/.pnpm/use-sync-external-store%401.6.0_react%4019.2.4/node_modules/use-sync-external-store/shim/index.js","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/trash-2.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/check.ts","../../../../../../../node_modules/.pnpm/%40radix-ui%2Breact-use-previous%401.1.1_%40types%2Breact%4019.2.10_react%4019.2.4/node_modules/%40radix-ui/react-use-previous/src/use-previous.tsx","../../../../../../../src/presentation/web/components/ui/label.tsx","../../../../../../../node_modules/.pnpm/%40radix-ui%2Breact-label%402.1.7_%40types%2Breact-dom%4019.2.3_%40types%2Breact%4019.2.10__%40types%2Breact%40_511ac9deb435ae46b2843bd1975598a6/node_modules/%40radix-ui/react-label/dist/index.mjs","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/chevron-right.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/chevron-left.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/minus.ts","../../../../../../../src/presentation/web/components/ui/badge.tsx","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/terminal.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/external-link.ts","../../../../../../../src/presentation/web/components/common/base-drawer/index.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/folder-open.ts","../../../../../../../src/presentation/web/app/actions/data%3A9c3b12%20%3Ctext/javascript%3E","../../../../../../../src/presentation/web/app/actions/data%3A58ad4b%20%3Ctext/javascript%3E","../../../../../../../src/presentation/web/app/actions/data%3Ad9c7ab%20%3Ctext/javascript%3E","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/code-xml.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/copy.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/file-text.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/zap.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/rotate-ccw.ts","../../../../../../../src/presentation/web/components/common/empty-state/empty-state.tsx","../../../../../../../src/presentation/web/app/actions/data%3A4ed979%20%3Ctext/javascript%3E","../../../../../../../src/presentation/web/app/actions/data%3A9d1c8f%20%3Ctext/javascript%3E","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/bot.ts","../../../../../../../src/presentation/web/components/common/repository-node/use-repository-actions.ts"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M10 11v6', key: 'nco0om' }],\n ['path', { d: 'M14 11v6', key: 'outv1u' }],\n ['path', { d: 'M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6', key: 'miytrc' }],\n ['path', { d: 'M3 6h18', key: 'd0wm0j' }],\n ['path', { d: 'M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2', key: 'e791ji' }],\n];\n\n/**\n * @component @name Trash2\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/trash-2\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Trash2 = createLucideIcon('trash-2', __iconNode);\n\nexport default Trash2;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M20 6 9 17l-5-5', key: '1gmf2c' }]];\n\n/**\n * @component @name Check\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Check = createLucideIcon('check', __iconNode);\n\nexport default Check;\n","import * as React from 'react';\n\nfunction usePrevious<T>(value: T) {\n const ref = React.useRef({ value, previous: value });\n\n // We compare values before making an update to ensure that\n // a change has been made. This ensures the previous value is\n // persisted correctly between renders.\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\n\nexport { usePrevious };\n","'use client';\n\nimport * as React from 'react';\nimport { Label as LabelPrimitive } from 'radix-ui';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '@/lib/utils';\n\nconst labelVariants = cva(\n 'text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70'\n);\n\nconst Label = React.forwardRef<\n React.ComponentRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants>\n>(({ className, ...props }, ref) => (\n <LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />\n));\nLabel.displayName = LabelPrimitive.Root.displayName;\n\nexport { Label };\n","\"use client\";\n\n// src/label.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Label\";\nvar Label = React.forwardRef((props, forwardedRef) => {\n return /* @__PURE__ */ jsx(\n Primitive.label,\n {\n ...props,\n ref: forwardedRef,\n onMouseDown: (event) => {\n const target = event.target;\n if (target.closest(\"button, input, select, textarea\")) return;\n props.onMouseDown?.(event);\n if (!event.defaultPrevented && event.detail > 1) event.preventDefault();\n }\n }\n );\n});\nLabel.displayName = NAME;\nvar Root = Label;\nexport {\n Label,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm9 18 6-6-6-6', key: 'mthhwq' }]];\n\n/**\n * @component @name ChevronRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/chevron-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronRight = createLucideIcon('chevron-right', __iconNode);\n\nexport default ChevronRight;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm15 18-6-6 6-6', key: '1wnfg3' }]];\n\n/**\n * @component @name ChevronLeft\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/chevron-left\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronLeft = createLucideIcon('chevron-left', __iconNode);\n\nexport default ChevronLeft;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M5 12h14', key: '1ays0h' }]];\n\n/**\n * @component @name Minus\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/minus\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Minus = createLucideIcon('minus', __iconNode);\n\nexport default Minus;\n","import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '@/lib/utils';\n\nconst badgeVariants = cva(\n 'inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-none',\n {\n variants: {\n variant: {\n default: 'border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80',\n secondary:\n 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',\n destructive:\n 'border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80',\n outline: 'text-foreground',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n\nexport interface BadgeProps\n extends React.HTMLAttributes<HTMLDivElement>,\n VariantProps<typeof badgeVariants> {}\n\nfunction Badge({ className, variant, ...props }: BadgeProps) {\n return <div className={cn(badgeVariants({ variant }), className)} {...props} />;\n}\n\nexport { Badge, badgeVariants };\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 19h8', key: 'baeox8' }],\n ['path', { d: 'm4 17 6-6-6-6', key: '1yngyt' }],\n];\n\n/**\n * @component @name Terminal\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/terminal\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Terminal = createLucideIcon('terminal', __iconNode);\n\nexport default Terminal;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M15 3h6v6', key: '1q9fwt' }],\n ['path', { d: 'M10 14 21 3', key: 'gplh6r' }],\n ['path', { d: 'M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6', key: 'a6xqqp' }],\n];\n\n/**\n * @component @name ExternalLink\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/external-link\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ExternalLink = createLucideIcon('external-link', __iconNode);\n\nexport default ExternalLink;\n","export { BaseDrawer, type BaseDrawerProps } from './base-drawer';\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'm6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2',\n key: 'usdka0',\n },\n ],\n];\n\n/**\n * @component @name FolderOpen\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/folder-open\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst FolderOpen = createLucideIcon('folder-open', __iconNode);\n\nexport default FolderOpen;\n","/* __next_internal_action_entry_do_not_use__ [{\"404bd17f744a17b20231f90035371ffca34b0b13dd\":\"openIde\"},\"src/presentation/web/app/actions/open-ide.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"404bd17f744a17b20231f90035371ffca34b0b13dd\",callServer,void 0,findSourceMapURL,\"openIde\");export{$$RSC_SERVER_ACTION_0 as openIde};","/* __next_internal_action_entry_do_not_use__ [{\"40ddd631bf0b32d79e31bc49b7930c15d80982206a\":\"openShell\"},\"src/presentation/web/app/actions/open-shell.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"40ddd631bf0b32d79e31bc49b7930c15d80982206a\",callServer,void 0,findSourceMapURL,\"openShell\");export{$$RSC_SERVER_ACTION_0 as openShell};","/* __next_internal_action_entry_do_not_use__ [{\"400c7b1b7d6bbb265e7f4feda45c4494b42115ee8f\":\"openFolder\"},\"src/presentation/web/app/actions/open-folder.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"400c7b1b7d6bbb265e7f4feda45c4494b42115ee8f\",callServer,void 0,findSourceMapURL,\"openFolder\");export{$$RSC_SERVER_ACTION_0 as openFolder};","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm18 16 4-4-4-4', key: '1inbqp' }],\n ['path', { d: 'm6 8-4 4 4 4', key: '15zrgr' }],\n ['path', { d: 'm14.5 4-5 16', key: 'e7oirm' }],\n];\n\n/**\n * @component @name CodeXml\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/code-xml\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CodeXml = createLucideIcon('code-xml', __iconNode);\n\nexport default CodeXml;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '14', height: '14', x: '8', y: '8', rx: '2', ry: '2', key: '17jyea' }],\n ['path', { d: 'M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2', key: 'zix9uf' }],\n];\n\n/**\n * @component @name Copy\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/copy\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Copy = createLucideIcon('copy', __iconNode);\n\nexport default Copy;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z',\n key: '1oefj6',\n },\n ],\n ['path', { d: 'M14 2v5a1 1 0 0 0 1 1h5', key: 'wfsgrz' }],\n ['path', { d: 'M10 9H8', key: 'b1mrlr' }],\n ['path', { d: 'M16 13H8', key: 't4e002' }],\n ['path', { d: 'M16 17H8', key: 'z1uh3a' }],\n];\n\n/**\n * @component @name FileText\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/file-text\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst FileText = createLucideIcon('file-text', __iconNode);\n\nexport default FileText;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z',\n key: '1xq2db',\n },\n ],\n];\n\n/**\n * @component @name Zap\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/zap\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Zap = createLucideIcon('zap', __iconNode);\n\nexport default Zap;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8', key: '1357e3' }],\n ['path', { d: 'M3 3v5h5', key: '1xhq8a' }],\n];\n\n/**\n * @component @name RotateCcw\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/rotate-ccw\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst RotateCcw = createLucideIcon('rotate-ccw', __iconNode);\n\nexport default RotateCcw;\n","import type { ReactNode, HTMLAttributes } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport interface EmptyStateProps extends HTMLAttributes<HTMLDivElement> {\n icon?: ReactNode;\n title: string;\n description?: string;\n action?: ReactNode;\n}\n\nexport function EmptyState({\n icon,\n title,\n description,\n action,\n className,\n ...props\n}: EmptyStateProps) {\n return (\n <div\n className={cn('flex flex-col items-center gap-4 px-4 py-12 text-center', className)}\n {...props}\n >\n {icon ? <div className=\"text-muted-foreground\">{icon}</div> : null}\n <h3 className=\"text-lg font-semibold\">{title}</h3>\n {description ? <p className=\"text-muted-foreground max-w-md text-sm\">{description}</p> : null}\n {action ? <div className=\"mt-2\">{action}</div> : null}\n </div>\n );\n}\n","/* __next_internal_action_entry_do_not_use__ [{\"00f314d8d3b6d06cbd017be5780f932bfdf1910caa\":\"getAllAgentModels\"},\"src/presentation/web/app/actions/get-all-agent-models.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"00f314d8d3b6d06cbd017be5780f932bfdf1910caa\",callServer,void 0,findSourceMapURL,\"getAllAgentModels\");export{$$RSC_SERVER_ACTION_0 as getAllAgentModels};","/* __next_internal_action_entry_do_not_use__ [{\"60be3f60ebd6d3f42c3fb8db6763af9f6cec7f0b33\":\"updateAgentAndModel\"},\"src/presentation/web/app/actions/update-agent-and-model.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"60be3f60ebd6d3f42c3fb8db6763af9f6cec7f0b33\",callServer,void 0,findSourceMapURL,\"updateAgentAndModel\");export{$$RSC_SERVER_ACTION_0 as updateAgentAndModel};","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 8V4H8', key: 'hb8ula' }],\n ['rect', { width: '16', height: '12', x: '4', y: '8', rx: '2', key: 'enze0r' }],\n ['path', { d: 'M2 14h2', key: 'vft8re' }],\n ['path', { d: 'M20 14h2', key: '4cs60a' }],\n ['path', { d: 'M15 13v2', key: '1xurst' }],\n ['path', { d: 'M9 13v2', key: 'rq6x2g' }],\n];\n\n/**\n * @component @name Bot\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/bot\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Bot = createLucideIcon('bot', __iconNode);\n\nexport default Bot;\n","'use client';\n\nimport { useState, useCallback, useRef, useEffect } from 'react';\nimport { openIde } from '@/app/actions/open-ide';\nimport { openShell } from '@/app/actions/open-shell';\nimport { openFolder } from '@/app/actions/open-folder';\n\nexport interface RepositoryActionsInput {\n repositoryPath: string;\n}\n\nexport interface RepositoryActionsState {\n openInIde: () => Promise<void>;\n openInShell: () => Promise<void>;\n openFolder: () => Promise<void>;\n ideLoading: boolean;\n shellLoading: boolean;\n folderLoading: boolean;\n ideError: string | null;\n shellError: string | null;\n folderError: string | null;\n}\n\nconst ERROR_CLEAR_DELAY = 5000;\n\nexport function useRepositoryActions(input: RepositoryActionsInput | null): RepositoryActionsState {\n const [ideLoading, setIdeLoading] = useState(false);\n const [shellLoading, setShellLoading] = useState(false);\n const [folderLoading, setFolderLoading] = useState(false);\n const [ideError, setIdeError] = useState<string | null>(null);\n const [shellError, setShellError] = useState<string | null>(null);\n const [folderError, setFolderError] = useState<string | null>(null);\n\n const ideTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const shellTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const folderTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // Clear timers on unmount\n useEffect(() => {\n const ideRef = ideTimerRef;\n const shellRef = shellTimerRef;\n const folderRef = folderTimerRef;\n return () => {\n if (ideRef.current) clearTimeout(ideRef.current);\n if (shellRef.current) clearTimeout(shellRef.current);\n if (folderRef.current) clearTimeout(folderRef.current);\n };\n }, []);\n\n const performAction = useCallback(\n async (\n action: () => Promise<{ success: boolean; error?: string }>,\n setLoading: (v: boolean) => void,\n setError: (v: string | null) => void,\n timerRef: React.RefObject<ReturnType<typeof setTimeout> | null>,\n isLoading: boolean\n ) => {\n if (!input || isLoading) return;\n\n if (timerRef.current) clearTimeout(timerRef.current);\n\n setLoading(true);\n setError(null);\n\n try {\n const result = await action();\n\n if (!result.success) {\n const errorMessage = result.error ?? 'An unexpected error occurred';\n setError(errorMessage);\n timerRef.current = setTimeout(() => setError(null), ERROR_CLEAR_DELAY);\n }\n } catch (err: unknown) {\n const errorMessage = err instanceof Error ? err.message : 'An unexpected error occurred';\n setError(errorMessage);\n timerRef.current = setTimeout(() => setError(null), ERROR_CLEAR_DELAY);\n } finally {\n setLoading(false);\n }\n },\n [input]\n );\n\n const handleOpenIde = useCallback(\n () =>\n performAction(\n () => openIde({ repositoryPath: input!.repositoryPath }),\n setIdeLoading,\n setIdeError,\n ideTimerRef,\n ideLoading\n ),\n [performAction, ideLoading, input]\n );\n\n const handleOpenShell = useCallback(\n () =>\n performAction(\n () => openShell({ repositoryPath: input!.repositoryPath }),\n setShellLoading,\n setShellError,\n shellTimerRef,\n shellLoading\n ),\n [performAction, shellLoading, input]\n );\n\n const handleOpenFolder = useCallback(\n () =>\n performAction(\n () => openFolder(input!.repositoryPath),\n setFolderLoading,\n setFolderError,\n folderTimerRef,\n folderLoading\n ),\n [performAction, folderLoading, input]\n );\n\n return {\n openInIde: handleOpenIde,\n openInShell: handleOpenShell,\n openFolder: handleOpenFolder,\n ideLoading,\n shellLoading,\n folderLoading,\n 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AA,EAAA,WAAW,AAAX,EACtB,IACE,EACE,IAAM,CAAA,EAAA,EAAA,SAAS,AAAT,EAAU,CAAE,eAAgB,EAAO,cAAc,AAAC,GACxD,EACA,EACA,EACA,GAEJ,CAAC,EAAe,EAAc,EAAM,EAkBpC,WAfuB,CAAA,AAeX,EAfW,EAAA,WAAA,AAAW,EAClC,IACE,EACE,IAAM,CAAA,EAAA,EAAA,UAAA,AAAU,EAAC,EAAO,cAAc,EACtC,EACA,EACA,EACA,GAEJ,CAAC,EAAe,EAAe,EAAM,aAOrC,eACA,gBACA,WACA,aACA,cACA,CACF,CACF","ignoreList":[0,1,2,3,6,7,8,11,12,14,18,19,21,22,26]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[25700,a=>{"use strict";var b=a.i(96960);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],25700)},59675,a=>{"use strict";let b;var c=a.i(96960),d=a.i(6175),e=a.i(66873),f=a.i(79406),g=a.i(10973),h="focusScope.autoFocusOnMount",i="focusScope.autoFocusOnUnmount",j={bubbles:!1,cancelable:!0},k=c.forwardRef((a,b)=>{let{loop:k=!1,trapped:p=!1,onMountAutoFocus:q,onUnmountAutoFocus:r,...s}=a,[t,u]=c.useState(null),v=(0,f.useCallbackRef)(q),w=(0,f.useCallbackRef)(r),x=c.useRef(null),y=(0,d.useComposedRefs)(b,a=>u(a)),z=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(p){let a=function(a){if(z.paused||!t)return;let b=a.target;t.contains(b)?x.current=b:n(x.current,{select:!0})},b=function(a){if(z.paused||!t)return;let b=a.relatedTarget;null!==b&&(t.contains(b)||n(x.current,{select:!0}))};document.addEventListener("focusin",a),document.addEventListener("focusout",b);let c=new MutationObserver(function(a){if(document.activeElement===document.body)for(let b of a)b.removedNodes.length>0&&n(t)});return t&&c.observe(t,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",a),document.removeEventListener("focusout",b),c.disconnect()}}},[p,t,z.paused]),c.useEffect(()=>{if(t){o.add(z);let a=document.activeElement;if(!t.contains(a)){let b=new CustomEvent(h,j);t.addEventListener(h,v),t.dispatchEvent(b),b.defaultPrevented||(function(a,{select:b=!1}={}){let c=document.activeElement;for(let d of a)if(n(d,{select:b}),document.activeElement!==c)return}(l(t).filter(a=>"A"!==a.tagName),{select:!0}),document.activeElement===a&&n(t))}return()=>{t.removeEventListener(h,v),setTimeout(()=>{let b=new CustomEvent(i,j);t.addEventListener(i,w),t.dispatchEvent(b),b.defaultPrevented||n(a??document.body,{select:!0}),t.removeEventListener(i,w),o.remove(z)},0)}}},[t,v,w,z]);let A=c.useCallback(a=>{if(!k&&!p||z.paused)return;let b="Tab"===a.key&&!a.altKey&&!a.ctrlKey&&!a.metaKey,c=document.activeElement;if(b&&c){var d;let b,e=a.currentTarget,[f,g]=[m(b=l(d=e),d),m(b.reverse(),d)];f&&g?a.shiftKey||c!==g?a.shiftKey&&c===f&&(a.preventDefault(),k&&n(g,{select:!0})):(a.preventDefault(),k&&n(f,{select:!0})):c===e&&a.preventDefault()}},[k,p,z.paused]);return(0,g.jsx)(e.Primitive.div,{tabIndex:-1,...s,ref:y,onKeyDown:A})});function l(a){let b=[],c=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{let b="INPUT"===a.tagName&&"hidden"===a.type;return a.disabled||a.hidden||b?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;c.nextNode();)b.push(c.currentNode);return b}function m(a,b){for(let c of a)if(!function(a,{upTo:b}){if("hidden"===getComputedStyle(a).visibility)return!0;for(;a&&(void 0===b||a!==b);){if("none"===getComputedStyle(a).display)return!0;a=a.parentElement}return!1}(c,{upTo:b}))return c}function n(a,{select:b=!1}={}){if(a&&a.focus){var c;let d=document.activeElement;a.focus({preventScroll:!0}),a!==d&&(c=a)instanceof HTMLInputElement&&"select"in c&&b&&a.select()}}k.displayName="FocusScope";var o=(b=[],{add(a){let c=b[0];a!==c&&c?.pause(),(b=p(b,a)).unshift(a)},remove(a){b=p(b,a),b[0]?.resume()}});function p(a,b){let c=[...a],d=c.indexOf(b);return -1!==d&&c.splice(d,1),c}a.s(["FocusScope",()=>k])},58761,80930,a=>{"use strict";var b,c=a.i(96960),d=a.i(59653),e=a.i(66873),f=a.i(6175),g=a.i(79406),h=a.i(10973),i="dismissableLayer.update",j=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),k=c.forwardRef((a,k)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:p,onFocusOutside:q,onInteractOutside:r,onDismiss:s,...t}=a,u=c.useContext(j),[v,w]=c.useState(null),x=v?.ownerDocument??globalThis?.document,[,y]=c.useState({}),z=(0,f.useComposedRefs)(k,a=>w(a)),A=Array.from(u.layers),[B]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),C=A.indexOf(B),D=v?A.indexOf(v):-1,E=u.layersWithOutsidePointerEventsDisabled.size>0,F=D>=C,G=function(a,b=globalThis?.document){let d=(0,g.useCallbackRef)(a),e=c.useRef(!1),f=c.useRef(()=>{});return c.useEffect(()=>{let a=a=>{if(a.target&&!e.current){let c=function(){m("dismissableLayer.pointerDownOutside",d,e,{discrete:!0})},e={originalEvent:a};"touch"===a.pointerType?(b.removeEventListener("click",f.current),f.current=c,b.addEventListener("click",f.current,{once:!0})):c()}else b.removeEventListener("click",f.current);e.current=!1},c=window.setTimeout(()=>{b.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(c),b.removeEventListener("pointerdown",a),b.removeEventListener("click",f.current)}},[b,d]),{onPointerDownCapture:()=>e.current=!0}}(a=>{let b=a.target,c=[...u.branches].some(a=>a.contains(b));F&&!c&&(p?.(a),r?.(a),a.defaultPrevented||s?.())},x),H=function(a,b=globalThis?.document){let d=(0,g.useCallbackRef)(a),e=c.useRef(!1);return c.useEffect(()=>{let a=a=>{a.target&&!e.current&&m("dismissableLayer.focusOutside",d,{originalEvent:a},{discrete:!1})};return b.addEventListener("focusin",a),()=>b.removeEventListener("focusin",a)},[b,d]),{onFocusCapture:()=>e.current=!0,onBlurCapture:()=>e.current=!1}}(a=>{let b=a.target;![...u.branches].some(a=>a.contains(b))&&(q?.(a),r?.(a),a.defaultPrevented||s?.())},x);return!function(a,b=globalThis?.document){let d=(0,g.useCallbackRef)(a);c.useEffect(()=>{let a=a=>{"Escape"===a.key&&d(a)};return b.addEventListener("keydown",a,{capture:!0}),()=>b.removeEventListener("keydown",a,{capture:!0})},[d,b])}(a=>{D===u.layers.size-1&&(o?.(a),!a.defaultPrevented&&s&&(a.preventDefault(),s()))},x),c.useEffect(()=>{if(v)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(b=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(v)),u.layers.add(v),l(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=b)}},[v,x,n,u]),c.useEffect(()=>()=>{v&&(u.layers.delete(v),u.layersWithOutsidePointerEventsDisabled.delete(v),l())},[v,u]),c.useEffect(()=>{let a=()=>y({});return document.addEventListener(i,a),()=>document.removeEventListener(i,a)},[]),(0,h.jsx)(e.Primitive.div,{...t,ref:z,style:{pointerEvents:E?F?"auto":"none":void 0,...a.style},onFocusCapture:(0,d.composeEventHandlers)(a.onFocusCapture,H.onFocusCapture),onBlurCapture:(0,d.composeEventHandlers)(a.onBlurCapture,H.onBlurCapture),onPointerDownCapture:(0,d.composeEventHandlers)(a.onPointerDownCapture,G.onPointerDownCapture)})});function l(){let a=new CustomEvent(i);document.dispatchEvent(a)}function m(a,b,c,{discrete:d}){let f=c.originalEvent.target,g=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:c});b&&f.addEventListener(a,b,{once:!0}),d?(0,e.dispatchDiscreteCustomEvent)(f,g):f.dispatchEvent(g)}k.displayName="DismissableLayer",c.forwardRef((a,b)=>{let d=c.useContext(j),g=c.useRef(null),i=(0,f.useComposedRefs)(b,g);return c.useEffect(()=>{let a=g.current;if(a)return d.branches.add(a),()=>{d.branches.delete(a)}},[d.branches]),(0,h.jsx)(e.Primitive.div,{...a,ref:i})}).displayName="DismissableLayerBranch",a.s(["DismissableLayer",()=>k],58761);var n=a.i(55690),o=a.i(61476),p=c.forwardRef((a,b)=>{let{container:d,...f}=a,[g,i]=c.useState(!1);(0,o.useLayoutEffect)(()=>i(!0),[]);let j=d||g&&globalThis?.document?.body;return j?n.default.createPortal((0,h.jsx)(e.Primitive.div,{...f,ref:b}),j):null});p.displayName="Portal",a.s(["Portal",()=>p],80930)},51473,a=>{"use strict";var b=a.i(96960),c=0;function d(){b.useEffect(()=>{let a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??e()),document.body.insertAdjacentElement("beforeend",a[1]??e()),c++,()=>{1===c&&document.querySelectorAll("[data-radix-focus-guard]").forEach(a=>a.remove()),c--}},[])}function e(){let a=document.createElement("span");return a.setAttribute("data-radix-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}a.s(["useFocusGuards",()=>d])},45291,a=>{"use strict";var b,c,d,e,f,g,h,i=function(){return(i=Object.assign||function(a){for(var b,c=1,d=arguments.length;c<d;c++)for(var e in b=arguments[c])Object.prototype.hasOwnProperty.call(b,e)&&(a[e]=b[e]);return a}).apply(this,arguments)};function j(a,b){var c={};for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&0>b.indexOf(d)&&(c[d]=a[d]);if(null!=a&&"function"==typeof Object.getOwnPropertySymbols)for(var e=0,d=Object.getOwnPropertySymbols(a);e<d.length;e++)0>b.indexOf(d[e])&&Object.prototype.propertyIsEnumerable.call(a,d[e])&&(c[d[e]]=a[d[e]]);return c}var k=("function"==typeof SuppressedError&&SuppressedError,a.i(96960)),l="right-scroll-bar-position",m="width-before-scroll-bar";function n(a,b){return"function"==typeof a?a(b):a&&(a.current=b),a}var o=k.useEffect,p=new WeakMap,q=(void 0===b&&(b={}),(void 0===c&&(c=function(a){return a}),d=[],e=!1,f={read:function(){if(e)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return d.length?d[d.length-1]:null},useMedium:function(a){var b=c(a,e);return d.push(b),function(){d=d.filter(function(a){return a!==b})}},assignSyncMedium:function(a){for(e=!0;d.length;){var b=d;d=[],b.forEach(a)}d={push:function(b){return a(b)},filter:function(){return d}}},assignMedium:function(a){e=!0;var b=[];if(d.length){var c=d;d=[],c.forEach(a),b=d}var f=function(){var c=b;b=[],c.forEach(a)},g=function(){return Promise.resolve().then(f)};g(),d={push:function(a){b.push(a),g()},filter:function(a){return b=b.filter(a),d}}}}).options=i({async:!0,ssr:!1},b),f),r=function(){},s=k.forwardRef(function(a,b){var c,d,e,f,g=k.useRef(null),h=k.useState({onScrollCapture:r,onWheelCapture:r,onTouchMoveCapture:r}),l=h[0],m=h[1],s=a.forwardProps,t=a.children,u=a.className,v=a.removeScrollBar,w=a.enabled,x=a.shards,y=a.sideCar,z=a.noRelative,A=a.noIsolation,B=a.inert,C=a.allowPinchZoom,D=a.as,E=a.gapMode,F=j(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),G=(c=[g,b],d=function(a){return c.forEach(function(b){return n(b,a)})},(e=(0,k.useState)(function(){return{value:null,callback:d,facade:{get current(){return e.value},set current(value){var a=e.value;a!==value&&(e.value=value,e.callback(value,a))}}}})[0]).callback=d,f=e.facade,o(function(){var a=p.get(f);if(a){var b=new Set(a),d=new Set(c),e=f.current;b.forEach(function(a){d.has(a)||n(a,null)}),d.forEach(function(a){b.has(a)||n(a,e)})}p.set(f,c)},[c]),f),H=i(i({},F),l);return k.createElement(k.Fragment,null,w&&k.createElement(y,{sideCar:q,removeScrollBar:v,shards:x,noRelative:z,noIsolation:A,inert:B,setCallbacks:m,allowPinchZoom:!!C,lockRef:g,gapMode:E}),s?k.cloneElement(k.Children.only(t),i(i({},H),{ref:G})):k.createElement(void 0===D?"div":D,i({},H,{className:u,ref:G}),t))});s.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},s.classNames={fullWidth:m,zeroRight:l};var t=function(a){var b=a.sideCar,c=j(a,["sideCar"]);if(!b)throw Error("Sidecar: please provide `sideCar` property to import the right car");var d=b.read();if(!d)throw Error("Sidecar medium not found");return k.createElement(d,i({},c))};t.isSideCarExport=!0;var u=function(){var a=0,b=null;return{add:function(c){if(0==a&&(b=function(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var b=h||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return b&&a.setAttribute("nonce",b),a}())){var d,e;(d=b).styleSheet?d.styleSheet.cssText=c:d.appendChild(document.createTextNode(c)),e=b,(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}a++},remove:function(){--a||!b||(b.parentNode&&b.parentNode.removeChild(b),b=null)}}},v=function(){var a=u();return function(b,c){k.useEffect(function(){return a.add(b),function(){a.remove()}},[b&&c])}},w=function(){var a=v();return function(b){return a(b.styles,b.dynamic),null}},x={left:0,top:0,right:0,gap:0},y=w(),z="data-scroll-locked",A=function(a,b,c,d){var e=a.left,f=a.top,g=a.right,h=a.gap;return void 0===c&&(c="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(d,";\n padding-right: ").concat(h,"px ").concat(d,";\n }\n body[").concat(z,"] {\n overflow: hidden ").concat(d,";\n overscroll-behavior: contain;\n ").concat([b&&"position: relative ".concat(d,";"),"margin"===c&&"\n padding-left: ".concat(e,"px;\n padding-top: ").concat(f,"px;\n padding-right: ").concat(g,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(h,"px ").concat(d,";\n "),"padding"===c&&"padding-right: ".concat(h,"px ").concat(d,";")].filter(Boolean).join(""),"\n }\n \n .").concat(l," {\n right: ").concat(h,"px ").concat(d,";\n }\n \n .").concat(m," {\n margin-right: ").concat(h,"px ").concat(d,";\n }\n \n .").concat(l," .").concat(l," {\n right: 0 ").concat(d,";\n }\n \n .").concat(m," .").concat(m," {\n margin-right: 0 ").concat(d,";\n }\n \n body[").concat(z,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(h,"px;\n }\n")},B=function(){var a=parseInt(document.body.getAttribute(z)||"0",10);return isFinite(a)?a:0},C=function(){k.useEffect(function(){return document.body.setAttribute(z,(B()+1).toString()),function(){var a=B()-1;a<=0?document.body.removeAttribute(z):document.body.setAttribute(z,a.toString())}},[])},D=function(a){var b=a.noRelative,c=a.noImportant,d=a.gapMode,e=void 0===d?"margin":d;C();var f=k.useMemo(function(){return void 0===e,x},[e]);return k.createElement(y,{styles:A(f,!b,e,c?"":"!important")})},E=function(a,b){if(!(a instanceof Element))return!1;var c=window.getComputedStyle(a);return"hidden"!==c[b]&&(c.overflowY!==c.overflowX||"TEXTAREA"===a.tagName||"visible"!==c[b])},F=function(a,b){var c=b.ownerDocument,d=b;do{if("u">typeof ShadowRoot&&d instanceof ShadowRoot&&(d=d.host),G(a,d)){var e=H(a,d);if(e[1]>e[2])return!0}d=d.parentNode}while(d&&d!==c.body)return!1},G=function(a,b){return"v"===a?E(b,"overflowY"):E(b,"overflowX")},H=function(a,b){return"v"===a?[b.scrollTop,b.scrollHeight,b.clientHeight]:[b.scrollLeft,b.scrollWidth,b.clientWidth]},I=function(a,b,c,d,e){var f,g=(f=window.getComputedStyle(b).direction,"h"===a&&"rtl"===f?-1:1),h=g*d,i=c.target,j=b.contains(i),k=!1,l=h>0,m=0,n=0;do{if(!i)break;var o=H(a,i),p=o[0],q=o[1]-o[2]-g*p;(p||q)&&G(a,i)&&(m+=q,n+=p);var r=i.parentNode;i=r&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r}while(!j&&i!==document.body||j&&(b.contains(i)||b===i))return l&&(e&&1>Math.abs(m)||!e&&h>m)?k=!0:!l&&(e&&1>Math.abs(n)||!e&&-h>n)&&(k=!0),k},J=function(a){return"changedTouches"in a?[a.changedTouches[0].clientX,a.changedTouches[0].clientY]:[0,0]},K=function(a){return[a.deltaX,a.deltaY]},L=function(a){return a&&"current"in a?a.current:a},M=0,N=[];let O=(g=function(a){var b=k.useRef([]),c=k.useRef([0,0]),d=k.useRef(),e=k.useState(M++)[0],f=k.useState(w)[0],g=k.useRef(a);k.useEffect(function(){g.current=a},[a]),k.useEffect(function(){if(a.inert){document.body.classList.add("block-interactivity-".concat(e));var b=(function(a,b,c){if(c||2==arguments.length)for(var d,e=0,f=b.length;e<f;e++)!d&&e in b||(d||(d=Array.prototype.slice.call(b,0,e)),d[e]=b[e]);return a.concat(d||Array.prototype.slice.call(b))})([a.lockRef.current],(a.shards||[]).map(L),!0).filter(Boolean);return b.forEach(function(a){return a.classList.add("allow-interactivity-".concat(e))}),function(){document.body.classList.remove("block-interactivity-".concat(e)),b.forEach(function(a){return a.classList.remove("allow-interactivity-".concat(e))})}}},[a.inert,a.lockRef.current,a.shards]);var h=k.useCallback(function(a,b){if("touches"in a&&2===a.touches.length||"wheel"===a.type&&a.ctrlKey)return!g.current.allowPinchZoom;var e,f=J(a),h=c.current,i="deltaX"in a?a.deltaX:h[0]-f[0],j="deltaY"in a?a.deltaY:h[1]-f[1],k=a.target,l=Math.abs(i)>Math.abs(j)?"h":"v";if("touches"in a&&"h"===l&&"range"===k.type)return!1;var m=window.getSelection(),n=m&&m.anchorNode;if(n&&(n===k||n.contains(k)))return!1;var o=F(l,k);if(!o)return!0;if(o?e=l:(e="v"===l?"h":"v",o=F(l,k)),!o)return!1;if(!d.current&&"changedTouches"in a&&(i||j)&&(d.current=e),!e)return!0;var p=d.current||e;return I(p,b,a,"h"===p?i:j,!0)},[]),i=k.useCallback(function(a){if(N.length&&N[N.length-1]===f){var c="deltaY"in a?K(a):J(a),d=b.current.filter(function(b){var d;return b.name===a.type&&(b.target===a.target||a.target===b.shadowParent)&&(d=b.delta,d[0]===c[0]&&d[1]===c[1])})[0];if(d&&d.should){a.cancelable&&a.preventDefault();return}if(!d){var e=(g.current.shards||[]).map(L).filter(Boolean).filter(function(b){return b.contains(a.target)});(e.length>0?h(a,e[0]):!g.current.noIsolation)&&a.cancelable&&a.preventDefault()}}},[]),j=k.useCallback(function(a,c,d,e){var f={name:a,delta:c,target:d,should:e,shadowParent:function(a){for(var b=null;null!==a;)a instanceof ShadowRoot&&(b=a.host,a=a.host),a=a.parentNode;return b}(d)};b.current.push(f),setTimeout(function(){b.current=b.current.filter(function(a){return a!==f})},1)},[]),l=k.useCallback(function(a){c.current=J(a),d.current=void 0},[]),m=k.useCallback(function(b){j(b.type,K(b),b.target,h(b,a.lockRef.current))},[]),n=k.useCallback(function(b){j(b.type,J(b),b.target,h(b,a.lockRef.current))},[]);k.useEffect(function(){return N.push(f),a.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:n}),document.addEventListener("wheel",i,!1),document.addEventListener("touchmove",i,!1),document.addEventListener("touchstart",l,!1),function(){N=N.filter(function(a){return a!==f}),document.removeEventListener("wheel",i,!1),document.removeEventListener("touchmove",i,!1),document.removeEventListener("touchstart",l,!1)}},[]);var o=a.removeScrollBar,p=a.inert;return k.createElement(k.Fragment,null,p?k.createElement(f,{styles:"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")}):null,o?k.createElement(D,{noRelative:a.noRelative,gapMode:a.gapMode}):null)},q.useMedium(g),t);var P=k.forwardRef(function(a,b){return k.createElement(s,i({},a,{ref:b,sideCar:O}))});P.classNames=s.classNames,a.s(["RemoveScroll",0,P],45291)},16164,a=>{"use strict";var b=new WeakMap,c=new WeakMap,d={},e=0,f=function(a){return a&&(a.host||f(a.parentNode))},g=function(a,g,h,i){var j=(Array.isArray(a)?a:[a]).map(function(a){if(g.contains(a))return a;var b=f(a);return b&&g.contains(b)?b:(console.error("aria-hidden",a,"in not contained inside",g,". Doing nothing"),null)}).filter(function(a){return!!a});d[h]||(d[h]=new WeakMap);var k=d[h],l=[],m=new Set,n=new Set(j),o=function(a){!a||m.has(a)||(m.add(a),o(a.parentNode))};j.forEach(o);var p=function(a){!a||n.has(a)||Array.prototype.forEach.call(a.children,function(a){if(m.has(a))p(a);else try{var d=a.getAttribute(i),e=null!==d&&"false"!==d,f=(b.get(a)||0)+1,g=(k.get(a)||0)+1;b.set(a,f),k.set(a,g),l.push(a),1===f&&e&&c.set(a,!0),1===g&&a.setAttribute(h,"true"),e||a.setAttribute(i,"true")}catch(b){console.error("aria-hidden: cannot operate on ",a,b)}})};return p(g),m.clear(),e++,function(){l.forEach(function(a){var d=b.get(a)-1,e=k.get(a)-1;b.set(a,d),k.set(a,e),d||(c.has(a)||a.removeAttribute(i),c.delete(a)),e||a.removeAttribute(h)}),--e||(b=new WeakMap,b=new WeakMap,c=new WeakMap,d={})}},h=function(a,b,c){void 0===c&&(c="data-aria-hidden");var d=Array.from(Array.isArray(a)?a:[a]),e=b||("u"<typeof document?null:(Array.isArray(a)?a[0]:a).ownerDocument.body);return e?(d.push.apply(d,Array.from(e.querySelectorAll("[aria-live], script"))),g(d,e,c,"aria-hidden")):function(){return null}};a.s(["hideOthers",()=>h])},18183,29375,36907,a=>{"use strict";let b=["top","right","bottom","left"],c=b.reduce((a,b)=>a.concat(b,b+"-start",b+"-end"),[]),d=Math.min,e=Math.max,f=Math.round,g=Math.floor,h=a=>({x:a,y:a}),i={left:"right",right:"left",bottom:"top",top:"bottom"},j={start:"end",end:"start"};function k(a,b){return"function"==typeof a?a(b):a}function l(a){return a.split("-")[0]}function m(a){return a.split("-")[1]}function n(a){return"x"===a?"y":"x"}function o(a){return"y"===a?"height":"width"}let p=new Set(["top","bottom"]);function q(a){return p.has(l(a))?"y":"x"}function r(a,b,c){void 0===c&&(c=!1);let d=m(a),e=n(q(a)),f=o(e),g="x"===e?d===(c?"end":"start")?"right":"left":"start"===d?"bottom":"top";return b.reference[f]>b.floating[f]&&(g=x(g)),[g,x(g)]}function s(a){return a.replace(/start|end/g,a=>j[a])}let t=["left","right"],u=["right","left"],v=["top","bottom"],w=["bottom","top"];function x(a){return a.replace(/left|right|bottom|top/g,a=>i[a])}function y(a){return"number"!=typeof a?{top:0,right:0,bottom:0,left:0,...a}:{top:a,right:a,bottom:a,left:a}}function z(a){let{x:b,y:c,width:d,height:e}=a;return{width:d,height:e,top:c,left:b,right:b+d,bottom:c+e,x:b,y:c}}function A(a,b,c){let d,{reference:e,floating:f}=a,g=q(b),h=n(q(b)),i=o(h),j=l(b),k="y"===g,p=e.x+e.width/2-f.width/2,r=e.y+e.height/2-f.height/2,s=e[i]/2-f[i]/2;switch(j){case"top":d={x:p,y:e.y-f.height};break;case"bottom":d={x:p,y:e.y+e.height};break;case"right":d={x:e.x+e.width,y:r};break;case"left":d={x:e.x-f.width,y:r};break;default:d={x:e.x,y:e.y}}switch(m(b)){case"start":d[h]-=s*(c&&k?-1:1);break;case"end":d[h]+=s*(c&&k?-1:1)}return d}async function B(a,b){var c;void 0===b&&(b={});let{x:d,y:e,platform:f,rects:g,elements:h,strategy:i}=a,{boundary:j="clippingAncestors",rootBoundary:l="viewport",elementContext:m="floating",altBoundary:n=!1,padding:o=0}=k(b,a),p=y(o),q=h[n?"floating"===m?"reference":"floating":m],r=z(await f.getClippingRect({element:null==(c=await (null==f.isElement?void 0:f.isElement(q)))||c?q:q.contextElement||await (null==f.getDocumentElement?void 0:f.getDocumentElement(h.floating)),boundary:j,rootBoundary:l,strategy:i})),s="floating"===m?{x:d,y:e,width:g.floating.width,height:g.floating.height}:g.reference,t=await (null==f.getOffsetParent?void 0:f.getOffsetParent(h.floating)),u=await (null==f.isElement?void 0:f.isElement(t))&&await (null==f.getScale?void 0:f.getScale(t))||{x:1,y:1},v=z(f.convertOffsetParentRelativeRectToViewportRelativeRect?await f.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:s,offsetParent:t,strategy:i}):s);return{top:(r.top-v.top+p.top)/u.y,bottom:(v.bottom-r.bottom+p.bottom)/u.y,left:(r.left-v.left+p.left)/u.x,right:(v.right-r.right+p.right)/u.x}}let C=async(a,b,c)=>{let{placement:d="bottom",strategy:e="absolute",middleware:f=[],platform:g}=c,h=f.filter(Boolean),i=await (null==g.isRTL?void 0:g.isRTL(b)),j=await g.getElementRects({reference:a,floating:b,strategy:e}),{x:k,y:l}=A(j,d,i),m=d,n={},o=0;for(let c=0;c<h.length;c++){var p;let{name:f,fn:q}=h[c],{x:r,y:s,data:t,reset:u}=await q({x:k,y:l,initialPlacement:d,placement:m,strategy:e,middlewareData:n,rects:j,platform:{...g,detectOverflow:null!=(p=g.detectOverflow)?p:B},elements:{reference:a,floating:b}});k=null!=r?r:k,l=null!=s?s:l,n={...n,[f]:{...n[f],...t}},u&&o<=50&&(o++,"object"==typeof u&&(u.placement&&(m=u.placement),u.rects&&(j=!0===u.rects?await g.getElementRects({reference:a,floating:b,strategy:e}):u.rects),{x:k,y:l}=A(j,m,i)),c=-1)}return{x:k,y:l,placement:m,strategy:e,middlewareData:n}};function D(a,b){return{top:a.top-b.height,right:a.right-b.width,bottom:a.bottom-b.height,left:a.left-b.width}}function E(a){return b.some(b=>a[b]>=0)}function F(a){let b=d(...a.map(a=>a.left)),c=d(...a.map(a=>a.top));return{x:b,y:c,width:e(...a.map(a=>a.right))-b,height:e(...a.map(a=>a.bottom))-c}}let G=new Set(["left","top"]);async function H(a,b){let{placement:c,platform:d,elements:e}=a,f=await (null==d.isRTL?void 0:d.isRTL(e.floating)),g=l(c),h=m(c),i="y"===q(c),j=G.has(g)?-1:1,n=f&&i?-1:1,o=k(b,a),{mainAxis:p,crossAxis:r,alignmentAxis:s}="number"==typeof o?{mainAxis:o,crossAxis:0,alignmentAxis:null}:{mainAxis:o.mainAxis||0,crossAxis:o.crossAxis||0,alignmentAxis:o.alignmentAxis};return h&&"number"==typeof s&&(r="end"===h?-1*s:s),i?{x:r*n,y:p*j}:{x:p*j,y:r*n}}function I(a){return function(a){return!1}(a)?(a.nodeName||"").toLowerCase():"#document"}function J(a){var b;return(null==a||null==(b=a.ownerDocument)?void 0:b.defaultView)||window}function K(a){var b;return null==(b=(function(a){return!1}(a)?a.ownerDocument:a.document)||window.document)?void 0:b.documentElement}function L(a){return!1}let M=new Set(["inline","contents"]);function N(a){let{overflow:b,overflowX:c,overflowY:d,display:e}=Y(a);return/auto|scroll|overlay|hidden|clip/.test(b+d+c)&&!M.has(e)}let O=new Set(["table","td","th"]),P=[":popover-open",":modal"];function Q(a){return P.some(b=>{try{return a.matches(b)}catch(a){return!1}})}let R=["transform","translate","scale","rotate","perspective"],S=["transform","translate","scale","rotate","perspective","filter"],T=["paint","layout","strict","content"];function U(a){let b=V(),c=a;return R.some(a=>!!c[a]&&"none"!==c[a])||!!c.containerType&&"normal"!==c.containerType||!b&&!!c.backdropFilter&&"none"!==c.backdropFilter||!b&&!!c.filter&&"none"!==c.filter||S.some(a=>(c.willChange||"").includes(a))||T.some(a=>(c.contain||"").includes(a))}function V(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let W=new Set(["html","body","#document"]);function X(a){return W.has(I(a))}function Y(a){return J(a).getComputedStyle(a)}function Z(a){return{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function $(a){if("html"===I(a))return a;let b=a.assignedSlot||a.parentNode||!1||K(a);return b}function _(a,b,c){var d;void 0===b&&(b=[]),void 0===c&&(c=!0);let e=function a(b){let c=$(b);return X(c)?b.ownerDocument?b.ownerDocument.body:b.body:a(c)}(a),f=e===(null==(d=a.ownerDocument)?void 0:d.body),g=J(e);if(f){let a=aa(g);return b.concat(g,g.visualViewport||[],N(e)?e:[],a&&c?_(a):[])}return b.concat(e,_(e,[],c))}function aa(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function ab(a){let b=Y(a),c=parseFloat(b.width)||0,d=parseFloat(b.height)||0,e=!1,g=e?a.offsetWidth:c,h=e?a.offsetHeight:d,i=f(c)!==g||f(d)!==h;return i&&(c=g,d=h),{width:c,height:d,$:i}}function ac(a){return 0,a.contextElement}function ad(a){let b=ac(a);1;return h(1)}let ae=h(0);function af(a){let b=J(a);return V()&&b.visualViewport?{x:b.visualViewport.offsetLeft,y:b.visualViewport.offsetTop}:ae}function ag(a,b,c,d){var e;void 0===b&&(b=!1),void 0===c&&(c=!1);let f=a.getBoundingClientRect(),g=ac(a),i=h(1);b&&(d||(i=ad(a)));let j=(void 0===(e=c)&&(e=!1),d&&(!e||d===J(g))&&e)?af(g):h(0),k=(f.left+j.x)/i.x,l=(f.top+j.y)/i.y,m=f.width/i.x,n=f.height/i.y;if(g){let a=J(g),b=d,c=a,e=aa(c);for(;e&&d&&b!==c;){let a=ad(e),b=e.getBoundingClientRect(),d=Y(e),f=b.left+(e.clientLeft+parseFloat(d.paddingLeft))*a.x,g=b.top+(e.clientTop+parseFloat(d.paddingTop))*a.y;k*=a.x,l*=a.y,m*=a.x,n*=a.y,k+=f,l+=g,e=aa(c=J(e))}}return z({width:m,height:n,x:k,y:l})}function ah(a,b){let c=Z(a).scrollLeft;return b?b.left+c:ag(K(a)).left+c}function ai(a,b){let c=a.getBoundingClientRect();return{x:c.left+b.scrollLeft-ah(a,c),y:c.top+b.scrollTop}}function aj(a,b,c){var d;let f;if("viewport"===b)f=function(a,b){let c=J(a),d=K(a),e=c.visualViewport,f=d.clientWidth,g=d.clientHeight,h=0,i=0;if(e){f=e.width,g=e.height;let a=V();(!a||a&&"fixed"===b)&&(h=e.offsetLeft,i=e.offsetTop)}let j=ah(d);if(j<=0){let a=d.ownerDocument,b=a.body,c=getComputedStyle(b),e="CSS1Compat"===a.compatMode&&parseFloat(c.marginLeft)+parseFloat(c.marginRight)||0,g=Math.abs(d.clientWidth-b.clientWidth-e);g<=25&&(f-=g)}else j<=25&&(f+=j);return{width:f,height:g,x:h,y:i}}(a,c);else if("document"===b){let b,c,g,h,i,j,k;d=K(a),b=K(d),c=Z(d),g=d.ownerDocument.body,h=e(b.scrollWidth,b.clientWidth,g.scrollWidth,g.clientWidth),i=e(b.scrollHeight,b.clientHeight,g.scrollHeight,g.clientHeight),j=-c.scrollLeft+ah(d),k=-c.scrollTop,"rtl"===Y(g).direction&&(j+=e(b.clientWidth,g.clientWidth)-h),f={width:h,height:i,x:j,y:k}}else{1;{let c=af(a);f={x:b.x-c.x,y:b.y-c.y,width:b.width,height:b.height}}}return z(f)}function ak(a){return"static"===Y(a).position}function al(a,b){1;return null}function am(a,b){var c;let d=J(a);if(Q(a))return d;1;{let b=$(a);for(;b&&!X(b);){0;b=$(b)}return d}}let an=async function(a){let b=this.getOffsetParent||am,c=this.getDimensions,d=await c(a.floating);return{reference:function(a,b,c){var d;let e=(d=0,!1),f=K(b),g="fixed"===c,i=ag(a,!0,g,b),j={scrollLeft:0,scrollTop:0},k=h(0);if(e||!e&&!g)if(("body"!==I(b)||N(f))&&(j=Z(b)),e){let a=ag(b,!0,g,b);k.x=a.x+b.clientLeft,k.y=a.y+b.clientTop}else f&&(k.x=ah(f));g&&!e&&f&&(k.x=ah(f));let l=!f||e||g?h(0):ai(f,j);return{x:i.left+j.scrollLeft-k.x-l.x,y:i.top+j.scrollTop-k.y-l.y,width:i.width,height:i.height}}(a.reference,await b(a.floating),a.strategy),floating:{x:0,y:0,width:d.width,height:d.height}}},ao={convertOffsetParentRelativeRectToViewportRelativeRect:function(a){var b,c;let{elements:d,rect:e,offsetParent:f,strategy:g}=a,i="fixed"===g,j=K(f),k=!!d&&Q(d.floating);if(f===j||k&&i)return e;let l={scrollLeft:0,scrollTop:0},m=h(1),n=h(0),o=(b=0,!1);(o||!o&&!i)&&(("body"!==I(f)||N(j))&&(l=Z(f)),c=0,0);let p=!j||o||i?h(0):ai(j,l);return{width:e.width*m.x,height:e.height*m.y,x:e.x*m.x-l.scrollLeft*m.x+n.x+p.x,y:e.y*m.y-l.scrollTop*m.y+n.y+p.y}},getDocumentElement:K,getClippingRect:function(a){let{element:b,boundary:c,rootBoundary:f,strategy:g}=a,h=[..."clippingAncestors"===c?Q(b)?[]:function(a,b){var c;let d=b.get(a);if(d)return d;let e=_(a,[],!1).filter(a=>{var b;return b=0,!1}),f="fixed"===Y(a).position,g=f?$(a):a;return c=0,b.set(a,e),e}(b,this._c):[].concat(c),f],i=h[0],j=h.reduce((a,c)=>{let f=aj(b,c,g);return a.top=e(f.top,a.top),a.right=d(f.right,a.right),a.bottom=d(f.bottom,a.bottom),a.left=e(f.left,a.left),a},aj(b,i,g));return{width:j.right-j.left,height:j.bottom-j.top,x:j.left,y:j.top}},getOffsetParent:am,getElementRects:an,getClientRects:function(a){return Array.from(a.getClientRects())},getDimensions:function(a){let{width:b,height:c}=ab(a);return{width:b,height:c}},getScale:ad,isElement:L,isRTL:function(a){return"rtl"===Y(a).direction}};function ap(a,b){return a.x===b.x&&a.y===b.y&&a.width===b.width&&a.height===b.height}function aq(a,b,c,f){let h;void 0===f&&(f={});let{ancestorScroll:i=!0,ancestorResize:j=!0,elementResize:k="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:m=!1}=f,n=ac(a),o=i||j?[...n?_(n):[],..._(b)]:[];o.forEach(a=>{i&&a.addEventListener("scroll",c,{passive:!0}),j&&a.addEventListener("resize",c)});let p=n&&l?function(a,b){let c,f=null,h=K(a);function i(){var a;clearTimeout(c),null==(a=f)||a.disconnect(),f=null}return!function j(k,l){void 0===k&&(k=!1),void 0===l&&(l=1),i();let m=a.getBoundingClientRect(),{left:n,top:o,width:p,height:q}=m;if(k||b(),!p||!q)return;let r={rootMargin:-g(o)+"px "+-g(h.clientWidth-(n+p))+"px "+-g(h.clientHeight-(o+q))+"px "+-g(n)+"px",threshold:e(0,d(1,l))||1},s=!0;function t(b){let d=b[0].intersectionRatio;if(d!==l){if(!s)return j();d?j(!1,d):c=setTimeout(()=>{j(!1,1e-7)},1e3)}1!==d||ap(m,a.getBoundingClientRect())||j(),s=!1}try{f=new IntersectionObserver(t,{...r,root:h.ownerDocument})}catch(a){f=new IntersectionObserver(t,r)}f.observe(a)}(!0),i}(n,c):null,q=-1,r=null;k&&(r=new ResizeObserver(a=>{let[d]=a;d&&d.target===n&&r&&(r.unobserve(b),cancelAnimationFrame(q),q=requestAnimationFrame(()=>{var a;null==(a=r)||a.observe(b)})),c()}),n&&!m&&r.observe(n),r.observe(b));let s=m?ag(a):null;return m&&function b(){let d=ag(a);s&&!ap(s,d)&&c(),s=d,h=requestAnimationFrame(b)}(),c(),()=>{var a;o.forEach(a=>{i&&a.removeEventListener("scroll",c),j&&a.removeEventListener("resize",c)}),null==p||p(),null==(a=r)||a.disconnect(),r=null,m&&cancelAnimationFrame(h)}}let ar=function(a){return void 0===a&&(a=0),{name:"offset",options:a,async fn(b){var c,d;let{x:e,y:f,placement:g,middlewareData:h}=b,i=await H(b,a);return g===(null==(c=h.offset)?void 0:c.placement)&&null!=(d=h.arrow)&&d.alignmentOffset?{}:{x:e+i.x,y:f+i.y,data:{...i,placement:g}}}}},as=function(a){return void 0===a&&(a={}),{name:"autoPlacement",options:a,async fn(b){var d,e,f,g;let{rects:h,middlewareData:i,placement:j,platform:n,elements:o}=b,{crossAxis:p=!1,alignment:q,allowedPlacements:t=c,autoAlignment:u=!0,...v}=k(a,b),w=void 0!==q||t===c?((g=q||null)?[...t.filter(a=>m(a)===g),...t.filter(a=>m(a)!==g)]:t.filter(a=>l(a)===a)).filter(a=>!g||m(a)===g||!!u&&s(a)!==a):t,x=await n.detectOverflow(b,v),y=(null==(d=i.autoPlacement)?void 0:d.index)||0,z=w[y];if(null==z)return{};let A=r(z,h,await (null==n.isRTL?void 0:n.isRTL(o.floating)));if(j!==z)return{reset:{placement:w[0]}};let B=[x[l(z)],x[A[0]],x[A[1]]],C=[...(null==(e=i.autoPlacement)?void 0:e.overflows)||[],{placement:z,overflows:B}],D=w[y+1];if(D)return{data:{index:y+1,overflows:C},reset:{placement:D}};let E=C.map(a=>{let b=m(a.placement);return[a.placement,b&&p?a.overflows.slice(0,2).reduce((a,b)=>a+b,0):a.overflows[0],a.overflows]}).sort((a,b)=>a[1]-b[1]),F=(null==(f=E.filter(a=>a[2].slice(0,m(a[0])?2:3).every(a=>a<=0))[0])?void 0:f[0])||E[0][0];return F!==j?{data:{index:y+1,overflows:C},reset:{placement:F}}:{}}}},at=function(a){return void 0===a&&(a={}),{name:"shift",options:a,async fn(b){let{x:c,y:f,placement:g,platform:h}=b,{mainAxis:i=!0,crossAxis:j=!1,limiter:m={fn:a=>{let{x:b,y:c}=a;return{x:b,y:c}}},...o}=k(a,b),p={x:c,y:f},r=await h.detectOverflow(b,o),s=q(l(g)),t=n(s),u=p[t],v=p[s];if(i){let a="y"===t?"top":"left",b="y"===t?"bottom":"right",c=u+r[a],f=u-r[b];u=e(c,d(u,f))}if(j){let a="y"===s?"top":"left",b="y"===s?"bottom":"right",c=v+r[a],f=v-r[b];v=e(c,d(v,f))}let w=m.fn({...b,[t]:u,[s]:v});return{...w,data:{x:w.x-c,y:w.y-f,enabled:{[t]:i,[s]:j}}}}}},au=function(a){return void 0===a&&(a={}),{name:"flip",options:a,async fn(b){var c,d,e,f,g;let h,i,j,{placement:n,middlewareData:o,rects:p,initialPlacement:y,platform:z,elements:A}=b,{mainAxis:B=!0,crossAxis:C=!0,fallbackPlacements:D,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:F="none",flipAlignment:G=!0,...H}=k(a,b);if(null!=(c=o.arrow)&&c.alignmentOffset)return{};let I=l(n),J=q(y),K=l(y)===y,L=await (null==z.isRTL?void 0:z.isRTL(A.floating)),M=D||(K||!G?[x(y)]:(h=x(y),[s(y),h,s(h)])),N="none"!==F;!D&&N&&M.push(...(i=m(y),j=function(a,b,c){switch(a){case"top":case"bottom":if(c)return b?u:t;return b?t:u;case"left":case"right":return b?v:w;default:return[]}}(l(y),"start"===F,L),i&&(j=j.map(a=>a+"-"+i),G&&(j=j.concat(j.map(s)))),j));let O=[y,...M],P=await z.detectOverflow(b,H),Q=[],R=(null==(d=o.flip)?void 0:d.overflows)||[];if(B&&Q.push(P[I]),C){let a=r(n,p,L);Q.push(P[a[0]],P[a[1]])}if(R=[...R,{placement:n,overflows:Q}],!Q.every(a=>a<=0)){let a=((null==(e=o.flip)?void 0:e.index)||0)+1,b=O[a];if(b&&("alignment"!==C||J===q(b)||R.every(a=>q(a.placement)!==J||a.overflows[0]>0)))return{data:{index:a,overflows:R},reset:{placement:b}};let c=null==(f=R.filter(a=>a.overflows[0]<=0).sort((a,b)=>a.overflows[1]-b.overflows[1])[0])?void 0:f.placement;if(!c)switch(E){case"bestFit":{let a=null==(g=R.filter(a=>{if(N){let b=q(a.placement);return b===J||"y"===b}return!0}).map(a=>[a.placement,a.overflows.filter(a=>a>0).reduce((a,b)=>a+b,0)]).sort((a,b)=>a[1]-b[1])[0])?void 0:g[0];a&&(c=a);break}case"initialPlacement":c=y}if(n!==c)return{reset:{placement:c}}}return{}}}},av=function(a){return void 0===a&&(a={}),{name:"size",options:a,async fn(b){var c,f;let g,h,{placement:i,rects:j,platform:n,elements:o}=b,{apply:p=()=>{},...r}=k(a,b),s=await n.detectOverflow(b,r),t=l(i),u=m(i),v="y"===q(i),{width:w,height:x}=j.floating;"top"===t||"bottom"===t?(g=t,h=u===(await (null==n.isRTL?void 0:n.isRTL(o.floating))?"start":"end")?"left":"right"):(h=t,g="end"===u?"top":"bottom");let y=x-s.top-s.bottom,z=w-s.left-s.right,A=d(x-s[g],y),B=d(w-s[h],z),C=!b.middlewareData.shift,D=A,E=B;if(null!=(c=b.middlewareData.shift)&&c.enabled.x&&(E=z),null!=(f=b.middlewareData.shift)&&f.enabled.y&&(D=y),C&&!u){let a=e(s.left,0),b=e(s.right,0),c=e(s.top,0),d=e(s.bottom,0);v?E=w-2*(0!==a||0!==b?a+b:e(s.left,s.right)):D=x-2*(0!==c||0!==d?c+d:e(s.top,s.bottom))}await p({...b,availableWidth:E,availableHeight:D});let F=await n.getDimensions(o.floating);return w!==F.width||x!==F.height?{reset:{rects:!0}}:{}}}},aw=function(a){return void 0===a&&(a={}),{name:"hide",options:a,async fn(b){let{rects:c,platform:d}=b,{strategy:e="referenceHidden",...f}=k(a,b);switch(e){case"referenceHidden":{let a=D(await d.detectOverflow(b,{...f,elementContext:"reference"}),c.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:E(a)}}}case"escaped":{let a=D(await d.detectOverflow(b,{...f,altBoundary:!0}),c.floating);return{data:{escapedOffsets:a,escaped:E(a)}}}default:return{}}}}},ax=a=>({name:"arrow",options:a,async fn(b){let{x:c,y:f,placement:g,rects:h,platform:i,elements:j,middlewareData:l}=b,{element:p,padding:r=0}=k(a,b)||{};if(null==p)return{};let s=y(r),t={x:c,y:f},u=n(q(g)),v=o(u),w=await i.getDimensions(p),x="y"===u,z=x?"clientHeight":"clientWidth",A=h.reference[v]+h.reference[u]-t[u]-h.floating[v],B=t[u]-h.reference[u],C=await (null==i.getOffsetParent?void 0:i.getOffsetParent(p)),D=C?C[z]:0;D&&await (null==i.isElement?void 0:i.isElement(C))||(D=j.floating[z]||h.floating[v]);let E=D/2-w[v]/2-1,F=d(s[x?"top":"left"],E),G=d(s[x?"bottom":"right"],E),H=D-w[v]-G,I=D/2-w[v]/2+(A/2-B/2),J=e(F,d(I,H)),K=!l.arrow&&null!=m(g)&&I!==J&&h.reference[v]/2-(I<F?F:G)-w[v]/2<0,L=K?I<F?I-F:I-H:0;return{[u]:t[u]+L,data:{[u]:J,centerOffset:I-J-L,...K&&{alignmentOffset:L}},reset:K}}}),ay=function(a){return void 0===a&&(a={}),{name:"inline",options:a,async fn(b){let{placement:c,elements:f,rects:g,platform:h,strategy:i}=b,{padding:j=2,x:m,y:n}=k(a,b),o=Array.from(await (null==h.getClientRects?void 0:h.getClientRects(f.reference))||[]),p=function(a){let b=a.slice().sort((a,b)=>a.y-b.y),c=[],d=null;for(let a=0;a<b.length;a++){let e=b[a];!d||e.y-d.y>d.height/2?c.push([e]):c[c.length-1].push(e),d=e}return c.map(a=>z(F(a)))}(o),r=z(F(o)),s=y(j),t=await h.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=m&&null!=n)return p.find(a=>m>a.left-s.left&&m<a.right+s.right&&n>a.top-s.top&&n<a.bottom+s.bottom)||r;if(p.length>=2){if("y"===q(c)){let a=p[0],b=p[p.length-1],d="top"===l(c),e=a.top,f=b.bottom,g=d?a.left:b.left,h=d?a.right:b.right;return{top:e,bottom:f,left:g,right:h,width:h-g,height:f-e,x:g,y:e}}let a="left"===l(c),b=e(...p.map(a=>a.right)),f=d(...p.map(a=>a.left)),g=p.filter(c=>a?c.left===f:c.right===b),h=g[0].top,i=g[g.length-1].bottom;return{top:h,bottom:i,left:f,right:b,width:b-f,height:i-h,x:f,y:h}}return r}},floating:f.floating,strategy:i});return g.reference.x!==t.reference.x||g.reference.y!==t.reference.y||g.reference.width!==t.reference.width||g.reference.height!==t.reference.height?{reset:{rects:t}}:{}}}},az=function(a){return void 0===a&&(a={}),{options:a,fn(b){let{x:c,y:d,placement:e,rects:f,middlewareData:g}=b,{offset:h=0,mainAxis:i=!0,crossAxis:j=!0}=k(a,b),m={x:c,y:d},o=q(e),p=n(o),r=m[p],s=m[o],t=k(h,b),u="number"==typeof t?{mainAxis:t,crossAxis:0}:{mainAxis:0,crossAxis:0,...t};if(i){let a="y"===p?"height":"width",b=f.reference[p]-f.floating[a]+u.mainAxis,c=f.reference[p]+f.reference[a]-u.mainAxis;r<b?r=b:r>c&&(r=c)}if(j){var v,w;let a="y"===p?"width":"height",b=G.has(l(e)),c=f.reference[o]-f.floating[a]+(b&&(null==(v=g.offset)?void 0:v[o])||0)+(b?0:u.crossAxis),d=f.reference[o]+f.reference[a]+(b?0:(null==(w=g.offset)?void 0:w[o])||0)-(b?u.crossAxis:0);s<c?s=c:s>d&&(s=d)}return{[p]:r,[o]:s}}}},aA=(a,b,c)=>{let d=new Map,e={platform:ao,...c},f={...e.platform,_c:d};return C(a,b,{...e,platform:f})};a.s(["arrow",()=>ax,"autoPlacement",()=>as,"autoUpdate",()=>aq,"computePosition",()=>aA,"flip",()=>au,"hide",()=>aw,"inline",()=>ay,"limitShift",()=>az,"offset",()=>ar,"shift",()=>at,"size",()=>av],29375);var aB=a.i(96960),aC=a.i(55690),aD="u">typeof document?aB.useLayoutEffect:function(){};function aE(a,b){let c,d,e;if(a===b)return!0;if(typeof a!=typeof b)return!1;if("function"==typeof a&&a.toString()===b.toString())return!0;if(a&&b&&"object"==typeof a){if(Array.isArray(a)){if((c=a.length)!==b.length)return!1;for(d=c;0!=d--;)if(!aE(a[d],b[d]))return!1;return!0}if((c=(e=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(d=c;0!=d--;)if(!({}).hasOwnProperty.call(b,e[d]))return!1;for(d=c;0!=d--;){let c=e[d];if(("_owner"!==c||!a.$$typeof)&&!aE(a[c],b[c]))return!1}return!0}return a!=a&&b!=b}function aF(a,b){let c=1;return Math.round(b*c)/c}function aG(a){let b=aB.useRef(a);return aD(()=>{b.current=a}),b}function aH(a){void 0===a&&(a={});let{placement:b="bottom",strategy:c="absolute",middleware:d=[],platform:e,elements:{reference:f,floating:g}={},transform:h=!0,whileElementsMounted:i,open:j}=a,[k,l]=aB.useState({x:0,y:0,strategy:c,placement:b,middlewareData:{},isPositioned:!1}),[m,n]=aB.useState(d);aE(m,d)||n(d);let[o,p]=aB.useState(null),[q,r]=aB.useState(null),s=aB.useCallback(a=>{a!==w.current&&(w.current=a,p(a))},[]),t=aB.useCallback(a=>{a!==x.current&&(x.current=a,r(a))},[]),u=f||o,v=g||q,w=aB.useRef(null),x=aB.useRef(null),y=aB.useRef(k),z=null!=i,A=aG(i),B=aG(e),C=aG(j),D=aB.useCallback(()=>{if(!w.current||!x.current)return;let a={placement:b,strategy:c,middleware:m};B.current&&(a.platform=B.current),aA(w.current,x.current,a).then(a=>{let b={...a,isPositioned:!1!==C.current};E.current&&!aE(y.current,b)&&(y.current=b,aC.flushSync(()=>{l(b)}))})},[m,b,c,B,C]);aD(()=>{!1===j&&y.current.isPositioned&&(y.current.isPositioned=!1,l(a=>({...a,isPositioned:!1})))},[j]);let E=aB.useRef(!1);aD(()=>(E.current=!0,()=>{E.current=!1}),[]),aD(()=>{if(u&&(w.current=u),v&&(x.current=v),u&&v){if(A.current)return A.current(u,v,D);D()}},[u,v,D,A,z]);let F=aB.useMemo(()=>({reference:w,floating:x,setReference:s,setFloating:t}),[s,t]),G=aB.useMemo(()=>({reference:u,floating:v}),[u,v]),H=aB.useMemo(()=>{let a={position:c,left:0,top:0};if(!G.floating)return a;let b=aF(G.floating,k.x),d=aF(G.floating,k.y);if(h)return{...a,transform:"translate("+b+"px, "+d+"px)",...(G.floating,false)};return{position:c,left:b,top:d}},[c,h,G.floating,k.x,k.y]);return aB.useMemo(()=>({...k,update:D,refs:F,elements:G,floatingStyles:H}),[k,D,F,G,H])}let aI=(a,b)=>({...ar(a),options:[a,b]}),aJ=(a,b)=>({...at(a),options:[a,b]}),aK=(a,b)=>({...az(a),options:[a,b]}),aL=(a,b)=>({...au(a),options:[a,b]}),aM=(a,b)=>({...av(a),options:[a,b]}),aN=(a,b)=>({...aw(a),options:[a,b]}),aO=(a,b)=>({name:"arrow",options:a,fn(b){let{element:c,padding:d}="function"==typeof a?a(b):a;return c&&({}).hasOwnProperty.call(c,"current")?null!=c.current?ax({element:c.current,padding:d}).fn(b):{}:c?ax({element:c,padding:d}).fn(b):{}},options:[a,b]});a.s(["arrow",()=>aO,"flip",()=>aL,"hide",()=>aN,"limitShift",()=>aK,"offset",()=>aI,"shift",()=>aJ,"size",()=>aM,"useFloating",()=>aH],18183);var aP=a.i(66873),aQ=a.i(10973),aR=aB.forwardRef((a,b)=>{let{children:c,width:d=10,height:e=5,...f}=a;return(0,aQ.jsx)(aP.Primitive.svg,{...f,ref:b,width:d,height:e,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:a.asChild?c:(0,aQ.jsx)("polygon",{points:"0,0 30,0 15,10"})})});aR.displayName="Arrow",a.s(["Root",()=>aR],36907)},74432,a=>{"use strict";var b=a.i(96960),c=a.i(61476);function d(a){let[d,e]=b.useState(void 0);return(0,c.useLayoutEffect)(()=>{if(a){e({width:a.offsetWidth,height:a.offsetHeight});let b=new ResizeObserver(b=>{let c,d;if(!Array.isArray(b)||!b.length)return;let f=b[0];if("borderBoxSize"in f){let a=f.borderBoxSize,b=Array.isArray(a)?a[0]:a;c=b.inlineSize,d=b.blockSize}else c=a.offsetWidth,d=a.offsetHeight;e({width:c,height:d})});return b.observe(a,{box:"border-box"}),()=>b.unobserve(a)}e(void 0)},[a]),d}a.s(["useSize",()=>d])},82934,75988,50049,a=>{"use strict";var b=a.i(10973),c=a.i(96960),d=a.i(59653),e=a.i(6175),f=a.i(7420),g=a.i(58761),h=a.i(5472),i=a.i(18183),j=a.i(29375),k=a.i(36907),l=a.i(66873),m=a.i(79406),n=a.i(61476),o=a.i(74432),p="Popper",[q,r]=(0,f.createContextScope)(p),[s,t]=q(p),u=a=>{let{__scopePopper:d,children:e}=a,[f,g]=c.useState(null);return(0,b.jsx)(s,{scope:d,anchor:f,onAnchorChange:g,children:e})};u.displayName=p;var v="PopperAnchor",w=c.forwardRef((a,d)=>{let{__scopePopper:f,virtualRef:g,...h}=a,i=t(v,f),j=c.useRef(null),k=(0,e.useComposedRefs)(d,j),m=c.useRef(null);return c.useEffect(()=>{let a=m.current;m.current=g?.current||j.current,a!==m.current&&i.onAnchorChange(m.current)}),g?null:(0,b.jsx)(l.Primitive.div,{...h,ref:k})});w.displayName=v;var x="PopperContent",[y,z]=q(x),A=c.forwardRef((a,d)=>{let{__scopePopper:f,side:g="bottom",sideOffset:h=0,align:k="center",alignOffset:p=0,arrowPadding:q=0,avoidCollisions:r=!0,collisionBoundary:s=[],collisionPadding:u=0,sticky:v="partial",hideWhenDetached:w=!1,updatePositionStrategy:z="optimized",onPlaced:A,...B}=a,C=t(x,f),[D,H]=c.useState(null),I=(0,e.useComposedRefs)(d,a=>H(a)),[J,K]=c.useState(null),L=(0,o.useSize)(J),M=L?.width??0,N=L?.height??0,O="number"==typeof u?u:{top:0,right:0,bottom:0,left:0,...u},P=Array.isArray(s)?s:[s],Q=P.length>0,R={padding:O,boundary:P.filter(E),altBoundary:Q},{refs:S,floatingStyles:T,placement:U,isPositioned:V,middlewareData:W}=(0,i.useFloating)({strategy:"fixed",placement:g+("center"!==k?"-"+k:""),whileElementsMounted:(...a)=>(0,j.autoUpdate)(...a,{animationFrame:"always"===z}),elements:{reference:C.anchor},middleware:[(0,i.offset)({mainAxis:h+N,alignmentAxis:p}),r&&(0,i.shift)({mainAxis:!0,crossAxis:!1,limiter:"partial"===v?(0,i.limitShift)():void 0,...R}),r&&(0,i.flip)({...R}),(0,i.size)({...R,apply:({elements:a,rects:b,availableWidth:c,availableHeight:d})=>{let{width:e,height:f}=b.reference,g=a.floating.style;g.setProperty("--radix-popper-available-width",`${c}px`),g.setProperty("--radix-popper-available-height",`${d}px`),g.setProperty("--radix-popper-anchor-width",`${e}px`),g.setProperty("--radix-popper-anchor-height",`${f}px`)}}),J&&(0,i.arrow)({element:J,padding:q}),F({arrowWidth:M,arrowHeight:N}),w&&(0,i.hide)({strategy:"referenceHidden",...R})]}),[X,Y]=G(U),Z=(0,m.useCallbackRef)(A);(0,n.useLayoutEffect)(()=>{V&&Z?.()},[V,Z]);let $=W.arrow?.x,_=W.arrow?.y,aa=W.arrow?.centerOffset!==0,[ab,ac]=c.useState();return(0,n.useLayoutEffect)(()=>{D&&ac(window.getComputedStyle(D).zIndex)},[D]),(0,b.jsx)("div",{ref:S.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:V?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ab,"--radix-popper-transform-origin":[W.transformOrigin?.x,W.transformOrigin?.y].join(" "),...W.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:a.dir,children:(0,b.jsx)(y,{scope:f,placedSide:X,onArrowChange:K,arrowX:$,arrowY:_,shouldHideArrow:aa,children:(0,b.jsx)(l.Primitive.div,{"data-side":X,"data-align":Y,...B,ref:I,style:{...B.style,animation:V?void 0:"none"}})})})});A.displayName=x;var B="PopperArrow",C={top:"bottom",right:"left",bottom:"top",left:"right"},D=c.forwardRef(function(a,c){let{__scopePopper:d,...e}=a,f=z(B,d),g=C[f.placedSide];return(0,b.jsx)("span",{ref:f.onArrowChange,style:{position:"absolute",left:f.arrowX,top:f.arrowY,[g]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[f.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[f.placedSide],visibility:f.shouldHideArrow?"hidden":void 0},children:(0,b.jsx)(k.Root,{...e,ref:c,style:{...e.style,display:"block"}})})});function E(a){return null!==a}D.displayName=B;var F=a=>({name:"transformOrigin",options:a,fn(b){let{placement:c,rects:d,middlewareData:e}=b,f=e.arrow?.centerOffset!==0,g=f?0:a.arrowWidth,h=f?0:a.arrowHeight,[i,j]=G(c),k={start:"0%",center:"50%",end:"100%"}[j],l=(e.arrow?.x??0)+g/2,m=(e.arrow?.y??0)+h/2,n="",o="";return"bottom"===i?(n=f?k:`${l}px`,o=`${-h}px`):"top"===i?(n=f?k:`${l}px`,o=`${d.floating.height+h}px`):"right"===i?(n=`${-h}px`,o=f?k:`${m}px`):"left"===i&&(n=`${d.floating.width+h}px`,o=f?k:`${m}px`),{data:{x:n,y:o}}}});function G(a){let[b,c="center"]=a.split("-");return[b,c]}a.s(["Anchor",()=>w,"Arrow",()=>D,"Content",()=>A,"Root",()=>u,"createPopperScope",()=>r],75988);var H=a.i(80930),I=a.i(14272),J=a.i(90986),K=a.i(17329),L=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),M=c.forwardRef((a,c)=>(0,b.jsx)(l.Primitive.span,{...a,ref:c,style:{...L,...a.style}}));M.displayName="VisuallyHidden",a.s(["Root",()=>M,"VISUALLY_HIDDEN_STYLES",()=>L,"VisuallyHidden",()=>M],50049);var[N,O]=(0,f.createContextScope)("Tooltip",[r]),P=r(),Q="TooltipProvider",R="tooltip.open",[S,T]=N(Q),U=a=>{let{__scopeTooltip:d,delayDuration:e=700,skipDelayDuration:f=300,disableHoverableContent:g=!1,children:h}=a,i=c.useRef(!0),j=c.useRef(!1),k=c.useRef(0);return c.useEffect(()=>{let a=k.current;return()=>window.clearTimeout(a)},[]),(0,b.jsx)(S,{scope:d,isOpenDelayedRef:i,delayDuration:e,onOpen:c.useCallback(()=>{window.clearTimeout(k.current),i.current=!1},[]),onClose:c.useCallback(()=>{window.clearTimeout(k.current),k.current=window.setTimeout(()=>i.current=!0,f)},[f]),isPointerInTransitRef:j,onPointerInTransitChange:c.useCallback(a=>{j.current=a},[]),disableHoverableContent:g,children:h})};U.displayName=Q;var V="Tooltip",[W,X]=N(V),Y=a=>{let{__scopeTooltip:d,children:e,open:f,defaultOpen:g,onOpenChange:i,disableHoverableContent:j,delayDuration:k}=a,l=T(V,a.__scopeTooltip),m=P(d),[n,o]=c.useState(null),p=(0,h.useId)(),q=c.useRef(0),r=j??l.disableHoverableContent,s=k??l.delayDuration,t=c.useRef(!1),[v,w]=(0,K.useControllableState)({prop:f,defaultProp:g??!1,onChange:a=>{a?(l.onOpen(),document.dispatchEvent(new CustomEvent(R))):l.onClose(),i?.(a)},caller:V}),x=c.useMemo(()=>v?t.current?"delayed-open":"instant-open":"closed",[v]),y=c.useCallback(()=>{window.clearTimeout(q.current),q.current=0,t.current=!1,w(!0)},[w]),z=c.useCallback(()=>{window.clearTimeout(q.current),q.current=0,w(!1)},[w]),A=c.useCallback(()=>{window.clearTimeout(q.current),q.current=window.setTimeout(()=>{t.current=!0,w(!0),q.current=0},s)},[s,w]);return c.useEffect(()=>()=>{q.current&&(window.clearTimeout(q.current),q.current=0)},[]),(0,b.jsx)(u,{...m,children:(0,b.jsx)(W,{scope:d,contentId:p,open:v,stateAttribute:x,trigger:n,onTriggerChange:o,onTriggerEnter:c.useCallback(()=>{l.isOpenDelayedRef.current?A():y()},[l.isOpenDelayedRef,A,y]),onTriggerLeave:c.useCallback(()=>{r?z():(window.clearTimeout(q.current),q.current=0)},[z,r]),onOpen:y,onClose:z,disableHoverableContent:r,children:e})})};Y.displayName=V;var Z="TooltipTrigger",$=c.forwardRef((a,f)=>{let{__scopeTooltip:g,...h}=a,i=X(Z,g),j=T(Z,g),k=P(g),m=c.useRef(null),n=(0,e.useComposedRefs)(f,m,i.onTriggerChange),o=c.useRef(!1),p=c.useRef(!1),q=c.useCallback(()=>o.current=!1,[]);return c.useEffect(()=>()=>document.removeEventListener("pointerup",q),[q]),(0,b.jsx)(w,{asChild:!0,...k,children:(0,b.jsx)(l.Primitive.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...h,ref:n,onPointerMove:(0,d.composeEventHandlers)(a.onPointerMove,a=>{"touch"!==a.pointerType&&(p.current||j.isPointerInTransitRef.current||(i.onTriggerEnter(),p.current=!0))}),onPointerLeave:(0,d.composeEventHandlers)(a.onPointerLeave,()=>{i.onTriggerLeave(),p.current=!1}),onPointerDown:(0,d.composeEventHandlers)(a.onPointerDown,()=>{i.open&&i.onClose(),o.current=!0,document.addEventListener("pointerup",q,{once:!0})}),onFocus:(0,d.composeEventHandlers)(a.onFocus,()=>{o.current||i.onOpen()}),onBlur:(0,d.composeEventHandlers)(a.onBlur,i.onClose),onClick:(0,d.composeEventHandlers)(a.onClick,i.onClose)})})});$.displayName=Z;var _="TooltipPortal",[aa,ab]=N(_,{forceMount:void 0}),ac=a=>{let{__scopeTooltip:c,forceMount:d,children:e,container:f}=a,g=X(_,c);return(0,b.jsx)(aa,{scope:c,forceMount:d,children:(0,b.jsx)(I.Presence,{present:d||g.open,children:(0,b.jsx)(H.Portal,{asChild:!0,container:f,children:e})})})};ac.displayName=_;var ad="TooltipContent",ae=c.forwardRef((a,c)=>{let d=ab(ad,a.__scopeTooltip),{forceMount:e=d.forceMount,side:f="top",...g}=a,h=X(ad,a.__scopeTooltip);return(0,b.jsx)(I.Presence,{present:e||h.open,children:h.disableHoverableContent?(0,b.jsx)(aj,{side:f,...g,ref:c}):(0,b.jsx)(af,{side:f,...g,ref:c})})}),af=c.forwardRef((a,d)=>{let f=X(ad,a.__scopeTooltip),g=T(ad,a.__scopeTooltip),h=c.useRef(null),i=(0,e.useComposedRefs)(d,h),[j,k]=c.useState(null),{trigger:l,onClose:m}=f,n=h.current,{onPointerInTransitChange:o}=g,p=c.useCallback(()=>{k(null),o(!1)},[o]),q=c.useCallback((a,b)=>{let c,d=a.currentTarget,e={x:a.clientX,y:a.clientY},f=function(a,b){let c=Math.abs(b.top-a.y),d=Math.abs(b.bottom-a.y),e=Math.abs(b.right-a.x),f=Math.abs(b.left-a.x);switch(Math.min(c,d,e,f)){case f:return"left";case e:return"right";case c:return"top";case d:return"bottom";default:throw Error("unreachable")}}(e,d.getBoundingClientRect());k(((c=[...function(a,b,c=5){let d=[];switch(b){case"top":d.push({x:a.x-c,y:a.y+c},{x:a.x+c,y:a.y+c});break;case"bottom":d.push({x:a.x-c,y:a.y-c},{x:a.x+c,y:a.y-c});break;case"left":d.push({x:a.x+c,y:a.y-c},{x:a.x+c,y:a.y+c});break;case"right":d.push({x:a.x-c,y:a.y-c},{x:a.x-c,y:a.y+c})}return d}(e,f),...function(a){let{top:b,right:c,bottom:d,left:e}=a;return[{x:e,y:b},{x:c,y:b},{x:c,y:d},{x:e,y:d}]}(b.getBoundingClientRect())].slice()).sort((a,b)=>a.x<b.x?-1:a.x>b.x?1:a.y<b.y?-1:1*!!(a.y>b.y)),function(a){if(a.length<=1)return a.slice();let b=[];for(let c=0;c<a.length;c++){let d=a[c];for(;b.length>=2;){let a=b[b.length-1],c=b[b.length-2];if((a.x-c.x)*(d.y-c.y)>=(a.y-c.y)*(d.x-c.x))b.pop();else break}b.push(d)}b.pop();let c=[];for(let b=a.length-1;b>=0;b--){let d=a[b];for(;c.length>=2;){let a=c[c.length-1],b=c[c.length-2];if((a.x-b.x)*(d.y-b.y)>=(a.y-b.y)*(d.x-b.x))c.pop();else break}c.push(d)}return(c.pop(),1===b.length&&1===c.length&&b[0].x===c[0].x&&b[0].y===c[0].y)?b:b.concat(c)}(c))),o(!0)},[o]);return c.useEffect(()=>()=>p(),[p]),c.useEffect(()=>{if(l&&n){let a=a=>q(a,n),b=a=>q(a,l);return l.addEventListener("pointerleave",a),n.addEventListener("pointerleave",b),()=>{l.removeEventListener("pointerleave",a),n.removeEventListener("pointerleave",b)}}},[l,n,q,p]),c.useEffect(()=>{if(j){let a=a=>{let b=a.target,c={x:a.clientX,y:a.clientY},d=l?.contains(b)||n?.contains(b),e=!function(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}(c,j);d?p():e&&(p(),m())};return document.addEventListener("pointermove",a),()=>document.removeEventListener("pointermove",a)}},[l,n,j,m,p]),(0,b.jsx)(aj,{...a,ref:i})}),[ag,ah]=N(V,{isInside:!1}),ai=(0,J.createSlottable)("TooltipContent"),aj=c.forwardRef((a,d)=>{let{__scopeTooltip:e,children:f,"aria-label":h,onEscapeKeyDown:i,onPointerDownOutside:j,...k}=a,l=X(ad,e),m=P(e),{onClose:n}=l;return c.useEffect(()=>(document.addEventListener(R,n),()=>document.removeEventListener(R,n)),[n]),c.useEffect(()=>{if(l.trigger){let a=a=>{let b=a.target;b?.contains(l.trigger)&&n()};return window.addEventListener("scroll",a,{capture:!0}),()=>window.removeEventListener("scroll",a,{capture:!0})}},[l.trigger,n]),(0,b.jsx)(g.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:j,onFocusOutside:a=>a.preventDefault(),onDismiss:n,children:(0,b.jsxs)(A,{"data-state":l.stateAttribute,...m,...k,ref:d,style:{...k.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,b.jsx)(ai,{children:f}),(0,b.jsx)(ag,{scope:e,isInside:!0,children:(0,b.jsx)(M,{id:l.contentId,role:"tooltip",children:h||f})})]})})});ae.displayName=ad;var ak="TooltipArrow",al=c.forwardRef((a,c)=>{let{__scopeTooltip:d,...e}=a,f=P(d);return ah(ak,d).isInside?null:(0,b.jsx)(D,{...f,...e,ref:c})});al.displayName=ak,a.s(["Arrow",()=>al,"Content",()=>ae,"Portal",()=>ac,"Provider",()=>U,"Root",()=>Y,"Tooltip",()=>Y,"TooltipArrow",()=>al,"TooltipContent",()=>ae,"TooltipPortal",()=>ac,"TooltipProvider",()=>U,"TooltipTrigger",()=>$,"Trigger",()=>$,"createTooltipScope",()=>O],17151);var am=a.i(17151),am=am,an=a.i(85536);function ao({delayDuration:a=0,...c}){return(0,b.jsx)(am.Provider,{"data-slot":"tooltip-provider",delayDuration:a,...c})}function ap({...a}){return(0,b.jsx)(am.Root,{"data-slot":"tooltip",...a})}function aq({...a}){return(0,b.jsx)(am.Trigger,{"data-slot":"tooltip-trigger",...a})}function ar({className:a,sideOffset:c=0,children:d,...e}){return(0,b.jsx)(am.Portal,{children:(0,b.jsxs)(am.Content,{"data-slot":"tooltip-content",sideOffset:c,className:(0,an.cn)("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",a),...e,children:[d,(0,b.jsx)(am.Arrow,{className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}a.s(["Tooltip",()=>ap,"TooltipContent",()=>ar,"TooltipProvider",()=>ao,"TooltipTrigger",()=>aq],82934)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_b407679c._.js.map
|