@onequery/cli 0.1.56-win32-x64 → 0.1.57-darwin-arm64
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/package.json +3 -3
- package/vendor/{x86_64-pc-windows-msvc/onequery/onequery.exe → aarch64-apple-darwin/onequery/onequery} +0 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_authenticated-BWDDapHH.js → aarch64-apple-darwin/runtime/dashboard/assets/_authenticated-BdFlDW8S.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_org_slug-CKOKPChi.js → aarch64-apple-darwin/runtime/dashboard/assets/_org_slug-kMbY9uSQ.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/audit-BN8ls_MY.js → aarch64-apple-darwin/runtime/dashboard/assets/audit-DWr32C7Z.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/budget-BURonfUt.js → aarch64-apple-darwin/runtime/dashboard/assets/budget-C_lvvS6A.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/callback-CEccxk8i.js → aarch64-apple-darwin/runtime/dashboard/assets/callback-BVW9Ki10.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/connect-database-Di_M3cmN.js → aarch64-apple-darwin/runtime/dashboard/assets/connect-database-CzfqAXOq.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/create-org-CVNvc6iH.js → aarch64-apple-darwin/runtime/dashboard/assets/create-org-BpGbCKww.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/data-source-connection-form-yslLMNLp.js → aarch64-apple-darwin/runtime/dashboard/assets/data-source-connection-form-D_EKFCY7.js} +2 -2
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/device-B15ZHZWm.js → aarch64-apple-darwin/runtime/dashboard/assets/device-BzGocmf9.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/dropdown-menu-DtEDDjE6.js → aarch64-apple-darwin/runtime/dashboard/assets/dropdown-menu-LmwPbXAE.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/home-BemJ3A_4.js → aarch64-apple-darwin/runtime/dashboard/assets/home-BSvGpvOP.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/index-CdlRV-Gz.css +2 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/index-CJ-rryYZ.js → aarch64-apple-darwin/runtime/dashboard/assets/index-UJ9tDDK8.js} +2 -2
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/integrations-DvSzU8x3.js → aarch64-apple-darwin/runtime/dashboard/assets/integrations-CCnuOxYf.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/invite._invitationId-BeEkXqYN.js → aarch64-apple-darwin/runtime/dashboard/assets/invite._invitationId-1dC9E94b.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/routes-uDrN548x.js → aarch64-apple-darwin/runtime/dashboard/assets/routes-DcSultRN.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/signin-COc0Xlmx.js → aarch64-apple-darwin/runtime/dashboard/assets/signin-Bg29e7M9.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/team-DsvoMGTa.js → aarch64-apple-darwin/runtime/dashboard/assets/team-2YmR1N4r.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/theme-toggle-Cpb5vfOF.js → aarch64-apple-darwin/runtime/dashboard/assets/theme-toggle-CYyH4Neh.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/use-optimistic-mutation-BclNvJ-z.js → aarch64-apple-darwin/runtime/dashboard/assets/use-optimistic-mutation-Bznt3Ooc.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useBaseQuery-B6kSUltH.js → aarch64-apple-darwin/runtime/dashboard/assets/useBaseQuery-mt9D5me6.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useQuery-Da2rjDHt.js +1 -0
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useSuspenseQuery-CWEvvP0f.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/index.html +2 -2
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/onequery-server.mjs +5482 -830
- package/vendor/aarch64-apple-darwin/server/polyglot_sql_wasm_bg.wasm +0 -0
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/index-Cw-u-nCb.css +0 -2
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useQuery-BUtAumWK.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useSuspenseQuery-DYsbEeL7.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/sql-parser/sql_parser_wasm_bg.wasm +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/CompositeItem-5Ejg9goZ.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/CompositeList-YgaWmh3B.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/DialogTitle-ClXtDd9Q.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconArrowRight-DsOD7mDl.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCheck-Gc24xPT2.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronDown-B-39MA7-.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronRight-DD16tNHZ.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCoins-C7Nn0L6R.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconHistory-k3NVXypq.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconLoader2-CZSIppar.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconPlus-Ie-KpLOF.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconX-lzvnmVyG.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/Separator-DFErBP0R.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/alert-CS-uCjgY.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-base-url-DIb6qukm.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-client-DPCavVwb.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-paths-CFdXXr7u.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/app-routes-DZ9Y_rfa.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/auth-bootstrap-query-BqZQ8G7v.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/auth-client-CMZBteJH.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/avatar-Bhrck5AU.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/badge-CkOCUhr2.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/card-CUmxccAE.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/checkbox-CAn5Cn-T.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/compiler-runtime-DCc3R3Xn.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/copy-button-BO1KBdf9.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/createReactComponent-_L2mp4Ui.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/dist-ppXnK3vn.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/empty-nwzd6339.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/format-date-z9OF1gmD.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/getDisabledMountTransitionStyles-D7JdES34.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/getPseudoElementBounds-DoV2AHJj.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/input-1NcNY1Rk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/jsx-runtime-DG_AJzB_.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/label-CUY3W2yp.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/link-Cgvqhh5w.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/matchContext-CDajBC0L.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/organization-permissions-BVvfS7YH.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/organization-query-keys-CU7jOI4S.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/query-DF3dbj_k.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/query-timing-DJ9GuO2c.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/queryOptions-uXYq4lsk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/schemas-BXHHM7OC.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/select-sd9I7HEr.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/separator-BA_IZNjv.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/settings-BJE_QCvJ.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/src-BLN-I5in.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/textarea-Bp7ncmeh.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useBaseUiId-DFyoDJ0E.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useCompositeItem-CeS9xqAj.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useControlled-DtSMvmU7.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useRender-DFBf8QFH.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useRouterState-DpT8luFk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useValueChanged-CH03vPJ5.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/utils-C8DGLIgm.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/xstate-react.esm-Dgyp86r-.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/zod-DM_ziQch.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/favicon.ico +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step1_settings_sidebar.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step2_projects.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step3_project_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step4_api_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step2_bigquery_roles.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step3_add_key_menu.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step4_create_json_key.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step2_enable_workers_logs.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step3_user_api_tokens.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step4_create_api_token.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step5_workers_pages_account_id.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step6_workers_observability_permission.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step2_create_json_key.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step3_add_user_viewer.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step4_property_details.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step1_signin.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step2_new_fine_grained_token_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step3_permissions_configured_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step4_token_created_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step2_create_service_account.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step3_credentials.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step4_project_settings.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step1_create_user.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step2_connection.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step1_project_settings.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step2_personal_api_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step3_create_key_modal.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step1_connect.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step2_create_user.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step3_grant.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step4_info.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step1_personal_tokens.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step2_create_token_permissions.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step3_organization_slug.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step4_project_slug.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/linear.svg +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/onequery.svg +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260327065242_curious_nightmare.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403103652_slippery_hellfire_club.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403112219_gigantic_namora.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420071232_previous_justin_hammer.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420093157_spooky_cassandra_nova.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420101631_even_ogun.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260425110519_smart_amazoness.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260428033542_rename_source_query_interface_missing.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260430114113_jittery_scorpion.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260430135906_flippant_timeslip.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260502000100_drop_old_workflow_audit_tables.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260503011110_moaning_jack_flag.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260514143216_reset_workflow_audit_history.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260327065242_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403103652_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403112219_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420071232_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420093157_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420101631_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260425110519_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260428033542_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260430114113_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260430135906_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260503011110_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/_journal.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/initdb.wasm +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.data +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.wasm +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{t as r}from"./compiler-runtime-DCc3R3Xn.js";import{n as i}from"./api-base-url-DIb6qukm.js";import{S as a,a as o,d as s,g as c,i as l,n as u,x as d,y as f}from"./createReactComponent-_L2mp4Ui.js";import{t as p}from"./utils-C8DGLIgm.js";import{a as m,i as h,n as g,r as _,t as v}from"./select-sd9I7HEr.js";import{c as y,i as b,l as x,r as S,s as C,t as w}from"./use-optimistic-mutation-BclNvJ-z.js";import{t as T}from"./useQuery-BUtAumWK.js";import{M as E,ct as D,i as O,st as k}from"./getDisabledMountTransitionStyles-D7JdES34.js";import{i as A,t as j}from"./CompositeList-YgaWmh3B.js";import{d as M,n as N,t as P}from"./useBaseUiId-DFyoDJ0E.js";import{c as F,d as I,g as L,m as R,n as z,p as B,r as V,s as H,u as U}from"./schemas-BXHHM7OC.js";import{t as ee}from"./src-BLN-I5in.js";import{J as te,O as ne,_ as re,b as ie,v as ae}from"./index-CJ-rryYZ.js";import{t as W}from"./input-1NcNY1Rk.js";import{t as G}from"./useControlled-DtSMvmU7.js";import"./separator-BA_IZNjv.js";import{t as oe}from"./useCompositeItem-CeS9xqAj.js";import{t as K}from"./label-CUY3W2yp.js";import{n as q,r as se,t as ce}from"./textarea-Bp7ncmeh.js";import{t as le}from"./api-paths-CFdXXr7u.js";import{n as ue,t as de}from"./zod-DM_ziQch.js";var J=r(),Y=e(t(),1),X=n();function fe(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Linear`}),o=(0,X.jsx)(`path`,{d:`M1.22541 61.5228c-.2225-.9485.90748-1.5459 1.59638-.857L39.3342 97.1782c.6889.6889.0915 1.8189-.857 1.5964C20.0515 94.4522 5.54779 79.9485 1.22541 61.5228ZM.00189135 46.8891c-.01764375.2833.08887215.5599.28957165.7606L52.3503 99.7085c.2007.2007.4773.3075.7606.2896 2.3692-.1476 4.6938-.46 6.9624-.9259.7645-.157 1.0301-1.0963.4782-1.6481L2.57595 39.4485c-.55186-.5519-1.49117-.2863-1.648174.4782-.465915 2.2686-.77832 4.5932-.92588465 6.9624ZM4.21093 29.7054c-.16649.3738-.08169.8106.20765 1.1l64.77602 64.776c.2894.2894.7262.3742 1.1.2077 1.7861-.7956 3.5171-1.6927 5.1855-2.684.5521-.328.6373-1.0867.1832-1.5407L8.43566 24.3367c-.45409-.4541-1.21271-.3689-1.54074.1832-.99132 1.6684-1.88843 3.3994-2.68399 5.1855ZM12.6587 18.074c-.3701-.3701-.393-.9637-.0443-1.3541C21.7795 6.45931 35.1114 0 49.9519 0 77.5927 0 100 22.4073 100 50.0481c0 14.8405-6.4593 28.1724-16.7199 37.3375-.3903.3487-.984.3258-1.3542-.0443L12.6587 18.074Z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 100 100`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function pe(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`PostgreSQL`}),o=(0,X.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M123.258 76.784c-.45-2.918-2.901-4.829-5.752-4.958-1.032-.047-2.08.061-3.109.192-1.243.158-2.471.438-3.711.623-.857.128-1.726.187-2.582.275l-.021-.111c1.598-3.018 3.263-6.003 4.775-9.064 1.159-2.348 2.151-4.781 3.176-7.194 1.696-3.998 3.051-8.12 4.173-12.309 1.075-4.011 1.995-8.066 2.284-12.227.116-1.662.196-3.331.187-4.995-.008-1.327-.151-2.656-.284-3.979-.15-1.516-.608-2.953-1.242-4.336-.836-1.822-2.132-3.317-3.496-4.737-1.092-1.137-2.293-2.173-3.484-3.208-1.698-1.477-3.607-2.656-5.59-3.703a32.18 32.18 0 00-7.09-2.75c-1.493-.381-3.02-.664-4.532-.966-.544-.11-1.089-.337-1.633-.337H85.086c-.37 0-.737.191-1.11.233-2.452.273-4.875.735-7.228 1.464-.88.273-1.684.101-2.52.024-.641-.059-1.271-.231-1.912-.263-2.442-.122-4.887-.301-7.328-.275-2.339.024-4.654.409-6.918 1.052-1.895.538-3.749 1.195-5.447 2.191-.727.426-1.303.346-2.055.129-2.527-.729-5.072-1.414-7.639-1.989-1.6-.358-3.245-.536-4.879-.707a57.214 57.214 0 00-4.718-.294c-1.538-.033-3.087-.032-4.618.104a30.16 30.16 0 00-7.158 1.513 23.813 23.813 0 00-7.086 3.865c-2.167 1.715-3.905 3.809-5.303 6.2-1.473 2.523-2.483 5.224-3.111 8.061-.34 1.537-.555 3.117-.788 4.678-.073.486.732.972-.268 1.456v6.794c1 .452.208.903.266 1.356.139 1.089.262 2.187.446 3.268.291 1.711.636 3.417.988 5.117a324.86 324.86 0 001.546 7.111c.396 1.72.847 3.43 1.319 5.131.721 2.598 1.431 5.201 2.246 7.77.757 2.387 1.624 4.74 2.484 7.093 1.191 3.255 2.617 6.405 4.327 9.424 1.479 2.614 3.169 5.062 5.436 7.076 1.494 1.327 3.157 2.347 5.093 2.857 1.521.4 3.067.448 4.624.129a10.979 10.979 0 004.824-2.311c.163-.134.342-.236.535.01.735.931 1.719 1.552 2.748 2.089 2.777 1.448 5.803 1.882 8.877 2.059.744.043 1.496-.064 2.246-.085 1.461-.04 2.881-.325 4.278-.729.732-.212 1.447-.481 2.192-.732.039.793.089 1.557.112 2.321l.104 4.166c.019.634.044 1.27.103 1.901.151 1.627.299 3.255.493 4.877.135 1.118.275 2.245.538 3.336a38.176 38.176 0 002.158 6.428 13.81 13.81 0 003.9 5.185c2.22 1.836 4.822 2.619 7.632 2.764 1.162.061 2.357.004 3.501-.204a49.01 49.01 0 005.387-1.275c3.591-1.084 6.695-2.956 9.014-5.981 1.32-1.724 2.404-3.589 3.1-5.648.574-1.701 1.115-3.419 1.545-5.16.34-1.372.508-2.787.715-4.188.137-.927.219-1.863.305-2.797.14-1.517.283-3.033.384-4.553.07-1.058.067-2.121.109-3.181.013-.323.065-.644.095-.966.028-.298.178-.401.482-.396 1.071.016 2.144.044 3.212-.004 1.197-.054 2.405-.105 3.583-.303a56.542 56.542 0 004.99-1.067c1.943-.508 3.725-1.418 5.44-2.455 1.998-1.207 3.819-2.623 5.297-4.447 1.285-1.591 1.894-3.43 1.584-5.438zm-3.412.982c-.066.915-.485 1.699-1.093 2.369-2.869 3.163-6.468 5.082-10.585 6.027-1.564.358-3.178.544-4.779.692a32.093 32.093 0 01-4.114.097c-1.006-.038-2.004-.268-3.032-.416-.103.94-.201 1.919-.32 2.896l-.479 3.745c-.145 1.187-.258 2.378-.407 3.564-.146 1.151-.328 2.298-.481 3.449-.143 1.072-.248 2.149-.407 3.219-.245 1.64-.479 3.284-.799 4.911-.384 1.945-.973 3.829-1.934 5.583-1.172 2.141-2.834 3.772-4.949 4.98-2.18 1.246-4.563 1.894-6.979 2.436-1.71.384-3.472.447-5.204.291-3.004-.272-5.568-1.557-7.506-3.886-1.85-2.223-3.102-4.771-3.55-7.655a63.102 63.102 0 01-.491-4.136 108.067 108.067 0 01-.299-4.62 250.203 250.203 0 01-.197-5.871c-.053-2.406-.07-4.812-.104-7.218l-.006-.092c-1.224.734-2.427 1.538-3.703 2.2a12.392 12.392 0 01-4.798 1.353c-1.318.1-2.653.191-3.965.086-2.151-.173-4.3-.51-6.226-1.569-.781-.43-1.596-.953-2.134-1.64-1.29-1.646-.672-3.726 1.273-4.727 1.344-.693 2.811-.982 4.268-1.319a44.368 44.368 0 003.761-1.029c1.222-.4 1.993-1.391 2.754-2.363l1.206-1.551c-.503-.053-.977-.107-1.451-.151-1.439-.136-2.812-.532-4.125-1.114-1.124-.497-1.141-.551-1.965.343-1.376 1.494-2.714 3.023-4.062 4.542-.992 1.117-1.978 2.241-2.965 3.361-.978 1.108-1.894 2.279-2.947 3.31-1.564 1.531-3.449 2.452-5.698 2.348-1.443-.066-2.764-.572-3.952-1.399-2.452-1.708-4.104-4.097-5.608-6.606-1.927-3.215-3.406-6.64-4.672-10.159-.876-2.432-1.756-4.866-2.521-7.333-.831-2.681-1.56-5.396-2.277-8.11a157.373 157.373 0 01-1.482-6.182 216.117 216.117 0 01-1.464-7.079c-.298-1.599-.471-3.221-.712-4.831-.325-2.17-.385-4.36-.267-6.539.105-1.963.387-3.921.667-5.871.388-2.698 1.277-5.244 2.556-7.648.783-1.473 1.755-2.812 2.879-4.056 1.845-2.042 4.078-3.518 6.562-4.626 1.736-.774 3.57-1.24 5.439-1.604 2.774-.54 5.573-.519 8.373-.461 1.224.025 2.443.248 3.666.369 2.633.262 5.214.816 7.762 1.5 1.857.498 3.676 1.143 5.518 1.703.185.056.456.051.607-.048 2.496-1.629 5.224-2.704 8.125-3.319 1.101-.233 2.237-.335 3.363-.407 1.369-.087 2.749-.167 4.115-.088 1.642.094 3.276.336 4.908.56.792.108 1.565.383 2.359.458.38.036.783-.242 1.185-.335 2.049-.473 4.089-1 6.156-1.374 1.539-.278 3.111-.409 4.676-.499 1.745-.1 3.503-.173 5.247-.089a36.66 36.66 0 016.555.923c2.677.623 5.245 1.528 7.686 2.784 1.824.938 3.558 2.026 5.119 3.364 1.023.878 2.07 1.745 2.994 2.723 1.14 1.206 2.303 2.413 3.018 3.958.538 1.165.922 2.371 1.028 3.647.132 1.586.292 3.178.277 4.766-.014 1.519-.221 3.037-.368 4.552-.334 3.454-1.085 6.833-1.997 10.167a116.972 116.972 0 01-2.589 8.17c-.879 2.481-1.893 4.917-2.918 7.343a80.07 80.07 0 01-2.458 5.303c-1.677 3.286-3.421 6.538-5.438 9.633-.348.535-.678 1.083-1.018 1.629.88.594 1.877.803 2.881.911.955.104 1.929.166 2.883.095 1.527-.113 3.049-.331 4.567-.544 1.504-.21 2.978-.638 4.522-.525 1.542.112 2.645 1.284 2.54 2.729zm-22.013-3.353c-.655-.846-1.323-1.682-1.964-2.538-1.006-1.344-1.729-2.845-2.455-4.353-.688-1.429-1.532-2.782-2.257-4.195-1.265-2.465-2.553-4.922-3.718-7.435-1.465-3.157-2.62-6.426-2.984-9.923-.154-1.48-.193-2.958.106-4.424.479-2.341 1.702-4.172 3.758-5.428 1.907-1.165 4.032-1.541 6.209-1.659 1.351-.073 2.708-.013 4.11-.013l-.047-.237c-.872-1.823-1.687-3.677-2.641-5.457-1.346-2.512-3.068-4.777-4.986-6.877-1.421-1.555-2.96-2.998-4.646-4.273-1.658-1.255-3.405-2.376-5.269-3.293-2.223-1.093-4.538-1.938-6.967-2.477-2.334-.518-4.683-.835-7.077-.861-2.042-.022-4.071.07-6.06.531-3.002.695-5.748 1.931-8.137 3.933a21.143 21.143 0 00-3.517 3.77c-1.196 1.643-2.161 3.417-2.986 5.277-1.132 2.552-1.909 5.208-2.44 7.938-.266 1.361-.474 2.734-.686 4.106-.074.48-.08.971-.123 1.521.369-.192.635-.34.907-.472l.885-.397c2.993-1.369 6.094-2.25 9.427-2.149 1.416.043 2.771.323 4.03.943 2.415 1.191 3.828 3.216 4.442 5.779.424 1.769.714 3.573.996 5.372.221 1.405.447 2.825.473 4.242.037 2.071-.068 4.146-.181 6.216a17.386 17.386 0 01-1.08 5.146c-1.12 2.993-2.368 5.937-3.534 8.913-.385.983-.681 2.001-1.045 3.082.562 0 1.018-.004 1.474.002.178.003.36.008.532.049 1.34.316 2.502.923 3.455 1.954 1.271 1.372 1.938 2.973 1.972 4.826.019 1.027-.089 2.057-.084 3.084.021 4.786.057 9.572.097 14.357.007.782.046 1.565.102 2.346.117 1.635.235 3.271.395 4.902.112 1.157.268 2.312.451 3.461.259 1.628 1 3.077 1.841 4.462.724 1.191 1.665 2.203 2.905 2.901 2.107 1.186 4.376 1.285 6.663.848 1.545-.295 3.062-.769 4.562-1.258a10.128 10.128 0 003.937-2.354c1.051-1.019 1.797-2.261 2.3-3.632.976-2.659 1.28-5.459 1.684-8.237.151-1.04.282-2.083.42-3.125.157-1.186.316-2.371.468-3.556.112-.883.214-1.768.322-2.651.154-1.268.317-2.535.464-3.804.113-.981.209-1.966.309-2.949.129-1.256.268-2.512.379-3.77.086-.955.051-1.927.22-2.864.311-1.718 1.123-3.18 2.646-4.125.637-.395 1.356-.655 2.063-.989l-.12-.186zm-57.597-7.052a17.526 17.526 0 01-1.354-5.622c-.128-1.825.089-3.643.276-5.46.182-1.76.333-3.528.386-5.296.088-2.906-.108-5.808-.247-8.712-.084-1.729.117-3.479.271-5.212.139-1.561.312-3.126.607-4.664.495-2.581 1.152-5.125 2.086-7.591.887-2.338 1.906-4.615 3.345-6.665.986-1.406 2.105-2.72 3.18-4.094l-.319-.113c-3.498-1.111-7.053-1.979-10.709-2.358-1.729-.179-3.464-.284-5.198-.387-.532-.032-1.072.04-1.606.091-1.322.126-2.66.176-3.961.424-2.214.421-4.338 1.129-6.305 2.282-1.766 1.035-3.249 2.373-4.491 3.978-1.372 1.772-2.295 3.776-2.958 5.913-.783 2.521-1.156 5.115-1.257 7.733-.088 2.295-.132 4.603.264 6.889.295 1.702.492 3.422.817 5.117.443 2.311.918 4.617 1.467 6.904.785 3.274 1.569 6.553 2.499 9.787.89 3.099 1.894 6.17 2.982 9.204.89 2.476 1.919 4.906 3.003 7.304.706 1.562 1.561 3.065 2.457 4.528.953 1.553 2.037 3.027 3.508 4.154 1.856 1.423 3.293 1.644 5.179.083.808-.669 1.491-1.495 2.194-2.282 1.117-1.25 2.195-2.534 3.307-3.788 1.416-1.598 2.85-3.179 4.273-4.769.301-.336.59-.682.883-1.022l-.484-.425a17.695 17.695 0 01-4.095-5.931zm53.688-47.569a61.488 61.488 0 013.309 4.204c2 2.809 3.598 5.842 4.775 9.087.521 1.43.937 2.874.751 4.439-.129 1.096-.118 2.208-.215 3.31-.081.917-.226 1.829-.345 2.743-.178 1.378-.436 2.752-.513 4.136-.073 1.317.003 2.648.086 3.968.084 1.341.265 2.676.388 4.015.139 1.518.326 3.036.369 4.557.035 1.249-.076 2.506-.185 3.753-.13 1.502-.511 2.956-1.079 4.351-.399.982-.876 1.934-1.327 2.917l.181.192.275.213.277-.496a93.621 93.621 0 006.222-11.493 186.333 186.333 0 003.287-7.766c1.624-4.064 2.909-8.242 3.903-12.503.446-1.913.787-3.855 1.09-5.797.236-1.518.433-3.054.477-4.586.047-1.625-.043-3.263-.193-4.884-.112-1.224-.414-2.456-1.181-3.451-1.233-1.602-2.564-3.134-4.201-4.346-1.378-1.021-2.751-2.068-4.23-2.927-2.345-1.36-4.883-2.266-7.535-2.883-2.588-.603-5.21-.863-7.849-.918-1.556-.033-3.119.134-4.672.28-1.407.132-2.805.357-4.222.543 1.52.855 3.019 1.615 4.433 2.511 2.973 1.883 5.637 4.149 7.924 6.831zM55.299 72.514c.961-3.073 2.27-6.007 3.538-8.959 1.028-2.394 1.59-4.916 1.777-7.506.093-1.277.067-2.57.004-3.851a44.628 44.628 0 00-.392-4.259c-.266-1.801-.569-3.603-.995-5.371-.462-1.913-1.627-3.245-3.623-3.736-1.216-.299-2.424-.287-3.653-.093-3.002.473-5.75 1.579-8.31 3.199-.515.326-.798.589-.709 1.328.188 1.565.229 3.155.222 4.735-.01 2.236-.105 4.472-.19 6.707-.028.728-.133 1.452-.211 2.177-.12 1.11-.351 2.219-.344 3.327.007 1.142.124 2.311.401 3.417.88 3.507 2.744 6.377 5.799 8.402 1.879 1.245 3.958 1.873 6.24 1.992.155-.524.293-1.019.446-1.509zm-3.586-30.087c-.402-.844-.172-1.543.76-1.867.227-.08.461-.165.697-.188.324-.032.654-.008.982-.008 1.182.006 2.319.171 3.295.923.626.482.794 1.122.389 1.779-.575.932-1.452 1.4-2.529 1.49-1.697.141-2.888-.65-3.594-2.129zm47.04-.308c.136-1.124.245-2.251.384-3.375.056-.452-.182-.574-.561-.585-1.192-.033-2.384-.075-3.576-.097-1.344-.024-2.652.192-3.896.703-1.38.568-2.431 1.478-2.86 2.98a9.042 9.042 0 00-.293 3.41 20.11 20.11 0 001.193 5.176c.834 2.221 1.707 4.441 2.75 6.569 1.413 2.881 3.012 5.67 4.513 8.507.401.757.738 1.547 1.156 2.431a13.783 13.783 0 001.351-5.622c.041-1.61-.088-3.227-.182-4.838-.059-.986-.198-1.966-.294-2.95-.134-1.371-.337-2.741-.368-4.115-.031-1.397.068-2.802.188-4.197.113-1.338.334-2.665.495-3.997zm-2.689-1.082c-.443 1.223-1.39 1.913-2.618 2.116-1.145.188-2.148-.235-2.894-1.148-.531-.65-.328-1.42.468-1.859.914-.506 1.919-.634 3.104-.711.322.059.807.108 1.268.24.669.189.916.692.672 1.362zm-35.422 37.66c-.655-.535-1.521-.566-2.144.021-.773.73-1.453 1.565-2.133 2.388-.785.951-1.521 1.94-2.534 2.677-1.474 1.071-3.192 1.515-4.919 1.935-1.373.334-2.752.644-4.129.965l-.017.178c.409.189.805.425 1.231.56 2.1.665 4.236.996 6.455.808 1.602-.136 3.128-.485 4.574-1.171 1.99-.943 3.521-2.437 4.823-4.175.218-.29.317-.719.343-1.093.089-1.321-.582-2.303-1.55-3.093zm51.751.526c-1.69.181-3.382.373-5.077.47-.818.047-1.648-.109-2.474-.176-1.385-.112-2.737-.42-3.908-1.16-.678-.427-1.241-.475-1.961-.233-1.028.346-1.867.872-2.115 1.986-.169.753-.23 1.533-.298 2.304-.013.136.157.386.287.42.793.209 1.59.456 2.401.529.996.09 2.01.061 3.013.011 1.083-.054 2.173-.124 3.24-.304 2.515-.422 4.948-1.11 7.109-2.536.779-.515 1.551-1.041 2.325-1.562l-.064-.11c-.826.123-1.648.273-2.478.361z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 128 128`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function Z(e){let t=(0,J.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Supabase`}),o=(0,X.jsx)(`path`,{d:`M63.707 110.284c-2.236 2.807-6.774 1.224-6.774-2.365V48.383h39.308c7.119 0 11.089 8.182 6.694 13.801l-39.228 48.1Z`}),s=(0,X.jsx)(`path`,{d:`M63.707 110.284c-2.236 2.807-6.774 1.224-6.774-2.365V48.383h39.308c7.119 0 11.089 8.182 6.694 13.801l-39.228 48.1Z`,opacity:`.2`}),c=(0,X.jsx)(`path`,{d:`M45.287 2.071C47.524-.737 52.062.846 52.062 4.435V63.97H12.754c-7.119 0-11.089-8.182-6.694-13.801L45.287 2.071Z`}),t[3]=a,t[4]=o,t[5]=s,t[6]=c):(a=t[3],o=t[4],s=t[5],c=t[6]);let l;return t[7]!==n||t[8]!==i?(l=(0,X.jsxs)(`svg`,{viewBox:`0 0 109 113`,fill:`currentColor`,width:i,height:i,...n,children:[a,o,s,c]}),t[7]=n,t[8]=i,t[9]=l):l=t[9],l}function me(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`MySQL`}),o=(0,X.jsx)(`path`,{d:`M117.688 98.242c-6.973-.191-12.297.461-16.852 2.379-1.293.547-3.355.559-3.566 2.18.711.746.82 1.859 1.387 2.777 1.086 1.754 2.922 4.113 4.559 5.352 1.789 1.348 3.633 2.793 5.551 3.961 3.414 2.082 7.223 3.27 10.504 5.352 1.938 1.23 3.859 2.777 5.75 4.164.934.684 1.563 1.75 2.773 2.18v-.195c-.637-.812-.801-1.93-1.387-2.777l-2.578-2.578c-2.52-3.344-5.719-6.281-9.117-8.719-2.711-1.949-8.781-4.578-9.91-7.73l-.199-.199c1.922-.219 4.172-.914 5.949-1.391 2.98-.797 5.645-.59 8.719-1.387l4.164-1.187v-.793c-1.555-1.594-2.664-3.707-4.359-5.152-4.441-3.781-9.285-7.555-14.273-10.703-2.766-1.746-6.184-2.883-9.117-4.363-.988-.496-2.719-.758-3.371-1.586-1.539-1.961-2.379-4.449-3.566-6.738-2.488-4.793-4.93-10.023-7.137-15.066-1.504-3.437-2.484-6.828-4.359-9.91-9-14.797-18.687-23.73-33.695-32.508-3.195-1.867-7.039-2.605-11.102-3.57l-6.543-.395c-1.332-.555-2.715-2.184-3.965-2.977C16.977 3.52 4.223-3.312.539 5.672-1.785 11.34 4.016 16.871 6.09 19.746c1.457 2.012 3.32 4.273 4.359 6.539.688 1.492.805 2.984 1.391 4.559 1.438 3.883 2.695 8.109 4.559 11.695.941 1.816 1.98 3.727 3.172 5.352.727.996 1.98 1.438 2.18 2.973-1.227 1.715-1.297 4.375-1.984 6.543-3.098 9.77-1.926 21.91 2.578 29.137 1.383 2.223 4.641 6.98 9.117 5.156 3.918-1.598 3.043-6.539 4.164-10.902.254-.988.098-1.715.594-2.379v.199l3.57 7.133c2.641 4.254 7.324 8.699 11.297 11.699 2.059 1.555 3.68 4.242 6.344 5.152v-.199h-.199c-.516-.805-1.324-1.137-1.98-1.781-1.551-1.523-3.277-3.414-4.559-5.156-3.613-4.902-6.805-10.27-9.711-15.855-1.391-2.668-2.598-5.609-3.77-8.324-.453-1.047-.445-2.633-1.387-3.172-1.281 1.988-3.172 3.598-4.164 5.945-1.582 3.754-1.789 8.336-2.375 13.082-.348.125-.195.039-.398.199-2.762-.668-3.73-3.508-4.758-5.949-2.594-6.164-3.078-16.09-.793-23.191.59-1.836 3.262-7.617 2.18-9.316-.516-1.691-2.219-2.672-3.172-3.965-1.18-1.598-2.355-3.703-3.172-5.551-2.125-4.805-3.113-10.203-5.352-15.062-1.07-2.324-2.875-4.676-4.359-6.738-1.645-2.289-3.484-3.977-4.758-6.742-.453-.984-1.066-2.559-.398-3.566.215-.684.516-.969 1.191-1.191 1.148-.887 4.352.297 5.547.793 3.18 1.32 5.832 2.578 8.527 4.363 1.289.855 2.598 2.512 4.16 2.973h1.785c2.789.641 5.914.195 8.523.988 4.609 1.402 8.738 3.582 12.488 5.949 11.422 7.215 20.766 17.48 27.156 29.734 1.027 1.973 1.473 3.852 2.379 5.945 1.824 4.219 4.125 8.559 5.941 12.688 1.816 4.113 3.582 8.27 6.148 11.695 1.348 1.801 6.551 2.766 8.918 3.766 1.66.699 4.379 1.43 5.949 2.379 3 1.809 5.906 3.965 8.723 5.945 1.402.992 5.73 3.168 5.945 4.957zm-88.605-75.52c-1.453-.027-2.48.156-3.566.395v.199h.195c.695 1.422 1.918 2.34 2.777 3.566l1.98 4.164.199-.195c1.227-.867 1.789-2.25 1.781-4.363-.492-.52-.562-1.164-.992-1.785-.562-.824-1.66-1.289-2.375-1.98zm0 0`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 128 128`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function he(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`MongoDB`}),o=(0,X.jsx)(`path`,{d:`M17.193 9.555c-1.264-5.58-4.252-7.414-4.573-8.115-.28-.394-.53-.954-.735-1.44-.036.495-.055.685-.523 1.184-.723.566-4.438 3.682-4.74 10.02-.282 5.912 4.27 9.435 4.888 9.884l.07.05A73.49 73.49 0 0111.91 24h.481c.114-1.032.284-2.056.51-3.07.417-.296.604-.463.85-.693a11.342 11.342 0 003.639-8.464c.01-.814-.103-1.662-.197-2.218zm-5.336 8.195s0-8.291.275-8.29c.213 0 .49 10.695.49 10.695-.381-.045-.765-1.76-.765-2.405z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function ge(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Google Analytics`}),o=(0,X.jsx)(`path`,{d:`M22.84 2.9982v17.9987c.0086 1.6473-1.3197 2.9897-2.967 2.9984a2.9808 2.9808 0 01-.3677-.0208c-1.528-.226-2.6477-1.5558-2.6105-3.1V3.1204c-.0369-1.5458 1.0856-2.8762 2.6157-3.1 1.6361-.1915 3.1178.9796 3.3093 2.6158.014.1201.0208.241.0202.3619zM4.1326 18.0548c-1.6417 0-2.9726 1.331-2.9726 2.9726C1.16 22.6691 2.4909 24 4.1326 24s2.9726-1.3309 2.9726-2.9726-1.331-2.9726-2.9726-2.9726zm7.8728-9.0098c-.0171 0-.0342 0-.0513.0003-1.6495.0904-2.9293 1.474-2.891 3.1256v7.9846c0 2.167.9535 3.4825 2.3505 3.763 1.6118.3266 3.1832-.7152 3.5098-2.327.04-.1974.06-.3983.0593-.5998v-8.9585c.003-1.6474-1.33-2.9852-2.9773-2.9882z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function _e(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`BigQuery`}),o=(0,X.jsx)(`path`,{d:`M5.676 10.595h2.052v5.244a5.892 5.892 0 0 1-2.052-2.088v-3.156zm18.179 10.836a.504.504 0 0 1 0 .708l-1.716 1.716a.504.504 0 0 1-.708 0l-4.248-4.248a.206.206 0 0 1-.007-.007c-.02-.02-.028-.045-.043-.066a10.736 10.736 0 0 1-6.334 2.065C4.835 21.599 0 16.764 0 10.799S4.835 0 10.8 0s10.799 4.835 10.799 10.8c0 2.369-.772 4.553-2.066 6.333.025.017.052.028.074.05l4.248 4.248zm-5.028-10.632a8.015 8.015 0 1 0-8.028 8.028h.024a8.016 8.016 0 0 0 8.004-8.028zm-4.86 4.98a6.002 6.002 0 0 0 2.04-2.184v-1.764h-2.04v3.948zm-4.5.948c.442.057.887.08 1.332.072.4.025.8.025 1.2 0V7.692H9.468v9.035z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function ve(e){let t=(0,J.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Amplitude`}),o=(0,X.jsx)(`path`,{d:`M17.6,9c-0.1-0.1-0.2-0.2-0.4-0.2c-0.1,0-0.2,0.1-0.3,0.1c-1.1,0.8-2.5,4.4-3.7,9l1.1,0c2.1,0,4.2,0,6.4,0.1 c-0.6-2.1-1.1-4-1.6-5.5C18.4,10.4,17.9,9.4,17.6,9z`}),s=(0,X.jsx)(`path`,{d:`M20,0C9,0,0,9,0,20c0,11,9,20,20,20s20-9,20-20C40,9,31,0,20,0z M34.4,20.4C34.4,20.4,34.4,20.4,34.4,20.4 C34.4,20.4,34.3,20.4,34.4,20.4C34.3,20.4,34.3,20.4,34.4,20.4c-0.1,0.1-0.1,0.1-0.1,0.1c0,0,0,0,0,0c0,0,0,0,0,0 c-0.1,0.1-0.3,0.1-0.5,0.1c0,0-9.5,0-9.5,0c0.1,0.3,0.2,0.7,0.2,1.1c0.5,2.2,1.9,8.2,3.4,8.2l0,0l0,0l0,0c1.1,0,1.7-1.7,3-5.3l0,0 c0.2-0.6,0.4-1.2,0.7-1.9l0.1-0.2l0,0c0.1-0.2,0.2-0.3,0.4-0.3c0.3,0,0.5,0.2,0.5,0.5c0,0,0,0.1,0,0.1l0,0l-0.1,0.2 c-0.1,0.4-0.3,1-0.4,1.7c-0.8,3.2-1.9,7.9-4.9,7.9l0,0c-1.9,0-3.1-3.1-3.5-4.4c-0.9-2.4-1.6-5-2.3-7.6h-8.7l-1.8,5.8l0,0 c-0.2,0.3-0.5,0.4-0.8,0.4c-0.5,0-0.9-0.4-0.9-0.9l0,0l0.1-0.7c0.3-1.5,0.5-3,0.9-4.6H6.4l0,0c-0.7-0.1-1.2-0.7-1.2-1.4 c0-0.7,0.5-1.2,1.1-1.4c0.1,0,0.2,0,0.4,0c0.1,0,0.1,0,0.2,0c1.2,0,2.4,0,3.8,0.1c1.9-7.8,4.1-11.8,6.6-11.8c2.7,0,4.6,6,6.2,11.9 l0,0c3.2,0.1,6.7,0.2,10,0.4l0.1,0c0.1,0,0.1,0,0.2,0l0,0c0,0,0,0,0,0c0,0,0,0,0,0c0.5,0.1,0.8,0.5,0.8,1 C34.8,19.9,34.6,20.2,34.4,20.4z`}),t[3]=a,t[4]=o,t[5]=s):(a=t[3],o=t[4],s=t[5]);let c;return t[6]!==n||t[7]!==i?(c=(0,X.jsxs)(`svg`,{viewBox:`0 0 40 40`,fill:`currentColor`,width:i,height:i,...n,children:[a,o,s]}),t[6]=n,t[7]=i,t[8]=c):c=t[8],c}function ye(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Laminar`}),o=(0,X.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M1.32507 73.4886C0.00220402 72.0863 0.0802819 69.9867 0.653968 68.1462C3.57273 58.7824 5.14534 48.8249 5.14534 38.5C5.14534 27.8899 3.48464 17.6677 0.408998 8.0791C-0.129499 6.40029 -0.266346 4.50696 0.811824 3.11199C2.27491 1.21902 4.56777 0 7.14535 0H37.1454C58.1322 0 75.1454 17.0132 75.1454 38C75.1454 58.9868 58.1322 76 37.1454 76H7.14535C4.85185 76 2.78376 75.0349 1.32507 73.4886Z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 76 76`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function be(e){let t=(0,J.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Cloudflare Workers Observability`}),o=(0,X.jsx)(`path`,{d:`m404.7 240-10.6-4.2c-49.9 112.3-248.5 44-260.5 77.5-2 22.6 108.5 4.3 187.4 8.1 24.1 1.2 36.2 19.3 25.9 49l20.1.1c23.2-72.4 97.4-35.5 100.5-59.4-5-15.8-85.1-.1-62.8-71.1`,fill:`#fff`,transform:`translate(0 -1)`}),s=(0,X.jsx)(`path`,{d:`M352.7 357.9c3.2-10.6 2.1-21.2-3.2-27.6s-12.7-10.6-22.3-11.7l-184.8-2.1c-1.1 0-2.1-1.1-3.2-1.1-1.1-1.1-1.1-2.1 0-3.2 1.1-2.1 2.1-3.2 4.2-3.2l185.9-2.1c22.3-1.1 45.7-19.1 54.2-40.4l10.6-27.6c0-1.1 1.1-2.1 0-3.2-11.7-54.2-60.5-94.5-117.9-94.5-53.1 0-98.8 34-114.7 81.8-10.6-7.4-23.4-11.7-38.2-10.6-25.5 2.1-45.7 23.4-48.9 48.9-1.1 6.4 0 12.7 1.1 19.1-41.5 1-75.5 35-75.5 77.5 0 4.2 0 7.4 1.1 11.7 0 2.1 2.1 3.2 3.2 3.2h341c2.1 0 4.3-1.1 4.3-3.2z`,fill:`#f4811f`,transform:`translate(0 -1)`}),c=(0,X.jsx)(`path`,{d:`M411.1 238.9h-5.3c-1.1 0-2.1 1.1-3.2 2.1l-7.4 25.5c-3.2 10.6-2.1 21.2 3.2 27.6s12.7 10.6 22.3 11.7L460 308c1.1 0 2.1 1.1 3.2 1.1 1.1 1.1 1.1 2.1 0 3.2-1.1 2.1-2.1 3.2-4.2 3.2l-40.4 2.1c-22.3 1.1-45.7 19.1-54.2 40.4l-2.1 9.6c-1.1 1.1 0 3.2 2.1 3.2h140.2c2.1 0 3.2-1.1 3.2-3.2 2.1-8.5 4.2-18.1 4.2-27.6 0-55.4-45.7-101.1-100.9-101.1`,fill:`#faad3f`,transform:`translate(0 -1)`}),t[3]=a,t[4]=o,t[5]=s,t[6]=c):(a=t[3],o=t[4],s=t[5],c=t[6]);let l;return t[7]!==n||t[8]!==i?(l=(0,X.jsxs)(`svg`,{viewBox:`0 140.2 512 231.6`,width:i,height:i,xmlSpace:`preserve`,...n,children:[a,o,s,c]}),t[7]=n,t[8]=i,t[9]=l):l=t[9],l}function xe(e){let t=(0,J.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`AWS Athena`}),o=(0,X.jsx)(`path`,{d:`M144.3 214.1c0 6.3.7 11.4 1.9 15.2 1.4 3.7 3.1 7.8 5.4 12.3.9 1.4 1.2 2.7 1.2 3.9 0 1.7-1 3.4-3.2 5.1l-10.7 7.2c-1.5 1-3.1 1.5-4.4 1.5-1.7 0-3.4-.9-5.1-2.4-2.4-2.6-4.4-5.3-6.1-8-1.7-2.9-3.4-6.1-5.3-10-13.3 15.7-30 23.5-50.1 23.5-14.3 0-25.7-4.1-34.1-12.3-8.3-8.2-12.6-19.1-12.6-32.7 0-14.5 5.1-26.2 15.5-35.1S60.8 169 78.4 169c5.8 0 11.7.5 18.1 1.4s12.8 2.2 19.6 3.7v-12.4c0-12.9-2.7-22-8-27.2-5.4-5.3-14.6-7.8-27.8-7.8-6 0-12.1.7-18.4 2.2s-12.4 3.4-18.4 5.8c-2.7 1.2-4.8 1.9-6 2.2s-2 .5-2.7.5c-2.4 0-3.6-1.7-3.6-5.3v-8.3c0-2.7.3-4.8 1.2-6s2.4-2.4 4.8-3.6c6-3.1 13.1-5.6 21.5-7.7 8.3-2.2 17.2-3.2 26.6-3.2 20.3 0 35.1 4.6 44.6 13.8 9.4 9.2 14.1 23.2 14.1 41.9v55.2h.3zM75.2 240c5.6 0 11.4-1 17.5-3.1 6.1-2 11.6-5.8 16.2-10.9 2.7-3.2 4.8-6.8 5.8-10.9s1.7-9 1.7-14.8v-7.2c-4.9-1.2-10.2-2.2-15.7-2.9-5.4-.7-10.7-1-16-1-11.4 0-19.8 2.2-25.4 6.8S51 207.1 51 215.6c0 8 2 14 6.3 18.1 4.1 4.2 10 6.3 17.9 6.3m136.7 18.4c-3.1 0-5.1-.5-6.5-1.7-1.4-1-2.6-3.4-3.6-6.6l-40-131.6c-1-3.4-1.5-5.6-1.5-6.8 0-2.7 1.4-4.3 4.1-4.3h16.7c3.2 0 5.4.5 6.6 1.7 1.4 1 2.4 3.4 3.4 6.6l28.6 112.7 26.6-112.7c.9-3.4 1.9-5.6 3.2-6.6 1.4-1 3.7-1.7 6.8-1.7H270c3.2 0 5.4.5 6.8 1.7 1.4 1 2.6 3.4 3.2 6.6l26.9 114.1 29.5-114.1c1-3.4 2.2-5.6 3.4-6.6 1.4-1 3.6-1.7 6.6-1.7h15.8c2.7 0 4.3 1.4 4.3 4.3 0 .9-.2 1.7-.3 2.7-.2 1-.5 2.4-1.2 4.3l-41 131.6q-1.5 5.1-3.6 6.6c-1.4 1-3.6 1.7-6.5 1.7h-14.6c-3.2 0-5.4-.5-6.8-1.7s-2.6-3.4-3.2-6.8l-26.4-109.8L236.7 250c-.9 3.4-1.9 5.6-3.2 6.8-1.4 1.2-3.7 1.7-6.8 1.7h-14.8zm218.8 4.6c-8.9 0-17.7-1-26.2-3.1-8.5-2-15.2-4.3-19.6-6.8-2.7-1.5-4.6-3.2-5.3-4.8s-1-3.2-1-4.8v-8.7c0-3.6 1.4-5.3 3.9-5.3 1 0 2 .2 3.1.5 1 .3 2.6 1 4.3 1.7 5.8 2.6 12.1 4.6 18.7 6 6.8 1.4 13.5 2 20.3 2 10.7 0 19.1-1.9 24.9-5.6s8.9-9.2 8.9-16.2c0-4.8-1.5-8.7-4.6-11.9s-8.9-6.1-17.2-8.9l-24.7-7.7c-12.4-3.9-21.6-9.7-27.2-17.4-5.6-7.5-8.5-15.8-8.5-24.7 0-7.2 1.5-13.5 4.6-18.9s7.2-10.2 12.3-14c5.1-3.9 10.9-6.8 17.7-8.9 6.8-2 14-2.9 21.5-2.9 3.7 0 7.7.2 11.4.7 3.9.5 7.5 1.2 11.1 1.9 3.4.9 6.6 1.7 9.7 2.7s5.4 2 7.2 3.1c2.4 1.4 4.1 2.7 5.1 4.3 1 1.4 1.5 3.2 1.5 5.6v8c0 3.6-1.4 5.4-3.9 5.4-1.4 0-3.6-.7-6.5-2q-14.55-6.6-32.7-6.6c-9.7 0-17.4 1.5-22.6 4.8s-8 8.2-8 15.2c0 4.8 1.7 8.9 5.1 12.1s9.7 6.5 18.7 9.4l24.2 7.7c12.3 3.9 21.1 9.4 26.4 16.3s7.8 15 7.8 23.8c0 7.3-1.5 14-4.4 19.8-3.1 5.8-7.2 10.9-12.4 15-5.3 4.3-11.6 7.3-18.9 9.5-8 2.5-16 3.7-24.7 3.7`,fill:`#000`}),s=(0,X.jsx)(`path`,{d:`M462.9 345.7c-56 41.4-137.4 63.3-207.4 63.3-98.1 0-186.5-36.3-253.2-96.6-5.3-4.8-.5-11.2 5.8-7.5 72.2 41.9 161.3 67.3 253.4 67.3 62.2 0 130.4-12.9 193.3-39.5 9.3-4.2 17.3 6.2 8.1 13`,fill:`#f90`,fillRule:`evenodd`,clipRule:`evenodd`}),c=(0,X.jsx)(`path`,{d:`M486.2 319.2c-7.2-9.2-47.3-4.4-65.6-2.2-5.4.7-6.3-4.1-1.4-7.7 32-22.5 84.6-16 90.8-8.5 6.1 7.7-1.7 60.3-31.7 85.5-4.6 3.9-9 1.9-7-3.2 6.9-16.9 22.1-54.9 14.9-63.9`,fill:`#f90`,fillRule:`evenodd`,clipRule:`evenodd`}),t[3]=a,t[4]=o,t[5]=s,t[6]=c):(a=t[3],o=t[4],s=t[5],c=t[6]);let l;return t[7]!==n||t[8]!==i?(l=(0,X.jsxs)(`svg`,{xmlSpace:`preserve`,viewBox:`0.02 102.6 511.9 306.4`,width:i,height:i,...n,children:[a,o,s,c]}),t[7]=n,t[8]=i,t[9]=l):l=t[9],l}function Se(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Mixpanel`}),o=(0,X.jsx)(`path`,{d:`M6.967 9.996h3.053c-.763-.477-1.048-1.145-1.431-2.384L7.443 3.366C6.919 1.458 6.49.551 4.39.551H.004v1.145h.621c1.286 0 1.431.477 1.814 1.908L3.44 7.326c.524 1.814 1.337 2.67 3.53 2.67h-.003Zm7.06 0h3.053c2.194 0 2.956-.86 3.484-2.67l1.001-3.722c.382-1.431.57-1.908 1.814-1.908H24V.551h-4.34c-2.146 0-2.576.86-3.053 2.815l-1.145 4.246c-.384 1.286-.673 1.907-1.435 2.384Zm-4.007 4.008h4.007V9.996H10.02v4.008ZM0 23.449h4.39c2.1 0 2.529-.907 3.053-2.815l1.146-4.246c.383-1.239.668-1.907 1.431-2.384H6.967c-2.194 0-3.007.86-3.531 2.67l-1.001 3.722c-.383 1.431-.524 1.907-1.814 1.907H0v1.146Zm19.65 0h4.343v-1.146h-.622c-1.239 0-1.431-.476-1.814-1.907l-1.001-3.722c-.524-1.814-1.286-2.67-3.483-2.67h-3.046c.762.477 1.041 1.098 1.424 2.384l1.145 4.246c.477 1.955.907 2.815 3.054 2.815Z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function Ce(e){let t=(0,J.c)(12),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s,c,l,u;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`PostHog`}),o=(0,X.jsx)(`path`,{d:`M116.2 272c-3.9 7.9-15.2 7.9-19.1 0l-9.4-18.8c-1.5-3-1.5-6.5 0-9.5l9.4-18.8c3.9-7.9 15.2-7.9 19.1 0l9.4 18.8c1.5 3 1.5 6.5 0 9.5zm0 106.7c-3.9 7.9-15.2 7.9-19.1 0l-9.4-18.8c-1.5-3-1.5-6.5 0-9.5l9.4-18.8c3.9-7.9 15.2-7.9 19.1 0l9.4 18.8c1.5 3 1.5 6.5 0 9.5z`,fill:`#1d4aff`}),s=(0,X.jsx)(`path`,{d:`M0 338.2c0-9.5 11.5-14.3 18.2-7.5l48.9 48.9c6.7 6.7 2 18.2-7.5 18.2H10.7C4.8 397.8 0 393 0 387.1zm0-51.5c0 2.8 1.1 5.5 3.1 7.5l100.4 100.4c2 2 4.7 3.1 7.5 3.1h55.2c9.5 0 14.3-11.5 7.5-18.2L18.2 224c-6.7-6.7-18.2-2-18.2 7.5zM0 180c0 2.8 1.1 5.5 3.1 7.5l207.1 207.1c2 2 4.7 3.1 7.5 3.1h55.2c9.5 0 14.3-11.5 7.5-18.2L18.2 117.3c-6.7-6.7-18.2-2-18.2 7.5zm106.7 0c0 2.8 1.1 5.5 3.1 7.5l192 192c6.7 6.7 18.2 2 18.2-7.5v-55.2c0-2.8-1.1-5.5-3.1-7.5l-192-192c-6.7-6.7-18.2-2-18.2 7.5zm124.8-62.7c-6.7-6.7-18.2-2-18.2 7.5V180c0 2.8 1.1 5.5 3.1 7.5l85.3 85.3c6.7 6.7 18.2 2 18.2-7.5v-55.2c0-2.8-1.1-5.5-3.1-7.5z`,fill:`#f9bd2b`}),c=(0,X.jsx)(`path`,{d:`M453.7 339.5 353.3 239.1c-6.7-6.7-18.2-2-18.2 7.5v140.5c0 5.9 4.8 10.7 10.7 10.7h155.6c5.9 0 10.7-4.8 10.7-10.7v-12.8c0-5.9-4.8-10.6-10.6-11.4-18.1-2.3-34.8-10.4-47.8-23.4m-67.4 24.2c-9.4 0-17.1-7.6-17.1-17.1 0-9.4 7.6-17.1 17.1-17.1 9.4 0 17.1 7.6 17.1 17.1 0 9.4-7.7 17.1-17.1 17.1`}),l=(0,X.jsx)(`path`,{d:`M0 387.1c0 5.9 4.8 10.7 10.7 10.7h48.9c9.5 0 14.3-11.5 7.5-18.2l-48.9-48.9c-6.7-6.7-18.2-2-18.2 7.5zm106.7-181.3-88.5-88.5c-6.7-6.7-18.2-2-18.2 7.5V180c0 2.8 1.1 5.5 3.1 7.5L106.6 291v-85.2zM18.2 224c-6.7-6.7-18.2-2-18.2 7.5v55.2c0 2.8 1.1 5.5 3.1 7.5l103.5 103.5v-85.3z`,fill:`#1d4aff`}),u=(0,X.jsx)(`path`,{d:`M213.3 210.2c0-2.8-1.1-5.5-3.1-7.5l-85.3-85.3c-6.7-6.7-18.2-2-18.2 7.5V180c0 2.8 1.1 5.5 3.1 7.5L213.3 291zM106.7 397.8h59.6c9.5 0 14.3-11.5 7.5-18.2l-67.1-67.1zm0-192v80.9c0 2.8 1.1 5.5 3.1 7.5l103.5 103.5v-80.9c0-2.8-1.1-5.5-3.1-7.5z`,fill:`#f54e00`}),t[3]=a,t[4]=o,t[5]=s,t[6]=c,t[7]=l,t[8]=u):(a=t[3],o=t[4],s=t[5],c=t[6],l=t[7],u=t[8]);let d;return t[9]!==n||t[10]!==i?(d=(0,X.jsxs)(`svg`,{xmlSpace:`preserve`,viewBox:`0 114.15 512.1 283.65`,width:i,height:i,...n,children:[a,o,s,c,l,u]}),t[9]=n,t[10]=i,t[11]=d):d=t[11],d}function we(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Sentry`}),o=(0,X.jsx)(`path`,{d:`M505.4 460.4c8.8-14.8 8.8-33.2 0-48L296.8 51c-8.4-14.6-24.1-23.4-40.9-23-16.8-.2-32.4 8.5-40.9 23l-67.2 117.1 16.6 10.2c50.3 28.9 92 70.6 120.9 120.9 25.8 44.3 40.7 94 43.5 145.2h-47.3c-3-42.8-15.7-84.4-37.1-121.5-24.6-43.4-60.4-79.4-103.6-104.3l-17.3-9.6-62.7 108.7L77.4 328c42.4 24.8 70.9 67.8 77.4 116.4H46.1c-2.7-.1-5.1-1.5-6.4-3.8-1.6-2.5-1.6-5.8 0-8.3l30.7-51.2c-10.2-8.8-21.9-15.8-34.5-20.5L6.4 413c-8.6 14.6-8.6 32.7 0 47.3 8.3 14.7 24 23.8 40.9 23.7h148.4v-20.5c0-34.3-8.8-68-25.6-97.9-14.1-24.1-33-45-55.6-61.4l23.7-40.9c29.6 20.5 54.3 47.4 72.3 78.7 21.3 37 32.6 78.9 32.6 121.5v19.2h126v-19.2c-.1-64.7-17.3-128.3-49.9-184.2-28.7-50.7-69-93.9-117.7-126l48-83.2c1.3-2.3 3.7-3.8 6.4-3.8 2.7.1 5.1 1.5 6.4 3.8l209.2 361.4c1.4 2.4 1.4 5.3 0 7.7a6.88 6.88 0 0 1-6.4 3.8h-49.3v39.7h49.3c16.8.2 32.3-8.9 40.3-23.7z`,fill:`currentColor`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{xmlSpace:`preserve`,viewBox:`-0.05 27.99 512.05 456.01`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function Te(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`GitHub`}),o=(0,X.jsx)(`path`,{d:`M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function Ee(e){let t=(0,J.c)(112),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a=(0,Y.useId)(),o;t[3]===a?o=t[4]:(o=a.replaceAll(`:`,``),t[3]=a,t[4]=o);let s=o,c=`${s}-a`,l=`${s}-b`,u=`${s}-c`,d=`${s}-d`,f=`${s}-e`,p=`${s}-f`,m=`${s}-g`,h=`${s}-h`,g=`${s}-i`,_=`${s}-j`,v=`${s}-k`,y=`${s}-l`,b=`${s}-m`,x=`${s}-n`,S=`${s}-o`,C=`${s}-p`,w;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,X.jsx)(`title`,{children:`Google Docs`}),t[5]=w):w=t[5];let T;t[6]===c?T=t[7]:(T=(0,X.jsx)(`path`,{id:c,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[6]=c,t[7]=T);let E;t[8]===u?E=t[9]:(E=(0,X.jsx)(`path`,{id:u,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[8]=u,t[9]=E);let D;t[10]===p?D=t[11]:(D=(0,X.jsx)(`path`,{id:p,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[10]=p,t[11]=D);let O;t[12]===h?O=t[13]:(O=(0,X.jsx)(`path`,{id:h,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[12]=h,t[13]=O);let k;t[14]===_?k=t[15]:(k=(0,X.jsx)(`path`,{id:_,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[14]=_,t[15]=k);let A;t[16]===y?A=t[17]:(A=(0,X.jsx)(`path`,{id:y,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[16]=y,t[17]=A);let j;t[18]===x?j=t[19]:(j=(0,X.jsx)(`path`,{id:x,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[18]=x,t[19]=j);let M,N;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,X.jsx)(`stop`,{offset:`0%`,stopColor:`#FFF`,stopOpacity:`.1`}),N=(0,X.jsx)(`stop`,{offset:`100%`,stopColor:`#FFF`,stopOpacity:`0`}),t[20]=M,t[21]=N):(M=t[20],N=t[21]);let P;t[22]===C?P=t[23]:(P=(0,X.jsxs)(`radialGradient`,{id:C,cx:`3.168%`,cy:`2.717%`,r:`161.249%`,fx:`3.168%`,fy:`2.717%`,gradientTransform:`matrix(1 0 0 .72308 0 .008)`,children:[M,N]}),t[22]=C,t[23]=P);let F,I;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,X.jsx)(`stop`,{offset:`0%`,stopColor:`#1A237E`,stopOpacity:`.2`}),I=(0,X.jsx)(`stop`,{offset:`100%`,stopColor:`#1A237E`,stopOpacity:`.02`}),t[24]=F,t[25]=I):(F=t[24],I=t[25]);let L;t[26]===d?L=t[27]:(L=(0,X.jsxs)(`linearGradient`,{id:d,x1:`50.005%`,x2:`50.005%`,y1:`8.586%`,y2:`100.014%`,children:[F,I]}),t[26]=d,t[27]=L);let R;t[28]!==j||t[29]!==P||t[30]!==L||t[31]!==T||t[32]!==E||t[33]!==D||t[34]!==O||t[35]!==k||t[36]!==A?(R=(0,X.jsxs)(`defs`,{children:[T,E,D,O,k,A,j,P,L]}),t[28]=j,t[29]=P,t[30]=L,t[31]=T,t[32]=E,t[33]=D,t[34]=O,t[35]=k,t[36]=A,t[37]=R):R=t[37];let z=`#${c}`,B;t[38]===z?B=t[39]:(B=(0,X.jsx)(`use`,{xlinkHref:z}),t[38]=z,t[39]=B);let V;t[40]!==l||t[41]!==B?(V=(0,X.jsx)(`mask`,{id:l,fill:`#fff`,children:B}),t[40]=l,t[41]=B,t[42]=V):V=t[42];let H=`url(#${l})`,U;t[43]===H?U=t[44]:(U=(0,X.jsx)(`path`,{fill:`#4285F4`,fillRule:`nonzero`,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84L36.719 10.34z`,mask:H}),t[43]=H,t[44]=U);let ee=`#${u}`,te;t[45]===ee?te=t[46]:(te=(0,X.jsx)(`use`,{xlinkHref:ee}),t[45]=ee,t[46]=te);let ne;t[47]!==f||t[48]!==te?(ne=(0,X.jsx)(`mask`,{id:f,fill:`#fff`,children:te}),t[47]=f,t[48]=te,t[49]=ne):ne=t[49];let re=`url(#${d})`,ie=`url(#${f})`,ae;t[50]!==re||t[51]!==ie?(ae=(0,X.jsx)(`path`,{fill:re,fillRule:`nonzero`,d:`M30.664 16.431 47 32.858V17.727z`,mask:ie}),t[50]=re,t[51]=ie,t[52]=ae):ae=t[52];let W=`#${p}`,G;t[53]===W?G=t[54]:(G=(0,X.jsx)(`use`,{xlinkHref:W}),t[53]=W,t[54]=G);let oe;t[55]!==m||t[56]!==G?(oe=(0,X.jsx)(`mask`,{id:m,fill:`#fff`,children:G}),t[55]=m,t[56]=G,t[57]=oe):oe=t[57];let K=`url(#${m})`,q;t[58]===K?q=t[59]:(q=(0,X.jsx)(`path`,{fill:`#F1F1F1`,fillRule:`nonzero`,d:`M11.75 47.273h23.5v-2.955h-23.5zm0 5.909h17.625v-2.955H11.75zm0-20.682v2.955h23.5V32.5zm0 8.864h23.5v-2.955h-23.5z`,mask:K}),t[58]=K,t[59]=q);let se=`#${h}`,ce;t[60]===se?ce=t[61]:(ce=(0,X.jsx)(`use`,{xlinkHref:se}),t[60]=se,t[61]=ce);let le;t[62]!==g||t[63]!==ce?(le=(0,X.jsx)(`mask`,{id:g,fill:`#fff`,children:ce}),t[62]=g,t[63]=ce,t[64]=le):le=t[64];let ue=`url(#${g})`,de;t[65]===Symbol.for(`react.memo_cache_sentinel`)?(de=(0,X.jsx)(`path`,{fill:`#A1C2FA`,fillRule:`nonzero`,d:`M29.375 0v13.295c0 2.449 1.972 4.432 4.406 4.432H47z`}),t[65]=de):de=t[65];let fe;t[66]===ue?fe=t[67]:(fe=(0,X.jsx)(`g`,{mask:ue,children:de}),t[66]=ue,t[67]=fe);let pe=`#${_}`,Z;t[68]===pe?Z=t[69]:(Z=(0,X.jsx)(`use`,{xlinkHref:pe}),t[68]=pe,t[69]=Z);let me;t[70]!==v||t[71]!==Z?(me=(0,X.jsx)(`mask`,{id:v,fill:`#fff`,children:Z}),t[70]=v,t[71]=Z,t[72]=me):me=t[72];let he=`url(#${v})`,ge;t[73]===he?ge=t[74]:(ge=(0,X.jsx)(`path`,{fill:`#FFF`,fillOpacity:`.2`,fillRule:`nonzero`,d:`M4.406 0C1.983 0 0 1.994 0 4.432v.37C0 2.363 1.983.368 4.406.368h24.969V0z`,mask:he}),t[73]=he,t[74]=ge);let _e=`#${y}`,ve;t[75]===_e?ve=t[76]:(ve=(0,X.jsx)(`use`,{xlinkHref:_e}),t[75]=_e,t[76]=ve);let ye;t[77]!==b||t[78]!==ve?(ye=(0,X.jsx)(`mask`,{id:b,fill:`#fff`,children:ve}),t[77]=b,t[78]=ve,t[79]=ye):ye=t[79];let be=`url(#${b})`,xe;t[80]===be?xe=t[81]:(xe=(0,X.jsx)(`path`,{fill:`#1A237E`,fillOpacity:`.2`,fillRule:`nonzero`,d:`M42.594 64.63H4.406C1.983 64.63 0 62.637 0 60.2v.37C0 63.005 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-.37c0 2.438-1.983 4.433-4.406 4.433`,mask:be}),t[80]=be,t[81]=xe);let Se=`#${x}`,Ce;t[82]===Se?Ce=t[83]:(Ce=(0,X.jsx)(`use`,{xlinkHref:Se}),t[82]=Se,t[83]=Ce);let we;t[84]!==S||t[85]!==Ce?(we=(0,X.jsx)(`mask`,{id:S,fill:`#fff`,children:Ce}),t[84]=S,t[85]=Ce,t[86]=we):we=t[86];let Te=`url(#${S})`,Ee;t[87]===Te?Ee=t[88]:(Ee=(0,X.jsx)(`path`,{fill:`#1A237E`,fillOpacity:`.1`,fillRule:`nonzero`,d:`M33.781 17.727c-2.434 0-4.406-1.983-4.406-4.432v.37c0 2.448 1.972 4.432 4.406 4.432H47v-.37z`,mask:Te}),t[87]=Te,t[88]=Ee);let De=`url(#${C})`,Oe;t[89]===De?Oe=t[90]:(Oe=(0,X.jsx)(`path`,{fill:De,fillRule:`nonzero`,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[89]=De,t[90]=Oe);let ke;t[91]!==V||t[92]!==U||t[93]!==ne||t[94]!==ae||t[95]!==oe||t[96]!==q||t[97]!==le||t[98]!==fe||t[99]!==me||t[100]!==ge||t[101]!==ye||t[102]!==xe||t[103]!==we||t[104]!==Ee||t[105]!==Oe?(ke=(0,X.jsxs)(`g`,{fill:`none`,fillRule:`evenodd`,children:[V,U,ne,ae,oe,q,le,fe,me,ge,ye,xe,we,Ee,Oe]}),t[91]=V,t[92]=U,t[93]=ne,t[94]=ae,t[95]=oe,t[96]=q,t[97]=le,t[98]=fe,t[99]=me,t[100]=ge,t[101]=ye,t[102]=xe,t[103]=we,t[104]=Ee,t[105]=Oe,t[106]=ke):ke=t[106];let Ae;return t[107]!==n||t[108]!==i||t[109]!==R||t[110]!==ke?(Ae=(0,X.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,xmlnsXlink:`http://www.w3.org/1999/xlink`,viewBox:`0 0 47 65`,width:i,height:i,preserveAspectRatio:`xMidYMid meet`,...n,children:[w,R,ke]}),t[107]=n,t[108]=i,t[109]=R,t[110]=ke,t[111]=Ae):Ae=t[111],Ae}function De(e){let t=(0,J.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Unknown provider`}),o=(0,X.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`,strokeWidth:`2`}),s=(0,X.jsx)(`path`,{d:`M9.5 9.25a2.5 2.5 0 1 1 4.77 1.08c-.44 1.02-1.77 1.39-2.27 2.42`,strokeWidth:`2`,strokeLinecap:`round`}),c=(0,X.jsx)(`circle`,{cx:`12`,cy:`17`,r:`1`,fill:`currentColor`,stroke:`none`}),t[3]=a,t[4]=o,t[5]=s,t[6]=c):(a=t[3],o=t[4],s=t[5],c=t[6]);let l;return t[7]!==n||t[8]!==i?(l=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,width:i,height:i,...n,children:[a,o,s,c]}),t[7]=n,t[8]=i,t[9]=l):l=t[9],l}var Oe={amplitude:ve,aws_athena_connector:xe,bigquery:_e,cloudflare_workers_observability:be,ga:ge,github:Te,google_docs:Ee,laminar:ye,linear:fe,mixpanel:Se,mongodb:he,mysql:me,postgres:pe,supabase:Z,posthog:Ce,sentry:we};function ke(e){return e in Oe}function Ae(e){return ke(e)?Oe[e]:De}var je=Y.createContext(void 0);function Me(){let e=Y.useContext(je);if(e===void 0)throw Error(f(64));return e}var Ne=function(e){return e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e}({}),Pe={tabActivationDirection:e=>({[Ne.activationDirection]:e})},Fe=Y.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:s=`horizontal`,render:c,value:l,...u}=e,f=O(),p=Object.hasOwn(e,`defaultValue`),m=Y.useRef([]),[h,g]=Y.useState(()=>new Map),[_,v]=G({controlled:l,default:r,name:`Tabs`,state:`value`}),y=l!==void 0,[b,x]=Y.useState(()=>new Map),[S,C]=Y.useState(`none`),w=a((e,t)=>{i?.(e,t),!t.isCanceled&&(v(e),C(t.activationDirection))}),T=a((e,t)=>{g(n=>{if(n.get(e)===t)return n;let r=new Map(n);return r.set(e,t),r})}),E=a((e,t)=>{g(n=>{if(!n.has(e)||n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})}),D=Y.useCallback(e=>h.get(e),[h]),k=Y.useCallback(e=>{for(let t of b.values())if(e===t?.value)return t?.id},[b]),A=Y.useCallback(e=>{if(e===void 0)return null;for(let[t,n]of b.entries())if(n!=null&&e===(n.value??n.index))return t;return null},[b]),M=Y.useMemo(()=>({direction:f,getTabElementBySelectedValue:A,getTabIdByPanelValue:k,getTabPanelIdByValue:D,onValueChange:w,orientation:s,registerMountedTabPanel:T,setTabMap:x,unregisterMountedTabPanel:E,tabActivationDirection:S,value:_}),[f,A,k,D,w,s,T,x,E,S,_]),N=Y.useMemo(()=>{for(let e of b.values())if(e!=null&&e.value===_)return e},[b,_]),P=Y.useMemo(()=>{for(let e of b.values())if(e!=null&&!e.disabled)return e.value},[b]);d(()=>{if(y||b.size===0)return;let e=N?.disabled;if(p&&e&&_===r||!e&&!(N==null&&_!==null))return;let t=P??null;_!==t&&(v(t),C(`none`))},[r,P,p,y,N,C,v,b,_]);let F=o(`div`,e,{state:{orientation:s,tabActivationDirection:S},ref:t,props:u,stateAttributesMapping:Pe});return(0,X.jsx)(je.Provider,{value:M,children:(0,X.jsx)(j,{elementsRef:m,children:F})})}),Ie=Y.createContext(void 0);function Le(){let e=Y.useContext(Ie);if(e===void 0)throw Error(f(65));return e}var Re=Y.forwardRef(function(e,t){let{className:n,disabled:r=!1,render:i,value:a,id:s,nativeButton:l=!0,...u}=e,{value:f,getTabPanelIdByValue:p,orientation:m}=Me(),{activateOnFocus:h,highlightedTabIndex:g,onTabActivation:_,setHighlightedTabIndex:v,tabsListElement:y}=Le(),b=P(s),{compositeProps:x,compositeRef:S,index:C}=oe({metadata:Y.useMemo(()=>({disabled:r,id:b,value:a}),[r,b,a])}),w=a===f,T=Y.useRef(!1);d(()=>{if(T.current){T.current=!1;return}if(!(w&&C>-1&&g!==C))return;let e=y;if(e!=null){let t=k(E(e));if(t&&D(e,t))return}r||v(C)},[w,C,g,v,r,y]);let{getButtonProps:O,buttonRef:A}=c({disabled:r,native:l,focusableWhenDisabled:!0}),j=p(a),F=Y.useRef(!1),I=Y.useRef(!1);function L(e){w||r||_(a,N(M,e.nativeEvent,void 0,{activationDirection:`none`}))}function R(e){w||(C>-1&&!r&&v(C),!r&&h&&(!F.current||F.current&&I.current)&&_(a,N(M,e.nativeEvent,void 0,{activationDirection:`none`})))}function z(e){if(w||r)return;F.current=!0;function t(){F.current=!1,I.current=!1}(!e.button||e.button===0)&&(I.current=!0,E(e.currentTarget).addEventListener(`pointerup`,t,{once:!0}))}return o(`button`,e,{state:Y.useMemo(()=>({disabled:r,active:w,orientation:m}),[r,w,m]),ref:[t,A,S],props:[x,{role:`tab`,"aria-controls":j,"aria-selected":w,id:b,onClick:L,onFocus:R,onPointerDown:z,[se]:w?``:void 0,onKeyDownCapture(){T.current=!0}},u,O]})}),ze=function(e){return e.index=`data-index`,e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e.hidden=`data-hidden`,e}({}),Be=Y.forwardRef(function(e,t){let{className:n,value:r,render:i,keepMounted:a=!1,...s}=e,{value:c,getTabIdByPanelValue:l,orientation:u,tabActivationDirection:f,registerMountedTabPanel:p,unregisterMountedTabPanel:m}=Me(),h=P(),{ref:g,index:_}=A({metadata:Y.useMemo(()=>({id:h,value:r}),[h,r])}),v=r!==c,y=l(r),b=o(`div`,e,{state:Y.useMemo(()=>({hidden:v,orientation:u,tabActivationDirection:f}),[v,u,f]),ref:[t,g],props:[{"aria-labelledby":y,hidden:v,id:h??void 0,role:`tabpanel`,tabIndex:v?-1:0,[ze.index]:_},s],stateAttributesMapping:Pe});return d(()=>{if(!(v&&!a)&&h!=null)return p(r,h),()=>{m(r,h)}},[v,a,r,h,p,m]),!v||a?b:null}),Ve=Y.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:i=!0,render:o,...c}=e,{getTabElementBySelectedValue:l,onValueChange:u,orientation:d,value:f,setTabMap:p,tabActivationDirection:m}=Me(),[h,g]=Y.useState(0),[_,v]=Y.useState(null),y=Ue(f,d,_,l),b=a((e,t)=>{e!==f&&(t.activationDirection=y(e),u(e,t))}),x=Y.useMemo(()=>({orientation:d,tabActivationDirection:m}),[d,m]),S={"aria-orientation":d===`vertical`?`vertical`:void 0,role:`tablist`},C=Y.useMemo(()=>({activateOnFocus:n,highlightedTabIndex:h,onTabActivation:b,setHighlightedTabIndex:g,tabsListElement:_,value:f}),[n,h,b,g,_,f]);return(0,X.jsx)(Ie.Provider,{value:C,children:(0,X.jsx)(q,{render:o,className:r,state:x,refs:[t,v],props:[S,c],stateAttributesMapping:Pe,highlightedIndex:h,enableHomeAndEndKeys:!0,loopFocus:i,orientation:d,onHighlightedIndexChange:g,onMapChange:p,disabledIndices:s})})});function He(e,t){let{left:n,top:r}=e.getBoundingClientRect(),{left:i,top:a}=t.getBoundingClientRect();return{left:n-i,top:r-a}}function Ue(e,t,n,r){let[i,a]=Y.useState(null);return d(()=>{if(e==null||n==null){a(null);return}let i=r(e);if(i==null){a(null);return}let{left:o,top:s}=He(i,n);a(t===`horizontal`?o:s)},[t,r,n,e]),Y.useCallback(o=>{if(o===e)return`none`;if(o==null)return a(null),`none`;if(o!=null&&n!=null){let e=r(o);if(e!=null){let{left:r,top:o}=He(e,n);if(i==null)return a(t===`horizontal`?r:o),`none`;if(t===`horizontal`){if(r<i)return a(r),`left`;if(r>i)return a(r),`right`}else if(o<i)return a(o),`up`;else if(o>i)return a(o),`down`}}return`none`},[r,t,i,n,e])}function We(e){let t=(0,J.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,orientation:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`horizontal`:i,o;t[4]===n?o=t[5]:(o=p(`gap-2 group/tabs flex data-[orientation=horizontal]:flex-col`,n),t[4]=n,t[5]=o);let s;return t[6]!==a||t[7]!==r||t[8]!==o?(s=(0,X.jsx)(Fe,{"data-slot":`tabs`,"data-orientation":a,className:o,...r}),t[6]=a,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}var Ge=l(`rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function Ke(e){let t=(0,J.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,variant:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`default`:i,o;t[4]!==n||t[5]!==a?(o=p(Ge({variant:a}),n),t[4]=n,t[5]=a,t[6]=o):o=t[6];let s;return t[7]!==r||t[8]!==o||t[9]!==a?(s=(0,X.jsx)(Ve,{"data-slot":`tabs-list`,"data-variant":a,className:o,...r}),t[7]=r,t[8]=o,t[9]=a,t[10]=s):s=t[10],s}function qe(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground`,`after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(Re,{"data-slot":`tabs-trigger`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Je(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`text-sm flex-1 outline-none`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(Be,{"data-slot":`tabs-content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Ye={providerLabel:`Amplitude`,ko:{title:`Amplitude API Key 연결 가이드`,description:"OneQuery에 Amplitude를 연결하려면 프로젝트의 `API Key`, `Secret Key`, 그리고 올바른 `region` 값이 필요합니다.",steps:[{title:`Settings 열기`,paragraphs:[`Amplitude에 로그인해 주세요. 일반 워크스페이스는 https://app.amplitude.com/, EU 워크스페이스는 Amplitude EU URL에서 열립니다.`,"우측 상단의 Settings를 열고, 좌측 사이드바에서 `Projects`와 `API Keys` 메뉴를 확인하세요."],imageSrc:`/images/amplitude/step1_settings_sidebar.png`,imageAlt:`Amplitude settings sidebar`},{title:`대상 프로젝트 선택`,paragraphs:["`Projects`를 클릭한 뒤 OneQuery이 읽을 프로젝트를 선택하세요.","프로젝트를 클릭하면 `General` 탭의 Project Details 카드로 이동합니다."],imageSrc:`/images/amplitude/step2_projects.png`,imageAlt:`Amplitude projects list`,reverse:!0},{title:`Secret Key 확인`,paragraphs:["프로젝트 `General` 화면의 `Project Details` 카드에서 `Secret Key` 옆 `Show`를 눌러 값을 확인하세요.","`API Key` 옆 `Manage`를 누르면 API Key 목록 페이지로 이동합니다."],note:"이 화면은 프로젝트별 Secret Key를 보여 줍니다. OneQuery에서는 이 값을 `credentials.secretKey`에 넣습니다.",imageSrc:`/images/amplitude/step3_project_keys.png`,imageAlt:`Amplitude project details card with secret key and API key actions`},{title:`API Key 복사 후 OneQuery에 연결`,paragraphs:["`API and Secret Keys` 페이지에서 대상 프로젝트의 활성 API Key를 복사하세요. 필요한 키가 없으면 `Generate API Key`를 사용하세요.","복사한 값을 `credentials.apiKey`에 넣고, `region`은 EU Amplitude 프로젝트일 때만 `eu`, 그 외에는 `us`로 설정하세요."],code:`{
|
|
1
|
+
import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{t as r}from"./compiler-runtime-DCc3R3Xn.js";import{n as i}from"./api-base-url-DIb6qukm.js";import{S as a,a as o,d as s,g as c,i as l,n as u,x as d,y as f}from"./createReactComponent-_L2mp4Ui.js";import{t as p}from"./utils-C8DGLIgm.js";import{a as m,i as h,n as g,r as _,t as v}from"./select-sd9I7HEr.js";import{c as y,i as b,l as x,r as S,s as C,t as w}from"./use-optimistic-mutation-Bznt3Ooc.js";import{t as T}from"./useQuery-Da2rjDHt.js";import{M as E,ct as D,i as O,st as k}from"./getDisabledMountTransitionStyles-D7JdES34.js";import{i as A,t as j}from"./CompositeList-YgaWmh3B.js";import{d as M,n as N,t as P}from"./useBaseUiId-DFyoDJ0E.js";import{c as F,d as I,g as L,m as R,n as z,p as B,r as V,s as H,u as U}from"./schemas-BXHHM7OC.js";import{t as ee}from"./src-BLN-I5in.js";import{J as te,O as ne,_ as re,b as ie,v as ae}from"./index-UJ9tDDK8.js";import{t as W}from"./input-1NcNY1Rk.js";import{t as G}from"./useControlled-DtSMvmU7.js";import"./separator-BA_IZNjv.js";import{t as oe}from"./useCompositeItem-CeS9xqAj.js";import{t as K}from"./label-CUY3W2yp.js";import{n as q,r as se,t as ce}from"./textarea-Bp7ncmeh.js";import{t as le}from"./api-paths-CFdXXr7u.js";import{n as ue,t as de}from"./zod-DM_ziQch.js";var J=r(),Y=e(t(),1),X=n();function fe(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Linear`}),o=(0,X.jsx)(`path`,{d:`M1.22541 61.5228c-.2225-.9485.90748-1.5459 1.59638-.857L39.3342 97.1782c.6889.6889.0915 1.8189-.857 1.5964C20.0515 94.4522 5.54779 79.9485 1.22541 61.5228ZM.00189135 46.8891c-.01764375.2833.08887215.5599.28957165.7606L52.3503 99.7085c.2007.2007.4773.3075.7606.2896 2.3692-.1476 4.6938-.46 6.9624-.9259.7645-.157 1.0301-1.0963.4782-1.6481L2.57595 39.4485c-.55186-.5519-1.49117-.2863-1.648174.4782-.465915 2.2686-.77832 4.5932-.92588465 6.9624ZM4.21093 29.7054c-.16649.3738-.08169.8106.20765 1.1l64.77602 64.776c.2894.2894.7262.3742 1.1.2077 1.7861-.7956 3.5171-1.6927 5.1855-2.684.5521-.328.6373-1.0867.1832-1.5407L8.43566 24.3367c-.45409-.4541-1.21271-.3689-1.54074.1832-.99132 1.6684-1.88843 3.3994-2.68399 5.1855ZM12.6587 18.074c-.3701-.3701-.393-.9637-.0443-1.3541C21.7795 6.45931 35.1114 0 49.9519 0 77.5927 0 100 22.4073 100 50.0481c0 14.8405-6.4593 28.1724-16.7199 37.3375-.3903.3487-.984.3258-1.3542-.0443L12.6587 18.074Z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 100 100`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function pe(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`PostgreSQL`}),o=(0,X.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M123.258 76.784c-.45-2.918-2.901-4.829-5.752-4.958-1.032-.047-2.08.061-3.109.192-1.243.158-2.471.438-3.711.623-.857.128-1.726.187-2.582.275l-.021-.111c1.598-3.018 3.263-6.003 4.775-9.064 1.159-2.348 2.151-4.781 3.176-7.194 1.696-3.998 3.051-8.12 4.173-12.309 1.075-4.011 1.995-8.066 2.284-12.227.116-1.662.196-3.331.187-4.995-.008-1.327-.151-2.656-.284-3.979-.15-1.516-.608-2.953-1.242-4.336-.836-1.822-2.132-3.317-3.496-4.737-1.092-1.137-2.293-2.173-3.484-3.208-1.698-1.477-3.607-2.656-5.59-3.703a32.18 32.18 0 00-7.09-2.75c-1.493-.381-3.02-.664-4.532-.966-.544-.11-1.089-.337-1.633-.337H85.086c-.37 0-.737.191-1.11.233-2.452.273-4.875.735-7.228 1.464-.88.273-1.684.101-2.52.024-.641-.059-1.271-.231-1.912-.263-2.442-.122-4.887-.301-7.328-.275-2.339.024-4.654.409-6.918 1.052-1.895.538-3.749 1.195-5.447 2.191-.727.426-1.303.346-2.055.129-2.527-.729-5.072-1.414-7.639-1.989-1.6-.358-3.245-.536-4.879-.707a57.214 57.214 0 00-4.718-.294c-1.538-.033-3.087-.032-4.618.104a30.16 30.16 0 00-7.158 1.513 23.813 23.813 0 00-7.086 3.865c-2.167 1.715-3.905 3.809-5.303 6.2-1.473 2.523-2.483 5.224-3.111 8.061-.34 1.537-.555 3.117-.788 4.678-.073.486.732.972-.268 1.456v6.794c1 .452.208.903.266 1.356.139 1.089.262 2.187.446 3.268.291 1.711.636 3.417.988 5.117a324.86 324.86 0 001.546 7.111c.396 1.72.847 3.43 1.319 5.131.721 2.598 1.431 5.201 2.246 7.77.757 2.387 1.624 4.74 2.484 7.093 1.191 3.255 2.617 6.405 4.327 9.424 1.479 2.614 3.169 5.062 5.436 7.076 1.494 1.327 3.157 2.347 5.093 2.857 1.521.4 3.067.448 4.624.129a10.979 10.979 0 004.824-2.311c.163-.134.342-.236.535.01.735.931 1.719 1.552 2.748 2.089 2.777 1.448 5.803 1.882 8.877 2.059.744.043 1.496-.064 2.246-.085 1.461-.04 2.881-.325 4.278-.729.732-.212 1.447-.481 2.192-.732.039.793.089 1.557.112 2.321l.104 4.166c.019.634.044 1.27.103 1.901.151 1.627.299 3.255.493 4.877.135 1.118.275 2.245.538 3.336a38.176 38.176 0 002.158 6.428 13.81 13.81 0 003.9 5.185c2.22 1.836 4.822 2.619 7.632 2.764 1.162.061 2.357.004 3.501-.204a49.01 49.01 0 005.387-1.275c3.591-1.084 6.695-2.956 9.014-5.981 1.32-1.724 2.404-3.589 3.1-5.648.574-1.701 1.115-3.419 1.545-5.16.34-1.372.508-2.787.715-4.188.137-.927.219-1.863.305-2.797.14-1.517.283-3.033.384-4.553.07-1.058.067-2.121.109-3.181.013-.323.065-.644.095-.966.028-.298.178-.401.482-.396 1.071.016 2.144.044 3.212-.004 1.197-.054 2.405-.105 3.583-.303a56.542 56.542 0 004.99-1.067c1.943-.508 3.725-1.418 5.44-2.455 1.998-1.207 3.819-2.623 5.297-4.447 1.285-1.591 1.894-3.43 1.584-5.438zm-3.412.982c-.066.915-.485 1.699-1.093 2.369-2.869 3.163-6.468 5.082-10.585 6.027-1.564.358-3.178.544-4.779.692a32.093 32.093 0 01-4.114.097c-1.006-.038-2.004-.268-3.032-.416-.103.94-.201 1.919-.32 2.896l-.479 3.745c-.145 1.187-.258 2.378-.407 3.564-.146 1.151-.328 2.298-.481 3.449-.143 1.072-.248 2.149-.407 3.219-.245 1.64-.479 3.284-.799 4.911-.384 1.945-.973 3.829-1.934 5.583-1.172 2.141-2.834 3.772-4.949 4.98-2.18 1.246-4.563 1.894-6.979 2.436-1.71.384-3.472.447-5.204.291-3.004-.272-5.568-1.557-7.506-3.886-1.85-2.223-3.102-4.771-3.55-7.655a63.102 63.102 0 01-.491-4.136 108.067 108.067 0 01-.299-4.62 250.203 250.203 0 01-.197-5.871c-.053-2.406-.07-4.812-.104-7.218l-.006-.092c-1.224.734-2.427 1.538-3.703 2.2a12.392 12.392 0 01-4.798 1.353c-1.318.1-2.653.191-3.965.086-2.151-.173-4.3-.51-6.226-1.569-.781-.43-1.596-.953-2.134-1.64-1.29-1.646-.672-3.726 1.273-4.727 1.344-.693 2.811-.982 4.268-1.319a44.368 44.368 0 003.761-1.029c1.222-.4 1.993-1.391 2.754-2.363l1.206-1.551c-.503-.053-.977-.107-1.451-.151-1.439-.136-2.812-.532-4.125-1.114-1.124-.497-1.141-.551-1.965.343-1.376 1.494-2.714 3.023-4.062 4.542-.992 1.117-1.978 2.241-2.965 3.361-.978 1.108-1.894 2.279-2.947 3.31-1.564 1.531-3.449 2.452-5.698 2.348-1.443-.066-2.764-.572-3.952-1.399-2.452-1.708-4.104-4.097-5.608-6.606-1.927-3.215-3.406-6.64-4.672-10.159-.876-2.432-1.756-4.866-2.521-7.333-.831-2.681-1.56-5.396-2.277-8.11a157.373 157.373 0 01-1.482-6.182 216.117 216.117 0 01-1.464-7.079c-.298-1.599-.471-3.221-.712-4.831-.325-2.17-.385-4.36-.267-6.539.105-1.963.387-3.921.667-5.871.388-2.698 1.277-5.244 2.556-7.648.783-1.473 1.755-2.812 2.879-4.056 1.845-2.042 4.078-3.518 6.562-4.626 1.736-.774 3.57-1.24 5.439-1.604 2.774-.54 5.573-.519 8.373-.461 1.224.025 2.443.248 3.666.369 2.633.262 5.214.816 7.762 1.5 1.857.498 3.676 1.143 5.518 1.703.185.056.456.051.607-.048 2.496-1.629 5.224-2.704 8.125-3.319 1.101-.233 2.237-.335 3.363-.407 1.369-.087 2.749-.167 4.115-.088 1.642.094 3.276.336 4.908.56.792.108 1.565.383 2.359.458.38.036.783-.242 1.185-.335 2.049-.473 4.089-1 6.156-1.374 1.539-.278 3.111-.409 4.676-.499 1.745-.1 3.503-.173 5.247-.089a36.66 36.66 0 016.555.923c2.677.623 5.245 1.528 7.686 2.784 1.824.938 3.558 2.026 5.119 3.364 1.023.878 2.07 1.745 2.994 2.723 1.14 1.206 2.303 2.413 3.018 3.958.538 1.165.922 2.371 1.028 3.647.132 1.586.292 3.178.277 4.766-.014 1.519-.221 3.037-.368 4.552-.334 3.454-1.085 6.833-1.997 10.167a116.972 116.972 0 01-2.589 8.17c-.879 2.481-1.893 4.917-2.918 7.343a80.07 80.07 0 01-2.458 5.303c-1.677 3.286-3.421 6.538-5.438 9.633-.348.535-.678 1.083-1.018 1.629.88.594 1.877.803 2.881.911.955.104 1.929.166 2.883.095 1.527-.113 3.049-.331 4.567-.544 1.504-.21 2.978-.638 4.522-.525 1.542.112 2.645 1.284 2.54 2.729zm-22.013-3.353c-.655-.846-1.323-1.682-1.964-2.538-1.006-1.344-1.729-2.845-2.455-4.353-.688-1.429-1.532-2.782-2.257-4.195-1.265-2.465-2.553-4.922-3.718-7.435-1.465-3.157-2.62-6.426-2.984-9.923-.154-1.48-.193-2.958.106-4.424.479-2.341 1.702-4.172 3.758-5.428 1.907-1.165 4.032-1.541 6.209-1.659 1.351-.073 2.708-.013 4.11-.013l-.047-.237c-.872-1.823-1.687-3.677-2.641-5.457-1.346-2.512-3.068-4.777-4.986-6.877-1.421-1.555-2.96-2.998-4.646-4.273-1.658-1.255-3.405-2.376-5.269-3.293-2.223-1.093-4.538-1.938-6.967-2.477-2.334-.518-4.683-.835-7.077-.861-2.042-.022-4.071.07-6.06.531-3.002.695-5.748 1.931-8.137 3.933a21.143 21.143 0 00-3.517 3.77c-1.196 1.643-2.161 3.417-2.986 5.277-1.132 2.552-1.909 5.208-2.44 7.938-.266 1.361-.474 2.734-.686 4.106-.074.48-.08.971-.123 1.521.369-.192.635-.34.907-.472l.885-.397c2.993-1.369 6.094-2.25 9.427-2.149 1.416.043 2.771.323 4.03.943 2.415 1.191 3.828 3.216 4.442 5.779.424 1.769.714 3.573.996 5.372.221 1.405.447 2.825.473 4.242.037 2.071-.068 4.146-.181 6.216a17.386 17.386 0 01-1.08 5.146c-1.12 2.993-2.368 5.937-3.534 8.913-.385.983-.681 2.001-1.045 3.082.562 0 1.018-.004 1.474.002.178.003.36.008.532.049 1.34.316 2.502.923 3.455 1.954 1.271 1.372 1.938 2.973 1.972 4.826.019 1.027-.089 2.057-.084 3.084.021 4.786.057 9.572.097 14.357.007.782.046 1.565.102 2.346.117 1.635.235 3.271.395 4.902.112 1.157.268 2.312.451 3.461.259 1.628 1 3.077 1.841 4.462.724 1.191 1.665 2.203 2.905 2.901 2.107 1.186 4.376 1.285 6.663.848 1.545-.295 3.062-.769 4.562-1.258a10.128 10.128 0 003.937-2.354c1.051-1.019 1.797-2.261 2.3-3.632.976-2.659 1.28-5.459 1.684-8.237.151-1.04.282-2.083.42-3.125.157-1.186.316-2.371.468-3.556.112-.883.214-1.768.322-2.651.154-1.268.317-2.535.464-3.804.113-.981.209-1.966.309-2.949.129-1.256.268-2.512.379-3.77.086-.955.051-1.927.22-2.864.311-1.718 1.123-3.18 2.646-4.125.637-.395 1.356-.655 2.063-.989l-.12-.186zm-57.597-7.052a17.526 17.526 0 01-1.354-5.622c-.128-1.825.089-3.643.276-5.46.182-1.76.333-3.528.386-5.296.088-2.906-.108-5.808-.247-8.712-.084-1.729.117-3.479.271-5.212.139-1.561.312-3.126.607-4.664.495-2.581 1.152-5.125 2.086-7.591.887-2.338 1.906-4.615 3.345-6.665.986-1.406 2.105-2.72 3.18-4.094l-.319-.113c-3.498-1.111-7.053-1.979-10.709-2.358-1.729-.179-3.464-.284-5.198-.387-.532-.032-1.072.04-1.606.091-1.322.126-2.66.176-3.961.424-2.214.421-4.338 1.129-6.305 2.282-1.766 1.035-3.249 2.373-4.491 3.978-1.372 1.772-2.295 3.776-2.958 5.913-.783 2.521-1.156 5.115-1.257 7.733-.088 2.295-.132 4.603.264 6.889.295 1.702.492 3.422.817 5.117.443 2.311.918 4.617 1.467 6.904.785 3.274 1.569 6.553 2.499 9.787.89 3.099 1.894 6.17 2.982 9.204.89 2.476 1.919 4.906 3.003 7.304.706 1.562 1.561 3.065 2.457 4.528.953 1.553 2.037 3.027 3.508 4.154 1.856 1.423 3.293 1.644 5.179.083.808-.669 1.491-1.495 2.194-2.282 1.117-1.25 2.195-2.534 3.307-3.788 1.416-1.598 2.85-3.179 4.273-4.769.301-.336.59-.682.883-1.022l-.484-.425a17.695 17.695 0 01-4.095-5.931zm53.688-47.569a61.488 61.488 0 013.309 4.204c2 2.809 3.598 5.842 4.775 9.087.521 1.43.937 2.874.751 4.439-.129 1.096-.118 2.208-.215 3.31-.081.917-.226 1.829-.345 2.743-.178 1.378-.436 2.752-.513 4.136-.073 1.317.003 2.648.086 3.968.084 1.341.265 2.676.388 4.015.139 1.518.326 3.036.369 4.557.035 1.249-.076 2.506-.185 3.753-.13 1.502-.511 2.956-1.079 4.351-.399.982-.876 1.934-1.327 2.917l.181.192.275.213.277-.496a93.621 93.621 0 006.222-11.493 186.333 186.333 0 003.287-7.766c1.624-4.064 2.909-8.242 3.903-12.503.446-1.913.787-3.855 1.09-5.797.236-1.518.433-3.054.477-4.586.047-1.625-.043-3.263-.193-4.884-.112-1.224-.414-2.456-1.181-3.451-1.233-1.602-2.564-3.134-4.201-4.346-1.378-1.021-2.751-2.068-4.23-2.927-2.345-1.36-4.883-2.266-7.535-2.883-2.588-.603-5.21-.863-7.849-.918-1.556-.033-3.119.134-4.672.28-1.407.132-2.805.357-4.222.543 1.52.855 3.019 1.615 4.433 2.511 2.973 1.883 5.637 4.149 7.924 6.831zM55.299 72.514c.961-3.073 2.27-6.007 3.538-8.959 1.028-2.394 1.59-4.916 1.777-7.506.093-1.277.067-2.57.004-3.851a44.628 44.628 0 00-.392-4.259c-.266-1.801-.569-3.603-.995-5.371-.462-1.913-1.627-3.245-3.623-3.736-1.216-.299-2.424-.287-3.653-.093-3.002.473-5.75 1.579-8.31 3.199-.515.326-.798.589-.709 1.328.188 1.565.229 3.155.222 4.735-.01 2.236-.105 4.472-.19 6.707-.028.728-.133 1.452-.211 2.177-.12 1.11-.351 2.219-.344 3.327.007 1.142.124 2.311.401 3.417.88 3.507 2.744 6.377 5.799 8.402 1.879 1.245 3.958 1.873 6.24 1.992.155-.524.293-1.019.446-1.509zm-3.586-30.087c-.402-.844-.172-1.543.76-1.867.227-.08.461-.165.697-.188.324-.032.654-.008.982-.008 1.182.006 2.319.171 3.295.923.626.482.794 1.122.389 1.779-.575.932-1.452 1.4-2.529 1.49-1.697.141-2.888-.65-3.594-2.129zm47.04-.308c.136-1.124.245-2.251.384-3.375.056-.452-.182-.574-.561-.585-1.192-.033-2.384-.075-3.576-.097-1.344-.024-2.652.192-3.896.703-1.38.568-2.431 1.478-2.86 2.98a9.042 9.042 0 00-.293 3.41 20.11 20.11 0 001.193 5.176c.834 2.221 1.707 4.441 2.75 6.569 1.413 2.881 3.012 5.67 4.513 8.507.401.757.738 1.547 1.156 2.431a13.783 13.783 0 001.351-5.622c.041-1.61-.088-3.227-.182-4.838-.059-.986-.198-1.966-.294-2.95-.134-1.371-.337-2.741-.368-4.115-.031-1.397.068-2.802.188-4.197.113-1.338.334-2.665.495-3.997zm-2.689-1.082c-.443 1.223-1.39 1.913-2.618 2.116-1.145.188-2.148-.235-2.894-1.148-.531-.65-.328-1.42.468-1.859.914-.506 1.919-.634 3.104-.711.322.059.807.108 1.268.24.669.189.916.692.672 1.362zm-35.422 37.66c-.655-.535-1.521-.566-2.144.021-.773.73-1.453 1.565-2.133 2.388-.785.951-1.521 1.94-2.534 2.677-1.474 1.071-3.192 1.515-4.919 1.935-1.373.334-2.752.644-4.129.965l-.017.178c.409.189.805.425 1.231.56 2.1.665 4.236.996 6.455.808 1.602-.136 3.128-.485 4.574-1.171 1.99-.943 3.521-2.437 4.823-4.175.218-.29.317-.719.343-1.093.089-1.321-.582-2.303-1.55-3.093zm51.751.526c-1.69.181-3.382.373-5.077.47-.818.047-1.648-.109-2.474-.176-1.385-.112-2.737-.42-3.908-1.16-.678-.427-1.241-.475-1.961-.233-1.028.346-1.867.872-2.115 1.986-.169.753-.23 1.533-.298 2.304-.013.136.157.386.287.42.793.209 1.59.456 2.401.529.996.09 2.01.061 3.013.011 1.083-.054 2.173-.124 3.24-.304 2.515-.422 4.948-1.11 7.109-2.536.779-.515 1.551-1.041 2.325-1.562l-.064-.11c-.826.123-1.648.273-2.478.361z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 128 128`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function Z(e){let t=(0,J.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Supabase`}),o=(0,X.jsx)(`path`,{d:`M63.707 110.284c-2.236 2.807-6.774 1.224-6.774-2.365V48.383h39.308c7.119 0 11.089 8.182 6.694 13.801l-39.228 48.1Z`}),s=(0,X.jsx)(`path`,{d:`M63.707 110.284c-2.236 2.807-6.774 1.224-6.774-2.365V48.383h39.308c7.119 0 11.089 8.182 6.694 13.801l-39.228 48.1Z`,opacity:`.2`}),c=(0,X.jsx)(`path`,{d:`M45.287 2.071C47.524-.737 52.062.846 52.062 4.435V63.97H12.754c-7.119 0-11.089-8.182-6.694-13.801L45.287 2.071Z`}),t[3]=a,t[4]=o,t[5]=s,t[6]=c):(a=t[3],o=t[4],s=t[5],c=t[6]);let l;return t[7]!==n||t[8]!==i?(l=(0,X.jsxs)(`svg`,{viewBox:`0 0 109 113`,fill:`currentColor`,width:i,height:i,...n,children:[a,o,s,c]}),t[7]=n,t[8]=i,t[9]=l):l=t[9],l}function me(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`MySQL`}),o=(0,X.jsx)(`path`,{d:`M117.688 98.242c-6.973-.191-12.297.461-16.852 2.379-1.293.547-3.355.559-3.566 2.18.711.746.82 1.859 1.387 2.777 1.086 1.754 2.922 4.113 4.559 5.352 1.789 1.348 3.633 2.793 5.551 3.961 3.414 2.082 7.223 3.27 10.504 5.352 1.938 1.23 3.859 2.777 5.75 4.164.934.684 1.563 1.75 2.773 2.18v-.195c-.637-.812-.801-1.93-1.387-2.777l-2.578-2.578c-2.52-3.344-5.719-6.281-9.117-8.719-2.711-1.949-8.781-4.578-9.91-7.73l-.199-.199c1.922-.219 4.172-.914 5.949-1.391 2.98-.797 5.645-.59 8.719-1.387l4.164-1.187v-.793c-1.555-1.594-2.664-3.707-4.359-5.152-4.441-3.781-9.285-7.555-14.273-10.703-2.766-1.746-6.184-2.883-9.117-4.363-.988-.496-2.719-.758-3.371-1.586-1.539-1.961-2.379-4.449-3.566-6.738-2.488-4.793-4.93-10.023-7.137-15.066-1.504-3.437-2.484-6.828-4.359-9.91-9-14.797-18.687-23.73-33.695-32.508-3.195-1.867-7.039-2.605-11.102-3.57l-6.543-.395c-1.332-.555-2.715-2.184-3.965-2.977C16.977 3.52 4.223-3.312.539 5.672-1.785 11.34 4.016 16.871 6.09 19.746c1.457 2.012 3.32 4.273 4.359 6.539.688 1.492.805 2.984 1.391 4.559 1.438 3.883 2.695 8.109 4.559 11.695.941 1.816 1.98 3.727 3.172 5.352.727.996 1.98 1.438 2.18 2.973-1.227 1.715-1.297 4.375-1.984 6.543-3.098 9.77-1.926 21.91 2.578 29.137 1.383 2.223 4.641 6.98 9.117 5.156 3.918-1.598 3.043-6.539 4.164-10.902.254-.988.098-1.715.594-2.379v.199l3.57 7.133c2.641 4.254 7.324 8.699 11.297 11.699 2.059 1.555 3.68 4.242 6.344 5.152v-.199h-.199c-.516-.805-1.324-1.137-1.98-1.781-1.551-1.523-3.277-3.414-4.559-5.156-3.613-4.902-6.805-10.27-9.711-15.855-1.391-2.668-2.598-5.609-3.77-8.324-.453-1.047-.445-2.633-1.387-3.172-1.281 1.988-3.172 3.598-4.164 5.945-1.582 3.754-1.789 8.336-2.375 13.082-.348.125-.195.039-.398.199-2.762-.668-3.73-3.508-4.758-5.949-2.594-6.164-3.078-16.09-.793-23.191.59-1.836 3.262-7.617 2.18-9.316-.516-1.691-2.219-2.672-3.172-3.965-1.18-1.598-2.355-3.703-3.172-5.551-2.125-4.805-3.113-10.203-5.352-15.062-1.07-2.324-2.875-4.676-4.359-6.738-1.645-2.289-3.484-3.977-4.758-6.742-.453-.984-1.066-2.559-.398-3.566.215-.684.516-.969 1.191-1.191 1.148-.887 4.352.297 5.547.793 3.18 1.32 5.832 2.578 8.527 4.363 1.289.855 2.598 2.512 4.16 2.973h1.785c2.789.641 5.914.195 8.523.988 4.609 1.402 8.738 3.582 12.488 5.949 11.422 7.215 20.766 17.48 27.156 29.734 1.027 1.973 1.473 3.852 2.379 5.945 1.824 4.219 4.125 8.559 5.941 12.688 1.816 4.113 3.582 8.27 6.148 11.695 1.348 1.801 6.551 2.766 8.918 3.766 1.66.699 4.379 1.43 5.949 2.379 3 1.809 5.906 3.965 8.723 5.945 1.402.992 5.73 3.168 5.945 4.957zm-88.605-75.52c-1.453-.027-2.48.156-3.566.395v.199h.195c.695 1.422 1.918 2.34 2.777 3.566l1.98 4.164.199-.195c1.227-.867 1.789-2.25 1.781-4.363-.492-.52-.562-1.164-.992-1.785-.562-.824-1.66-1.289-2.375-1.98zm0 0`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 128 128`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function he(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`MongoDB`}),o=(0,X.jsx)(`path`,{d:`M17.193 9.555c-1.264-5.58-4.252-7.414-4.573-8.115-.28-.394-.53-.954-.735-1.44-.036.495-.055.685-.523 1.184-.723.566-4.438 3.682-4.74 10.02-.282 5.912 4.27 9.435 4.888 9.884l.07.05A73.49 73.49 0 0111.91 24h.481c.114-1.032.284-2.056.51-3.07.417-.296.604-.463.85-.693a11.342 11.342 0 003.639-8.464c.01-.814-.103-1.662-.197-2.218zm-5.336 8.195s0-8.291.275-8.29c.213 0 .49 10.695.49 10.695-.381-.045-.765-1.76-.765-2.405z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function ge(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Google Analytics`}),o=(0,X.jsx)(`path`,{d:`M22.84 2.9982v17.9987c.0086 1.6473-1.3197 2.9897-2.967 2.9984a2.9808 2.9808 0 01-.3677-.0208c-1.528-.226-2.6477-1.5558-2.6105-3.1V3.1204c-.0369-1.5458 1.0856-2.8762 2.6157-3.1 1.6361-.1915 3.1178.9796 3.3093 2.6158.014.1201.0208.241.0202.3619zM4.1326 18.0548c-1.6417 0-2.9726 1.331-2.9726 2.9726C1.16 22.6691 2.4909 24 4.1326 24s2.9726-1.3309 2.9726-2.9726-1.331-2.9726-2.9726-2.9726zm7.8728-9.0098c-.0171 0-.0342 0-.0513.0003-1.6495.0904-2.9293 1.474-2.891 3.1256v7.9846c0 2.167.9535 3.4825 2.3505 3.763 1.6118.3266 3.1832-.7152 3.5098-2.327.04-.1974.06-.3983.0593-.5998v-8.9585c.003-1.6474-1.33-2.9852-2.9773-2.9882z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function _e(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`BigQuery`}),o=(0,X.jsx)(`path`,{d:`M5.676 10.595h2.052v5.244a5.892 5.892 0 0 1-2.052-2.088v-3.156zm18.179 10.836a.504.504 0 0 1 0 .708l-1.716 1.716a.504.504 0 0 1-.708 0l-4.248-4.248a.206.206 0 0 1-.007-.007c-.02-.02-.028-.045-.043-.066a10.736 10.736 0 0 1-6.334 2.065C4.835 21.599 0 16.764 0 10.799S4.835 0 10.8 0s10.799 4.835 10.799 10.8c0 2.369-.772 4.553-2.066 6.333.025.017.052.028.074.05l4.248 4.248zm-5.028-10.632a8.015 8.015 0 1 0-8.028 8.028h.024a8.016 8.016 0 0 0 8.004-8.028zm-4.86 4.98a6.002 6.002 0 0 0 2.04-2.184v-1.764h-2.04v3.948zm-4.5.948c.442.057.887.08 1.332.072.4.025.8.025 1.2 0V7.692H9.468v9.035z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function ve(e){let t=(0,J.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Amplitude`}),o=(0,X.jsx)(`path`,{d:`M17.6,9c-0.1-0.1-0.2-0.2-0.4-0.2c-0.1,0-0.2,0.1-0.3,0.1c-1.1,0.8-2.5,4.4-3.7,9l1.1,0c2.1,0,4.2,0,6.4,0.1 c-0.6-2.1-1.1-4-1.6-5.5C18.4,10.4,17.9,9.4,17.6,9z`}),s=(0,X.jsx)(`path`,{d:`M20,0C9,0,0,9,0,20c0,11,9,20,20,20s20-9,20-20C40,9,31,0,20,0z M34.4,20.4C34.4,20.4,34.4,20.4,34.4,20.4 C34.4,20.4,34.3,20.4,34.4,20.4C34.3,20.4,34.3,20.4,34.4,20.4c-0.1,0.1-0.1,0.1-0.1,0.1c0,0,0,0,0,0c0,0,0,0,0,0 c-0.1,0.1-0.3,0.1-0.5,0.1c0,0-9.5,0-9.5,0c0.1,0.3,0.2,0.7,0.2,1.1c0.5,2.2,1.9,8.2,3.4,8.2l0,0l0,0l0,0c1.1,0,1.7-1.7,3-5.3l0,0 c0.2-0.6,0.4-1.2,0.7-1.9l0.1-0.2l0,0c0.1-0.2,0.2-0.3,0.4-0.3c0.3,0,0.5,0.2,0.5,0.5c0,0,0,0.1,0,0.1l0,0l-0.1,0.2 c-0.1,0.4-0.3,1-0.4,1.7c-0.8,3.2-1.9,7.9-4.9,7.9l0,0c-1.9,0-3.1-3.1-3.5-4.4c-0.9-2.4-1.6-5-2.3-7.6h-8.7l-1.8,5.8l0,0 c-0.2,0.3-0.5,0.4-0.8,0.4c-0.5,0-0.9-0.4-0.9-0.9l0,0l0.1-0.7c0.3-1.5,0.5-3,0.9-4.6H6.4l0,0c-0.7-0.1-1.2-0.7-1.2-1.4 c0-0.7,0.5-1.2,1.1-1.4c0.1,0,0.2,0,0.4,0c0.1,0,0.1,0,0.2,0c1.2,0,2.4,0,3.8,0.1c1.9-7.8,4.1-11.8,6.6-11.8c2.7,0,4.6,6,6.2,11.9 l0,0c3.2,0.1,6.7,0.2,10,0.4l0.1,0c0.1,0,0.1,0,0.2,0l0,0c0,0,0,0,0,0c0,0,0,0,0,0c0.5,0.1,0.8,0.5,0.8,1 C34.8,19.9,34.6,20.2,34.4,20.4z`}),t[3]=a,t[4]=o,t[5]=s):(a=t[3],o=t[4],s=t[5]);let c;return t[6]!==n||t[7]!==i?(c=(0,X.jsxs)(`svg`,{viewBox:`0 0 40 40`,fill:`currentColor`,width:i,height:i,...n,children:[a,o,s]}),t[6]=n,t[7]=i,t[8]=c):c=t[8],c}function ye(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Laminar`}),o=(0,X.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M1.32507 73.4886C0.00220402 72.0863 0.0802819 69.9867 0.653968 68.1462C3.57273 58.7824 5.14534 48.8249 5.14534 38.5C5.14534 27.8899 3.48464 17.6677 0.408998 8.0791C-0.129499 6.40029 -0.266346 4.50696 0.811824 3.11199C2.27491 1.21902 4.56777 0 7.14535 0H37.1454C58.1322 0 75.1454 17.0132 75.1454 38C75.1454 58.9868 58.1322 76 37.1454 76H7.14535C4.85185 76 2.78376 75.0349 1.32507 73.4886Z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 76 76`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function be(e){let t=(0,J.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Cloudflare Workers Observability`}),o=(0,X.jsx)(`path`,{d:`m404.7 240-10.6-4.2c-49.9 112.3-248.5 44-260.5 77.5-2 22.6 108.5 4.3 187.4 8.1 24.1 1.2 36.2 19.3 25.9 49l20.1.1c23.2-72.4 97.4-35.5 100.5-59.4-5-15.8-85.1-.1-62.8-71.1`,fill:`#fff`,transform:`translate(0 -1)`}),s=(0,X.jsx)(`path`,{d:`M352.7 357.9c3.2-10.6 2.1-21.2-3.2-27.6s-12.7-10.6-22.3-11.7l-184.8-2.1c-1.1 0-2.1-1.1-3.2-1.1-1.1-1.1-1.1-2.1 0-3.2 1.1-2.1 2.1-3.2 4.2-3.2l185.9-2.1c22.3-1.1 45.7-19.1 54.2-40.4l10.6-27.6c0-1.1 1.1-2.1 0-3.2-11.7-54.2-60.5-94.5-117.9-94.5-53.1 0-98.8 34-114.7 81.8-10.6-7.4-23.4-11.7-38.2-10.6-25.5 2.1-45.7 23.4-48.9 48.9-1.1 6.4 0 12.7 1.1 19.1-41.5 1-75.5 35-75.5 77.5 0 4.2 0 7.4 1.1 11.7 0 2.1 2.1 3.2 3.2 3.2h341c2.1 0 4.3-1.1 4.3-3.2z`,fill:`#f4811f`,transform:`translate(0 -1)`}),c=(0,X.jsx)(`path`,{d:`M411.1 238.9h-5.3c-1.1 0-2.1 1.1-3.2 2.1l-7.4 25.5c-3.2 10.6-2.1 21.2 3.2 27.6s12.7 10.6 22.3 11.7L460 308c1.1 0 2.1 1.1 3.2 1.1 1.1 1.1 1.1 2.1 0 3.2-1.1 2.1-2.1 3.2-4.2 3.2l-40.4 2.1c-22.3 1.1-45.7 19.1-54.2 40.4l-2.1 9.6c-1.1 1.1 0 3.2 2.1 3.2h140.2c2.1 0 3.2-1.1 3.2-3.2 2.1-8.5 4.2-18.1 4.2-27.6 0-55.4-45.7-101.1-100.9-101.1`,fill:`#faad3f`,transform:`translate(0 -1)`}),t[3]=a,t[4]=o,t[5]=s,t[6]=c):(a=t[3],o=t[4],s=t[5],c=t[6]);let l;return t[7]!==n||t[8]!==i?(l=(0,X.jsxs)(`svg`,{viewBox:`0 140.2 512 231.6`,width:i,height:i,xmlSpace:`preserve`,...n,children:[a,o,s,c]}),t[7]=n,t[8]=i,t[9]=l):l=t[9],l}function xe(e){let t=(0,J.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`AWS Athena`}),o=(0,X.jsx)(`path`,{d:`M144.3 214.1c0 6.3.7 11.4 1.9 15.2 1.4 3.7 3.1 7.8 5.4 12.3.9 1.4 1.2 2.7 1.2 3.9 0 1.7-1 3.4-3.2 5.1l-10.7 7.2c-1.5 1-3.1 1.5-4.4 1.5-1.7 0-3.4-.9-5.1-2.4-2.4-2.6-4.4-5.3-6.1-8-1.7-2.9-3.4-6.1-5.3-10-13.3 15.7-30 23.5-50.1 23.5-14.3 0-25.7-4.1-34.1-12.3-8.3-8.2-12.6-19.1-12.6-32.7 0-14.5 5.1-26.2 15.5-35.1S60.8 169 78.4 169c5.8 0 11.7.5 18.1 1.4s12.8 2.2 19.6 3.7v-12.4c0-12.9-2.7-22-8-27.2-5.4-5.3-14.6-7.8-27.8-7.8-6 0-12.1.7-18.4 2.2s-12.4 3.4-18.4 5.8c-2.7 1.2-4.8 1.9-6 2.2s-2 .5-2.7.5c-2.4 0-3.6-1.7-3.6-5.3v-8.3c0-2.7.3-4.8 1.2-6s2.4-2.4 4.8-3.6c6-3.1 13.1-5.6 21.5-7.7 8.3-2.2 17.2-3.2 26.6-3.2 20.3 0 35.1 4.6 44.6 13.8 9.4 9.2 14.1 23.2 14.1 41.9v55.2h.3zM75.2 240c5.6 0 11.4-1 17.5-3.1 6.1-2 11.6-5.8 16.2-10.9 2.7-3.2 4.8-6.8 5.8-10.9s1.7-9 1.7-14.8v-7.2c-4.9-1.2-10.2-2.2-15.7-2.9-5.4-.7-10.7-1-16-1-11.4 0-19.8 2.2-25.4 6.8S51 207.1 51 215.6c0 8 2 14 6.3 18.1 4.1 4.2 10 6.3 17.9 6.3m136.7 18.4c-3.1 0-5.1-.5-6.5-1.7-1.4-1-2.6-3.4-3.6-6.6l-40-131.6c-1-3.4-1.5-5.6-1.5-6.8 0-2.7 1.4-4.3 4.1-4.3h16.7c3.2 0 5.4.5 6.6 1.7 1.4 1 2.4 3.4 3.4 6.6l28.6 112.7 26.6-112.7c.9-3.4 1.9-5.6 3.2-6.6 1.4-1 3.7-1.7 6.8-1.7H270c3.2 0 5.4.5 6.8 1.7 1.4 1 2.6 3.4 3.2 6.6l26.9 114.1 29.5-114.1c1-3.4 2.2-5.6 3.4-6.6 1.4-1 3.6-1.7 6.6-1.7h15.8c2.7 0 4.3 1.4 4.3 4.3 0 .9-.2 1.7-.3 2.7-.2 1-.5 2.4-1.2 4.3l-41 131.6q-1.5 5.1-3.6 6.6c-1.4 1-3.6 1.7-6.5 1.7h-14.6c-3.2 0-5.4-.5-6.8-1.7s-2.6-3.4-3.2-6.8l-26.4-109.8L236.7 250c-.9 3.4-1.9 5.6-3.2 6.8-1.4 1.2-3.7 1.7-6.8 1.7h-14.8zm218.8 4.6c-8.9 0-17.7-1-26.2-3.1-8.5-2-15.2-4.3-19.6-6.8-2.7-1.5-4.6-3.2-5.3-4.8s-1-3.2-1-4.8v-8.7c0-3.6 1.4-5.3 3.9-5.3 1 0 2 .2 3.1.5 1 .3 2.6 1 4.3 1.7 5.8 2.6 12.1 4.6 18.7 6 6.8 1.4 13.5 2 20.3 2 10.7 0 19.1-1.9 24.9-5.6s8.9-9.2 8.9-16.2c0-4.8-1.5-8.7-4.6-11.9s-8.9-6.1-17.2-8.9l-24.7-7.7c-12.4-3.9-21.6-9.7-27.2-17.4-5.6-7.5-8.5-15.8-8.5-24.7 0-7.2 1.5-13.5 4.6-18.9s7.2-10.2 12.3-14c5.1-3.9 10.9-6.8 17.7-8.9 6.8-2 14-2.9 21.5-2.9 3.7 0 7.7.2 11.4.7 3.9.5 7.5 1.2 11.1 1.9 3.4.9 6.6 1.7 9.7 2.7s5.4 2 7.2 3.1c2.4 1.4 4.1 2.7 5.1 4.3 1 1.4 1.5 3.2 1.5 5.6v8c0 3.6-1.4 5.4-3.9 5.4-1.4 0-3.6-.7-6.5-2q-14.55-6.6-32.7-6.6c-9.7 0-17.4 1.5-22.6 4.8s-8 8.2-8 15.2c0 4.8 1.7 8.9 5.1 12.1s9.7 6.5 18.7 9.4l24.2 7.7c12.3 3.9 21.1 9.4 26.4 16.3s7.8 15 7.8 23.8c0 7.3-1.5 14-4.4 19.8-3.1 5.8-7.2 10.9-12.4 15-5.3 4.3-11.6 7.3-18.9 9.5-8 2.5-16 3.7-24.7 3.7`,fill:`#000`}),s=(0,X.jsx)(`path`,{d:`M462.9 345.7c-56 41.4-137.4 63.3-207.4 63.3-98.1 0-186.5-36.3-253.2-96.6-5.3-4.8-.5-11.2 5.8-7.5 72.2 41.9 161.3 67.3 253.4 67.3 62.2 0 130.4-12.9 193.3-39.5 9.3-4.2 17.3 6.2 8.1 13`,fill:`#f90`,fillRule:`evenodd`,clipRule:`evenodd`}),c=(0,X.jsx)(`path`,{d:`M486.2 319.2c-7.2-9.2-47.3-4.4-65.6-2.2-5.4.7-6.3-4.1-1.4-7.7 32-22.5 84.6-16 90.8-8.5 6.1 7.7-1.7 60.3-31.7 85.5-4.6 3.9-9 1.9-7-3.2 6.9-16.9 22.1-54.9 14.9-63.9`,fill:`#f90`,fillRule:`evenodd`,clipRule:`evenodd`}),t[3]=a,t[4]=o,t[5]=s,t[6]=c):(a=t[3],o=t[4],s=t[5],c=t[6]);let l;return t[7]!==n||t[8]!==i?(l=(0,X.jsxs)(`svg`,{xmlSpace:`preserve`,viewBox:`0.02 102.6 511.9 306.4`,width:i,height:i,...n,children:[a,o,s,c]}),t[7]=n,t[8]=i,t[9]=l):l=t[9],l}function Se(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Mixpanel`}),o=(0,X.jsx)(`path`,{d:`M6.967 9.996h3.053c-.763-.477-1.048-1.145-1.431-2.384L7.443 3.366C6.919 1.458 6.49.551 4.39.551H.004v1.145h.621c1.286 0 1.431.477 1.814 1.908L3.44 7.326c.524 1.814 1.337 2.67 3.53 2.67h-.003Zm7.06 0h3.053c2.194 0 2.956-.86 3.484-2.67l1.001-3.722c.382-1.431.57-1.908 1.814-1.908H24V.551h-4.34c-2.146 0-2.576.86-3.053 2.815l-1.145 4.246c-.384 1.286-.673 1.907-1.435 2.384Zm-4.007 4.008h4.007V9.996H10.02v4.008ZM0 23.449h4.39c2.1 0 2.529-.907 3.053-2.815l1.146-4.246c.383-1.239.668-1.907 1.431-2.384H6.967c-2.194 0-3.007.86-3.531 2.67l-1.001 3.722c-.383 1.431-.524 1.907-1.814 1.907H0v1.146Zm19.65 0h4.343v-1.146h-.622c-1.239 0-1.431-.476-1.814-1.907l-1.001-3.722c-.524-1.814-1.286-2.67-3.483-2.67h-3.046c.762.477 1.041 1.098 1.424 2.384l1.145 4.246c.477 1.955.907 2.815 3.054 2.815Z`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function Ce(e){let t=(0,J.c)(12),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s,c,l,u;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`PostHog`}),o=(0,X.jsx)(`path`,{d:`M116.2 272c-3.9 7.9-15.2 7.9-19.1 0l-9.4-18.8c-1.5-3-1.5-6.5 0-9.5l9.4-18.8c3.9-7.9 15.2-7.9 19.1 0l9.4 18.8c1.5 3 1.5 6.5 0 9.5zm0 106.7c-3.9 7.9-15.2 7.9-19.1 0l-9.4-18.8c-1.5-3-1.5-6.5 0-9.5l9.4-18.8c3.9-7.9 15.2-7.9 19.1 0l9.4 18.8c1.5 3 1.5 6.5 0 9.5z`,fill:`#1d4aff`}),s=(0,X.jsx)(`path`,{d:`M0 338.2c0-9.5 11.5-14.3 18.2-7.5l48.9 48.9c6.7 6.7 2 18.2-7.5 18.2H10.7C4.8 397.8 0 393 0 387.1zm0-51.5c0 2.8 1.1 5.5 3.1 7.5l100.4 100.4c2 2 4.7 3.1 7.5 3.1h55.2c9.5 0 14.3-11.5 7.5-18.2L18.2 224c-6.7-6.7-18.2-2-18.2 7.5zM0 180c0 2.8 1.1 5.5 3.1 7.5l207.1 207.1c2 2 4.7 3.1 7.5 3.1h55.2c9.5 0 14.3-11.5 7.5-18.2L18.2 117.3c-6.7-6.7-18.2-2-18.2 7.5zm106.7 0c0 2.8 1.1 5.5 3.1 7.5l192 192c6.7 6.7 18.2 2 18.2-7.5v-55.2c0-2.8-1.1-5.5-3.1-7.5l-192-192c-6.7-6.7-18.2-2-18.2 7.5zm124.8-62.7c-6.7-6.7-18.2-2-18.2 7.5V180c0 2.8 1.1 5.5 3.1 7.5l85.3 85.3c6.7 6.7 18.2 2 18.2-7.5v-55.2c0-2.8-1.1-5.5-3.1-7.5z`,fill:`#f9bd2b`}),c=(0,X.jsx)(`path`,{d:`M453.7 339.5 353.3 239.1c-6.7-6.7-18.2-2-18.2 7.5v140.5c0 5.9 4.8 10.7 10.7 10.7h155.6c5.9 0 10.7-4.8 10.7-10.7v-12.8c0-5.9-4.8-10.6-10.6-11.4-18.1-2.3-34.8-10.4-47.8-23.4m-67.4 24.2c-9.4 0-17.1-7.6-17.1-17.1 0-9.4 7.6-17.1 17.1-17.1 9.4 0 17.1 7.6 17.1 17.1 0 9.4-7.7 17.1-17.1 17.1`}),l=(0,X.jsx)(`path`,{d:`M0 387.1c0 5.9 4.8 10.7 10.7 10.7h48.9c9.5 0 14.3-11.5 7.5-18.2l-48.9-48.9c-6.7-6.7-18.2-2-18.2 7.5zm106.7-181.3-88.5-88.5c-6.7-6.7-18.2-2-18.2 7.5V180c0 2.8 1.1 5.5 3.1 7.5L106.6 291v-85.2zM18.2 224c-6.7-6.7-18.2-2-18.2 7.5v55.2c0 2.8 1.1 5.5 3.1 7.5l103.5 103.5v-85.3z`,fill:`#1d4aff`}),u=(0,X.jsx)(`path`,{d:`M213.3 210.2c0-2.8-1.1-5.5-3.1-7.5l-85.3-85.3c-6.7-6.7-18.2-2-18.2 7.5V180c0 2.8 1.1 5.5 3.1 7.5L213.3 291zM106.7 397.8h59.6c9.5 0 14.3-11.5 7.5-18.2l-67.1-67.1zm0-192v80.9c0 2.8 1.1 5.5 3.1 7.5l103.5 103.5v-80.9c0-2.8-1.1-5.5-3.1-7.5z`,fill:`#f54e00`}),t[3]=a,t[4]=o,t[5]=s,t[6]=c,t[7]=l,t[8]=u):(a=t[3],o=t[4],s=t[5],c=t[6],l=t[7],u=t[8]);let d;return t[9]!==n||t[10]!==i?(d=(0,X.jsxs)(`svg`,{xmlSpace:`preserve`,viewBox:`0 114.15 512.1 283.65`,width:i,height:i,...n,children:[a,o,s,c,l,u]}),t[9]=n,t[10]=i,t[11]=d):d=t[11],d}function we(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Sentry`}),o=(0,X.jsx)(`path`,{d:`M505.4 460.4c8.8-14.8 8.8-33.2 0-48L296.8 51c-8.4-14.6-24.1-23.4-40.9-23-16.8-.2-32.4 8.5-40.9 23l-67.2 117.1 16.6 10.2c50.3 28.9 92 70.6 120.9 120.9 25.8 44.3 40.7 94 43.5 145.2h-47.3c-3-42.8-15.7-84.4-37.1-121.5-24.6-43.4-60.4-79.4-103.6-104.3l-17.3-9.6-62.7 108.7L77.4 328c42.4 24.8 70.9 67.8 77.4 116.4H46.1c-2.7-.1-5.1-1.5-6.4-3.8-1.6-2.5-1.6-5.8 0-8.3l30.7-51.2c-10.2-8.8-21.9-15.8-34.5-20.5L6.4 413c-8.6 14.6-8.6 32.7 0 47.3 8.3 14.7 24 23.8 40.9 23.7h148.4v-20.5c0-34.3-8.8-68-25.6-97.9-14.1-24.1-33-45-55.6-61.4l23.7-40.9c29.6 20.5 54.3 47.4 72.3 78.7 21.3 37 32.6 78.9 32.6 121.5v19.2h126v-19.2c-.1-64.7-17.3-128.3-49.9-184.2-28.7-50.7-69-93.9-117.7-126l48-83.2c1.3-2.3 3.7-3.8 6.4-3.8 2.7.1 5.1 1.5 6.4 3.8l209.2 361.4c1.4 2.4 1.4 5.3 0 7.7a6.88 6.88 0 0 1-6.4 3.8h-49.3v39.7h49.3c16.8.2 32.3-8.9 40.3-23.7z`,fill:`currentColor`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{xmlSpace:`preserve`,viewBox:`-0.05 27.99 512.05 456.01`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function Te(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`GitHub`}),o=(0,X.jsx)(`path`,{d:`M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12`}),t[3]=a,t[4]=o):(a=t[3],o=t[4]);let s;return t[5]!==n||t[6]!==i?(s=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`currentColor`,width:i,height:i,...n,children:[a,o]}),t[5]=n,t[6]=i,t[7]=s):s=t[7],s}function Ee(e){let t=(0,J.c)(112),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a=(0,Y.useId)(),o;t[3]===a?o=t[4]:(o=a.replaceAll(`:`,``),t[3]=a,t[4]=o);let s=o,c=`${s}-a`,l=`${s}-b`,u=`${s}-c`,d=`${s}-d`,f=`${s}-e`,p=`${s}-f`,m=`${s}-g`,h=`${s}-h`,g=`${s}-i`,_=`${s}-j`,v=`${s}-k`,y=`${s}-l`,b=`${s}-m`,x=`${s}-n`,S=`${s}-o`,C=`${s}-p`,w;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,X.jsx)(`title`,{children:`Google Docs`}),t[5]=w):w=t[5];let T;t[6]===c?T=t[7]:(T=(0,X.jsx)(`path`,{id:c,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[6]=c,t[7]=T);let E;t[8]===u?E=t[9]:(E=(0,X.jsx)(`path`,{id:u,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[8]=u,t[9]=E);let D;t[10]===p?D=t[11]:(D=(0,X.jsx)(`path`,{id:p,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[10]=p,t[11]=D);let O;t[12]===h?O=t[13]:(O=(0,X.jsx)(`path`,{id:h,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[12]=h,t[13]=O);let k;t[14]===_?k=t[15]:(k=(0,X.jsx)(`path`,{id:_,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[14]=_,t[15]=k);let A;t[16]===y?A=t[17]:(A=(0,X.jsx)(`path`,{id:y,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[16]=y,t[17]=A);let j;t[18]===x?j=t[19]:(j=(0,X.jsx)(`path`,{id:x,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[18]=x,t[19]=j);let M,N;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,X.jsx)(`stop`,{offset:`0%`,stopColor:`#FFF`,stopOpacity:`.1`}),N=(0,X.jsx)(`stop`,{offset:`100%`,stopColor:`#FFF`,stopOpacity:`0`}),t[20]=M,t[21]=N):(M=t[20],N=t[21]);let P;t[22]===C?P=t[23]:(P=(0,X.jsxs)(`radialGradient`,{id:C,cx:`3.168%`,cy:`2.717%`,r:`161.249%`,fx:`3.168%`,fy:`2.717%`,gradientTransform:`matrix(1 0 0 .72308 0 .008)`,children:[M,N]}),t[22]=C,t[23]=P);let F,I;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,X.jsx)(`stop`,{offset:`0%`,stopColor:`#1A237E`,stopOpacity:`.2`}),I=(0,X.jsx)(`stop`,{offset:`100%`,stopColor:`#1A237E`,stopOpacity:`.02`}),t[24]=F,t[25]=I):(F=t[24],I=t[25]);let L;t[26]===d?L=t[27]:(L=(0,X.jsxs)(`linearGradient`,{id:d,x1:`50.005%`,x2:`50.005%`,y1:`8.586%`,y2:`100.014%`,children:[F,I]}),t[26]=d,t[27]=L);let R;t[28]!==j||t[29]!==P||t[30]!==L||t[31]!==T||t[32]!==E||t[33]!==D||t[34]!==O||t[35]!==k||t[36]!==A?(R=(0,X.jsxs)(`defs`,{children:[T,E,D,O,k,A,j,P,L]}),t[28]=j,t[29]=P,t[30]=L,t[31]=T,t[32]=E,t[33]=D,t[34]=O,t[35]=k,t[36]=A,t[37]=R):R=t[37];let z=`#${c}`,B;t[38]===z?B=t[39]:(B=(0,X.jsx)(`use`,{xlinkHref:z}),t[38]=z,t[39]=B);let V;t[40]!==l||t[41]!==B?(V=(0,X.jsx)(`mask`,{id:l,fill:`#fff`,children:B}),t[40]=l,t[41]=B,t[42]=V):V=t[42];let H=`url(#${l})`,U;t[43]===H?U=t[44]:(U=(0,X.jsx)(`path`,{fill:`#4285F4`,fillRule:`nonzero`,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84L36.719 10.34z`,mask:H}),t[43]=H,t[44]=U);let ee=`#${u}`,te;t[45]===ee?te=t[46]:(te=(0,X.jsx)(`use`,{xlinkHref:ee}),t[45]=ee,t[46]=te);let ne;t[47]!==f||t[48]!==te?(ne=(0,X.jsx)(`mask`,{id:f,fill:`#fff`,children:te}),t[47]=f,t[48]=te,t[49]=ne):ne=t[49];let re=`url(#${d})`,ie=`url(#${f})`,ae;t[50]!==re||t[51]!==ie?(ae=(0,X.jsx)(`path`,{fill:re,fillRule:`nonzero`,d:`M30.664 16.431 47 32.858V17.727z`,mask:ie}),t[50]=re,t[51]=ie,t[52]=ae):ae=t[52];let W=`#${p}`,G;t[53]===W?G=t[54]:(G=(0,X.jsx)(`use`,{xlinkHref:W}),t[53]=W,t[54]=G);let oe;t[55]!==m||t[56]!==G?(oe=(0,X.jsx)(`mask`,{id:m,fill:`#fff`,children:G}),t[55]=m,t[56]=G,t[57]=oe):oe=t[57];let K=`url(#${m})`,q;t[58]===K?q=t[59]:(q=(0,X.jsx)(`path`,{fill:`#F1F1F1`,fillRule:`nonzero`,d:`M11.75 47.273h23.5v-2.955h-23.5zm0 5.909h17.625v-2.955H11.75zm0-20.682v2.955h23.5V32.5zm0 8.864h23.5v-2.955h-23.5z`,mask:K}),t[58]=K,t[59]=q);let se=`#${h}`,ce;t[60]===se?ce=t[61]:(ce=(0,X.jsx)(`use`,{xlinkHref:se}),t[60]=se,t[61]=ce);let le;t[62]!==g||t[63]!==ce?(le=(0,X.jsx)(`mask`,{id:g,fill:`#fff`,children:ce}),t[62]=g,t[63]=ce,t[64]=le):le=t[64];let ue=`url(#${g})`,de;t[65]===Symbol.for(`react.memo_cache_sentinel`)?(de=(0,X.jsx)(`path`,{fill:`#A1C2FA`,fillRule:`nonzero`,d:`M29.375 0v13.295c0 2.449 1.972 4.432 4.406 4.432H47z`}),t[65]=de):de=t[65];let fe;t[66]===ue?fe=t[67]:(fe=(0,X.jsx)(`g`,{mask:ue,children:de}),t[66]=ue,t[67]=fe);let pe=`#${_}`,Z;t[68]===pe?Z=t[69]:(Z=(0,X.jsx)(`use`,{xlinkHref:pe}),t[68]=pe,t[69]=Z);let me;t[70]!==v||t[71]!==Z?(me=(0,X.jsx)(`mask`,{id:v,fill:`#fff`,children:Z}),t[70]=v,t[71]=Z,t[72]=me):me=t[72];let he=`url(#${v})`,ge;t[73]===he?ge=t[74]:(ge=(0,X.jsx)(`path`,{fill:`#FFF`,fillOpacity:`.2`,fillRule:`nonzero`,d:`M4.406 0C1.983 0 0 1.994 0 4.432v.37C0 2.363 1.983.368 4.406.368h24.969V0z`,mask:he}),t[73]=he,t[74]=ge);let _e=`#${y}`,ve;t[75]===_e?ve=t[76]:(ve=(0,X.jsx)(`use`,{xlinkHref:_e}),t[75]=_e,t[76]=ve);let ye;t[77]!==b||t[78]!==ve?(ye=(0,X.jsx)(`mask`,{id:b,fill:`#fff`,children:ve}),t[77]=b,t[78]=ve,t[79]=ye):ye=t[79];let be=`url(#${b})`,xe;t[80]===be?xe=t[81]:(xe=(0,X.jsx)(`path`,{fill:`#1A237E`,fillOpacity:`.2`,fillRule:`nonzero`,d:`M42.594 64.63H4.406C1.983 64.63 0 62.637 0 60.2v.37C0 63.005 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-.37c0 2.438-1.983 4.433-4.406 4.433`,mask:be}),t[80]=be,t[81]=xe);let Se=`#${x}`,Ce;t[82]===Se?Ce=t[83]:(Ce=(0,X.jsx)(`use`,{xlinkHref:Se}),t[82]=Se,t[83]=Ce);let we;t[84]!==S||t[85]!==Ce?(we=(0,X.jsx)(`mask`,{id:S,fill:`#fff`,children:Ce}),t[84]=S,t[85]=Ce,t[86]=we):we=t[86];let Te=`url(#${S})`,Ee;t[87]===Te?Ee=t[88]:(Ee=(0,X.jsx)(`path`,{fill:`#1A237E`,fillOpacity:`.1`,fillRule:`nonzero`,d:`M33.781 17.727c-2.434 0-4.406-1.983-4.406-4.432v.37c0 2.448 1.972 4.432 4.406 4.432H47v-.37z`,mask:Te}),t[87]=Te,t[88]=Ee);let De=`url(#${C})`,Oe;t[89]===De?Oe=t[90]:(Oe=(0,X.jsx)(`path`,{fill:De,fillRule:`nonzero`,d:`M29.375 0H4.406C1.983 0 0 1.994 0 4.432v56.136C0 63.006 1.983 65 4.406 65h38.188C45.017 65 47 63.006 47 60.568v-42.84z`}),t[89]=De,t[90]=Oe);let ke;t[91]!==V||t[92]!==U||t[93]!==ne||t[94]!==ae||t[95]!==oe||t[96]!==q||t[97]!==le||t[98]!==fe||t[99]!==me||t[100]!==ge||t[101]!==ye||t[102]!==xe||t[103]!==we||t[104]!==Ee||t[105]!==Oe?(ke=(0,X.jsxs)(`g`,{fill:`none`,fillRule:`evenodd`,children:[V,U,ne,ae,oe,q,le,fe,me,ge,ye,xe,we,Ee,Oe]}),t[91]=V,t[92]=U,t[93]=ne,t[94]=ae,t[95]=oe,t[96]=q,t[97]=le,t[98]=fe,t[99]=me,t[100]=ge,t[101]=ye,t[102]=xe,t[103]=we,t[104]=Ee,t[105]=Oe,t[106]=ke):ke=t[106];let Ae;return t[107]!==n||t[108]!==i||t[109]!==R||t[110]!==ke?(Ae=(0,X.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,xmlnsXlink:`http://www.w3.org/1999/xlink`,viewBox:`0 0 47 65`,width:i,height:i,preserveAspectRatio:`xMidYMid meet`,...n,children:[w,R,ke]}),t[107]=n,t[108]=i,t[109]=R,t[110]=ke,t[111]=Ae):Ae=t[111],Ae}function De(e){let t=(0,J.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({size:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?24:r,a,o,s,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(`title`,{children:`Unknown provider`}),o=(0,X.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`,strokeWidth:`2`}),s=(0,X.jsx)(`path`,{d:`M9.5 9.25a2.5 2.5 0 1 1 4.77 1.08c-.44 1.02-1.77 1.39-2.27 2.42`,strokeWidth:`2`,strokeLinecap:`round`}),c=(0,X.jsx)(`circle`,{cx:`12`,cy:`17`,r:`1`,fill:`currentColor`,stroke:`none`}),t[3]=a,t[4]=o,t[5]=s,t[6]=c):(a=t[3],o=t[4],s=t[5],c=t[6]);let l;return t[7]!==n||t[8]!==i?(l=(0,X.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,width:i,height:i,...n,children:[a,o,s,c]}),t[7]=n,t[8]=i,t[9]=l):l=t[9],l}var Oe={amplitude:ve,aws_athena_connector:xe,bigquery:_e,cloudflare_workers_observability:be,ga:ge,github:Te,google_docs:Ee,laminar:ye,linear:fe,mixpanel:Se,mongodb:he,mysql:me,postgres:pe,supabase:Z,posthog:Ce,sentry:we};function ke(e){return e in Oe}function Ae(e){return ke(e)?Oe[e]:De}var je=Y.createContext(void 0);function Me(){let e=Y.useContext(je);if(e===void 0)throw Error(f(64));return e}var Ne=function(e){return e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e}({}),Pe={tabActivationDirection:e=>({[Ne.activationDirection]:e})},Fe=Y.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:s=`horizontal`,render:c,value:l,...u}=e,f=O(),p=Object.hasOwn(e,`defaultValue`),m=Y.useRef([]),[h,g]=Y.useState(()=>new Map),[_,v]=G({controlled:l,default:r,name:`Tabs`,state:`value`}),y=l!==void 0,[b,x]=Y.useState(()=>new Map),[S,C]=Y.useState(`none`),w=a((e,t)=>{i?.(e,t),!t.isCanceled&&(v(e),C(t.activationDirection))}),T=a((e,t)=>{g(n=>{if(n.get(e)===t)return n;let r=new Map(n);return r.set(e,t),r})}),E=a((e,t)=>{g(n=>{if(!n.has(e)||n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})}),D=Y.useCallback(e=>h.get(e),[h]),k=Y.useCallback(e=>{for(let t of b.values())if(e===t?.value)return t?.id},[b]),A=Y.useCallback(e=>{if(e===void 0)return null;for(let[t,n]of b.entries())if(n!=null&&e===(n.value??n.index))return t;return null},[b]),M=Y.useMemo(()=>({direction:f,getTabElementBySelectedValue:A,getTabIdByPanelValue:k,getTabPanelIdByValue:D,onValueChange:w,orientation:s,registerMountedTabPanel:T,setTabMap:x,unregisterMountedTabPanel:E,tabActivationDirection:S,value:_}),[f,A,k,D,w,s,T,x,E,S,_]),N=Y.useMemo(()=>{for(let e of b.values())if(e!=null&&e.value===_)return e},[b,_]),P=Y.useMemo(()=>{for(let e of b.values())if(e!=null&&!e.disabled)return e.value},[b]);d(()=>{if(y||b.size===0)return;let e=N?.disabled;if(p&&e&&_===r||!e&&!(N==null&&_!==null))return;let t=P??null;_!==t&&(v(t),C(`none`))},[r,P,p,y,N,C,v,b,_]);let F=o(`div`,e,{state:{orientation:s,tabActivationDirection:S},ref:t,props:u,stateAttributesMapping:Pe});return(0,X.jsx)(je.Provider,{value:M,children:(0,X.jsx)(j,{elementsRef:m,children:F})})}),Ie=Y.createContext(void 0);function Le(){let e=Y.useContext(Ie);if(e===void 0)throw Error(f(65));return e}var Re=Y.forwardRef(function(e,t){let{className:n,disabled:r=!1,render:i,value:a,id:s,nativeButton:l=!0,...u}=e,{value:f,getTabPanelIdByValue:p,orientation:m}=Me(),{activateOnFocus:h,highlightedTabIndex:g,onTabActivation:_,setHighlightedTabIndex:v,tabsListElement:y}=Le(),b=P(s),{compositeProps:x,compositeRef:S,index:C}=oe({metadata:Y.useMemo(()=>({disabled:r,id:b,value:a}),[r,b,a])}),w=a===f,T=Y.useRef(!1);d(()=>{if(T.current){T.current=!1;return}if(!(w&&C>-1&&g!==C))return;let e=y;if(e!=null){let t=k(E(e));if(t&&D(e,t))return}r||v(C)},[w,C,g,v,r,y]);let{getButtonProps:O,buttonRef:A}=c({disabled:r,native:l,focusableWhenDisabled:!0}),j=p(a),F=Y.useRef(!1),I=Y.useRef(!1);function L(e){w||r||_(a,N(M,e.nativeEvent,void 0,{activationDirection:`none`}))}function R(e){w||(C>-1&&!r&&v(C),!r&&h&&(!F.current||F.current&&I.current)&&_(a,N(M,e.nativeEvent,void 0,{activationDirection:`none`})))}function z(e){if(w||r)return;F.current=!0;function t(){F.current=!1,I.current=!1}(!e.button||e.button===0)&&(I.current=!0,E(e.currentTarget).addEventListener(`pointerup`,t,{once:!0}))}return o(`button`,e,{state:Y.useMemo(()=>({disabled:r,active:w,orientation:m}),[r,w,m]),ref:[t,A,S],props:[x,{role:`tab`,"aria-controls":j,"aria-selected":w,id:b,onClick:L,onFocus:R,onPointerDown:z,[se]:w?``:void 0,onKeyDownCapture(){T.current=!0}},u,O]})}),ze=function(e){return e.index=`data-index`,e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e.hidden=`data-hidden`,e}({}),Be=Y.forwardRef(function(e,t){let{className:n,value:r,render:i,keepMounted:a=!1,...s}=e,{value:c,getTabIdByPanelValue:l,orientation:u,tabActivationDirection:f,registerMountedTabPanel:p,unregisterMountedTabPanel:m}=Me(),h=P(),{ref:g,index:_}=A({metadata:Y.useMemo(()=>({id:h,value:r}),[h,r])}),v=r!==c,y=l(r),b=o(`div`,e,{state:Y.useMemo(()=>({hidden:v,orientation:u,tabActivationDirection:f}),[v,u,f]),ref:[t,g],props:[{"aria-labelledby":y,hidden:v,id:h??void 0,role:`tabpanel`,tabIndex:v?-1:0,[ze.index]:_},s],stateAttributesMapping:Pe});return d(()=>{if(!(v&&!a)&&h!=null)return p(r,h),()=>{m(r,h)}},[v,a,r,h,p,m]),!v||a?b:null}),Ve=Y.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:i=!0,render:o,...c}=e,{getTabElementBySelectedValue:l,onValueChange:u,orientation:d,value:f,setTabMap:p,tabActivationDirection:m}=Me(),[h,g]=Y.useState(0),[_,v]=Y.useState(null),y=Ue(f,d,_,l),b=a((e,t)=>{e!==f&&(t.activationDirection=y(e),u(e,t))}),x=Y.useMemo(()=>({orientation:d,tabActivationDirection:m}),[d,m]),S={"aria-orientation":d===`vertical`?`vertical`:void 0,role:`tablist`},C=Y.useMemo(()=>({activateOnFocus:n,highlightedTabIndex:h,onTabActivation:b,setHighlightedTabIndex:g,tabsListElement:_,value:f}),[n,h,b,g,_,f]);return(0,X.jsx)(Ie.Provider,{value:C,children:(0,X.jsx)(q,{render:o,className:r,state:x,refs:[t,v],props:[S,c],stateAttributesMapping:Pe,highlightedIndex:h,enableHomeAndEndKeys:!0,loopFocus:i,orientation:d,onHighlightedIndexChange:g,onMapChange:p,disabledIndices:s})})});function He(e,t){let{left:n,top:r}=e.getBoundingClientRect(),{left:i,top:a}=t.getBoundingClientRect();return{left:n-i,top:r-a}}function Ue(e,t,n,r){let[i,a]=Y.useState(null);return d(()=>{if(e==null||n==null){a(null);return}let i=r(e);if(i==null){a(null);return}let{left:o,top:s}=He(i,n);a(t===`horizontal`?o:s)},[t,r,n,e]),Y.useCallback(o=>{if(o===e)return`none`;if(o==null)return a(null),`none`;if(o!=null&&n!=null){let e=r(o);if(e!=null){let{left:r,top:o}=He(e,n);if(i==null)return a(t===`horizontal`?r:o),`none`;if(t===`horizontal`){if(r<i)return a(r),`left`;if(r>i)return a(r),`right`}else if(o<i)return a(o),`up`;else if(o>i)return a(o),`down`}}return`none`},[r,t,i,n,e])}function We(e){let t=(0,J.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,orientation:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`horizontal`:i,o;t[4]===n?o=t[5]:(o=p(`gap-2 group/tabs flex data-[orientation=horizontal]:flex-col`,n),t[4]=n,t[5]=o);let s;return t[6]!==a||t[7]!==r||t[8]!==o?(s=(0,X.jsx)(Fe,{"data-slot":`tabs`,"data-orientation":a,className:o,...r}),t[6]=a,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}var Ge=l(`rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function Ke(e){let t=(0,J.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,variant:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`default`:i,o;t[4]!==n||t[5]!==a?(o=p(Ge({variant:a}),n),t[4]=n,t[5]=a,t[6]=o):o=t[6];let s;return t[7]!==r||t[8]!==o||t[9]!==a?(s=(0,X.jsx)(Ve,{"data-slot":`tabs-list`,"data-variant":a,className:o,...r}),t[7]=r,t[8]=o,t[9]=a,t[10]=s):s=t[10],s}function qe(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground`,`after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(Re,{"data-slot":`tabs-trigger`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Je(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`text-sm flex-1 outline-none`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(Be,{"data-slot":`tabs-content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Ye={providerLabel:`Amplitude`,ko:{title:`Amplitude API Key 연결 가이드`,description:"OneQuery에 Amplitude를 연결하려면 프로젝트의 `API Key`, `Secret Key`, 그리고 올바른 `region` 값이 필요합니다.",steps:[{title:`Settings 열기`,paragraphs:[`Amplitude에 로그인해 주세요. 일반 워크스페이스는 https://app.amplitude.com/, EU 워크스페이스는 Amplitude EU URL에서 열립니다.`,"우측 상단의 Settings를 열고, 좌측 사이드바에서 `Projects`와 `API Keys` 메뉴를 확인하세요."],imageSrc:`/images/amplitude/step1_settings_sidebar.png`,imageAlt:`Amplitude settings sidebar`},{title:`대상 프로젝트 선택`,paragraphs:["`Projects`를 클릭한 뒤 OneQuery이 읽을 프로젝트를 선택하세요.","프로젝트를 클릭하면 `General` 탭의 Project Details 카드로 이동합니다."],imageSrc:`/images/amplitude/step2_projects.png`,imageAlt:`Amplitude projects list`,reverse:!0},{title:`Secret Key 확인`,paragraphs:["프로젝트 `General` 화면의 `Project Details` 카드에서 `Secret Key` 옆 `Show`를 눌러 값을 확인하세요.","`API Key` 옆 `Manage`를 누르면 API Key 목록 페이지로 이동합니다."],note:"이 화면은 프로젝트별 Secret Key를 보여 줍니다. OneQuery에서는 이 값을 `credentials.secretKey`에 넣습니다.",imageSrc:`/images/amplitude/step3_project_keys.png`,imageAlt:`Amplitude project details card with secret key and API key actions`},{title:`API Key 복사 후 OneQuery에 연결`,paragraphs:["`API and Secret Keys` 페이지에서 대상 프로젝트의 활성 API Key를 복사하세요. 필요한 키가 없으면 `Generate API Key`를 사용하세요.","복사한 값을 `credentials.apiKey`에 넣고, `region`은 EU Amplitude 프로젝트일 때만 `eu`, 그 외에는 `us`로 설정하세요."],code:`{
|
|
2
2
|
"name": "amplitude_product",
|
|
3
3
|
"credentials": {
|
|
4
4
|
"type": "amplitude",
|
|
@@ -188,4 +188,4 @@ GRANT USAGE ON SCHEMA public TO onequery_readonly;
|
|
|
188
188
|
GRANT SELECT ON ALL TABLES IN SCHEMA public TO onequery_readonly;
|
|
189
189
|
|
|
190
190
|
ALTER DEFAULT PRIVILEGES IN SCHEMA public
|
|
191
|
-
GRANT SELECT ON TABLES TO onequery_readonly;`},{title:`Enter it in OneQuery`,paragraphs:[`Select Supabase in OneQuery, then paste the Session pooler connection string or fill the connection details manually.`,`This integration is stored internally as PostgreSQL with SSL required, so the runtime path stays identical to Postgres.`],bullets:[`Recommended host example: aws-0-<region>.pooler.supabase.com (Session pooler)`,`Port: 5432`,`Database: postgres`,`Username example: postgres.<project-ref> or your read-only user`],reverse:!0}],closingTitle:`Integration Ready!`,closingDescription:`You can now query your Supabase Postgres data directly from OneQuery.`}}};function Qe(e){let t=(0,J.c)(33),n=!!e.step.imageSrc,r=n?`grid gap-5 rounded-xl border p-4 md:grid-cols-2`:`rounded-xl border p-4`,a=e.step.reverse?`md:order-2`:``,o=e.step.reverse?`md:order-1`:``,s;t[0]===e.step.code?s=t[1]:(s=e.step.code?.replaceAll(Xe,`${i()}${le}`),t[0]=e.step.code,t[1]=s);let c=s,l=e.index+1,u;t[2]===l?u=t[3]:(u=(0,X.jsxs)(`p`,{className:`mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground`,children:[`Step `,l]}),t[2]=l,t[3]=u);let d;t[4]===e.step.title?d=t[5]:(d=(0,X.jsx)(`h3`,{className:`mb-3 text-lg font-semibold`,children:e.step.title}),t[4]=e.step.title,t[5]=d);let f;t[6]===e.step.paragraphs?f=t[7]:(f=e.step.paragraphs.map(et),t[6]=e.step.paragraphs,t[7]=f);let p;t[8]===f?p=t[9]:(p=(0,X.jsx)(`div`,{className:`space-y-2 text-sm text-muted-foreground`,children:f}),t[8]=f,t[9]=p);let m;t[10]===e.step.bullets?m=t[11]:(m=e.step.bullets&&e.step.bullets.length>0&&(0,X.jsx)(`ul`,{className:`mt-3 list-disc space-y-1 pl-5 text-sm text-muted-foreground`,children:e.step.bullets.map($e)}),t[10]=e.step.bullets,t[11]=m);let h;t[12]===c?h=t[13]:(h=c&&(0,X.jsx)(`pre`,{className:`mt-3 overflow-x-auto rounded-md border bg-muted p-3 text-xs leading-relaxed`,children:c}),t[12]=c,t[13]=h);let g;t[14]===e.step.note?g=t[15]:(g=e.step.note&&(0,X.jsx)(`p`,{className:`mt-3 rounded-md border bg-muted/60 p-2 text-xs text-muted-foreground`,children:e.step.note}),t[14]=e.step.note,t[15]=g);let _;t[16]!==u||t[17]!==d||t[18]!==p||t[19]!==m||t[20]!==h||t[21]!==g||t[22]!==a?(_=(0,X.jsxs)(`div`,{className:a,children:[u,d,p,m,h,g]}),t[16]=u,t[17]=d,t[18]=p,t[19]=m,t[20]=h,t[21]=g,t[22]=a,t[23]=_):_=t[23];let v;t[24]!==n||t[25]!==o||t[26]!==e.step.imageAlt||t[27]!==e.step.imageSrc?(v=n&&e.step.imageSrc&&e.step.imageAlt&&(0,X.jsx)(`div`,{className:o,children:(0,X.jsx)(`img`,{src:e.step.imageSrc,alt:e.step.imageAlt,className:`h-auto max-h-[400px] w-full rounded-lg border object-contain`})}),t[24]=n,t[25]=o,t[26]=e.step.imageAlt,t[27]=e.step.imageSrc,t[28]=v):v=t[28];let y;return t[29]!==r||t[30]!==v||t[31]!==_?(y=(0,X.jsxs)(`section`,{className:r,children:[_,v]}),t[29]=r,t[30]=v,t[31]=_,t[32]=y):y=t[32],y}function $e(e){return(0,X.jsx)(`li`,{children:e},e)}function et(e){return(0,X.jsx)(`p`,{children:e},e)}function tt(e){let t=(0,J.c)(35);if(!e.content){let n;t[0]===e.providerLabel?n=t[1]:(n=(0,X.jsxs)(`h2`,{className:`text-lg font-semibold`,children:[e.providerLabel,` Connection Guide`]}),t[0]=e.providerLabel,t[1]=n);let r;t[2]===e.guideSummary?r=t[3]:(r=(0,X.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:e.guideSummary}),t[2]=e.guideSummary,t[3]=r);let i;t[4]!==n||t[5]!==r?(i=(0,X.jsxs)(`section`,{className:`rounded-xl border p-4`,children:[n,r]}),t[4]=n,t[5]=r,t[6]=i):i=t[6];let a;t[7]===e.guideSteps?a=t[8]:(a=e.guideSteps.map(rt),t[7]=e.guideSteps,t[8]=a);let o;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,X.jsx)(`h3`,{className:`text-base font-semibold`,children:`Credentials JSON`}),t[9]=o):o=t[9];let s;t[10]===e.credentialExample?s=t[11]:(s=JSON.stringify(e.credentialExample,null,2),t[10]=e.credentialExample,t[11]=s);let c;t[12]===s?c=t[13]:(c=(0,X.jsxs)(`section`,{className:`rounded-xl border p-4`,children:[o,(0,X.jsx)(`pre`,{className:`mt-3 overflow-x-auto rounded-md border bg-muted p-3 text-xs leading-relaxed`,children:s})]}),t[12]=s,t[13]=c);let l;return t[14]!==i||t[15]!==a||t[16]!==c?(l=(0,X.jsxs)(`div`,{className:`space-y-4`,children:[i,a,c]}),t[14]=i,t[15]=a,t[16]=c,t[17]=l):l=t[17],l}let n;t[18]===e.content.title?n=t[19]:(n=(0,X.jsx)(`h2`,{className:`text-lg font-semibold`,children:e.content.title}),t[18]=e.content.title,t[19]=n);let r;t[20]===e.content.description?r=t[21]:(r=(0,X.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:e.content.description}),t[20]=e.content.description,t[21]=r);let i;t[22]!==n||t[23]!==r?(i=(0,X.jsxs)(`section`,{className:`rounded-xl border p-4`,children:[n,r]}),t[22]=n,t[23]=r,t[24]=i):i=t[24];let a;t[25]===e.content.steps?a=t[26]:(a=e.content.steps.map(nt),t[25]=e.content.steps,t[26]=a);let o;t[27]!==e.content.closingDescription||t[28]!==e.content.closingNote||t[29]!==e.content.closingTitle?(o=e.content.closingTitle&&(0,X.jsxs)(`section`,{className:`rounded-xl border p-4`,children:[(0,X.jsx)(`h3`,{className:`text-base font-semibold`,children:e.content.closingTitle}),e.content.closingDescription&&(0,X.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:e.content.closingDescription}),e.content.closingNote&&(0,X.jsx)(`p`,{className:`mt-2 rounded-md border bg-muted/60 p-2 text-xs text-muted-foreground`,children:e.content.closingNote})]}),t[27]=e.content.closingDescription,t[28]=e.content.closingNote,t[29]=e.content.closingTitle,t[30]=o):o=t[30];let s;return t[31]!==i||t[32]!==a||t[33]!==o?(s=(0,X.jsxs)(`div`,{className:`space-y-4`,children:[i,a,o]}),t[31]=i,t[32]=a,t[33]=o,t[34]=s):s=t[34],s}function nt(e,t){return(0,X.jsx)(Qe,{step:e,index:t},e.title)}function rt(e,t){return(0,X.jsxs)(`section`,{className:`rounded-xl border p-4`,children:[(0,X.jsxs)(`p`,{className:`mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground`,children:[`Step `,t+1]}),(0,X.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:e})]},e)}function it(e){let t=(0,J.c)(25),[n,r]=(0,Y.useState)(!1),i=Ze[e.provider.id],a=i?.providerLabel??e.provider.label,o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,X.jsx)(x,{render:(0,X.jsx)(u,{variant:`outline`,size:`sm`,children:`How to connect`})}),t[0]=o):o=t[0];let s;t[1]===a?s=t[2]:(s=(0,X.jsx)(C,{className:`border-b px-5 py-4`,children:(0,X.jsxs)(y,{children:[a,` Connection Guide`]})}),t[1]=a,t[2]=s);let c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,X.jsxs)(Ke,{className:`mt-4 w-full max-w-[320px]`,children:[(0,X.jsx)(qe,{value:`en`,className:`flex-1`,children:`English`}),(0,X.jsx)(qe,{value:`ko`,className:`flex-1`,children:`한국어`})]}),t[3]=c):c=t[3];let l=i?.en,d;t[4]!==e.provider.credentialExample||t[5]!==e.provider.guideSteps||t[6]!==e.provider.guideSummary||t[7]!==a||t[8]!==l?(d=(0,X.jsx)(Je,{value:`en`,className:`mt-4 min-h-0 flex-1 overflow-y-auto pr-1`,children:(0,X.jsx)(tt,{content:l,credentialExample:e.provider.credentialExample,guideSteps:e.provider.guideSteps,guideSummary:e.provider.guideSummary,providerLabel:a})}),t[4]=e.provider.credentialExample,t[5]=e.provider.guideSteps,t[6]=e.provider.guideSummary,t[7]=a,t[8]=l,t[9]=d):d=t[9];let f=i?.ko,p;t[10]!==e.provider.credentialExample||t[11]!==e.provider.guideSteps||t[12]!==e.provider.guideSummary||t[13]!==a||t[14]!==f?(p=(0,X.jsx)(Je,{value:`ko`,className:`mt-4 min-h-0 flex-1 overflow-y-auto pr-1`,children:(0,X.jsx)(tt,{content:f,credentialExample:e.provider.credentialExample,guideSteps:e.provider.guideSteps,guideSummary:e.provider.guideSummary,providerLabel:a})}),t[10]=e.provider.credentialExample,t[11]=e.provider.guideSteps,t[12]=e.provider.guideSummary,t[13]=a,t[14]=f,t[15]=p):p=t[15];let m;t[16]!==d||t[17]!==p?(m=(0,X.jsxs)(We,{defaultValue:`en`,className:`flex h-full min-h-0 flex-col overflow-hidden px-5 pb-5`,children:[c,d,p]}),t[16]=d,t[17]=p,t[18]=m):m=t[18];let h;t[19]!==s||t[20]!==m?(h=(0,X.jsxs)(b,{overlayClassName:`bg-black/35 supports-backdrop-filter:backdrop-blur-lg`,className:`h-[94vh] max-h-[94vh] w-[96vw] max-w-[96vw] overflow-hidden gap-0 p-0 sm:max-w-[96vw]`,children:[s,m]}),t[19]=s,t[20]=m,t[21]=h):h=t[21];let g;return t[22]!==n||t[23]!==h?(g=(0,X.jsxs)(S,{open:n,onOpenChange:r,children:[o,h]}),t[22]=n,t[23]=h,t[24]=g):g=t[24],g}var at=`postgres`;function ot(e){return e.filter(e=>e.dashboardConnectable).map(e=>({...e,icon:Ae(e.id),value:e.id}))}function st(e,t){return t.some(t=>t.dashboardConnectable&&t.id===e)}function ct(e,t){return t.some(t=>t.id===e&&t.testable)}function lt(e,t){return t.find(t=>t.id===e)?.label??e}l(`data-[invalid=true]:text-destructive gap-2 group/field flex w-full`,{variants:{orientation:{vertical:`flex-col [&>*]:w-full [&>.sr-only]:w-auto`,horizontal:`flex-row items-center [&>[data-slot=field-label]]:flex-auto has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`,responsive:`flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto @md/field-group:[&>[data-slot=field-label]]:flex-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`}},defaultVariants:{orientation:`vertical`}});function ut(e){let t=(0,J.c)(15),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,children:n,errors:i,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o;bb0:{if(n){o=n;break bb0}if(!i?.length){o=null;break bb0}let e;t[5]===i?e=t[6]:(e=[...new Map(i.map(ft)).values()],t[5]=i,t[6]=e);let r=e;if(r?.length==1){o=r[0]?.message;break bb0}let a;t[7]===r?a=t[8]:(a=(0,X.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:r.map(dt)}),t[7]=r,t[8]=a),o=a}let s=o;if(!s)return null;let c;t[9]===r?c=t[10]:(c=p(`text-destructive text-sm font-normal`,r),t[9]=r,t[10]=c);let l;return t[11]!==s||t[12]!==a||t[13]!==c?(l=(0,X.jsx)(`div`,{role:`alert`,"data-slot":`field-error`,className:c,...a,children:s}),t[11]=s,t[12]=a,t[13]=c,t[14]=l):l=t[14],l}function dt(e,t){return e?.message&&(0,X.jsx)(`li`,{children:e.message},t)}function ft(e){return[e?.message,e]}function Q(e){let t=(0,J.c)(3),{message:n,className:r}=e;if(!n)return null;let i;return t[0]!==r||t[1]!==n?(i=(0,X.jsx)(ut,{className:r,children:n}),t[0]=r,t[1]=n,t[2]=i):i=t[2],i}function pt(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`size-4 animate-spin`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(te,{role:`status`,"aria-label":`Loading`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function mt(e){let t=(0,J.c)(21),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:n,disabled:r,fullWidth:s,idleLabel:i,isPending:c,pendingLabel:a,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=s===void 0?!0:s,d=c===void 0?!1:c,f=l&&`w-full`,m;t[8]!==n||t[9]!==f?(m=p(f,n),t[8]=n,t[9]=f,t[10]=m):m=t[10];let h=r||d,g;t[11]!==i||t[12]!==d||t[13]!==a?(g=d?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(pt,{className:`size-4`}),(0,X.jsx)(`span`,{children:a??i})]}):i,t[11]=i,t[12]=d,t[13]=a,t[14]=g):g=t[14];let _;return t[15]!==d||t[16]!==o||t[17]!==m||t[18]!==h||t[19]!==g?(_=(0,X.jsx)(u,{type:`submit`,"aria-busy":d,className:m,disabled:h,...o,children:g}),t[15]=d,t[16]=o,t[17]=m,t[18]=h,t[19]=g,t[20]=_):_=t[20],_}var ht=(e,t,n)=>!ne(e,`data_source_name_duplicate`)||!(e instanceof Error)?!1:(t(n,{message:e.message}),!0),gt=[{label:`US (Standard)`,value:`us`},{label:`EU (Europe)`,value:`eu`}],_t=I({apiKey:B().min(1,`API Key is required`),name:B().min(1,`Name is required`),region:z([`us`,`eu`]),secretKey:B().min(1,`Secret Key is required`)});function vt(e){return e===`us`||e===`eu`}function yt({onSuccess:e,organizationId:t}){let n=ue({defaultValues:{name:``,apiKey:``,secretKey:``,region:`us`},resolver:de(_t)}),r=w({createOptimisticItem:e=>({id:`temp-${crypto.randomUUID()}`,provider:`amplitude`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),mutationFn:async e=>{let n={type:`amplitude`,apiKey:e.apiKey,secretKey:e.secretKey,region:e.region};return re({organizationId:t,provider:`amplitude`,name:e.name,credentials:n})},onError:e=>{ht(e,n.setError,`name`)},onSuccess:t=>{e(t.dataSource.id)},queryKey:ae(t).queryKey,successMessage:`Data source created successfully`});return(0,X.jsxs)(`form`,{onSubmit:e=>{n.handleSubmit(e=>{r.mutate(e)})(e)},className:`space-y-4`,children:[(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`amplitude-name`,children:`Data Source Name`}),(0,X.jsx)(W,{id:`amplitude-name`,placeholder:`My Amplitude`,...n.register(`name`)}),(0,X.jsx)(Q,{message:n.formState.errors.name?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`amplitude-apiKey`,children:`API Key`}),(0,X.jsx)(W,{id:`amplitude-apiKey`,placeholder:`Enter your Amplitude API Key`,...n.register(`apiKey`)}),(0,X.jsx)(Q,{message:n.formState.errors.apiKey?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`amplitude-secretKey`,children:`Secret Key`}),(0,X.jsx)(W,{id:`amplitude-secretKey`,type:`password`,placeholder:`Enter your Amplitude Secret Key`,...n.register(`secretKey`)}),(0,X.jsx)(Q,{message:n.formState.errors.secretKey?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`amplitude-region`,children:`Region`}),(0,X.jsxs)(v,{items:[...gt],value:n.watch(`region`),onValueChange:e=>{vt(e)&&n.setValue(`region`,e)},children:[(0,X.jsx)(h,{id:`amplitude-region`,children:(0,X.jsx)(m,{})}),(0,X.jsx)(g,{children:gt.map(e=>(0,X.jsx)(_,{value:e.value,children:e.label},e.value))})]})]}),(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:r.isPending,pendingLabel:`Creating...`})]})}var bt=I({accountId:B().min(1,`Account ID is required`),apiBaseUrl:R([F(``),L(`API base URL must be a valid URL`)]),apiToken:B().min(1,`API token is required`),name:B().min(1,`Name is required`),scriptName:B().optional()});function xt(e){let t=(0,J.c)(72),{onSuccess:n,organizationId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{accountId:``,apiBaseUrl:``,apiToken:``,name:``,scriptName:``},resolver:de(bt)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===r?o=t[2]:(o=async e=>{let t={type:`cloudflare_workers_observability`,accountId:e.accountId,apiToken:e.apiToken,scriptName:e.scriptName?.trim()||void 0,apiBaseUrl:e.apiBaseUrl.trim()||void 0};return re({organizationId:r,provider:`cloudflare_workers_observability`,name:e.name,credentials:t})},t[1]=r,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{ht(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===n?c=t[6]:(c=e=>{n(e.dataSource.id)},t[5]=n,t[6]=c);let l;t[7]===r?l=t[8]:(l=ae(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:St,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]!==a||t[15]!==d?(f=e=>{a.handleSubmit(e=>{d.mutate(e)})(e)},t[14]=a,t[15]=d,t[16]=f):f=t[16];let p;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsx)(K,{htmlFor:`cloudflare-workers-observability-name`,children:`Data Source Name`}),t[17]=p):p=t[17];let m;t[18]===a?m=t[19]:(m=a.register(`name`),t[18]=a,t[19]=m);let h;t[20]===m?h=t[21]:(h=(0,X.jsx)(W,{id:`cloudflare-workers-observability-name`,placeholder:`Cloudflare Workers`,...m}),t[20]=m,t[21]=h);let g=a.formState.errors.name?.message,_;t[22]===g?_=t[23]:(_=(0,X.jsx)(Q,{message:g}),t[22]=g,t[23]=_);let v;t[24]!==h||t[25]!==_?(v=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[p,h,_]}),t[24]=h,t[25]=_,t[26]=v):v=t[26];let y;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,X.jsx)(K,{htmlFor:`cloudflare-workers-observability-account-id`,children:`Account ID`}),t[27]=y):y=t[27];let b;t[28]===a?b=t[29]:(b=a.register(`accountId`),t[28]=a,t[29]=b);let x;t[30]===b?x=t[31]:(x=(0,X.jsx)(W,{id:`cloudflare-workers-observability-account-id`,placeholder:`023e105f4ecef8ad9ca31a8372d0c353`,...b}),t[30]=b,t[31]=x);let S=a.formState.errors.accountId?.message,C;t[32]===S?C=t[33]:(C=(0,X.jsx)(Q,{message:S}),t[32]=S,t[33]=C);let T;t[34]!==x||t[35]!==C?(T=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[y,x,C]}),t[34]=x,t[35]=C,t[36]=T):T=t[36];let E;t[37]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,X.jsx)(K,{htmlFor:`cloudflare-workers-observability-script-name`,children:`Worker Script Name (optional)`}),t[37]=E):E=t[37];let D;t[38]===a?D=t[39]:(D=a.register(`scriptName`),t[38]=a,t[39]=D);let O;t[40]===D?O=t[41]:(O=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[E,(0,X.jsx)(W,{id:`cloudflare-workers-observability-script-name`,placeholder:`api-production`,...D})]}),t[40]=D,t[41]=O);let k;t[42]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,X.jsx)(K,{htmlFor:`cloudflare-workers-observability-api-token`,children:`API Token`}),t[42]=k):k=t[42];let A;t[43]===a?A=t[44]:(A=a.register(`apiToken`),t[43]=a,t[44]=A);let j;t[45]===A?j=t[46]:(j=(0,X.jsx)(W,{id:`cloudflare-workers-observability-api-token`,type:`password`,placeholder:`Cloudflare API token`,...A}),t[45]=A,t[46]=j);let M=a.formState.errors.apiToken?.message,N;t[47]===M?N=t[48]:(N=(0,X.jsx)(Q,{message:M}),t[47]=M,t[48]=N);let P;t[49]!==j||t[50]!==N?(P=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[k,j,N]}),t[49]=j,t[50]=N,t[51]=P):P=t[51];let F;t[52]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,X.jsx)(K,{htmlFor:`cloudflare-workers-observability-api-base-url`,children:`API Base URL (optional)`}),t[52]=F):F=t[52];let I;t[53]===a?I=t[54]:(I=a.register(`apiBaseUrl`),t[53]=a,t[54]=I);let L;t[55]===I?L=t[56]:(L=(0,X.jsx)(W,{id:`cloudflare-workers-observability-api-base-url`,placeholder:`https://api.cloudflare.com/client/v4`,...I}),t[55]=I,t[56]=L);let R=a.formState.errors.apiBaseUrl?.message,z;t[57]===R?z=t[58]:(z=(0,X.jsx)(Q,{message:R}),t[57]=R,t[58]=z);let B;t[59]!==L||t[60]!==z?(B=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[F,L,z]}),t[59]=L,t[60]=z,t[61]=B):B=t[61];let V;t[62]===d.isPending?V=t[63]:(V=(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[62]=d.isPending,t[63]=V);let H;return t[64]!==v||t[65]!==T||t[66]!==O||t[67]!==P||t[68]!==B||t[69]!==V||t[70]!==f?(H=(0,X.jsxs)(`form`,{onSubmit:f,className:`space-y-4`,children:[v,T,O,P,B,V]}),t[64]=v,t[65]=T,t[66]=O,t[67]=P,t[68]=B,t[69]=V,t[70]=f,t[71]=H):H=t[71],H}function St(e){return{id:`temp-${crypto.randomUUID()}`,provider:`cloudflare_workers_observability`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var Ct=I({connectorId:B().min(1,`Connector ID is required`),database:B().min(1,`Athena database is required`),name:B().min(1,`Name is required`),workgroup:B().optional()});function wt(e){let t=(0,J.c)(68),{organizationId:n,onSuccess:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,connectorId:``,database:``,workgroup:``},resolver:de(Ct)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===n?o=t[2]:(o=async e=>{let t={type:`aws_athena_connector`,connectorId:e.connectorId.trim(),database:e.database.trim()},r=e.workgroup?.trim();return r&&(t.workgroup=r),re({organizationId:n,provider:`aws_athena_connector`,name:e.name.trim(),credentials:t})},t[1]=n,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{ht(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===r?c=t[6]:(c=e=>{r(e.dataSource.id)},t[5]=r,t[6]=c);let l;t[7]===n?l=t[8]:(l=ae(n),t[7]=n,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:Tt,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]===d?f=t[15]:(f=e=>{d.mutate(e)},t[14]=d,t[15]=f);let p=f,m;t[16]!==a||t[17]!==p?(m=e=>{a.handleSubmit(p)(e)},t[16]=a,t[17]=p,t[18]=m):m=t[18];let h;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,X.jsx)(K,{htmlFor:`connector-name`,children:`Data Source Name`}),t[19]=h):h=t[19];let g;t[20]===a?g=t[21]:(g=a.register(`name`),t[20]=a,t[21]=g);let _;t[22]===g?_=t[23]:(_=(0,X.jsx)(W,{id:`connector-name`,placeholder:`Customer Athena Connector`,...g}),t[22]=g,t[23]=_);let v=a.formState.errors.name?.message,y;t[24]===v?y=t[25]:(y=(0,X.jsx)(Q,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[h,_,y]}),t[26]=_,t[27]=y,t[28]=b):b=t[28];let x;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,X.jsx)(K,{htmlFor:`connector-id`,children:`Connector ID`}),t[29]=x):x=t[29];let S;t[30]===a?S=t[31]:(S=a.register(`connectorId`),t[30]=a,t[31]=S);let C;t[32]===S?C=t[33]:(C=(0,X.jsx)(W,{id:`connector-id`,placeholder:`connector_...`,...S}),t[32]=S,t[33]=C);let T=a.formState.errors.connectorId?.message,E;t[34]===T?E=t[35]:(E=(0,X.jsx)(Q,{message:T}),t[34]=T,t[35]=E);let D;t[36]!==C||t[37]!==E?(D=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[x,C,E]}),t[36]=C,t[37]=E,t[38]=D):D=t[38];let O;t[39]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,X.jsx)(K,{htmlFor:`connector-database`,children:`Athena Database`}),t[39]=O):O=t[39];let k;t[40]===a?k=t[41]:(k=a.register(`database`),t[40]=a,t[41]=k);let A;t[42]===k?A=t[43]:(A=(0,X.jsx)(W,{id:`connector-database`,placeholder:`analytics`,...k}),t[42]=k,t[43]=A);let j;t[44]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,X.jsx)(`code`,{children:`analytics`}),t[44]=j):j=t[44];let M;t[45]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,X.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Enter the Athena or AWS Glue database name, such as`,` `,j,` or `,(0,X.jsx)(`code`,{children:`onequery_connector_test`}),`.`]}),t[45]=M):M=t[45];let N=a.formState.errors.database?.message,P;t[46]===N?P=t[47]:(P=(0,X.jsx)(Q,{message:N}),t[46]=N,t[47]=P);let F;t[48]!==A||t[49]!==P?(F=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[O,A,M,P]}),t[48]=A,t[49]=P,t[50]=F):F=t[50];let I;t[51]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,X.jsx)(K,{htmlFor:`connector-workgroup`,children:`Athena Workgroup (optional)`}),t[51]=I):I=t[51];let L;t[52]===a?L=t[53]:(L=a.register(`workgroup`),t[52]=a,t[53]=L);let R;t[54]===L?R=t[55]:(R=(0,X.jsx)(W,{id:`connector-workgroup`,placeholder:`primary`,...L}),t[54]=L,t[55]=R);let z;t[56]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,X.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Leave blank to use the default workgroup, or enter a specific workgroup name if your Athena setup requires one.`}),t[56]=z):z=t[56];let B;t[57]===R?B=t[58]:(B=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[I,R,z]}),t[57]=R,t[58]=B);let V;t[59]===d.isPending?V=t[60]:(V=(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[59]=d.isPending,t[60]=V);let H;return t[61]!==b||t[62]!==D||t[63]!==F||t[64]!==B||t[65]!==V||t[66]!==m?(H=(0,X.jsxs)(`form`,{onSubmit:m,className:`space-y-4`,children:[b,D,F,B,V]}),t[61]=b,t[62]=D,t[63]=F,t[64]=B,t[65]=V,t[66]=m,t[67]=H):H=t[67],H}function Tt(e){return{id:`temp-${crypto.randomUUID()}`,provider:`aws_athena_connector`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var $=e=>B().trim().min(1,e),Et=e=>B().trim().transform(e=>e.length===0?void 0:e).pipe($(e).optional()).optional(),Dt=e=>B().refine(e=>e.trim().length>0,e),Ot=e=>B().transform(e=>e.trim().length===0?void 0:e).pipe(Dt(e).optional()).optional(),kt=(e,t)=>B().trim().min(1,e).pipe(L(t)),At=e=>B().trim().transform(e=>e.length===0?void 0:e).pipe(L(e).optional()).optional(),jt=$(`Connection string is required`).refine(e=>e.startsWith(`mongodb://`)||e.startsWith(`mongodb+srv://`),`Connection string must start with mongodb:// or mongodb+srv://`),Mt=z([`disable`,`prefer`,`require`]),Nt=I({database:$(`Database name is required`),host:$(`Host is required`),password:Dt(`Password is required`),port:U().int().min(1).max(65535).default(5432),sslMode:Mt.default(`prefer`),type:F(`postgres`),username:$(`Username is required`)}),Pt=I({database:$(`Database name is required`),host:$(`Host is required`),password:Dt(`Password is required`),port:U().int().min(1).max(65535).default(3306),sslMode:Mt.default(`prefer`),type:F(`mysql`),username:$(`Username is required`)}),Ft=I({connectionString:jt,database:Et(`Database name is required`),databases:V($(`Database name is required`)).optional(),type:F(`mongodb`)}),It=I({clientEmail:B().trim().min(1,`Client email is required`).pipe(H(`Client email must be a valid email address`)),privateKey:Dt(`Private key is required`),privateKeyId:Ot(`Private key ID is required`),projectId:$(`Project ID is required`)}),Lt=R([Nt,Pt,Ft,R([I({accessToken:Dt(`Access token is required`),authType:F(`oauth`).optional(),expiresAt:U().int().min(0,`Expiration time must be positive`),propertyId:$(`Property ID is required`),refreshToken:Dt(`Refresh token is required`),type:F(`ga`)}),I({authType:F(`service_account`),propertyId:$(`Property ID is required`),serviceAccount:It,type:F(`ga`)})]),R([I({accessToken:Dt(`Access token is required`),authType:F(`oauth`).optional(),expiresAt:U().int().min(0,`Expiration time must be positive`),projectId:$(`Project ID is required`),refreshToken:Dt(`Refresh token is required`),type:F(`bigquery`)}),I({authType:F(`service_account`),projectId:$(`Project ID is required`),serviceAccount:It,type:F(`bigquery`)})]),I({apiBaseUrl:At(`API base URL must be a valid URL`),apiKey:Dt(`API key is required`),type:F(`laminar`)}),I({connectorId:$(`Connector ID is required`),database:$(`Athena database is required`),maxRows:U().int().positive().optional(),timeoutMs:U().int().positive().optional(),type:F(`aws_athena_connector`),workgroup:Et(`Workgroup is required`)}),I({apiKey:Dt(`API Key is required`),region:z([`us`,`eu`]).default(`us`),secretKey:Dt(`Secret Key is required`),type:F(`amplitude`)}),I({projectId:$(`Project ID is required`),region:z([`us`,`eu`,`in`]).default(`us`),secret:Dt(`Service Account Secret is required`),type:F(`mixpanel`),username:$(`Service Account Username is required`),workspaceId:Et(`Workspace ID is required`)}),I({hostUrl:kt(`Host URL is required`,`Host URL must be a valid URL`).transform(e=>e.replace(/\/+$/,``)),personalApiKey:Dt(`Personal API Key is required`),projectId:$(`Project ID is required`),type:F(`posthog`)}),I({apiBaseUrl:At(`API base URL must be a valid URL`),authToken:Dt(`Auth token is required`),organizationSlug:$(`Organization slug is required`),projectSlug:Et(`Project slug is required`),type:F(`sentry`)}),I({accessToken:Dt(`Access token is required`),installationId:Et(`Installation ID is required`),repositories:V($(`Repository is required`)).optional(),type:F(`github`)}),I({accountId:$(`Account ID is required`),apiBaseUrl:At(`API base URL must be a valid URL`),apiToken:Dt(`API token is required`),scriptName:Et(`Worker script name is required`),type:F(`cloudflare_workers_observability`)}),R([I({apiKey:Dt(`API key is required`),type:F(`linear`)}),I({accessToken:Dt(`Access token is required`),appUserId:Et(`App user ID is required`),expiresAt:Et(`Expiration timestamp is required`),linearOrganizationId:$(`Linear organization ID is required`),linearOrganizationName:Et(`Linear organization name is required`),refreshToken:Ot(`Refresh token is required`),scope:Et(`Scope is required`),tokenType:Et(`Token type is required`),type:F(`linear`)})])]),Rt={BIGQUERY:`bigquery`,CONNECTOR:`aws_athena_connector`,LAMINAR:`laminar`,MYSQL:`mysql`,POSTGRES:`postgres`};Rt.POSTGRES,Rt.MYSQL,Rt.BIGQUERY,Rt.LAMINAR,Rt.CONNECTOR;var zt=I({credentialsText:B().optional(),name:B().min(1,`Name is required`),projectId:B().optional(),propertyId:B().optional()});function Bt(e){return e&&e.trim()||null}function Vt(e,t){let n=e[t];return typeof n==`string`?Bt(n):null}function Ht(e){let t=Vt(e,`project_id`)??Vt(e,`projectId`);if(!t)return{error:`Project ID is required in service account JSON`};let n=Vt(e,`client_email`)??Vt(e,`clientEmail`);if(!n)return{error:`Client email is required in service account JSON`};let r=Vt(e,`private_key`)??Vt(e,`privateKey`);if(!r)return{error:`Private key is required in service account JSON`};let i=Vt(e,`private_key_id`)??Vt(e,`privateKeyId`),a={clientEmail:n,privateKey:r,projectId:t};return{projectId:t,serviceAccount:i?{...a,privateKeyId:i}:a}}function Ut(e,t){let n=e.trim();if(!n)return{error:`Credentials are required`};let r;try{r=JSON.parse(n)}catch{return{error:`Credentials must be valid JSON`}}if(!ee(r))return{error:`Credentials must be a JSON object`};let i=typeof r.type==`string`?r.type:null;if(i===`service_account`){let e=Ht(r);if(`error`in e)return e;let n={authType:`service_account`,serviceAccount:e.serviceAccount,type:t};return t===`bigquery`?{credentials:{...n,projectId:e.projectId}}:{credentials:n}}return i&&i!==t?{error:`Credentials type must be '${t}'`}:{credentials:i?r:{...r,type:t}}}function Wt(e,t,n){let r={...e};if(t===`ga`){let e=Bt(n.propertyId)??(`propertyId`in r&&typeof r.propertyId==`string`?Bt(r.propertyId):null);if(!e)return{error:`Property ID is required`};r.propertyId=e}if(t===`bigquery`){let e=`serviceAccount`in r&&ee(r.serviceAccount)?Vt(r.serviceAccount,`projectId`):null,t=Bt(n.projectId)??(`projectId`in r&&typeof r.projectId==`string`?Bt(r.projectId):null)??e;if(!t)return{error:`Project ID is required`};r.projectId=t}let i=Lt.safeParse(r);return i.success?{credentials:i.data}:{error:i.error.issues.map(e=>e.message).join(`, `)}}function Gt(e){let t=(0,J.c)(89),{provider:n,onSuccess:r,organizationId:i}=e,[a,o]=(0,Y.useState)(null),[s,c]=(0,Y.useState)(null),l=n===`ga`?`Google Analytics`:`BigQuery`,u;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(u={defaultValues:{name:``,credentialsText:``,propertyId:``,projectId:``},resolver:de(zt)},t[0]=u):u=t[0];let d=ue(u),f;t[1]===n?f=t[2]:(f=e=>({id:`temp-${crypto.randomUUID()}`,provider:n,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),t[1]=n,t[2]=f);let p;t[3]!==i||t[4]!==n?(p=async e=>re({organizationId:i,provider:n,name:e.name,credentials:e.credentials}),t[3]=i,t[4]=n,t[5]=p):p=t[5];let m;t[6]===d.setError?m=t[7]:(m=e=>{ht(e,d.setError,`name`)},t[6]=d.setError,t[7]=m);let h;t[8]===r?h=t[9]:(h=e=>{r(e.dataSource.id)},t[8]=r,t[9]=h);let g;t[10]===i?g=t[11]:(g=ae(i),t[10]=i,t[11]=g);let _;t[12]!==f||t[13]!==p||t[14]!==m||t[15]!==h||t[16]!==g.queryKey?(_={createOptimisticItem:f,mutationFn:p,onError:m,onSuccess:h,queryKey:g.queryKey,successMessage:`Data source created successfully`},t[12]=f,t[13]=p,t[14]=m,t[15]=h,t[16]=g.queryKey,t[17]=_):_=t[17];let v=w(_),y;t[18]===d?y=t[19]:(y=e=>{let t=e.target.files?.[0];t&&t.text().then(e=>{d.setValue(`credentialsText`,e,{shouldValidate:!0}),c(t.name),o(null)}).catch(()=>{o(`Failed to read credentials file`)})},t[18]=d,t[19]=y);let b=y,x;t[20]===d?x=t[21]:(x=d.register(`credentialsText`),t[20]=d,t[21]=x);let S=x,C;t[22]!==d||t[23]!==v||t[24]!==n?(C=e=>{d.handleSubmit(e=>{o(null);let t=e.credentialsText??``;if(!t.trim()){o(`Provide a credentials file or JSON.`);return}let r=Ut(t,n);if(`error`in r){o(r.error);return}let i=Wt(r.credentials,n,e);if(`error`in i){o(i.error);return}v.mutate({...e,credentials:i.credentials})})(e)},t[22]=d,t[23]=v,t[24]=n,t[25]=C):C=t[25];let T=`${n}-credentials-name`,E;t[26]===T?E=t[27]:(E=(0,X.jsx)(K,{htmlFor:T,children:`Data Source Name`}),t[26]=T,t[27]=E);let D=`${n}-credentials-name`,O=`My ${l}`,k;t[28]===d?k=t[29]:(k=d.register(`name`),t[28]=d,t[29]=k);let A;t[30]!==D||t[31]!==O||t[32]!==k?(A=(0,X.jsx)(W,{id:D,placeholder:O,...k}),t[30]=D,t[31]=O,t[32]=k,t[33]=A):A=t[33];let j=d.formState.errors.name?.message,M;t[34]===j?M=t[35]:(M=(0,X.jsx)(Q,{message:j}),t[34]=j,t[35]=M);let N;t[36]!==E||t[37]!==A||t[38]!==M?(N=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[E,A,M]}),t[36]=E,t[37]=A,t[38]=M,t[39]=N):N=t[39];let P=`${n}-credentials-file`,F;t[40]===P?F=t[41]:(F=(0,X.jsx)(K,{htmlFor:P,children:`Credentials File`}),t[40]=P,t[41]=F);let I=`${n}-credentials-file`,L;t[42]!==b||t[43]!==I?(L=(0,X.jsx)(W,{id:I,type:`file`,accept:`.json,application/json`,onChange:b}),t[42]=b,t[43]=I,t[44]=L):L=t[44];let R;t[45]===s?R=t[46]:(R=s&&(0,X.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Loaded: `,s]}),t[45]=s,t[46]=R);let z;t[47]!==F||t[48]!==L||t[49]!==R?(z=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[F,L,R]}),t[47]=F,t[48]=L,t[49]=R,t[50]=z):z=t[50];let B;t[51]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,X.jsxs)(`div`,{className:`my-4 flex items-center gap-3 text-xs text-muted-foreground`,children:[(0,X.jsx)(`div`,{className:`h-px flex-1 bg-border`}),(0,X.jsx)(`span`,{className:`uppercase tracking-widest`,children:`Or`}),(0,X.jsx)(`div`,{className:`h-px flex-1 bg-border`})]}),t[51]=B):B=t[51];let V=`${n}-credentials-text`,H;t[52]===V?H=t[53]:(H=(0,X.jsx)(K,{htmlFor:V,children:`Credentials JSON`}),t[52]=V,t[53]=H);let U=`${n}-credentials-text`,ee=`Paste ${l} credentials JSON`,te;t[54]===S?te=t[55]:(te=e=>{S.onChange(e),o(null)},t[54]=S,t[55]=te);let ne;t[56]===Symbol.for(`react.memo_cache_sentinel`)?(ne={fieldSizing:`fixed`},t[56]=ne):ne=t[56];let ie;t[57]!==S||t[58]!==U||t[59]!==ee||t[60]!==te?(ie=(0,X.jsx)(ce,{id:U,placeholder:ee,rows:8,...S,onChange:te,className:`font-mono text-sm h-48 max-h-64 overflow-y-auto resize-y field-sizing-fixed`,style:ne}),t[57]=S,t[58]=U,t[59]=ee,t[60]=te,t[61]=ie):ie=t[61];let G;t[62]===a?G=t[63]:(G=(0,X.jsx)(Q,{message:a}),t[62]=a,t[63]=G);let oe=n===`ga`?` propertyId`:` projectId`,q;t[64]===oe?q=t[65]:(q=(0,X.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Include accessToken, refreshToken, and expiresAt for OAuth. Service account JSON is also supported. Provide`,oe,` here or in the JSON.`]}),t[64]=oe,t[65]=q);let se;t[66]!==H||t[67]!==ie||t[68]!==G||t[69]!==q?(se=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[H,ie,G,q]}),t[66]=H,t[67]=ie,t[68]=G,t[69]=q,t[70]=se):se=t[70];let le;t[71]!==z||t[72]!==se?(le=(0,X.jsxs)(`div`,{className:`rounded-lg border border-dashed p-4`,children:[z,B,se]}),t[71]=z,t[72]=se,t[73]=le):le=t[73];let fe;t[74]!==d||t[75]!==n?(fe=n===`ga`&&(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`ga-property-id`,children:`Property ID`}),(0,X.jsx)(W,{id:`ga-property-id`,placeholder:`properties/123456789`,...d.register(`propertyId`)}),(0,X.jsx)(Q,{message:d.formState.errors.propertyId?.message})]}),t[74]=d,t[75]=n,t[76]=fe):fe=t[76];let pe;t[77]!==d||t[78]!==n?(pe=n===`bigquery`&&(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`bigquery-project-id`,children:`Project ID`}),(0,X.jsx)(W,{id:`bigquery-project-id`,placeholder:`my-project-id`,...d.register(`projectId`)}),(0,X.jsx)(Q,{message:d.formState.errors.projectId?.message})]}),t[77]=d,t[78]=n,t[79]=pe):pe=t[79];let Z;t[80]===v.isPending?Z=t[81]:(Z=(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:v.isPending,pendingLabel:`Creating...`}),t[80]=v.isPending,t[81]=Z);let me;return t[82]!==C||t[83]!==N||t[84]!==le||t[85]!==fe||t[86]!==pe||t[87]!==Z?(me=(0,X.jsxs)(`form`,{onSubmit:C,className:`space-y-4 py-4`,children:[N,le,fe,pe,Z]}),t[82]=C,t[83]=N,t[84]=le,t[85]=fe,t[86]=pe,t[87]=Z,t[88]=me):me=t[88],me}var Kt=`localhost`,qt=`postgres://user:password@host:port/database`,Jt=`postgresql://postgres.[project-ref]:password@aws-0-[region].pooler.supabase.com:5432/postgres`,Yt=`mysql://user:password@host:port/database`,Xt={mysql:{connectionStringFormat:Yt,connectionStringPlaceholder:`mysql://user:password@host:3306/database`,databasePlaceholder:`mydb`,defaultDatabase:``,defaultPort:3306,defaultSslMode:`prefer`,fallbackHost:Kt,hostPlaceholder:Kt,invalidConnectionStringFormat:Yt,isPostgresFamily:!1,namePlaceholder:`My Database`,supportedProtocols:[`mysql`],usernamePlaceholder:`root`},postgres:{connectionStringFormat:qt,connectionStringPlaceholder:`postgres://user:password@host:5432/database`,databasePlaceholder:`mydb`,defaultDatabase:``,defaultPort:5432,defaultSslMode:`prefer`,fallbackHost:Kt,hostPlaceholder:Kt,invalidConnectionStringFormat:qt,isPostgresFamily:!0,namePlaceholder:`My Database`,supportedProtocols:[`postgres`,`postgresql`],usernamePlaceholder:`postgres`},supabase:{connectionStringFormat:Jt,connectionStringPlaceholder:Jt,databasePlaceholder:`postgres`,defaultDatabase:`postgres`,defaultPort:5432,defaultSslMode:`require`,fallbackHost:`aws-0-[region].pooler.supabase.com`,hostPlaceholder:`aws-0-[region].pooler.supabase.com`,invalidConnectionStringFormat:qt,isPostgresFamily:!0,namePlaceholder:`My Supabase`,supportedProtocols:[`postgres`,`postgresql`],usernamePlaceholder:`postgres.your-project-ref`}};function Zt(e){return e===`postgres`||e===`supabase`||e===`mysql`}function Qt(e){return Xt[e]}var $t=`prefer`;function en(e){if(e===null)return;let t=e.trim().toLowerCase();if(t===`disable`||t===`prefer`||t===`require`)return t}function tn(e){return en(e)??$t}function nn(e,t){let n=e.trim();if(!n)return null;try{let e=new URL(n),r=e.protocol.replace(`:`,``),i=Qt(t);return i.supportedProtocols.includes(r)?{database:e.pathname.slice(1)||``,host:e.hostname||i.fallbackHost,password:decodeURIComponent(e.password)||``,port:e.port?Number.parseInt(e.port,10):i.defaultPort,sslMode:i.isPostgresFamily?tn(e.searchParams.get(`sslmode`)):void 0,username:decodeURIComponent(e.username)||``}:null}catch{return null}}function rn(e){return Qt(e).connectionStringPlaceholder}function an(e){return Qt(e).connectionStringFormat}function on(e){return`Invalid connection string format. Expected: ${Qt(e).invalidConnectionStringFormat}`}var sn=I({database:B().min(1,`Database name is required`),host:B().min(1,`Host is required`),name:B().min(1,`Name is required`),password:B().min(1,`Password is required`),port:U().min(1).max(65535),provider:z([`postgres`,`supabase`,`mysql`]),sslMode:z([`disable`,`prefer`,`require`]).optional(),username:B().min(1,`Username is required`)});function cn(e){let t=(0,J.c)(119),{provider:n,onSuccess:r,organizationId:i}=e,a;t[0]===n?a=t[1]:(a=Qt(n),t[0]=n,t[1]=a);let o=a,[s,c]=(0,Y.useState)(``),[l,u]=(0,Y.useState)(null),d;t[2]!==n||t[3]!==o.defaultDatabase||t[4]!==o.defaultPort||t[5]!==o.defaultSslMode?(d={provider:n,name:``,host:``,port:o.defaultPort,database:o.defaultDatabase,username:``,password:``,sslMode:o.defaultSslMode},t[2]=n,t[3]=o.defaultDatabase,t[4]=o.defaultPort,t[5]=o.defaultSslMode,t[6]=d):d=t[6];let f;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(f=de(sn),t[7]=f):f=t[7];let p;t[8]===d?p=t[9]:(p={defaultValues:d,resolver:f},t[8]=d,t[9]=p);let m=ue(p),h;t[10]===i?h=t[11]:(h=async e=>{let t=Qt(e.provider),n=t.isPostgresFamily?{type:`postgres`,host:e.host,port:e.port,database:e.database,username:e.username,password:e.password,sslMode:e.sslMode??t.defaultSslMode}:{type:`mysql`,host:e.host,port:e.port,database:e.database,username:e.username,password:e.password,sslMode:e.sslMode??t.defaultSslMode};return re({organizationId:i,provider:e.provider,name:e.name,credentials:n})},t[10]=i,t[11]=h);let g;t[12]===m.setError?g=t[13]:(g=e=>{ht(e,m.setError,`name`)},t[12]=m.setError,t[13]=g);let _;t[14]===r?_=t[15]:(_=e=>{r(e.dataSource.id)},t[14]=r,t[15]=_);let v;t[16]===i?v=t[17]:(v=ae(i),t[16]=i,t[17]=v);let y;t[18]!==h||t[19]!==g||t[20]!==_||t[21]!==v.queryKey?(y={createOptimisticItem:ln,mutationFn:h,onError:g,onSuccess:_,queryKey:v.queryKey,successMessage:`Data source created successfully`},t[18]=h,t[19]=g,t[20]=_,t[21]=v.queryKey,t[22]=y):y=t[22];let b=w(y),x;t[23]===b?x=t[24]:(x=e=>{b.mutate(e)},t[23]=b,t[24]=x);let S=x,C;t[25]!==s||t[26]!==m||t[27]!==b||t[28]!==n||t[29]!==o.defaultPort||t[30]!==o.defaultSslMode||t[31]!==o.fallbackHost?(C=e=>{e.preventDefault(),u(null);let t=m.getValues(`name`);if(!t){m.setError(`name`,{message:`Name is required`});return}let r=nn(s,n);if(!r){u(on(n));return}if(!r.database){u(`Database name is required in connection string`);return}if(!r.username){u(`Username is required in connection string`);return}b.mutate({database:r.database,host:r.host??o.fallbackHost,name:t,password:r.password??``,port:r.port??o.defaultPort,provider:n,sslMode:r.sslMode??o.defaultSslMode,username:r.username})},t[25]=s,t[26]=m,t[27]=b,t[28]=n,t[29]=o.defaultPort,t[30]=o.defaultSslMode,t[31]=o.fallbackHost,t[32]=C):C=t[32];let T=C,E;t[33]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,X.jsx)(K,{htmlFor:`name`,children:`Data Source Name`}),t[33]=E):E=t[33];let D=o.namePlaceholder,O;t[34]===m?O=t[35]:(O=m.register(`name`),t[34]=m,t[35]=O);let k;t[36]!==o.namePlaceholder||t[37]!==O?(k=(0,X.jsx)(W,{id:`name`,placeholder:D,...O}),t[36]=o.namePlaceholder,t[37]=O,t[38]=k):k=t[38];let A=m.formState.errors.name?.message,j;t[39]===A?j=t[40]:(j=(0,X.jsx)(Q,{message:A}),t[39]=A,t[40]=j);let M;t[41]!==k||t[42]!==j?(M=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[E,k,j]}),t[41]=k,t[42]=j,t[43]=M):M=t[43];let N;t[44]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,X.jsxs)(Ke,{className:`w-full`,children:[(0,X.jsx)(qe,{value:`url`,className:`flex-1`,children:`Connection URL`}),(0,X.jsx)(qe,{value:`manual`,className:`flex-1`,children:`Manual`})]}),t[44]=N):N=t[44];let P;t[45]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,X.jsx)(K,{htmlFor:`connectionString`,children:`Connection String`}),t[45]=P):P=t[45];let F;t[46]===n?F=t[47]:(F=rn(n),t[46]=n,t[47]=F);let I;t[48]===Symbol.for(`react.memo_cache_sentinel`)?(I=e=>{c(e.target.value),u(null)},t[48]=I):I=t[48];let L;t[49]!==s||t[50]!==F?(L=(0,X.jsx)(W,{id:`connectionString`,type:`text`,placeholder:F,value:s,onChange:I,className:`font-mono text-sm`}),t[49]=s,t[50]=F,t[51]=L):L=t[51];let R;t[52]===l?R=t[53]:(R=(0,X.jsx)(Q,{message:l}),t[52]=l,t[53]=R);let z;t[54]===n?z=t[55]:(z=an(n),t[54]=n,t[55]=z);let B;t[56]===z?B=t[57]:(B=(0,X.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Format: `,z]}),t[56]=z,t[57]=B);let V;t[58]!==L||t[59]!==R||t[60]!==B?(V=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[P,L,R,B]}),t[58]=L,t[59]=R,t[60]=B,t[61]=V):V=t[61];let H;t[62]===b.isPending?H=t[63]:(H=(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:b.isPending,pendingLabel:`Creating...`}),t[62]=b.isPending,t[63]=H);let U;t[64]!==T||t[65]!==V||t[66]!==H?(U=(0,X.jsx)(Je,{value:`url`,className:`pt-4`,children:(0,X.jsxs)(`form`,{onSubmit:T,className:`space-y-4`,children:[V,H]})}),t[64]=T,t[65]=V,t[66]=H,t[67]=U):U=t[67];let ee;t[68]!==m||t[69]!==S?(ee=e=>{m.handleSubmit(S)(e)},t[68]=m,t[69]=S,t[70]=ee):ee=t[70];let te;t[71]===Symbol.for(`react.memo_cache_sentinel`)?(te=(0,X.jsx)(K,{htmlFor:`host`,children:`Host`}),t[71]=te):te=t[71];let ne=o.hostPlaceholder,ie;t[72]===m?ie=t[73]:(ie=m.register(`host`),t[72]=m,t[73]=ie);let G;t[74]!==o.hostPlaceholder||t[75]!==ie?(G=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[te,(0,X.jsx)(W,{id:`host`,placeholder:ne,...ie})]}),t[74]=o.hostPlaceholder,t[75]=ie,t[76]=G):G=t[76];let oe;t[77]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,X.jsx)(K,{htmlFor:`port`,children:`Port`}),t[77]=oe):oe=t[77];let q;t[78]===m?q=t[79]:(q=m.register(`port`,{valueAsNumber:!0}),t[78]=m,t[79]=q);let se;t[80]===q?se=t[81]:(se=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[oe,(0,X.jsx)(W,{id:`port`,type:`number`,...q})]}),t[80]=q,t[81]=se);let ce;t[82]!==G||t[83]!==se?(ce=(0,X.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[G,se]}),t[82]=G,t[83]=se,t[84]=ce):ce=t[84];let le;t[85]===Symbol.for(`react.memo_cache_sentinel`)?(le=(0,X.jsx)(K,{htmlFor:`database`,children:`Database`}),t[85]=le):le=t[85];let fe=o.databasePlaceholder,pe;t[86]===m?pe=t[87]:(pe=m.register(`database`),t[86]=m,t[87]=pe);let Z;t[88]!==o.databasePlaceholder||t[89]!==pe?(Z=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[le,(0,X.jsx)(W,{id:`database`,placeholder:fe,...pe})]}),t[88]=o.databasePlaceholder,t[89]=pe,t[90]=Z):Z=t[90];let me;t[91]===Symbol.for(`react.memo_cache_sentinel`)?(me=(0,X.jsx)(K,{htmlFor:`username`,children:`Username`}),t[91]=me):me=t[91];let he=o.usernamePlaceholder,ge;t[92]===m?ge=t[93]:(ge=m.register(`username`),t[92]=m,t[93]=ge);let _e;t[94]!==o.usernamePlaceholder||t[95]!==ge?(_e=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[me,(0,X.jsx)(W,{id:`username`,placeholder:he,...ge})]}),t[94]=o.usernamePlaceholder,t[95]=ge,t[96]=_e):_e=t[96];let ve;t[97]===Symbol.for(`react.memo_cache_sentinel`)?(ve=(0,X.jsx)(K,{htmlFor:`password`,children:`Password`}),t[97]=ve):ve=t[97];let ye;t[98]===m?ye=t[99]:(ye=m.register(`password`),t[98]=m,t[99]=ye);let be;t[100]===ye?be=t[101]:(be=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[ve,(0,X.jsx)(W,{id:`password`,type:`password`,...ye})]}),t[100]=ye,t[101]=be);let xe;t[102]!==_e||t[103]!==be?(xe=(0,X.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[_e,be]}),t[102]=_e,t[103]=be,t[104]=xe):xe=t[104];let Se;t[105]===b.isPending?Se=t[106]:(Se=(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:b.isPending,pendingLabel:`Creating...`}),t[105]=b.isPending,t[106]=Se);let Ce;t[107]!==ee||t[108]!==ce||t[109]!==Z||t[110]!==xe||t[111]!==Se?(Ce=(0,X.jsx)(Je,{value:`manual`,className:`pt-4`,children:(0,X.jsxs)(`form`,{onSubmit:ee,className:`space-y-4`,children:[ce,Z,xe,Se]})}),t[107]=ee,t[108]=ce,t[109]=Z,t[110]=xe,t[111]=Se,t[112]=Ce):Ce=t[112];let we;t[113]!==U||t[114]!==Ce?(we=(0,X.jsxs)(We,{defaultValue:`url`,children:[N,U,Ce]}),t[113]=U,t[114]=Ce,t[115]=we):we=t[115];let Te;return t[116]!==M||t[117]!==we?(Te=(0,X.jsxs)(`div`,{className:`space-y-4`,children:[M,we]}),t[116]=M,t[117]=we,t[118]=Te):Te=t[118],Te}function ln(e){return{id:`temp-${crypto.randomUUID()}`,provider:e.provider,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var un=I({accessToken:B().min(1,`Access token is required`),name:B().min(1,`Name is required`)});function dn(e){let t=(0,J.c)(45),{organizationId:n,onSuccess:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,accessToken:``},resolver:de(un)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===n?o=t[2]:(o=async e=>{let t={type:`github`,accessToken:e.accessToken};return re({organizationId:n,provider:`github`,name:e.name,credentials:t})},t[1]=n,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{ht(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===r?c=t[6]:(c=e=>{r?.(e.dataSource.id)},t[5]=r,t[6]=c);let l;t[7]===n?l=t[8]:(l=ae(n),t[7]=n,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:fn,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`GitHub connected`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]!==a||t[15]!==d?(f=e=>{a.handleSubmit(e=>{d.mutate(e)})(e)},t[14]=a,t[15]=d,t[16]=f):f=t[16];let p;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsx)(K,{htmlFor:`github-token-name`,children:`Data Source Name`}),t[17]=p):p=t[17];let m;t[18]===a?m=t[19]:(m=a.register(`name`),t[18]=a,t[19]=m);let h;t[20]===m?h=t[21]:(h=(0,X.jsx)(W,{id:`github-token-name`,placeholder:`GitHub`,...m}),t[20]=m,t[21]=h);let g=a.formState.errors.name?.message,_;t[22]===g?_=t[23]:(_=(0,X.jsx)(Q,{message:g}),t[22]=g,t[23]=_);let v;t[24]!==h||t[25]!==_?(v=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[p,h,_]}),t[24]=h,t[25]=_,t[26]=v):v=t[26];let y;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,X.jsx)(K,{htmlFor:`github-access-token`,children:`Access Token`}),t[27]=y):y=t[27];let b;t[28]===a?b=t[29]:(b=a.register(`accessToken`),t[28]=a,t[29]=b);let x;t[30]===b?x=t[31]:(x=(0,X.jsx)(W,{id:`github-access-token`,type:`password`,placeholder:`ghp_...`,...b}),t[30]=b,t[31]=x);let S=a.formState.errors.accessToken?.message,C;t[32]===S?C=t[33]:(C=(0,X.jsx)(Q,{message:S}),t[32]=S,t[33]=C);let T;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Use a fine-grained personal access token with read-only access to repositories and issues.`}),t[34]=T):T=t[34];let E;t[35]!==x||t[36]!==C?(E=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[y,x,C,T]}),t[35]=x,t[36]=C,t[37]=E):E=t[37];let D;t[38]===d.isPending?D=t[39]:(D=(0,X.jsx)(mt,{idleLabel:`Connect GitHub`,isPending:d.isPending,pendingLabel:`Connecting...`}),t[38]=d.isPending,t[39]=D);let O;return t[40]!==v||t[41]!==E||t[42]!==D||t[43]!==f?(O=(0,X.jsxs)(`form`,{onSubmit:f,className:`space-y-4`,children:[v,E,D]}),t[40]=v,t[41]=E,t[42]=D,t[43]=f,t[44]=O):O=t[44],O}function fn(e){return{id:`temp-${crypto.randomUUID()}`,provider:`github`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}function pn(e){try{let t=JSON.parse(e);return typeof t!=`object`||!t||Array.isArray(t)?null:t}catch{return null}}var mn=I({credentials:B().refine(e=>pn(e)!==null,{message:`Credentials must be a valid JSON object`}),name:B().min(1,`Name is required`)});function hn(e){let t=(0,J.c)(64),{organizationId:n,onSuccess:r,provider:i}=e,a=i.label,o;t[0]===i.credentialExample?o=t[1]:(o=JSON.stringify(i.credentialExample,null,2),t[0]=i.credentialExample,t[1]=o);let s;t[2]!==i.label||t[3]!==o?(s={name:a,credentials:o},t[2]=i.label,t[3]=o,t[4]=s):s=t[4];let c;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(c=de(mn),t[5]=c):c=t[5];let l;t[6]===s?l=t[7]:(l={defaultValues:s,resolver:c},t[6]=s,t[7]=l);let u=ue(l),d;t[8]===i.id?d=t[9]:(d=e=>({id:`temp-${crypto.randomUUID()}`,provider:i.id,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),t[8]=i.id,t[9]=d);let f;t[10]!==n||t[11]!==i.id?(f=async e=>{let t=pn(e.credentials);if(!t)throw Error(`Credentials must be a valid JSON object`);return re({organizationId:n,provider:i.id,name:e.name.trim(),credentials:t})},t[10]=n,t[11]=i.id,t[12]=f):f=t[12];let p;t[13]===u.setError?p=t[14]:(p=e=>{ht(e,u.setError,`name`)},t[13]=u.setError,t[14]=p);let m;t[15]===r?m=t[16]:(m=e=>{r(e.dataSource.id)},t[15]=r,t[16]=m);let h;t[17]===n?h=t[18]:(h=ae(n),t[17]=n,t[18]=h);let g;t[19]!==h.queryKey||t[20]!==d||t[21]!==f||t[22]!==p||t[23]!==m?(g={createOptimisticItem:d,mutationFn:f,onError:p,onSuccess:m,queryKey:h.queryKey,successMessage:`Data source created successfully`},t[19]=h.queryKey,t[20]=d,t[21]=f,t[22]=p,t[23]=m,t[24]=g):g=t[24];let _=w(g),v;t[25]===_?v=t[26]:(v=e=>{_.mutate(e)},t[25]=_,t[26]=v);let y=v,b;t[27]!==u||t[28]!==y?(b=e=>{u.handleSubmit(y)(e)},t[27]=u,t[28]=y,t[29]=b):b=t[29];let x=`${i.id}-name`,S;t[30]===x?S=t[31]:(S=(0,X.jsx)(K,{htmlFor:x,children:`Data Source Name`}),t[30]=x,t[31]=S);let C=`${i.id}-name`,T=i.label,E;t[32]===u?E=t[33]:(E=u.register(`name`),t[32]=u,t[33]=E);let D;t[34]!==i.label||t[35]!==C||t[36]!==E?(D=(0,X.jsx)(W,{id:C,placeholder:T,...E}),t[34]=i.label,t[35]=C,t[36]=E,t[37]=D):D=t[37];let O=u.formState.errors.name?.message,k;t[38]===O?k=t[39]:(k=(0,X.jsx)(Q,{message:O}),t[38]=O,t[39]=k);let A;t[40]!==S||t[41]!==D||t[42]!==k?(A=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[S,D,k]}),t[40]=S,t[41]=D,t[42]=k,t[43]=A):A=t[43];let j=`${i.id}-credentials`,M;t[44]===j?M=t[45]:(M=(0,X.jsx)(K,{htmlFor:j,children:`Credentials JSON`}),t[44]=j,t[45]=M);let N=`${i.id}-credentials`,P;t[46]===u?P=t[47]:(P=u.register(`credentials`),t[46]=u,t[47]=P);let F;t[48]!==N||t[49]!==P?(F=(0,X.jsx)(ce,{id:N,className:`min-h-56 font-mono text-sm`,spellCheck:!1,...P}),t[48]=N,t[49]=P,t[50]=F):F=t[50];let I=u.formState.errors.credentials?.message,L;t[51]===I?L=t[52]:(L=(0,X.jsx)(Q,{message:I}),t[51]=I,t[52]=L);let R;t[53]!==M||t[54]!==F||t[55]!==L?(R=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[M,F,L]}),t[53]=M,t[54]=F,t[55]=L,t[56]=R):R=t[56];let z;t[57]===_.isPending?z=t[58]:(z=(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:_.isPending,pendingLabel:`Creating...`}),t[57]=_.isPending,t[58]=z);let B;return t[59]!==b||t[60]!==A||t[61]!==R||t[62]!==z?(B=(0,X.jsxs)(`form`,{onSubmit:b,className:`space-y-4`,children:[A,R,z]}),t[59]=b,t[60]=A,t[61]=R,t[62]=z,t[63]=B):B=t[63],B}var gn=I({apiBaseUrl:R([L(`API Base URL must be a valid URL`),F(``)]),apiKey:B().min(1,`API Key is required`),name:B().min(1,`Name is required`)});function _n(e){let t=(0,J.c)(58),{organizationId:n,onSuccess:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,apiKey:``,apiBaseUrl:``},resolver:de(gn)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===n?o=t[2]:(o=async e=>{let t={type:`laminar`,apiKey:e.apiKey.trim()},r=e.apiBaseUrl.trim();return r&&(t.apiBaseUrl=r),re({organizationId:n,provider:`laminar`,name:e.name.trim(),credentials:t})},t[1]=n,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{ht(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===r?c=t[6]:(c=e=>{r(e.dataSource.id)},t[5]=r,t[6]=c);let l;t[7]===n?l=t[8]:(l=ae(n),t[7]=n,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:vn,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]===d?f=t[15]:(f=e=>{d.mutate(e)},t[14]=d,t[15]=f);let p=f,m;t[16]!==a||t[17]!==p?(m=e=>{a.handleSubmit(p)(e)},t[16]=a,t[17]=p,t[18]=m):m=t[18];let h;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,X.jsx)(K,{htmlFor:`laminar-name`,children:`Data Source Name`}),t[19]=h):h=t[19];let g;t[20]===a?g=t[21]:(g=a.register(`name`),t[20]=a,t[21]=g);let _;t[22]===g?_=t[23]:(_=(0,X.jsx)(W,{id:`laminar-name`,placeholder:`Laminar`,...g}),t[22]=g,t[23]=_);let v=a.formState.errors.name?.message,y;t[24]===v?y=t[25]:(y=(0,X.jsx)(Q,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[h,_,y]}),t[26]=_,t[27]=y,t[28]=b):b=t[28];let x;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,X.jsx)(K,{htmlFor:`laminar-api-key`,children:`API Key`}),t[29]=x):x=t[29];let S;t[30]===a?S=t[31]:(S=a.register(`apiKey`),t[30]=a,t[31]=S);let C;t[32]===S?C=t[33]:(C=(0,X.jsx)(W,{id:`laminar-api-key`,type:`password`,placeholder:`lmnr_project_key_...`,...S}),t[32]=S,t[33]=C);let T=a.formState.errors.apiKey?.message,E;t[34]===T?E=t[35]:(E=(0,X.jsx)(Q,{message:T}),t[34]=T,t[35]=E);let D;t[36]!==C||t[37]!==E?(D=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[x,C,E]}),t[36]=C,t[37]=E,t[38]=D):D=t[38];let O;t[39]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,X.jsx)(K,{htmlFor:`laminar-api-base-url`,children:`API Base URL (optional)`}),t[39]=O):O=t[39];let k;t[40]===a?k=t[41]:(k=a.register(`apiBaseUrl`),t[40]=a,t[41]=k);let A;t[42]===k?A=t[43]:(A=(0,X.jsx)(W,{id:`laminar-api-base-url`,placeholder:`https://api.lmnr.ai`,...k}),t[42]=k,t[43]=A);let j=a.formState.errors.apiBaseUrl?.message,M;t[44]===j?M=t[45]:(M=(0,X.jsx)(Q,{message:j}),t[44]=j,t[45]=M);let N;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Leave blank to use the default Laminar endpoint.`}),t[46]=N):N=t[46];let P;t[47]!==A||t[48]!==M?(P=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[O,A,M,N]}),t[47]=A,t[48]=M,t[49]=P):P=t[49];let F;t[50]===d.isPending?F=t[51]:(F=(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[50]=d.isPending,t[51]=F);let I;return t[52]!==b||t[53]!==D||t[54]!==P||t[55]!==F||t[56]!==m?(I=(0,X.jsxs)(`form`,{onSubmit:m,className:`space-y-4`,children:[b,D,P,F]}),t[52]=b,t[53]=D,t[54]=P,t[55]=F,t[56]=m,t[57]=I):I=t[57],I}function vn(e){return{id:`temp-${crypto.randomUUID()}`,provider:`laminar`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var yn=I({name:B().min(1,`Name is required`),projectId:B().min(1,`Project ID is required`),region:z([`us`,`eu`,`in`]),secret:B().min(1,`Service Account Secret is required`),username:B().min(1,`Service Account Username is required`),workspaceId:B().optional()}),bn=[{label:`US (Standard)`,value:`us`},{label:`EU (Europe)`,value:`eu`},{label:`IN (India)`,value:`in`}];function xn(e){return e===`us`||e===`eu`||e===`in`}function Sn({onSuccess:e,organizationId:t}){let n=ue({defaultValues:{name:``,username:``,secret:``,projectId:``,workspaceId:``,region:`us`},resolver:de(yn)}),r=w({createOptimisticItem:e=>({id:`temp-${crypto.randomUUID()}`,provider:`mixpanel`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),mutationFn:async e=>{let n={type:`mixpanel`,username:e.username,secret:e.secret,projectId:e.projectId,workspaceId:e.workspaceId?.trim()||void 0,region:e.region};return re({organizationId:t,provider:`mixpanel`,name:e.name,credentials:n})},onError:e=>{ht(e,n.setError,`name`)},onSuccess:t=>{e(t.dataSource.id)},queryKey:ae(t).queryKey,successMessage:`Data source created successfully`});return(0,X.jsxs)(`form`,{onSubmit:e=>{n.handleSubmit(e=>{r.mutate(e)})(e)},className:`space-y-4`,children:[(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-name`,children:`Data Source Name`}),(0,X.jsx)(W,{id:`mixpanel-name`,placeholder:`My Mixpanel`,...n.register(`name`)}),(0,X.jsx)(Q,{message:n.formState.errors.name?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-projectId`,children:`Project ID`}),(0,X.jsx)(W,{id:`mixpanel-projectId`,placeholder:`Enter your Mixpanel Project ID`,...n.register(`projectId`)}),(0,X.jsx)(Q,{message:n.formState.errors.projectId?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-username`,children:`Service Account Username`}),(0,X.jsx)(W,{id:`mixpanel-username`,placeholder:`Enter your Service Account Username`,...n.register(`username`)}),(0,X.jsx)(Q,{message:n.formState.errors.username?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-secret`,children:`Service Account Secret`}),(0,X.jsx)(W,{id:`mixpanel-secret`,type:`password`,placeholder:`Enter your Service Account Secret`,...n.register(`secret`)}),(0,X.jsx)(Q,{message:n.formState.errors.secret?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-workspaceId`,children:`Workspace ID (optional)`}),(0,X.jsx)(W,{id:`mixpanel-workspaceId`,placeholder:`Enter workspace ID if your project uses Data Views`,...n.register(`workspaceId`)})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-region`,children:`Region`}),(0,X.jsxs)(v,{items:[...bn],value:n.watch(`region`),onValueChange:e=>{xn(e)&&n.setValue(`region`,e)},children:[(0,X.jsx)(h,{id:`mixpanel-region`,children:(0,X.jsx)(m,{})}),(0,X.jsx)(g,{children:bn.map(e=>(0,X.jsx)(_,{value:e.value,children:e.label},e.value))})]})]}),(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:r.isPending,pendingLabel:`Creating...`})]})}var Cn=I({connectionString:B().min(1,`Connection string is required`),database:B().optional(),databases:B().optional(),name:B().min(1,`Name is required`)});function wn(e){let t=e?.trim();if(!t)return;let n=new Set,r=[],i=t.split(`,`);for(let e of i){let t=e.trim();!t||n.has(t)||(n.add(t),r.push(t))}return r.length>0?r:void 0}function Tn(e){return e?.trim()||void 0}function En(e){let t=(0,J.c)(62),{onSuccess:n,organizationId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,connectionString:``,database:``,databases:``},resolver:de(Cn)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===r?o=t[2]:(o=async e=>{let t={type:`mongodb`,connectionString:e.connectionString.trim()},n=Tn(e.database);n&&(t.database=n);let i=wn(e.databases);return i&&(t.databases=i),re({organizationId:r,provider:`mongodb`,name:e.name.trim(),credentials:t})},t[1]=r,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{ht(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===n?c=t[6]:(c=e=>{n(e.dataSource.id)},t[5]=n,t[6]=c);let l;t[7]===r?l=t[8]:(l=ae(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:Dn,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]===d?f=t[15]:(f=e=>{d.mutate(e)},t[14]=d,t[15]=f);let p=f,m;t[16]!==a||t[17]!==p?(m=e=>{a.handleSubmit(p)(e)},t[16]=a,t[17]=p,t[18]=m):m=t[18];let h;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,X.jsx)(K,{htmlFor:`mongodb-name`,children:`Data Source Name`}),t[19]=h):h=t[19];let g;t[20]===a?g=t[21]:(g=a.register(`name`),t[20]=a,t[21]=g);let _;t[22]===g?_=t[23]:(_=(0,X.jsx)(W,{id:`mongodb-name`,placeholder:`MongoDB`,...g}),t[22]=g,t[23]=_);let v=a.formState.errors.name?.message,y;t[24]===v?y=t[25]:(y=(0,X.jsx)(Q,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[h,_,y]}),t[26]=_,t[27]=y,t[28]=b):b=t[28];let x;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,X.jsx)(K,{htmlFor:`mongodb-connection`,children:`Connection String`}),t[29]=x):x=t[29];let S;t[30]===a?S=t[31]:(S=a.register(`connectionString`),t[30]=a,t[31]=S);let C;t[32]===S?C=t[33]:(C=(0,X.jsx)(W,{id:`mongodb-connection`,placeholder:`mongodb+srv://user:pass@cluster0.example.mongodb.net/`,className:`font-mono text-sm`,...S}),t[32]=S,t[33]=C);let T=a.formState.errors.connectionString?.message,E;t[34]===T?E=t[35]:(E=(0,X.jsx)(Q,{message:T}),t[34]=T,t[35]=E);let D;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Include the database in the URL path or set it below.`}),t[36]=D):D=t[36];let O;t[37]!==C||t[38]!==E?(O=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[x,C,E,D]}),t[37]=C,t[38]=E,t[39]=O):O=t[39];let k;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,X.jsx)(K,{htmlFor:`mongodb-database`,children:`Default Database (optional)`}),t[40]=k):k=t[40];let A;t[41]===a?A=t[42]:(A=a.register(`database`),t[41]=a,t[42]=A);let j;t[43]===A?j=t[44]:(j=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[k,(0,X.jsx)(W,{id:`mongodb-database`,placeholder:`analytics`,...A})]}),t[43]=A,t[44]=j);let M;t[45]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,X.jsx)(K,{htmlFor:`mongodb-databases`,children:`Allowed Databases (optional)`}),t[45]=M):M=t[45];let N;t[46]===a?N=t[47]:(N=a.register(`databases`),t[46]=a,t[47]=N);let P;t[48]===N?P=t[49]:(P=(0,X.jsx)(ce,{id:`mongodb-databases`,placeholder:`analytics, app, reporting`,...N}),t[48]=N,t[49]=P);let F;t[50]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Comma-separated list of databases the agent can access.`}),t[50]=F):F=t[50];let I;t[51]===P?I=t[52]:(I=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[M,P,F]}),t[51]=P,t[52]=I);let L;t[53]===d.isPending?L=t[54]:(L=(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[53]=d.isPending,t[54]=L);let R;return t[55]!==b||t[56]!==O||t[57]!==j||t[58]!==I||t[59]!==L||t[60]!==m?(R=(0,X.jsxs)(`form`,{onSubmit:m,className:`space-y-4`,children:[b,O,j,I,L]}),t[55]=b,t[56]=O,t[57]=j,t[58]=I,t[59]=L,t[60]=m,t[61]=R):R=t[61],R}function Dn(e){return{id:`temp-${crypto.randomUUID()}`,provider:`mongodb`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var On=I({hostUrl:B().min(1,`Host URL is required`).pipe(L(`Invalid host URL`)),name:B().min(1,`Name is required`),personalApiKey:B().min(1,`Personal API Key is required`),projectId:B().min(1,`Project ID is required`)});function kn(e){let t=(0,J.c)(67),{onSuccess:n,organizationId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,projectId:``,personalApiKey:``,hostUrl:`https://us.posthog.com`},resolver:de(On)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===r?o=t[2]:(o=async e=>{let t={type:`posthog`,projectId:e.projectId,personalApiKey:e.personalApiKey,hostUrl:e.hostUrl.trim()};return re({organizationId:r,provider:`posthog`,name:e.name,credentials:t})},t[1]=r,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{ht(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===n?c=t[6]:(c=e=>{n(e.dataSource.id)},t[5]=n,t[6]=c);let l;t[7]===r?l=t[8]:(l=ae(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:An,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]!==a||t[15]!==d?(f=e=>{a.handleSubmit(e=>{d.mutate(e)})(e)},t[14]=a,t[15]=d,t[16]=f):f=t[16];let p;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsx)(K,{htmlFor:`posthog-name`,children:`Data Source Name`}),t[17]=p):p=t[17];let m;t[18]===a?m=t[19]:(m=a.register(`name`),t[18]=a,t[19]=m);let h;t[20]===m?h=t[21]:(h=(0,X.jsx)(W,{id:`posthog-name`,placeholder:`My PostHog`,...m}),t[20]=m,t[21]=h);let g=a.formState.errors.name?.message,_;t[22]===g?_=t[23]:(_=(0,X.jsx)(Q,{message:g}),t[22]=g,t[23]=_);let v;t[24]!==h||t[25]!==_?(v=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[p,h,_]}),t[24]=h,t[25]=_,t[26]=v):v=t[26];let y;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,X.jsx)(K,{htmlFor:`posthog-projectId`,children:`Project ID`}),t[27]=y):y=t[27];let b;t[28]===a?b=t[29]:(b=a.register(`projectId`),t[28]=a,t[29]=b);let x;t[30]===b?x=t[31]:(x=(0,X.jsx)(W,{id:`posthog-projectId`,placeholder:`Enter your PostHog Project ID`,...b}),t[30]=b,t[31]=x);let S=a.formState.errors.projectId?.message,C;t[32]===S?C=t[33]:(C=(0,X.jsx)(Q,{message:S}),t[32]=S,t[33]=C);let T;t[34]!==x||t[35]!==C?(T=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[y,x,C]}),t[34]=x,t[35]=C,t[36]=T):T=t[36];let E;t[37]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,X.jsx)(K,{htmlFor:`posthog-personalApiKey`,children:`Personal API Key`}),t[37]=E):E=t[37];let D;t[38]===a?D=t[39]:(D=a.register(`personalApiKey`),t[38]=a,t[39]=D);let O;t[40]===D?O=t[41]:(O=(0,X.jsx)(W,{id:`posthog-personalApiKey`,type:`password`,placeholder:`Enter your PostHog Personal API Key`,...D}),t[40]=D,t[41]=O);let k=a.formState.errors.personalApiKey?.message,A;t[42]===k?A=t[43]:(A=(0,X.jsx)(Q,{message:k}),t[42]=k,t[43]=A);let j;t[44]!==O||t[45]!==A?(j=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[E,O,A]}),t[44]=O,t[45]=A,t[46]=j):j=t[46];let M;t[47]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,X.jsx)(K,{htmlFor:`posthog-hostUrl`,children:`Host URL`}),t[47]=M):M=t[47];let N;t[48]===a?N=t[49]:(N=a.register(`hostUrl`),t[48]=a,t[49]=N);let P;t[50]===N?P=t[51]:(P=(0,X.jsx)(W,{id:`posthog-hostUrl`,placeholder:`https://us.posthog.com`,...N}),t[50]=N,t[51]=P);let F=a.formState.errors.hostUrl?.message,I;t[52]===F?I=t[53]:(I=(0,X.jsx)(Q,{message:F}),t[52]=F,t[53]=I);let L;t[54]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:"Use `https://us.posthog.com`, `https://eu.posthog.com`, or your self-hosted base URL."}),t[54]=L):L=t[54];let R;t[55]!==P||t[56]!==I?(R=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[M,P,I,L]}),t[55]=P,t[56]=I,t[57]=R):R=t[57];let z;t[58]===d.isPending?z=t[59]:(z=(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[58]=d.isPending,t[59]=z);let B;return t[60]!==v||t[61]!==T||t[62]!==j||t[63]!==R||t[64]!==z||t[65]!==f?(B=(0,X.jsxs)(`form`,{onSubmit:f,className:`space-y-4`,children:[v,T,j,R,z]}),t[60]=v,t[61]=T,t[62]=j,t[63]=R,t[64]=z,t[65]=f,t[66]=B):B=t[66],B}function An(e){return{id:`temp-${crypto.randomUUID()}`,provider:`posthog`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var jn=I({apiBaseUrl:R([F(``),L(`API base URL must be a valid URL`)]),authToken:B().min(1,`Auth token is required`),name:B().min(1,`Name is required`),organizationSlug:B().min(1,`Organization slug is required`),projectSlug:B().optional()});function Mn(e){let t=(0,J.c)(72),{onSuccess:n,organizationId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,authToken:``,organizationSlug:``,projectSlug:``,apiBaseUrl:``},resolver:de(jn)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===r?o=t[2]:(o=async e=>{let t={type:`sentry`,authToken:e.authToken,organizationSlug:e.organizationSlug,projectSlug:e.projectSlug?.trim()||void 0,apiBaseUrl:e.apiBaseUrl.trim()||void 0};return re({organizationId:r,provider:`sentry`,name:e.name,credentials:t})},t[1]=r,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{ht(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===n?c=t[6]:(c=e=>{n(e.dataSource.id)},t[5]=n,t[6]=c);let l;t[7]===r?l=t[8]:(l=ae(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:Nn,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]!==a||t[15]!==d?(f=e=>{a.handleSubmit(e=>{d.mutate(e)})(e)},t[14]=a,t[15]=d,t[16]=f):f=t[16];let p;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsx)(K,{htmlFor:`sentry-name`,children:`Data Source Name`}),t[17]=p):p=t[17];let m;t[18]===a?m=t[19]:(m=a.register(`name`),t[18]=a,t[19]=m);let h;t[20]===m?h=t[21]:(h=(0,X.jsx)(W,{id:`sentry-name`,placeholder:`My Sentry`,...m}),t[20]=m,t[21]=h);let g=a.formState.errors.name?.message,_;t[22]===g?_=t[23]:(_=(0,X.jsx)(Q,{message:g}),t[22]=g,t[23]=_);let v;t[24]!==h||t[25]!==_?(v=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[p,h,_]}),t[24]=h,t[25]=_,t[26]=v):v=t[26];let y;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,X.jsx)(K,{htmlFor:`sentry-organizationSlug`,children:`Organization Slug`}),t[27]=y):y=t[27];let b;t[28]===a?b=t[29]:(b=a.register(`organizationSlug`),t[28]=a,t[29]=b);let x;t[30]===b?x=t[31]:(x=(0,X.jsx)(W,{id:`sentry-organizationSlug`,placeholder:`acme`,...b}),t[30]=b,t[31]=x);let S=a.formState.errors.organizationSlug?.message,C;t[32]===S?C=t[33]:(C=(0,X.jsx)(Q,{message:S}),t[32]=S,t[33]=C);let T;t[34]!==x||t[35]!==C?(T=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[y,x,C]}),t[34]=x,t[35]=C,t[36]=T):T=t[36];let E;t[37]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,X.jsx)(K,{htmlFor:`sentry-projectSlug`,children:`Project Slug (optional)`}),t[37]=E):E=t[37];let D;t[38]===a?D=t[39]:(D=a.register(`projectSlug`),t[38]=a,t[39]=D);let O;t[40]===D?O=t[41]:(O=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[E,(0,X.jsx)(W,{id:`sentry-projectSlug`,placeholder:`frontend`,...D})]}),t[40]=D,t[41]=O);let k;t[42]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,X.jsx)(K,{htmlFor:`sentry-authToken`,children:`Auth Token`}),t[42]=k):k=t[42];let A;t[43]===a?A=t[44]:(A=a.register(`authToken`),t[43]=a,t[44]=A);let j;t[45]===A?j=t[46]:(j=(0,X.jsx)(W,{id:`sentry-authToken`,type:`password`,placeholder:`sntrys_...`,...A}),t[45]=A,t[46]=j);let M=a.formState.errors.authToken?.message,N;t[47]===M?N=t[48]:(N=(0,X.jsx)(Q,{message:M}),t[47]=M,t[48]=N);let P;t[49]!==j||t[50]!==N?(P=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[k,j,N]}),t[49]=j,t[50]=N,t[51]=P):P=t[51];let F;t[52]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,X.jsx)(K,{htmlFor:`sentry-apiBaseUrl`,children:`API Base URL (optional)`}),t[52]=F):F=t[52];let I;t[53]===a?I=t[54]:(I=a.register(`apiBaseUrl`),t[53]=a,t[54]=I);let L;t[55]===I?L=t[56]:(L=(0,X.jsx)(W,{id:`sentry-apiBaseUrl`,placeholder:`https://sentry.io/api/0`,...I}),t[55]=I,t[56]=L);let R=a.formState.errors.apiBaseUrl?.message,z;t[57]===R?z=t[58]:(z=(0,X.jsx)(Q,{message:R}),t[57]=R,t[58]=z);let B;t[59]!==L||t[60]!==z?(B=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[F,L,z]}),t[59]=L,t[60]=z,t[61]=B):B=t[61];let V;t[62]===d.isPending?V=t[63]:(V=(0,X.jsx)(mt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[62]=d.isPending,t[63]=V);let H;return t[64]!==v||t[65]!==T||t[66]!==O||t[67]!==P||t[68]!==B||t[69]!==V||t[70]!==f?(H=(0,X.jsxs)(`form`,{onSubmit:f,className:`space-y-4`,children:[v,T,O,P,B,V]}),t[64]=v,t[65]=T,t[66]=O,t[67]=P,t[68]=B,t[69]=V,t[70]=f,t[71]=H):H=t[71],H}function Nn(e){return{id:`temp-${crypto.randomUUID()}`,provider:`sentry`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}function Pn(e){return e.requestedProvider&&e.providerIds.includes(e.requestedProvider)?e.requestedProvider:e.initialProvider&&e.providerIds.includes(e.initialProvider)?e.initialProvider:e.providerIds.includes(`postgres`)?at:e.providerIds[0]??``}function Fn(e){return e===`ga`||e===`bigquery`}function In(e){let{organizationId:t,onSuccess:n,provider:r}=e,i=r.id,a={organizationId:t,onSuccess:n};switch(r.dashboardCredentialForm){case`database`:if(Zt(i))return(0,X.jsx)(cn,{...a,provider:i},i);break;case`mongodb`:return(0,X.jsx)(En,{...a},i);case`google_service_account`:if(Fn(i))return(0,X.jsx)(Gt,{...a,provider:i},i);break;case`amplitude`:return(0,X.jsx)(yt,{...a},i);case`laminar`:return(0,X.jsx)(_n,{...a},i);case`cloudflare_workers_observability`:return(0,X.jsx)(xt,{...a},i);case`aws_athena_connector`:return(0,X.jsx)(wt,{...a},i);case`mixpanel`:return(0,X.jsx)(Sn,{...a},i);case`sentry`:return(0,X.jsx)(Mn,{...a},i);case`posthog`:return(0,X.jsx)(kn,{...a},i);case`github`:return(0,X.jsx)(dn,{...a},i)}return(0,X.jsx)(hn,{provider:r,organizationId:t,onSuccess:n},i)}function Ln(e){let t=(0,J.c)(58),[n,r]=(0,Y.useState)(null),i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=ie(),t[0]=i):i=t[0];let a=T(i),o,s,c,l,u,d,f,p,_,y,b,x;if(t[1]!==e.className||t[2]!==e.initialProvider||t[3]!==a.data?.providers||t[4]!==a.error||t[5]!==a.isError||t[6]!==a.isPending||t[7]!==n){x=Symbol.for(`react.early_return_sentinel`);bb0:{let i=a.data?.providers??[],S=ot(i),C=Pn({initialProvider:e.initialProvider,requestedProvider:n,providerIds:S.map(zn)});c=S.find(e=>e.id===C);let w=e=>{e&&st(e,i)&&r(e)},T=e.className?`space-y-4 ${e.className}`:`space-y-4`;if(a.isPending){let e;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,X.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading source providers...`}),t[20]=e):e=t[20];let n;t[21]===T?n=t[22]:(n=(0,X.jsx)(`div`,{className:T,children:e}),t[21]=T,t[22]=n),x=n;break bb0}if(a.isError){let e;t[23]===a.error.message?e=t[24]:(e=(0,X.jsx)(`p`,{className:`text-sm text-destructive`,children:a.error.message}),t[23]=a.error.message,t[24]=e);let n;t[25]!==T||t[26]!==e?(n=(0,X.jsx)(`div`,{className:T,children:e}),t[25]=T,t[26]=e,t[27]=n):n=t[27],x=n;break bb0}if(!c){let e;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,X.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No connectable source providers are available.`}),t[28]=e):e=t[28];let n;t[29]===T?n=t[30]:(n=(0,X.jsx)(`div`,{className:T,children:e}),t[29]=T,t[30]=n),x=n;break bb0}b=T,_=`space-y-2`,t[31]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,X.jsx)(K,{htmlFor:`type`,children:`Type`}),t[31]=y):y=t[31],s=v,u=[...S],d=C,f=w,t[32]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsx)(h,{id:`type`,children:(0,X.jsx)(m,{})}),t[32]=p):p=t[32],o=g,l=S.map(Rn)}t[1]=e.className,t[2]=e.initialProvider,t[3]=a.data?.providers,t[4]=a.error,t[5]=a.isError,t[6]=a.isPending,t[7]=n,t[8]=o,t[9]=s,t[10]=c,t[11]=l,t[12]=u,t[13]=d,t[14]=f,t[15]=p,t[16]=_,t[17]=y,t[18]=b,t[19]=x}else o=t[8],s=t[9],c=t[10],l=t[11],u=t[12],d=t[13],f=t[14],p=t[15],_=t[16],y=t[17],b=t[18],x=t[19];if(x!==Symbol.for(`react.early_return_sentinel`))return x;let S;t[33]!==o||t[34]!==l?(S=(0,X.jsx)(o,{children:l}),t[33]=o,t[34]=l,t[35]=S):S=t[35];let C;t[36]!==s||t[37]!==S||t[38]!==u||t[39]!==d||t[40]!==f||t[41]!==p?(C=(0,X.jsxs)(s,{items:u,value:d,onValueChange:f,children:[p,S]}),t[36]=s,t[37]=S,t[38]=u,t[39]=d,t[40]=f,t[41]=p,t[42]=C):C=t[42];let w;t[43]!==C||t[44]!==_||t[45]!==y?(w=(0,X.jsxs)(`div`,{className:_,children:[y,C]}),t[43]=C,t[44]=_,t[45]=y,t[46]=w):w=t[46];let E;t[47]===c?E=t[48]:(E=(0,X.jsx)(it,{provider:c}),t[47]=c,t[48]=E);let D;t[49]!==e.onSuccess||t[50]!==e.organizationId||t[51]!==c?(D=In({provider:c,organizationId:e.organizationId,onSuccess:e.onSuccess}),t[49]=e.onSuccess,t[50]=e.organizationId,t[51]=c,t[52]=D):D=t[52];let O;return t[53]!==w||t[54]!==E||t[55]!==D||t[56]!==b?(O=(0,X.jsxs)(`div`,{className:b,children:[w,E,D]}),t[53]=w,t[54]=E,t[55]=D,t[56]=b,t[57]=O):O=t[57],O}function Rn(e){return(0,X.jsx)(_,{value:e.value,children:(0,X.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,X.jsx)(e.icon,{className:`h-4 w-4`}),(0,X.jsx)(`span`,{children:e.label})]})},e.value)}function zn(e){return e.id}export{Te as a,ct as i,ot as n,Ae as o,lt as r,Ln as t};
|
|
191
|
+
GRANT SELECT ON TABLES TO onequery_readonly;`},{title:`Enter it in OneQuery`,paragraphs:[`Select Supabase in OneQuery, then paste the Session pooler connection string or fill the connection details manually.`,`This integration is stored internally as PostgreSQL with SSL required, so the runtime path stays identical to Postgres.`],bullets:[`Recommended host example: aws-0-<region>.pooler.supabase.com (Session pooler)`,`Port: 5432`,`Database: postgres`,`Username example: postgres.<project-ref> or your read-only user`],reverse:!0}],closingTitle:`Integration Ready!`,closingDescription:`You can now query your Supabase Postgres data directly from OneQuery.`}}};function Qe(e){let t=(0,J.c)(34),n=!!e.step.imageSrc,r=n?`grid gap-5 rounded-xl border p-4 md:grid-cols-2`:`rounded-xl border p-4`,i=e.step.reverse?`md:order-2`:``,a=e.step.reverse?`md:order-1`:``,o;t[0]!==e.connectorBaseUrl||t[1]!==e.step.code?(o=e.step.code?.replaceAll(Xe,e.connectorBaseUrl??``),t[0]=e.connectorBaseUrl,t[1]=e.step.code,t[2]=o):o=t[2];let s=o,c=e.index+1,l;t[3]===c?l=t[4]:(l=(0,X.jsxs)(`p`,{className:`mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground`,children:[`Step `,c]}),t[3]=c,t[4]=l);let u;t[5]===e.step.title?u=t[6]:(u=(0,X.jsx)(`h3`,{className:`mb-3 text-lg font-semibold`,children:e.step.title}),t[5]=e.step.title,t[6]=u);let d;t[7]===e.step.paragraphs?d=t[8]:(d=e.step.paragraphs.map(et),t[7]=e.step.paragraphs,t[8]=d);let f;t[9]===d?f=t[10]:(f=(0,X.jsx)(`div`,{className:`space-y-2 text-sm text-muted-foreground`,children:d}),t[9]=d,t[10]=f);let p;t[11]===e.step.bullets?p=t[12]:(p=e.step.bullets&&e.step.bullets.length>0&&(0,X.jsx)(`ul`,{className:`mt-3 list-disc space-y-1 pl-5 text-sm text-muted-foreground`,children:e.step.bullets.map($e)}),t[11]=e.step.bullets,t[12]=p);let m;t[13]===s?m=t[14]:(m=s&&(0,X.jsx)(`pre`,{className:`mt-3 overflow-x-auto rounded-md border bg-muted p-3 text-xs leading-relaxed`,children:s}),t[13]=s,t[14]=m);let h;t[15]===e.step.note?h=t[16]:(h=e.step.note&&(0,X.jsx)(`p`,{className:`mt-3 rounded-md border bg-muted/60 p-2 text-xs text-muted-foreground`,children:e.step.note}),t[15]=e.step.note,t[16]=h);let g;t[17]!==l||t[18]!==u||t[19]!==f||t[20]!==p||t[21]!==m||t[22]!==h||t[23]!==i?(g=(0,X.jsxs)(`div`,{className:i,children:[l,u,f,p,m,h]}),t[17]=l,t[18]=u,t[19]=f,t[20]=p,t[21]=m,t[22]=h,t[23]=i,t[24]=g):g=t[24];let _;t[25]!==n||t[26]!==a||t[27]!==e.step.imageAlt||t[28]!==e.step.imageSrc?(_=n&&e.step.imageSrc&&e.step.imageAlt&&(0,X.jsx)(`div`,{className:a,children:(0,X.jsx)(`img`,{src:e.step.imageSrc,alt:e.step.imageAlt,className:`h-auto max-h-[400px] w-full rounded-lg border object-contain`})}),t[25]=n,t[26]=a,t[27]=e.step.imageAlt,t[28]=e.step.imageSrc,t[29]=_):_=t[29];let v;return t[30]!==r||t[31]!==_||t[32]!==g?(v=(0,X.jsxs)(`section`,{className:r,children:[g,_]}),t[30]=r,t[31]=_,t[32]=g,t[33]=v):v=t[33],v}function $e(e){return(0,X.jsx)(`li`,{children:e},e)}function et(e){return(0,X.jsx)(`p`,{children:e},e)}function tt(e){let t=(0,J.c)(22);if(!e.content){let n;return t[0]===e.providerLabel?n=t[1]:(n=(0,X.jsx)(`div`,{className:`rounded-lg border p-4 text-sm text-muted-foreground`,children:(0,X.jsxs)(`p`,{children:[e.providerLabel,` 가이드는 아직 wb-landing 원문 페이지가 없습니다.`]})}),t[0]=e.providerLabel,t[1]=n),n}let n;t[2]===e.content.title?n=t[3]:(n=(0,X.jsx)(`h2`,{className:`text-lg font-semibold`,children:e.content.title}),t[2]=e.content.title,t[3]=n);let r;t[4]===e.content.description?r=t[5]:(r=(0,X.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:e.content.description}),t[4]=e.content.description,t[5]=r);let i;t[6]!==n||t[7]!==r?(i=(0,X.jsxs)(`section`,{className:`rounded-xl border p-4`,children:[n,r]}),t[6]=n,t[7]=r,t[8]=i):i=t[8];let a;if(t[9]!==e.connectorBaseUrl||t[10]!==e.content.steps){let n;t[12]===e.connectorBaseUrl?n=t[13]:(n=(t,n)=>(0,X.jsx)(Qe,{step:t,index:n,connectorBaseUrl:e.connectorBaseUrl},t.title),t[12]=e.connectorBaseUrl,t[13]=n),a=e.content.steps.map(n),t[9]=e.connectorBaseUrl,t[10]=e.content.steps,t[11]=a}else a=t[11];let o;t[14]!==e.content.closingDescription||t[15]!==e.content.closingNote||t[16]!==e.content.closingTitle?(o=e.content.closingTitle&&(0,X.jsxs)(`section`,{className:`rounded-xl border p-4`,children:[(0,X.jsx)(`h3`,{className:`text-base font-semibold`,children:e.content.closingTitle}),e.content.closingDescription&&(0,X.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:e.content.closingDescription}),e.content.closingNote&&(0,X.jsx)(`p`,{className:`mt-2 rounded-md border bg-muted/60 p-2 text-xs text-muted-foreground`,children:e.content.closingNote})]}),t[14]=e.content.closingDescription,t[15]=e.content.closingNote,t[16]=e.content.closingTitle,t[17]=o):o=t[17];let s;return t[18]!==i||t[19]!==a||t[20]!==o?(s=(0,X.jsxs)(`div`,{className:`space-y-4`,children:[i,a,o]}),t[18]=i,t[19]=a,t[20]=o,t[21]=s):s=t[21],s}function nt(e){let t=(0,J.c)(25),[n,r]=(0,Y.useState)(!1),i=Ze[e.provider],a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,X.jsx)(x,{render:(0,X.jsx)(u,{variant:`outline`,size:`sm`,children:`How to connect`})}),t[0]=a):a=t[0];let o;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(o={width:`min(880px, calc(100vw - 2rem))`,height:`min(720px, calc(100vh - 2rem))`,maxWidth:`calc(100vw - 2rem)`,maxHeight:`calc(100vh - 2rem)`,zIndex:61},t[1]=o):o=t[1];let s;t[2]===i.providerLabel?s=t[3]:(s=(0,X.jsx)(C,{className:`border-b px-5 py-4`,children:(0,X.jsxs)(y,{children:[i.providerLabel,` Connection Guide`]})}),t[2]=i.providerLabel,t[3]=s);let c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c={minHeight:0,flex:1,overflow:`hidden`,padding:`0 1.25rem 1.25rem`},t[4]=c):c=t[4];let l;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,X.jsxs)(Ke,{className:`mt-4 w-full max-w-[320px]`,children:[(0,X.jsx)(qe,{value:`en`,className:`flex-1`,children:`English`}),(0,X.jsx)(qe,{value:`ko`,className:`flex-1`,children:`한국어`})]}),t[5]=l):l=t[5];let d;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(d={minHeight:0,flex:1,overflowY:`auto`,overscrollBehavior:`contain`,paddingRight:`0.5rem`},t[6]=d):d=t[6];let f;t[7]!==i.en||t[8]!==i.providerLabel||t[9]!==e.connectorBaseUrl?(f=(0,X.jsx)(Je,{value:`en`,className:`mt-4 min-h-0 flex-1 overflow-y-auto overscroll-contain pr-2`,style:d,children:(0,X.jsx)(tt,{content:i.en,providerLabel:i.providerLabel,connectorBaseUrl:e.connectorBaseUrl})}),t[7]=i.en,t[8]=i.providerLabel,t[9]=e.connectorBaseUrl,t[10]=f):f=t[10];let p;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(p={minHeight:0,flex:1,overflowY:`auto`,overscrollBehavior:`contain`,paddingRight:`0.5rem`},t[11]=p):p=t[11];let m;t[12]!==i.ko||t[13]!==i.providerLabel||t[14]!==e.connectorBaseUrl?(m=(0,X.jsx)(Je,{value:`ko`,className:`mt-4 min-h-0 flex-1 overflow-y-auto overscroll-contain pr-2`,style:p,children:(0,X.jsx)(tt,{content:i.ko,providerLabel:i.providerLabel,connectorBaseUrl:e.connectorBaseUrl})}),t[12]=i.ko,t[13]=i.providerLabel,t[14]=e.connectorBaseUrl,t[15]=m):m=t[15];let h;t[16]!==f||t[17]!==m?(h=(0,X.jsxs)(We,{defaultValue:`en`,className:`min-h-0 flex-1 overflow-hidden px-5 pb-5`,style:c,children:[l,f,m]}),t[16]=f,t[17]=m,t[18]=h):h=t[18];let g;t[19]!==s||t[20]!==h?(g=(0,X.jsxs)(b,{overlayClassName:`bg-black/35 supports-backdrop-filter:backdrop-blur-lg`,className:`flex flex-col overflow-hidden gap-0 p-0`,style:o,children:[s,h]}),t[19]=s,t[20]=h,t[21]=g):g=t[21];let _;return t[22]!==n||t[23]!==g?(_=(0,X.jsxs)(S,{open:n,onOpenChange:r,children:[a,g]}),t[22]=n,t[23]=g,t[24]=_):_=t[24],_}function rt(e){let t=(0,J.c)(3),n=e.provider.id,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=i(),t[0]=r):r=t[0];let a;return t[1]===n?a=t[2]:(a=(0,X.jsx)(nt,{provider:n,connectorBaseUrl:`${r}${le}`}),t[1]=n,t[2]=a),a}var it=`postgres`;function at(e){return e.filter(e=>e.dashboardConnectable).map(e=>({...e,icon:Ae(e.id),value:e.id}))}function ot(e,t){return t.some(t=>t.dashboardConnectable&&t.id===e)}function st(e,t){return t.some(t=>t.id===e&&t.testable)}function ct(e,t){return t.find(t=>t.id===e)?.label??e}l(`data-[invalid=true]:text-destructive gap-2 group/field flex w-full`,{variants:{orientation:{vertical:`flex-col [&>*]:w-full [&>.sr-only]:w-auto`,horizontal:`flex-row items-center [&>[data-slot=field-label]]:flex-auto has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`,responsive:`flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto @md/field-group:[&>[data-slot=field-label]]:flex-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`}},defaultVariants:{orientation:`vertical`}});function lt(e){let t=(0,J.c)(15),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,children:n,errors:i,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o;bb0:{if(n){o=n;break bb0}if(!i?.length){o=null;break bb0}let e;t[5]===i?e=t[6]:(e=[...new Map(i.map(dt)).values()],t[5]=i,t[6]=e);let r=e;if(r?.length==1){o=r[0]?.message;break bb0}let a;t[7]===r?a=t[8]:(a=(0,X.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:r.map(ut)}),t[7]=r,t[8]=a),o=a}let s=o;if(!s)return null;let c;t[9]===r?c=t[10]:(c=p(`text-destructive text-sm font-normal`,r),t[9]=r,t[10]=c);let l;return t[11]!==s||t[12]!==a||t[13]!==c?(l=(0,X.jsx)(`div`,{role:`alert`,"data-slot":`field-error`,className:c,...a,children:s}),t[11]=s,t[12]=a,t[13]=c,t[14]=l):l=t[14],l}function ut(e,t){return e?.message&&(0,X.jsx)(`li`,{children:e.message},t)}function dt(e){return[e?.message,e]}function Q(e){let t=(0,J.c)(3),{message:n,className:r}=e;if(!n)return null;let i;return t[0]!==r||t[1]!==n?(i=(0,X.jsx)(lt,{className:r,children:n}),t[0]=r,t[1]=n,t[2]=i):i=t[2],i}function ft(e){let t=(0,J.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=p(`size-4 animate-spin`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(te,{role:`status`,"aria-label":`Loading`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function pt(e){let t=(0,J.c)(21),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:n,disabled:r,fullWidth:s,idleLabel:i,isPending:c,pendingLabel:a,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=s===void 0?!0:s,d=c===void 0?!1:c,f=l&&`w-full`,m;t[8]!==n||t[9]!==f?(m=p(f,n),t[8]=n,t[9]=f,t[10]=m):m=t[10];let h=r||d,g;t[11]!==i||t[12]!==d||t[13]!==a?(g=d?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(ft,{className:`size-4`}),(0,X.jsx)(`span`,{children:a??i})]}):i,t[11]=i,t[12]=d,t[13]=a,t[14]=g):g=t[14];let _;return t[15]!==d||t[16]!==o||t[17]!==m||t[18]!==h||t[19]!==g?(_=(0,X.jsx)(u,{type:`submit`,"aria-busy":d,className:m,disabled:h,...o,children:g}),t[15]=d,t[16]=o,t[17]=m,t[18]=h,t[19]=g,t[20]=_):_=t[20],_}var mt=(e,t,n)=>!ne(e,`data_source_name_duplicate`)||!(e instanceof Error)?!1:(t(n,{message:e.message}),!0),ht=[{label:`US (Standard)`,value:`us`},{label:`EU (Europe)`,value:`eu`}],gt=I({apiKey:B().min(1,`API Key is required`),name:B().min(1,`Name is required`),region:z([`us`,`eu`]),secretKey:B().min(1,`Secret Key is required`)});function _t(e){return e===`us`||e===`eu`}function vt({onSuccess:e,organizationId:t}){let n=ue({defaultValues:{name:``,apiKey:``,secretKey:``,region:`us`},resolver:de(gt)}),r=w({createOptimisticItem:e=>({id:`temp-${crypto.randomUUID()}`,provider:`amplitude`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),mutationFn:async e=>{let n={type:`amplitude`,apiKey:e.apiKey,secretKey:e.secretKey,region:e.region};return re({organizationId:t,provider:`amplitude`,name:e.name,credentials:n})},onError:e=>{mt(e,n.setError,`name`)},onSuccess:t=>{e(t.dataSource.id)},queryKey:ae(t).queryKey,successMessage:`Data source created successfully`});return(0,X.jsxs)(`form`,{onSubmit:e=>{n.handleSubmit(e=>{r.mutate(e)})(e)},className:`space-y-4`,children:[(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`amplitude-name`,children:`Data Source Name`}),(0,X.jsx)(W,{id:`amplitude-name`,placeholder:`My Amplitude`,...n.register(`name`)}),(0,X.jsx)(Q,{message:n.formState.errors.name?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`amplitude-apiKey`,children:`API Key`}),(0,X.jsx)(W,{id:`amplitude-apiKey`,placeholder:`Enter your Amplitude API Key`,...n.register(`apiKey`)}),(0,X.jsx)(Q,{message:n.formState.errors.apiKey?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`amplitude-secretKey`,children:`Secret Key`}),(0,X.jsx)(W,{id:`amplitude-secretKey`,type:`password`,placeholder:`Enter your Amplitude Secret Key`,...n.register(`secretKey`)}),(0,X.jsx)(Q,{message:n.formState.errors.secretKey?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`amplitude-region`,children:`Region`}),(0,X.jsxs)(v,{items:[...ht],value:n.watch(`region`),onValueChange:e=>{_t(e)&&n.setValue(`region`,e)},children:[(0,X.jsx)(h,{id:`amplitude-region`,children:(0,X.jsx)(m,{})}),(0,X.jsx)(g,{children:ht.map(e=>(0,X.jsx)(_,{value:e.value,children:e.label},e.value))})]})]}),(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:r.isPending,pendingLabel:`Creating...`})]})}var yt=I({accountId:B().min(1,`Account ID is required`),apiBaseUrl:R([F(``),L(`API base URL must be a valid URL`)]),apiToken:B().min(1,`API token is required`),name:B().min(1,`Name is required`),scriptName:B().optional()});function bt(e){let t=(0,J.c)(72),{onSuccess:n,organizationId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{accountId:``,apiBaseUrl:``,apiToken:``,name:``,scriptName:``},resolver:de(yt)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===r?o=t[2]:(o=async e=>{let t={type:`cloudflare_workers_observability`,accountId:e.accountId,apiToken:e.apiToken,scriptName:e.scriptName?.trim()||void 0,apiBaseUrl:e.apiBaseUrl.trim()||void 0};return re({organizationId:r,provider:`cloudflare_workers_observability`,name:e.name,credentials:t})},t[1]=r,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{mt(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===n?c=t[6]:(c=e=>{n(e.dataSource.id)},t[5]=n,t[6]=c);let l;t[7]===r?l=t[8]:(l=ae(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:xt,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]!==a||t[15]!==d?(f=e=>{a.handleSubmit(e=>{d.mutate(e)})(e)},t[14]=a,t[15]=d,t[16]=f):f=t[16];let p;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsx)(K,{htmlFor:`cloudflare-workers-observability-name`,children:`Data Source Name`}),t[17]=p):p=t[17];let m;t[18]===a?m=t[19]:(m=a.register(`name`),t[18]=a,t[19]=m);let h;t[20]===m?h=t[21]:(h=(0,X.jsx)(W,{id:`cloudflare-workers-observability-name`,placeholder:`Cloudflare Workers`,...m}),t[20]=m,t[21]=h);let g=a.formState.errors.name?.message,_;t[22]===g?_=t[23]:(_=(0,X.jsx)(Q,{message:g}),t[22]=g,t[23]=_);let v;t[24]!==h||t[25]!==_?(v=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[p,h,_]}),t[24]=h,t[25]=_,t[26]=v):v=t[26];let y;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,X.jsx)(K,{htmlFor:`cloudflare-workers-observability-account-id`,children:`Account ID`}),t[27]=y):y=t[27];let b;t[28]===a?b=t[29]:(b=a.register(`accountId`),t[28]=a,t[29]=b);let x;t[30]===b?x=t[31]:(x=(0,X.jsx)(W,{id:`cloudflare-workers-observability-account-id`,placeholder:`023e105f4ecef8ad9ca31a8372d0c353`,...b}),t[30]=b,t[31]=x);let S=a.formState.errors.accountId?.message,C;t[32]===S?C=t[33]:(C=(0,X.jsx)(Q,{message:S}),t[32]=S,t[33]=C);let T;t[34]!==x||t[35]!==C?(T=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[y,x,C]}),t[34]=x,t[35]=C,t[36]=T):T=t[36];let E;t[37]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,X.jsx)(K,{htmlFor:`cloudflare-workers-observability-script-name`,children:`Worker Script Name (optional)`}),t[37]=E):E=t[37];let D;t[38]===a?D=t[39]:(D=a.register(`scriptName`),t[38]=a,t[39]=D);let O;t[40]===D?O=t[41]:(O=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[E,(0,X.jsx)(W,{id:`cloudflare-workers-observability-script-name`,placeholder:`api-production`,...D})]}),t[40]=D,t[41]=O);let k;t[42]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,X.jsx)(K,{htmlFor:`cloudflare-workers-observability-api-token`,children:`API Token`}),t[42]=k):k=t[42];let A;t[43]===a?A=t[44]:(A=a.register(`apiToken`),t[43]=a,t[44]=A);let j;t[45]===A?j=t[46]:(j=(0,X.jsx)(W,{id:`cloudflare-workers-observability-api-token`,type:`password`,placeholder:`Cloudflare API token`,...A}),t[45]=A,t[46]=j);let M=a.formState.errors.apiToken?.message,N;t[47]===M?N=t[48]:(N=(0,X.jsx)(Q,{message:M}),t[47]=M,t[48]=N);let P;t[49]!==j||t[50]!==N?(P=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[k,j,N]}),t[49]=j,t[50]=N,t[51]=P):P=t[51];let F;t[52]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,X.jsx)(K,{htmlFor:`cloudflare-workers-observability-api-base-url`,children:`API Base URL (optional)`}),t[52]=F):F=t[52];let I;t[53]===a?I=t[54]:(I=a.register(`apiBaseUrl`),t[53]=a,t[54]=I);let L;t[55]===I?L=t[56]:(L=(0,X.jsx)(W,{id:`cloudflare-workers-observability-api-base-url`,placeholder:`https://api.cloudflare.com/client/v4`,...I}),t[55]=I,t[56]=L);let R=a.formState.errors.apiBaseUrl?.message,z;t[57]===R?z=t[58]:(z=(0,X.jsx)(Q,{message:R}),t[57]=R,t[58]=z);let B;t[59]!==L||t[60]!==z?(B=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[F,L,z]}),t[59]=L,t[60]=z,t[61]=B):B=t[61];let V;t[62]===d.isPending?V=t[63]:(V=(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[62]=d.isPending,t[63]=V);let H;return t[64]!==v||t[65]!==T||t[66]!==O||t[67]!==P||t[68]!==B||t[69]!==V||t[70]!==f?(H=(0,X.jsxs)(`form`,{onSubmit:f,className:`space-y-4`,children:[v,T,O,P,B,V]}),t[64]=v,t[65]=T,t[66]=O,t[67]=P,t[68]=B,t[69]=V,t[70]=f,t[71]=H):H=t[71],H}function xt(e){return{id:`temp-${crypto.randomUUID()}`,provider:`cloudflare_workers_observability`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var St=I({connectorId:B().min(1,`Connector ID is required`),database:B().min(1,`Athena database is required`),name:B().min(1,`Name is required`),workgroup:B().optional()});function Ct(e){let t=(0,J.c)(68),{organizationId:n,onSuccess:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,connectorId:``,database:``,workgroup:``},resolver:de(St)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===n?o=t[2]:(o=async e=>{let t={type:`aws_athena_connector`,connectorId:e.connectorId.trim(),database:e.database.trim()},r=e.workgroup?.trim();return r&&(t.workgroup=r),re({organizationId:n,provider:`aws_athena_connector`,name:e.name.trim(),credentials:t})},t[1]=n,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{mt(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===r?c=t[6]:(c=e=>{r(e.dataSource.id)},t[5]=r,t[6]=c);let l;t[7]===n?l=t[8]:(l=ae(n),t[7]=n,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:wt,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]===d?f=t[15]:(f=e=>{d.mutate(e)},t[14]=d,t[15]=f);let p=f,m;t[16]!==a||t[17]!==p?(m=e=>{a.handleSubmit(p)(e)},t[16]=a,t[17]=p,t[18]=m):m=t[18];let h;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,X.jsx)(K,{htmlFor:`connector-name`,children:`Data Source Name`}),t[19]=h):h=t[19];let g;t[20]===a?g=t[21]:(g=a.register(`name`),t[20]=a,t[21]=g);let _;t[22]===g?_=t[23]:(_=(0,X.jsx)(W,{id:`connector-name`,placeholder:`Customer Athena Connector`,...g}),t[22]=g,t[23]=_);let v=a.formState.errors.name?.message,y;t[24]===v?y=t[25]:(y=(0,X.jsx)(Q,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[h,_,y]}),t[26]=_,t[27]=y,t[28]=b):b=t[28];let x;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,X.jsx)(K,{htmlFor:`connector-id`,children:`Connector ID`}),t[29]=x):x=t[29];let S;t[30]===a?S=t[31]:(S=a.register(`connectorId`),t[30]=a,t[31]=S);let C;t[32]===S?C=t[33]:(C=(0,X.jsx)(W,{id:`connector-id`,placeholder:`connector_...`,...S}),t[32]=S,t[33]=C);let T=a.formState.errors.connectorId?.message,E;t[34]===T?E=t[35]:(E=(0,X.jsx)(Q,{message:T}),t[34]=T,t[35]=E);let D;t[36]!==C||t[37]!==E?(D=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[x,C,E]}),t[36]=C,t[37]=E,t[38]=D):D=t[38];let O;t[39]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,X.jsx)(K,{htmlFor:`connector-database`,children:`Athena Database`}),t[39]=O):O=t[39];let k;t[40]===a?k=t[41]:(k=a.register(`database`),t[40]=a,t[41]=k);let A;t[42]===k?A=t[43]:(A=(0,X.jsx)(W,{id:`connector-database`,placeholder:`analytics`,...k}),t[42]=k,t[43]=A);let j;t[44]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,X.jsx)(`code`,{children:`analytics`}),t[44]=j):j=t[44];let M;t[45]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,X.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Enter the Athena or AWS Glue database name, such as`,` `,j,` or `,(0,X.jsx)(`code`,{children:`onequery_connector_test`}),`.`]}),t[45]=M):M=t[45];let N=a.formState.errors.database?.message,P;t[46]===N?P=t[47]:(P=(0,X.jsx)(Q,{message:N}),t[46]=N,t[47]=P);let F;t[48]!==A||t[49]!==P?(F=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[O,A,M,P]}),t[48]=A,t[49]=P,t[50]=F):F=t[50];let I;t[51]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,X.jsx)(K,{htmlFor:`connector-workgroup`,children:`Athena Workgroup (optional)`}),t[51]=I):I=t[51];let L;t[52]===a?L=t[53]:(L=a.register(`workgroup`),t[52]=a,t[53]=L);let R;t[54]===L?R=t[55]:(R=(0,X.jsx)(W,{id:`connector-workgroup`,placeholder:`primary`,...L}),t[54]=L,t[55]=R);let z;t[56]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,X.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Leave blank to use the default workgroup, or enter a specific workgroup name if your Athena setup requires one.`}),t[56]=z):z=t[56];let B;t[57]===R?B=t[58]:(B=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[I,R,z]}),t[57]=R,t[58]=B);let V;t[59]===d.isPending?V=t[60]:(V=(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[59]=d.isPending,t[60]=V);let H;return t[61]!==b||t[62]!==D||t[63]!==F||t[64]!==B||t[65]!==V||t[66]!==m?(H=(0,X.jsxs)(`form`,{onSubmit:m,className:`space-y-4`,children:[b,D,F,B,V]}),t[61]=b,t[62]=D,t[63]=F,t[64]=B,t[65]=V,t[66]=m,t[67]=H):H=t[67],H}function wt(e){return{id:`temp-${crypto.randomUUID()}`,provider:`aws_athena_connector`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var $=e=>B().trim().min(1,e),Tt=e=>B().trim().transform(e=>e.length===0?void 0:e).pipe($(e).optional()).optional(),Et=e=>B().refine(e=>e.trim().length>0,e),Dt=e=>B().transform(e=>e.trim().length===0?void 0:e).pipe(Et(e).optional()).optional(),Ot=(e,t)=>B().trim().min(1,e).pipe(L(t)),kt=e=>B().trim().transform(e=>e.length===0?void 0:e).pipe(L(e).optional()).optional(),At=$(`Connection string is required`).refine(e=>e.startsWith(`mongodb://`)||e.startsWith(`mongodb+srv://`),`Connection string must start with mongodb:// or mongodb+srv://`),jt=z([`disable`,`prefer`,`require`]),Mt=I({database:$(`Database name is required`),host:$(`Host is required`),password:Et(`Password is required`),port:U().int().min(1).max(65535).default(5432),sslMode:jt.default(`prefer`),type:F(`postgres`),username:$(`Username is required`)}),Nt=I({database:$(`Database name is required`),host:$(`Host is required`),password:Et(`Password is required`),port:U().int().min(1).max(65535).default(3306),sslMode:jt.default(`prefer`),type:F(`mysql`),username:$(`Username is required`)}),Pt=I({connectionString:At,database:Tt(`Database name is required`),databases:V($(`Database name is required`)).optional(),type:F(`mongodb`)}),Ft=I({clientEmail:B().trim().min(1,`Client email is required`).pipe(H(`Client email must be a valid email address`)),privateKey:Et(`Private key is required`),privateKeyId:Dt(`Private key ID is required`),projectId:$(`Project ID is required`)}),It=R([Mt,Nt,Pt,R([I({accessToken:Et(`Access token is required`),authType:F(`oauth`).optional(),expiresAt:U().int().min(0,`Expiration time must be positive`),propertyId:$(`Property ID is required`),refreshToken:Et(`Refresh token is required`),type:F(`ga`)}),I({authType:F(`service_account`),propertyId:$(`Property ID is required`),serviceAccount:Ft,type:F(`ga`)})]),R([I({accessToken:Et(`Access token is required`),authType:F(`oauth`).optional(),expiresAt:U().int().min(0,`Expiration time must be positive`),projectId:$(`Project ID is required`),refreshToken:Et(`Refresh token is required`),type:F(`bigquery`)}),I({authType:F(`service_account`),projectId:$(`Project ID is required`),serviceAccount:Ft,type:F(`bigquery`)})]),I({apiBaseUrl:kt(`API base URL must be a valid URL`),apiKey:Et(`API key is required`),type:F(`laminar`)}),I({connectorId:$(`Connector ID is required`),database:$(`Athena database is required`),maxRows:U().int().positive().optional(),timeoutMs:U().int().positive().optional(),type:F(`aws_athena_connector`),workgroup:Tt(`Workgroup is required`)}),I({apiKey:Et(`API Key is required`),region:z([`us`,`eu`]).default(`us`),secretKey:Et(`Secret Key is required`),type:F(`amplitude`)}),I({projectId:$(`Project ID is required`),region:z([`us`,`eu`,`in`]).default(`us`),secret:Et(`Service Account Secret is required`),type:F(`mixpanel`),username:$(`Service Account Username is required`),workspaceId:Tt(`Workspace ID is required`)}),I({hostUrl:Ot(`Host URL is required`,`Host URL must be a valid URL`).transform(e=>e.replace(/\/+$/,``)),personalApiKey:Et(`Personal API Key is required`),projectId:$(`Project ID is required`),type:F(`posthog`)}),I({apiBaseUrl:kt(`API base URL must be a valid URL`),authToken:Et(`Auth token is required`),organizationSlug:$(`Organization slug is required`),projectSlug:Tt(`Project slug is required`),type:F(`sentry`)}),I({accessToken:Et(`Access token is required`),installationId:Tt(`Installation ID is required`),repositories:V($(`Repository is required`)).optional(),type:F(`github`)}),I({accountId:$(`Account ID is required`),apiBaseUrl:kt(`API base URL must be a valid URL`),apiToken:Et(`API token is required`),scriptName:Tt(`Worker script name is required`),type:F(`cloudflare_workers_observability`)}),R([I({apiKey:Et(`API key is required`),type:F(`linear`)}),I({accessToken:Et(`Access token is required`),appUserId:Tt(`App user ID is required`),expiresAt:Tt(`Expiration timestamp is required`),linearOrganizationId:$(`Linear organization ID is required`),linearOrganizationName:Tt(`Linear organization name is required`),refreshToken:Dt(`Refresh token is required`),scope:Tt(`Scope is required`),tokenType:Tt(`Token type is required`),type:F(`linear`)})])]),Lt={BIGQUERY:`bigquery`,CONNECTOR:`aws_athena_connector`,LAMINAR:`laminar`,MYSQL:`mysql`,POSTGRES:`postgres`};Lt.POSTGRES,Lt.MYSQL,Lt.BIGQUERY,Lt.LAMINAR,Lt.CONNECTOR;var Rt=I({credentialsText:B().optional(),name:B().min(1,`Name is required`),projectId:B().optional(),propertyId:B().optional()});function zt(e){return e&&e.trim()||null}function Bt(e,t){let n=e[t];return typeof n==`string`?zt(n):null}function Vt(e){let t=Bt(e,`project_id`)??Bt(e,`projectId`);if(!t)return{error:`Project ID is required in service account JSON`};let n=Bt(e,`client_email`)??Bt(e,`clientEmail`);if(!n)return{error:`Client email is required in service account JSON`};let r=Bt(e,`private_key`)??Bt(e,`privateKey`);if(!r)return{error:`Private key is required in service account JSON`};let i=Bt(e,`private_key_id`)??Bt(e,`privateKeyId`),a={clientEmail:n,privateKey:r,projectId:t};return{projectId:t,serviceAccount:i?{...a,privateKeyId:i}:a}}function Ht(e,t){let n=e.trim();if(!n)return{error:`Credentials are required`};let r;try{r=JSON.parse(n)}catch{return{error:`Credentials must be valid JSON`}}if(!ee(r))return{error:`Credentials must be a JSON object`};let i=typeof r.type==`string`?r.type:null;if(i===`service_account`){let e=Vt(r);if(`error`in e)return e;let n={authType:`service_account`,serviceAccount:e.serviceAccount,type:t};return t===`bigquery`?{credentials:{...n,projectId:e.projectId}}:{credentials:n}}return i&&i!==t?{error:`Credentials type must be '${t}'`}:{credentials:i?r:{...r,type:t}}}function Ut(e,t,n){let r={...e};if(t===`ga`){let e=zt(n.propertyId)??(`propertyId`in r&&typeof r.propertyId==`string`?zt(r.propertyId):null);if(!e)return{error:`Property ID is required`};r.propertyId=e}if(t===`bigquery`){let e=`serviceAccount`in r&&ee(r.serviceAccount)?Bt(r.serviceAccount,`projectId`):null,t=zt(n.projectId)??(`projectId`in r&&typeof r.projectId==`string`?zt(r.projectId):null)??e;if(!t)return{error:`Project ID is required`};r.projectId=t}let i=It.safeParse(r);return i.success?{credentials:i.data}:{error:i.error.issues.map(e=>e.message).join(`, `)}}function Wt(e){let t=(0,J.c)(89),{provider:n,onSuccess:r,organizationId:i}=e,[a,o]=(0,Y.useState)(null),[s,c]=(0,Y.useState)(null),l=n===`ga`?`Google Analytics`:`BigQuery`,u;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(u={defaultValues:{name:``,credentialsText:``,propertyId:``,projectId:``},resolver:de(Rt)},t[0]=u):u=t[0];let d=ue(u),f;t[1]===n?f=t[2]:(f=e=>({id:`temp-${crypto.randomUUID()}`,provider:n,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),t[1]=n,t[2]=f);let p;t[3]!==i||t[4]!==n?(p=async e=>re({organizationId:i,provider:n,name:e.name,credentials:e.credentials}),t[3]=i,t[4]=n,t[5]=p):p=t[5];let m;t[6]===d.setError?m=t[7]:(m=e=>{mt(e,d.setError,`name`)},t[6]=d.setError,t[7]=m);let h;t[8]===r?h=t[9]:(h=e=>{r(e.dataSource.id)},t[8]=r,t[9]=h);let g;t[10]===i?g=t[11]:(g=ae(i),t[10]=i,t[11]=g);let _;t[12]!==f||t[13]!==p||t[14]!==m||t[15]!==h||t[16]!==g.queryKey?(_={createOptimisticItem:f,mutationFn:p,onError:m,onSuccess:h,queryKey:g.queryKey,successMessage:`Data source created successfully`},t[12]=f,t[13]=p,t[14]=m,t[15]=h,t[16]=g.queryKey,t[17]=_):_=t[17];let v=w(_),y;t[18]===d?y=t[19]:(y=e=>{let t=e.target.files?.[0];t&&t.text().then(e=>{d.setValue(`credentialsText`,e,{shouldValidate:!0}),c(t.name),o(null)}).catch(()=>{o(`Failed to read credentials file`)})},t[18]=d,t[19]=y);let b=y,x;t[20]===d?x=t[21]:(x=d.register(`credentialsText`),t[20]=d,t[21]=x);let S=x,C;t[22]!==d||t[23]!==v||t[24]!==n?(C=e=>{d.handleSubmit(e=>{o(null);let t=e.credentialsText??``;if(!t.trim()){o(`Provide a credentials file or JSON.`);return}let r=Ht(t,n);if(`error`in r){o(r.error);return}let i=Ut(r.credentials,n,e);if(`error`in i){o(i.error);return}v.mutate({...e,credentials:i.credentials})})(e)},t[22]=d,t[23]=v,t[24]=n,t[25]=C):C=t[25];let T=`${n}-credentials-name`,E;t[26]===T?E=t[27]:(E=(0,X.jsx)(K,{htmlFor:T,children:`Data Source Name`}),t[26]=T,t[27]=E);let D=`${n}-credentials-name`,O=`My ${l}`,k;t[28]===d?k=t[29]:(k=d.register(`name`),t[28]=d,t[29]=k);let A;t[30]!==D||t[31]!==O||t[32]!==k?(A=(0,X.jsx)(W,{id:D,placeholder:O,...k}),t[30]=D,t[31]=O,t[32]=k,t[33]=A):A=t[33];let j=d.formState.errors.name?.message,M;t[34]===j?M=t[35]:(M=(0,X.jsx)(Q,{message:j}),t[34]=j,t[35]=M);let N;t[36]!==E||t[37]!==A||t[38]!==M?(N=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[E,A,M]}),t[36]=E,t[37]=A,t[38]=M,t[39]=N):N=t[39];let P=`${n}-credentials-file`,F;t[40]===P?F=t[41]:(F=(0,X.jsx)(K,{htmlFor:P,children:`Credentials File`}),t[40]=P,t[41]=F);let I=`${n}-credentials-file`,L;t[42]!==b||t[43]!==I?(L=(0,X.jsx)(W,{id:I,type:`file`,accept:`.json,application/json`,onChange:b}),t[42]=b,t[43]=I,t[44]=L):L=t[44];let R;t[45]===s?R=t[46]:(R=s&&(0,X.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Loaded: `,s]}),t[45]=s,t[46]=R);let z;t[47]!==F||t[48]!==L||t[49]!==R?(z=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[F,L,R]}),t[47]=F,t[48]=L,t[49]=R,t[50]=z):z=t[50];let B;t[51]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,X.jsxs)(`div`,{className:`my-4 flex items-center gap-3 text-xs text-muted-foreground`,children:[(0,X.jsx)(`div`,{className:`h-px flex-1 bg-border`}),(0,X.jsx)(`span`,{className:`uppercase tracking-widest`,children:`Or`}),(0,X.jsx)(`div`,{className:`h-px flex-1 bg-border`})]}),t[51]=B):B=t[51];let V=`${n}-credentials-text`,H;t[52]===V?H=t[53]:(H=(0,X.jsx)(K,{htmlFor:V,children:`Credentials JSON`}),t[52]=V,t[53]=H);let U=`${n}-credentials-text`,ee=`Paste ${l} credentials JSON`,te;t[54]===S?te=t[55]:(te=e=>{S.onChange(e),o(null)},t[54]=S,t[55]=te);let ne;t[56]===Symbol.for(`react.memo_cache_sentinel`)?(ne={fieldSizing:`fixed`},t[56]=ne):ne=t[56];let ie;t[57]!==S||t[58]!==U||t[59]!==ee||t[60]!==te?(ie=(0,X.jsx)(ce,{id:U,placeholder:ee,rows:8,...S,onChange:te,className:`font-mono text-sm h-48 max-h-64 overflow-y-auto resize-y field-sizing-fixed`,style:ne}),t[57]=S,t[58]=U,t[59]=ee,t[60]=te,t[61]=ie):ie=t[61];let G;t[62]===a?G=t[63]:(G=(0,X.jsx)(Q,{message:a}),t[62]=a,t[63]=G);let oe=n===`ga`?` propertyId`:` projectId`,q;t[64]===oe?q=t[65]:(q=(0,X.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Include accessToken, refreshToken, and expiresAt for OAuth. Service account JSON is also supported. Provide`,oe,` here or in the JSON.`]}),t[64]=oe,t[65]=q);let se;t[66]!==H||t[67]!==ie||t[68]!==G||t[69]!==q?(se=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[H,ie,G,q]}),t[66]=H,t[67]=ie,t[68]=G,t[69]=q,t[70]=se):se=t[70];let le;t[71]!==z||t[72]!==se?(le=(0,X.jsxs)(`div`,{className:`rounded-lg border border-dashed p-4`,children:[z,B,se]}),t[71]=z,t[72]=se,t[73]=le):le=t[73];let fe;t[74]!==d||t[75]!==n?(fe=n===`ga`&&(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`ga-property-id`,children:`Property ID`}),(0,X.jsx)(W,{id:`ga-property-id`,placeholder:`properties/123456789`,...d.register(`propertyId`)}),(0,X.jsx)(Q,{message:d.formState.errors.propertyId?.message})]}),t[74]=d,t[75]=n,t[76]=fe):fe=t[76];let pe;t[77]!==d||t[78]!==n?(pe=n===`bigquery`&&(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`bigquery-project-id`,children:`Project ID`}),(0,X.jsx)(W,{id:`bigquery-project-id`,placeholder:`my-project-id`,...d.register(`projectId`)}),(0,X.jsx)(Q,{message:d.formState.errors.projectId?.message})]}),t[77]=d,t[78]=n,t[79]=pe):pe=t[79];let Z;t[80]===v.isPending?Z=t[81]:(Z=(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:v.isPending,pendingLabel:`Creating...`}),t[80]=v.isPending,t[81]=Z);let me;return t[82]!==C||t[83]!==N||t[84]!==le||t[85]!==fe||t[86]!==pe||t[87]!==Z?(me=(0,X.jsxs)(`form`,{onSubmit:C,className:`space-y-4 py-4`,children:[N,le,fe,pe,Z]}),t[82]=C,t[83]=N,t[84]=le,t[85]=fe,t[86]=pe,t[87]=Z,t[88]=me):me=t[88],me}var Gt=`localhost`,Kt=`postgres://user:password@host:port/database`,qt=`postgresql://postgres.[project-ref]:password@aws-0-[region].pooler.supabase.com:5432/postgres`,Jt=`mysql://user:password@host:port/database`,Yt={mysql:{connectionStringFormat:Jt,connectionStringPlaceholder:`mysql://user:password@host:3306/database`,databasePlaceholder:`mydb`,defaultDatabase:``,defaultPort:3306,defaultSslMode:`prefer`,fallbackHost:Gt,hostPlaceholder:Gt,invalidConnectionStringFormat:Jt,isPostgresFamily:!1,namePlaceholder:`My Database`,supportedProtocols:[`mysql`],usernamePlaceholder:`root`},postgres:{connectionStringFormat:Kt,connectionStringPlaceholder:`postgres://user:password@host:5432/database`,databasePlaceholder:`mydb`,defaultDatabase:``,defaultPort:5432,defaultSslMode:`prefer`,fallbackHost:Gt,hostPlaceholder:Gt,invalidConnectionStringFormat:Kt,isPostgresFamily:!0,namePlaceholder:`My Database`,supportedProtocols:[`postgres`,`postgresql`],usernamePlaceholder:`postgres`},supabase:{connectionStringFormat:qt,connectionStringPlaceholder:qt,databasePlaceholder:`postgres`,defaultDatabase:`postgres`,defaultPort:5432,defaultSslMode:`require`,fallbackHost:`aws-0-[region].pooler.supabase.com`,hostPlaceholder:`aws-0-[region].pooler.supabase.com`,invalidConnectionStringFormat:Kt,isPostgresFamily:!0,namePlaceholder:`My Supabase`,supportedProtocols:[`postgres`,`postgresql`],usernamePlaceholder:`postgres.your-project-ref`}};function Xt(e){return e===`postgres`||e===`supabase`||e===`mysql`}function Zt(e){return Yt[e]}var Qt=`prefer`;function $t(e){if(e===null)return;let t=e.trim().toLowerCase();if(t===`disable`||t===`prefer`||t===`require`)return t}function en(e){return $t(e)??Qt}function tn(e,t){let n=e.trim();if(!n)return null;try{let e=new URL(n),r=e.protocol.replace(`:`,``),i=Zt(t);return i.supportedProtocols.includes(r)?{database:e.pathname.slice(1)||``,host:e.hostname||i.fallbackHost,password:decodeURIComponent(e.password)||``,port:e.port?Number.parseInt(e.port,10):i.defaultPort,sslMode:i.isPostgresFamily?en(e.searchParams.get(`sslmode`)):void 0,username:decodeURIComponent(e.username)||``}:null}catch{return null}}function nn(e){return Zt(e).connectionStringPlaceholder}function rn(e){return Zt(e).connectionStringFormat}function an(e){return`Invalid connection string format. Expected: ${Zt(e).invalidConnectionStringFormat}`}var on=I({database:B().min(1,`Database name is required`),host:B().min(1,`Host is required`),name:B().min(1,`Name is required`),password:B().min(1,`Password is required`),port:U().min(1).max(65535),provider:z([`postgres`,`supabase`,`mysql`]),sslMode:z([`disable`,`prefer`,`require`]).optional(),username:B().min(1,`Username is required`)});function sn(e){let t=(0,J.c)(119),{provider:n,onSuccess:r,organizationId:i}=e,a;t[0]===n?a=t[1]:(a=Zt(n),t[0]=n,t[1]=a);let o=a,[s,c]=(0,Y.useState)(``),[l,u]=(0,Y.useState)(null),d;t[2]!==n||t[3]!==o.defaultDatabase||t[4]!==o.defaultPort||t[5]!==o.defaultSslMode?(d={provider:n,name:``,host:``,port:o.defaultPort,database:o.defaultDatabase,username:``,password:``,sslMode:o.defaultSslMode},t[2]=n,t[3]=o.defaultDatabase,t[4]=o.defaultPort,t[5]=o.defaultSslMode,t[6]=d):d=t[6];let f;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(f=de(on),t[7]=f):f=t[7];let p;t[8]===d?p=t[9]:(p={defaultValues:d,resolver:f},t[8]=d,t[9]=p);let m=ue(p),h;t[10]===i?h=t[11]:(h=async e=>{let t=Zt(e.provider),n=t.isPostgresFamily?{type:`postgres`,host:e.host,port:e.port,database:e.database,username:e.username,password:e.password,sslMode:e.sslMode??t.defaultSslMode}:{type:`mysql`,host:e.host,port:e.port,database:e.database,username:e.username,password:e.password,sslMode:e.sslMode??t.defaultSslMode};return re({organizationId:i,provider:e.provider,name:e.name,credentials:n})},t[10]=i,t[11]=h);let g;t[12]===m.setError?g=t[13]:(g=e=>{mt(e,m.setError,`name`)},t[12]=m.setError,t[13]=g);let _;t[14]===r?_=t[15]:(_=e=>{r(e.dataSource.id)},t[14]=r,t[15]=_);let v;t[16]===i?v=t[17]:(v=ae(i),t[16]=i,t[17]=v);let y;t[18]!==h||t[19]!==g||t[20]!==_||t[21]!==v.queryKey?(y={createOptimisticItem:cn,mutationFn:h,onError:g,onSuccess:_,queryKey:v.queryKey,successMessage:`Data source created successfully`},t[18]=h,t[19]=g,t[20]=_,t[21]=v.queryKey,t[22]=y):y=t[22];let b=w(y),x;t[23]===b?x=t[24]:(x=e=>{b.mutate(e)},t[23]=b,t[24]=x);let S=x,C;t[25]!==s||t[26]!==m||t[27]!==b||t[28]!==n||t[29]!==o.defaultPort||t[30]!==o.defaultSslMode||t[31]!==o.fallbackHost?(C=e=>{e.preventDefault(),u(null);let t=m.getValues(`name`);if(!t){m.setError(`name`,{message:`Name is required`});return}let r=tn(s,n);if(!r){u(an(n));return}if(!r.database){u(`Database name is required in connection string`);return}if(!r.username){u(`Username is required in connection string`);return}b.mutate({database:r.database,host:r.host??o.fallbackHost,name:t,password:r.password??``,port:r.port??o.defaultPort,provider:n,sslMode:r.sslMode??o.defaultSslMode,username:r.username})},t[25]=s,t[26]=m,t[27]=b,t[28]=n,t[29]=o.defaultPort,t[30]=o.defaultSslMode,t[31]=o.fallbackHost,t[32]=C):C=t[32];let T=C,E;t[33]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,X.jsx)(K,{htmlFor:`name`,children:`Data Source Name`}),t[33]=E):E=t[33];let D=o.namePlaceholder,O;t[34]===m?O=t[35]:(O=m.register(`name`),t[34]=m,t[35]=O);let k;t[36]!==o.namePlaceholder||t[37]!==O?(k=(0,X.jsx)(W,{id:`name`,placeholder:D,...O}),t[36]=o.namePlaceholder,t[37]=O,t[38]=k):k=t[38];let A=m.formState.errors.name?.message,j;t[39]===A?j=t[40]:(j=(0,X.jsx)(Q,{message:A}),t[39]=A,t[40]=j);let M;t[41]!==k||t[42]!==j?(M=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[E,k,j]}),t[41]=k,t[42]=j,t[43]=M):M=t[43];let N;t[44]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,X.jsxs)(Ke,{className:`w-full`,children:[(0,X.jsx)(qe,{value:`url`,className:`flex-1`,children:`Connection URL`}),(0,X.jsx)(qe,{value:`manual`,className:`flex-1`,children:`Manual`})]}),t[44]=N):N=t[44];let P;t[45]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,X.jsx)(K,{htmlFor:`connectionString`,children:`Connection String`}),t[45]=P):P=t[45];let F;t[46]===n?F=t[47]:(F=nn(n),t[46]=n,t[47]=F);let I;t[48]===Symbol.for(`react.memo_cache_sentinel`)?(I=e=>{c(e.target.value),u(null)},t[48]=I):I=t[48];let L;t[49]!==s||t[50]!==F?(L=(0,X.jsx)(W,{id:`connectionString`,type:`text`,placeholder:F,value:s,onChange:I,className:`font-mono text-sm`}),t[49]=s,t[50]=F,t[51]=L):L=t[51];let R;t[52]===l?R=t[53]:(R=(0,X.jsx)(Q,{message:l}),t[52]=l,t[53]=R);let z;t[54]===n?z=t[55]:(z=rn(n),t[54]=n,t[55]=z);let B;t[56]===z?B=t[57]:(B=(0,X.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Format: `,z]}),t[56]=z,t[57]=B);let V;t[58]!==L||t[59]!==R||t[60]!==B?(V=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[P,L,R,B]}),t[58]=L,t[59]=R,t[60]=B,t[61]=V):V=t[61];let H;t[62]===b.isPending?H=t[63]:(H=(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:b.isPending,pendingLabel:`Creating...`}),t[62]=b.isPending,t[63]=H);let U;t[64]!==T||t[65]!==V||t[66]!==H?(U=(0,X.jsx)(Je,{value:`url`,className:`pt-4`,children:(0,X.jsxs)(`form`,{onSubmit:T,className:`space-y-4`,children:[V,H]})}),t[64]=T,t[65]=V,t[66]=H,t[67]=U):U=t[67];let ee;t[68]!==m||t[69]!==S?(ee=e=>{m.handleSubmit(S)(e)},t[68]=m,t[69]=S,t[70]=ee):ee=t[70];let te;t[71]===Symbol.for(`react.memo_cache_sentinel`)?(te=(0,X.jsx)(K,{htmlFor:`host`,children:`Host`}),t[71]=te):te=t[71];let ne=o.hostPlaceholder,ie;t[72]===m?ie=t[73]:(ie=m.register(`host`),t[72]=m,t[73]=ie);let G;t[74]!==o.hostPlaceholder||t[75]!==ie?(G=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[te,(0,X.jsx)(W,{id:`host`,placeholder:ne,...ie})]}),t[74]=o.hostPlaceholder,t[75]=ie,t[76]=G):G=t[76];let oe;t[77]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,X.jsx)(K,{htmlFor:`port`,children:`Port`}),t[77]=oe):oe=t[77];let q;t[78]===m?q=t[79]:(q=m.register(`port`,{valueAsNumber:!0}),t[78]=m,t[79]=q);let se;t[80]===q?se=t[81]:(se=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[oe,(0,X.jsx)(W,{id:`port`,type:`number`,...q})]}),t[80]=q,t[81]=se);let ce;t[82]!==G||t[83]!==se?(ce=(0,X.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[G,se]}),t[82]=G,t[83]=se,t[84]=ce):ce=t[84];let le;t[85]===Symbol.for(`react.memo_cache_sentinel`)?(le=(0,X.jsx)(K,{htmlFor:`database`,children:`Database`}),t[85]=le):le=t[85];let fe=o.databasePlaceholder,pe;t[86]===m?pe=t[87]:(pe=m.register(`database`),t[86]=m,t[87]=pe);let Z;t[88]!==o.databasePlaceholder||t[89]!==pe?(Z=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[le,(0,X.jsx)(W,{id:`database`,placeholder:fe,...pe})]}),t[88]=o.databasePlaceholder,t[89]=pe,t[90]=Z):Z=t[90];let me;t[91]===Symbol.for(`react.memo_cache_sentinel`)?(me=(0,X.jsx)(K,{htmlFor:`username`,children:`Username`}),t[91]=me):me=t[91];let he=o.usernamePlaceholder,ge;t[92]===m?ge=t[93]:(ge=m.register(`username`),t[92]=m,t[93]=ge);let _e;t[94]!==o.usernamePlaceholder||t[95]!==ge?(_e=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[me,(0,X.jsx)(W,{id:`username`,placeholder:he,...ge})]}),t[94]=o.usernamePlaceholder,t[95]=ge,t[96]=_e):_e=t[96];let ve;t[97]===Symbol.for(`react.memo_cache_sentinel`)?(ve=(0,X.jsx)(K,{htmlFor:`password`,children:`Password`}),t[97]=ve):ve=t[97];let ye;t[98]===m?ye=t[99]:(ye=m.register(`password`),t[98]=m,t[99]=ye);let be;t[100]===ye?be=t[101]:(be=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[ve,(0,X.jsx)(W,{id:`password`,type:`password`,...ye})]}),t[100]=ye,t[101]=be);let xe;t[102]!==_e||t[103]!==be?(xe=(0,X.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[_e,be]}),t[102]=_e,t[103]=be,t[104]=xe):xe=t[104];let Se;t[105]===b.isPending?Se=t[106]:(Se=(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:b.isPending,pendingLabel:`Creating...`}),t[105]=b.isPending,t[106]=Se);let Ce;t[107]!==ee||t[108]!==ce||t[109]!==Z||t[110]!==xe||t[111]!==Se?(Ce=(0,X.jsx)(Je,{value:`manual`,className:`pt-4`,children:(0,X.jsxs)(`form`,{onSubmit:ee,className:`space-y-4`,children:[ce,Z,xe,Se]})}),t[107]=ee,t[108]=ce,t[109]=Z,t[110]=xe,t[111]=Se,t[112]=Ce):Ce=t[112];let we;t[113]!==U||t[114]!==Ce?(we=(0,X.jsxs)(We,{defaultValue:`url`,children:[N,U,Ce]}),t[113]=U,t[114]=Ce,t[115]=we):we=t[115];let Te;return t[116]!==M||t[117]!==we?(Te=(0,X.jsxs)(`div`,{className:`space-y-4`,children:[M,we]}),t[116]=M,t[117]=we,t[118]=Te):Te=t[118],Te}function cn(e){return{id:`temp-${crypto.randomUUID()}`,provider:e.provider,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var ln=I({accessToken:B().min(1,`Access token is required`),name:B().min(1,`Name is required`)});function un(e){let t=(0,J.c)(45),{organizationId:n,onSuccess:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,accessToken:``},resolver:de(ln)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===n?o=t[2]:(o=async e=>{let t={type:`github`,accessToken:e.accessToken};return re({organizationId:n,provider:`github`,name:e.name,credentials:t})},t[1]=n,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{mt(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===r?c=t[6]:(c=e=>{r?.(e.dataSource.id)},t[5]=r,t[6]=c);let l;t[7]===n?l=t[8]:(l=ae(n),t[7]=n,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:dn,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`GitHub connected`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]!==a||t[15]!==d?(f=e=>{a.handleSubmit(e=>{d.mutate(e)})(e)},t[14]=a,t[15]=d,t[16]=f):f=t[16];let p;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsx)(K,{htmlFor:`github-token-name`,children:`Data Source Name`}),t[17]=p):p=t[17];let m;t[18]===a?m=t[19]:(m=a.register(`name`),t[18]=a,t[19]=m);let h;t[20]===m?h=t[21]:(h=(0,X.jsx)(W,{id:`github-token-name`,placeholder:`GitHub`,...m}),t[20]=m,t[21]=h);let g=a.formState.errors.name?.message,_;t[22]===g?_=t[23]:(_=(0,X.jsx)(Q,{message:g}),t[22]=g,t[23]=_);let v;t[24]!==h||t[25]!==_?(v=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[p,h,_]}),t[24]=h,t[25]=_,t[26]=v):v=t[26];let y;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,X.jsx)(K,{htmlFor:`github-access-token`,children:`Access Token`}),t[27]=y):y=t[27];let b;t[28]===a?b=t[29]:(b=a.register(`accessToken`),t[28]=a,t[29]=b);let x;t[30]===b?x=t[31]:(x=(0,X.jsx)(W,{id:`github-access-token`,type:`password`,placeholder:`ghp_...`,...b}),t[30]=b,t[31]=x);let S=a.formState.errors.accessToken?.message,C;t[32]===S?C=t[33]:(C=(0,X.jsx)(Q,{message:S}),t[32]=S,t[33]=C);let T;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Use a fine-grained personal access token with read-only access to repositories and issues.`}),t[34]=T):T=t[34];let E;t[35]!==x||t[36]!==C?(E=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[y,x,C,T]}),t[35]=x,t[36]=C,t[37]=E):E=t[37];let D;t[38]===d.isPending?D=t[39]:(D=(0,X.jsx)(pt,{idleLabel:`Connect GitHub`,isPending:d.isPending,pendingLabel:`Connecting...`}),t[38]=d.isPending,t[39]=D);let O;return t[40]!==v||t[41]!==E||t[42]!==D||t[43]!==f?(O=(0,X.jsxs)(`form`,{onSubmit:f,className:`space-y-4`,children:[v,E,D]}),t[40]=v,t[41]=E,t[42]=D,t[43]=f,t[44]=O):O=t[44],O}function dn(e){return{id:`temp-${crypto.randomUUID()}`,provider:`github`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}function fn(e){try{let t=JSON.parse(e);return typeof t!=`object`||!t||Array.isArray(t)?null:t}catch{return null}}var pn=I({credentials:B().refine(e=>fn(e)!==null,{message:`Credentials must be a valid JSON object`}),name:B().min(1,`Name is required`)});function mn(e){let t=(0,J.c)(64),{organizationId:n,onSuccess:r,provider:i}=e,a=i.label,o;t[0]===i.credentialExample?o=t[1]:(o=JSON.stringify(i.credentialExample,null,2),t[0]=i.credentialExample,t[1]=o);let s;t[2]!==i.label||t[3]!==o?(s={name:a,credentials:o},t[2]=i.label,t[3]=o,t[4]=s):s=t[4];let c;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(c=de(pn),t[5]=c):c=t[5];let l;t[6]===s?l=t[7]:(l={defaultValues:s,resolver:c},t[6]=s,t[7]=l);let u=ue(l),d;t[8]===i.id?d=t[9]:(d=e=>({id:`temp-${crypto.randomUUID()}`,provider:i.id,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),t[8]=i.id,t[9]=d);let f;t[10]!==n||t[11]!==i.id?(f=async e=>{let t=fn(e.credentials);if(!t)throw Error(`Credentials must be a valid JSON object`);return re({organizationId:n,provider:i.id,name:e.name.trim(),credentials:t})},t[10]=n,t[11]=i.id,t[12]=f):f=t[12];let p;t[13]===u.setError?p=t[14]:(p=e=>{mt(e,u.setError,`name`)},t[13]=u.setError,t[14]=p);let m;t[15]===r?m=t[16]:(m=e=>{r(e.dataSource.id)},t[15]=r,t[16]=m);let h;t[17]===n?h=t[18]:(h=ae(n),t[17]=n,t[18]=h);let g;t[19]!==h.queryKey||t[20]!==d||t[21]!==f||t[22]!==p||t[23]!==m?(g={createOptimisticItem:d,mutationFn:f,onError:p,onSuccess:m,queryKey:h.queryKey,successMessage:`Data source created successfully`},t[19]=h.queryKey,t[20]=d,t[21]=f,t[22]=p,t[23]=m,t[24]=g):g=t[24];let _=w(g),v;t[25]===_?v=t[26]:(v=e=>{_.mutate(e)},t[25]=_,t[26]=v);let y=v,b;t[27]!==u||t[28]!==y?(b=e=>{u.handleSubmit(y)(e)},t[27]=u,t[28]=y,t[29]=b):b=t[29];let x=`${i.id}-name`,S;t[30]===x?S=t[31]:(S=(0,X.jsx)(K,{htmlFor:x,children:`Data Source Name`}),t[30]=x,t[31]=S);let C=`${i.id}-name`,T=i.label,E;t[32]===u?E=t[33]:(E=u.register(`name`),t[32]=u,t[33]=E);let D;t[34]!==i.label||t[35]!==C||t[36]!==E?(D=(0,X.jsx)(W,{id:C,placeholder:T,...E}),t[34]=i.label,t[35]=C,t[36]=E,t[37]=D):D=t[37];let O=u.formState.errors.name?.message,k;t[38]===O?k=t[39]:(k=(0,X.jsx)(Q,{message:O}),t[38]=O,t[39]=k);let A;t[40]!==S||t[41]!==D||t[42]!==k?(A=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[S,D,k]}),t[40]=S,t[41]=D,t[42]=k,t[43]=A):A=t[43];let j=`${i.id}-credentials`,M;t[44]===j?M=t[45]:(M=(0,X.jsx)(K,{htmlFor:j,children:`Credentials JSON`}),t[44]=j,t[45]=M);let N=`${i.id}-credentials`,P;t[46]===u?P=t[47]:(P=u.register(`credentials`),t[46]=u,t[47]=P);let F;t[48]!==N||t[49]!==P?(F=(0,X.jsx)(ce,{id:N,className:`min-h-56 font-mono text-sm`,spellCheck:!1,...P}),t[48]=N,t[49]=P,t[50]=F):F=t[50];let I=u.formState.errors.credentials?.message,L;t[51]===I?L=t[52]:(L=(0,X.jsx)(Q,{message:I}),t[51]=I,t[52]=L);let R;t[53]!==M||t[54]!==F||t[55]!==L?(R=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[M,F,L]}),t[53]=M,t[54]=F,t[55]=L,t[56]=R):R=t[56];let z;t[57]===_.isPending?z=t[58]:(z=(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:_.isPending,pendingLabel:`Creating...`}),t[57]=_.isPending,t[58]=z);let B;return t[59]!==b||t[60]!==A||t[61]!==R||t[62]!==z?(B=(0,X.jsxs)(`form`,{onSubmit:b,className:`space-y-4`,children:[A,R,z]}),t[59]=b,t[60]=A,t[61]=R,t[62]=z,t[63]=B):B=t[63],B}var hn=I({apiBaseUrl:R([L(`API Base URL must be a valid URL`),F(``)]),apiKey:B().min(1,`API Key is required`),name:B().min(1,`Name is required`)});function gn(e){let t=(0,J.c)(58),{organizationId:n,onSuccess:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,apiKey:``,apiBaseUrl:``},resolver:de(hn)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===n?o=t[2]:(o=async e=>{let t={type:`laminar`,apiKey:e.apiKey.trim()},r=e.apiBaseUrl.trim();return r&&(t.apiBaseUrl=r),re({organizationId:n,provider:`laminar`,name:e.name.trim(),credentials:t})},t[1]=n,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{mt(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===r?c=t[6]:(c=e=>{r(e.dataSource.id)},t[5]=r,t[6]=c);let l;t[7]===n?l=t[8]:(l=ae(n),t[7]=n,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:_n,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]===d?f=t[15]:(f=e=>{d.mutate(e)},t[14]=d,t[15]=f);let p=f,m;t[16]!==a||t[17]!==p?(m=e=>{a.handleSubmit(p)(e)},t[16]=a,t[17]=p,t[18]=m):m=t[18];let h;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,X.jsx)(K,{htmlFor:`laminar-name`,children:`Data Source Name`}),t[19]=h):h=t[19];let g;t[20]===a?g=t[21]:(g=a.register(`name`),t[20]=a,t[21]=g);let _;t[22]===g?_=t[23]:(_=(0,X.jsx)(W,{id:`laminar-name`,placeholder:`Laminar`,...g}),t[22]=g,t[23]=_);let v=a.formState.errors.name?.message,y;t[24]===v?y=t[25]:(y=(0,X.jsx)(Q,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[h,_,y]}),t[26]=_,t[27]=y,t[28]=b):b=t[28];let x;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,X.jsx)(K,{htmlFor:`laminar-api-key`,children:`API Key`}),t[29]=x):x=t[29];let S;t[30]===a?S=t[31]:(S=a.register(`apiKey`),t[30]=a,t[31]=S);let C;t[32]===S?C=t[33]:(C=(0,X.jsx)(W,{id:`laminar-api-key`,type:`password`,placeholder:`lmnr_project_key_...`,...S}),t[32]=S,t[33]=C);let T=a.formState.errors.apiKey?.message,E;t[34]===T?E=t[35]:(E=(0,X.jsx)(Q,{message:T}),t[34]=T,t[35]=E);let D;t[36]!==C||t[37]!==E?(D=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[x,C,E]}),t[36]=C,t[37]=E,t[38]=D):D=t[38];let O;t[39]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,X.jsx)(K,{htmlFor:`laminar-api-base-url`,children:`API Base URL (optional)`}),t[39]=O):O=t[39];let k;t[40]===a?k=t[41]:(k=a.register(`apiBaseUrl`),t[40]=a,t[41]=k);let A;t[42]===k?A=t[43]:(A=(0,X.jsx)(W,{id:`laminar-api-base-url`,placeholder:`https://api.lmnr.ai`,...k}),t[42]=k,t[43]=A);let j=a.formState.errors.apiBaseUrl?.message,M;t[44]===j?M=t[45]:(M=(0,X.jsx)(Q,{message:j}),t[44]=j,t[45]=M);let N;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Leave blank to use the default Laminar endpoint.`}),t[46]=N):N=t[46];let P;t[47]!==A||t[48]!==M?(P=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[O,A,M,N]}),t[47]=A,t[48]=M,t[49]=P):P=t[49];let F;t[50]===d.isPending?F=t[51]:(F=(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[50]=d.isPending,t[51]=F);let I;return t[52]!==b||t[53]!==D||t[54]!==P||t[55]!==F||t[56]!==m?(I=(0,X.jsxs)(`form`,{onSubmit:m,className:`space-y-4`,children:[b,D,P,F]}),t[52]=b,t[53]=D,t[54]=P,t[55]=F,t[56]=m,t[57]=I):I=t[57],I}function _n(e){return{id:`temp-${crypto.randomUUID()}`,provider:`laminar`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var vn=I({name:B().min(1,`Name is required`),projectId:B().min(1,`Project ID is required`),region:z([`us`,`eu`,`in`]),secret:B().min(1,`Service Account Secret is required`),username:B().min(1,`Service Account Username is required`),workspaceId:B().optional()}),yn=[{label:`US (Standard)`,value:`us`},{label:`EU (Europe)`,value:`eu`},{label:`IN (India)`,value:`in`}];function bn(e){return e===`us`||e===`eu`||e===`in`}function xn({onSuccess:e,organizationId:t}){let n=ue({defaultValues:{name:``,username:``,secret:``,projectId:``,workspaceId:``,region:`us`},resolver:de(vn)}),r=w({createOptimisticItem:e=>({id:`temp-${crypto.randomUUID()}`,provider:`mixpanel`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),mutationFn:async e=>{let n={type:`mixpanel`,username:e.username,secret:e.secret,projectId:e.projectId,workspaceId:e.workspaceId?.trim()||void 0,region:e.region};return re({organizationId:t,provider:`mixpanel`,name:e.name,credentials:n})},onError:e=>{mt(e,n.setError,`name`)},onSuccess:t=>{e(t.dataSource.id)},queryKey:ae(t).queryKey,successMessage:`Data source created successfully`});return(0,X.jsxs)(`form`,{onSubmit:e=>{n.handleSubmit(e=>{r.mutate(e)})(e)},className:`space-y-4`,children:[(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-name`,children:`Data Source Name`}),(0,X.jsx)(W,{id:`mixpanel-name`,placeholder:`My Mixpanel`,...n.register(`name`)}),(0,X.jsx)(Q,{message:n.formState.errors.name?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-projectId`,children:`Project ID`}),(0,X.jsx)(W,{id:`mixpanel-projectId`,placeholder:`Enter your Mixpanel Project ID`,...n.register(`projectId`)}),(0,X.jsx)(Q,{message:n.formState.errors.projectId?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-username`,children:`Service Account Username`}),(0,X.jsx)(W,{id:`mixpanel-username`,placeholder:`Enter your Service Account Username`,...n.register(`username`)}),(0,X.jsx)(Q,{message:n.formState.errors.username?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-secret`,children:`Service Account Secret`}),(0,X.jsx)(W,{id:`mixpanel-secret`,type:`password`,placeholder:`Enter your Service Account Secret`,...n.register(`secret`)}),(0,X.jsx)(Q,{message:n.formState.errors.secret?.message})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-workspaceId`,children:`Workspace ID (optional)`}),(0,X.jsx)(W,{id:`mixpanel-workspaceId`,placeholder:`Enter workspace ID if your project uses Data Views`,...n.register(`workspaceId`)})]}),(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(K,{htmlFor:`mixpanel-region`,children:`Region`}),(0,X.jsxs)(v,{items:[...yn],value:n.watch(`region`),onValueChange:e=>{bn(e)&&n.setValue(`region`,e)},children:[(0,X.jsx)(h,{id:`mixpanel-region`,children:(0,X.jsx)(m,{})}),(0,X.jsx)(g,{children:yn.map(e=>(0,X.jsx)(_,{value:e.value,children:e.label},e.value))})]})]}),(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:r.isPending,pendingLabel:`Creating...`})]})}var Sn=I({connectionString:B().min(1,`Connection string is required`),database:B().optional(),databases:B().optional(),name:B().min(1,`Name is required`)});function Cn(e){let t=e?.trim();if(!t)return;let n=new Set,r=[],i=t.split(`,`);for(let e of i){let t=e.trim();!t||n.has(t)||(n.add(t),r.push(t))}return r.length>0?r:void 0}function wn(e){return e?.trim()||void 0}function Tn(e){let t=(0,J.c)(62),{onSuccess:n,organizationId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,connectionString:``,database:``,databases:``},resolver:de(Sn)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===r?o=t[2]:(o=async e=>{let t={type:`mongodb`,connectionString:e.connectionString.trim()},n=wn(e.database);n&&(t.database=n);let i=Cn(e.databases);return i&&(t.databases=i),re({organizationId:r,provider:`mongodb`,name:e.name.trim(),credentials:t})},t[1]=r,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{mt(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===n?c=t[6]:(c=e=>{n(e.dataSource.id)},t[5]=n,t[6]=c);let l;t[7]===r?l=t[8]:(l=ae(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:En,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]===d?f=t[15]:(f=e=>{d.mutate(e)},t[14]=d,t[15]=f);let p=f,m;t[16]!==a||t[17]!==p?(m=e=>{a.handleSubmit(p)(e)},t[16]=a,t[17]=p,t[18]=m):m=t[18];let h;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,X.jsx)(K,{htmlFor:`mongodb-name`,children:`Data Source Name`}),t[19]=h):h=t[19];let g;t[20]===a?g=t[21]:(g=a.register(`name`),t[20]=a,t[21]=g);let _;t[22]===g?_=t[23]:(_=(0,X.jsx)(W,{id:`mongodb-name`,placeholder:`MongoDB`,...g}),t[22]=g,t[23]=_);let v=a.formState.errors.name?.message,y;t[24]===v?y=t[25]:(y=(0,X.jsx)(Q,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[h,_,y]}),t[26]=_,t[27]=y,t[28]=b):b=t[28];let x;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,X.jsx)(K,{htmlFor:`mongodb-connection`,children:`Connection String`}),t[29]=x):x=t[29];let S;t[30]===a?S=t[31]:(S=a.register(`connectionString`),t[30]=a,t[31]=S);let C;t[32]===S?C=t[33]:(C=(0,X.jsx)(W,{id:`mongodb-connection`,placeholder:`mongodb+srv://user:pass@cluster0.example.mongodb.net/`,className:`font-mono text-sm`,...S}),t[32]=S,t[33]=C);let T=a.formState.errors.connectionString?.message,E;t[34]===T?E=t[35]:(E=(0,X.jsx)(Q,{message:T}),t[34]=T,t[35]=E);let D;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Include the database in the URL path or set it below.`}),t[36]=D):D=t[36];let O;t[37]!==C||t[38]!==E?(O=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[x,C,E,D]}),t[37]=C,t[38]=E,t[39]=O):O=t[39];let k;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,X.jsx)(K,{htmlFor:`mongodb-database`,children:`Default Database (optional)`}),t[40]=k):k=t[40];let A;t[41]===a?A=t[42]:(A=a.register(`database`),t[41]=a,t[42]=A);let j;t[43]===A?j=t[44]:(j=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[k,(0,X.jsx)(W,{id:`mongodb-database`,placeholder:`analytics`,...A})]}),t[43]=A,t[44]=j);let M;t[45]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,X.jsx)(K,{htmlFor:`mongodb-databases`,children:`Allowed Databases (optional)`}),t[45]=M):M=t[45];let N;t[46]===a?N=t[47]:(N=a.register(`databases`),t[46]=a,t[47]=N);let P;t[48]===N?P=t[49]:(P=(0,X.jsx)(ce,{id:`mongodb-databases`,placeholder:`analytics, app, reporting`,...N}),t[48]=N,t[49]=P);let F;t[50]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Comma-separated list of databases the agent can access.`}),t[50]=F):F=t[50];let I;t[51]===P?I=t[52]:(I=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[M,P,F]}),t[51]=P,t[52]=I);let L;t[53]===d.isPending?L=t[54]:(L=(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[53]=d.isPending,t[54]=L);let R;return t[55]!==b||t[56]!==O||t[57]!==j||t[58]!==I||t[59]!==L||t[60]!==m?(R=(0,X.jsxs)(`form`,{onSubmit:m,className:`space-y-4`,children:[b,O,j,I,L]}),t[55]=b,t[56]=O,t[57]=j,t[58]=I,t[59]=L,t[60]=m,t[61]=R):R=t[61],R}function En(e){return{id:`temp-${crypto.randomUUID()}`,provider:`mongodb`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var Dn=I({hostUrl:B().min(1,`Host URL is required`).pipe(L(`Invalid host URL`)),name:B().min(1,`Name is required`),personalApiKey:B().min(1,`Personal API Key is required`),projectId:B().min(1,`Project ID is required`)});function On(e){let t=(0,J.c)(67),{onSuccess:n,organizationId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,projectId:``,personalApiKey:``,hostUrl:`https://us.posthog.com`},resolver:de(Dn)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===r?o=t[2]:(o=async e=>{let t={type:`posthog`,projectId:e.projectId,personalApiKey:e.personalApiKey,hostUrl:e.hostUrl.trim()};return re({organizationId:r,provider:`posthog`,name:e.name,credentials:t})},t[1]=r,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{mt(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===n?c=t[6]:(c=e=>{n(e.dataSource.id)},t[5]=n,t[6]=c);let l;t[7]===r?l=t[8]:(l=ae(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:kn,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]!==a||t[15]!==d?(f=e=>{a.handleSubmit(e=>{d.mutate(e)})(e)},t[14]=a,t[15]=d,t[16]=f):f=t[16];let p;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsx)(K,{htmlFor:`posthog-name`,children:`Data Source Name`}),t[17]=p):p=t[17];let m;t[18]===a?m=t[19]:(m=a.register(`name`),t[18]=a,t[19]=m);let h;t[20]===m?h=t[21]:(h=(0,X.jsx)(W,{id:`posthog-name`,placeholder:`My PostHog`,...m}),t[20]=m,t[21]=h);let g=a.formState.errors.name?.message,_;t[22]===g?_=t[23]:(_=(0,X.jsx)(Q,{message:g}),t[22]=g,t[23]=_);let v;t[24]!==h||t[25]!==_?(v=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[p,h,_]}),t[24]=h,t[25]=_,t[26]=v):v=t[26];let y;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,X.jsx)(K,{htmlFor:`posthog-projectId`,children:`Project ID`}),t[27]=y):y=t[27];let b;t[28]===a?b=t[29]:(b=a.register(`projectId`),t[28]=a,t[29]=b);let x;t[30]===b?x=t[31]:(x=(0,X.jsx)(W,{id:`posthog-projectId`,placeholder:`Enter your PostHog Project ID`,...b}),t[30]=b,t[31]=x);let S=a.formState.errors.projectId?.message,C;t[32]===S?C=t[33]:(C=(0,X.jsx)(Q,{message:S}),t[32]=S,t[33]=C);let T;t[34]!==x||t[35]!==C?(T=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[y,x,C]}),t[34]=x,t[35]=C,t[36]=T):T=t[36];let E;t[37]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,X.jsx)(K,{htmlFor:`posthog-personalApiKey`,children:`Personal API Key`}),t[37]=E):E=t[37];let D;t[38]===a?D=t[39]:(D=a.register(`personalApiKey`),t[38]=a,t[39]=D);let O;t[40]===D?O=t[41]:(O=(0,X.jsx)(W,{id:`posthog-personalApiKey`,type:`password`,placeholder:`Enter your PostHog Personal API Key`,...D}),t[40]=D,t[41]=O);let k=a.formState.errors.personalApiKey?.message,A;t[42]===k?A=t[43]:(A=(0,X.jsx)(Q,{message:k}),t[42]=k,t[43]=A);let j;t[44]!==O||t[45]!==A?(j=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[E,O,A]}),t[44]=O,t[45]=A,t[46]=j):j=t[46];let M;t[47]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,X.jsx)(K,{htmlFor:`posthog-hostUrl`,children:`Host URL`}),t[47]=M):M=t[47];let N;t[48]===a?N=t[49]:(N=a.register(`hostUrl`),t[48]=a,t[49]=N);let P;t[50]===N?P=t[51]:(P=(0,X.jsx)(W,{id:`posthog-hostUrl`,placeholder:`https://us.posthog.com`,...N}),t[50]=N,t[51]=P);let F=a.formState.errors.hostUrl?.message,I;t[52]===F?I=t[53]:(I=(0,X.jsx)(Q,{message:F}),t[52]=F,t[53]=I);let L;t[54]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:"Use `https://us.posthog.com`, `https://eu.posthog.com`, or your self-hosted base URL."}),t[54]=L):L=t[54];let R;t[55]!==P||t[56]!==I?(R=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[M,P,I,L]}),t[55]=P,t[56]=I,t[57]=R):R=t[57];let z;t[58]===d.isPending?z=t[59]:(z=(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[58]=d.isPending,t[59]=z);let B;return t[60]!==v||t[61]!==T||t[62]!==j||t[63]!==R||t[64]!==z||t[65]!==f?(B=(0,X.jsxs)(`form`,{onSubmit:f,className:`space-y-4`,children:[v,T,j,R,z]}),t[60]=v,t[61]=T,t[62]=j,t[63]=R,t[64]=z,t[65]=f,t[66]=B):B=t[66],B}function kn(e){return{id:`temp-${crypto.randomUUID()}`,provider:`posthog`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}var An=I({apiBaseUrl:R([F(``),L(`API base URL must be a valid URL`)]),authToken:B().min(1,`Auth token is required`),name:B().min(1,`Name is required`),organizationSlug:B().min(1,`Organization slug is required`),projectSlug:B().optional()});function jn(e){let t=(0,J.c)(72),{onSuccess:n,organizationId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,authToken:``,organizationSlug:``,projectSlug:``,apiBaseUrl:``},resolver:de(An)},t[0]=i):i=t[0];let a=ue(i),o;t[1]===r?o=t[2]:(o=async e=>{let t={type:`sentry`,authToken:e.authToken,organizationSlug:e.organizationSlug,projectSlug:e.projectSlug?.trim()||void 0,apiBaseUrl:e.apiBaseUrl.trim()||void 0};return re({organizationId:r,provider:`sentry`,name:e.name,credentials:t})},t[1]=r,t[2]=o);let s;t[3]===a.setError?s=t[4]:(s=e=>{mt(e,a.setError,`name`)},t[3]=a.setError,t[4]=s);let c;t[5]===n?c=t[6]:(c=e=>{n(e.dataSource.id)},t[5]=n,t[6]=c);let l;t[7]===r?l=t[8]:(l=ae(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:Mn,mutationFn:o,onError:s,onSuccess:c,queryKey:l.queryKey,successMessage:`Data source created successfully`},t[9]=o,t[10]=s,t[11]=c,t[12]=l.queryKey,t[13]=u):u=t[13];let d=w(u),f;t[14]!==a||t[15]!==d?(f=e=>{a.handleSubmit(e=>{d.mutate(e)})(e)},t[14]=a,t[15]=d,t[16]=f):f=t[16];let p;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsx)(K,{htmlFor:`sentry-name`,children:`Data Source Name`}),t[17]=p):p=t[17];let m;t[18]===a?m=t[19]:(m=a.register(`name`),t[18]=a,t[19]=m);let h;t[20]===m?h=t[21]:(h=(0,X.jsx)(W,{id:`sentry-name`,placeholder:`My Sentry`,...m}),t[20]=m,t[21]=h);let g=a.formState.errors.name?.message,_;t[22]===g?_=t[23]:(_=(0,X.jsx)(Q,{message:g}),t[22]=g,t[23]=_);let v;t[24]!==h||t[25]!==_?(v=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[p,h,_]}),t[24]=h,t[25]=_,t[26]=v):v=t[26];let y;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,X.jsx)(K,{htmlFor:`sentry-organizationSlug`,children:`Organization Slug`}),t[27]=y):y=t[27];let b;t[28]===a?b=t[29]:(b=a.register(`organizationSlug`),t[28]=a,t[29]=b);let x;t[30]===b?x=t[31]:(x=(0,X.jsx)(W,{id:`sentry-organizationSlug`,placeholder:`acme`,...b}),t[30]=b,t[31]=x);let S=a.formState.errors.organizationSlug?.message,C;t[32]===S?C=t[33]:(C=(0,X.jsx)(Q,{message:S}),t[32]=S,t[33]=C);let T;t[34]!==x||t[35]!==C?(T=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[y,x,C]}),t[34]=x,t[35]=C,t[36]=T):T=t[36];let E;t[37]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,X.jsx)(K,{htmlFor:`sentry-projectSlug`,children:`Project Slug (optional)`}),t[37]=E):E=t[37];let D;t[38]===a?D=t[39]:(D=a.register(`projectSlug`),t[38]=a,t[39]=D);let O;t[40]===D?O=t[41]:(O=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[E,(0,X.jsx)(W,{id:`sentry-projectSlug`,placeholder:`frontend`,...D})]}),t[40]=D,t[41]=O);let k;t[42]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,X.jsx)(K,{htmlFor:`sentry-authToken`,children:`Auth Token`}),t[42]=k):k=t[42];let A;t[43]===a?A=t[44]:(A=a.register(`authToken`),t[43]=a,t[44]=A);let j;t[45]===A?j=t[46]:(j=(0,X.jsx)(W,{id:`sentry-authToken`,type:`password`,placeholder:`sntrys_...`,...A}),t[45]=A,t[46]=j);let M=a.formState.errors.authToken?.message,N;t[47]===M?N=t[48]:(N=(0,X.jsx)(Q,{message:M}),t[47]=M,t[48]=N);let P;t[49]!==j||t[50]!==N?(P=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[k,j,N]}),t[49]=j,t[50]=N,t[51]=P):P=t[51];let F;t[52]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,X.jsx)(K,{htmlFor:`sentry-apiBaseUrl`,children:`API Base URL (optional)`}),t[52]=F):F=t[52];let I;t[53]===a?I=t[54]:(I=a.register(`apiBaseUrl`),t[53]=a,t[54]=I);let L;t[55]===I?L=t[56]:(L=(0,X.jsx)(W,{id:`sentry-apiBaseUrl`,placeholder:`https://sentry.io/api/0`,...I}),t[55]=I,t[56]=L);let R=a.formState.errors.apiBaseUrl?.message,z;t[57]===R?z=t[58]:(z=(0,X.jsx)(Q,{message:R}),t[57]=R,t[58]=z);let B;t[59]!==L||t[60]!==z?(B=(0,X.jsxs)(`div`,{className:`space-y-2`,children:[F,L,z]}),t[59]=L,t[60]=z,t[61]=B):B=t[61];let V;t[62]===d.isPending?V=t[63]:(V=(0,X.jsx)(pt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[62]=d.isPending,t[63]=V);let H;return t[64]!==v||t[65]!==T||t[66]!==O||t[67]!==P||t[68]!==B||t[69]!==V||t[70]!==f?(H=(0,X.jsxs)(`form`,{onSubmit:f,className:`space-y-4`,children:[v,T,O,P,B,V]}),t[64]=v,t[65]=T,t[66]=O,t[67]=P,t[68]=B,t[69]=V,t[70]=f,t[71]=H):H=t[71],H}function Mn(e){return{id:`temp-${crypto.randomUUID()}`,provider:`sentry`,name:e.name,status:`active`,useAsDataSource:!0,errorMessage:null,lastUsedAt:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}}function Nn(e){return e.requestedProvider&&e.providerIds.includes(e.requestedProvider)?e.requestedProvider:e.initialProvider&&e.providerIds.includes(e.initialProvider)?e.initialProvider:e.providerIds.includes(`postgres`)?it:e.providerIds[0]??``}function Pn(e){return e===`ga`||e===`bigquery`}function Fn(e){let{organizationId:t,onSuccess:n,provider:r}=e,i=r.id,a={organizationId:t,onSuccess:n};switch(r.dashboardCredentialForm){case`database`:if(Xt(i))return(0,X.jsx)(sn,{...a,provider:i},i);break;case`mongodb`:return(0,X.jsx)(Tn,{...a},i);case`google_service_account`:if(Pn(i))return(0,X.jsx)(Wt,{...a,provider:i},i);break;case`amplitude`:return(0,X.jsx)(vt,{...a},i);case`laminar`:return(0,X.jsx)(gn,{...a},i);case`cloudflare_workers_observability`:return(0,X.jsx)(bt,{...a},i);case`aws_athena_connector`:return(0,X.jsx)(Ct,{...a},i);case`mixpanel`:return(0,X.jsx)(xn,{...a},i);case`sentry`:return(0,X.jsx)(jn,{...a},i);case`posthog`:return(0,X.jsx)(On,{...a},i);case`github`:return(0,X.jsx)(un,{...a},i)}return(0,X.jsx)(mn,{provider:r,organizationId:t,onSuccess:n},i)}function In(e){let t=(0,J.c)(58),[n,r]=(0,Y.useState)(null),i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=ie(),t[0]=i):i=t[0];let a=T(i),o,s,c,l,u,d,f,p,_,y,b,x;if(t[1]!==e.className||t[2]!==e.initialProvider||t[3]!==a.data?.providers||t[4]!==a.error||t[5]!==a.isError||t[6]!==a.isPending||t[7]!==n){x=Symbol.for(`react.early_return_sentinel`);bb0:{let i=a.data?.providers??[],S=at(i),C=Nn({initialProvider:e.initialProvider,requestedProvider:n,providerIds:S.map(Rn)});c=S.find(e=>e.id===C);let w=e=>{e&&ot(e,i)&&r(e)},T=e.className?`space-y-4 ${e.className}`:`space-y-4`;if(a.isPending){let e;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,X.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading source providers...`}),t[20]=e):e=t[20];let n;t[21]===T?n=t[22]:(n=(0,X.jsx)(`div`,{className:T,children:e}),t[21]=T,t[22]=n),x=n;break bb0}if(a.isError){let e;t[23]===a.error.message?e=t[24]:(e=(0,X.jsx)(`p`,{className:`text-sm text-destructive`,children:a.error.message}),t[23]=a.error.message,t[24]=e);let n;t[25]!==T||t[26]!==e?(n=(0,X.jsx)(`div`,{className:T,children:e}),t[25]=T,t[26]=e,t[27]=n):n=t[27],x=n;break bb0}if(!c){let e;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,X.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No connectable source providers are available.`}),t[28]=e):e=t[28];let n;t[29]===T?n=t[30]:(n=(0,X.jsx)(`div`,{className:T,children:e}),t[29]=T,t[30]=n),x=n;break bb0}b=T,_=`space-y-2`,t[31]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,X.jsx)(K,{htmlFor:`type`,children:`Type`}),t[31]=y):y=t[31],s=v,u=[...S],d=C,f=w,t[32]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,X.jsx)(h,{id:`type`,children:(0,X.jsx)(m,{})}),t[32]=p):p=t[32],o=g,l=S.map(Ln)}t[1]=e.className,t[2]=e.initialProvider,t[3]=a.data?.providers,t[4]=a.error,t[5]=a.isError,t[6]=a.isPending,t[7]=n,t[8]=o,t[9]=s,t[10]=c,t[11]=l,t[12]=u,t[13]=d,t[14]=f,t[15]=p,t[16]=_,t[17]=y,t[18]=b,t[19]=x}else o=t[8],s=t[9],c=t[10],l=t[11],u=t[12],d=t[13],f=t[14],p=t[15],_=t[16],y=t[17],b=t[18],x=t[19];if(x!==Symbol.for(`react.early_return_sentinel`))return x;let S;t[33]!==o||t[34]!==l?(S=(0,X.jsx)(o,{children:l}),t[33]=o,t[34]=l,t[35]=S):S=t[35];let C;t[36]!==s||t[37]!==S||t[38]!==u||t[39]!==d||t[40]!==f||t[41]!==p?(C=(0,X.jsxs)(s,{items:u,value:d,onValueChange:f,children:[p,S]}),t[36]=s,t[37]=S,t[38]=u,t[39]=d,t[40]=f,t[41]=p,t[42]=C):C=t[42];let w;t[43]!==C||t[44]!==_||t[45]!==y?(w=(0,X.jsxs)(`div`,{className:_,children:[y,C]}),t[43]=C,t[44]=_,t[45]=y,t[46]=w):w=t[46];let E;t[47]===c?E=t[48]:(E=(0,X.jsx)(rt,{provider:c}),t[47]=c,t[48]=E);let D;t[49]!==e.onSuccess||t[50]!==e.organizationId||t[51]!==c?(D=Fn({provider:c,organizationId:e.organizationId,onSuccess:e.onSuccess}),t[49]=e.onSuccess,t[50]=e.organizationId,t[51]=c,t[52]=D):D=t[52];let O;return t[53]!==w||t[54]!==E||t[55]!==D||t[56]!==b?(O=(0,X.jsxs)(`div`,{className:b,children:[w,E,D]}),t[53]=w,t[54]=E,t[55]=D,t[56]=b,t[57]=O):O=t[57],O}function Ln(e){return(0,X.jsx)(_,{value:e.value,children:(0,X.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,X.jsx)(e.icon,{className:`h-4 w-4`}),(0,X.jsx)(`span`,{children:e.label})]})},e.value)}function Rn(e){return e.id}export{Te as a,st as i,at as n,Ae as o,ct as r,In as t};
|